]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls_wrap.cpp
silence a bogus error message
[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/*-----------------------------------------------
300 @(target):= _controls.so
301 ------------------------------------------------*/
302#define SWIG_init init_controls
303
304#define SWIG_name "_controls"
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
951
952 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
953 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
954 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
955 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
956
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
958 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
959 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
960
961 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
962 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
963
964 DEC_PYCALLBACK__(InitDialog);
965 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
966 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
967 DEC_PYCALLBACK_BOOL_(Validate);
968
969 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
970 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
971 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
972
973 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
974 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
975
4276dc52 976 DEC_PYCALLBACK_BOOL_(ShouldInheritColours);
1cb4a8aa 977 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
4276dc52 978
d14a1e28
RD
979 PYPRIVATE;
980};
981
982IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
983
984IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
985IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
986IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
987IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
988
989IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
990IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
991IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
992
993IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
994IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
995
996IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
997IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
998IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
999IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
1000
1001IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1002IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1003IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1004
1005IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1006IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1007
4276dc52 1008IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, ShouldInheritColours);
1cb4a8aa 1009IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
d14a1e28
RD
1010
1011
1012
1013void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
1014
1015#include <wx/generic/dragimgg.h>
1016
d14a1e28
RD
1017#ifdef __cplusplus
1018extern "C" {
1019#endif
b2dc1044
RD
1020static int _wrap_ButtonNameStr_set(PyObject *_val) {
1021 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1022 return 1;
1023}
1024
1025
1026static PyObject *_wrap_ButtonNameStr_get() {
1027 PyObject *pyobj;
1028
1029 {
1030#if wxUSE_UNICODE
1031 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1032#else
1033 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1034#endif
1035 }
1036 return pyobj;
1037}
1038
1039
d14a1e28
RD
1040static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1041 PyObject *resultobj;
1042 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1043 int arg2 ;
d14a1e28
RD
1044 wxString *arg3 = 0 ;
1045 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1046 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1047 wxSize const &arg5_defvalue = wxDefaultSize ;
1048 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1049 long arg6 = (long) 0 ;
1050 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1051 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1052 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1053 wxString *arg8 = (wxString *) &arg8_defvalue ;
1054 wxButton *result;
e811c8ce 1055 bool temp3 = False ;
d14a1e28
RD
1056 wxPoint temp4 ;
1057 wxSize temp5 ;
e811c8ce 1058 bool temp8 = False ;
d14a1e28 1059 PyObject * obj0 = 0 ;
994141e6 1060 PyObject * obj1 = 0 ;
d14a1e28
RD
1061 PyObject * obj2 = 0 ;
1062 PyObject * obj3 = 0 ;
1063 PyObject * obj4 = 0 ;
994141e6 1064 PyObject * obj5 = 0 ;
d14a1e28
RD
1065 PyObject * obj6 = 0 ;
1066 PyObject * obj7 = 0 ;
1067 char *kwnames[] = {
1068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1069 };
1070
994141e6 1071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1074 arg2 = (int) SWIG_AsInt(obj1);
1075 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1076 {
1077 arg3 = wxString_in_helper(obj2);
1078 if (arg3 == NULL) SWIG_fail;
e811c8ce 1079 temp3 = True;
d14a1e28
RD
1080 }
1081 if (obj3) {
1082 {
1083 arg4 = &temp4;
1084 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1085 }
1086 }
1087 if (obj4) {
1088 {
1089 arg5 = &temp5;
1090 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1091 }
1092 }
994141e6 1093 if (obj5) {
15afbcd0
RD
1094 arg6 = (long) SWIG_AsLong(obj5);
1095 if (PyErr_Occurred()) SWIG_fail;
994141e6 1096 }
d14a1e28 1097 if (obj6) {
15afbcd0
RD
1098 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1099 SWIG_POINTER_EXCEPTION | 0)) == -1)
1100 SWIG_fail;
d14a1e28 1101 if (arg7 == NULL) {
15afbcd0
RD
1102 PyErr_SetString(PyExc_TypeError,"null reference");
1103 SWIG_fail;
d14a1e28
RD
1104 }
1105 }
1106 if (obj7) {
1107 {
1108 arg8 = wxString_in_helper(obj7);
1109 if (arg8 == NULL) SWIG_fail;
e811c8ce 1110 temp8 = True;
d14a1e28
RD
1111 }
1112 }
1113 {
1114 PyThreadState* __tstate = wxPyBeginAllowThreads();
1115 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1116
1117 wxPyEndAllowThreads(__tstate);
1118 if (PyErr_Occurred()) SWIG_fail;
1119 }
1120 {
1121 resultobj = wxPyMake_wxObject(result);
1122 }
1123 {
1124 if (temp3)
1125 delete arg3;
1126 }
1127 {
1128 if (temp8)
1129 delete arg8;
1130 }
1131 return resultobj;
1132 fail:
1133 {
1134 if (temp3)
1135 delete arg3;
1136 }
1137 {
1138 if (temp8)
1139 delete arg8;
1140 }
1141 return NULL;
1142}
1143
1144
1145static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1146 PyObject *resultobj;
1147 wxButton *result;
1148 char *kwnames[] = {
1149 NULL
1150 };
1151
1152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1153 {
1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
1155 result = (wxButton *)new wxButton();
1156
1157 wxPyEndAllowThreads(__tstate);
1158 if (PyErr_Occurred()) SWIG_fail;
1159 }
1160 {
1161 resultobj = wxPyMake_wxObject(result);
1162 }
1163 return resultobj;
1164 fail:
1165 return NULL;
1166}
1167
1168
1169static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject *resultobj;
1171 wxButton *arg1 = (wxButton *) 0 ;
1172 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1173 int arg3 ;
d14a1e28
RD
1174 wxString *arg4 = 0 ;
1175 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1176 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1177 wxSize const &arg6_defvalue = wxDefaultSize ;
1178 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1179 long arg7 = (long) 0 ;
1180 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1181 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1182 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1183 wxString *arg9 = (wxString *) &arg9_defvalue ;
1184 bool result;
e811c8ce 1185 bool temp4 = False ;
d14a1e28
RD
1186 wxPoint temp5 ;
1187 wxSize temp6 ;
e811c8ce 1188 bool temp9 = False ;
d14a1e28
RD
1189 PyObject * obj0 = 0 ;
1190 PyObject * obj1 = 0 ;
994141e6 1191 PyObject * obj2 = 0 ;
d14a1e28
RD
1192 PyObject * obj3 = 0 ;
1193 PyObject * obj4 = 0 ;
1194 PyObject * obj5 = 0 ;
994141e6 1195 PyObject * obj6 = 0 ;
d14a1e28
RD
1196 PyObject * obj7 = 0 ;
1197 PyObject * obj8 = 0 ;
1198 char *kwnames[] = {
1199 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1200 };
1201
994141e6 1202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
1203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1207 arg3 = (int) SWIG_AsInt(obj2);
1208 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1209 {
1210 arg4 = wxString_in_helper(obj3);
1211 if (arg4 == NULL) SWIG_fail;
e811c8ce 1212 temp4 = True;
d14a1e28
RD
1213 }
1214 if (obj4) {
1215 {
1216 arg5 = &temp5;
1217 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1218 }
1219 }
1220 if (obj5) {
1221 {
1222 arg6 = &temp6;
1223 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1224 }
1225 }
994141e6 1226 if (obj6) {
15afbcd0
RD
1227 arg7 = (long) SWIG_AsLong(obj6);
1228 if (PyErr_Occurred()) SWIG_fail;
994141e6 1229 }
d14a1e28 1230 if (obj7) {
15afbcd0
RD
1231 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1232 SWIG_POINTER_EXCEPTION | 0)) == -1)
1233 SWIG_fail;
d14a1e28 1234 if (arg8 == NULL) {
15afbcd0
RD
1235 PyErr_SetString(PyExc_TypeError,"null reference");
1236 SWIG_fail;
d14a1e28
RD
1237 }
1238 }
1239 if (obj8) {
1240 {
1241 arg9 = wxString_in_helper(obj8);
1242 if (arg9 == NULL) SWIG_fail;
e811c8ce 1243 temp9 = True;
d14a1e28
RD
1244 }
1245 }
1246 {
1247 PyThreadState* __tstate = wxPyBeginAllowThreads();
1248 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1249
1250 wxPyEndAllowThreads(__tstate);
1251 if (PyErr_Occurred()) SWIG_fail;
1252 }
4f89f6a3
RD
1253 {
1254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1255 }
d14a1e28
RD
1256 {
1257 if (temp4)
1258 delete arg4;
1259 }
1260 {
1261 if (temp9)
1262 delete arg9;
1263 }
1264 return resultobj;
1265 fail:
1266 {
1267 if (temp4)
1268 delete arg4;
1269 }
1270 {
1271 if (temp9)
1272 delete arg9;
1273 }
1274 return NULL;
1275}
1276
1277
1278static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject *resultobj;
1280 wxButton *arg1 = (wxButton *) 0 ;
1281 PyObject * obj0 = 0 ;
1282 char *kwnames[] = {
1283 (char *) "self", NULL
1284 };
1285
1286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
1287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1289 {
1290 PyThreadState* __tstate = wxPyBeginAllowThreads();
1291 (arg1)->SetDefault();
1292
1293 wxPyEndAllowThreads(__tstate);
1294 if (PyErr_Occurred()) SWIG_fail;
1295 }
1296 Py_INCREF(Py_None); resultobj = Py_None;
1297 return resultobj;
1298 fail:
1299 return NULL;
1300}
1301
1302
1303static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1304 PyObject *resultobj;
1305 wxSize result;
1306 char *kwnames[] = {
1307 NULL
1308 };
1309
1310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1311 {
1312 PyThreadState* __tstate = wxPyBeginAllowThreads();
1313 result = wxButton::GetDefaultSize();
1314
1315 wxPyEndAllowThreads(__tstate);
1316 if (PyErr_Occurred()) SWIG_fail;
1317 }
1318 {
1319 wxSize * resultptr;
1320 resultptr = new wxSize((wxSize &) result);
15afbcd0 1321 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1322 }
1323 return resultobj;
1324 fail:
1325 return NULL;
1326}
1327
1328
1329static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1330 PyObject *obj;
1331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1332 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1333 Py_INCREF(obj);
1334 return Py_BuildValue((char *)"");
1335}
1336static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1337 PyObject *resultobj;
1338 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1339 int arg2 ;
d14a1e28
RD
1340 wxBitmap *arg3 = 0 ;
1341 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1342 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1343 wxSize const &arg5_defvalue = wxDefaultSize ;
1344 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1345 long arg6 = (long) wxBU_AUTODRAW ;
1346 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1347 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1348 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1349 wxString *arg8 = (wxString *) &arg8_defvalue ;
1350 wxBitmapButton *result;
1351 wxPoint temp4 ;
1352 wxSize temp5 ;
e811c8ce 1353 bool temp8 = False ;
d14a1e28 1354 PyObject * obj0 = 0 ;
994141e6 1355 PyObject * obj1 = 0 ;
d14a1e28
RD
1356 PyObject * obj2 = 0 ;
1357 PyObject * obj3 = 0 ;
1358 PyObject * obj4 = 0 ;
994141e6 1359 PyObject * obj5 = 0 ;
d14a1e28
RD
1360 PyObject * obj6 = 0 ;
1361 PyObject * obj7 = 0 ;
1362 char *kwnames[] = {
1363 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1364 };
1365
994141e6 1366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1369 arg2 = (int) SWIG_AsInt(obj1);
1370 if (PyErr_Occurred()) SWIG_fail;
1371 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1372 SWIG_POINTER_EXCEPTION | 0)) == -1)
1373 SWIG_fail;
d14a1e28 1374 if (arg3 == NULL) {
15afbcd0
RD
1375 PyErr_SetString(PyExc_TypeError,"null reference");
1376 SWIG_fail;
d14a1e28
RD
1377 }
1378 if (obj3) {
1379 {
1380 arg4 = &temp4;
1381 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1382 }
1383 }
1384 if (obj4) {
1385 {
1386 arg5 = &temp5;
1387 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1388 }
1389 }
994141e6 1390 if (obj5) {
15afbcd0
RD
1391 arg6 = (long) SWIG_AsLong(obj5);
1392 if (PyErr_Occurred()) SWIG_fail;
994141e6 1393 }
d14a1e28 1394 if (obj6) {
15afbcd0
RD
1395 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1396 SWIG_POINTER_EXCEPTION | 0)) == -1)
1397 SWIG_fail;
d14a1e28 1398 if (arg7 == NULL) {
15afbcd0
RD
1399 PyErr_SetString(PyExc_TypeError,"null reference");
1400 SWIG_fail;
d14a1e28
RD
1401 }
1402 }
1403 if (obj7) {
1404 {
1405 arg8 = wxString_in_helper(obj7);
1406 if (arg8 == NULL) SWIG_fail;
e811c8ce 1407 temp8 = True;
d14a1e28
RD
1408 }
1409 }
1410 {
1411 PyThreadState* __tstate = wxPyBeginAllowThreads();
1412 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1413
1414 wxPyEndAllowThreads(__tstate);
1415 if (PyErr_Occurred()) SWIG_fail;
1416 }
1417 {
1418 resultobj = wxPyMake_wxObject(result);
1419 }
1420 {
1421 if (temp8)
1422 delete arg8;
1423 }
1424 return resultobj;
1425 fail:
1426 {
1427 if (temp8)
1428 delete arg8;
1429 }
1430 return NULL;
1431}
1432
1433
1434static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1435 PyObject *resultobj;
1436 wxBitmapButton *result;
1437 char *kwnames[] = {
1438 NULL
1439 };
1440
1441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1442 {
1443 PyThreadState* __tstate = wxPyBeginAllowThreads();
1444 result = (wxBitmapButton *)new wxBitmapButton();
1445
1446 wxPyEndAllowThreads(__tstate);
1447 if (PyErr_Occurred()) SWIG_fail;
1448 }
1449 {
1450 resultobj = wxPyMake_wxObject(result);
1451 }
1452 return resultobj;
1453 fail:
1454 return NULL;
1455}
1456
1457
1458static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1459 PyObject *resultobj;
1460 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1461 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1462 int arg3 ;
d14a1e28
RD
1463 wxBitmap *arg4 = 0 ;
1464 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1465 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1466 wxSize const &arg6_defvalue = wxDefaultSize ;
1467 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1468 long arg7 = (long) wxBU_AUTODRAW ;
1469 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1470 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1471 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1472 wxString *arg9 = (wxString *) &arg9_defvalue ;
1473 bool result;
1474 wxPoint temp5 ;
1475 wxSize temp6 ;
e811c8ce 1476 bool temp9 = False ;
d14a1e28
RD
1477 PyObject * obj0 = 0 ;
1478 PyObject * obj1 = 0 ;
994141e6 1479 PyObject * obj2 = 0 ;
d14a1e28
RD
1480 PyObject * obj3 = 0 ;
1481 PyObject * obj4 = 0 ;
1482 PyObject * obj5 = 0 ;
994141e6 1483 PyObject * obj6 = 0 ;
d14a1e28
RD
1484 PyObject * obj7 = 0 ;
1485 PyObject * obj8 = 0 ;
1486 char *kwnames[] = {
1487 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1488 };
1489
994141e6 1490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
1491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1495 arg3 = (int) SWIG_AsInt(obj2);
1496 if (PyErr_Occurred()) SWIG_fail;
1497 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1498 SWIG_POINTER_EXCEPTION | 0)) == -1)
1499 SWIG_fail;
d14a1e28 1500 if (arg4 == NULL) {
15afbcd0
RD
1501 PyErr_SetString(PyExc_TypeError,"null reference");
1502 SWIG_fail;
d14a1e28
RD
1503 }
1504 if (obj4) {
1505 {
1506 arg5 = &temp5;
1507 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1508 }
1509 }
1510 if (obj5) {
1511 {
1512 arg6 = &temp6;
1513 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1514 }
1515 }
994141e6 1516 if (obj6) {
15afbcd0
RD
1517 arg7 = (long) SWIG_AsLong(obj6);
1518 if (PyErr_Occurred()) SWIG_fail;
994141e6 1519 }
d14a1e28 1520 if (obj7) {
15afbcd0
RD
1521 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1522 SWIG_POINTER_EXCEPTION | 0)) == -1)
1523 SWIG_fail;
d14a1e28 1524 if (arg8 == NULL) {
15afbcd0
RD
1525 PyErr_SetString(PyExc_TypeError,"null reference");
1526 SWIG_fail;
d14a1e28
RD
1527 }
1528 }
1529 if (obj8) {
1530 {
1531 arg9 = wxString_in_helper(obj8);
1532 if (arg9 == NULL) SWIG_fail;
e811c8ce 1533 temp9 = True;
d14a1e28
RD
1534 }
1535 }
1536 {
1537 PyThreadState* __tstate = wxPyBeginAllowThreads();
1538 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1539
1540 wxPyEndAllowThreads(__tstate);
1541 if (PyErr_Occurred()) SWIG_fail;
1542 }
4f89f6a3
RD
1543 {
1544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1545 }
d14a1e28
RD
1546 {
1547 if (temp9)
1548 delete arg9;
1549 }
1550 return resultobj;
1551 fail:
1552 {
1553 if (temp9)
1554 delete arg9;
1555 }
1556 return NULL;
1557}
1558
1559
1560static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1561 PyObject *resultobj;
1562 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1563 wxBitmap result;
1564 PyObject * obj0 = 0 ;
1565 char *kwnames[] = {
1566 (char *) "self", NULL
1567 };
1568
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
1570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1572 {
1573 PyThreadState* __tstate = wxPyBeginAllowThreads();
1574 result = (arg1)->GetBitmapLabel();
1575
1576 wxPyEndAllowThreads(__tstate);
1577 if (PyErr_Occurred()) SWIG_fail;
1578 }
1579 {
1580 wxBitmap * resultptr;
1581 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1582 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1583 }
1584 return resultobj;
1585 fail:
1586 return NULL;
1587}
1588
1589
1590static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1591 PyObject *resultobj;
1592 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1593 wxBitmap result;
1594 PyObject * obj0 = 0 ;
1595 char *kwnames[] = {
1596 (char *) "self", NULL
1597 };
1598
1599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
1600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1602 {
1603 PyThreadState* __tstate = wxPyBeginAllowThreads();
1604 result = (arg1)->GetBitmapDisabled();
1605
1606 wxPyEndAllowThreads(__tstate);
1607 if (PyErr_Occurred()) SWIG_fail;
1608 }
1609 {
1610 wxBitmap * resultptr;
1611 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1612 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1613 }
1614 return resultobj;
1615 fail:
1616 return NULL;
1617}
1618
1619
1620static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject *resultobj;
1622 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1623 wxBitmap result;
1624 PyObject * obj0 = 0 ;
1625 char *kwnames[] = {
1626 (char *) "self", NULL
1627 };
1628
1629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
1630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1632 {
1633 PyThreadState* __tstate = wxPyBeginAllowThreads();
1634 result = (arg1)->GetBitmapFocus();
1635
1636 wxPyEndAllowThreads(__tstate);
1637 if (PyErr_Occurred()) SWIG_fail;
1638 }
1639 {
1640 wxBitmap * resultptr;
1641 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1642 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1643 }
1644 return resultobj;
1645 fail:
1646 return NULL;
1647}
1648
1649
1650static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1651 PyObject *resultobj;
1652 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1653 wxBitmap result;
1654 PyObject * obj0 = 0 ;
1655 char *kwnames[] = {
1656 (char *) "self", NULL
1657 };
1658
1659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
15afbcd0
RD
1660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1662 {
1663 PyThreadState* __tstate = wxPyBeginAllowThreads();
1664 result = (arg1)->GetBitmapSelected();
1665
1666 wxPyEndAllowThreads(__tstate);
1667 if (PyErr_Occurred()) SWIG_fail;
1668 }
1669 {
1670 wxBitmap * resultptr;
1671 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 1672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
1673 }
1674 return resultobj;
1675 fail:
1676 return NULL;
1677}
1678
1679
1680static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject *resultobj;
1682 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1683 wxBitmap *arg2 = 0 ;
1684 PyObject * obj0 = 0 ;
1685 PyObject * obj1 = 0 ;
1686 char *kwnames[] = {
1687 (char *) "self",(char *) "bitmap", NULL
1688 };
1689
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1694 SWIG_POINTER_EXCEPTION | 0)) == -1)
1695 SWIG_fail;
d14a1e28 1696 if (arg2 == NULL) {
15afbcd0
RD
1697 PyErr_SetString(PyExc_TypeError,"null reference");
1698 SWIG_fail;
d14a1e28
RD
1699 }
1700 {
1701 PyThreadState* __tstate = wxPyBeginAllowThreads();
1702 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1703
1704 wxPyEndAllowThreads(__tstate);
1705 if (PyErr_Occurred()) SWIG_fail;
1706 }
1707 Py_INCREF(Py_None); resultobj = Py_None;
1708 return resultobj;
1709 fail:
1710 return NULL;
1711}
1712
1713
1714static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1715 PyObject *resultobj;
1716 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1717 wxBitmap *arg2 = 0 ;
1718 PyObject * obj0 = 0 ;
1719 PyObject * obj1 = 0 ;
1720 char *kwnames[] = {
1721 (char *) "self",(char *) "bitmap", NULL
1722 };
1723
1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1728 SWIG_POINTER_EXCEPTION | 0)) == -1)
1729 SWIG_fail;
d14a1e28 1730 if (arg2 == NULL) {
15afbcd0
RD
1731 PyErr_SetString(PyExc_TypeError,"null reference");
1732 SWIG_fail;
d14a1e28
RD
1733 }
1734 {
1735 PyThreadState* __tstate = wxPyBeginAllowThreads();
1736 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1737
1738 wxPyEndAllowThreads(__tstate);
1739 if (PyErr_Occurred()) SWIG_fail;
1740 }
1741 Py_INCREF(Py_None); resultobj = Py_None;
1742 return resultobj;
1743 fail:
1744 return NULL;
1745}
1746
1747
1748static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1749 PyObject *resultobj;
1750 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1751 wxBitmap *arg2 = 0 ;
1752 PyObject * obj0 = 0 ;
1753 PyObject * obj1 = 0 ;
1754 char *kwnames[] = {
1755 (char *) "self",(char *) "bitmap", NULL
1756 };
1757
1758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1761 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1762 SWIG_POINTER_EXCEPTION | 0)) == -1)
1763 SWIG_fail;
d14a1e28 1764 if (arg2 == NULL) {
15afbcd0
RD
1765 PyErr_SetString(PyExc_TypeError,"null reference");
1766 SWIG_fail;
d14a1e28
RD
1767 }
1768 {
1769 PyThreadState* __tstate = wxPyBeginAllowThreads();
1770 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1771
1772 wxPyEndAllowThreads(__tstate);
1773 if (PyErr_Occurred()) SWIG_fail;
1774 }
1775 Py_INCREF(Py_None); resultobj = Py_None;
1776 return resultobj;
1777 fail:
1778 return NULL;
1779}
1780
1781
1782static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1783 PyObject *resultobj;
1784 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1785 wxBitmap *arg2 = 0 ;
1786 PyObject * obj0 = 0 ;
1787 PyObject * obj1 = 0 ;
1788 char *kwnames[] = {
1789 (char *) "self",(char *) "bitmap", NULL
1790 };
1791
1792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1795 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1796 SWIG_POINTER_EXCEPTION | 0)) == -1)
1797 SWIG_fail;
d14a1e28 1798 if (arg2 == NULL) {
15afbcd0
RD
1799 PyErr_SetString(PyExc_TypeError,"null reference");
1800 SWIG_fail;
d14a1e28
RD
1801 }
1802 {
1803 PyThreadState* __tstate = wxPyBeginAllowThreads();
1804 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1805
1806 wxPyEndAllowThreads(__tstate);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 }
1809 Py_INCREF(Py_None); resultobj = Py_None;
1810 return resultobj;
1811 fail:
1812 return NULL;
1813}
1814
1815
1816static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1817 PyObject *resultobj;
1818 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1819 int arg2 ;
1820 int arg3 ;
1821 PyObject * obj0 = 0 ;
994141e6
RD
1822 PyObject * obj1 = 0 ;
1823 PyObject * obj2 = 0 ;
d14a1e28
RD
1824 char *kwnames[] = {
1825 (char *) "self",(char *) "x",(char *) "y", NULL
1826 };
1827
994141e6 1828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
1829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1831 arg2 = (int) SWIG_AsInt(obj1);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 arg3 = (int) SWIG_AsInt(obj2);
1834 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1835 {
1836 PyThreadState* __tstate = wxPyBeginAllowThreads();
1837 (arg1)->SetMargins(arg2,arg3);
1838
1839 wxPyEndAllowThreads(__tstate);
1840 if (PyErr_Occurred()) SWIG_fail;
1841 }
1842 Py_INCREF(Py_None); resultobj = Py_None;
1843 return resultobj;
1844 fail:
1845 return NULL;
1846}
1847
1848
1849static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1850 PyObject *resultobj;
1851 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1852 int result;
1853 PyObject * obj0 = 0 ;
1854 char *kwnames[] = {
1855 (char *) "self", NULL
1856 };
1857
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
15afbcd0
RD
1859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1861 {
1862 PyThreadState* __tstate = wxPyBeginAllowThreads();
1863 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1864
1865 wxPyEndAllowThreads(__tstate);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 }
15afbcd0 1868 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1869 return resultobj;
1870 fail:
1871 return NULL;
1872}
1873
1874
1875static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1876 PyObject *resultobj;
1877 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1878 int result;
1879 PyObject * obj0 = 0 ;
1880 char *kwnames[] = {
1881 (char *) "self", NULL
1882 };
1883
1884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
15afbcd0
RD
1885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1887 {
1888 PyThreadState* __tstate = wxPyBeginAllowThreads();
1889 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1890
1891 wxPyEndAllowThreads(__tstate);
1892 if (PyErr_Occurred()) SWIG_fail;
1893 }
15afbcd0 1894 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1895 return resultobj;
1896 fail:
1897 return NULL;
1898}
1899
1900
1901static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1902 PyObject *obj;
1903 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1904 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1905 Py_INCREF(obj);
1906 return Py_BuildValue((char *)"");
1907}
b2dc1044
RD
1908static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1909 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1910 return 1;
1911}
1912
1913
1914static PyObject *_wrap_CheckBoxNameStr_get() {
1915 PyObject *pyobj;
1916
1917 {
1918#if wxUSE_UNICODE
1919 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1920#else
1921 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1922#endif
1923 }
1924 return pyobj;
1925}
1926
1927
d14a1e28
RD
1928static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1931 int arg2 ;
d14a1e28
RD
1932 wxString *arg3 = 0 ;
1933 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1934 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1935 wxSize const &arg5_defvalue = wxDefaultSize ;
1936 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1937 long arg6 = (long) 0 ;
1938 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1939 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1940 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1941 wxString *arg8 = (wxString *) &arg8_defvalue ;
1942 wxCheckBox *result;
e811c8ce 1943 bool temp3 = False ;
d14a1e28
RD
1944 wxPoint temp4 ;
1945 wxSize temp5 ;
e811c8ce 1946 bool temp8 = False ;
d14a1e28 1947 PyObject * obj0 = 0 ;
994141e6 1948 PyObject * obj1 = 0 ;
d14a1e28
RD
1949 PyObject * obj2 = 0 ;
1950 PyObject * obj3 = 0 ;
1951 PyObject * obj4 = 0 ;
994141e6 1952 PyObject * obj5 = 0 ;
d14a1e28
RD
1953 PyObject * obj6 = 0 ;
1954 PyObject * obj7 = 0 ;
1955 char *kwnames[] = {
1956 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1957 };
1958
994141e6 1959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
1960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1962 arg2 = (int) SWIG_AsInt(obj1);
1963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1964 {
1965 arg3 = wxString_in_helper(obj2);
1966 if (arg3 == NULL) SWIG_fail;
e811c8ce 1967 temp3 = True;
d14a1e28
RD
1968 }
1969 if (obj3) {
1970 {
1971 arg4 = &temp4;
1972 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1973 }
1974 }
1975 if (obj4) {
1976 {
1977 arg5 = &temp5;
1978 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1979 }
1980 }
994141e6 1981 if (obj5) {
15afbcd0
RD
1982 arg6 = (long) SWIG_AsLong(obj5);
1983 if (PyErr_Occurred()) SWIG_fail;
994141e6 1984 }
d14a1e28 1985 if (obj6) {
15afbcd0
RD
1986 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1987 SWIG_POINTER_EXCEPTION | 0)) == -1)
1988 SWIG_fail;
d14a1e28 1989 if (arg7 == NULL) {
15afbcd0
RD
1990 PyErr_SetString(PyExc_TypeError,"null reference");
1991 SWIG_fail;
d14a1e28
RD
1992 }
1993 }
1994 if (obj7) {
1995 {
1996 arg8 = wxString_in_helper(obj7);
1997 if (arg8 == NULL) SWIG_fail;
e811c8ce 1998 temp8 = True;
d14a1e28
RD
1999 }
2000 }
2001 {
2002 PyThreadState* __tstate = wxPyBeginAllowThreads();
2003 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2004
2005 wxPyEndAllowThreads(__tstate);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 }
15afbcd0 2008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
2009 {
2010 if (temp3)
2011 delete arg3;
2012 }
2013 {
2014 if (temp8)
2015 delete arg8;
2016 }
2017 return resultobj;
2018 fail:
2019 {
2020 if (temp3)
2021 delete arg3;
2022 }
2023 {
2024 if (temp8)
2025 delete arg8;
2026 }
2027 return NULL;
2028}
2029
2030
2031static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject *resultobj;
2033 wxCheckBox *result;
2034 char *kwnames[] = {
2035 NULL
2036 };
2037
2038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2039 {
2040 PyThreadState* __tstate = wxPyBeginAllowThreads();
2041 result = (wxCheckBox *)new wxCheckBox();
2042
2043 wxPyEndAllowThreads(__tstate);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 }
15afbcd0 2046 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
d14a1e28
RD
2047 return resultobj;
2048 fail:
2049 return NULL;
2050}
2051
2052
2053static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2054 PyObject *resultobj;
2055 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2056 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2057 int arg3 ;
d14a1e28
RD
2058 wxString *arg4 = 0 ;
2059 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2060 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2061 wxSize const &arg6_defvalue = wxDefaultSize ;
2062 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2063 long arg7 = (long) 0 ;
2064 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2065 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2066 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2067 wxString *arg9 = (wxString *) &arg9_defvalue ;
2068 bool result;
e811c8ce 2069 bool temp4 = False ;
d14a1e28
RD
2070 wxPoint temp5 ;
2071 wxSize temp6 ;
e811c8ce 2072 bool temp9 = False ;
d14a1e28
RD
2073 PyObject * obj0 = 0 ;
2074 PyObject * obj1 = 0 ;
994141e6 2075 PyObject * obj2 = 0 ;
d14a1e28
RD
2076 PyObject * obj3 = 0 ;
2077 PyObject * obj4 = 0 ;
2078 PyObject * obj5 = 0 ;
994141e6 2079 PyObject * obj6 = 0 ;
d14a1e28
RD
2080 PyObject * obj7 = 0 ;
2081 PyObject * obj8 = 0 ;
2082 char *kwnames[] = {
2083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2084 };
2085
994141e6 2086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2091 arg3 = (int) SWIG_AsInt(obj2);
2092 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2093 {
2094 arg4 = wxString_in_helper(obj3);
2095 if (arg4 == NULL) SWIG_fail;
e811c8ce 2096 temp4 = True;
d14a1e28
RD
2097 }
2098 if (obj4) {
2099 {
2100 arg5 = &temp5;
2101 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2102 }
2103 }
2104 if (obj5) {
2105 {
2106 arg6 = &temp6;
2107 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2108 }
2109 }
994141e6 2110 if (obj6) {
15afbcd0
RD
2111 arg7 = (long) SWIG_AsLong(obj6);
2112 if (PyErr_Occurred()) SWIG_fail;
994141e6 2113 }
d14a1e28 2114 if (obj7) {
15afbcd0
RD
2115 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2116 SWIG_POINTER_EXCEPTION | 0)) == -1)
2117 SWIG_fail;
d14a1e28 2118 if (arg8 == NULL) {
15afbcd0
RD
2119 PyErr_SetString(PyExc_TypeError,"null reference");
2120 SWIG_fail;
d14a1e28
RD
2121 }
2122 }
2123 if (obj8) {
2124 {
2125 arg9 = wxString_in_helper(obj8);
2126 if (arg9 == NULL) SWIG_fail;
e811c8ce 2127 temp9 = True;
d14a1e28
RD
2128 }
2129 }
2130 {
2131 PyThreadState* __tstate = wxPyBeginAllowThreads();
2132 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2133
2134 wxPyEndAllowThreads(__tstate);
2135 if (PyErr_Occurred()) SWIG_fail;
2136 }
4f89f6a3
RD
2137 {
2138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2139 }
d14a1e28
RD
2140 {
2141 if (temp4)
2142 delete arg4;
2143 }
2144 {
2145 if (temp9)
2146 delete arg9;
2147 }
2148 return resultobj;
2149 fail:
2150 {
2151 if (temp4)
2152 delete arg4;
2153 }
2154 {
2155 if (temp9)
2156 delete arg9;
2157 }
2158 return NULL;
2159}
2160
2161
2162static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2163 PyObject *resultobj;
2164 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2165 bool result;
2166 PyObject * obj0 = 0 ;
2167 char *kwnames[] = {
2168 (char *) "self", NULL
2169 };
2170
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
2172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2174 {
2175 PyThreadState* __tstate = wxPyBeginAllowThreads();
2176 result = (bool)(arg1)->GetValue();
2177
2178 wxPyEndAllowThreads(__tstate);
2179 if (PyErr_Occurred()) SWIG_fail;
2180 }
4f89f6a3
RD
2181 {
2182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2183 }
d14a1e28
RD
2184 return resultobj;
2185 fail:
2186 return NULL;
2187}
2188
2189
2190static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2193 bool result;
2194 PyObject * obj0 = 0 ;
2195 char *kwnames[] = {
2196 (char *) "self", NULL
2197 };
2198
2199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
2200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 result = (bool)(arg1)->IsChecked();
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
4f89f6a3
RD
2209 {
2210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2211 }
d14a1e28
RD
2212 return resultobj;
2213 fail:
2214 return NULL;
2215}
2216
2217
2218static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2219 PyObject *resultobj;
2220 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2221 bool arg2 ;
2222 PyObject * obj0 = 0 ;
2223 PyObject * obj1 = 0 ;
2224 char *kwnames[] = {
2225 (char *) "self",(char *) "state", NULL
2226 };
2227
2228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2231 arg2 = (bool const) SWIG_AsBool(obj1);
2232 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2233 {
2234 PyThreadState* __tstate = wxPyBeginAllowThreads();
2235 (arg1)->SetValue(arg2);
2236
2237 wxPyEndAllowThreads(__tstate);
2238 if (PyErr_Occurred()) SWIG_fail;
2239 }
2240 Py_INCREF(Py_None); resultobj = Py_None;
2241 return resultobj;
2242 fail:
2243 return NULL;
2244}
2245
2246
2247static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2248 PyObject *resultobj;
2249 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2250 int result;
2251 PyObject * obj0 = 0 ;
2252 char *kwnames[] = {
2253 (char *) "self", NULL
2254 };
2255
2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
2257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2259 {
2260 PyThreadState* __tstate = wxPyBeginAllowThreads();
2261 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2262
2263 wxPyEndAllowThreads(__tstate);
2264 if (PyErr_Occurred()) SWIG_fail;
2265 }
15afbcd0 2266 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2267 return resultobj;
2268 fail:
2269 return NULL;
2270}
2271
2272
2273static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2274 PyObject *resultobj;
2275 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2276 int arg2 ;
2277 PyObject * obj0 = 0 ;
994141e6 2278 PyObject * obj1 = 0 ;
d14a1e28
RD
2279 char *kwnames[] = {
2280 (char *) "self",(char *) "state", NULL
2281 };
2282
994141e6 2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2286 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2288 {
2289 PyThreadState* __tstate = wxPyBeginAllowThreads();
2290 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2291
2292 wxPyEndAllowThreads(__tstate);
2293 if (PyErr_Occurred()) SWIG_fail;
2294 }
2295 Py_INCREF(Py_None); resultobj = Py_None;
2296 return resultobj;
2297 fail:
2298 return NULL;
2299}
2300
2301
2302static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2303 PyObject *resultobj;
2304 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2305 bool result;
2306 PyObject * obj0 = 0 ;
2307 char *kwnames[] = {
2308 (char *) "self", NULL
2309 };
2310
2311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
15afbcd0
RD
2312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2314 {
2315 PyThreadState* __tstate = wxPyBeginAllowThreads();
2316 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2317
2318 wxPyEndAllowThreads(__tstate);
2319 if (PyErr_Occurred()) SWIG_fail;
2320 }
4f89f6a3
RD
2321 {
2322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2323 }
d14a1e28
RD
2324 return resultobj;
2325 fail:
2326 return NULL;
2327}
2328
2329
2330static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2331 PyObject *resultobj;
2332 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2333 bool result;
2334 PyObject * obj0 = 0 ;
2335 char *kwnames[] = {
2336 (char *) "self", NULL
2337 };
2338
2339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
15afbcd0
RD
2340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2342 {
2343 PyThreadState* __tstate = wxPyBeginAllowThreads();
2344 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2345
2346 wxPyEndAllowThreads(__tstate);
2347 if (PyErr_Occurred()) SWIG_fail;
2348 }
4f89f6a3
RD
2349 {
2350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2351 }
d14a1e28
RD
2352 return resultobj;
2353 fail:
2354 return NULL;
2355}
2356
2357
2358static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2359 PyObject *obj;
2360 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2361 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2362 Py_INCREF(obj);
2363 return Py_BuildValue((char *)"");
2364}
b2dc1044
RD
2365static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2366 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2367 return 1;
2368}
2369
2370
2371static PyObject *_wrap_ChoiceNameStr_get() {
2372 PyObject *pyobj;
2373
2374 {
2375#if wxUSE_UNICODE
2376 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2377#else
2378 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2379#endif
2380 }
2381 return pyobj;
2382}
2383
2384
d14a1e28
RD
2385static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2386 PyObject *resultobj;
2387 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2388 int arg2 ;
d14a1e28
RD
2389 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2390 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2391 wxSize const &arg4_defvalue = wxDefaultSize ;
2392 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
2393 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2394 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2395 long arg6 = (long) 0 ;
2396 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2397 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2398 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2399 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
2400 wxChoice *result;
2401 wxPoint temp3 ;
2402 wxSize temp4 ;
3adfb63b 2403 bool temp5 = False ;
e811c8ce 2404 bool temp8 = False ;
d14a1e28 2405 PyObject * obj0 = 0 ;
994141e6 2406 PyObject * obj1 = 0 ;
d14a1e28
RD
2407 PyObject * obj2 = 0 ;
2408 PyObject * obj3 = 0 ;
2409 PyObject * obj4 = 0 ;
994141e6 2410 PyObject * obj5 = 0 ;
d14a1e28
RD
2411 PyObject * obj6 = 0 ;
2412 PyObject * obj7 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2415 };
2416
994141e6 2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
2418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2420 arg2 = (int) SWIG_AsInt(obj1);
2421 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2422 if (obj2) {
2423 {
2424 arg3 = &temp3;
2425 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2426 }
2427 }
2428 if (obj3) {
2429 {
2430 arg4 = &temp4;
2431 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2432 }
2433 }
2434 if (obj4) {
2435 {
4d5c3d91
RD
2436 if (! PySequence_Check(obj4)) {
2437 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2438 SWIG_fail;
2439 }
2440 arg5 = new wxArrayString;
3adfb63b 2441 temp5 = True;
4d5c3d91
RD
2442 int i, len=PySequence_Length(obj4);
2443 for (i=0; i<len; i++) {
2444 PyObject* item = PySequence_GetItem(obj4, i);
2445#if wxUSE_UNICODE
2446 PyObject* str = PyObject_Unicode(item);
2447#else
2448 PyObject* str = PyObject_Str(item);
2449#endif
74a57fcd 2450 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
2451 arg5->Add(Py2wxString(str));
2452 Py_DECREF(item);
2453 Py_DECREF(str);
2454 }
d14a1e28
RD
2455 }
2456 }
994141e6 2457 if (obj5) {
15afbcd0
RD
2458 arg6 = (long) SWIG_AsLong(obj5);
2459 if (PyErr_Occurred()) SWIG_fail;
994141e6 2460 }
d14a1e28 2461 if (obj6) {
15afbcd0
RD
2462 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2463 SWIG_POINTER_EXCEPTION | 0)) == -1)
2464 SWIG_fail;
4d5c3d91 2465 if (arg7 == NULL) {
15afbcd0
RD
2466 PyErr_SetString(PyExc_TypeError,"null reference");
2467 SWIG_fail;
d14a1e28
RD
2468 }
2469 }
2470 if (obj7) {
2471 {
4d5c3d91
RD
2472 arg8 = wxString_in_helper(obj7);
2473 if (arg8 == NULL) SWIG_fail;
e811c8ce 2474 temp8 = True;
d14a1e28
RD
2475 }
2476 }
2477 {
2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 2479 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
15afbcd0 2484 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28 2485 {
3adfb63b 2486 if (temp5) delete arg5;
d14a1e28
RD
2487 }
2488 {
2489 if (temp8)
4d5c3d91 2490 delete arg8;
d14a1e28
RD
2491 }
2492 return resultobj;
2493 fail:
2494 {
3adfb63b 2495 if (temp5) delete arg5;
d14a1e28
RD
2496 }
2497 {
2498 if (temp8)
4d5c3d91 2499 delete arg8;
d14a1e28
RD
2500 }
2501 return NULL;
2502}
2503
2504
2505static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2506 PyObject *resultobj;
2507 wxChoice *result;
2508 char *kwnames[] = {
2509 NULL
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 result = (wxChoice *)new wxChoice();
2516
2517 wxPyEndAllowThreads(__tstate);
2518 if (PyErr_Occurred()) SWIG_fail;
2519 }
15afbcd0 2520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
d14a1e28
RD
2521 return resultobj;
2522 fail:
2523 return NULL;
2524}
2525
2526
2527static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2528 PyObject *resultobj;
2529 wxChoice *arg1 = (wxChoice *) 0 ;
2530 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2531 int arg3 ;
d14a1e28
RD
2532 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2533 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2534 wxSize const &arg5_defvalue = wxDefaultSize ;
2535 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
2536 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2537 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2538 long arg7 = (long) 0 ;
2539 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2540 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2541 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2542 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
2543 bool result;
2544 wxPoint temp4 ;
2545 wxSize temp5 ;
3adfb63b 2546 bool temp6 = False ;
e811c8ce 2547 bool temp9 = False ;
d14a1e28
RD
2548 PyObject * obj0 = 0 ;
2549 PyObject * obj1 = 0 ;
994141e6 2550 PyObject * obj2 = 0 ;
d14a1e28
RD
2551 PyObject * obj3 = 0 ;
2552 PyObject * obj4 = 0 ;
2553 PyObject * obj5 = 0 ;
994141e6 2554 PyObject * obj6 = 0 ;
d14a1e28
RD
2555 PyObject * obj7 = 0 ;
2556 PyObject * obj8 = 0 ;
2557 char *kwnames[] = {
2558 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2559 };
2560
994141e6 2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2566 arg3 = (int) SWIG_AsInt(obj2);
2567 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2568 if (obj3) {
2569 {
2570 arg4 = &temp4;
2571 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2572 }
2573 }
2574 if (obj4) {
2575 {
2576 arg5 = &temp5;
2577 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2578 }
2579 }
2580 if (obj5) {
2581 {
4d5c3d91
RD
2582 if (! PySequence_Check(obj5)) {
2583 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2584 SWIG_fail;
2585 }
2586 arg6 = new wxArrayString;
3adfb63b 2587 temp6 = True;
4d5c3d91
RD
2588 int i, len=PySequence_Length(obj5);
2589 for (i=0; i<len; i++) {
2590 PyObject* item = PySequence_GetItem(obj5, i);
2591#if wxUSE_UNICODE
2592 PyObject* str = PyObject_Unicode(item);
2593#else
2594 PyObject* str = PyObject_Str(item);
2595#endif
74a57fcd 2596 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
2597 arg6->Add(Py2wxString(str));
2598 Py_DECREF(item);
2599 Py_DECREF(str);
2600 }
d14a1e28
RD
2601 }
2602 }
994141e6 2603 if (obj6) {
15afbcd0
RD
2604 arg7 = (long) SWIG_AsLong(obj6);
2605 if (PyErr_Occurred()) SWIG_fail;
994141e6 2606 }
d14a1e28 2607 if (obj7) {
15afbcd0
RD
2608 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2609 SWIG_POINTER_EXCEPTION | 0)) == -1)
2610 SWIG_fail;
4d5c3d91 2611 if (arg8 == NULL) {
15afbcd0
RD
2612 PyErr_SetString(PyExc_TypeError,"null reference");
2613 SWIG_fail;
d14a1e28
RD
2614 }
2615 }
2616 if (obj8) {
2617 {
4d5c3d91
RD
2618 arg9 = wxString_in_helper(obj8);
2619 if (arg9 == NULL) SWIG_fail;
e811c8ce 2620 temp9 = True;
d14a1e28
RD
2621 }
2622 }
2623 {
2624 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 2625 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
2626
2627 wxPyEndAllowThreads(__tstate);
2628 if (PyErr_Occurred()) SWIG_fail;
2629 }
4f89f6a3
RD
2630 {
2631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2632 }
d14a1e28 2633 {
3adfb63b 2634 if (temp6) delete arg6;
d14a1e28
RD
2635 }
2636 {
2637 if (temp9)
4d5c3d91 2638 delete arg9;
d14a1e28
RD
2639 }
2640 return resultobj;
2641 fail:
2642 {
3adfb63b 2643 if (temp6) delete arg6;
d14a1e28
RD
2644 }
2645 {
2646 if (temp9)
4d5c3d91 2647 delete arg9;
d14a1e28
RD
2648 }
2649 return NULL;
2650}
2651
2652
d14a1e28
RD
2653static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2654 PyObject *resultobj;
2655 wxChoice *arg1 = (wxChoice *) 0 ;
2656 int arg2 ;
2657 PyObject * obj0 = 0 ;
994141e6 2658 PyObject * obj1 = 0 ;
d14a1e28
RD
2659 char *kwnames[] = {
2660 (char *) "self",(char *) "n", NULL
2661 };
2662
994141e6 2663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2666 arg2 = (int const) SWIG_AsInt(obj1);
2667 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2668 {
2669 PyThreadState* __tstate = wxPyBeginAllowThreads();
2670 (arg1)->SetSelection(arg2);
2671
2672 wxPyEndAllowThreads(__tstate);
2673 if (PyErr_Occurred()) SWIG_fail;
2674 }
2675 Py_INCREF(Py_None); resultobj = Py_None;
2676 return resultobj;
2677 fail:
2678 return NULL;
2679}
2680
2681
2682static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2683 PyObject *resultobj;
2684 wxChoice *arg1 = (wxChoice *) 0 ;
2685 wxString *arg2 = 0 ;
e811c8ce 2686 bool temp2 = False ;
d14a1e28
RD
2687 PyObject * obj0 = 0 ;
2688 PyObject * obj1 = 0 ;
2689 char *kwnames[] = {
2690 (char *) "self",(char *) "string", NULL
2691 };
2692
2693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2696 {
2697 arg2 = wxString_in_helper(obj1);
2698 if (arg2 == NULL) SWIG_fail;
e811c8ce 2699 temp2 = True;
d14a1e28
RD
2700 }
2701 {
2702 PyThreadState* __tstate = wxPyBeginAllowThreads();
2703 (arg1)->SetStringSelection((wxString const &)*arg2);
2704
2705 wxPyEndAllowThreads(__tstate);
2706 if (PyErr_Occurred()) SWIG_fail;
2707 }
2708 Py_INCREF(Py_None); resultobj = Py_None;
2709 {
2710 if (temp2)
2711 delete arg2;
2712 }
2713 return resultobj;
2714 fail:
2715 {
2716 if (temp2)
2717 delete arg2;
2718 }
2719 return NULL;
2720}
2721
2722
2723static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2724 PyObject *resultobj;
2725 wxChoice *arg1 = (wxChoice *) 0 ;
2726 int arg2 ;
2727 wxString *arg3 = 0 ;
e811c8ce 2728 bool temp3 = False ;
d14a1e28 2729 PyObject * obj0 = 0 ;
994141e6 2730 PyObject * obj1 = 0 ;
d14a1e28
RD
2731 PyObject * obj2 = 0 ;
2732 char *kwnames[] = {
fcafa8a9 2733 (char *) "self",(char *) "n",(char *) "string", NULL
d14a1e28
RD
2734 };
2735
994141e6 2736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2739 arg2 = (int) SWIG_AsInt(obj1);
2740 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2741 {
2742 arg3 = wxString_in_helper(obj2);
2743 if (arg3 == NULL) SWIG_fail;
e811c8ce 2744 temp3 = True;
d14a1e28
RD
2745 }
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 (arg1)->SetString(arg2,(wxString const &)*arg3);
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 Py_INCREF(Py_None); resultobj = Py_None;
2754 {
2755 if (temp3)
2756 delete arg3;
2757 }
2758 return resultobj;
2759 fail:
2760 {
2761 if (temp3)
2762 delete arg3;
2763 }
2764 return NULL;
2765}
2766
2767
2768static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2769 PyObject *obj;
2770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2771 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2772 Py_INCREF(obj);
2773 return Py_BuildValue((char *)"");
2774}
b2dc1044
RD
2775static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2776 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2777 return 1;
2778}
2779
2780
2781static PyObject *_wrap_ComboBoxNameStr_get() {
2782 PyObject *pyobj;
2783
2784 {
2785#if wxUSE_UNICODE
2786 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2787#else
2788 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2789#endif
2790 }
2791 return pyobj;
2792}
2793
2794
d14a1e28
RD
2795static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2796 PyObject *resultobj;
2797 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2798 int arg2 ;
d14a1e28
RD
2799 wxString const &arg3_defvalue = wxPyEmptyString ;
2800 wxString *arg3 = (wxString *) &arg3_defvalue ;
2801 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2802 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2803 wxSize const &arg5_defvalue = wxDefaultSize ;
2804 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
2805 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2806 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2807 long arg7 = (long) 0 ;
2808 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2809 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2810 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2811 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28 2812 wxComboBox *result;
e811c8ce 2813 bool temp3 = False ;
d14a1e28
RD
2814 wxPoint temp4 ;
2815 wxSize temp5 ;
3adfb63b 2816 bool temp6 = False ;
e811c8ce 2817 bool temp9 = False ;
d14a1e28 2818 PyObject * obj0 = 0 ;
994141e6 2819 PyObject * obj1 = 0 ;
d14a1e28
RD
2820 PyObject * obj2 = 0 ;
2821 PyObject * obj3 = 0 ;
2822 PyObject * obj4 = 0 ;
2823 PyObject * obj5 = 0 ;
994141e6 2824 PyObject * obj6 = 0 ;
d14a1e28
RD
2825 PyObject * obj7 = 0 ;
2826 PyObject * obj8 = 0 ;
2827 char *kwnames[] = {
2828 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2829 };
2830
994141e6 2831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
2832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2834 arg2 = (int) SWIG_AsInt(obj1);
2835 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2836 if (obj2) {
2837 {
2838 arg3 = wxString_in_helper(obj2);
2839 if (arg3 == NULL) SWIG_fail;
e811c8ce 2840 temp3 = True;
d14a1e28
RD
2841 }
2842 }
2843 if (obj3) {
2844 {
2845 arg4 = &temp4;
2846 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2847 }
2848 }
2849 if (obj4) {
2850 {
2851 arg5 = &temp5;
2852 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2853 }
2854 }
2855 if (obj5) {
2856 {
4d5c3d91
RD
2857 if (! PySequence_Check(obj5)) {
2858 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2859 SWIG_fail;
2860 }
2861 arg6 = new wxArrayString;
3adfb63b 2862 temp6 = True;
4d5c3d91
RD
2863 int i, len=PySequence_Length(obj5);
2864 for (i=0; i<len; i++) {
2865 PyObject* item = PySequence_GetItem(obj5, i);
2866#if wxUSE_UNICODE
2867 PyObject* str = PyObject_Unicode(item);
2868#else
2869 PyObject* str = PyObject_Str(item);
2870#endif
74a57fcd 2871 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
2872 arg6->Add(Py2wxString(str));
2873 Py_DECREF(item);
2874 Py_DECREF(str);
2875 }
d14a1e28
RD
2876 }
2877 }
994141e6 2878 if (obj6) {
15afbcd0
RD
2879 arg7 = (long) SWIG_AsLong(obj6);
2880 if (PyErr_Occurred()) SWIG_fail;
994141e6 2881 }
d14a1e28 2882 if (obj7) {
15afbcd0
RD
2883 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2884 SWIG_POINTER_EXCEPTION | 0)) == -1)
2885 SWIG_fail;
4d5c3d91 2886 if (arg8 == NULL) {
15afbcd0
RD
2887 PyErr_SetString(PyExc_TypeError,"null reference");
2888 SWIG_fail;
d14a1e28
RD
2889 }
2890 }
2891 if (obj8) {
2892 {
4d5c3d91
RD
2893 arg9 = wxString_in_helper(obj8);
2894 if (arg9 == NULL) SWIG_fail;
e811c8ce 2895 temp9 = True;
d14a1e28
RD
2896 }
2897 }
2898 {
2899 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 2900 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
2901
2902 wxPyEndAllowThreads(__tstate);
2903 if (PyErr_Occurred()) SWIG_fail;
2904 }
15afbcd0 2905 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
2906 {
2907 if (temp3)
2908 delete arg3;
2909 }
2910 {
3adfb63b 2911 if (temp6) delete arg6;
d14a1e28
RD
2912 }
2913 {
2914 if (temp9)
4d5c3d91 2915 delete arg9;
d14a1e28
RD
2916 }
2917 return resultobj;
2918 fail:
2919 {
2920 if (temp3)
2921 delete arg3;
2922 }
2923 {
3adfb63b 2924 if (temp6) delete arg6;
d14a1e28
RD
2925 }
2926 {
2927 if (temp9)
4d5c3d91 2928 delete arg9;
d14a1e28
RD
2929 }
2930 return NULL;
2931}
2932
2933
2934static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxComboBox *result;
2937 char *kwnames[] = {
2938 NULL
2939 };
2940
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2942 {
2943 PyThreadState* __tstate = wxPyBeginAllowThreads();
2944 result = (wxComboBox *)new wxComboBox();
2945
2946 wxPyEndAllowThreads(__tstate);
2947 if (PyErr_Occurred()) SWIG_fail;
2948 }
15afbcd0 2949 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
d14a1e28
RD
2950 return resultobj;
2951 fail:
2952 return NULL;
2953}
2954
2955
2956static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2957 PyObject *resultobj;
2958 wxComboBox *arg1 = (wxComboBox *) 0 ;
2959 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2960 int arg3 ;
d14a1e28
RD
2961 wxString const &arg4_defvalue = wxPyEmptyString ;
2962 wxString *arg4 = (wxString *) &arg4_defvalue ;
2963 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2964 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2965 wxSize const &arg6_defvalue = wxDefaultSize ;
2966 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
2967 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2968 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2969 long arg8 = (long) 0 ;
2970 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2971 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
b88bce5f 2972 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
4d5c3d91 2973 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 2974 bool result;
e811c8ce 2975 bool temp4 = False ;
d14a1e28
RD
2976 wxPoint temp5 ;
2977 wxSize temp6 ;
3adfb63b 2978 bool temp7 = False ;
e811c8ce 2979 bool temp10 = False ;
d14a1e28
RD
2980 PyObject * obj0 = 0 ;
2981 PyObject * obj1 = 0 ;
994141e6 2982 PyObject * obj2 = 0 ;
d14a1e28
RD
2983 PyObject * obj3 = 0 ;
2984 PyObject * obj4 = 0 ;
2985 PyObject * obj5 = 0 ;
2986 PyObject * obj6 = 0 ;
994141e6 2987 PyObject * obj7 = 0 ;
d14a1e28
RD
2988 PyObject * obj8 = 0 ;
2989 PyObject * obj9 = 0 ;
2990 char *kwnames[] = {
2991 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2992 };
2993
994141e6 2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15afbcd0
RD
2995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
2996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2997 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2999 arg3 = (int) SWIG_AsInt(obj2);
3000 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3001 if (obj3) {
3002 {
3003 arg4 = wxString_in_helper(obj3);
3004 if (arg4 == NULL) SWIG_fail;
e811c8ce 3005 temp4 = True;
d14a1e28
RD
3006 }
3007 }
3008 if (obj4) {
3009 {
3010 arg5 = &temp5;
3011 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3012 }
3013 }
3014 if (obj5) {
3015 {
3016 arg6 = &temp6;
3017 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3018 }
3019 }
3020 if (obj6) {
3021 {
4d5c3d91
RD
3022 if (! PySequence_Check(obj6)) {
3023 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3024 SWIG_fail;
3025 }
3026 arg7 = new wxArrayString;
3adfb63b 3027 temp7 = True;
4d5c3d91
RD
3028 int i, len=PySequence_Length(obj6);
3029 for (i=0; i<len; i++) {
3030 PyObject* item = PySequence_GetItem(obj6, i);
3031#if wxUSE_UNICODE
3032 PyObject* str = PyObject_Unicode(item);
3033#else
3034 PyObject* str = PyObject_Str(item);
3035#endif
74a57fcd 3036 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
3037 arg7->Add(Py2wxString(str));
3038 Py_DECREF(item);
3039 Py_DECREF(str);
3040 }
d14a1e28
RD
3041 }
3042 }
994141e6 3043 if (obj7) {
15afbcd0
RD
3044 arg8 = (long) SWIG_AsLong(obj7);
3045 if (PyErr_Occurred()) SWIG_fail;
994141e6 3046 }
d14a1e28 3047 if (obj8) {
15afbcd0
RD
3048 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3049 SWIG_POINTER_EXCEPTION | 0)) == -1)
3050 SWIG_fail;
4d5c3d91 3051 if (arg9 == NULL) {
15afbcd0
RD
3052 PyErr_SetString(PyExc_TypeError,"null reference");
3053 SWIG_fail;
d14a1e28
RD
3054 }
3055 }
3056 if (obj9) {
3057 {
4d5c3d91
RD
3058 arg10 = wxString_in_helper(obj9);
3059 if (arg10 == NULL) SWIG_fail;
e811c8ce 3060 temp10 = True;
d14a1e28
RD
3061 }
3062 }
3063 {
3064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 3065 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
3066
3067 wxPyEndAllowThreads(__tstate);
3068 if (PyErr_Occurred()) SWIG_fail;
3069 }
4f89f6a3
RD
3070 {
3071 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3072 }
d14a1e28
RD
3073 {
3074 if (temp4)
3075 delete arg4;
3076 }
3077 {
3adfb63b 3078 if (temp7) delete arg7;
d14a1e28
RD
3079 }
3080 {
3081 if (temp10)
4d5c3d91 3082 delete arg10;
d14a1e28
RD
3083 }
3084 return resultobj;
3085 fail:
3086 {
3087 if (temp4)
3088 delete arg4;
3089 }
3090 {
3adfb63b 3091 if (temp7) delete arg7;
d14a1e28
RD
3092 }
3093 {
3094 if (temp10)
4d5c3d91 3095 delete arg10;
d14a1e28
RD
3096 }
3097 return NULL;
3098}
3099
3100
3101static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3102 PyObject *resultobj;
3103 wxComboBox *arg1 = (wxComboBox *) 0 ;
3104 wxString result;
3105 PyObject * obj0 = 0 ;
3106 char *kwnames[] = {
3107 (char *) "self", NULL
3108 };
3109
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3113 {
3114 PyThreadState* __tstate = wxPyBeginAllowThreads();
3115 result = ((wxComboBox const *)arg1)->GetValue();
3116
3117 wxPyEndAllowThreads(__tstate);
3118 if (PyErr_Occurred()) SWIG_fail;
3119 }
3120 {
3121#if wxUSE_UNICODE
3122 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3123#else
3124 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3125#endif
3126 }
3127 return resultobj;
3128 fail:
3129 return NULL;
3130}
3131
3132
3133static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3134 PyObject *resultobj;
3135 wxComboBox *arg1 = (wxComboBox *) 0 ;
3136 wxString *arg2 = 0 ;
e811c8ce 3137 bool temp2 = False ;
d14a1e28
RD
3138 PyObject * obj0 = 0 ;
3139 PyObject * obj1 = 0 ;
3140 char *kwnames[] = {
3141 (char *) "self",(char *) "value", NULL
3142 };
3143
3144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3147 {
3148 arg2 = wxString_in_helper(obj1);
3149 if (arg2 == NULL) SWIG_fail;
e811c8ce 3150 temp2 = True;
d14a1e28
RD
3151 }
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 (arg1)->SetValue((wxString const &)*arg2);
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 Py_INCREF(Py_None); resultobj = Py_None;
3160 {
3161 if (temp2)
3162 delete arg2;
3163 }
3164 return resultobj;
3165 fail:
3166 {
3167 if (temp2)
3168 delete arg2;
3169 }
3170 return NULL;
3171}
3172
3173
3174static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3175 PyObject *resultobj;
3176 wxComboBox *arg1 = (wxComboBox *) 0 ;
3177 PyObject * obj0 = 0 ;
3178 char *kwnames[] = {
3179 (char *) "self", NULL
3180 };
3181
3182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
3183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 (arg1)->Copy();
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 Py_INCREF(Py_None); resultobj = Py_None;
3193 return resultobj;
3194 fail:
3195 return NULL;
3196}
3197
3198
3199static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3200 PyObject *resultobj;
3201 wxComboBox *arg1 = (wxComboBox *) 0 ;
3202 PyObject * obj0 = 0 ;
3203 char *kwnames[] = {
3204 (char *) "self", NULL
3205 };
3206
3207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
15afbcd0
RD
3208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3210 {
3211 PyThreadState* __tstate = wxPyBeginAllowThreads();
3212 (arg1)->Cut();
3213
3214 wxPyEndAllowThreads(__tstate);
3215 if (PyErr_Occurred()) SWIG_fail;
3216 }
3217 Py_INCREF(Py_None); resultobj = Py_None;
3218 return resultobj;
3219 fail:
3220 return NULL;
3221}
3222
3223
3224static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3225 PyObject *resultobj;
3226 wxComboBox *arg1 = (wxComboBox *) 0 ;
3227 PyObject * obj0 = 0 ;
3228 char *kwnames[] = {
3229 (char *) "self", NULL
3230 };
3231
3232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
15afbcd0
RD
3233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3235 {
3236 PyThreadState* __tstate = wxPyBeginAllowThreads();
3237 (arg1)->Paste();
3238
3239 wxPyEndAllowThreads(__tstate);
3240 if (PyErr_Occurred()) SWIG_fail;
3241 }
3242 Py_INCREF(Py_None); resultobj = Py_None;
3243 return resultobj;
3244 fail:
3245 return NULL;
3246}
3247
3248
3249static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3250 PyObject *resultobj;
3251 wxComboBox *arg1 = (wxComboBox *) 0 ;
3252 long arg2 ;
3253 PyObject * obj0 = 0 ;
994141e6 3254 PyObject * obj1 = 0 ;
d14a1e28
RD
3255 char *kwnames[] = {
3256 (char *) "self",(char *) "pos", NULL
3257 };
3258
994141e6 3259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3262 arg2 = (long) SWIG_AsLong(obj1);
3263 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3264 {
3265 PyThreadState* __tstate = wxPyBeginAllowThreads();
3266 (arg1)->SetInsertionPoint(arg2);
3267
3268 wxPyEndAllowThreads(__tstate);
3269 if (PyErr_Occurred()) SWIG_fail;
3270 }
3271 Py_INCREF(Py_None); resultobj = Py_None;
3272 return resultobj;
3273 fail:
3274 return NULL;
3275}
3276
3277
3278static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3279 PyObject *resultobj;
3280 wxComboBox *arg1 = (wxComboBox *) 0 ;
3281 long result;
3282 PyObject * obj0 = 0 ;
3283 char *kwnames[] = {
3284 (char *) "self", NULL
3285 };
3286
3287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
3288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3290 {
3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
3292 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3293
3294 wxPyEndAllowThreads(__tstate);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
15afbcd0 3297 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3298 return resultobj;
3299 fail:
3300 return NULL;
3301}
3302
3303
3304static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3305 PyObject *resultobj;
3306 wxComboBox *arg1 = (wxComboBox *) 0 ;
3307 long result;
3308 PyObject * obj0 = 0 ;
3309 char *kwnames[] = {
3310 (char *) "self", NULL
3311 };
3312
3313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
3314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3316 {
3317 PyThreadState* __tstate = wxPyBeginAllowThreads();
3318 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3319
3320 wxPyEndAllowThreads(__tstate);
3321 if (PyErr_Occurred()) SWIG_fail;
3322 }
15afbcd0 3323 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
3324 return resultobj;
3325 fail:
3326 return NULL;
3327}
3328
3329
3330static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3331 PyObject *resultobj;
3332 wxComboBox *arg1 = (wxComboBox *) 0 ;
3333 long arg2 ;
3334 long arg3 ;
3335 wxString *arg4 = 0 ;
e811c8ce 3336 bool temp4 = False ;
d14a1e28 3337 PyObject * obj0 = 0 ;
994141e6
RD
3338 PyObject * obj1 = 0 ;
3339 PyObject * obj2 = 0 ;
d14a1e28
RD
3340 PyObject * obj3 = 0 ;
3341 char *kwnames[] = {
3342 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3343 };
3344
994141e6 3345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
3346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3348 arg2 = (long) SWIG_AsLong(obj1);
3349 if (PyErr_Occurred()) SWIG_fail;
3350 arg3 = (long) SWIG_AsLong(obj2);
3351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3352 {
3353 arg4 = wxString_in_helper(obj3);
3354 if (arg4 == NULL) SWIG_fail;
e811c8ce 3355 temp4 = True;
d14a1e28
RD
3356 }
3357 {
3358 PyThreadState* __tstate = wxPyBeginAllowThreads();
3359 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3360
3361 wxPyEndAllowThreads(__tstate);
3362 if (PyErr_Occurred()) SWIG_fail;
3363 }
3364 Py_INCREF(Py_None); resultobj = Py_None;
3365 {
3366 if (temp4)
3367 delete arg4;
3368 }
3369 return resultobj;
3370 fail:
3371 {
3372 if (temp4)
3373 delete arg4;
3374 }
3375 return NULL;
3376}
3377
3378
fd3f2efe
RD
3379static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3380 PyObject *resultobj;
3381 wxComboBox *arg1 = (wxComboBox *) 0 ;
3382 int arg2 ;
3383 PyObject * obj0 = 0 ;
994141e6 3384 PyObject * obj1 = 0 ;
fd3f2efe
RD
3385 char *kwnames[] = {
3386 (char *) "self",(char *) "n", NULL
3387 };
3388
994141e6 3389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3392 arg2 = (int) SWIG_AsInt(obj1);
3393 if (PyErr_Occurred()) SWIG_fail;
fd3f2efe
RD
3394 {
3395 PyThreadState* __tstate = wxPyBeginAllowThreads();
3396 (arg1)->SetSelection(arg2);
3397
3398 wxPyEndAllowThreads(__tstate);
3399 if (PyErr_Occurred()) SWIG_fail;
3400 }
3401 Py_INCREF(Py_None); resultobj = Py_None;
3402 return resultobj;
3403 fail:
3404 return NULL;
3405}
3406
3407
d14a1e28
RD
3408static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3409 PyObject *resultobj;
3410 wxComboBox *arg1 = (wxComboBox *) 0 ;
3411 long arg2 ;
3412 long arg3 ;
3413 PyObject * obj0 = 0 ;
994141e6
RD
3414 PyObject * obj1 = 0 ;
3415 PyObject * obj2 = 0 ;
d14a1e28
RD
3416 char *kwnames[] = {
3417 (char *) "self",(char *) "from",(char *) "to", NULL
3418 };
3419
994141e6 3420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3423 arg2 = (long) SWIG_AsLong(obj1);
3424 if (PyErr_Occurred()) SWIG_fail;
3425 arg3 = (long) SWIG_AsLong(obj2);
3426 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3427 {
3428 PyThreadState* __tstate = wxPyBeginAllowThreads();
3429 (arg1)->SetSelection(arg2,arg3);
3430
3431 wxPyEndAllowThreads(__tstate);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 }
3434 Py_INCREF(Py_None); resultobj = Py_None;
3435 return resultobj;
3436 fail:
3437 return NULL;
3438}
3439
3440
3441static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3442 PyObject *resultobj;
3443 wxComboBox *arg1 = (wxComboBox *) 0 ;
3444 bool arg2 ;
3445 PyObject * obj0 = 0 ;
3446 PyObject * obj1 = 0 ;
3447 char *kwnames[] = {
3448 (char *) "self",(char *) "editable", NULL
3449 };
3450
3451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3454 arg2 = (bool) SWIG_AsBool(obj1);
3455 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3456 {
3457 PyThreadState* __tstate = wxPyBeginAllowThreads();
3458 (arg1)->SetEditable(arg2);
3459
3460 wxPyEndAllowThreads(__tstate);
3461 if (PyErr_Occurred()) SWIG_fail;
3462 }
3463 Py_INCREF(Py_None); resultobj = Py_None;
3464 return resultobj;
3465 fail:
3466 return NULL;
3467}
3468
3469
3470static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3471 PyObject *resultobj;
3472 wxComboBox *arg1 = (wxComboBox *) 0 ;
3473 PyObject * obj0 = 0 ;
3474 char *kwnames[] = {
3475 (char *) "self", NULL
3476 };
3477
3478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
3479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 (arg1)->SetInsertionPointEnd();
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 Py_INCREF(Py_None); resultobj = Py_None;
3489 return resultobj;
3490 fail:
3491 return NULL;
3492}
3493
3494
3495static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3496 PyObject *resultobj;
3497 wxComboBox *arg1 = (wxComboBox *) 0 ;
3498 long arg2 ;
3499 long arg3 ;
3500 PyObject * obj0 = 0 ;
994141e6
RD
3501 PyObject * obj1 = 0 ;
3502 PyObject * obj2 = 0 ;
d14a1e28
RD
3503 char *kwnames[] = {
3504 (char *) "self",(char *) "from",(char *) "to", NULL
3505 };
3506
994141e6 3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3510 arg2 = (long) SWIG_AsLong(obj1);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 arg3 = (long) SWIG_AsLong(obj2);
3513 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 (arg1)->Remove(arg2,arg3);
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 Py_INCREF(Py_None); resultobj = Py_None;
3522 return resultobj;
3523 fail:
3524 return NULL;
3525}
3526
3527
3528static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3529 PyObject *obj;
3530 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3531 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3532 Py_INCREF(obj);
3533 return Py_BuildValue((char *)"");
3534}
b2dc1044
RD
3535static int _wrap_GaugeNameStr_set(PyObject *_val) {
3536 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3537 return 1;
3538}
3539
3540
3541static PyObject *_wrap_GaugeNameStr_get() {
3542 PyObject *pyobj;
3543
3544 {
3545#if wxUSE_UNICODE
3546 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3547#else
3548 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3549#endif
3550 }
3551 return pyobj;
3552}
3553
3554
d14a1e28
RD
3555static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3556 PyObject *resultobj;
3557 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3558 int arg2 ;
d14a1e28
RD
3559 int arg3 ;
3560 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3561 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3562 wxSize const &arg5_defvalue = wxDefaultSize ;
3563 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3564 long arg6 = (long) wxGA_HORIZONTAL ;
3565 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3566 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3567 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3568 wxString *arg8 = (wxString *) &arg8_defvalue ;
3569 wxGauge *result;
3570 wxPoint temp4 ;
3571 wxSize temp5 ;
e811c8ce 3572 bool temp8 = False ;
d14a1e28 3573 PyObject * obj0 = 0 ;
994141e6
RD
3574 PyObject * obj1 = 0 ;
3575 PyObject * obj2 = 0 ;
d14a1e28
RD
3576 PyObject * obj3 = 0 ;
3577 PyObject * obj4 = 0 ;
994141e6 3578 PyObject * obj5 = 0 ;
d14a1e28
RD
3579 PyObject * obj6 = 0 ;
3580 PyObject * obj7 = 0 ;
3581 char *kwnames[] = {
3582 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3583 };
3584
994141e6 3585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
3586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3588 arg2 = (int) SWIG_AsInt(obj1);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 arg3 = (int) SWIG_AsInt(obj2);
3591 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3592 if (obj3) {
3593 {
3594 arg4 = &temp4;
3595 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3596 }
3597 }
3598 if (obj4) {
3599 {
3600 arg5 = &temp5;
3601 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3602 }
3603 }
994141e6 3604 if (obj5) {
15afbcd0
RD
3605 arg6 = (long) SWIG_AsLong(obj5);
3606 if (PyErr_Occurred()) SWIG_fail;
994141e6 3607 }
d14a1e28 3608 if (obj6) {
15afbcd0
RD
3609 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3610 SWIG_POINTER_EXCEPTION | 0)) == -1)
3611 SWIG_fail;
d14a1e28 3612 if (arg7 == NULL) {
15afbcd0
RD
3613 PyErr_SetString(PyExc_TypeError,"null reference");
3614 SWIG_fail;
d14a1e28
RD
3615 }
3616 }
3617 if (obj7) {
3618 {
3619 arg8 = wxString_in_helper(obj7);
3620 if (arg8 == NULL) SWIG_fail;
e811c8ce 3621 temp8 = True;
d14a1e28
RD
3622 }
3623 }
3624 {
3625 PyThreadState* __tstate = wxPyBeginAllowThreads();
3626 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3627
3628 wxPyEndAllowThreads(__tstate);
3629 if (PyErr_Occurred()) SWIG_fail;
3630 }
15afbcd0 3631 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
3632 {
3633 if (temp8)
3634 delete arg8;
3635 }
3636 return resultobj;
3637 fail:
3638 {
3639 if (temp8)
3640 delete arg8;
3641 }
3642 return NULL;
3643}
3644
3645
3646static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3647 PyObject *resultobj;
3648 wxGauge *result;
3649 char *kwnames[] = {
3650 NULL
3651 };
3652
3653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3654 {
3655 PyThreadState* __tstate = wxPyBeginAllowThreads();
3656 result = (wxGauge *)new wxGauge();
3657
3658 wxPyEndAllowThreads(__tstate);
3659 if (PyErr_Occurred()) SWIG_fail;
3660 }
15afbcd0 3661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
d14a1e28
RD
3662 return resultobj;
3663 fail:
3664 return NULL;
3665}
3666
3667
3668static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3669 PyObject *resultobj;
3670 wxGauge *arg1 = (wxGauge *) 0 ;
3671 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3672 int arg3 ;
d14a1e28
RD
3673 int arg4 ;
3674 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3675 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3676 wxSize const &arg6_defvalue = wxDefaultSize ;
3677 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3678 long arg7 = (long) wxGA_HORIZONTAL ;
3679 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3680 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3681 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3682 wxString *arg9 = (wxString *) &arg9_defvalue ;
3683 bool result;
3684 wxPoint temp5 ;
3685 wxSize temp6 ;
e811c8ce 3686 bool temp9 = False ;
d14a1e28
RD
3687 PyObject * obj0 = 0 ;
3688 PyObject * obj1 = 0 ;
994141e6
RD
3689 PyObject * obj2 = 0 ;
3690 PyObject * obj3 = 0 ;
d14a1e28
RD
3691 PyObject * obj4 = 0 ;
3692 PyObject * obj5 = 0 ;
994141e6 3693 PyObject * obj6 = 0 ;
d14a1e28
RD
3694 PyObject * obj7 = 0 ;
3695 PyObject * obj8 = 0 ;
3696 char *kwnames[] = {
3697 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3698 };
3699
994141e6 3700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
3701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3703 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3705 arg3 = (int) SWIG_AsInt(obj2);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 arg4 = (int) SWIG_AsInt(obj3);
3708 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3709 if (obj4) {
3710 {
3711 arg5 = &temp5;
3712 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3713 }
3714 }
3715 if (obj5) {
3716 {
3717 arg6 = &temp6;
3718 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3719 }
3720 }
994141e6 3721 if (obj6) {
15afbcd0
RD
3722 arg7 = (long) SWIG_AsLong(obj6);
3723 if (PyErr_Occurred()) SWIG_fail;
994141e6 3724 }
d14a1e28 3725 if (obj7) {
15afbcd0
RD
3726 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3727 SWIG_POINTER_EXCEPTION | 0)) == -1)
3728 SWIG_fail;
d14a1e28 3729 if (arg8 == NULL) {
15afbcd0
RD
3730 PyErr_SetString(PyExc_TypeError,"null reference");
3731 SWIG_fail;
d14a1e28
RD
3732 }
3733 }
3734 if (obj8) {
3735 {
3736 arg9 = wxString_in_helper(obj8);
3737 if (arg9 == NULL) SWIG_fail;
e811c8ce 3738 temp9 = True;
d14a1e28
RD
3739 }
3740 }
3741 {
3742 PyThreadState* __tstate = wxPyBeginAllowThreads();
3743 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3744
3745 wxPyEndAllowThreads(__tstate);
3746 if (PyErr_Occurred()) SWIG_fail;
3747 }
4f89f6a3
RD
3748 {
3749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3750 }
d14a1e28
RD
3751 {
3752 if (temp9)
3753 delete arg9;
3754 }
3755 return resultobj;
3756 fail:
3757 {
3758 if (temp9)
3759 delete arg9;
3760 }
3761 return NULL;
3762}
3763
3764
3765static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3766 PyObject *resultobj;
3767 wxGauge *arg1 = (wxGauge *) 0 ;
3768 int arg2 ;
3769 PyObject * obj0 = 0 ;
994141e6 3770 PyObject * obj1 = 0 ;
d14a1e28
RD
3771 char *kwnames[] = {
3772 (char *) "self",(char *) "range", NULL
3773 };
3774
994141e6 3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3778 arg2 = (int) SWIG_AsInt(obj1);
3779 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3780 {
3781 PyThreadState* __tstate = wxPyBeginAllowThreads();
3782 (arg1)->SetRange(arg2);
3783
3784 wxPyEndAllowThreads(__tstate);
3785 if (PyErr_Occurred()) SWIG_fail;
3786 }
3787 Py_INCREF(Py_None); resultobj = Py_None;
3788 return resultobj;
3789 fail:
3790 return NULL;
3791}
3792
3793
3794static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3795 PyObject *resultobj;
3796 wxGauge *arg1 = (wxGauge *) 0 ;
3797 int result;
3798 PyObject * obj0 = 0 ;
3799 char *kwnames[] = {
3800 (char *) "self", NULL
3801 };
3802
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
15afbcd0
RD
3804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 result = (int)((wxGauge const *)arg1)->GetRange();
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
15afbcd0 3813 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3814 return resultobj;
3815 fail:
3816 return NULL;
3817}
3818
3819
3820static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3821 PyObject *resultobj;
3822 wxGauge *arg1 = (wxGauge *) 0 ;
3823 int arg2 ;
3824 PyObject * obj0 = 0 ;
994141e6 3825 PyObject * obj1 = 0 ;
d14a1e28
RD
3826 char *kwnames[] = {
3827 (char *) "self",(char *) "pos", NULL
3828 };
3829
994141e6 3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3833 arg2 = (int) SWIG_AsInt(obj1);
3834 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3835 {
3836 PyThreadState* __tstate = wxPyBeginAllowThreads();
3837 (arg1)->SetValue(arg2);
3838
3839 wxPyEndAllowThreads(__tstate);
3840 if (PyErr_Occurred()) SWIG_fail;
3841 }
3842 Py_INCREF(Py_None); resultobj = Py_None;
3843 return resultobj;
3844 fail:
3845 return NULL;
3846}
3847
3848
3849static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3850 PyObject *resultobj;
3851 wxGauge *arg1 = (wxGauge *) 0 ;
3852 int result;
3853 PyObject * obj0 = 0 ;
3854 char *kwnames[] = {
3855 (char *) "self", NULL
3856 };
3857
3858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
3859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 result = (int)((wxGauge const *)arg1)->GetValue();
3864
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
15afbcd0 3868 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3869 return resultobj;
3870 fail:
3871 return NULL;
3872}
3873
3874
3875static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3876 PyObject *resultobj;
3877 wxGauge *arg1 = (wxGauge *) 0 ;
3878 bool result;
3879 PyObject * obj0 = 0 ;
3880 char *kwnames[] = {
3881 (char *) "self", NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
3885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 result = (bool)((wxGauge const *)arg1)->IsVertical();
3890
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
4f89f6a3
RD
3894 {
3895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3896 }
d14a1e28
RD
3897 return resultobj;
3898 fail:
3899 return NULL;
3900}
3901
3902
3903static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3904 PyObject *resultobj;
3905 wxGauge *arg1 = (wxGauge *) 0 ;
3906 int arg2 ;
3907 PyObject * obj0 = 0 ;
994141e6 3908 PyObject * obj1 = 0 ;
d14a1e28
RD
3909 char *kwnames[] = {
3910 (char *) "self",(char *) "w", NULL
3911 };
3912
994141e6 3913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3916 arg2 = (int) SWIG_AsInt(obj1);
3917 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3918 {
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 (arg1)->SetShadowWidth(arg2);
3921
3922 wxPyEndAllowThreads(__tstate);
3923 if (PyErr_Occurred()) SWIG_fail;
3924 }
3925 Py_INCREF(Py_None); resultobj = Py_None;
3926 return resultobj;
3927 fail:
3928 return NULL;
3929}
3930
3931
3932static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3933 PyObject *resultobj;
3934 wxGauge *arg1 = (wxGauge *) 0 ;
3935 int result;
3936 PyObject * obj0 = 0 ;
3937 char *kwnames[] = {
3938 (char *) "self", NULL
3939 };
3940
3941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3944 {
3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
3946 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3947
3948 wxPyEndAllowThreads(__tstate);
3949 if (PyErr_Occurred()) SWIG_fail;
3950 }
15afbcd0 3951 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3952 return resultobj;
3953 fail:
3954 return NULL;
3955}
3956
3957
3958static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3959 PyObject *resultobj;
3960 wxGauge *arg1 = (wxGauge *) 0 ;
3961 int arg2 ;
3962 PyObject * obj0 = 0 ;
994141e6 3963 PyObject * obj1 = 0 ;
d14a1e28
RD
3964 char *kwnames[] = {
3965 (char *) "self",(char *) "w", NULL
3966 };
3967
994141e6 3968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3971 arg2 = (int) SWIG_AsInt(obj1);
3972 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3973 {
3974 PyThreadState* __tstate = wxPyBeginAllowThreads();
3975 (arg1)->SetBezelFace(arg2);
3976
3977 wxPyEndAllowThreads(__tstate);
3978 if (PyErr_Occurred()) SWIG_fail;
3979 }
3980 Py_INCREF(Py_None); resultobj = Py_None;
3981 return resultobj;
3982 fail:
3983 return NULL;
3984}
3985
3986
3987static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3988 PyObject *resultobj;
3989 wxGauge *arg1 = (wxGauge *) 0 ;
3990 int result;
3991 PyObject * obj0 = 0 ;
3992 char *kwnames[] = {
3993 (char *) "self", NULL
3994 };
3995
3996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
15afbcd0
RD
3997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
15afbcd0 4006 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4007 return resultobj;
4008 fail:
4009 return NULL;
4010}
4011
4012
4013static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4014 PyObject *obj;
4015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4016 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4017 Py_INCREF(obj);
4018 return Py_BuildValue((char *)"");
4019}
b2dc1044
RD
4020static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4021 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4022 return 1;
4023}
4024
4025
4026static PyObject *_wrap_StaticBitmapNameStr_get() {
4027 PyObject *pyobj;
4028
4029 {
4030#if wxUSE_UNICODE
4031 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4032#else
4033 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4034#endif
4035 }
4036 return pyobj;
4037}
4038
4039
4040static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4041 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4042 return 1;
4043}
4044
4045
4046static PyObject *_wrap_StaticBoxNameStr_get() {
4047 PyObject *pyobj;
4048
4049 {
4050#if wxUSE_UNICODE
4051 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4052#else
4053 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4054#endif
4055 }
4056 return pyobj;
4057}
4058
4059
4060static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4061 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4062 return 1;
4063}
4064
4065
4066static PyObject *_wrap_StaticTextNameStr_get() {
4067 PyObject *pyobj;
4068
4069 {
4070#if wxUSE_UNICODE
4071 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4072#else
4073 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4074#endif
4075 }
4076 return pyobj;
4077}
4078
4079
d14a1e28
RD
4080static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4081 PyObject *resultobj;
4082 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4083 int arg2 ;
d14a1e28
RD
4084 wxString *arg3 = 0 ;
4085 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4086 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4087 wxSize const &arg5_defvalue = wxDefaultSize ;
4088 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4089 long arg6 = (long) 0 ;
4090 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4091 wxString *arg7 = (wxString *) &arg7_defvalue ;
4092 wxStaticBox *result;
e811c8ce 4093 bool temp3 = False ;
d14a1e28
RD
4094 wxPoint temp4 ;
4095 wxSize temp5 ;
e811c8ce 4096 bool temp7 = False ;
d14a1e28 4097 PyObject * obj0 = 0 ;
994141e6 4098 PyObject * obj1 = 0 ;
d14a1e28
RD
4099 PyObject * obj2 = 0 ;
4100 PyObject * obj3 = 0 ;
4101 PyObject * obj4 = 0 ;
994141e6 4102 PyObject * obj5 = 0 ;
d14a1e28
RD
4103 PyObject * obj6 = 0 ;
4104 char *kwnames[] = {
4105 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4106 };
4107
994141e6 4108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4111 arg2 = (int) SWIG_AsInt(obj1);
4112 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4113 {
4114 arg3 = wxString_in_helper(obj2);
4115 if (arg3 == NULL) SWIG_fail;
e811c8ce 4116 temp3 = True;
d14a1e28
RD
4117 }
4118 if (obj3) {
4119 {
4120 arg4 = &temp4;
4121 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4122 }
4123 }
4124 if (obj4) {
4125 {
4126 arg5 = &temp5;
4127 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4128 }
4129 }
994141e6 4130 if (obj5) {
15afbcd0
RD
4131 arg6 = (long) SWIG_AsLong(obj5);
4132 if (PyErr_Occurred()) SWIG_fail;
994141e6 4133 }
d14a1e28
RD
4134 if (obj6) {
4135 {
4136 arg7 = wxString_in_helper(obj6);
4137 if (arg7 == NULL) SWIG_fail;
e811c8ce 4138 temp7 = True;
d14a1e28
RD
4139 }
4140 }
4141 {
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4144
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 {
4149 resultobj = wxPyMake_wxObject(result);
4150 }
4151 {
4152 if (temp3)
4153 delete arg3;
4154 }
4155 {
4156 if (temp7)
4157 delete arg7;
4158 }
4159 return resultobj;
4160 fail:
4161 {
4162 if (temp3)
4163 delete arg3;
4164 }
4165 {
4166 if (temp7)
4167 delete arg7;
4168 }
4169 return NULL;
4170}
4171
4172
4173static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4174 PyObject *resultobj;
4175 wxStaticBox *result;
4176 char *kwnames[] = {
4177 NULL
4178 };
4179
4180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4181 {
4182 PyThreadState* __tstate = wxPyBeginAllowThreads();
4183 result = (wxStaticBox *)new wxStaticBox();
4184
4185 wxPyEndAllowThreads(__tstate);
4186 if (PyErr_Occurred()) SWIG_fail;
4187 }
4188 {
4189 resultobj = wxPyMake_wxObject(result);
4190 }
4191 return resultobj;
4192 fail:
4193 return NULL;
4194}
4195
4196
4197static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4198 PyObject *resultobj;
4199 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4200 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4201 int arg3 ;
d14a1e28
RD
4202 wxString *arg4 = 0 ;
4203 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4204 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4205 wxSize const &arg6_defvalue = wxDefaultSize ;
4206 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4207 long arg7 = (long) 0 ;
4208 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4209 wxString *arg8 = (wxString *) &arg8_defvalue ;
4210 bool result;
e811c8ce 4211 bool temp4 = False ;
d14a1e28
RD
4212 wxPoint temp5 ;
4213 wxSize temp6 ;
e811c8ce 4214 bool temp8 = False ;
d14a1e28
RD
4215 PyObject * obj0 = 0 ;
4216 PyObject * obj1 = 0 ;
994141e6 4217 PyObject * obj2 = 0 ;
d14a1e28
RD
4218 PyObject * obj3 = 0 ;
4219 PyObject * obj4 = 0 ;
4220 PyObject * obj5 = 0 ;
994141e6 4221 PyObject * obj6 = 0 ;
d14a1e28
RD
4222 PyObject * obj7 = 0 ;
4223 char *kwnames[] = {
4224 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4225 };
4226
994141e6 4227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4230 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4232 arg3 = (int) SWIG_AsInt(obj2);
4233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4234 {
4235 arg4 = wxString_in_helper(obj3);
4236 if (arg4 == NULL) SWIG_fail;
e811c8ce 4237 temp4 = True;
d14a1e28
RD
4238 }
4239 if (obj4) {
4240 {
4241 arg5 = &temp5;
4242 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4243 }
4244 }
4245 if (obj5) {
4246 {
4247 arg6 = &temp6;
4248 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4249 }
4250 }
994141e6 4251 if (obj6) {
15afbcd0
RD
4252 arg7 = (long) SWIG_AsLong(obj6);
4253 if (PyErr_Occurred()) SWIG_fail;
994141e6 4254 }
d14a1e28
RD
4255 if (obj7) {
4256 {
4257 arg8 = wxString_in_helper(obj7);
4258 if (arg8 == NULL) SWIG_fail;
e811c8ce 4259 temp8 = True;
d14a1e28
RD
4260 }
4261 }
4262 {
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4265
4266 wxPyEndAllowThreads(__tstate);
4267 if (PyErr_Occurred()) SWIG_fail;
4268 }
4f89f6a3
RD
4269 {
4270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4271 }
d14a1e28
RD
4272 {
4273 if (temp4)
4274 delete arg4;
4275 }
4276 {
4277 if (temp8)
4278 delete arg8;
4279 }
4280 return resultobj;
4281 fail:
4282 {
4283 if (temp4)
4284 delete arg4;
4285 }
4286 {
4287 if (temp8)
4288 delete arg8;
4289 }
4290 return NULL;
4291}
4292
4293
4294static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4295 PyObject *obj;
4296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4297 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4298 Py_INCREF(obj);
4299 return Py_BuildValue((char *)"");
4300}
4301static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj;
4303 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4304 int arg2 ;
d14a1e28
RD
4305 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4306 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4307 wxSize const &arg4_defvalue = wxDefaultSize ;
4308 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4309 long arg5 = (long) wxLI_HORIZONTAL ;
4310 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4311 wxString *arg6 = (wxString *) &arg6_defvalue ;
4312 wxStaticLine *result;
4313 wxPoint temp3 ;
4314 wxSize temp4 ;
e811c8ce 4315 bool temp6 = False ;
d14a1e28 4316 PyObject * obj0 = 0 ;
994141e6 4317 PyObject * obj1 = 0 ;
d14a1e28
RD
4318 PyObject * obj2 = 0 ;
4319 PyObject * obj3 = 0 ;
994141e6 4320 PyObject * obj4 = 0 ;
d14a1e28
RD
4321 PyObject * obj5 = 0 ;
4322 char *kwnames[] = {
4323 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4324 };
4325
994141e6 4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
4327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4329 arg2 = (int) SWIG_AsInt(obj1);
4330 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4331 if (obj2) {
4332 {
4333 arg3 = &temp3;
4334 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4335 }
4336 }
4337 if (obj3) {
4338 {
4339 arg4 = &temp4;
4340 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4341 }
4342 }
994141e6 4343 if (obj4) {
15afbcd0
RD
4344 arg5 = (long) SWIG_AsLong(obj4);
4345 if (PyErr_Occurred()) SWIG_fail;
994141e6 4346 }
d14a1e28
RD
4347 if (obj5) {
4348 {
4349 arg6 = wxString_in_helper(obj5);
4350 if (arg6 == NULL) SWIG_fail;
e811c8ce 4351 temp6 = True;
d14a1e28
RD
4352 }
4353 }
4354 {
4355 PyThreadState* __tstate = wxPyBeginAllowThreads();
4356 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4357
4358 wxPyEndAllowThreads(__tstate);
4359 if (PyErr_Occurred()) SWIG_fail;
4360 }
15afbcd0 4361 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
4362 {
4363 if (temp6)
4364 delete arg6;
4365 }
4366 return resultobj;
4367 fail:
4368 {
4369 if (temp6)
4370 delete arg6;
4371 }
4372 return NULL;
4373}
4374
4375
4376static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4377 PyObject *resultobj;
4378 wxStaticLine *result;
4379 char *kwnames[] = {
4380 NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4384 {
4385 PyThreadState* __tstate = wxPyBeginAllowThreads();
4386 result = (wxStaticLine *)new wxStaticLine();
4387
4388 wxPyEndAllowThreads(__tstate);
4389 if (PyErr_Occurred()) SWIG_fail;
4390 }
15afbcd0 4391 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
d14a1e28
RD
4392 return resultobj;
4393 fail:
4394 return NULL;
4395}
4396
4397
4398static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4399 PyObject *resultobj;
4400 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4401 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4402 int arg3 ;
d14a1e28
RD
4403 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4404 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4405 wxSize const &arg5_defvalue = wxDefaultSize ;
4406 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4407 long arg6 = (long) wxLI_HORIZONTAL ;
4408 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4409 wxString *arg7 = (wxString *) &arg7_defvalue ;
4410 bool result;
4411 wxPoint temp4 ;
4412 wxSize temp5 ;
e811c8ce 4413 bool temp7 = False ;
d14a1e28
RD
4414 PyObject * obj0 = 0 ;
4415 PyObject * obj1 = 0 ;
994141e6 4416 PyObject * obj2 = 0 ;
d14a1e28
RD
4417 PyObject * obj3 = 0 ;
4418 PyObject * obj4 = 0 ;
994141e6 4419 PyObject * obj5 = 0 ;
d14a1e28
RD
4420 PyObject * obj6 = 0 ;
4421 char *kwnames[] = {
4422 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4423 };
4424
994141e6 4425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4428 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4430 arg3 = (int) SWIG_AsInt(obj2);
4431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4432 if (obj3) {
4433 {
4434 arg4 = &temp4;
4435 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4436 }
4437 }
4438 if (obj4) {
4439 {
4440 arg5 = &temp5;
4441 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4442 }
4443 }
994141e6 4444 if (obj5) {
15afbcd0
RD
4445 arg6 = (long) SWIG_AsLong(obj5);
4446 if (PyErr_Occurred()) SWIG_fail;
994141e6 4447 }
d14a1e28
RD
4448 if (obj6) {
4449 {
4450 arg7 = wxString_in_helper(obj6);
4451 if (arg7 == NULL) SWIG_fail;
e811c8ce 4452 temp7 = True;
d14a1e28
RD
4453 }
4454 }
4455 {
4456 PyThreadState* __tstate = wxPyBeginAllowThreads();
4457 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4458
4459 wxPyEndAllowThreads(__tstate);
4460 if (PyErr_Occurred()) SWIG_fail;
4461 }
4f89f6a3
RD
4462 {
4463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4464 }
d14a1e28
RD
4465 {
4466 if (temp7)
4467 delete arg7;
4468 }
4469 return resultobj;
4470 fail:
4471 {
4472 if (temp7)
4473 delete arg7;
4474 }
4475 return NULL;
4476}
4477
4478
4479static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj;
4481 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4482 bool result;
4483 PyObject * obj0 = 0 ;
4484 char *kwnames[] = {
4485 (char *) "self", NULL
4486 };
4487
4488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
4489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4491 {
4492 PyThreadState* __tstate = wxPyBeginAllowThreads();
4493 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4494
4495 wxPyEndAllowThreads(__tstate);
4496 if (PyErr_Occurred()) SWIG_fail;
4497 }
4f89f6a3
RD
4498 {
4499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4500 }
d14a1e28
RD
4501 return resultobj;
4502 fail:
4503 return NULL;
4504}
4505
4506
4507static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4508 PyObject *resultobj;
4509 int result;
4510 char *kwnames[] = {
4511 NULL
4512 };
4513
4514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4515 {
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 result = (int)wxStaticLine::GetDefaultSize();
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 }
15afbcd0 4522 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4523 return resultobj;
4524 fail:
4525 return NULL;
4526}
4527
4528
4529static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4530 PyObject *obj;
4531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4532 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4533 Py_INCREF(obj);
4534 return Py_BuildValue((char *)"");
4535}
4536static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4537 PyObject *resultobj;
4538 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4539 int arg2 ;
d14a1e28
RD
4540 wxString *arg3 = 0 ;
4541 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4542 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4543 wxSize const &arg5_defvalue = wxDefaultSize ;
4544 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4545 long arg6 = (long) 0 ;
4546 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4547 wxString *arg7 = (wxString *) &arg7_defvalue ;
4548 wxStaticText *result;
e811c8ce 4549 bool temp3 = False ;
d14a1e28
RD
4550 wxPoint temp4 ;
4551 wxSize temp5 ;
e811c8ce 4552 bool temp7 = False ;
d14a1e28 4553 PyObject * obj0 = 0 ;
994141e6 4554 PyObject * obj1 = 0 ;
d14a1e28
RD
4555 PyObject * obj2 = 0 ;
4556 PyObject * obj3 = 0 ;
4557 PyObject * obj4 = 0 ;
994141e6 4558 PyObject * obj5 = 0 ;
d14a1e28
RD
4559 PyObject * obj6 = 0 ;
4560 char *kwnames[] = {
4561 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4562 };
4563
994141e6 4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4567 arg2 = (int) SWIG_AsInt(obj1);
4568 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4569 {
4570 arg3 = wxString_in_helper(obj2);
4571 if (arg3 == NULL) SWIG_fail;
e811c8ce 4572 temp3 = True;
d14a1e28
RD
4573 }
4574 if (obj3) {
4575 {
4576 arg4 = &temp4;
4577 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4578 }
4579 }
4580 if (obj4) {
4581 {
4582 arg5 = &temp5;
4583 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4584 }
4585 }
994141e6 4586 if (obj5) {
15afbcd0
RD
4587 arg6 = (long) SWIG_AsLong(obj5);
4588 if (PyErr_Occurred()) SWIG_fail;
994141e6 4589 }
d14a1e28
RD
4590 if (obj6) {
4591 {
4592 arg7 = wxString_in_helper(obj6);
4593 if (arg7 == NULL) SWIG_fail;
e811c8ce 4594 temp7 = True;
d14a1e28
RD
4595 }
4596 }
4597 {
4598 PyThreadState* __tstate = wxPyBeginAllowThreads();
4599 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4600
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
15afbcd0 4604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
4605 {
4606 if (temp3)
4607 delete arg3;
4608 }
4609 {
4610 if (temp7)
4611 delete arg7;
4612 }
4613 return resultobj;
4614 fail:
4615 {
4616 if (temp3)
4617 delete arg3;
4618 }
4619 {
4620 if (temp7)
4621 delete arg7;
4622 }
4623 return NULL;
4624}
4625
4626
4627static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4628 PyObject *resultobj;
4629 wxStaticText *result;
4630 char *kwnames[] = {
4631 NULL
4632 };
4633
4634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4635 {
4636 PyThreadState* __tstate = wxPyBeginAllowThreads();
4637 result = (wxStaticText *)new wxStaticText();
4638
4639 wxPyEndAllowThreads(__tstate);
4640 if (PyErr_Occurred()) SWIG_fail;
4641 }
15afbcd0 4642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
d14a1e28
RD
4643 return resultobj;
4644 fail:
4645 return NULL;
4646}
4647
4648
4649static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject *resultobj;
4651 wxStaticText *arg1 = (wxStaticText *) 0 ;
4652 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4653 int arg3 ;
d14a1e28
RD
4654 wxString *arg4 = 0 ;
4655 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4656 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4657 wxSize const &arg6_defvalue = wxDefaultSize ;
4658 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4659 long arg7 = (long) 0 ;
4660 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4661 wxString *arg8 = (wxString *) &arg8_defvalue ;
4662 bool result;
e811c8ce 4663 bool temp4 = False ;
d14a1e28
RD
4664 wxPoint temp5 ;
4665 wxSize temp6 ;
e811c8ce 4666 bool temp8 = False ;
d14a1e28
RD
4667 PyObject * obj0 = 0 ;
4668 PyObject * obj1 = 0 ;
994141e6 4669 PyObject * obj2 = 0 ;
d14a1e28
RD
4670 PyObject * obj3 = 0 ;
4671 PyObject * obj4 = 0 ;
4672 PyObject * obj5 = 0 ;
994141e6 4673 PyObject * obj6 = 0 ;
d14a1e28
RD
4674 PyObject * obj7 = 0 ;
4675 char *kwnames[] = {
4676 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4677 };
4678
994141e6 4679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
4681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4684 arg3 = (int) SWIG_AsInt(obj2);
4685 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4686 {
4687 arg4 = wxString_in_helper(obj3);
4688 if (arg4 == NULL) SWIG_fail;
e811c8ce 4689 temp4 = True;
d14a1e28
RD
4690 }
4691 if (obj4) {
4692 {
4693 arg5 = &temp5;
4694 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4695 }
4696 }
4697 if (obj5) {
4698 {
4699 arg6 = &temp6;
4700 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4701 }
4702 }
994141e6 4703 if (obj6) {
15afbcd0
RD
4704 arg7 = (long) SWIG_AsLong(obj6);
4705 if (PyErr_Occurred()) SWIG_fail;
994141e6 4706 }
d14a1e28
RD
4707 if (obj7) {
4708 {
4709 arg8 = wxString_in_helper(obj7);
4710 if (arg8 == NULL) SWIG_fail;
e811c8ce 4711 temp8 = True;
d14a1e28
RD
4712 }
4713 }
4714 {
4715 PyThreadState* __tstate = wxPyBeginAllowThreads();
4716 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4717
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4f89f6a3
RD
4721 {
4722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4723 }
d14a1e28
RD
4724 {
4725 if (temp4)
4726 delete arg4;
4727 }
4728 {
4729 if (temp8)
4730 delete arg8;
4731 }
4732 return resultobj;
4733 fail:
4734 {
4735 if (temp4)
4736 delete arg4;
4737 }
4738 {
4739 if (temp8)
4740 delete arg8;
4741 }
4742 return NULL;
4743}
4744
4745
4746static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4747 PyObject *obj;
4748 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4749 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4750 Py_INCREF(obj);
4751 return Py_BuildValue((char *)"");
4752}
4753static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4754 PyObject *resultobj;
4755 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4756 int arg2 ;
d14a1e28
RD
4757 wxBitmap *arg3 = 0 ;
4758 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4759 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4760 wxSize const &arg5_defvalue = wxDefaultSize ;
4761 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4762 long arg6 = (long) 0 ;
4763 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4764 wxString *arg7 = (wxString *) &arg7_defvalue ;
4765 wxStaticBitmap *result;
4766 wxPoint temp4 ;
4767 wxSize temp5 ;
e811c8ce 4768 bool temp7 = False ;
d14a1e28 4769 PyObject * obj0 = 0 ;
994141e6 4770 PyObject * obj1 = 0 ;
d14a1e28
RD
4771 PyObject * obj2 = 0 ;
4772 PyObject * obj3 = 0 ;
4773 PyObject * obj4 = 0 ;
994141e6 4774 PyObject * obj5 = 0 ;
d14a1e28
RD
4775 PyObject * obj6 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4778 };
4779
994141e6 4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
4781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4783 arg2 = (int) SWIG_AsInt(obj1);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
4786 SWIG_POINTER_EXCEPTION | 0)) == -1)
4787 SWIG_fail;
d14a1e28 4788 if (arg3 == NULL) {
15afbcd0
RD
4789 PyErr_SetString(PyExc_TypeError,"null reference");
4790 SWIG_fail;
d14a1e28
RD
4791 }
4792 if (obj3) {
4793 {
4794 arg4 = &temp4;
4795 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4796 }
4797 }
4798 if (obj4) {
4799 {
4800 arg5 = &temp5;
4801 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4802 }
4803 }
994141e6 4804 if (obj5) {
15afbcd0
RD
4805 arg6 = (long) SWIG_AsLong(obj5);
4806 if (PyErr_Occurred()) SWIG_fail;
994141e6 4807 }
d14a1e28
RD
4808 if (obj6) {
4809 {
4810 arg7 = wxString_in_helper(obj6);
4811 if (arg7 == NULL) SWIG_fail;
e811c8ce 4812 temp7 = True;
d14a1e28
RD
4813 }
4814 }
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
15afbcd0 4822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
4823 {
4824 if (temp7)
4825 delete arg7;
4826 }
4827 return resultobj;
4828 fail:
4829 {
4830 if (temp7)
4831 delete arg7;
4832 }
4833 return NULL;
4834}
4835
4836
4837static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4838 PyObject *resultobj;
4839 wxStaticBitmap *result;
4840 char *kwnames[] = {
4841 NULL
4842 };
4843
4844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4845 {
4846 PyThreadState* __tstate = wxPyBeginAllowThreads();
4847 result = (wxStaticBitmap *)new wxStaticBitmap();
4848
4849 wxPyEndAllowThreads(__tstate);
4850 if (PyErr_Occurred()) SWIG_fail;
4851 }
15afbcd0 4852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
d14a1e28
RD
4853 return resultobj;
4854 fail:
4855 return NULL;
4856}
4857
4858
4859static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4860 PyObject *resultobj;
4861 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4862 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4863 int arg3 ;
d14a1e28
RD
4864 wxBitmap *arg4 = 0 ;
4865 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4866 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4867 wxSize const &arg6_defvalue = wxDefaultSize ;
4868 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4869 long arg7 = (long) 0 ;
4870 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4871 wxString *arg8 = (wxString *) &arg8_defvalue ;
4872 bool result;
4873 wxPoint temp5 ;
4874 wxSize temp6 ;
e811c8ce 4875 bool temp8 = False ;
d14a1e28
RD
4876 PyObject * obj0 = 0 ;
4877 PyObject * obj1 = 0 ;
994141e6 4878 PyObject * obj2 = 0 ;
d14a1e28
RD
4879 PyObject * obj3 = 0 ;
4880 PyObject * obj4 = 0 ;
4881 PyObject * obj5 = 0 ;
994141e6 4882 PyObject * obj6 = 0 ;
d14a1e28
RD
4883 PyObject * obj7 = 0 ;
4884 char *kwnames[] = {
4885 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4886 };
4887
994141e6 4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
4889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4893 arg3 = (int) SWIG_AsInt(obj2);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
4896 SWIG_POINTER_EXCEPTION | 0)) == -1)
4897 SWIG_fail;
d14a1e28 4898 if (arg4 == NULL) {
15afbcd0
RD
4899 PyErr_SetString(PyExc_TypeError,"null reference");
4900 SWIG_fail;
d14a1e28
RD
4901 }
4902 if (obj4) {
4903 {
4904 arg5 = &temp5;
4905 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4906 }
4907 }
4908 if (obj5) {
4909 {
4910 arg6 = &temp6;
4911 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4912 }
4913 }
994141e6 4914 if (obj6) {
15afbcd0
RD
4915 arg7 = (long) SWIG_AsLong(obj6);
4916 if (PyErr_Occurred()) SWIG_fail;
994141e6 4917 }
d14a1e28
RD
4918 if (obj7) {
4919 {
4920 arg8 = wxString_in_helper(obj7);
4921 if (arg8 == NULL) SWIG_fail;
e811c8ce 4922 temp8 = True;
d14a1e28
RD
4923 }
4924 }
4925 {
4926 PyThreadState* __tstate = wxPyBeginAllowThreads();
4927 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4928
4929 wxPyEndAllowThreads(__tstate);
4930 if (PyErr_Occurred()) SWIG_fail;
4931 }
4f89f6a3
RD
4932 {
4933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4934 }
d14a1e28
RD
4935 {
4936 if (temp8)
4937 delete arg8;
4938 }
4939 return resultobj;
4940 fail:
4941 {
4942 if (temp8)
4943 delete arg8;
4944 }
4945 return NULL;
4946}
4947
4948
4949static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4950 PyObject *resultobj;
4951 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4952 wxBitmap result;
4953 PyObject * obj0 = 0 ;
4954 char *kwnames[] = {
4955 (char *) "self", NULL
4956 };
4957
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
4959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4961 {
4962 PyThreadState* __tstate = wxPyBeginAllowThreads();
4963 result = (arg1)->GetBitmap();
4964
4965 wxPyEndAllowThreads(__tstate);
4966 if (PyErr_Occurred()) SWIG_fail;
4967 }
4968 {
4969 wxBitmap * resultptr;
4970 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 4971 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
4972 }
4973 return resultobj;
4974 fail:
4975 return NULL;
4976}
4977
4978
4979static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4980 PyObject *resultobj;
4981 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4982 wxBitmap *arg2 = 0 ;
4983 PyObject * obj0 = 0 ;
4984 PyObject * obj1 = 0 ;
4985 char *kwnames[] = {
4986 (char *) "self",(char *) "bitmap", NULL
4987 };
4988
4989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
4991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4992 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
4993 SWIG_POINTER_EXCEPTION | 0)) == -1)
4994 SWIG_fail;
d14a1e28 4995 if (arg2 == NULL) {
15afbcd0
RD
4996 PyErr_SetString(PyExc_TypeError,"null reference");
4997 SWIG_fail;
d14a1e28
RD
4998 }
4999 {
5000 PyThreadState* __tstate = wxPyBeginAllowThreads();
5001 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5002
5003 wxPyEndAllowThreads(__tstate);
5004 if (PyErr_Occurred()) SWIG_fail;
5005 }
5006 Py_INCREF(Py_None); resultobj = Py_None;
5007 return resultobj;
5008 fail:
5009 return NULL;
5010}
5011
5012
5013static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5014 PyObject *resultobj;
5015 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5016 wxIcon *arg2 = 0 ;
5017 PyObject * obj0 = 0 ;
5018 PyObject * obj1 = 0 ;
5019 char *kwnames[] = {
5020 (char *) "self",(char *) "icon", NULL
5021 };
5022
5023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5026 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5027 SWIG_POINTER_EXCEPTION | 0)) == -1)
5028 SWIG_fail;
d14a1e28 5029 if (arg2 == NULL) {
15afbcd0
RD
5030 PyErr_SetString(PyExc_TypeError,"null reference");
5031 SWIG_fail;
d14a1e28
RD
5032 }
5033 {
5034 PyThreadState* __tstate = wxPyBeginAllowThreads();
5035 (arg1)->SetIcon((wxIcon const &)*arg2);
5036
5037 wxPyEndAllowThreads(__tstate);
5038 if (PyErr_Occurred()) SWIG_fail;
5039 }
5040 Py_INCREF(Py_None); resultobj = Py_None;
5041 return resultobj;
5042 fail:
5043 return NULL;
5044}
5045
5046
5047static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5048 PyObject *obj;
5049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5050 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5051 Py_INCREF(obj);
5052 return Py_BuildValue((char *)"");
5053}
b2dc1044
RD
5054static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5055 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5056 return 1;
5057}
5058
5059
5060static PyObject *_wrap_ListBoxNameStr_get() {
5061 PyObject *pyobj;
5062
5063 {
5064#if wxUSE_UNICODE
5065 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5066#else
5067 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5068#endif
5069 }
5070 return pyobj;
5071}
5072
5073
d14a1e28
RD
5074static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5075 PyObject *resultobj;
5076 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 5077 int arg2 ;
d14a1e28
RD
5078 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5079 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5080 wxSize const &arg4_defvalue = wxDefaultSize ;
5081 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
5082 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5083 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5084 long arg6 = (long) 0 ;
5085 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5086 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5087 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5088 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
5089 wxListBox *result;
5090 wxPoint temp3 ;
5091 wxSize temp4 ;
3adfb63b 5092 bool temp5 = False ;
e811c8ce 5093 bool temp8 = False ;
d14a1e28 5094 PyObject * obj0 = 0 ;
994141e6 5095 PyObject * obj1 = 0 ;
d14a1e28
RD
5096 PyObject * obj2 = 0 ;
5097 PyObject * obj3 = 0 ;
5098 PyObject * obj4 = 0 ;
994141e6 5099 PyObject * obj5 = 0 ;
d14a1e28
RD
5100 PyObject * obj6 = 0 ;
5101 PyObject * obj7 = 0 ;
5102 char *kwnames[] = {
5103 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5104 };
5105
994141e6 5106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
5107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5109 arg2 = (int) SWIG_AsInt(obj1);
5110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5111 if (obj2) {
5112 {
5113 arg3 = &temp3;
5114 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5115 }
5116 }
5117 if (obj3) {
5118 {
5119 arg4 = &temp4;
5120 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5121 }
5122 }
5123 if (obj4) {
5124 {
4d5c3d91
RD
5125 if (! PySequence_Check(obj4)) {
5126 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5127 SWIG_fail;
5128 }
5129 arg5 = new wxArrayString;
3adfb63b 5130 temp5 = True;
4d5c3d91
RD
5131 int i, len=PySequence_Length(obj4);
5132 for (i=0; i<len; i++) {
5133 PyObject* item = PySequence_GetItem(obj4, i);
5134#if wxUSE_UNICODE
5135 PyObject* str = PyObject_Unicode(item);
5136#else
5137 PyObject* str = PyObject_Str(item);
5138#endif
74a57fcd 5139 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
5140 arg5->Add(Py2wxString(str));
5141 Py_DECREF(item);
5142 Py_DECREF(str);
5143 }
d14a1e28
RD
5144 }
5145 }
994141e6 5146 if (obj5) {
15afbcd0
RD
5147 arg6 = (long) SWIG_AsLong(obj5);
5148 if (PyErr_Occurred()) SWIG_fail;
994141e6 5149 }
d14a1e28 5150 if (obj6) {
15afbcd0
RD
5151 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5152 SWIG_POINTER_EXCEPTION | 0)) == -1)
5153 SWIG_fail;
4d5c3d91 5154 if (arg7 == NULL) {
15afbcd0
RD
5155 PyErr_SetString(PyExc_TypeError,"null reference");
5156 SWIG_fail;
d14a1e28
RD
5157 }
5158 }
5159 if (obj7) {
5160 {
4d5c3d91
RD
5161 arg8 = wxString_in_helper(obj7);
5162 if (arg8 == NULL) SWIG_fail;
e811c8ce 5163 temp8 = True;
d14a1e28
RD
5164 }
5165 }
5166 {
5167 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 5168 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
5169
5170 wxPyEndAllowThreads(__tstate);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
15afbcd0 5173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28 5174 {
3adfb63b 5175 if (temp5) delete arg5;
d14a1e28
RD
5176 }
5177 {
5178 if (temp8)
4d5c3d91 5179 delete arg8;
d14a1e28
RD
5180 }
5181 return resultobj;
5182 fail:
5183 {
3adfb63b 5184 if (temp5) delete arg5;
d14a1e28
RD
5185 }
5186 {
5187 if (temp8)
4d5c3d91 5188 delete arg8;
d14a1e28
RD
5189 }
5190 return NULL;
5191}
5192
5193
5194static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5195 PyObject *resultobj;
5196 wxListBox *result;
5197 char *kwnames[] = {
5198 NULL
5199 };
5200
5201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 result = (wxListBox *)new wxListBox();
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
15afbcd0 5209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
d14a1e28
RD
5210 return resultobj;
5211 fail:
5212 return NULL;
5213}
5214
5215
5216static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5217 PyObject *resultobj;
5218 wxListBox *arg1 = (wxListBox *) 0 ;
5219 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 5220 int arg3 ;
d14a1e28
RD
5221 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5222 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5223 wxSize const &arg5_defvalue = wxDefaultSize ;
5224 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
5225 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5226 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5227 long arg7 = (long) 0 ;
5228 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5229 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5230 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5231 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
5232 bool result;
5233 wxPoint temp4 ;
5234 wxSize temp5 ;
3adfb63b 5235 bool temp6 = False ;
e811c8ce 5236 bool temp9 = False ;
d14a1e28
RD
5237 PyObject * obj0 = 0 ;
5238 PyObject * obj1 = 0 ;
994141e6 5239 PyObject * obj2 = 0 ;
d14a1e28
RD
5240 PyObject * obj3 = 0 ;
5241 PyObject * obj4 = 0 ;
5242 PyObject * obj5 = 0 ;
994141e6 5243 PyObject * obj6 = 0 ;
d14a1e28
RD
5244 PyObject * obj7 = 0 ;
5245 PyObject * obj8 = 0 ;
5246 char *kwnames[] = {
5247 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5248 };
5249
994141e6 5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
5251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5255 arg3 = (int) SWIG_AsInt(obj2);
5256 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5257 if (obj3) {
5258 {
5259 arg4 = &temp4;
5260 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5261 }
5262 }
5263 if (obj4) {
5264 {
5265 arg5 = &temp5;
5266 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5267 }
5268 }
5269 if (obj5) {
5270 {
4d5c3d91
RD
5271 if (! PySequence_Check(obj5)) {
5272 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5273 SWIG_fail;
5274 }
5275 arg6 = new wxArrayString;
3adfb63b 5276 temp6 = True;
4d5c3d91
RD
5277 int i, len=PySequence_Length(obj5);
5278 for (i=0; i<len; i++) {
5279 PyObject* item = PySequence_GetItem(obj5, i);
5280#if wxUSE_UNICODE
5281 PyObject* str = PyObject_Unicode(item);
5282#else
5283 PyObject* str = PyObject_Str(item);
5284#endif
74a57fcd 5285 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
5286 arg6->Add(Py2wxString(str));
5287 Py_DECREF(item);
5288 Py_DECREF(str);
5289 }
d14a1e28
RD
5290 }
5291 }
994141e6 5292 if (obj6) {
15afbcd0
RD
5293 arg7 = (long) SWIG_AsLong(obj6);
5294 if (PyErr_Occurred()) SWIG_fail;
994141e6 5295 }
d14a1e28 5296 if (obj7) {
15afbcd0
RD
5297 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5298 SWIG_POINTER_EXCEPTION | 0)) == -1)
5299 SWIG_fail;
4d5c3d91 5300 if (arg8 == NULL) {
15afbcd0
RD
5301 PyErr_SetString(PyExc_TypeError,"null reference");
5302 SWIG_fail;
d14a1e28
RD
5303 }
5304 }
5305 if (obj8) {
5306 {
4d5c3d91
RD
5307 arg9 = wxString_in_helper(obj8);
5308 if (arg9 == NULL) SWIG_fail;
e811c8ce 5309 temp9 = True;
d14a1e28
RD
5310 }
5311 }
5312 {
5313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 5314 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
5315
5316 wxPyEndAllowThreads(__tstate);
5317 if (PyErr_Occurred()) SWIG_fail;
5318 }
4f89f6a3
RD
5319 {
5320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5321 }
d14a1e28 5322 {
3adfb63b 5323 if (temp6) delete arg6;
d14a1e28
RD
5324 }
5325 {
5326 if (temp9)
4d5c3d91 5327 delete arg9;
d14a1e28
RD
5328 }
5329 return resultobj;
5330 fail:
5331 {
3adfb63b 5332 if (temp6) delete arg6;
d14a1e28
RD
5333 }
5334 {
5335 if (temp9)
4d5c3d91 5336 delete arg9;
d14a1e28
RD
5337 }
5338 return NULL;
5339}
5340
5341
5342static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject *resultobj;
5344 wxListBox *arg1 = (wxListBox *) 0 ;
5345 wxString *arg2 = 0 ;
5346 int arg3 ;
5347 PyObject *arg4 = (PyObject *) NULL ;
e811c8ce 5348 bool temp2 = False ;
d14a1e28
RD
5349 PyObject * obj0 = 0 ;
5350 PyObject * obj1 = 0 ;
994141e6 5351 PyObject * obj2 = 0 ;
d14a1e28
RD
5352 PyObject * obj3 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5355 };
5356
994141e6 5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
5358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5360 {
5361 arg2 = wxString_in_helper(obj1);
5362 if (arg2 == NULL) SWIG_fail;
e811c8ce 5363 temp2 = True;
d14a1e28 5364 }
15afbcd0
RD
5365 arg3 = (int) SWIG_AsInt(obj2);
5366 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5367 if (obj3) {
5368 arg4 = obj3;
5369 }
5370 {
5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
5372 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5373
5374 wxPyEndAllowThreads(__tstate);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 Py_INCREF(Py_None); resultobj = Py_None;
5378 {
5379 if (temp2)
5380 delete arg2;
5381 }
5382 return resultobj;
5383 fail:
5384 {
5385 if (temp2)
5386 delete arg2;
5387 }
5388 return NULL;
5389}
5390
5391
5392static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5393 PyObject *resultobj;
5394 wxListBox *arg1 = (wxListBox *) 0 ;
5395 wxArrayString *arg2 = 0 ;
5396 int arg3 ;
3adfb63b 5397 bool temp2 = False ;
d14a1e28
RD
5398 PyObject * obj0 = 0 ;
5399 PyObject * obj1 = 0 ;
994141e6 5400 PyObject * obj2 = 0 ;
d14a1e28
RD
5401 char *kwnames[] = {
5402 (char *) "self",(char *) "items",(char *) "pos", NULL
5403 };
5404
994141e6 5405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5408 {
5409 if (! PySequence_Check(obj1)) {
5410 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5411 SWIG_fail;
5412 }
5413 arg2 = new wxArrayString;
3adfb63b 5414 temp2 = True;
d14a1e28
RD
5415 int i, len=PySequence_Length(obj1);
5416 for (i=0; i<len; i++) {
5417 PyObject* item = PySequence_GetItem(obj1, i);
5418#if wxUSE_UNICODE
5419 PyObject* str = PyObject_Unicode(item);
5420#else
5421 PyObject* str = PyObject_Str(item);
5422#endif
74a57fcd 5423 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5424 arg2->Add(Py2wxString(str));
5425 Py_DECREF(item);
5426 Py_DECREF(str);
5427 }
5428 }
15afbcd0
RD
5429 arg3 = (int) SWIG_AsInt(obj2);
5430 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5431 {
5432 PyThreadState* __tstate = wxPyBeginAllowThreads();
5433 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5434
5435 wxPyEndAllowThreads(__tstate);
5436 if (PyErr_Occurred()) SWIG_fail;
5437 }
5438 Py_INCREF(Py_None); resultobj = Py_None;
5439 {
3adfb63b 5440 if (temp2) delete arg2;
d14a1e28
RD
5441 }
5442 return resultobj;
5443 fail:
5444 {
3adfb63b 5445 if (temp2) delete arg2;
d14a1e28
RD
5446 }
5447 return NULL;
5448}
5449
5450
5451static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5452 PyObject *resultobj;
5453 wxListBox *arg1 = (wxListBox *) 0 ;
5454 wxArrayString *arg2 = 0 ;
3adfb63b 5455 bool temp2 = False ;
d14a1e28
RD
5456 PyObject * obj0 = 0 ;
5457 PyObject * obj1 = 0 ;
5458 char *kwnames[] = {
5459 (char *) "self",(char *) "items", NULL
5460 };
5461
5462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5465 {
5466 if (! PySequence_Check(obj1)) {
5467 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5468 SWIG_fail;
5469 }
5470 arg2 = new wxArrayString;
3adfb63b 5471 temp2 = True;
d14a1e28
RD
5472 int i, len=PySequence_Length(obj1);
5473 for (i=0; i<len; i++) {
5474 PyObject* item = PySequence_GetItem(obj1, i);
5475#if wxUSE_UNICODE
5476 PyObject* str = PyObject_Unicode(item);
5477#else
5478 PyObject* str = PyObject_Str(item);
5479#endif
74a57fcd 5480 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5481 arg2->Add(Py2wxString(str));
5482 Py_DECREF(item);
5483 Py_DECREF(str);
5484 }
5485 }
5486 {
5487 PyThreadState* __tstate = wxPyBeginAllowThreads();
5488 (arg1)->Set((wxArrayString const &)*arg2);
5489
5490 wxPyEndAllowThreads(__tstate);
5491 if (PyErr_Occurred()) SWIG_fail;
5492 }
5493 Py_INCREF(Py_None); resultobj = Py_None;
5494 {
3adfb63b 5495 if (temp2) delete arg2;
d14a1e28
RD
5496 }
5497 return resultobj;
5498 fail:
5499 {
3adfb63b 5500 if (temp2) delete arg2;
d14a1e28
RD
5501 }
5502 return NULL;
5503}
5504
5505
5506static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5507 PyObject *resultobj;
5508 wxListBox *arg1 = (wxListBox *) 0 ;
5509 int arg2 ;
5510 bool result;
5511 PyObject * obj0 = 0 ;
994141e6 5512 PyObject * obj1 = 0 ;
d14a1e28
RD
5513 char *kwnames[] = {
5514 (char *) "self",(char *) "n", NULL
5515 };
5516
994141e6 5517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5520 arg2 = (int) SWIG_AsInt(obj1);
5521 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5522 {
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5525
5526 wxPyEndAllowThreads(__tstate);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 }
4f89f6a3
RD
5529 {
5530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5531 }
d14a1e28
RD
5532 return resultobj;
5533 fail:
5534 return NULL;
5535}
5536
5537
5538static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5539 PyObject *resultobj;
5540 wxListBox *arg1 = (wxListBox *) 0 ;
5541 int arg2 ;
e811c8ce 5542 bool arg3 = (bool) True ;
d14a1e28 5543 PyObject * obj0 = 0 ;
994141e6 5544 PyObject * obj1 = 0 ;
d14a1e28
RD
5545 PyObject * obj2 = 0 ;
5546 char *kwnames[] = {
5547 (char *) "self",(char *) "n",(char *) "select", NULL
5548 };
5549
994141e6 5550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5553 arg2 = (int) SWIG_AsInt(obj1);
5554 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 5555 if (obj2) {
15afbcd0
RD
5556 arg3 = (bool) SWIG_AsBool(obj2);
5557 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5558 }
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 (arg1)->SetSelection(arg2,arg3);
5562
5563 wxPyEndAllowThreads(__tstate);
5564 if (PyErr_Occurred()) SWIG_fail;
5565 }
5566 Py_INCREF(Py_None); resultobj = Py_None;
5567 return resultobj;
5568 fail:
5569 return NULL;
5570}
5571
5572
5573static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5574 PyObject *resultobj;
5575 wxListBox *arg1 = (wxListBox *) 0 ;
5576 int arg2 ;
5577 PyObject * obj0 = 0 ;
994141e6 5578 PyObject * obj1 = 0 ;
d14a1e28
RD
5579 char *kwnames[] = {
5580 (char *) "self",(char *) "n", NULL
5581 };
5582
994141e6 5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5586 arg2 = (int) SWIG_AsInt(obj1);
5587 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 (arg1)->Select(arg2);
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 Py_INCREF(Py_None); resultobj = Py_None;
5596 return resultobj;
5597 fail:
5598 return NULL;
5599}
5600
5601
5602static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj;
5604 wxListBox *arg1 = (wxListBox *) 0 ;
5605 int arg2 ;
5606 PyObject * obj0 = 0 ;
994141e6 5607 PyObject * obj1 = 0 ;
d14a1e28
RD
5608 char *kwnames[] = {
5609 (char *) "self",(char *) "n", NULL
5610 };
5611
994141e6 5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5615 arg2 = (int) SWIG_AsInt(obj1);
5616 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5617 {
5618 PyThreadState* __tstate = wxPyBeginAllowThreads();
5619 (arg1)->Deselect(arg2);
5620
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) SWIG_fail;
5623 }
5624 Py_INCREF(Py_None); resultobj = Py_None;
5625 return resultobj;
5626 fail:
5627 return NULL;
5628}
5629
5630
5631static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5632 PyObject *resultobj;
5633 wxListBox *arg1 = (wxListBox *) 0 ;
5634 int arg2 = (int) -1 ;
5635 PyObject * obj0 = 0 ;
994141e6 5636 PyObject * obj1 = 0 ;
d14a1e28
RD
5637 char *kwnames[] = {
5638 (char *) "self",(char *) "itemToLeaveSelected", NULL
5639 };
5640
994141e6 5641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5644 if (obj1) {
15afbcd0
RD
5645 arg2 = (int) SWIG_AsInt(obj1);
5646 if (PyErr_Occurred()) SWIG_fail;
994141e6 5647 }
d14a1e28
RD
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 (arg1)->DeselectAll(arg2);
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 Py_INCREF(Py_None); resultobj = Py_None;
5656 return resultobj;
5657 fail:
5658 return NULL;
5659}
5660
5661
5662static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj;
5664 wxListBox *arg1 = (wxListBox *) 0 ;
5665 wxString *arg2 = 0 ;
e811c8ce 5666 bool arg3 = (bool) True ;
d14a1e28 5667 bool result;
e811c8ce 5668 bool temp2 = False ;
d14a1e28
RD
5669 PyObject * obj0 = 0 ;
5670 PyObject * obj1 = 0 ;
5671 PyObject * obj2 = 0 ;
5672 char *kwnames[] = {
5673 (char *) "self",(char *) "s",(char *) "select", NULL
5674 };
5675
5676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5679 {
5680 arg2 = wxString_in_helper(obj1);
5681 if (arg2 == NULL) SWIG_fail;
e811c8ce 5682 temp2 = True;
d14a1e28
RD
5683 }
5684 if (obj2) {
15afbcd0
RD
5685 arg3 = (bool) SWIG_AsBool(obj2);
5686 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5687 }
5688 {
5689 PyThreadState* __tstate = wxPyBeginAllowThreads();
5690 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5691
5692 wxPyEndAllowThreads(__tstate);
5693 if (PyErr_Occurred()) SWIG_fail;
5694 }
4f89f6a3
RD
5695 {
5696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5697 }
d14a1e28
RD
5698 {
5699 if (temp2)
5700 delete arg2;
5701 }
5702 return resultobj;
5703 fail:
5704 {
5705 if (temp2)
5706 delete arg2;
5707 }
5708 return NULL;
5709}
5710
5711
5712static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5713 PyObject *resultobj;
5714 wxListBox *arg1 = (wxListBox *) 0 ;
5715 PyObject *result;
5716 PyObject * obj0 = 0 ;
5717 char *kwnames[] = {
5718 (char *) "self", NULL
5719 };
5720
5721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
5722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5724 {
5725 PyThreadState* __tstate = wxPyBeginAllowThreads();
5726 result = (PyObject *)wxListBox_GetSelections(arg1);
5727
5728 wxPyEndAllowThreads(__tstate);
5729 if (PyErr_Occurred()) SWIG_fail;
5730 }
5731 resultobj = result;
5732 return resultobj;
5733 fail:
5734 return NULL;
5735}
5736
5737
5738static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5739 PyObject *resultobj;
5740 wxListBox *arg1 = (wxListBox *) 0 ;
5741 int arg2 ;
5742 PyObject * obj0 = 0 ;
994141e6 5743 PyObject * obj1 = 0 ;
d14a1e28
RD
5744 char *kwnames[] = {
5745 (char *) "self",(char *) "n", NULL
5746 };
5747
994141e6 5748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5751 arg2 = (int) SWIG_AsInt(obj1);
5752 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5753 {
5754 PyThreadState* __tstate = wxPyBeginAllowThreads();
5755 (arg1)->SetFirstItem(arg2);
5756
5757 wxPyEndAllowThreads(__tstate);
5758 if (PyErr_Occurred()) SWIG_fail;
5759 }
5760 Py_INCREF(Py_None); resultobj = Py_None;
5761 return resultobj;
5762 fail:
5763 return NULL;
5764}
5765
5766
5767static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5768 PyObject *resultobj;
5769 wxListBox *arg1 = (wxListBox *) 0 ;
5770 wxString *arg2 = 0 ;
e811c8ce 5771 bool temp2 = False ;
d14a1e28
RD
5772 PyObject * obj0 = 0 ;
5773 PyObject * obj1 = 0 ;
5774 char *kwnames[] = {
5775 (char *) "self",(char *) "s", NULL
5776 };
5777
5778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5781 {
5782 arg2 = wxString_in_helper(obj1);
5783 if (arg2 == NULL) SWIG_fail;
e811c8ce 5784 temp2 = True;
d14a1e28
RD
5785 }
5786 {
5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
5788 (arg1)->SetFirstItem((wxString const &)*arg2);
5789
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
5793 Py_INCREF(Py_None); resultobj = Py_None;
5794 {
5795 if (temp2)
5796 delete arg2;
5797 }
5798 return resultobj;
5799 fail:
5800 {
5801 if (temp2)
5802 delete arg2;
5803 }
5804 return NULL;
5805}
5806
5807
5808static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5809 PyObject *resultobj;
5810 wxListBox *arg1 = (wxListBox *) 0 ;
5811 int arg2 ;
5812 PyObject * obj0 = 0 ;
994141e6 5813 PyObject * obj1 = 0 ;
d14a1e28
RD
5814 char *kwnames[] = {
5815 (char *) "self",(char *) "n", NULL
5816 };
5817
994141e6 5818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5821 arg2 = (int) SWIG_AsInt(obj1);
5822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5823 {
5824 PyThreadState* __tstate = wxPyBeginAllowThreads();
5825 (arg1)->EnsureVisible(arg2);
5826
5827 wxPyEndAllowThreads(__tstate);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 Py_INCREF(Py_None); resultobj = Py_None;
5831 return resultobj;
5832 fail:
5833 return NULL;
5834}
5835
5836
5837static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5838 PyObject *resultobj;
5839 wxListBox *arg1 = (wxListBox *) 0 ;
5840 wxString *arg2 = 0 ;
e811c8ce 5841 bool temp2 = False ;
d14a1e28
RD
5842 PyObject * obj0 = 0 ;
5843 PyObject * obj1 = 0 ;
5844 char *kwnames[] = {
5845 (char *) "self",(char *) "s", NULL
5846 };
5847
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5851 {
5852 arg2 = wxString_in_helper(obj1);
5853 if (arg2 == NULL) SWIG_fail;
e811c8ce 5854 temp2 = True;
d14a1e28
RD
5855 }
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5859
5860 wxPyEndAllowThreads(__tstate);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 }
5863 Py_INCREF(Py_None); resultobj = Py_None;
5864 {
5865 if (temp2)
5866 delete arg2;
5867 }
5868 return resultobj;
5869 fail:
5870 {
5871 if (temp2)
5872 delete arg2;
5873 }
5874 return NULL;
5875}
5876
5877
5878static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj;
5880 wxListBox *arg1 = (wxListBox *) 0 ;
5881 bool result;
5882 PyObject * obj0 = 0 ;
5883 char *kwnames[] = {
5884 (char *) "self", NULL
5885 };
5886
5887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
15afbcd0
RD
5888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5890 {
5891 PyThreadState* __tstate = wxPyBeginAllowThreads();
5892 result = (bool)((wxListBox const *)arg1)->IsSorted();
5893
5894 wxPyEndAllowThreads(__tstate);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
4f89f6a3
RD
5897 {
5898 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5899 }
d14a1e28
RD
5900 return resultobj;
5901 fail:
5902 return NULL;
5903}
5904
5905
c3eb6258
RD
5906static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5907 PyObject *resultobj;
5908 wxListBox *arg1 = (wxListBox *) 0 ;
5909 int arg2 ;
5910 wxColour *arg3 = 0 ;
5911 wxColour temp3 ;
5912 PyObject * obj0 = 0 ;
5913 PyObject * obj1 = 0 ;
5914 PyObject * obj2 = 0 ;
5915 char *kwnames[] = {
5916 (char *) "self",(char *) "item",(char *) "c", NULL
5917 };
5918
5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5922 arg2 = (int) SWIG_AsInt(obj1);
5923 if (PyErr_Occurred()) SWIG_fail;
c3eb6258
RD
5924 {
5925 arg3 = &temp3;
5926 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5927 }
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5931
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 Py_INCREF(Py_None); resultobj = Py_None;
5936 return resultobj;
5937 fail:
5938 return NULL;
5939}
5940
5941
5942static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5943 PyObject *resultobj;
5944 wxListBox *arg1 = (wxListBox *) 0 ;
5945 int arg2 ;
5946 wxColour *arg3 = 0 ;
5947 wxColour temp3 ;
5948 PyObject * obj0 = 0 ;
5949 PyObject * obj1 = 0 ;
5950 PyObject * obj2 = 0 ;
5951 char *kwnames[] = {
5952 (char *) "self",(char *) "item",(char *) "c", NULL
5953 };
5954
5955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5958 arg2 = (int) SWIG_AsInt(obj1);
5959 if (PyErr_Occurred()) SWIG_fail;
c3eb6258
RD
5960 {
5961 arg3 = &temp3;
5962 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5963 }
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5967
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 Py_INCREF(Py_None); resultobj = Py_None;
5972 return resultobj;
5973 fail:
5974 return NULL;
5975}
5976
5977
5978static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5979 PyObject *resultobj;
5980 wxListBox *arg1 = (wxListBox *) 0 ;
5981 int arg2 ;
5982 wxFont *arg3 = 0 ;
5983 PyObject * obj0 = 0 ;
5984 PyObject * obj1 = 0 ;
5985 PyObject * obj2 = 0 ;
5986 char *kwnames[] = {
5987 (char *) "self",(char *) "item",(char *) "f", NULL
5988 };
5989
5990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5993 arg2 = (int) SWIG_AsInt(obj1);
5994 if (PyErr_Occurred()) SWIG_fail;
5995 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
5996 SWIG_POINTER_EXCEPTION | 0)) == -1)
5997 SWIG_fail;
c3eb6258 5998 if (arg3 == NULL) {
15afbcd0
RD
5999 PyErr_SetString(PyExc_TypeError,"null reference");
6000 SWIG_fail;
c3eb6258
RD
6001 }
6002 {
6003 PyThreadState* __tstate = wxPyBeginAllowThreads();
6004 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6005
6006 wxPyEndAllowThreads(__tstate);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 }
6009 Py_INCREF(Py_None); resultobj = Py_None;
6010 return resultobj;
6011 fail:
6012 return NULL;
6013}
6014
6015
74a57fcd
RD
6016static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6017 PyObject *resultobj;
6018 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6019 wxVisualAttributes result;
6020 PyObject * obj0 = 0 ;
6021 char *kwnames[] = {
6022 (char *) "variant", NULL
6023 };
6024
6025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6026 if (obj0) {
6027 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 {
6038 wxVisualAttributes * resultptr;
6039 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6041 }
6042 return resultobj;
6043 fail:
6044 return NULL;
6045}
6046
6047
d14a1e28
RD
6048static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6049 PyObject *obj;
6050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6051 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6052 Py_INCREF(obj);
6053 return Py_BuildValue((char *)"");
6054}
6055static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6056 PyObject *resultobj;
6057 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 6058 int arg2 ;
d14a1e28
RD
6059 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6060 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6061 wxSize const &arg4_defvalue = wxDefaultSize ;
6062 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4d5c3d91
RD
6063 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6064 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6065 long arg6 = (long) 0 ;
6066 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6067 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6068 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6069 wxString *arg8 = (wxString *) &arg8_defvalue ;
d14a1e28
RD
6070 wxCheckListBox *result;
6071 wxPoint temp3 ;
6072 wxSize temp4 ;
3adfb63b 6073 bool temp5 = False ;
e811c8ce 6074 bool temp8 = False ;
d14a1e28 6075 PyObject * obj0 = 0 ;
994141e6 6076 PyObject * obj1 = 0 ;
d14a1e28
RD
6077 PyObject * obj2 = 0 ;
6078 PyObject * obj3 = 0 ;
6079 PyObject * obj4 = 0 ;
994141e6 6080 PyObject * obj5 = 0 ;
d14a1e28
RD
6081 PyObject * obj6 = 0 ;
6082 PyObject * obj7 = 0 ;
6083 char *kwnames[] = {
6084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6085 };
6086
994141e6 6087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
6088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6090 arg2 = (int) SWIG_AsInt(obj1);
6091 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6092 if (obj2) {
6093 {
6094 arg3 = &temp3;
6095 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6096 }
6097 }
6098 if (obj3) {
6099 {
6100 arg4 = &temp4;
6101 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6102 }
6103 }
6104 if (obj4) {
6105 {
4d5c3d91
RD
6106 if (! PySequence_Check(obj4)) {
6107 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6108 SWIG_fail;
6109 }
6110 arg5 = new wxArrayString;
3adfb63b 6111 temp5 = True;
4d5c3d91
RD
6112 int i, len=PySequence_Length(obj4);
6113 for (i=0; i<len; i++) {
6114 PyObject* item = PySequence_GetItem(obj4, i);
6115#if wxUSE_UNICODE
6116 PyObject* str = PyObject_Unicode(item);
6117#else
6118 PyObject* str = PyObject_Str(item);
6119#endif
74a57fcd 6120 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
6121 arg5->Add(Py2wxString(str));
6122 Py_DECREF(item);
6123 Py_DECREF(str);
6124 }
d14a1e28
RD
6125 }
6126 }
994141e6 6127 if (obj5) {
15afbcd0
RD
6128 arg6 = (long) SWIG_AsLong(obj5);
6129 if (PyErr_Occurred()) SWIG_fail;
994141e6 6130 }
d14a1e28 6131 if (obj6) {
15afbcd0
RD
6132 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6133 SWIG_POINTER_EXCEPTION | 0)) == -1)
6134 SWIG_fail;
4d5c3d91 6135 if (arg7 == NULL) {
15afbcd0
RD
6136 PyErr_SetString(PyExc_TypeError,"null reference");
6137 SWIG_fail;
d14a1e28
RD
6138 }
6139 }
6140 if (obj7) {
6141 {
4d5c3d91
RD
6142 arg8 = wxString_in_helper(obj7);
6143 if (arg8 == NULL) SWIG_fail;
e811c8ce 6144 temp8 = True;
d14a1e28
RD
6145 }
6146 }
6147 {
6148 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 6149 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
d14a1e28
RD
6150
6151 wxPyEndAllowThreads(__tstate);
6152 if (PyErr_Occurred()) SWIG_fail;
6153 }
15afbcd0 6154 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28 6155 {
3adfb63b 6156 if (temp5) delete arg5;
d14a1e28
RD
6157 }
6158 {
6159 if (temp8)
4d5c3d91 6160 delete arg8;
d14a1e28
RD
6161 }
6162 return resultobj;
6163 fail:
6164 {
3adfb63b 6165 if (temp5) delete arg5;
d14a1e28
RD
6166 }
6167 {
6168 if (temp8)
4d5c3d91 6169 delete arg8;
d14a1e28
RD
6170 }
6171 return NULL;
6172}
6173
6174
6175static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6176 PyObject *resultobj;
6177 wxCheckListBox *result;
6178 char *kwnames[] = {
6179 NULL
6180 };
6181
6182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 result = (wxCheckListBox *)new wxCheckListBox();
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
15afbcd0 6190 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
d14a1e28
RD
6191 return resultobj;
6192 fail:
6193 return NULL;
6194}
6195
6196
6197static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6198 PyObject *resultobj;
6199 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6200 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 6201 int arg3 ;
d14a1e28
RD
6202 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6203 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6204 wxSize const &arg5_defvalue = wxDefaultSize ;
6205 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
6206 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6207 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6208 long arg7 = (long) 0 ;
6209 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6210 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6211 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6212 wxString *arg9 = (wxString *) &arg9_defvalue ;
d14a1e28
RD
6213 bool result;
6214 wxPoint temp4 ;
6215 wxSize temp5 ;
3adfb63b 6216 bool temp6 = False ;
e811c8ce 6217 bool temp9 = False ;
d14a1e28
RD
6218 PyObject * obj0 = 0 ;
6219 PyObject * obj1 = 0 ;
994141e6 6220 PyObject * obj2 = 0 ;
d14a1e28
RD
6221 PyObject * obj3 = 0 ;
6222 PyObject * obj4 = 0 ;
6223 PyObject * obj5 = 0 ;
994141e6 6224 PyObject * obj6 = 0 ;
d14a1e28
RD
6225 PyObject * obj7 = 0 ;
6226 PyObject * obj8 = 0 ;
6227 char *kwnames[] = {
6228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6229 };
6230
994141e6 6231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
6232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6236 arg3 = (int) SWIG_AsInt(obj2);
6237 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6238 if (obj3) {
6239 {
6240 arg4 = &temp4;
6241 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6242 }
6243 }
6244 if (obj4) {
6245 {
6246 arg5 = &temp5;
6247 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6248 }
6249 }
6250 if (obj5) {
6251 {
4d5c3d91
RD
6252 if (! PySequence_Check(obj5)) {
6253 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6254 SWIG_fail;
6255 }
6256 arg6 = new wxArrayString;
3adfb63b 6257 temp6 = True;
4d5c3d91
RD
6258 int i, len=PySequence_Length(obj5);
6259 for (i=0; i<len; i++) {
6260 PyObject* item = PySequence_GetItem(obj5, i);
6261#if wxUSE_UNICODE
6262 PyObject* str = PyObject_Unicode(item);
6263#else
6264 PyObject* str = PyObject_Str(item);
6265#endif
74a57fcd 6266 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
6267 arg6->Add(Py2wxString(str));
6268 Py_DECREF(item);
6269 Py_DECREF(str);
6270 }
d14a1e28
RD
6271 }
6272 }
994141e6 6273 if (obj6) {
15afbcd0
RD
6274 arg7 = (long) SWIG_AsLong(obj6);
6275 if (PyErr_Occurred()) SWIG_fail;
994141e6 6276 }
d14a1e28 6277 if (obj7) {
15afbcd0
RD
6278 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6279 SWIG_POINTER_EXCEPTION | 0)) == -1)
6280 SWIG_fail;
4d5c3d91 6281 if (arg8 == NULL) {
15afbcd0
RD
6282 PyErr_SetString(PyExc_TypeError,"null reference");
6283 SWIG_fail;
d14a1e28
RD
6284 }
6285 }
6286 if (obj8) {
6287 {
4d5c3d91
RD
6288 arg9 = wxString_in_helper(obj8);
6289 if (arg9 == NULL) SWIG_fail;
e811c8ce 6290 temp9 = True;
d14a1e28
RD
6291 }
6292 }
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 6295 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
d14a1e28
RD
6296
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
4f89f6a3
RD
6300 {
6301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6302 }
d14a1e28 6303 {
3adfb63b 6304 if (temp6) delete arg6;
d14a1e28
RD
6305 }
6306 {
6307 if (temp9)
4d5c3d91 6308 delete arg9;
d14a1e28
RD
6309 }
6310 return resultobj;
6311 fail:
6312 {
3adfb63b 6313 if (temp6) delete arg6;
d14a1e28
RD
6314 }
6315 {
6316 if (temp9)
4d5c3d91 6317 delete arg9;
d14a1e28
RD
6318 }
6319 return NULL;
6320}
6321
6322
6323static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6324 PyObject *resultobj;
6325 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6326 int arg2 ;
6327 bool result;
6328 PyObject * obj0 = 0 ;
994141e6 6329 PyObject * obj1 = 0 ;
d14a1e28
RD
6330 char *kwnames[] = {
6331 (char *) "self",(char *) "index", NULL
6332 };
6333
994141e6 6334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6337 arg2 = (int) SWIG_AsInt(obj1);
6338 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6339 {
6340 PyThreadState* __tstate = wxPyBeginAllowThreads();
6341 result = (bool)(arg1)->IsChecked(arg2);
6342
6343 wxPyEndAllowThreads(__tstate);
6344 if (PyErr_Occurred()) SWIG_fail;
6345 }
4f89f6a3
RD
6346 {
6347 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6348 }
d14a1e28
RD
6349 return resultobj;
6350 fail:
6351 return NULL;
6352}
6353
6354
6355static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6356 PyObject *resultobj;
6357 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6358 int arg2 ;
e811c8ce 6359 int arg3 = (int) True ;
d14a1e28 6360 PyObject * obj0 = 0 ;
994141e6
RD
6361 PyObject * obj1 = 0 ;
6362 PyObject * obj2 = 0 ;
d14a1e28
RD
6363 char *kwnames[] = {
6364 (char *) "self",(char *) "index",(char *) "check", NULL
6365 };
6366
994141e6 6367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6370 arg2 = (int) SWIG_AsInt(obj1);
6371 if (PyErr_Occurred()) SWIG_fail;
994141e6 6372 if (obj2) {
15afbcd0
RD
6373 arg3 = (int) SWIG_AsInt(obj2);
6374 if (PyErr_Occurred()) SWIG_fail;
994141e6 6375 }
d14a1e28
RD
6376 {
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 (arg1)->Check(arg2,arg3);
6379
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 Py_INCREF(Py_None); resultobj = Py_None;
6384 return resultobj;
6385 fail:
6386 return NULL;
6387}
6388
6389
6390static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6391 PyObject *resultobj;
6392 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6393 int result;
6394 PyObject * obj0 = 0 ;
6395 char *kwnames[] = {
6396 (char *) "self", NULL
6397 };
6398
6399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
6400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6402 {
6403 PyThreadState* __tstate = wxPyBeginAllowThreads();
6404 result = (int)(arg1)->GetItemHeight();
6405
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
15afbcd0 6409 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6410 return resultobj;
6411 fail:
6412 return NULL;
6413}
6414
6415
6416static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6417 PyObject *resultobj;
6418 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6419 wxPoint *arg2 = 0 ;
6420 int result;
6421 wxPoint temp2 ;
6422 PyObject * obj0 = 0 ;
6423 PyObject * obj1 = 0 ;
6424 char *kwnames[] = {
6425 (char *) "self",(char *) "pt", NULL
6426 };
6427
6428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6431 {
6432 arg2 = &temp2;
6433 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6434 }
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6438
6439 wxPyEndAllowThreads(__tstate);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
15afbcd0 6442 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6443 return resultobj;
6444 fail:
6445 return NULL;
6446}
6447
6448
6449static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6450 PyObject *resultobj;
6451 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
e811c8ce
RD
6452 int arg2 ;
6453 int arg3 ;
d14a1e28
RD
6454 int result;
6455 PyObject * obj0 = 0 ;
994141e6
RD
6456 PyObject * obj1 = 0 ;
6457 PyObject * obj2 = 0 ;
d14a1e28
RD
6458 char *kwnames[] = {
6459 (char *) "self",(char *) "x",(char *) "y", NULL
6460 };
6461
994141e6 6462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6465 arg2 = (int) SWIG_AsInt(obj1);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 arg3 = (int) SWIG_AsInt(obj2);
6468 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6469 {
6470 PyThreadState* __tstate = wxPyBeginAllowThreads();
6471 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6472
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
15afbcd0 6476 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
6477 return resultobj;
6478 fail:
6479 return NULL;
6480}
6481
6482
6483static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6484 PyObject *obj;
6485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6486 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6487 Py_INCREF(obj);
6488 return Py_BuildValue((char *)"");
6489}
b2dc1044
RD
6490static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6491 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6492 return 1;
6493}
6494
6495
6496static PyObject *_wrap_TextCtrlNameStr_get() {
6497 PyObject *pyobj;
6498
6499 {
6500#if wxUSE_UNICODE
6501 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6502#else
6503 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6504#endif
6505 }
6506 return pyobj;
6507}
6508
6509
d14a1e28
RD
6510static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6511 PyObject *resultobj;
6512 wxTextAttr *result;
6513
6514 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 result = (wxTextAttr *)new wxTextAttr();
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
15afbcd0 6522 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
6523 return resultobj;
6524 fail:
6525 return NULL;
6526}
6527
6528
6529static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6530 PyObject *resultobj;
6531 wxColour *arg1 = 0 ;
6532 wxColour const &arg2_defvalue = wxNullColour ;
6533 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6534 wxFont const &arg3_defvalue = wxNullFont ;
6535 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6536 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6537 wxTextAttr *result;
6538 wxColour temp1 ;
6539 wxColour temp2 ;
6540 PyObject * obj0 = 0 ;
6541 PyObject * obj1 = 0 ;
6542 PyObject * obj2 = 0 ;
994141e6 6543 PyObject * obj3 = 0 ;
d14a1e28 6544
994141e6 6545 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
6546 {
6547 arg1 = &temp1;
6548 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6549 }
6550 if (obj1) {
6551 {
6552 arg2 = &temp2;
6553 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6554 }
6555 }
6556 if (obj2) {
15afbcd0
RD
6557 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6558 SWIG_POINTER_EXCEPTION | 0)) == -1)
6559 SWIG_fail;
d14a1e28 6560 if (arg3 == NULL) {
15afbcd0
RD
6561 PyErr_SetString(PyExc_TypeError,"null reference");
6562 SWIG_fail;
d14a1e28
RD
6563 }
6564 }
994141e6 6565 if (obj3) {
15afbcd0
RD
6566 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6567 if (PyErr_Occurred()) SWIG_fail;
994141e6 6568 }
d14a1e28
RD
6569 {
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6572
6573 wxPyEndAllowThreads(__tstate);
6574 if (PyErr_Occurred()) SWIG_fail;
6575 }
15afbcd0 6576 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
6577 return resultobj;
6578 fail:
6579 return NULL;
6580}
6581
6582
6583static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6584 int argc;
6585 PyObject *argv[5];
6586 int ii;
6587
6588 argc = PyObject_Length(args);
6589 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6590 argv[ii] = PyTuple_GetItem(args,ii);
6591 }
6592 if (argc == 0) {
6593 return _wrap_new_TextAttr__SWIG_0(self,args);
6594 }
6595 if ((argc >= 1) && (argc <= 4)) {
6596 int _v;
6597 {
6598 _v = wxColour_typecheck(argv[0]);
6599 }
6600 if (_v) {
6601 if (argc <= 1) {
6602 return _wrap_new_TextAttr__SWIG_1(self,args);
6603 }
6604 {
6605 _v = wxColour_typecheck(argv[1]);
6606 }
6607 if (_v) {
6608 if (argc <= 2) {
6609 return _wrap_new_TextAttr__SWIG_1(self,args);
6610 }
6611 {
6612 void *ptr;
15afbcd0 6613 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
d14a1e28
RD
6614 _v = 0;
6615 PyErr_Clear();
6616 } else {
6617 _v = 1;
6618 }
6619 }
6620 if (_v) {
6621 if (argc <= 3) {
6622 return _wrap_new_TextAttr__SWIG_1(self,args);
6623 }
15afbcd0 6624 _v = SWIG_CheckInt(argv[3]);
994141e6
RD
6625 if (_v) {
6626 return _wrap_new_TextAttr__SWIG_1(self,args);
6627 }
d14a1e28
RD
6628 }
6629 }
6630 }
6631 }
6632
6633 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6634 return NULL;
6635}
6636
6637
994141e6 6638static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6639 PyObject *resultobj;
6640 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6641 PyObject * obj0 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self", NULL
6644 };
6645
994141e6 6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
15afbcd0
RD
6647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6649 {
6650 PyThreadState* __tstate = wxPyBeginAllowThreads();
994141e6 6651 delete arg1;
d14a1e28
RD
6652
6653 wxPyEndAllowThreads(__tstate);
6654 if (PyErr_Occurred()) SWIG_fail;
6655 }
6656 Py_INCREF(Py_None); resultobj = Py_None;
6657 return resultobj;
6658 fail:
6659 return NULL;
6660}
6661
6662
994141e6
RD
6663static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6664 PyObject *resultobj;
6665 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6666 PyObject * obj0 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
15afbcd0
RD
6672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6
RD
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 (arg1)->Init();
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 Py_INCREF(Py_None); resultobj = Py_None;
6682 return resultobj;
6683 fail:
6684 return NULL;
6685}
6686
6687
6688static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6689 PyObject *resultobj;
6690 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6691 wxColour *arg2 = 0 ;
6692 wxColour temp2 ;
6693 PyObject * obj0 = 0 ;
6694 PyObject * obj1 = 0 ;
6695 char *kwnames[] = {
6696 (char *) "self",(char *) "colText", NULL
6697 };
6698
6699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6702 {
6703 arg2 = &temp2;
6704 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6705 }
6706 {
6707 PyThreadState* __tstate = wxPyBeginAllowThreads();
6708 (arg1)->SetTextColour((wxColour const &)*arg2);
6709
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 Py_INCREF(Py_None); resultobj = Py_None;
6714 return resultobj;
6715 fail:
6716 return NULL;
6717}
6718
6719
6720static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6721 PyObject *resultobj;
6722 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6723 wxColour *arg2 = 0 ;
6724 wxColour temp2 ;
6725 PyObject * obj0 = 0 ;
6726 PyObject * obj1 = 0 ;
6727 char *kwnames[] = {
6728 (char *) "self",(char *) "colBack", NULL
6729 };
6730
6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6734 {
6735 arg2 = &temp2;
6736 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6737 }
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6740 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6741
6742 wxPyEndAllowThreads(__tstate);
6743 if (PyErr_Occurred()) SWIG_fail;
6744 }
6745 Py_INCREF(Py_None); resultobj = Py_None;
6746 return resultobj;
6747 fail:
6748 return NULL;
6749}
6750
6751
6752static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6753 PyObject *resultobj;
6754 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6755 wxFont *arg2 = 0 ;
6756 long arg3 = (long) wxTEXT_ATTR_FONT ;
6757 PyObject * obj0 = 0 ;
6758 PyObject * obj1 = 0 ;
994141e6 6759 PyObject * obj2 = 0 ;
d14a1e28
RD
6760 char *kwnames[] = {
6761 (char *) "self",(char *) "font",(char *) "flags", NULL
6762 };
6763
994141e6 6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
6768 SWIG_POINTER_EXCEPTION | 0)) == -1)
6769 SWIG_fail;
d14a1e28 6770 if (arg2 == NULL) {
15afbcd0
RD
6771 PyErr_SetString(PyExc_TypeError,"null reference");
6772 SWIG_fail;
d14a1e28 6773 }
994141e6 6774 if (obj2) {
15afbcd0
RD
6775 arg3 = (long) SWIG_AsLong(obj2);
6776 if (PyErr_Occurred()) SWIG_fail;
994141e6 6777 }
d14a1e28
RD
6778 {
6779 PyThreadState* __tstate = wxPyBeginAllowThreads();
6780 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6781
6782 wxPyEndAllowThreads(__tstate);
6783 if (PyErr_Occurred()) SWIG_fail;
6784 }
6785 Py_INCREF(Py_None); resultobj = Py_None;
6786 return resultobj;
6787 fail:
6788 return NULL;
6789}
6790
6791
6792static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj;
6794 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6795 int arg2 ;
6796 PyObject * obj0 = 0 ;
994141e6 6797 PyObject * obj1 = 0 ;
d14a1e28
RD
6798 char *kwnames[] = {
6799 (char *) "self",(char *) "alignment", NULL
6800 };
6801
994141e6 6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6805 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
6806 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 Py_INCREF(Py_None); resultobj = Py_None;
6815 return resultobj;
6816 fail:
6817 return NULL;
6818}
6819
6820
6821static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6822 PyObject *resultobj;
6823 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6824 wxArrayInt *arg2 = 0 ;
3adfb63b 6825 bool temp2 = False ;
d14a1e28
RD
6826 PyObject * obj0 = 0 ;
6827 PyObject * obj1 = 0 ;
6828 char *kwnames[] = {
6829 (char *) "self",(char *) "tabs", NULL
6830 };
6831
6832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6835 {
6836 if (! PySequence_Check(obj1)) {
6837 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6838 SWIG_fail;
6839 }
6840 arg2 = new wxArrayInt;
3adfb63b 6841 temp2 = True;
d14a1e28
RD
6842 int i, len=PySequence_Length(obj1);
6843 for (i=0; i<len; i++) {
6844 PyObject* item = PySequence_GetItem(obj1, i);
6845 PyObject* number = PyNumber_Int(item);
6846 arg2->Add(PyInt_AS_LONG(number));
6847 Py_DECREF(item);
6848 Py_DECREF(number);
6849 }
6850 }
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6854
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 Py_INCREF(Py_None); resultobj = Py_None;
6859 {
3adfb63b 6860 if (temp2) delete arg2;
d14a1e28
RD
6861 }
6862 return resultobj;
6863 fail:
6864 {
3adfb63b 6865 if (temp2) delete arg2;
d14a1e28
RD
6866 }
6867 return NULL;
6868}
6869
6870
6871static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6872 PyObject *resultobj;
6873 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6874 int arg2 ;
6875 PyObject * obj0 = 0 ;
994141e6 6876 PyObject * obj1 = 0 ;
d14a1e28
RD
6877 char *kwnames[] = {
6878 (char *) "self",(char *) "indent", NULL
6879 };
6880
994141e6 6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6884 arg2 = (int) SWIG_AsInt(obj1);
6885 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6886 {
6887 PyThreadState* __tstate = wxPyBeginAllowThreads();
6888 (arg1)->SetLeftIndent(arg2);
6889
6890 wxPyEndAllowThreads(__tstate);
6891 if (PyErr_Occurred()) SWIG_fail;
6892 }
6893 Py_INCREF(Py_None); resultobj = Py_None;
6894 return resultobj;
6895 fail:
6896 return NULL;
6897}
6898
6899
6900static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6901 PyObject *resultobj;
6902 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6903 int arg2 ;
6904 PyObject * obj0 = 0 ;
994141e6 6905 PyObject * obj1 = 0 ;
d14a1e28
RD
6906 char *kwnames[] = {
6907 (char *) "self",(char *) "indent", NULL
6908 };
6909
994141e6 6910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6913 arg2 = (int) SWIG_AsInt(obj1);
6914 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6915 {
6916 PyThreadState* __tstate = wxPyBeginAllowThreads();
6917 (arg1)->SetRightIndent(arg2);
6918
6919 wxPyEndAllowThreads(__tstate);
6920 if (PyErr_Occurred()) SWIG_fail;
6921 }
6922 Py_INCREF(Py_None); resultobj = Py_None;
6923 return resultobj;
6924 fail:
6925 return NULL;
6926}
6927
6928
6929static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6930 PyObject *resultobj;
6931 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6932 long arg2 ;
6933 PyObject * obj0 = 0 ;
994141e6 6934 PyObject * obj1 = 0 ;
d14a1e28
RD
6935 char *kwnames[] = {
6936 (char *) "self",(char *) "flags", NULL
6937 };
6938
994141e6 6939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6942 arg2 = (long) SWIG_AsLong(obj1);
6943 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6944 {
6945 PyThreadState* __tstate = wxPyBeginAllowThreads();
6946 (arg1)->SetFlags(arg2);
6947
6948 wxPyEndAllowThreads(__tstate);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
6951 Py_INCREF(Py_None); resultobj = Py_None;
6952 return resultobj;
6953 fail:
6954 return NULL;
6955}
6956
6957
6958static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6959 PyObject *resultobj;
6960 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6961 bool result;
6962 PyObject * obj0 = 0 ;
6963 char *kwnames[] = {
6964 (char *) "self", NULL
6965 };
6966
6967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
6968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6970 {
6971 PyThreadState* __tstate = wxPyBeginAllowThreads();
6972 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6973
6974 wxPyEndAllowThreads(__tstate);
6975 if (PyErr_Occurred()) SWIG_fail;
6976 }
4f89f6a3
RD
6977 {
6978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6979 }
d14a1e28
RD
6980 return resultobj;
6981 fail:
6982 return NULL;
6983}
6984
6985
6986static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6989 bool result;
6990 PyObject * obj0 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
6996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
6997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7001
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
4f89f6a3
RD
7005 {
7006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7007 }
d14a1e28
RD
7008 return resultobj;
7009 fail:
7010 return NULL;
7011}
7012
7013
7014static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7015 PyObject *resultobj;
7016 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7017 bool result;
7018 PyObject * obj0 = 0 ;
7019 char *kwnames[] = {
7020 (char *) "self", NULL
7021 };
7022
7023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
7024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7026 {
7027 PyThreadState* __tstate = wxPyBeginAllowThreads();
7028 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7029
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
4f89f6a3
RD
7033 {
7034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7035 }
d14a1e28
RD
7036 return resultobj;
7037 fail:
7038 return NULL;
7039}
7040
7041
7042static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj;
7044 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7045 bool result;
7046 PyObject * obj0 = 0 ;
7047 char *kwnames[] = {
7048 (char *) "self", NULL
7049 };
7050
7051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
7052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7054 {
7055 PyThreadState* __tstate = wxPyBeginAllowThreads();
7056 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7057
7058 wxPyEndAllowThreads(__tstate);
7059 if (PyErr_Occurred()) SWIG_fail;
7060 }
4f89f6a3
RD
7061 {
7062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7063 }
d14a1e28
RD
7064 return resultobj;
7065 fail:
7066 return NULL;
7067}
7068
7069
7070static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj;
7072 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7073 bool result;
7074 PyObject * obj0 = 0 ;
7075 char *kwnames[] = {
7076 (char *) "self", NULL
7077 };
7078
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
15afbcd0
RD
7080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7082 {
7083 PyThreadState* __tstate = wxPyBeginAllowThreads();
7084 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7085
7086 wxPyEndAllowThreads(__tstate);
7087 if (PyErr_Occurred()) SWIG_fail;
7088 }
4f89f6a3
RD
7089 {
7090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7091 }
d14a1e28
RD
7092 return resultobj;
7093 fail:
7094 return NULL;
7095}
7096
7097
7098static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7099 PyObject *resultobj;
7100 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7101 bool result;
7102 PyObject * obj0 = 0 ;
7103 char *kwnames[] = {
7104 (char *) "self", NULL
7105 };
7106
7107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7110 {
7111 PyThreadState* __tstate = wxPyBeginAllowThreads();
7112 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7113
7114 wxPyEndAllowThreads(__tstate);
7115 if (PyErr_Occurred()) SWIG_fail;
7116 }
4f89f6a3
RD
7117 {
7118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7119 }
d14a1e28
RD
7120 return resultobj;
7121 fail:
7122 return NULL;
7123}
7124
7125
7126static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj;
7128 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7129 bool result;
7130 PyObject * obj0 = 0 ;
7131 char *kwnames[] = {
7132 (char *) "self", NULL
7133 };
7134
7135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7138 {
7139 PyThreadState* __tstate = wxPyBeginAllowThreads();
7140 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7141
7142 wxPyEndAllowThreads(__tstate);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
4f89f6a3
RD
7145 {
7146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7147 }
d14a1e28
RD
7148 return resultobj;
7149 fail:
7150 return NULL;
7151}
7152
7153
7154static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7155 PyObject *resultobj;
7156 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7157 long arg2 ;
7158 bool result;
7159 PyObject * obj0 = 0 ;
994141e6 7160 PyObject * obj1 = 0 ;
d14a1e28
RD
7161 char *kwnames[] = {
7162 (char *) "self",(char *) "flag", NULL
7163 };
7164
994141e6 7165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7168 arg2 = (long) SWIG_AsLong(obj1);
7169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7170 {
7171 PyThreadState* __tstate = wxPyBeginAllowThreads();
7172 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7173
7174 wxPyEndAllowThreads(__tstate);
7175 if (PyErr_Occurred()) SWIG_fail;
7176 }
4f89f6a3
RD
7177 {
7178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7179 }
d14a1e28
RD
7180 return resultobj;
7181 fail:
7182 return NULL;
7183}
7184
7185
7186static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7187 PyObject *resultobj;
7188 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7189 wxColour *result;
7190 PyObject * obj0 = 0 ;
7191 char *kwnames[] = {
7192 (char *) "self", NULL
7193 };
7194
7195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 {
7201 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7202 result = (wxColour *) &_result_ref;
7203 }
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
15afbcd0 7208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
7209 return resultobj;
7210 fail:
7211 return NULL;
7212}
7213
7214
7215static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7216 PyObject *resultobj;
7217 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7218 wxColour *result;
7219 PyObject * obj0 = 0 ;
7220 char *kwnames[] = {
7221 (char *) "self", NULL
7222 };
7223
7224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
7225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 {
7230 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7231 result = (wxColour *) &_result_ref;
7232 }
7233
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
15afbcd0 7237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
d14a1e28
RD
7238 return resultobj;
7239 fail:
7240 return NULL;
7241}
7242
7243
7244static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7245 PyObject *resultobj;
7246 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7247 wxFont *result;
7248 PyObject * obj0 = 0 ;
7249 char *kwnames[] = {
7250 (char *) "self", NULL
7251 };
7252
7253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
7254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 {
7259 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7260 result = (wxFont *) &_result_ref;
7261 }
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
4276dc52
RD
7266 {
7267 wxFont* resultptr = new wxFont(*result);
7268 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7269 }
d14a1e28
RD
7270 return resultobj;
7271 fail:
7272 return NULL;
7273}
7274
7275
7276static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7277 PyObject *resultobj;
7278 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7279 int result;
7280 PyObject * obj0 = 0 ;
7281 char *kwnames[] = {
7282 (char *) "self", NULL
7283 };
7284
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
15afbcd0
RD
7286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7288 {
7289 PyThreadState* __tstate = wxPyBeginAllowThreads();
7290 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7291
7292 wxPyEndAllowThreads(__tstate);
7293 if (PyErr_Occurred()) SWIG_fail;
7294 }
15afbcd0 7295 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7296 return resultobj;
7297 fail:
7298 return NULL;
7299}
7300
7301
7302static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7303 PyObject *resultobj;
7304 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7305 wxArrayInt *result;
7306 PyObject * obj0 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "self", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
15afbcd0
RD
7312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 {
7317 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7318 result = (wxArrayInt *) &_result_ref;
7319 }
7320
7321 wxPyEndAllowThreads(__tstate);
7322 if (PyErr_Occurred()) SWIG_fail;
7323 }
7324 {
7325 resultobj = PyList_New(0);
7326 size_t idx;
7327 for (idx = 0; idx < result->GetCount(); idx += 1) {
7328 PyObject* val = PyInt_FromLong( result->Item(idx) );
7329 PyList_Append(resultobj, val);
7330 Py_DECREF(val);
7331 }
7332 }
7333 return resultobj;
7334 fail:
7335 return NULL;
7336}
7337
7338
7339static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7340 PyObject *resultobj;
7341 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7342 long result;
7343 PyObject * obj0 = 0 ;
7344 char *kwnames[] = {
7345 (char *) "self", NULL
7346 };
7347
7348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7351 {
7352 PyThreadState* __tstate = wxPyBeginAllowThreads();
7353 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7354
7355 wxPyEndAllowThreads(__tstate);
7356 if (PyErr_Occurred()) SWIG_fail;
7357 }
15afbcd0 7358 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7359 return resultobj;
7360 fail:
7361 return NULL;
7362}
7363
7364
7365static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7366 PyObject *resultobj;
7367 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7368 long result;
7369 PyObject * obj0 = 0 ;
7370 char *kwnames[] = {
7371 (char *) "self", NULL
7372 };
7373
7374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
7375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7377 {
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7380
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
15afbcd0 7384 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7385 return resultobj;
7386 fail:
7387 return NULL;
7388}
7389
7390
7391static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj;
7393 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7394 long result;
7395 PyObject * obj0 = 0 ;
7396 char *kwnames[] = {
7397 (char *) "self", NULL
7398 };
7399
7400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
7401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7403 {
7404 PyThreadState* __tstate = wxPyBeginAllowThreads();
7405 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7406
7407 wxPyEndAllowThreads(__tstate);
7408 if (PyErr_Occurred()) SWIG_fail;
7409 }
15afbcd0 7410 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
7411 return resultobj;
7412 fail:
7413 return NULL;
7414}
7415
7416
7417static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7418 PyObject *resultobj;
7419 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7420 bool result;
7421 PyObject * obj0 = 0 ;
7422 char *kwnames[] = {
7423 (char *) "self", NULL
7424 };
7425
7426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
15afbcd0
RD
7427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7429 {
7430 PyThreadState* __tstate = wxPyBeginAllowThreads();
7431 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7432
7433 wxPyEndAllowThreads(__tstate);
7434 if (PyErr_Occurred()) SWIG_fail;
7435 }
4f89f6a3
RD
7436 {
7437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7438 }
d14a1e28
RD
7439 return resultobj;
7440 fail:
7441 return NULL;
7442}
7443
7444
7445static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj;
7447 wxTextAttr *arg1 = 0 ;
7448 wxTextAttr *arg2 = 0 ;
7449 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7450 wxTextAttr result;
7451 PyObject * obj0 = 0 ;
7452 PyObject * obj1 = 0 ;
7453 PyObject * obj2 = 0 ;
7454 char *kwnames[] = {
7455 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7456 };
7457
7458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7460 SWIG_POINTER_EXCEPTION | 0)) == -1)
7461 SWIG_fail;
d14a1e28 7462 if (arg1 == NULL) {
15afbcd0
RD
7463 PyErr_SetString(PyExc_TypeError,"null reference");
7464 SWIG_fail;
d14a1e28 7465 }
15afbcd0
RD
7466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7467 SWIG_POINTER_EXCEPTION | 0)) == -1)
7468 SWIG_fail;
d14a1e28 7469 if (arg2 == NULL) {
15afbcd0
RD
7470 PyErr_SetString(PyExc_TypeError,"null reference");
7471 SWIG_fail;
d14a1e28 7472 }
15afbcd0
RD
7473 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7475 {
7476 PyThreadState* __tstate = wxPyBeginAllowThreads();
7477 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7478
7479 wxPyEndAllowThreads(__tstate);
7480 if (PyErr_Occurred()) SWIG_fail;
7481 }
7482 {
7483 wxTextAttr * resultptr;
7484 resultptr = new wxTextAttr((wxTextAttr &) result);
15afbcd0 7485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
d14a1e28
RD
7486 }
7487 return resultobj;
7488 fail:
7489 return NULL;
7490}
7491
7492
7493static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7494 PyObject *obj;
7495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7496 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7497 Py_INCREF(obj);
7498 return Py_BuildValue((char *)"");
7499}
7500static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7501 PyObject *resultobj;
7502 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 7503 int arg2 ;
d14a1e28
RD
7504 wxString const &arg3_defvalue = wxPyEmptyString ;
7505 wxString *arg3 = (wxString *) &arg3_defvalue ;
7506 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7507 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7508 wxSize const &arg5_defvalue = wxDefaultSize ;
7509 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7510 long arg6 = (long) 0 ;
7511 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7512 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7513 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7514 wxString *arg8 = (wxString *) &arg8_defvalue ;
7515 wxTextCtrl *result;
e811c8ce 7516 bool temp3 = False ;
d14a1e28
RD
7517 wxPoint temp4 ;
7518 wxSize temp5 ;
e811c8ce 7519 bool temp8 = False ;
d14a1e28 7520 PyObject * obj0 = 0 ;
994141e6 7521 PyObject * obj1 = 0 ;
d14a1e28
RD
7522 PyObject * obj2 = 0 ;
7523 PyObject * obj3 = 0 ;
7524 PyObject * obj4 = 0 ;
994141e6 7525 PyObject * obj5 = 0 ;
d14a1e28
RD
7526 PyObject * obj6 = 0 ;
7527 PyObject * obj7 = 0 ;
7528 char *kwnames[] = {
7529 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7530 };
7531
994141e6 7532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
7533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7535 arg2 = (int) SWIG_AsInt(obj1);
7536 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7537 if (obj2) {
7538 {
7539 arg3 = wxString_in_helper(obj2);
7540 if (arg3 == NULL) SWIG_fail;
e811c8ce 7541 temp3 = True;
d14a1e28
RD
7542 }
7543 }
7544 if (obj3) {
7545 {
7546 arg4 = &temp4;
7547 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7548 }
7549 }
7550 if (obj4) {
7551 {
7552 arg5 = &temp5;
7553 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7554 }
7555 }
994141e6 7556 if (obj5) {
15afbcd0
RD
7557 arg6 = (long) SWIG_AsLong(obj5);
7558 if (PyErr_Occurred()) SWIG_fail;
994141e6 7559 }
d14a1e28 7560 if (obj6) {
15afbcd0
RD
7561 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7562 SWIG_POINTER_EXCEPTION | 0)) == -1)
7563 SWIG_fail;
d14a1e28 7564 if (arg7 == NULL) {
15afbcd0
RD
7565 PyErr_SetString(PyExc_TypeError,"null reference");
7566 SWIG_fail;
d14a1e28
RD
7567 }
7568 }
7569 if (obj7) {
7570 {
7571 arg8 = wxString_in_helper(obj7);
7572 if (arg8 == NULL) SWIG_fail;
e811c8ce 7573 temp8 = True;
d14a1e28
RD
7574 }
7575 }
7576 {
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
7578 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7579
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 {
7584 resultobj = wxPyMake_wxObject(result);
7585 }
7586 {
7587 if (temp3)
7588 delete arg3;
7589 }
7590 {
7591 if (temp8)
7592 delete arg8;
7593 }
7594 return resultobj;
7595 fail:
7596 {
7597 if (temp3)
7598 delete arg3;
7599 }
7600 {
7601 if (temp8)
7602 delete arg8;
7603 }
7604 return NULL;
7605}
7606
7607
7608static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7609 PyObject *resultobj;
7610 wxTextCtrl *result;
7611 char *kwnames[] = {
7612 NULL
7613 };
7614
7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 result = (wxTextCtrl *)new wxTextCtrl();
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 {
7624 resultobj = wxPyMake_wxObject(result);
7625 }
7626 return resultobj;
7627 fail:
7628 return NULL;
7629}
7630
7631
7632static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj;
7634 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7635 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 7636 int arg3 ;
d14a1e28
RD
7637 wxString const &arg4_defvalue = wxPyEmptyString ;
7638 wxString *arg4 = (wxString *) &arg4_defvalue ;
7639 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7640 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7641 wxSize const &arg6_defvalue = wxDefaultSize ;
7642 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7643 long arg7 = (long) 0 ;
7644 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7645 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7646 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7647 wxString *arg9 = (wxString *) &arg9_defvalue ;
7648 bool result;
e811c8ce 7649 bool temp4 = False ;
d14a1e28
RD
7650 wxPoint temp5 ;
7651 wxSize temp6 ;
e811c8ce 7652 bool temp9 = False ;
d14a1e28
RD
7653 PyObject * obj0 = 0 ;
7654 PyObject * obj1 = 0 ;
994141e6 7655 PyObject * obj2 = 0 ;
d14a1e28
RD
7656 PyObject * obj3 = 0 ;
7657 PyObject * obj4 = 0 ;
7658 PyObject * obj5 = 0 ;
994141e6 7659 PyObject * obj6 = 0 ;
d14a1e28
RD
7660 PyObject * obj7 = 0 ;
7661 PyObject * obj8 = 0 ;
7662 char *kwnames[] = {
7663 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7664 };
7665
994141e6 7666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
7667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7669 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
7670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7671 arg3 = (int) SWIG_AsInt(obj2);
7672 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7673 if (obj3) {
7674 {
7675 arg4 = wxString_in_helper(obj3);
7676 if (arg4 == NULL) SWIG_fail;
e811c8ce 7677 temp4 = True;
d14a1e28
RD
7678 }
7679 }
7680 if (obj4) {
7681 {
7682 arg5 = &temp5;
7683 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7684 }
7685 }
7686 if (obj5) {
7687 {
7688 arg6 = &temp6;
7689 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7690 }
7691 }
994141e6 7692 if (obj6) {
15afbcd0
RD
7693 arg7 = (long) SWIG_AsLong(obj6);
7694 if (PyErr_Occurred()) SWIG_fail;
994141e6 7695 }
d14a1e28 7696 if (obj7) {
15afbcd0
RD
7697 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
7698 SWIG_POINTER_EXCEPTION | 0)) == -1)
7699 SWIG_fail;
d14a1e28 7700 if (arg8 == NULL) {
15afbcd0
RD
7701 PyErr_SetString(PyExc_TypeError,"null reference");
7702 SWIG_fail;
d14a1e28
RD
7703 }
7704 }
7705 if (obj8) {
7706 {
7707 arg9 = wxString_in_helper(obj8);
7708 if (arg9 == NULL) SWIG_fail;
e811c8ce 7709 temp9 = True;
d14a1e28
RD
7710 }
7711 }
7712 {
7713 PyThreadState* __tstate = wxPyBeginAllowThreads();
7714 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7715
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
4f89f6a3
RD
7719 {
7720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7721 }
d14a1e28
RD
7722 {
7723 if (temp4)
7724 delete arg4;
7725 }
7726 {
7727 if (temp9)
7728 delete arg9;
7729 }
7730 return resultobj;
7731 fail:
7732 {
7733 if (temp4)
7734 delete arg4;
7735 }
7736 {
7737 if (temp9)
7738 delete arg9;
7739 }
7740 return NULL;
7741}
7742
7743
7744static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7745 PyObject *resultobj;
7746 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7747 wxString result;
7748 PyObject * obj0 = 0 ;
7749 char *kwnames[] = {
7750 (char *) "self", NULL
7751 };
7752
7753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
7754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7756 {
7757 PyThreadState* __tstate = wxPyBeginAllowThreads();
7758 result = ((wxTextCtrl const *)arg1)->GetValue();
7759
7760 wxPyEndAllowThreads(__tstate);
7761 if (PyErr_Occurred()) SWIG_fail;
7762 }
7763 {
7764#if wxUSE_UNICODE
7765 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7766#else
7767 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7768#endif
7769 }
7770 return resultobj;
7771 fail:
7772 return NULL;
7773}
7774
7775
7776static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7777 PyObject *resultobj;
7778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7779 wxString *arg2 = 0 ;
e811c8ce 7780 bool temp2 = False ;
d14a1e28
RD
7781 PyObject * obj0 = 0 ;
7782 PyObject * obj1 = 0 ;
7783 char *kwnames[] = {
7784 (char *) "self",(char *) "value", NULL
7785 };
7786
7787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7790 {
7791 arg2 = wxString_in_helper(obj1);
7792 if (arg2 == NULL) SWIG_fail;
e811c8ce 7793 temp2 = True;
d14a1e28
RD
7794 }
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 (arg1)->SetValue((wxString const &)*arg2);
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 Py_INCREF(Py_None); resultobj = Py_None;
7803 {
7804 if (temp2)
7805 delete arg2;
7806 }
7807 return resultobj;
7808 fail:
7809 {
7810 if (temp2)
7811 delete arg2;
7812 }
7813 return NULL;
7814}
7815
7816
7817static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7818 PyObject *resultobj;
7819 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7820 long arg2 ;
7821 long arg3 ;
7822 wxString result;
7823 PyObject * obj0 = 0 ;
994141e6
RD
7824 PyObject * obj1 = 0 ;
7825 PyObject * obj2 = 0 ;
d14a1e28
RD
7826 char *kwnames[] = {
7827 (char *) "self",(char *) "from",(char *) "to", NULL
7828 };
7829
994141e6 7830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7833 arg2 = (long) SWIG_AsLong(obj1);
7834 if (PyErr_Occurred()) SWIG_fail;
7835 arg3 = (long) SWIG_AsLong(obj2);
7836 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7837 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7840
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 {
7845#if wxUSE_UNICODE
7846 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7847#else
7848 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7849#endif
7850 }
7851 return resultobj;
7852 fail:
7853 return NULL;
7854}
7855
7856
7857static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7860 long arg2 ;
7861 int result;
7862 PyObject * obj0 = 0 ;
994141e6 7863 PyObject * obj1 = 0 ;
d14a1e28
RD
7864 char *kwnames[] = {
7865 (char *) "self",(char *) "lineNo", NULL
7866 };
7867
994141e6 7868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7871 arg2 = (long) SWIG_AsLong(obj1);
7872 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7873 {
7874 PyThreadState* __tstate = wxPyBeginAllowThreads();
7875 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7876
7877 wxPyEndAllowThreads(__tstate);
7878 if (PyErr_Occurred()) SWIG_fail;
7879 }
15afbcd0 7880 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7881 return resultobj;
7882 fail:
7883 return NULL;
7884}
7885
7886
7887static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7888 PyObject *resultobj;
7889 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7890 long arg2 ;
7891 wxString result;
7892 PyObject * obj0 = 0 ;
994141e6 7893 PyObject * obj1 = 0 ;
d14a1e28
RD
7894 char *kwnames[] = {
7895 (char *) "self",(char *) "lineNo", NULL
7896 };
7897
994141e6 7898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7901 arg2 = (long) SWIG_AsLong(obj1);
7902 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7906
7907 wxPyEndAllowThreads(__tstate);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 {
7911#if wxUSE_UNICODE
7912 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7913#else
7914 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7915#endif
7916 }
7917 return resultobj;
7918 fail:
7919 return NULL;
7920}
7921
7922
7923static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7926 int result;
7927 PyObject * obj0 = 0 ;
7928 char *kwnames[] = {
7929 (char *) "self", NULL
7930 };
7931
7932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
15afbcd0
RD
7933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7938
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
15afbcd0 7942 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
7943 return resultobj;
7944 fail:
7945 return NULL;
7946}
7947
7948
7949static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7950 PyObject *resultobj;
7951 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7952 bool result;
7953 PyObject * obj0 = 0 ;
7954 char *kwnames[] = {
7955 (char *) "self", NULL
7956 };
7957
7958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
15afbcd0
RD
7959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
4f89f6a3
RD
7968 {
7969 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7970 }
d14a1e28
RD
7971 return resultobj;
7972 fail:
7973 return NULL;
7974}
7975
7976
7977static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj;
7979 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7980 bool result;
7981 PyObject * obj0 = 0 ;
7982 char *kwnames[] = {
7983 (char *) "self", NULL
7984 };
7985
7986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
15afbcd0
RD
7987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
7988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7989 {
7990 PyThreadState* __tstate = wxPyBeginAllowThreads();
7991 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7992
7993 wxPyEndAllowThreads(__tstate);
7994 if (PyErr_Occurred()) SWIG_fail;
7995 }
4f89f6a3
RD
7996 {
7997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7998 }
d14a1e28
RD
7999 return resultobj;
8000 fail:
8001 return NULL;
8002}
8003
8004
8005static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8006 PyObject *resultobj;
8007 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8008 bool result;
8009 PyObject * obj0 = 0 ;
8010 char *kwnames[] = {
8011 (char *) "self", NULL
8012 };
8013
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
8015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8020
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
4f89f6a3
RD
8024 {
8025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8026 }
d14a1e28
RD
8027 return resultobj;
8028 fail:
8029 return NULL;
8030}
8031
8032
8033static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj;
8035 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8036 bool result;
8037 PyObject * obj0 = 0 ;
8038 char *kwnames[] = {
8039 (char *) "self", NULL
8040 };
8041
8042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
15afbcd0
RD
8043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8045 {
8046 PyThreadState* __tstate = wxPyBeginAllowThreads();
8047 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8048
8049 wxPyEndAllowThreads(__tstate);
8050 if (PyErr_Occurred()) SWIG_fail;
8051 }
4f89f6a3
RD
8052 {
8053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8054 }
d14a1e28
RD
8055 return resultobj;
8056 fail:
8057 return NULL;
8058}
8059
8060
8061static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8062 PyObject *resultobj;
8063 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8064 long *arg2 = (long *) 0 ;
8065 long *arg3 = (long *) 0 ;
8066 long temp2 ;
8067 long temp3 ;
8068 PyObject * obj0 = 0 ;
8069 char *kwnames[] = {
8070 (char *) "self", NULL
8071 };
8072
8073 arg2 = &temp2;
8074 arg3 = &temp3;
8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
8076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8078 {
8079 PyThreadState* __tstate = wxPyBeginAllowThreads();
8080 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8081
8082 wxPyEndAllowThreads(__tstate);
8083 if (PyErr_Occurred()) SWIG_fail;
8084 }
8085 Py_INCREF(Py_None); resultobj = Py_None;
8086 {
8087 PyObject *o = PyInt_FromLong((long) (*arg2));
8088 resultobj = t_output_helper(resultobj,o);
8089 }
8090 {
8091 PyObject *o = PyInt_FromLong((long) (*arg3));
8092 resultobj = t_output_helper(resultobj,o);
8093 }
8094 return resultobj;
8095 fail:
8096 return NULL;
8097}
8098
8099
8100static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8101 PyObject *resultobj;
8102 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8103 wxString result;
8104 PyObject * obj0 = 0 ;
8105 char *kwnames[] = {
8106 (char *) "self", NULL
8107 };
8108
8109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
8110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8112 {
8113 PyThreadState* __tstate = wxPyBeginAllowThreads();
8114 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8115
8116 wxPyEndAllowThreads(__tstate);
8117 if (PyErr_Occurred()) SWIG_fail;
8118 }
8119 {
8120#if wxUSE_UNICODE
8121 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8122#else
8123 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8124#endif
8125 }
8126 return resultobj;
8127 fail:
8128 return NULL;
8129}
8130
8131
8132static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8133 PyObject *resultobj;
8134 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8135 PyObject * obj0 = 0 ;
8136 char *kwnames[] = {
8137 (char *) "self", NULL
8138 };
8139
8140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
8141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 (arg1)->Clear();
8146
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 Py_INCREF(Py_None); resultobj = Py_None;
8151 return resultobj;
8152 fail:
8153 return NULL;
8154}
8155
8156
8157static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8158 PyObject *resultobj;
8159 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8160 long arg2 ;
8161 long arg3 ;
8162 wxString *arg4 = 0 ;
e811c8ce 8163 bool temp4 = False ;
d14a1e28 8164 PyObject * obj0 = 0 ;
994141e6
RD
8165 PyObject * obj1 = 0 ;
8166 PyObject * obj2 = 0 ;
d14a1e28
RD
8167 PyObject * obj3 = 0 ;
8168 char *kwnames[] = {
8169 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8170 };
8171
994141e6 8172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8175 arg2 = (long) SWIG_AsLong(obj1);
8176 if (PyErr_Occurred()) SWIG_fail;
8177 arg3 = (long) SWIG_AsLong(obj2);
8178 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8179 {
8180 arg4 = wxString_in_helper(obj3);
8181 if (arg4 == NULL) SWIG_fail;
e811c8ce 8182 temp4 = True;
d14a1e28
RD
8183 }
8184 {
8185 PyThreadState* __tstate = wxPyBeginAllowThreads();
8186 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8187
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
8191 Py_INCREF(Py_None); resultobj = Py_None;
8192 {
8193 if (temp4)
8194 delete arg4;
8195 }
8196 return resultobj;
8197 fail:
8198 {
8199 if (temp4)
8200 delete arg4;
8201 }
8202 return NULL;
8203}
8204
8205
8206static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8207 PyObject *resultobj;
8208 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8209 long arg2 ;
8210 long arg3 ;
8211 PyObject * obj0 = 0 ;
994141e6
RD
8212 PyObject * obj1 = 0 ;
8213 PyObject * obj2 = 0 ;
d14a1e28
RD
8214 char *kwnames[] = {
8215 (char *) "self",(char *) "from",(char *) "to", NULL
8216 };
8217
994141e6 8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8221 arg2 = (long) SWIG_AsLong(obj1);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 arg3 = (long) SWIG_AsLong(obj2);
8224 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 (arg1)->Remove(arg2,arg3);
8228
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 Py_INCREF(Py_None); resultobj = Py_None;
8233 return resultobj;
8234 fail:
8235 return NULL;
8236}
8237
8238
8239static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8240 PyObject *resultobj;
8241 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8242 wxString *arg2 = 0 ;
8243 bool result;
e811c8ce 8244 bool temp2 = False ;
d14a1e28
RD
8245 PyObject * obj0 = 0 ;
8246 PyObject * obj1 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "self",(char *) "file", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8254 {
8255 arg2 = wxString_in_helper(obj1);
8256 if (arg2 == NULL) SWIG_fail;
e811c8ce 8257 temp2 = True;
d14a1e28
RD
8258 }
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
4f89f6a3
RD
8266 {
8267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8268 }
d14a1e28
RD
8269 {
8270 if (temp2)
8271 delete arg2;
8272 }
8273 return resultobj;
8274 fail:
8275 {
8276 if (temp2)
8277 delete arg2;
8278 }
8279 return NULL;
8280}
8281
8282
8283static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8284 PyObject *resultobj;
8285 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8286 wxString const &arg2_defvalue = wxPyEmptyString ;
8287 wxString *arg2 = (wxString *) &arg2_defvalue ;
8288 bool result;
e811c8ce 8289 bool temp2 = False ;
d14a1e28
RD
8290 PyObject * obj0 = 0 ;
8291 PyObject * obj1 = 0 ;
8292 char *kwnames[] = {
8293 (char *) "self",(char *) "file", NULL
8294 };
8295
8296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8299 if (obj1) {
8300 {
8301 arg2 = wxString_in_helper(obj1);
8302 if (arg2 == NULL) SWIG_fail;
e811c8ce 8303 temp2 = True;
d14a1e28
RD
8304 }
8305 }
8306 {
8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
8308 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8309
8310 wxPyEndAllowThreads(__tstate);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 }
4f89f6a3
RD
8313 {
8314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8315 }
d14a1e28
RD
8316 {
8317 if (temp2)
8318 delete arg2;
8319 }
8320 return resultobj;
8321 fail:
8322 {
8323 if (temp2)
8324 delete arg2;
8325 }
8326 return NULL;
8327}
8328
8329
8330static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8331 PyObject *resultobj;
8332 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8333 PyObject * obj0 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "self", NULL
8336 };
8337
8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
15afbcd0
RD
8339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8341 {
8342 PyThreadState* __tstate = wxPyBeginAllowThreads();
8343 (arg1)->MarkDirty();
8344
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
8348 Py_INCREF(Py_None); resultobj = Py_None;
8349 return resultobj;
8350 fail:
8351 return NULL;
8352}
8353
8354
8355static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8356 PyObject *resultobj;
8357 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8358 PyObject * obj0 = 0 ;
8359 char *kwnames[] = {
8360 (char *) "self", NULL
8361 };
8362
8363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
15afbcd0
RD
8364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 (arg1)->DiscardEdits();
8369
8370 wxPyEndAllowThreads(__tstate);
8371 if (PyErr_Occurred()) SWIG_fail;
8372 }
8373 Py_INCREF(Py_None); resultobj = Py_None;
8374 return resultobj;
8375 fail:
8376 return NULL;
8377}
8378
8379
8380static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8381 PyObject *resultobj;
8382 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8383 unsigned long arg2 ;
8384 PyObject * obj0 = 0 ;
8385 PyObject * obj1 = 0 ;
8386 char *kwnames[] = {
8387 (char *) "self",(char *) "len", NULL
8388 };
8389
8390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8393 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8394 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8395 {
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
8397 (arg1)->SetMaxLength(arg2);
8398
8399 wxPyEndAllowThreads(__tstate);
8400 if (PyErr_Occurred()) SWIG_fail;
8401 }
8402 Py_INCREF(Py_None); resultobj = Py_None;
8403 return resultobj;
8404 fail:
8405 return NULL;
8406}
8407
8408
8409static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8410 PyObject *resultobj;
8411 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8412 wxString *arg2 = 0 ;
e811c8ce 8413 bool temp2 = False ;
d14a1e28
RD
8414 PyObject * obj0 = 0 ;
8415 PyObject * obj1 = 0 ;
8416 char *kwnames[] = {
8417 (char *) "self",(char *) "text", NULL
8418 };
8419
8420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8423 {
8424 arg2 = wxString_in_helper(obj1);
8425 if (arg2 == NULL) SWIG_fail;
e811c8ce 8426 temp2 = True;
d14a1e28
RD
8427 }
8428 {
8429 PyThreadState* __tstate = wxPyBeginAllowThreads();
8430 (arg1)->WriteText((wxString const &)*arg2);
8431
8432 wxPyEndAllowThreads(__tstate);
8433 if (PyErr_Occurred()) SWIG_fail;
8434 }
8435 Py_INCREF(Py_None); resultobj = Py_None;
8436 {
8437 if (temp2)
8438 delete arg2;
8439 }
8440 return resultobj;
8441 fail:
8442 {
8443 if (temp2)
8444 delete arg2;
8445 }
8446 return NULL;
8447}
8448
8449
8450static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8451 PyObject *resultobj;
8452 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8453 wxString *arg2 = 0 ;
e811c8ce 8454 bool temp2 = False ;
d14a1e28
RD
8455 PyObject * obj0 = 0 ;
8456 PyObject * obj1 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self",(char *) "text", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8464 {
8465 arg2 = wxString_in_helper(obj1);
8466 if (arg2 == NULL) SWIG_fail;
e811c8ce 8467 temp2 = True;
d14a1e28
RD
8468 }
8469 {
8470 PyThreadState* __tstate = wxPyBeginAllowThreads();
8471 (arg1)->AppendText((wxString const &)*arg2);
8472
8473 wxPyEndAllowThreads(__tstate);
8474 if (PyErr_Occurred()) SWIG_fail;
8475 }
8476 Py_INCREF(Py_None); resultobj = Py_None;
8477 {
8478 if (temp2)
8479 delete arg2;
8480 }
8481 return resultobj;
8482 fail:
8483 {
8484 if (temp2)
8485 delete arg2;
8486 }
8487 return NULL;
8488}
8489
8490
8491static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8492 PyObject *resultobj;
8493 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8494 wxKeyEvent *arg2 = 0 ;
8495 bool result;
8496 PyObject * obj0 = 0 ;
8497 PyObject * obj1 = 0 ;
8498 char *kwnames[] = {
8499 (char *) "self",(char *) "event", NULL
8500 };
8501
8502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8505 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8506 SWIG_POINTER_EXCEPTION | 0)) == -1)
8507 SWIG_fail;
d14a1e28 8508 if (arg2 == NULL) {
15afbcd0
RD
8509 PyErr_SetString(PyExc_TypeError,"null reference");
8510 SWIG_fail;
d14a1e28
RD
8511 }
8512 {
8513 PyThreadState* __tstate = wxPyBeginAllowThreads();
8514 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8515
8516 wxPyEndAllowThreads(__tstate);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 }
4f89f6a3
RD
8519 {
8520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8521 }
d14a1e28
RD
8522 return resultobj;
8523 fail:
8524 return NULL;
8525}
8526
8527
8528static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8529 PyObject *resultobj;
8530 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8531 long arg2 ;
8532 long arg3 ;
8533 wxTextAttr *arg4 = 0 ;
8534 bool result;
8535 PyObject * obj0 = 0 ;
994141e6
RD
8536 PyObject * obj1 = 0 ;
8537 PyObject * obj2 = 0 ;
d14a1e28
RD
8538 PyObject * obj3 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8541 };
8542
994141e6 8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8546 arg2 = (long) SWIG_AsLong(obj1);
8547 if (PyErr_Occurred()) SWIG_fail;
8548 arg3 = (long) SWIG_AsLong(obj2);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8551 SWIG_POINTER_EXCEPTION | 0)) == -1)
8552 SWIG_fail;
d14a1e28 8553 if (arg4 == NULL) {
15afbcd0
RD
8554 PyErr_SetString(PyExc_TypeError,"null reference");
8555 SWIG_fail;
d14a1e28
RD
8556 }
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
4f89f6a3
RD
8564 {
8565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8566 }
d14a1e28
RD
8567 return resultobj;
8568 fail:
8569 return NULL;
8570}
8571
8572
8573static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8574 PyObject *resultobj;
8575 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8576 long arg2 ;
8577 wxTextAttr *arg3 = 0 ;
8578 bool result;
8579 PyObject * obj0 = 0 ;
994141e6 8580 PyObject * obj1 = 0 ;
d14a1e28
RD
8581 PyObject * obj2 = 0 ;
8582 char *kwnames[] = {
8583 (char *) "self",(char *) "position",(char *) "style", NULL
8584 };
8585
994141e6 8586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8589 arg2 = (long) SWIG_AsLong(obj1);
8590 if (PyErr_Occurred()) SWIG_fail;
8591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8592 SWIG_POINTER_EXCEPTION | 0)) == -1)
8593 SWIG_fail;
d14a1e28 8594 if (arg3 == NULL) {
15afbcd0
RD
8595 PyErr_SetString(PyExc_TypeError,"null reference");
8596 SWIG_fail;
d14a1e28
RD
8597 }
8598 {
8599 PyThreadState* __tstate = wxPyBeginAllowThreads();
8600 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8601
8602 wxPyEndAllowThreads(__tstate);
8603 if (PyErr_Occurred()) SWIG_fail;
8604 }
4f89f6a3
RD
8605 {
8606 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8607 }
d14a1e28
RD
8608 return resultobj;
8609 fail:
8610 return NULL;
8611}
8612
8613
8614static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8615 PyObject *resultobj;
8616 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8617 wxTextAttr *arg2 = 0 ;
8618 bool result;
8619 PyObject * obj0 = 0 ;
8620 PyObject * obj1 = 0 ;
8621 char *kwnames[] = {
8622 (char *) "self",(char *) "style", NULL
8623 };
8624
8625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8629 SWIG_POINTER_EXCEPTION | 0)) == -1)
8630 SWIG_fail;
d14a1e28 8631 if (arg2 == NULL) {
15afbcd0
RD
8632 PyErr_SetString(PyExc_TypeError,"null reference");
8633 SWIG_fail;
d14a1e28
RD
8634 }
8635 {
8636 PyThreadState* __tstate = wxPyBeginAllowThreads();
8637 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8638
8639 wxPyEndAllowThreads(__tstate);
8640 if (PyErr_Occurred()) SWIG_fail;
8641 }
4f89f6a3
RD
8642 {
8643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8644 }
d14a1e28
RD
8645 return resultobj;
8646 fail:
8647 return NULL;
8648}
8649
8650
8651static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8652 PyObject *resultobj;
8653 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8654 wxTextAttr *result;
8655 PyObject * obj0 = 0 ;
8656 char *kwnames[] = {
8657 (char *) "self", NULL
8658 };
8659
8660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
8661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 {
8666 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8667 result = (wxTextAttr *) &_result_ref;
8668 }
8669
8670 wxPyEndAllowThreads(__tstate);
8671 if (PyErr_Occurred()) SWIG_fail;
8672 }
15afbcd0 8673 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
d14a1e28
RD
8674 return resultobj;
8675 fail:
8676 return NULL;
8677}
8678
8679
8680static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8681 PyObject *resultobj;
8682 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8683 long arg2 ;
8684 long arg3 ;
8685 long result;
8686 PyObject * obj0 = 0 ;
994141e6
RD
8687 PyObject * obj1 = 0 ;
8688 PyObject * obj2 = 0 ;
d14a1e28
RD
8689 char *kwnames[] = {
8690 (char *) "self",(char *) "x",(char *) "y", NULL
8691 };
8692
994141e6 8693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8696 arg2 = (long) SWIG_AsLong(obj1);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 arg3 = (long) SWIG_AsLong(obj2);
8699 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8700 {
8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
8702 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8703
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
15afbcd0 8707 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
8708 return resultobj;
8709 fail:
8710 return NULL;
8711}
8712
8713
8714static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8715 PyObject *resultobj;
8716 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8717 long arg2 ;
8718 long *arg3 = (long *) 0 ;
8719 long *arg4 = (long *) 0 ;
8720 long temp3 ;
8721 long temp4 ;
8722 PyObject * obj0 = 0 ;
994141e6 8723 PyObject * obj1 = 0 ;
d14a1e28
RD
8724 char *kwnames[] = {
8725 (char *) "self",(char *) "pos", NULL
8726 };
8727
8728 arg3 = &temp3;
8729 arg4 = &temp4;
994141e6 8730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8733 arg2 = (long) SWIG_AsLong(obj1);
8734 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8738
8739 wxPyEndAllowThreads(__tstate);
8740 if (PyErr_Occurred()) SWIG_fail;
8741 }
8742 Py_INCREF(Py_None); resultobj = Py_None;
8743 {
8744 PyObject *o = PyInt_FromLong((long) (*arg3));
8745 resultobj = t_output_helper(resultobj,o);
8746 }
8747 {
8748 PyObject *o = PyInt_FromLong((long) (*arg4));
8749 resultobj = t_output_helper(resultobj,o);
8750 }
8751 return resultobj;
8752 fail:
8753 return NULL;
8754}
8755
8756
8757static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8758 PyObject *resultobj;
8759 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8760 long arg2 ;
8761 PyObject * obj0 = 0 ;
994141e6 8762 PyObject * obj1 = 0 ;
d14a1e28
RD
8763 char *kwnames[] = {
8764 (char *) "self",(char *) "pos", NULL
8765 };
8766
994141e6 8767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8770 arg2 = (long) SWIG_AsLong(obj1);
8771 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8772 {
8773 PyThreadState* __tstate = wxPyBeginAllowThreads();
8774 (arg1)->ShowPosition(arg2);
8775
8776 wxPyEndAllowThreads(__tstate);
8777 if (PyErr_Occurred()) SWIG_fail;
8778 }
8779 Py_INCREF(Py_None); resultobj = Py_None;
8780 return resultobj;
8781 fail:
8782 return NULL;
8783}
8784
8785
4d5c3d91
RD
8786static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8787 PyObject *resultobj;
8788 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8789 wxPoint *arg2 = 0 ;
8790 long *arg3 = (long *) 0 ;
8791 long *arg4 = (long *) 0 ;
8792 int result;
8793 wxPoint temp2 ;
8794 long temp3 ;
8795 long temp4 ;
8796 PyObject * obj0 = 0 ;
8797 PyObject * obj1 = 0 ;
8798 char *kwnames[] = {
8799 (char *) "self",(char *) "pt", NULL
8800 };
8801
8802 arg3 = &temp3;
8803 arg4 = &temp4;
8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4d5c3d91
RD
8807 {
8808 arg2 = &temp2;
8809 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8810 }
8811 {
8812 PyThreadState* __tstate = wxPyBeginAllowThreads();
8813 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8814
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
15afbcd0 8818 resultobj = SWIG_FromInt((int)result);
4d5c3d91
RD
8819 {
8820 PyObject *o = PyInt_FromLong((long) (*arg3));
8821 resultobj = t_output_helper(resultobj,o);
8822 }
8823 {
8824 PyObject *o = PyInt_FromLong((long) (*arg4));
8825 resultobj = t_output_helper(resultobj,o);
8826 }
8827 return resultobj;
8828 fail:
8829 return NULL;
8830}
8831
8832
d14a1e28
RD
8833static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8834 PyObject *resultobj;
8835 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8836 PyObject * obj0 = 0 ;
8837 char *kwnames[] = {
8838 (char *) "self", NULL
8839 };
8840
8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
8842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8844 {
8845 PyThreadState* __tstate = wxPyBeginAllowThreads();
8846 (arg1)->Copy();
8847
8848 wxPyEndAllowThreads(__tstate);
8849 if (PyErr_Occurred()) SWIG_fail;
8850 }
8851 Py_INCREF(Py_None); resultobj = Py_None;
8852 return resultobj;
8853 fail:
8854 return NULL;
8855}
8856
8857
8858static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8859 PyObject *resultobj;
8860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8861 PyObject * obj0 = 0 ;
8862 char *kwnames[] = {
8863 (char *) "self", NULL
8864 };
8865
8866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
15afbcd0
RD
8867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
8871 (arg1)->Cut();
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) SWIG_fail;
8875 }
8876 Py_INCREF(Py_None); resultobj = Py_None;
8877 return resultobj;
8878 fail:
8879 return NULL;
8880}
8881
8882
8883static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8884 PyObject *resultobj;
8885 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8886 PyObject * obj0 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
15afbcd0
RD
8892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 (arg1)->Paste();
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 Py_INCREF(Py_None); resultobj = Py_None;
8902 return resultobj;
8903 fail:
8904 return NULL;
8905}
8906
8907
8908static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8909 PyObject *resultobj;
8910 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8911 bool result;
8912 PyObject * obj0 = 0 ;
8913 char *kwnames[] = {
8914 (char *) "self", NULL
8915 };
8916
8917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
15afbcd0
RD
8918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8920 {
8921 PyThreadState* __tstate = wxPyBeginAllowThreads();
8922 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8923
8924 wxPyEndAllowThreads(__tstate);
8925 if (PyErr_Occurred()) SWIG_fail;
8926 }
4f89f6a3
RD
8927 {
8928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8929 }
d14a1e28
RD
8930 return resultobj;
8931 fail:
8932 return NULL;
8933}
8934
8935
8936static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8937 PyObject *resultobj;
8938 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8939 bool result;
8940 PyObject * obj0 = 0 ;
8941 char *kwnames[] = {
8942 (char *) "self", NULL
8943 };
8944
8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
15afbcd0
RD
8946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8948 {
8949 PyThreadState* __tstate = wxPyBeginAllowThreads();
8950 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8951
8952 wxPyEndAllowThreads(__tstate);
8953 if (PyErr_Occurred()) SWIG_fail;
8954 }
4f89f6a3
RD
8955 {
8956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8957 }
d14a1e28
RD
8958 return resultobj;
8959 fail:
8960 return NULL;
8961}
8962
8963
8964static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8965 PyObject *resultobj;
8966 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8967 bool result;
8968 PyObject * obj0 = 0 ;
8969 char *kwnames[] = {
8970 (char *) "self", NULL
8971 };
8972
8973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
15afbcd0
RD
8974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8976 {
8977 PyThreadState* __tstate = wxPyBeginAllowThreads();
8978 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8979
8980 wxPyEndAllowThreads(__tstate);
8981 if (PyErr_Occurred()) SWIG_fail;
8982 }
4f89f6a3
RD
8983 {
8984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8985 }
d14a1e28
RD
8986 return resultobj;
8987 fail:
8988 return NULL;
8989}
8990
8991
8992static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8993 PyObject *resultobj;
8994 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8995 PyObject * obj0 = 0 ;
8996 char *kwnames[] = {
8997 (char *) "self", NULL
8998 };
8999
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9003 {
9004 PyThreadState* __tstate = wxPyBeginAllowThreads();
9005 (arg1)->Undo();
9006
9007 wxPyEndAllowThreads(__tstate);
9008 if (PyErr_Occurred()) SWIG_fail;
9009 }
9010 Py_INCREF(Py_None); resultobj = Py_None;
9011 return resultobj;
9012 fail:
9013 return NULL;
9014}
9015
9016
9017static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9018 PyObject *resultobj;
9019 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9020 PyObject * obj0 = 0 ;
9021 char *kwnames[] = {
9022 (char *) "self", NULL
9023 };
9024
9025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9028 {
9029 PyThreadState* __tstate = wxPyBeginAllowThreads();
9030 (arg1)->Redo();
9031
9032 wxPyEndAllowThreads(__tstate);
9033 if (PyErr_Occurred()) SWIG_fail;
9034 }
9035 Py_INCREF(Py_None); resultobj = Py_None;
9036 return resultobj;
9037 fail:
9038 return NULL;
9039}
9040
9041
9042static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9043 PyObject *resultobj;
9044 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9045 bool result;
9046 PyObject * obj0 = 0 ;
9047 char *kwnames[] = {
9048 (char *) "self", NULL
9049 };
9050
9051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9054 {
9055 PyThreadState* __tstate = wxPyBeginAllowThreads();
9056 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
4f89f6a3
RD
9061 {
9062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9063 }
d14a1e28
RD
9064 return resultobj;
9065 fail:
9066 return NULL;
9067}
9068
9069
9070static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj;
9072 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9073 bool result;
9074 PyObject * obj0 = 0 ;
9075 char *kwnames[] = {
9076 (char *) "self", NULL
9077 };
9078
9079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
15afbcd0
RD
9080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9082 {
9083 PyThreadState* __tstate = wxPyBeginAllowThreads();
9084 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9085
9086 wxPyEndAllowThreads(__tstate);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 }
4f89f6a3
RD
9089 {
9090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9091 }
d14a1e28
RD
9092 return resultobj;
9093 fail:
9094 return NULL;
9095}
9096
9097
9098static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9099 PyObject *resultobj;
9100 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9101 long arg2 ;
9102 PyObject * obj0 = 0 ;
994141e6 9103 PyObject * obj1 = 0 ;
d14a1e28
RD
9104 char *kwnames[] = {
9105 (char *) "self",(char *) "pos", NULL
9106 };
9107
994141e6 9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9111 arg2 = (long) SWIG_AsLong(obj1);
9112 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 (arg1)->SetInsertionPoint(arg2);
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 Py_INCREF(Py_None); resultobj = Py_None;
9121 return resultobj;
9122 fail:
9123 return NULL;
9124}
9125
9126
9127static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj;
9129 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9130 PyObject * obj0 = 0 ;
9131 char *kwnames[] = {
9132 (char *) "self", NULL
9133 };
9134
9135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
9136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 (arg1)->SetInsertionPointEnd();
9141
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 Py_INCREF(Py_None); resultobj = Py_None;
9146 return resultobj;
9147 fail:
9148 return NULL;
9149}
9150
9151
9152static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj;
9154 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9155 long result;
9156 PyObject * obj0 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
9162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9164 {
9165 PyThreadState* __tstate = wxPyBeginAllowThreads();
9166 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9167
9168 wxPyEndAllowThreads(__tstate);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 }
15afbcd0 9171 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9172 return resultobj;
9173 fail:
9174 return NULL;
9175}
9176
9177
9178static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9179 PyObject *resultobj;
9180 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9181 long result;
9182 PyObject * obj0 = 0 ;
9183 char *kwnames[] = {
9184 (char *) "self", NULL
9185 };
9186
9187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
15afbcd0 9197 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9198 return resultobj;
9199 fail:
9200 return NULL;
9201}
9202
9203
9204static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9205 PyObject *resultobj;
9206 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9207 long arg2 ;
9208 long arg3 ;
9209 PyObject * obj0 = 0 ;
994141e6
RD
9210 PyObject * obj1 = 0 ;
9211 PyObject * obj2 = 0 ;
d14a1e28
RD
9212 char *kwnames[] = {
9213 (char *) "self",(char *) "from",(char *) "to", NULL
9214 };
9215
994141e6 9216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9219 arg2 = (long) SWIG_AsLong(obj1);
9220 if (PyErr_Occurred()) SWIG_fail;
9221 arg3 = (long) SWIG_AsLong(obj2);
9222 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9223 {
9224 PyThreadState* __tstate = wxPyBeginAllowThreads();
9225 (arg1)->SetSelection(arg2,arg3);
9226
9227 wxPyEndAllowThreads(__tstate);
9228 if (PyErr_Occurred()) SWIG_fail;
9229 }
9230 Py_INCREF(Py_None); resultobj = Py_None;
9231 return resultobj;
9232 fail:
9233 return NULL;
9234}
9235
9236
9237static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9238 PyObject *resultobj;
9239 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9240 PyObject * obj0 = 0 ;
9241 char *kwnames[] = {
9242 (char *) "self", NULL
9243 };
9244
9245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
9246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9248 {
9249 PyThreadState* __tstate = wxPyBeginAllowThreads();
9250 (arg1)->SelectAll();
9251
9252 wxPyEndAllowThreads(__tstate);
9253 if (PyErr_Occurred()) SWIG_fail;
9254 }
9255 Py_INCREF(Py_None); resultobj = Py_None;
9256 return resultobj;
9257 fail:
9258 return NULL;
9259}
9260
9261
9262static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9263 PyObject *resultobj;
9264 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9265 bool arg2 ;
9266 PyObject * obj0 = 0 ;
9267 PyObject * obj1 = 0 ;
9268 char *kwnames[] = {
9269 (char *) "self",(char *) "editable", NULL
9270 };
9271
9272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9275 arg2 = (bool) SWIG_AsBool(obj1);
9276 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9277 {
9278 PyThreadState* __tstate = wxPyBeginAllowThreads();
9279 (arg1)->SetEditable(arg2);
9280
9281 wxPyEndAllowThreads(__tstate);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 Py_INCREF(Py_None); resultobj = Py_None;
9285 return resultobj;
9286 fail:
9287 return NULL;
9288}
9289
9290
9291static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9292 PyObject *resultobj;
9293 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9294 wxString *arg2 = 0 ;
e811c8ce 9295 bool temp2 = False ;
d14a1e28
RD
9296 PyObject * obj0 = 0 ;
9297 PyObject * obj1 = 0 ;
9298 char *kwnames[] = {
9299 (char *) "self",(char *) "text", NULL
9300 };
9301
9302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9305 {
9306 arg2 = wxString_in_helper(obj1);
9307 if (arg2 == NULL) SWIG_fail;
e811c8ce 9308 temp2 = True;
d14a1e28
RD
9309 }
9310 {
9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
9312 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9313
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
9317 Py_INCREF(Py_None); resultobj = Py_None;
9318 {
9319 if (temp2)
9320 delete arg2;
9321 }
9322 return resultobj;
9323 fail:
9324 {
9325 if (temp2)
9326 delete arg2;
9327 }
9328 return NULL;
9329}
9330
9331
9332static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9333 PyObject *resultobj;
9334 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9335 long arg2 ;
9336 long arg3 ;
9337 wxString result;
9338 PyObject * obj0 = 0 ;
994141e6
RD
9339 PyObject * obj1 = 0 ;
9340 PyObject * obj2 = 0 ;
d14a1e28
RD
9341 char *kwnames[] = {
9342 (char *) "self",(char *) "from",(char *) "to", NULL
9343 };
9344
994141e6 9345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9348 arg2 = (long) SWIG_AsLong(obj1);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 arg3 = (long) SWIG_AsLong(obj2);
9351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9352 {
9353 PyThreadState* __tstate = wxPyBeginAllowThreads();
9354 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9355
9356 wxPyEndAllowThreads(__tstate);
9357 if (PyErr_Occurred()) SWIG_fail;
9358 }
9359 {
9360#if wxUSE_UNICODE
9361 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9362#else
9363 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9364#endif
9365 }
9366 return resultobj;
9367 fail:
9368 return NULL;
9369}
9370
9371
9372static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9373 PyObject *obj;
9374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9375 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9376 Py_INCREF(obj);
9377 return Py_BuildValue((char *)"");
9378}
9379static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9380 PyObject *resultobj;
9381 int arg1 ;
9382 wxMouseEvent *arg2 = 0 ;
9383 long arg3 ;
9384 long arg4 ;
9385 wxTextUrlEvent *result;
994141e6 9386 PyObject * obj0 = 0 ;
d14a1e28 9387 PyObject * obj1 = 0 ;
994141e6
RD
9388 PyObject * obj2 = 0 ;
9389 PyObject * obj3 = 0 ;
d14a1e28
RD
9390 char *kwnames[] = {
9391 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9392 };
9393
994141e6 9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9395 arg1 = (int) SWIG_AsInt(obj0);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9398 SWIG_POINTER_EXCEPTION | 0)) == -1)
9399 SWIG_fail;
d14a1e28 9400 if (arg2 == NULL) {
15afbcd0
RD
9401 PyErr_SetString(PyExc_TypeError,"null reference");
9402 SWIG_fail;
994141e6 9403 }
15afbcd0
RD
9404 arg3 = (long) SWIG_AsLong(obj2);
9405 if (PyErr_Occurred()) SWIG_fail;
9406 arg4 = (long) SWIG_AsLong(obj3);
9407 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9411
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
15afbcd0 9415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
d14a1e28
RD
9416 return resultobj;
9417 fail:
9418 return NULL;
9419}
9420
9421
9422static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9423 PyObject *resultobj;
9424 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9425 wxMouseEvent *result;
9426 PyObject * obj0 = 0 ;
9427 char *kwnames[] = {
9428 (char *) "self", NULL
9429 };
9430
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
9432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 {
9437 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9438 result = (wxMouseEvent *) &_result_ref;
9439 }
9440
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
15afbcd0 9444 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
d14a1e28
RD
9445 return resultobj;
9446 fail:
9447 return NULL;
9448}
9449
9450
9451static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9452 PyObject *resultobj;
9453 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9454 long result;
9455 PyObject * obj0 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "self", NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
9461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
15afbcd0 9470 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9471 return resultobj;
9472 fail:
9473 return NULL;
9474}
9475
9476
9477static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj;
9479 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9480 long result;
9481 PyObject * obj0 = 0 ;
9482 char *kwnames[] = {
9483 (char *) "self", NULL
9484 };
9485
9486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
9487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9489 {
9490 PyThreadState* __tstate = wxPyBeginAllowThreads();
9491 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9492
9493 wxPyEndAllowThreads(__tstate);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 }
15afbcd0 9496 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
9497 return resultobj;
9498 fail:
9499 return NULL;
9500}
9501
9502
9503static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9504 PyObject *obj;
9505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9506 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9507 Py_INCREF(obj);
9508 return Py_BuildValue((char *)"");
9509}
b2dc1044
RD
9510static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9511 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9512 return 1;
9513}
9514
9515
9516static PyObject *_wrap_ScrollBarNameStr_get() {
9517 PyObject *pyobj;
9518
9519 {
9520#if wxUSE_UNICODE
9521 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9522#else
9523 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9524#endif
9525 }
9526 return pyobj;
9527}
9528
9529
d14a1e28
RD
9530static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9531 PyObject *resultobj;
9532 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9533 int arg2 = (int) -1 ;
d14a1e28
RD
9534 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9535 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9536 wxSize const &arg4_defvalue = wxDefaultSize ;
9537 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9538 long arg5 = (long) wxSB_HORIZONTAL ;
9539 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9540 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9541 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9542 wxString *arg7 = (wxString *) &arg7_defvalue ;
9543 wxScrollBar *result;
9544 wxPoint temp3 ;
9545 wxSize temp4 ;
e811c8ce 9546 bool temp7 = False ;
d14a1e28 9547 PyObject * obj0 = 0 ;
994141e6 9548 PyObject * obj1 = 0 ;
d14a1e28
RD
9549 PyObject * obj2 = 0 ;
9550 PyObject * obj3 = 0 ;
994141e6 9551 PyObject * obj4 = 0 ;
d14a1e28
RD
9552 PyObject * obj5 = 0 ;
9553 PyObject * obj6 = 0 ;
9554 char *kwnames[] = {
9555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9556 };
9557
994141e6 9558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
9559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
9560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9561 if (obj1) {
15afbcd0
RD
9562 arg2 = (int) SWIG_AsInt(obj1);
9563 if (PyErr_Occurred()) SWIG_fail;
994141e6 9564 }
d14a1e28
RD
9565 if (obj2) {
9566 {
9567 arg3 = &temp3;
9568 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9569 }
9570 }
9571 if (obj3) {
9572 {
9573 arg4 = &temp4;
9574 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9575 }
9576 }
994141e6 9577 if (obj4) {
15afbcd0
RD
9578 arg5 = (long) SWIG_AsLong(obj4);
9579 if (PyErr_Occurred()) SWIG_fail;
994141e6 9580 }
d14a1e28 9581 if (obj5) {
15afbcd0
RD
9582 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
9583 SWIG_POINTER_EXCEPTION | 0)) == -1)
9584 SWIG_fail;
d14a1e28 9585 if (arg6 == NULL) {
15afbcd0
RD
9586 PyErr_SetString(PyExc_TypeError,"null reference");
9587 SWIG_fail;
d14a1e28
RD
9588 }
9589 }
9590 if (obj6) {
9591 {
9592 arg7 = wxString_in_helper(obj6);
9593 if (arg7 == NULL) SWIG_fail;
e811c8ce 9594 temp7 = True;
d14a1e28
RD
9595 }
9596 }
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
15afbcd0 9604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
9605 {
9606 if (temp7)
9607 delete arg7;
9608 }
9609 return resultobj;
9610 fail:
9611 {
9612 if (temp7)
9613 delete arg7;
9614 }
9615 return NULL;
9616}
9617
9618
9619static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9620 PyObject *resultobj;
9621 wxScrollBar *result;
9622 char *kwnames[] = {
9623 NULL
9624 };
9625
9626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9627 {
9628 PyThreadState* __tstate = wxPyBeginAllowThreads();
9629 result = (wxScrollBar *)new wxScrollBar();
9630
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
15afbcd0 9634 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
d14a1e28
RD
9635 return resultobj;
9636 fail:
9637 return NULL;
9638}
9639
9640
9641static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9642 PyObject *resultobj;
9643 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9644 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 9645 int arg3 = (int) -1 ;
d14a1e28
RD
9646 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9647 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9648 wxSize const &arg5_defvalue = wxDefaultSize ;
9649 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9650 long arg6 = (long) wxSB_HORIZONTAL ;
9651 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9652 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9653 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9654 wxString *arg8 = (wxString *) &arg8_defvalue ;
9655 bool result;
9656 wxPoint temp4 ;
9657 wxSize temp5 ;
e811c8ce 9658 bool temp8 = False ;
d14a1e28
RD
9659 PyObject * obj0 = 0 ;
9660 PyObject * obj1 = 0 ;
994141e6 9661 PyObject * obj2 = 0 ;
d14a1e28
RD
9662 PyObject * obj3 = 0 ;
9663 PyObject * obj4 = 0 ;
994141e6 9664 PyObject * obj5 = 0 ;
d14a1e28
RD
9665 PyObject * obj6 = 0 ;
9666 PyObject * obj7 = 0 ;
9667 char *kwnames[] = {
9668 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9669 };
9670
994141e6 9671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
9672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9674 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
9675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 9676 if (obj2) {
15afbcd0
RD
9677 arg3 = (int) SWIG_AsInt(obj2);
9678 if (PyErr_Occurred()) SWIG_fail;
994141e6 9679 }
d14a1e28
RD
9680 if (obj3) {
9681 {
9682 arg4 = &temp4;
9683 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9684 }
9685 }
9686 if (obj4) {
9687 {
9688 arg5 = &temp5;
9689 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9690 }
9691 }
994141e6 9692 if (obj5) {
15afbcd0
RD
9693 arg6 = (long) SWIG_AsLong(obj5);
9694 if (PyErr_Occurred()) SWIG_fail;
994141e6 9695 }
d14a1e28 9696 if (obj6) {
15afbcd0
RD
9697 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
9698 SWIG_POINTER_EXCEPTION | 0)) == -1)
9699 SWIG_fail;
d14a1e28 9700 if (arg7 == NULL) {
15afbcd0
RD
9701 PyErr_SetString(PyExc_TypeError,"null reference");
9702 SWIG_fail;
d14a1e28
RD
9703 }
9704 }
9705 if (obj7) {
9706 {
9707 arg8 = wxString_in_helper(obj7);
9708 if (arg8 == NULL) SWIG_fail;
e811c8ce 9709 temp8 = True;
d14a1e28
RD
9710 }
9711 }
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9715
9716 wxPyEndAllowThreads(__tstate);
9717 if (PyErr_Occurred()) SWIG_fail;
9718 }
4f89f6a3
RD
9719 {
9720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9721 }
d14a1e28
RD
9722 {
9723 if (temp8)
9724 delete arg8;
9725 }
9726 return resultobj;
9727 fail:
9728 {
9729 if (temp8)
9730 delete arg8;
9731 }
9732 return NULL;
9733}
9734
9735
9736static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj;
9738 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9739 int result;
9740 PyObject * obj0 = 0 ;
9741 char *kwnames[] = {
9742 (char *) "self", NULL
9743 };
9744
9745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
9746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9748 {
9749 PyThreadState* __tstate = wxPyBeginAllowThreads();
9750 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9751
9752 wxPyEndAllowThreads(__tstate);
9753 if (PyErr_Occurred()) SWIG_fail;
9754 }
15afbcd0 9755 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9756 return resultobj;
9757 fail:
9758 return NULL;
9759}
9760
9761
9762static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9763 PyObject *resultobj;
9764 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9765 int result;
9766 PyObject * obj0 = 0 ;
9767 char *kwnames[] = {
9768 (char *) "self", NULL
9769 };
9770
9771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
9772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
15afbcd0 9781 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9782 return resultobj;
9783 fail:
9784 return NULL;
9785}
9786
9787
9788static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj;
9790 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9791 int result;
9792 PyObject * obj0 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
9798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9800 {
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
9802 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9803
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
15afbcd0 9807 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9808 return resultobj;
9809 fail:
9810 return NULL;
9811}
9812
9813
9814static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject *resultobj;
9816 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9817 int result;
9818 PyObject * obj0 = 0 ;
9819 char *kwnames[] = {
9820 (char *) "self", NULL
9821 };
9822
9823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
15afbcd0
RD
9824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 result = (int)((wxScrollBar const *)arg1)->GetRange();
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
15afbcd0 9833 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9834 return resultobj;
9835 fail:
9836 return NULL;
9837}
9838
9839
9840static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject *resultobj;
9842 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9843 bool result;
9844 PyObject * obj0 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
4f89f6a3
RD
9859 {
9860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9861 }
d14a1e28
RD
9862 return resultobj;
9863 fail:
9864 return NULL;
9865}
9866
9867
9868static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9869 PyObject *resultobj;
9870 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9871 int arg2 ;
9872 PyObject * obj0 = 0 ;
994141e6 9873 PyObject * obj1 = 0 ;
d14a1e28
RD
9874 char *kwnames[] = {
9875 (char *) "self",(char *) "viewStart", NULL
9876 };
9877
994141e6 9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9881 arg2 = (int) SWIG_AsInt(obj1);
9882 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9883 {
9884 PyThreadState* __tstate = wxPyBeginAllowThreads();
9885 (arg1)->SetThumbPosition(arg2);
9886
9887 wxPyEndAllowThreads(__tstate);
9888 if (PyErr_Occurred()) SWIG_fail;
9889 }
9890 Py_INCREF(Py_None); resultobj = Py_None;
9891 return resultobj;
9892 fail:
9893 return NULL;
9894}
9895
9896
9897static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9898 PyObject *resultobj;
9899 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9900 int arg2 ;
9901 int arg3 ;
9902 int arg4 ;
9903 int arg5 ;
e811c8ce 9904 bool arg6 = (bool) True ;
d14a1e28 9905 PyObject * obj0 = 0 ;
994141e6
RD
9906 PyObject * obj1 = 0 ;
9907 PyObject * obj2 = 0 ;
9908 PyObject * obj3 = 0 ;
9909 PyObject * obj4 = 0 ;
d14a1e28
RD
9910 PyObject * obj5 = 0 ;
9911 char *kwnames[] = {
9912 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9913 };
9914
994141e6 9915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
9917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9918 arg2 = (int) SWIG_AsInt(obj1);
9919 if (PyErr_Occurred()) SWIG_fail;
9920 arg3 = (int) SWIG_AsInt(obj2);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 arg4 = (int) SWIG_AsInt(obj3);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 arg5 = (int) SWIG_AsInt(obj4);
9925 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9926 if (obj5) {
15afbcd0
RD
9927 arg6 = (bool) SWIG_AsBool(obj5);
9928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9929 }
9930 {
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9933
9934 wxPyEndAllowThreads(__tstate);
9935 if (PyErr_Occurred()) SWIG_fail;
9936 }
9937 Py_INCREF(Py_None); resultobj = Py_None;
9938 return resultobj;
9939 fail:
9940 return NULL;
9941}
9942
9943
9944static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9945 PyObject *obj;
9946 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9947 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9948 Py_INCREF(obj);
9949 return Py_BuildValue((char *)"");
9950}
b2dc1044
RD
9951static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
9952 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9953 return 1;
9954}
9955
9956
9957static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9958 PyObject *pyobj;
9959
9960 {
9961#if wxUSE_UNICODE
9962 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9963#else
9964 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9965#endif
9966 }
9967 return pyobj;
9968}
9969
9970
9971static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
9972 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9973 return 1;
9974}
9975
9976
9977static PyObject *_wrap_SpinCtrlNameStr_get() {
9978 PyObject *pyobj;
9979
9980 {
9981#if wxUSE_UNICODE
9982 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9983#else
9984 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9985#endif
9986 }
9987 return pyobj;
9988}
9989
9990
d14a1e28
RD
9991static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9992 PyObject *resultobj;
9993 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9994 int arg2 = (int) -1 ;
d14a1e28
RD
9995 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9996 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9997 wxSize const &arg4_defvalue = wxDefaultSize ;
9998 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9999 long arg5 = (long) wxSP_HORIZONTAL ;
10000 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10001 wxString *arg6 = (wxString *) &arg6_defvalue ;
10002 wxSpinButton *result;
10003 wxPoint temp3 ;
10004 wxSize temp4 ;
e811c8ce 10005 bool temp6 = False ;
d14a1e28 10006 PyObject * obj0 = 0 ;
994141e6 10007 PyObject * obj1 = 0 ;
d14a1e28
RD
10008 PyObject * obj2 = 0 ;
10009 PyObject * obj3 = 0 ;
994141e6 10010 PyObject * obj4 = 0 ;
d14a1e28
RD
10011 PyObject * obj5 = 0 ;
10012 char *kwnames[] = {
10013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10014 };
10015
994141e6 10016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
10017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10019 if (obj1) {
15afbcd0
RD
10020 arg2 = (int) SWIG_AsInt(obj1);
10021 if (PyErr_Occurred()) SWIG_fail;
994141e6 10022 }
d14a1e28
RD
10023 if (obj2) {
10024 {
10025 arg3 = &temp3;
10026 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10027 }
10028 }
10029 if (obj3) {
10030 {
10031 arg4 = &temp4;
10032 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10033 }
10034 }
994141e6 10035 if (obj4) {
15afbcd0
RD
10036 arg5 = (long) SWIG_AsLong(obj4);
10037 if (PyErr_Occurred()) SWIG_fail;
994141e6 10038 }
d14a1e28
RD
10039 if (obj5) {
10040 {
10041 arg6 = wxString_in_helper(obj5);
10042 if (arg6 == NULL) SWIG_fail;
e811c8ce 10043 temp6 = True;
d14a1e28
RD
10044 }
10045 }
10046 {
10047 PyThreadState* __tstate = wxPyBeginAllowThreads();
10048 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10049
10050 wxPyEndAllowThreads(__tstate);
10051 if (PyErr_Occurred()) SWIG_fail;
10052 }
15afbcd0 10053 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
10054 {
10055 if (temp6)
10056 delete arg6;
10057 }
10058 return resultobj;
10059 fail:
10060 {
10061 if (temp6)
10062 delete arg6;
10063 }
10064 return NULL;
10065}
10066
10067
10068static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10069 PyObject *resultobj;
10070 wxSpinButton *result;
10071 char *kwnames[] = {
10072 NULL
10073 };
10074
10075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10076 {
10077 PyThreadState* __tstate = wxPyBeginAllowThreads();
10078 result = (wxSpinButton *)new wxSpinButton();
10079
10080 wxPyEndAllowThreads(__tstate);
10081 if (PyErr_Occurred()) SWIG_fail;
10082 }
15afbcd0 10083 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
d14a1e28
RD
10084 return resultobj;
10085 fail:
10086 return NULL;
10087}
10088
10089
10090static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10091 PyObject *resultobj;
10092 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10093 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10094 int arg3 = (int) -1 ;
d14a1e28
RD
10095 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10096 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10097 wxSize const &arg5_defvalue = wxDefaultSize ;
10098 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10099 long arg6 = (long) wxSP_HORIZONTAL ;
10100 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10101 wxString *arg7 = (wxString *) &arg7_defvalue ;
10102 bool result;
10103 wxPoint temp4 ;
10104 wxSize temp5 ;
e811c8ce 10105 bool temp7 = False ;
d14a1e28
RD
10106 PyObject * obj0 = 0 ;
10107 PyObject * obj1 = 0 ;
994141e6 10108 PyObject * obj2 = 0 ;
d14a1e28
RD
10109 PyObject * obj3 = 0 ;
10110 PyObject * obj4 = 0 ;
994141e6 10111 PyObject * obj5 = 0 ;
d14a1e28
RD
10112 PyObject * obj6 = 0 ;
10113 char *kwnames[] = {
10114 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10115 };
10116
994141e6 10117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10122 if (obj2) {
15afbcd0
RD
10123 arg3 = (int) SWIG_AsInt(obj2);
10124 if (PyErr_Occurred()) SWIG_fail;
994141e6 10125 }
d14a1e28
RD
10126 if (obj3) {
10127 {
10128 arg4 = &temp4;
10129 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10130 }
10131 }
10132 if (obj4) {
10133 {
10134 arg5 = &temp5;
10135 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10136 }
10137 }
994141e6 10138 if (obj5) {
15afbcd0
RD
10139 arg6 = (long) SWIG_AsLong(obj5);
10140 if (PyErr_Occurred()) SWIG_fail;
994141e6 10141 }
d14a1e28
RD
10142 if (obj6) {
10143 {
10144 arg7 = wxString_in_helper(obj6);
10145 if (arg7 == NULL) SWIG_fail;
e811c8ce 10146 temp7 = True;
d14a1e28
RD
10147 }
10148 }
10149 {
10150 PyThreadState* __tstate = wxPyBeginAllowThreads();
10151 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10152
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
4f89f6a3
RD
10156 {
10157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10158 }
d14a1e28
RD
10159 {
10160 if (temp7)
10161 delete arg7;
10162 }
10163 return resultobj;
10164 fail:
10165 {
10166 if (temp7)
10167 delete arg7;
10168 }
10169 return NULL;
10170}
10171
10172
10173static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10174 PyObject *resultobj;
10175 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10176 int result;
10177 PyObject * obj0 = 0 ;
10178 char *kwnames[] = {
10179 (char *) "self", NULL
10180 };
10181
10182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10185 {
10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
10187 result = (int)((wxSpinButton const *)arg1)->GetValue();
10188
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 }
15afbcd0 10192 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10193 return resultobj;
10194 fail:
10195 return NULL;
10196}
10197
10198
10199static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10200 PyObject *resultobj;
10201 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10202 int result;
10203 PyObject * obj0 = 0 ;
10204 char *kwnames[] = {
10205 (char *) "self", NULL
10206 };
10207
10208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10211 {
10212 PyThreadState* __tstate = wxPyBeginAllowThreads();
10213 result = (int)((wxSpinButton const *)arg1)->GetMin();
10214
10215 wxPyEndAllowThreads(__tstate);
10216 if (PyErr_Occurred()) SWIG_fail;
10217 }
15afbcd0 10218 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10219 return resultobj;
10220 fail:
10221 return NULL;
10222}
10223
10224
10225static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10226 PyObject *resultobj;
10227 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10228 int result;
10229 PyObject * obj0 = 0 ;
10230 char *kwnames[] = {
10231 (char *) "self", NULL
10232 };
10233
10234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10237 {
10238 PyThreadState* __tstate = wxPyBeginAllowThreads();
10239 result = (int)((wxSpinButton const *)arg1)->GetMax();
10240
10241 wxPyEndAllowThreads(__tstate);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 }
15afbcd0 10244 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10245 return resultobj;
10246 fail:
10247 return NULL;
10248}
10249
10250
10251static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10252 PyObject *resultobj;
10253 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10254 int arg2 ;
10255 PyObject * obj0 = 0 ;
994141e6 10256 PyObject * obj1 = 0 ;
d14a1e28
RD
10257 char *kwnames[] = {
10258 (char *) "self",(char *) "val", NULL
10259 };
10260
994141e6 10261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10264 arg2 = (int) SWIG_AsInt(obj1);
10265 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 (arg1)->SetValue(arg2);
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
10273 Py_INCREF(Py_None); resultobj = Py_None;
10274 return resultobj;
10275 fail:
10276 return NULL;
10277}
10278
10279
10280static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj;
10282 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10283 int arg2 ;
10284 PyObject * obj0 = 0 ;
994141e6 10285 PyObject * obj1 = 0 ;
d14a1e28
RD
10286 char *kwnames[] = {
10287 (char *) "self",(char *) "minVal", NULL
10288 };
10289
994141e6 10290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10293 arg2 = (int) SWIG_AsInt(obj1);
10294 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10295 {
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 (arg1)->SetMin(arg2);
10298
10299 wxPyEndAllowThreads(__tstate);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 }
10302 Py_INCREF(Py_None); resultobj = Py_None;
10303 return resultobj;
10304 fail:
10305 return NULL;
10306}
10307
10308
10309static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10310 PyObject *resultobj;
10311 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10312 int arg2 ;
10313 PyObject * obj0 = 0 ;
994141e6 10314 PyObject * obj1 = 0 ;
d14a1e28
RD
10315 char *kwnames[] = {
10316 (char *) "self",(char *) "maxVal", NULL
10317 };
10318
994141e6 10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10322 arg2 = (int) SWIG_AsInt(obj1);
10323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 (arg1)->SetMax(arg2);
10327
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 Py_INCREF(Py_None); resultobj = Py_None;
10332 return resultobj;
10333 fail:
10334 return NULL;
10335}
10336
10337
10338static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj;
10340 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10341 int arg2 ;
10342 int arg3 ;
10343 PyObject * obj0 = 0 ;
994141e6
RD
10344 PyObject * obj1 = 0 ;
10345 PyObject * obj2 = 0 ;
d14a1e28
RD
10346 char *kwnames[] = {
10347 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10348 };
10349
994141e6 10350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10353 arg2 = (int) SWIG_AsInt(obj1);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 arg3 = (int) SWIG_AsInt(obj2);
10356 if (PyErr_Occurred()) SWIG_fail;
994141e6 10357 {
15afbcd0
RD
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 (arg1)->SetRange(arg2,arg3);
10360
10361 wxPyEndAllowThreads(__tstate);
d14a1e28
RD
10362 if (PyErr_Occurred()) SWIG_fail;
10363 }
10364 Py_INCREF(Py_None); resultobj = Py_None;
10365 return resultobj;
10366 fail:
10367 return NULL;
10368}
10369
10370
10371static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10372 PyObject *resultobj;
10373 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10374 bool result;
10375 PyObject * obj0 = 0 ;
10376 char *kwnames[] = {
10377 (char *) "self", NULL
10378 };
10379
10380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
10381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10383 {
10384 PyThreadState* __tstate = wxPyBeginAllowThreads();
10385 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10386
10387 wxPyEndAllowThreads(__tstate);
10388 if (PyErr_Occurred()) SWIG_fail;
10389 }
4f89f6a3
RD
10390 {
10391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10392 }
d14a1e28
RD
10393 return resultobj;
10394 fail:
10395 return NULL;
10396}
10397
10398
10399static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10400 PyObject *obj;
10401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10402 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10403 Py_INCREF(obj);
10404 return Py_BuildValue((char *)"");
10405}
10406static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10407 PyObject *resultobj;
10408 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10409 int arg2 = (int) -1 ;
d14a1e28
RD
10410 wxString const &arg3_defvalue = wxPyEmptyString ;
10411 wxString *arg3 = (wxString *) &arg3_defvalue ;
10412 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10413 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10414 wxSize const &arg5_defvalue = wxDefaultSize ;
10415 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10416 long arg6 = (long) wxSP_ARROW_KEYS ;
10417 int arg7 = (int) 0 ;
10418 int arg8 = (int) 100 ;
10419 int arg9 = (int) 0 ;
10420 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10421 wxString *arg10 = (wxString *) &arg10_defvalue ;
10422 wxSpinCtrl *result;
e811c8ce 10423 bool temp3 = False ;
d14a1e28
RD
10424 wxPoint temp4 ;
10425 wxSize temp5 ;
e811c8ce 10426 bool temp10 = False ;
d14a1e28 10427 PyObject * obj0 = 0 ;
994141e6 10428 PyObject * obj1 = 0 ;
d14a1e28
RD
10429 PyObject * obj2 = 0 ;
10430 PyObject * obj3 = 0 ;
10431 PyObject * obj4 = 0 ;
994141e6
RD
10432 PyObject * obj5 = 0 ;
10433 PyObject * obj6 = 0 ;
10434 PyObject * obj7 = 0 ;
10435 PyObject * obj8 = 0 ;
d14a1e28
RD
10436 PyObject * obj9 = 0 ;
10437 char *kwnames[] = {
10438 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10439 };
10440
994141e6 10441 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
10442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10444 if (obj1) {
15afbcd0
RD
10445 arg2 = (int) SWIG_AsInt(obj1);
10446 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10447 }
10448 if (obj2) {
d14a1e28
RD
10449 {
10450 arg3 = wxString_in_helper(obj2);
10451 if (arg3 == NULL) SWIG_fail;
e811c8ce 10452 temp3 = True;
d14a1e28
RD
10453 }
10454 }
10455 if (obj3) {
10456 {
10457 arg4 = &temp4;
10458 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10459 }
10460 }
10461 if (obj4) {
10462 {
10463 arg5 = &temp5;
10464 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10465 }
10466 }
994141e6 10467 if (obj5) {
15afbcd0
RD
10468 arg6 = (long) SWIG_AsLong(obj5);
10469 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10470 }
10471 if (obj6) {
15afbcd0
RD
10472 arg7 = (int) SWIG_AsInt(obj6);
10473 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10474 }
10475 if (obj7) {
15afbcd0
RD
10476 arg8 = (int) SWIG_AsInt(obj7);
10477 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10478 }
10479 if (obj8) {
15afbcd0
RD
10480 arg9 = (int) SWIG_AsInt(obj8);
10481 if (PyErr_Occurred()) SWIG_fail;
994141e6 10482 }
d14a1e28
RD
10483 if (obj9) {
10484 {
10485 arg10 = wxString_in_helper(obj9);
10486 if (arg10 == NULL) SWIG_fail;
e811c8ce 10487 temp10 = True;
d14a1e28
RD
10488 }
10489 }
10490 {
10491 PyThreadState* __tstate = wxPyBeginAllowThreads();
10492 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10493
10494 wxPyEndAllowThreads(__tstate);
10495 if (PyErr_Occurred()) SWIG_fail;
10496 }
15afbcd0 10497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
10498 {
10499 if (temp3)
10500 delete arg3;
10501 }
10502 {
10503 if (temp10)
10504 delete arg10;
10505 }
10506 return resultobj;
10507 fail:
10508 {
10509 if (temp3)
10510 delete arg3;
10511 }
10512 {
10513 if (temp10)
10514 delete arg10;
10515 }
10516 return NULL;
10517}
10518
10519
10520static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10521 PyObject *resultobj;
10522 wxSpinCtrl *result;
10523 char *kwnames[] = {
10524 NULL
10525 };
10526
10527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10528 {
10529 PyThreadState* __tstate = wxPyBeginAllowThreads();
10530 result = (wxSpinCtrl *)new wxSpinCtrl();
10531
10532 wxPyEndAllowThreads(__tstate);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
15afbcd0 10535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
d14a1e28
RD
10536 return resultobj;
10537 fail:
10538 return NULL;
10539}
10540
10541
10542static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10543 PyObject *resultobj;
10544 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10545 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10546 int arg3 = (int) -1 ;
d14a1e28
RD
10547 wxString const &arg4_defvalue = wxPyEmptyString ;
10548 wxString *arg4 = (wxString *) &arg4_defvalue ;
10549 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10550 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10551 wxSize const &arg6_defvalue = wxDefaultSize ;
10552 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10553 long arg7 = (long) wxSP_ARROW_KEYS ;
10554 int arg8 = (int) 0 ;
10555 int arg9 = (int) 100 ;
10556 int arg10 = (int) 0 ;
10557 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10558 wxString *arg11 = (wxString *) &arg11_defvalue ;
10559 bool result;
e811c8ce 10560 bool temp4 = False ;
d14a1e28
RD
10561 wxPoint temp5 ;
10562 wxSize temp6 ;
e811c8ce 10563 bool temp11 = False ;
d14a1e28
RD
10564 PyObject * obj0 = 0 ;
10565 PyObject * obj1 = 0 ;
994141e6 10566 PyObject * obj2 = 0 ;
d14a1e28
RD
10567 PyObject * obj3 = 0 ;
10568 PyObject * obj4 = 0 ;
10569 PyObject * obj5 = 0 ;
994141e6
RD
10570 PyObject * obj6 = 0 ;
10571 PyObject * obj7 = 0 ;
10572 PyObject * obj8 = 0 ;
10573 PyObject * obj9 = 0 ;
d14a1e28
RD
10574 PyObject * obj10 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10577 };
10578
994141e6 10579 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
10580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 10584 if (obj2) {
15afbcd0
RD
10585 arg3 = (int) SWIG_AsInt(obj2);
10586 if (PyErr_Occurred()) SWIG_fail;
994141e6 10587 }
d14a1e28
RD
10588 if (obj3) {
10589 {
10590 arg4 = wxString_in_helper(obj3);
10591 if (arg4 == NULL) SWIG_fail;
e811c8ce 10592 temp4 = True;
d14a1e28
RD
10593 }
10594 }
10595 if (obj4) {
10596 {
10597 arg5 = &temp5;
10598 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10599 }
10600 }
10601 if (obj5) {
10602 {
10603 arg6 = &temp6;
10604 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10605 }
10606 }
994141e6 10607 if (obj6) {
15afbcd0
RD
10608 arg7 = (long) SWIG_AsLong(obj6);
10609 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10610 }
10611 if (obj7) {
15afbcd0
RD
10612 arg8 = (int) SWIG_AsInt(obj7);
10613 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10614 }
10615 if (obj8) {
15afbcd0
RD
10616 arg9 = (int) SWIG_AsInt(obj8);
10617 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10618 }
10619 if (obj9) {
15afbcd0
RD
10620 arg10 = (int) SWIG_AsInt(obj9);
10621 if (PyErr_Occurred()) SWIG_fail;
994141e6 10622 }
d14a1e28
RD
10623 if (obj10) {
10624 {
10625 arg11 = wxString_in_helper(obj10);
10626 if (arg11 == NULL) SWIG_fail;
e811c8ce 10627 temp11 = True;
d14a1e28
RD
10628 }
10629 }
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10633
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) SWIG_fail;
10636 }
4f89f6a3
RD
10637 {
10638 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10639 }
d14a1e28
RD
10640 {
10641 if (temp4)
10642 delete arg4;
10643 }
10644 {
10645 if (temp11)
10646 delete arg11;
10647 }
10648 return resultobj;
10649 fail:
10650 {
10651 if (temp4)
10652 delete arg4;
10653 }
10654 {
10655 if (temp11)
10656 delete arg11;
10657 }
10658 return NULL;
10659}
10660
10661
10662static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10665 int result;
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10674 {
10675 PyThreadState* __tstate = wxPyBeginAllowThreads();
10676 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10677
10678 wxPyEndAllowThreads(__tstate);
10679 if (PyErr_Occurred()) SWIG_fail;
10680 }
15afbcd0 10681 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10682 return resultobj;
10683 fail:
10684 return NULL;
10685}
10686
10687
10688static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10689 PyObject *resultobj;
10690 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10691 int arg2 ;
10692 PyObject * obj0 = 0 ;
994141e6 10693 PyObject * obj1 = 0 ;
d14a1e28
RD
10694 char *kwnames[] = {
10695 (char *) "self",(char *) "value", NULL
10696 };
10697
994141e6 10698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10701 arg2 = (int) SWIG_AsInt(obj1);
10702 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10703 {
10704 PyThreadState* __tstate = wxPyBeginAllowThreads();
10705 (arg1)->SetValue(arg2);
10706
10707 wxPyEndAllowThreads(__tstate);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 }
10710 Py_INCREF(Py_None); resultobj = Py_None;
10711 return resultobj;
10712 fail:
10713 return NULL;
10714}
10715
10716
10717static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10718 PyObject *resultobj;
10719 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10720 wxString *arg2 = 0 ;
e811c8ce 10721 bool temp2 = False ;
d14a1e28
RD
10722 PyObject * obj0 = 0 ;
10723 PyObject * obj1 = 0 ;
10724 char *kwnames[] = {
10725 (char *) "self",(char *) "text", NULL
10726 };
10727
10728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10731 {
10732 arg2 = wxString_in_helper(obj1);
10733 if (arg2 == NULL) SWIG_fail;
e811c8ce 10734 temp2 = True;
d14a1e28
RD
10735 }
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 (arg1)->SetValue((wxString const &)*arg2);
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 Py_INCREF(Py_None); resultobj = Py_None;
10744 {
10745 if (temp2)
10746 delete arg2;
10747 }
10748 return resultobj;
10749 fail:
10750 {
10751 if (temp2)
10752 delete arg2;
10753 }
10754 return NULL;
10755}
10756
10757
10758static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10759 PyObject *resultobj;
10760 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10761 int arg2 ;
10762 int arg3 ;
10763 PyObject * obj0 = 0 ;
994141e6
RD
10764 PyObject * obj1 = 0 ;
10765 PyObject * obj2 = 0 ;
d14a1e28
RD
10766 char *kwnames[] = {
10767 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10768 };
10769
994141e6 10770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10773 arg2 = (int) SWIG_AsInt(obj1);
10774 if (PyErr_Occurred()) SWIG_fail;
10775 arg3 = (int) SWIG_AsInt(obj2);
10776 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10777 {
10778 PyThreadState* __tstate = wxPyBeginAllowThreads();
10779 (arg1)->SetRange(arg2,arg3);
10780
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 Py_INCREF(Py_None); resultobj = Py_None;
10785 return resultobj;
10786 fail:
10787 return NULL;
10788}
10789
10790
10791static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10792 PyObject *resultobj;
10793 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10794 int result;
10795 PyObject * obj0 = 0 ;
10796 char *kwnames[] = {
10797 (char *) "self", NULL
10798 };
10799
10800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
10801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10803 {
10804 PyThreadState* __tstate = wxPyBeginAllowThreads();
10805 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10806
10807 wxPyEndAllowThreads(__tstate);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 }
15afbcd0 10810 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10811 return resultobj;
10812 fail:
10813 return NULL;
10814}
10815
10816
10817static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10818 PyObject *resultobj;
10819 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10820 int result;
10821 PyObject * obj0 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "self", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
10827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10829 {
10830 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10832
10833 wxPyEndAllowThreads(__tstate);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
15afbcd0 10836 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10837 return resultobj;
10838 fail:
10839 return NULL;
10840}
10841
10842
10843static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10846 long arg2 ;
10847 long arg3 ;
10848 PyObject * obj0 = 0 ;
994141e6
RD
10849 PyObject * obj1 = 0 ;
10850 PyObject * obj2 = 0 ;
d14a1e28
RD
10851 char *kwnames[] = {
10852 (char *) "self",(char *) "from",(char *) "to", NULL
10853 };
10854
994141e6 10855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
10857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10858 arg2 = (long) SWIG_AsLong(obj1);
10859 if (PyErr_Occurred()) SWIG_fail;
10860 arg3 = (long) SWIG_AsLong(obj2);
10861 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10862 {
10863 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 10864 (arg1)->SetSelection(arg2,arg3);
d14a1e28
RD
10865
10866 wxPyEndAllowThreads(__tstate);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 }
10869 Py_INCREF(Py_None); resultobj = Py_None;
10870 return resultobj;
10871 fail:
10872 return NULL;
10873}
10874
10875
10876static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10877 PyObject *obj;
10878 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10879 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10880 Py_INCREF(obj);
10881 return Py_BuildValue((char *)"");
10882}
d1e20054
RD
10883static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10884 PyObject *resultobj;
10885 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10886 int arg2 = (int) 0 ;
10887 wxSpinEvent *result;
994141e6
RD
10888 PyObject * obj0 = 0 ;
10889 PyObject * obj1 = 0 ;
d1e20054
RD
10890 char *kwnames[] = {
10891 (char *) "commandType",(char *) "winid", NULL
10892 };
10893
994141e6
RD
10894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10895 if (obj0) {
15afbcd0
RD
10896 arg1 = (wxEventType) SWIG_AsInt(obj0);
10897 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10898 }
10899 if (obj1) {
15afbcd0
RD
10900 arg2 = (int) SWIG_AsInt(obj1);
10901 if (PyErr_Occurred()) SWIG_fail;
994141e6 10902 }
d1e20054
RD
10903 {
10904 PyThreadState* __tstate = wxPyBeginAllowThreads();
10905 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10906
10907 wxPyEndAllowThreads(__tstate);
10908 if (PyErr_Occurred()) SWIG_fail;
10909 }
15afbcd0 10910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
d1e20054
RD
10911 return resultobj;
10912 fail:
10913 return NULL;
10914}
10915
10916
10917static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10918 PyObject *resultobj;
10919 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10920 int result;
10921 PyObject * obj0 = 0 ;
10922 char *kwnames[] = {
10923 (char *) "self", NULL
10924 };
10925
10926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
10927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d1e20054
RD
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
15afbcd0 10936 resultobj = SWIG_FromInt((int)result);
d1e20054
RD
10937 return resultobj;
10938 fail:
10939 return NULL;
10940}
10941
10942
10943static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10944 PyObject *resultobj;
10945 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10946 int arg2 ;
10947 PyObject * obj0 = 0 ;
994141e6 10948 PyObject * obj1 = 0 ;
d1e20054
RD
10949 char *kwnames[] = {
10950 (char *) "self",(char *) "pos", NULL
10951 };
10952
994141e6 10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
10955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10956 arg2 = (int) SWIG_AsInt(obj1);
10957 if (PyErr_Occurred()) SWIG_fail;
d1e20054
RD
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 (arg1)->SetPosition(arg2);
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 Py_INCREF(Py_None); resultobj = Py_None;
10966 return resultobj;
10967 fail:
10968 return NULL;
10969}
10970
10971
10972static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10973 PyObject *obj;
10974 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10975 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10976 Py_INCREF(obj);
10977 return Py_BuildValue((char *)"");
10978}
b2dc1044
RD
10979static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
10980 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10981 return 1;
10982}
10983
10984
10985static PyObject *_wrap_RadioBoxNameStr_get() {
10986 PyObject *pyobj;
10987
10988 {
10989#if wxUSE_UNICODE
10990 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10991#else
10992 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10993#endif
10994 }
10995 return pyobj;
10996}
10997
10998
10999static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11000 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11001 return 1;
11002}
11003
11004
11005static PyObject *_wrap_RadioButtonNameStr_get() {
11006 PyObject *pyobj;
11007
11008 {
11009#if wxUSE_UNICODE
11010 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11011#else
11012 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11013#endif
11014 }
11015 return pyobj;
11016}
11017
11018
d14a1e28
RD
11019static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11020 PyObject *resultobj;
11021 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11022 int arg2 ;
d14a1e28
RD
11023 wxString *arg3 = 0 ;
11024 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11025 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11026 wxSize const &arg5_defvalue = wxDefaultSize ;
11027 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4d5c3d91
RD
11028 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11029 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11030 int arg7 = (int) 0 ;
11031 long arg8 = (long) wxRA_HORIZONTAL ;
11032 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11033 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11034 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11035 wxString *arg10 = (wxString *) &arg10_defvalue ;
d14a1e28 11036 wxRadioBox *result;
e811c8ce 11037 bool temp3 = False ;
d14a1e28
RD
11038 wxPoint temp4 ;
11039 wxSize temp5 ;
3adfb63b 11040 bool temp6 = False ;
e811c8ce 11041 bool temp10 = False ;
d14a1e28 11042 PyObject * obj0 = 0 ;
994141e6 11043 PyObject * obj1 = 0 ;
d14a1e28
RD
11044 PyObject * obj2 = 0 ;
11045 PyObject * obj3 = 0 ;
11046 PyObject * obj4 = 0 ;
11047 PyObject * obj5 = 0 ;
994141e6
RD
11048 PyObject * obj6 = 0 ;
11049 PyObject * obj7 = 0 ;
d14a1e28
RD
11050 PyObject * obj8 = 0 ;
11051 PyObject * obj9 = 0 ;
11052 char *kwnames[] = {
994141e6 11053 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
11054 };
11055
994141e6 11056 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
11057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11059 arg2 = (int) SWIG_AsInt(obj1);
11060 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11061 {
11062 arg3 = wxString_in_helper(obj2);
11063 if (arg3 == NULL) SWIG_fail;
e811c8ce 11064 temp3 = True;
d14a1e28
RD
11065 }
11066 if (obj3) {
11067 {
11068 arg4 = &temp4;
11069 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11070 }
11071 }
11072 if (obj4) {
11073 {
11074 arg5 = &temp5;
11075 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11076 }
11077 }
11078 if (obj5) {
11079 {
4d5c3d91
RD
11080 if (! PySequence_Check(obj5)) {
11081 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11082 SWIG_fail;
11083 }
11084 arg6 = new wxArrayString;
3adfb63b 11085 temp6 = True;
4d5c3d91
RD
11086 int i, len=PySequence_Length(obj5);
11087 for (i=0; i<len; i++) {
11088 PyObject* item = PySequence_GetItem(obj5, i);
11089#if wxUSE_UNICODE
11090 PyObject* str = PyObject_Unicode(item);
11091#else
11092 PyObject* str = PyObject_Str(item);
11093#endif
74a57fcd 11094 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
11095 arg6->Add(Py2wxString(str));
11096 Py_DECREF(item);
11097 Py_DECREF(str);
11098 }
d14a1e28
RD
11099 }
11100 }
994141e6 11101 if (obj6) {
15afbcd0
RD
11102 arg7 = (int) SWIG_AsInt(obj6);
11103 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11104 }
11105 if (obj7) {
15afbcd0
RD
11106 arg8 = (long) SWIG_AsLong(obj7);
11107 if (PyErr_Occurred()) SWIG_fail;
994141e6 11108 }
d14a1e28 11109 if (obj8) {
15afbcd0
RD
11110 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11111 SWIG_POINTER_EXCEPTION | 0)) == -1)
11112 SWIG_fail;
4d5c3d91 11113 if (arg9 == NULL) {
15afbcd0
RD
11114 PyErr_SetString(PyExc_TypeError,"null reference");
11115 SWIG_fail;
d14a1e28
RD
11116 }
11117 }
11118 if (obj9) {
11119 {
4d5c3d91
RD
11120 arg10 = wxString_in_helper(obj9);
11121 if (arg10 == NULL) SWIG_fail;
e811c8ce 11122 temp10 = True;
d14a1e28
RD
11123 }
11124 }
11125 {
11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11127 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
11128
11129 wxPyEndAllowThreads(__tstate);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 }
15afbcd0 11132 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
11133 {
11134 if (temp3)
11135 delete arg3;
11136 }
11137 {
3adfb63b 11138 if (temp6) delete arg6;
d14a1e28
RD
11139 }
11140 {
11141 if (temp10)
4d5c3d91 11142 delete arg10;
d14a1e28
RD
11143 }
11144 return resultobj;
11145 fail:
11146 {
11147 if (temp3)
11148 delete arg3;
11149 }
11150 {
3adfb63b 11151 if (temp6) delete arg6;
d14a1e28
RD
11152 }
11153 {
11154 if (temp10)
4d5c3d91 11155 delete arg10;
d14a1e28
RD
11156 }
11157 return NULL;
11158}
11159
11160
11161static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11162 PyObject *resultobj;
11163 wxRadioBox *result;
11164 char *kwnames[] = {
11165 NULL
11166 };
11167
11168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11169 {
11170 PyThreadState* __tstate = wxPyBeginAllowThreads();
11171 result = (wxRadioBox *)new wxRadioBox();
11172
11173 wxPyEndAllowThreads(__tstate);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 }
15afbcd0 11176 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
d14a1e28
RD
11177 return resultobj;
11178 fail:
11179 return NULL;
11180}
11181
11182
11183static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11184 PyObject *resultobj;
11185 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11186 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11187 int arg3 ;
d14a1e28
RD
11188 wxString *arg4 = 0 ;
11189 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11190 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11191 wxSize const &arg6_defvalue = wxDefaultSize ;
11192 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4d5c3d91
RD
11193 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11194 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11195 int arg8 = (int) 0 ;
11196 long arg9 = (long) wxRA_HORIZONTAL ;
11197 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11198 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11199 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11200 wxString *arg11 = (wxString *) &arg11_defvalue ;
d14a1e28 11201 bool result;
e811c8ce 11202 bool temp4 = False ;
d14a1e28
RD
11203 wxPoint temp5 ;
11204 wxSize temp6 ;
3adfb63b 11205 bool temp7 = False ;
e811c8ce 11206 bool temp11 = False ;
d14a1e28
RD
11207 PyObject * obj0 = 0 ;
11208 PyObject * obj1 = 0 ;
994141e6 11209 PyObject * obj2 = 0 ;
d14a1e28
RD
11210 PyObject * obj3 = 0 ;
11211 PyObject * obj4 = 0 ;
11212 PyObject * obj5 = 0 ;
11213 PyObject * obj6 = 0 ;
994141e6
RD
11214 PyObject * obj7 = 0 ;
11215 PyObject * obj8 = 0 ;
d14a1e28
RD
11216 PyObject * obj9 = 0 ;
11217 PyObject * obj10 = 0 ;
11218 char *kwnames[] = {
994141e6 11219 (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
11220 };
11221
994141e6 11222 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
11223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11227 arg3 = (int) SWIG_AsInt(obj2);
11228 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11229 {
11230 arg4 = wxString_in_helper(obj3);
11231 if (arg4 == NULL) SWIG_fail;
e811c8ce 11232 temp4 = True;
d14a1e28
RD
11233 }
11234 if (obj4) {
11235 {
11236 arg5 = &temp5;
11237 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11238 }
11239 }
11240 if (obj5) {
11241 {
11242 arg6 = &temp6;
11243 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11244 }
11245 }
11246 if (obj6) {
11247 {
4d5c3d91
RD
11248 if (! PySequence_Check(obj6)) {
11249 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11250 SWIG_fail;
11251 }
11252 arg7 = new wxArrayString;
3adfb63b 11253 temp7 = True;
4d5c3d91
RD
11254 int i, len=PySequence_Length(obj6);
11255 for (i=0; i<len; i++) {
11256 PyObject* item = PySequence_GetItem(obj6, i);
11257#if wxUSE_UNICODE
11258 PyObject* str = PyObject_Unicode(item);
11259#else
11260 PyObject* str = PyObject_Str(item);
11261#endif
74a57fcd 11262 if (PyErr_Occurred()) SWIG_fail;
4d5c3d91
RD
11263 arg7->Add(Py2wxString(str));
11264 Py_DECREF(item);
11265 Py_DECREF(str);
11266 }
d14a1e28
RD
11267 }
11268 }
994141e6 11269 if (obj7) {
15afbcd0
RD
11270 arg8 = (int) SWIG_AsInt(obj7);
11271 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11272 }
11273 if (obj8) {
15afbcd0
RD
11274 arg9 = (long) SWIG_AsLong(obj8);
11275 if (PyErr_Occurred()) SWIG_fail;
994141e6 11276 }
d14a1e28 11277 if (obj9) {
15afbcd0
RD
11278 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11279 SWIG_POINTER_EXCEPTION | 0)) == -1)
11280 SWIG_fail;
4d5c3d91 11281 if (arg10 == NULL) {
15afbcd0
RD
11282 PyErr_SetString(PyExc_TypeError,"null reference");
11283 SWIG_fail;
d14a1e28
RD
11284 }
11285 }
11286 if (obj10) {
11287 {
4d5c3d91
RD
11288 arg11 = wxString_in_helper(obj10);
11289 if (arg11 == NULL) SWIG_fail;
e811c8ce 11290 temp11 = True;
d14a1e28
RD
11291 }
11292 }
11293 {
11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4d5c3d91 11295 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
11296
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
4f89f6a3
RD
11300 {
11301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11302 }
d14a1e28
RD
11303 {
11304 if (temp4)
11305 delete arg4;
11306 }
11307 {
3adfb63b 11308 if (temp7) delete arg7;
d14a1e28
RD
11309 }
11310 {
11311 if (temp11)
4d5c3d91 11312 delete arg11;
d14a1e28
RD
11313 }
11314 return resultobj;
11315 fail:
11316 {
11317 if (temp4)
11318 delete arg4;
11319 }
11320 {
3adfb63b 11321 if (temp7) delete arg7;
d14a1e28
RD
11322 }
11323 {
11324 if (temp11)
4d5c3d91 11325 delete arg11;
d14a1e28
RD
11326 }
11327 return NULL;
11328}
11329
11330
11331static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11332 PyObject *resultobj;
11333 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11334 int arg2 ;
11335 PyObject * obj0 = 0 ;
994141e6 11336 PyObject * obj1 = 0 ;
d14a1e28
RD
11337 char *kwnames[] = {
11338 (char *) "self",(char *) "n", NULL
11339 };
11340
994141e6 11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11344 arg2 = (int) SWIG_AsInt(obj1);
11345 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 (arg1)->SetSelection(arg2);
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 Py_INCREF(Py_None); resultobj = Py_None;
11354 return resultobj;
11355 fail:
11356 return NULL;
11357}
11358
11359
11360static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11361 PyObject *resultobj;
11362 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11363 int result;
11364 PyObject * obj0 = 0 ;
11365 char *kwnames[] = {
11366 (char *) "self", NULL
11367 };
11368
11369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
11370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11372 {
11373 PyThreadState* __tstate = wxPyBeginAllowThreads();
11374 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11375
11376 wxPyEndAllowThreads(__tstate);
11377 if (PyErr_Occurred()) SWIG_fail;
11378 }
15afbcd0 11379 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11380 return resultobj;
11381 fail:
11382 return NULL;
11383}
11384
11385
11386static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11387 PyObject *resultobj;
11388 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11389 wxString result;
11390 PyObject * obj0 = 0 ;
11391 char *kwnames[] = {
11392 (char *) "self", NULL
11393 };
11394
11395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
11396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11398 {
11399 PyThreadState* __tstate = wxPyBeginAllowThreads();
11400 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11401
11402 wxPyEndAllowThreads(__tstate);
11403 if (PyErr_Occurred()) SWIG_fail;
11404 }
11405 {
11406#if wxUSE_UNICODE
11407 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11408#else
11409 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11410#endif
11411 }
11412 return resultobj;
11413 fail:
11414 return NULL;
11415}
11416
11417
11418static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11419 PyObject *resultobj;
11420 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11421 wxString *arg2 = 0 ;
11422 bool result;
e811c8ce 11423 bool temp2 = False ;
d14a1e28
RD
11424 PyObject * obj0 = 0 ;
11425 PyObject * obj1 = 0 ;
11426 char *kwnames[] = {
11427 (char *) "self",(char *) "s", NULL
11428 };
11429
11430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11433 {
11434 arg2 = wxString_in_helper(obj1);
11435 if (arg2 == NULL) SWIG_fail;
e811c8ce 11436 temp2 = True;
d14a1e28
RD
11437 }
11438 {
11439 PyThreadState* __tstate = wxPyBeginAllowThreads();
11440 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11441
11442 wxPyEndAllowThreads(__tstate);
11443 if (PyErr_Occurred()) SWIG_fail;
11444 }
4f89f6a3
RD
11445 {
11446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11447 }
d14a1e28
RD
11448 {
11449 if (temp2)
11450 delete arg2;
11451 }
11452 return resultobj;
11453 fail:
11454 {
11455 if (temp2)
11456 delete arg2;
11457 }
11458 return NULL;
11459}
11460
11461
11462static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11463 PyObject *resultobj;
11464 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11465 int result;
11466 PyObject * obj0 = 0 ;
11467 char *kwnames[] = {
11468 (char *) "self", NULL
11469 };
11470
11471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
11472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11474 {
11475 PyThreadState* __tstate = wxPyBeginAllowThreads();
11476 result = (int)((wxRadioBox const *)arg1)->GetCount();
11477
11478 wxPyEndAllowThreads(__tstate);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
15afbcd0 11481 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11482 return resultobj;
11483 fail:
11484 return NULL;
11485}
11486
11487
11488static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11489 PyObject *resultobj;
11490 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11491 wxString *arg2 = 0 ;
11492 int result;
e811c8ce 11493 bool temp2 = False ;
d14a1e28
RD
11494 PyObject * obj0 = 0 ;
11495 PyObject * obj1 = 0 ;
11496 char *kwnames[] = {
11497 (char *) "self",(char *) "s", NULL
11498 };
11499
11500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11503 {
11504 arg2 = wxString_in_helper(obj1);
11505 if (arg2 == NULL) SWIG_fail;
e811c8ce 11506 temp2 = True;
d14a1e28
RD
11507 }
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
15afbcd0 11515 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11516 {
11517 if (temp2)
11518 delete arg2;
11519 }
11520 return resultobj;
11521 fail:
11522 {
11523 if (temp2)
11524 delete arg2;
11525 }
11526 return NULL;
11527}
11528
11529
11530static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11531 PyObject *resultobj;
11532 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11533 int arg2 ;
11534 wxString result;
11535 PyObject * obj0 = 0 ;
994141e6 11536 PyObject * obj1 = 0 ;
d14a1e28
RD
11537 char *kwnames[] = {
11538 (char *) "self",(char *) "n", NULL
11539 };
11540
994141e6 11541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11544 arg2 = (int) SWIG_AsInt(obj1);
11545 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11546 {
11547 PyThreadState* __tstate = wxPyBeginAllowThreads();
11548 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11549
11550 wxPyEndAllowThreads(__tstate);
11551 if (PyErr_Occurred()) SWIG_fail;
11552 }
11553 {
11554#if wxUSE_UNICODE
11555 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11556#else
11557 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11558#endif
11559 }
11560 return resultobj;
11561 fail:
11562 return NULL;
11563}
11564
11565
11566static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11567 PyObject *resultobj;
11568 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11569 int arg2 ;
11570 wxString *arg3 = 0 ;
e811c8ce 11571 bool temp3 = False ;
d14a1e28 11572 PyObject * obj0 = 0 ;
994141e6 11573 PyObject * obj1 = 0 ;
d14a1e28
RD
11574 PyObject * obj2 = 0 ;
11575 char *kwnames[] = {
11576 (char *) "self",(char *) "n",(char *) "label", NULL
11577 };
11578
994141e6 11579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11582 arg2 = (int) SWIG_AsInt(obj1);
11583 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11584 {
11585 arg3 = wxString_in_helper(obj2);
11586 if (arg3 == NULL) SWIG_fail;
e811c8ce 11587 temp3 = True;
d14a1e28
RD
11588 }
11589 {
11590 PyThreadState* __tstate = wxPyBeginAllowThreads();
11591 (arg1)->SetString(arg2,(wxString const &)*arg3);
11592
11593 wxPyEndAllowThreads(__tstate);
11594 if (PyErr_Occurred()) SWIG_fail;
11595 }
11596 Py_INCREF(Py_None); resultobj = Py_None;
11597 {
11598 if (temp3)
11599 delete arg3;
11600 }
11601 return resultobj;
11602 fail:
11603 {
11604 if (temp3)
11605 delete arg3;
11606 }
11607 return NULL;
11608}
11609
11610
11611static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11612 PyObject *resultobj;
11613 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11614 int arg2 ;
e811c8ce 11615 bool arg3 = (bool) True ;
d14a1e28 11616 PyObject * obj0 = 0 ;
994141e6 11617 PyObject * obj1 = 0 ;
d14a1e28
RD
11618 PyObject * obj2 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "self",(char *) "n",(char *) "enable", NULL
11621 };
11622
994141e6 11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11626 arg2 = (int) SWIG_AsInt(obj1);
11627 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11628 if (obj2) {
15afbcd0
RD
11629 arg3 = (bool) SWIG_AsBool(obj2);
11630 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11631 }
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 (arg1)->Enable(arg2,arg3);
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 Py_INCREF(Py_None); resultobj = Py_None;
11640 return resultobj;
11641 fail:
11642 return NULL;
11643}
11644
11645
11646static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11647 PyObject *resultobj;
11648 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11649 int arg2 ;
e811c8ce 11650 bool arg3 = (bool) True ;
d14a1e28 11651 PyObject * obj0 = 0 ;
994141e6 11652 PyObject * obj1 = 0 ;
d14a1e28
RD
11653 PyObject * obj2 = 0 ;
11654 char *kwnames[] = {
11655 (char *) "self",(char *) "n",(char *) "show", NULL
11656 };
11657
994141e6 11658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11661 arg2 = (int) SWIG_AsInt(obj1);
11662 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11663 if (obj2) {
15afbcd0
RD
11664 arg3 = (bool) SWIG_AsBool(obj2);
11665 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11666 }
11667 {
11668 PyThreadState* __tstate = wxPyBeginAllowThreads();
11669 (arg1)->Show(arg2,arg3);
11670
11671 wxPyEndAllowThreads(__tstate);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 Py_INCREF(Py_None); resultobj = Py_None;
11675 return resultobj;
11676 fail:
11677 return NULL;
11678}
11679
11680
11681static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj;
11683 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11684 int result;
11685 PyObject * obj0 = 0 ;
11686 char *kwnames[] = {
11687 (char *) "self", NULL
11688 };
11689
11690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
11691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11693 {
11694 PyThreadState* __tstate = wxPyBeginAllowThreads();
11695 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
11696
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
15afbcd0 11700 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11701 return resultobj;
11702 fail:
11703 return NULL;
11704}
11705
11706
11707static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11708 PyObject *resultobj;
11709 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11710 int result;
11711 PyObject * obj0 = 0 ;
11712 char *kwnames[] = {
11713 (char *) "self", NULL
11714 };
11715
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
11717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
15afbcd0 11726 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11727 return resultobj;
11728 fail:
11729 return NULL;
11730}
11731
11732
11733static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11734 PyObject *resultobj;
11735 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11736 int arg2 ;
11737 int arg3 ;
11738 long arg4 ;
11739 int result;
11740 PyObject * obj0 = 0 ;
994141e6
RD
11741 PyObject * obj1 = 0 ;
11742 PyObject * obj2 = 0 ;
11743 PyObject * obj3 = 0 ;
d14a1e28
RD
11744 char *kwnames[] = {
11745 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11746 };
11747
994141e6 11748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11751 arg2 = (int) SWIG_AsInt(obj1);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 arg3 = (wxDirection) SWIG_AsInt(obj2);
11754 if (PyErr_Occurred()) SWIG_fail;
11755 arg4 = (long) SWIG_AsLong(obj3);
11756 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11757 {
11758 PyThreadState* __tstate = wxPyBeginAllowThreads();
11759 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
11760
11761 wxPyEndAllowThreads(__tstate);
11762 if (PyErr_Occurred()) SWIG_fail;
11763 }
15afbcd0 11764 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11765 return resultobj;
11766 fail:
11767 return NULL;
11768}
11769
11770
11771static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11772 PyObject *obj;
11773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11774 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11775 Py_INCREF(obj);
11776 return Py_BuildValue((char *)"");
11777}
11778static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11779 PyObject *resultobj;
11780 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11781 int arg2 ;
d14a1e28
RD
11782 wxString *arg3 = 0 ;
11783 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11784 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11785 wxSize const &arg5_defvalue = wxDefaultSize ;
11786 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11787 long arg6 = (long) 0 ;
11788 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11789 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11790 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11791 wxString *arg8 = (wxString *) &arg8_defvalue ;
11792 wxRadioButton *result;
e811c8ce 11793 bool temp3 = False ;
d14a1e28
RD
11794 wxPoint temp4 ;
11795 wxSize temp5 ;
e811c8ce 11796 bool temp8 = False ;
d14a1e28 11797 PyObject * obj0 = 0 ;
994141e6 11798 PyObject * obj1 = 0 ;
d14a1e28
RD
11799 PyObject * obj2 = 0 ;
11800 PyObject * obj3 = 0 ;
11801 PyObject * obj4 = 0 ;
994141e6 11802 PyObject * obj5 = 0 ;
d14a1e28
RD
11803 PyObject * obj6 = 0 ;
11804 PyObject * obj7 = 0 ;
11805 char *kwnames[] = {
11806 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11807 };
11808
994141e6 11809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
11810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11812 arg2 = (int) SWIG_AsInt(obj1);
11813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11814 {
11815 arg3 = wxString_in_helper(obj2);
11816 if (arg3 == NULL) SWIG_fail;
e811c8ce 11817 temp3 = True;
d14a1e28
RD
11818 }
11819 if (obj3) {
11820 {
11821 arg4 = &temp4;
11822 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11823 }
11824 }
11825 if (obj4) {
11826 {
11827 arg5 = &temp5;
11828 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11829 }
11830 }
994141e6 11831 if (obj5) {
15afbcd0
RD
11832 arg6 = (long) SWIG_AsLong(obj5);
11833 if (PyErr_Occurred()) SWIG_fail;
994141e6 11834 }
d14a1e28 11835 if (obj6) {
15afbcd0
RD
11836 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
11837 SWIG_POINTER_EXCEPTION | 0)) == -1)
11838 SWIG_fail;
d14a1e28 11839 if (arg7 == NULL) {
15afbcd0
RD
11840 PyErr_SetString(PyExc_TypeError,"null reference");
11841 SWIG_fail;
d14a1e28
RD
11842 }
11843 }
11844 if (obj7) {
11845 {
11846 arg8 = wxString_in_helper(obj7);
11847 if (arg8 == NULL) SWIG_fail;
e811c8ce 11848 temp8 = True;
d14a1e28
RD
11849 }
11850 }
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
15afbcd0 11858 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
11859 {
11860 if (temp3)
11861 delete arg3;
11862 }
11863 {
11864 if (temp8)
11865 delete arg8;
11866 }
11867 return resultobj;
11868 fail:
11869 {
11870 if (temp3)
11871 delete arg3;
11872 }
11873 {
11874 if (temp8)
11875 delete arg8;
11876 }
11877 return NULL;
11878}
11879
11880
11881static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11882 PyObject *resultobj;
11883 wxRadioButton *result;
11884 char *kwnames[] = {
11885 NULL
11886 };
11887
11888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11889 {
11890 PyThreadState* __tstate = wxPyBeginAllowThreads();
11891 result = (wxRadioButton *)new wxRadioButton();
11892
11893 wxPyEndAllowThreads(__tstate);
11894 if (PyErr_Occurred()) SWIG_fail;
11895 }
15afbcd0 11896 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
d14a1e28
RD
11897 return resultobj;
11898 fail:
11899 return NULL;
11900}
11901
11902
11903static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11904 PyObject *resultobj;
11905 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11906 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11907 int arg3 ;
d14a1e28
RD
11908 wxString *arg4 = 0 ;
11909 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11910 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11911 wxSize const &arg6_defvalue = wxDefaultSize ;
11912 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11913 long arg7 = (long) 0 ;
11914 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11915 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11916 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11917 wxString *arg9 = (wxString *) &arg9_defvalue ;
11918 bool result;
e811c8ce 11919 bool temp4 = False ;
d14a1e28
RD
11920 wxPoint temp5 ;
11921 wxSize temp6 ;
e811c8ce 11922 bool temp9 = False ;
d14a1e28
RD
11923 PyObject * obj0 = 0 ;
11924 PyObject * obj1 = 0 ;
994141e6 11925 PyObject * obj2 = 0 ;
d14a1e28
RD
11926 PyObject * obj3 = 0 ;
11927 PyObject * obj4 = 0 ;
11928 PyObject * obj5 = 0 ;
994141e6 11929 PyObject * obj6 = 0 ;
d14a1e28
RD
11930 PyObject * obj7 = 0 ;
11931 PyObject * obj8 = 0 ;
11932 char *kwnames[] = {
11933 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11934 };
11935
994141e6 11936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
11937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
11938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11941 arg3 = (int) SWIG_AsInt(obj2);
11942 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11943 {
11944 arg4 = wxString_in_helper(obj3);
11945 if (arg4 == NULL) SWIG_fail;
e811c8ce 11946 temp4 = True;
d14a1e28
RD
11947 }
11948 if (obj4) {
11949 {
11950 arg5 = &temp5;
11951 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11952 }
11953 }
11954 if (obj5) {
11955 {
11956 arg6 = &temp6;
11957 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11958 }
11959 }
994141e6 11960 if (obj6) {
15afbcd0
RD
11961 arg7 = (long) SWIG_AsLong(obj6);
11962 if (PyErr_Occurred()) SWIG_fail;
994141e6 11963 }
d14a1e28 11964 if (obj7) {
15afbcd0
RD
11965 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
11966 SWIG_POINTER_EXCEPTION | 0)) == -1)
11967 SWIG_fail;
d14a1e28 11968 if (arg8 == NULL) {
15afbcd0
RD
11969 PyErr_SetString(PyExc_TypeError,"null reference");
11970 SWIG_fail;
d14a1e28
RD
11971 }
11972 }
11973 if (obj8) {
11974 {
11975 arg9 = wxString_in_helper(obj8);
11976 if (arg9 == NULL) SWIG_fail;
e811c8ce 11977 temp9 = True;
d14a1e28
RD
11978 }
11979 }
11980 {
11981 PyThreadState* __tstate = wxPyBeginAllowThreads();
11982 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11983
11984 wxPyEndAllowThreads(__tstate);
11985 if (PyErr_Occurred()) SWIG_fail;
11986 }
4f89f6a3
RD
11987 {
11988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11989 }
d14a1e28
RD
11990 {
11991 if (temp4)
11992 delete arg4;
11993 }
11994 {
11995 if (temp9)
11996 delete arg9;
11997 }
11998 return resultobj;
11999 fail:
12000 {
12001 if (temp4)
12002 delete arg4;
12003 }
12004 {
12005 if (temp9)
12006 delete arg9;
12007 }
12008 return NULL;
12009}
12010
12011
12012static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12013 PyObject *resultobj;
12014 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12015 bool result;
12016 PyObject * obj0 = 0 ;
12017 char *kwnames[] = {
12018 (char *) "self", NULL
12019 };
12020
12021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
12022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12024 {
12025 PyThreadState* __tstate = wxPyBeginAllowThreads();
12026 result = (bool)(arg1)->GetValue();
12027
12028 wxPyEndAllowThreads(__tstate);
12029 if (PyErr_Occurred()) SWIG_fail;
12030 }
4f89f6a3
RD
12031 {
12032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12033 }
d14a1e28
RD
12034 return resultobj;
12035 fail:
12036 return NULL;
12037}
12038
12039
12040static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj;
12042 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12043 bool arg2 ;
12044 PyObject * obj0 = 0 ;
12045 PyObject * obj1 = 0 ;
12046 char *kwnames[] = {
12047 (char *) "self",(char *) "value", NULL
12048 };
12049
12050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12053 arg2 = (bool) SWIG_AsBool(obj1);
12054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12055 {
12056 PyThreadState* __tstate = wxPyBeginAllowThreads();
12057 (arg1)->SetValue(arg2);
12058
12059 wxPyEndAllowThreads(__tstate);
12060 if (PyErr_Occurred()) SWIG_fail;
12061 }
12062 Py_INCREF(Py_None); resultobj = Py_None;
12063 return resultobj;
12064 fail:
12065 return NULL;
12066}
12067
12068
12069static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12070 PyObject *obj;
12071 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12072 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12073 Py_INCREF(obj);
12074 return Py_BuildValue((char *)"");
12075}
b2dc1044
RD
12076static int _wrap_SliderNameStr_set(PyObject *_val) {
12077 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12078 return 1;
12079}
12080
12081
12082static PyObject *_wrap_SliderNameStr_get() {
12083 PyObject *pyobj;
12084
12085 {
12086#if wxUSE_UNICODE
12087 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12088#else
12089 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12090#endif
12091 }
12092 return pyobj;
12093}
12094
12095
d14a1e28
RD
12096static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12097 PyObject *resultobj;
12098 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12099 int arg2 ;
d14a1e28
RD
12100 int arg3 ;
12101 int arg4 ;
12102 int arg5 ;
12103 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12104 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12105 wxSize const &arg7_defvalue = wxDefaultSize ;
12106 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12107 long arg8 = (long) wxSL_HORIZONTAL ;
12108 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12109 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12110 wxString const &arg10_defvalue = wxPySliderNameStr ;
12111 wxString *arg10 = (wxString *) &arg10_defvalue ;
12112 wxSlider *result;
12113 wxPoint temp6 ;
12114 wxSize temp7 ;
e811c8ce 12115 bool temp10 = False ;
d14a1e28 12116 PyObject * obj0 = 0 ;
994141e6
RD
12117 PyObject * obj1 = 0 ;
12118 PyObject * obj2 = 0 ;
12119 PyObject * obj3 = 0 ;
12120 PyObject * obj4 = 0 ;
d14a1e28
RD
12121 PyObject * obj5 = 0 ;
12122 PyObject * obj6 = 0 ;
994141e6 12123 PyObject * obj7 = 0 ;
d14a1e28
RD
12124 PyObject * obj8 = 0 ;
12125 PyObject * obj9 = 0 ;
12126 char *kwnames[] = {
994141e6 12127 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
d14a1e28
RD
12128 };
12129
994141e6 12130 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
12131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12133 arg2 = (int) SWIG_AsInt(obj1);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 arg3 = (int) SWIG_AsInt(obj2);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 arg4 = (int) SWIG_AsInt(obj3);
12138 if (PyErr_Occurred()) SWIG_fail;
12139 arg5 = (int) SWIG_AsInt(obj4);
12140 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12141 if (obj5) {
12142 {
12143 arg6 = &temp6;
12144 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12145 }
12146 }
12147 if (obj6) {
12148 {
12149 arg7 = &temp7;
12150 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12151 }
12152 }
994141e6 12153 if (obj7) {
15afbcd0
RD
12154 arg8 = (long) SWIG_AsLong(obj7);
12155 if (PyErr_Occurred()) SWIG_fail;
994141e6 12156 }
d14a1e28 12157 if (obj8) {
15afbcd0
RD
12158 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12159 SWIG_POINTER_EXCEPTION | 0)) == -1)
12160 SWIG_fail;
d14a1e28 12161 if (arg9 == NULL) {
15afbcd0
RD
12162 PyErr_SetString(PyExc_TypeError,"null reference");
12163 SWIG_fail;
d14a1e28
RD
12164 }
12165 }
12166 if (obj9) {
12167 {
12168 arg10 = wxString_in_helper(obj9);
12169 if (arg10 == NULL) SWIG_fail;
e811c8ce 12170 temp10 = True;
d14a1e28
RD
12171 }
12172 }
12173 {
12174 PyThreadState* __tstate = wxPyBeginAllowThreads();
12175 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12176
12177 wxPyEndAllowThreads(__tstate);
12178 if (PyErr_Occurred()) SWIG_fail;
12179 }
15afbcd0 12180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
12181 {
12182 if (temp10)
12183 delete arg10;
12184 }
12185 return resultobj;
12186 fail:
12187 {
12188 if (temp10)
12189 delete arg10;
12190 }
12191 return NULL;
12192}
12193
12194
12195static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12196 PyObject *resultobj;
12197 wxSlider *result;
12198 char *kwnames[] = {
12199 NULL
12200 };
12201
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12203 {
12204 PyThreadState* __tstate = wxPyBeginAllowThreads();
12205 result = (wxSlider *)new wxSlider();
12206
12207 wxPyEndAllowThreads(__tstate);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 }
15afbcd0 12210 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
d14a1e28
RD
12211 return resultobj;
12212 fail:
12213 return NULL;
12214}
12215
12216
12217static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12218 PyObject *resultobj;
12219 wxSlider *arg1 = (wxSlider *) 0 ;
12220 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12221 int arg3 ;
d14a1e28
RD
12222 int arg4 ;
12223 int arg5 ;
12224 int arg6 ;
12225 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12226 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12227 wxSize const &arg8_defvalue = wxDefaultSize ;
12228 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12229 long arg9 = (long) wxSL_HORIZONTAL ;
12230 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12231 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12232 wxString const &arg11_defvalue = wxPySliderNameStr ;
12233 wxString *arg11 = (wxString *) &arg11_defvalue ;
12234 bool result;
12235 wxPoint temp7 ;
12236 wxSize temp8 ;
e811c8ce 12237 bool temp11 = False ;
d14a1e28
RD
12238 PyObject * obj0 = 0 ;
12239 PyObject * obj1 = 0 ;
994141e6
RD
12240 PyObject * obj2 = 0 ;
12241 PyObject * obj3 = 0 ;
12242 PyObject * obj4 = 0 ;
12243 PyObject * obj5 = 0 ;
d14a1e28
RD
12244 PyObject * obj6 = 0 ;
12245 PyObject * obj7 = 0 ;
994141e6 12246 PyObject * obj8 = 0 ;
d14a1e28
RD
12247 PyObject * obj9 = 0 ;
12248 PyObject * obj10 = 0 ;
12249 char *kwnames[] = {
994141e6 12250 (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
12251 };
12252
994141e6 12253 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
12254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12258 arg3 = (int) SWIG_AsInt(obj2);
12259 if (PyErr_Occurred()) SWIG_fail;
12260 arg4 = (int) SWIG_AsInt(obj3);
12261 if (PyErr_Occurred()) SWIG_fail;
12262 arg5 = (int) SWIG_AsInt(obj4);
12263 if (PyErr_Occurred()) SWIG_fail;
12264 arg6 = (int) SWIG_AsInt(obj5);
12265 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12266 if (obj6) {
12267 {
12268 arg7 = &temp7;
12269 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12270 }
12271 }
12272 if (obj7) {
12273 {
12274 arg8 = &temp8;
12275 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12276 }
12277 }
994141e6 12278 if (obj8) {
15afbcd0
RD
12279 arg9 = (long) SWIG_AsLong(obj8);
12280 if (PyErr_Occurred()) SWIG_fail;
994141e6 12281 }
d14a1e28 12282 if (obj9) {
15afbcd0
RD
12283 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12284 SWIG_POINTER_EXCEPTION | 0)) == -1)
12285 SWIG_fail;
d14a1e28 12286 if (arg10 == NULL) {
15afbcd0
RD
12287 PyErr_SetString(PyExc_TypeError,"null reference");
12288 SWIG_fail;
d14a1e28
RD
12289 }
12290 }
12291 if (obj10) {
12292 {
12293 arg11 = wxString_in_helper(obj10);
12294 if (arg11 == NULL) SWIG_fail;
e811c8ce 12295 temp11 = True;
d14a1e28
RD
12296 }
12297 }
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12301
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 }
4f89f6a3
RD
12305 {
12306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12307 }
d14a1e28
RD
12308 {
12309 if (temp11)
12310 delete arg11;
12311 }
12312 return resultobj;
12313 fail:
12314 {
12315 if (temp11)
12316 delete arg11;
12317 }
12318 return NULL;
12319}
12320
12321
12322static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxSlider *arg1 = (wxSlider *) 0 ;
12325 int result;
12326 PyObject * obj0 = 0 ;
12327 char *kwnames[] = {
12328 (char *) "self", NULL
12329 };
12330
12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
12332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12334 {
12335 PyThreadState* __tstate = wxPyBeginAllowThreads();
12336 result = (int)((wxSlider const *)arg1)->GetValue();
12337
12338 wxPyEndAllowThreads(__tstate);
12339 if (PyErr_Occurred()) SWIG_fail;
12340 }
15afbcd0 12341 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12342 return resultobj;
12343 fail:
12344 return NULL;
12345}
12346
12347
12348static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12349 PyObject *resultobj;
12350 wxSlider *arg1 = (wxSlider *) 0 ;
12351 int arg2 ;
12352 PyObject * obj0 = 0 ;
994141e6 12353 PyObject * obj1 = 0 ;
d14a1e28
RD
12354 char *kwnames[] = {
12355 (char *) "self",(char *) "value", NULL
12356 };
12357
994141e6 12358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12361 arg2 = (int) SWIG_AsInt(obj1);
12362 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12363 {
12364 PyThreadState* __tstate = wxPyBeginAllowThreads();
12365 (arg1)->SetValue(arg2);
12366
12367 wxPyEndAllowThreads(__tstate);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 }
12370 Py_INCREF(Py_None); resultobj = Py_None;
12371 return resultobj;
12372 fail:
12373 return NULL;
12374}
12375
12376
12377static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12378 PyObject *resultobj;
12379 wxSlider *arg1 = (wxSlider *) 0 ;
12380 int arg2 ;
12381 int arg3 ;
12382 PyObject * obj0 = 0 ;
994141e6
RD
12383 PyObject * obj1 = 0 ;
12384 PyObject * obj2 = 0 ;
d14a1e28
RD
12385 char *kwnames[] = {
12386 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12387 };
12388
994141e6 12389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12392 arg2 = (int) SWIG_AsInt(obj1);
12393 if (PyErr_Occurred()) SWIG_fail;
12394 arg3 = (int) SWIG_AsInt(obj2);
12395 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12396 {
12397 PyThreadState* __tstate = wxPyBeginAllowThreads();
12398 (arg1)->SetRange(arg2,arg3);
12399
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 Py_INCREF(Py_None); resultobj = Py_None;
12404 return resultobj;
12405 fail:
12406 return NULL;
12407}
12408
12409
12410static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12411 PyObject *resultobj;
12412 wxSlider *arg1 = (wxSlider *) 0 ;
12413 int result;
12414 PyObject * obj0 = 0 ;
12415 char *kwnames[] = {
12416 (char *) "self", NULL
12417 };
12418
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
12420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 result = (int)((wxSlider const *)arg1)->GetMin();
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
15afbcd0 12429 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12430 return resultobj;
12431 fail:
12432 return NULL;
12433}
12434
12435
12436static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxSlider *arg1 = (wxSlider *) 0 ;
12439 int result;
12440 PyObject * obj0 = 0 ;
12441 char *kwnames[] = {
12442 (char *) "self", NULL
12443 };
12444
12445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
15afbcd0
RD
12446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12448 {
12449 PyThreadState* __tstate = wxPyBeginAllowThreads();
12450 result = (int)((wxSlider const *)arg1)->GetMax();
12451
12452 wxPyEndAllowThreads(__tstate);
12453 if (PyErr_Occurred()) SWIG_fail;
12454 }
15afbcd0 12455 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12456 return resultobj;
12457 fail:
12458 return NULL;
12459}
12460
12461
12462static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12463 PyObject *resultobj;
12464 wxSlider *arg1 = (wxSlider *) 0 ;
12465 int arg2 ;
12466 PyObject * obj0 = 0 ;
994141e6 12467 PyObject * obj1 = 0 ;
d14a1e28
RD
12468 char *kwnames[] = {
12469 (char *) "self",(char *) "minValue", NULL
12470 };
12471
994141e6 12472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12475 arg2 = (int) SWIG_AsInt(obj1);
12476 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12477 {
12478 PyThreadState* __tstate = wxPyBeginAllowThreads();
12479 (arg1)->SetMin(arg2);
12480
12481 wxPyEndAllowThreads(__tstate);
12482 if (PyErr_Occurred()) SWIG_fail;
12483 }
12484 Py_INCREF(Py_None); resultobj = Py_None;
12485 return resultobj;
12486 fail:
12487 return NULL;
12488}
12489
12490
12491static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12492 PyObject *resultobj;
12493 wxSlider *arg1 = (wxSlider *) 0 ;
12494 int arg2 ;
12495 PyObject * obj0 = 0 ;
994141e6 12496 PyObject * obj1 = 0 ;
d14a1e28
RD
12497 char *kwnames[] = {
12498 (char *) "self",(char *) "maxValue", NULL
12499 };
12500
994141e6 12501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12504 arg2 = (int) SWIG_AsInt(obj1);
12505 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12506 {
12507 PyThreadState* __tstate = wxPyBeginAllowThreads();
12508 (arg1)->SetMax(arg2);
12509
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 Py_INCREF(Py_None); resultobj = Py_None;
12514 return resultobj;
12515 fail:
12516 return NULL;
12517}
12518
12519
12520static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12521 PyObject *resultobj;
12522 wxSlider *arg1 = (wxSlider *) 0 ;
12523 int arg2 ;
12524 PyObject * obj0 = 0 ;
994141e6 12525 PyObject * obj1 = 0 ;
d14a1e28
RD
12526 char *kwnames[] = {
12527 (char *) "self",(char *) "lineSize", NULL
12528 };
12529
994141e6 12530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12533 arg2 = (int) SWIG_AsInt(obj1);
12534 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12535 {
12536 PyThreadState* __tstate = wxPyBeginAllowThreads();
12537 (arg1)->SetLineSize(arg2);
12538
12539 wxPyEndAllowThreads(__tstate);
12540 if (PyErr_Occurred()) SWIG_fail;
12541 }
12542 Py_INCREF(Py_None); resultobj = Py_None;
12543 return resultobj;
12544 fail:
12545 return NULL;
12546}
12547
12548
12549static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12550 PyObject *resultobj;
12551 wxSlider *arg1 = (wxSlider *) 0 ;
12552 int arg2 ;
12553 PyObject * obj0 = 0 ;
994141e6 12554 PyObject * obj1 = 0 ;
d14a1e28
RD
12555 char *kwnames[] = {
12556 (char *) "self",(char *) "pageSize", NULL
12557 };
12558
994141e6 12559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12562 arg2 = (int) SWIG_AsInt(obj1);
12563 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 (arg1)->SetPageSize(arg2);
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 Py_INCREF(Py_None); resultobj = Py_None;
12572 return resultobj;
12573 fail:
12574 return NULL;
12575}
12576
12577
12578static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj;
12580 wxSlider *arg1 = (wxSlider *) 0 ;
12581 int result;
12582 PyObject * obj0 = 0 ;
12583 char *kwnames[] = {
12584 (char *) "self", NULL
12585 };
12586
12587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
12588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 result = (int)((wxSlider const *)arg1)->GetLineSize();
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
15afbcd0 12597 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12598 return resultobj;
12599 fail:
12600 return NULL;
12601}
12602
12603
12604static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12605 PyObject *resultobj;
12606 wxSlider *arg1 = (wxSlider *) 0 ;
12607 int result;
12608 PyObject * obj0 = 0 ;
12609 char *kwnames[] = {
12610 (char *) "self", NULL
12611 };
12612
12613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
12614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12616 {
12617 PyThreadState* __tstate = wxPyBeginAllowThreads();
12618 result = (int)((wxSlider const *)arg1)->GetPageSize();
12619
12620 wxPyEndAllowThreads(__tstate);
12621 if (PyErr_Occurred()) SWIG_fail;
12622 }
15afbcd0 12623 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12624 return resultobj;
12625 fail:
12626 return NULL;
12627}
12628
12629
12630static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12631 PyObject *resultobj;
12632 wxSlider *arg1 = (wxSlider *) 0 ;
12633 int arg2 ;
12634 PyObject * obj0 = 0 ;
994141e6 12635 PyObject * obj1 = 0 ;
d14a1e28
RD
12636 char *kwnames[] = {
12637 (char *) "self",(char *) "lenPixels", NULL
12638 };
12639
994141e6 12640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12643 arg2 = (int) SWIG_AsInt(obj1);
12644 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12645 {
12646 PyThreadState* __tstate = wxPyBeginAllowThreads();
12647 (arg1)->SetThumbLength(arg2);
12648
12649 wxPyEndAllowThreads(__tstate);
12650 if (PyErr_Occurred()) SWIG_fail;
12651 }
12652 Py_INCREF(Py_None); resultobj = Py_None;
12653 return resultobj;
12654 fail:
12655 return NULL;
12656}
12657
12658
12659static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12660 PyObject *resultobj;
12661 wxSlider *arg1 = (wxSlider *) 0 ;
12662 int result;
12663 PyObject * obj0 = 0 ;
12664 char *kwnames[] = {
12665 (char *) "self", NULL
12666 };
12667
12668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
12669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12671 {
12672 PyThreadState* __tstate = wxPyBeginAllowThreads();
12673 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12674
12675 wxPyEndAllowThreads(__tstate);
12676 if (PyErr_Occurred()) SWIG_fail;
12677 }
15afbcd0 12678 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12679 return resultobj;
12680 fail:
12681 return NULL;
12682}
12683
12684
12685static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12686 PyObject *resultobj;
12687 wxSlider *arg1 = (wxSlider *) 0 ;
12688 int arg2 ;
994141e6 12689 int arg3 = (int) 1 ;
d14a1e28 12690 PyObject * obj0 = 0 ;
994141e6
RD
12691 PyObject * obj1 = 0 ;
12692 PyObject * obj2 = 0 ;
d14a1e28
RD
12693 char *kwnames[] = {
12694 (char *) "self",(char *) "n",(char *) "pos", NULL
12695 };
12696
994141e6 12697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12700 arg2 = (int) SWIG_AsInt(obj1);
12701 if (PyErr_Occurred()) SWIG_fail;
994141e6 12702 if (obj2) {
15afbcd0
RD
12703 arg3 = (int) SWIG_AsInt(obj2);
12704 if (PyErr_Occurred()) SWIG_fail;
994141e6 12705 }
d14a1e28
RD
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 (arg1)->SetTickFreq(arg2,arg3);
12709
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 Py_INCREF(Py_None); resultobj = Py_None;
12714 return resultobj;
12715 fail:
12716 return NULL;
12717}
12718
12719
12720static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12721 PyObject *resultobj;
12722 wxSlider *arg1 = (wxSlider *) 0 ;
12723 int result;
12724 PyObject * obj0 = 0 ;
12725 char *kwnames[] = {
12726 (char *) "self", NULL
12727 };
12728
12729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
15afbcd0
RD
12730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12732 {
12733 PyThreadState* __tstate = wxPyBeginAllowThreads();
12734 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12735
12736 wxPyEndAllowThreads(__tstate);
12737 if (PyErr_Occurred()) SWIG_fail;
12738 }
15afbcd0 12739 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12740 return resultobj;
12741 fail:
12742 return NULL;
12743}
12744
12745
12746static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12747 PyObject *resultobj;
12748 wxSlider *arg1 = (wxSlider *) 0 ;
12749 PyObject * obj0 = 0 ;
12750 char *kwnames[] = {
12751 (char *) "self", NULL
12752 };
12753
12754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
15afbcd0
RD
12755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12757 {
12758 PyThreadState* __tstate = wxPyBeginAllowThreads();
12759 (arg1)->ClearTicks();
12760
12761 wxPyEndAllowThreads(__tstate);
12762 if (PyErr_Occurred()) SWIG_fail;
12763 }
12764 Py_INCREF(Py_None); resultobj = Py_None;
12765 return resultobj;
12766 fail:
12767 return NULL;
12768}
12769
12770
12771static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12772 PyObject *resultobj;
12773 wxSlider *arg1 = (wxSlider *) 0 ;
12774 int arg2 ;
12775 PyObject * obj0 = 0 ;
994141e6 12776 PyObject * obj1 = 0 ;
d14a1e28
RD
12777 char *kwnames[] = {
12778 (char *) "self",(char *) "tickPos", NULL
12779 };
12780
994141e6 12781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12784 arg2 = (int) SWIG_AsInt(obj1);
12785 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 (arg1)->SetTick(arg2);
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 Py_INCREF(Py_None); resultobj = Py_None;
12794 return resultobj;
12795 fail:
12796 return NULL;
12797}
12798
12799
12800static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12801 PyObject *resultobj;
12802 wxSlider *arg1 = (wxSlider *) 0 ;
12803 PyObject * obj0 = 0 ;
12804 char *kwnames[] = {
12805 (char *) "self", NULL
12806 };
12807
12808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
15afbcd0
RD
12809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12811 {
12812 PyThreadState* __tstate = wxPyBeginAllowThreads();
12813 (arg1)->ClearSel();
12814
12815 wxPyEndAllowThreads(__tstate);
12816 if (PyErr_Occurred()) SWIG_fail;
12817 }
12818 Py_INCREF(Py_None); resultobj = Py_None;
12819 return resultobj;
12820 fail:
12821 return NULL;
12822}
12823
12824
12825static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12826 PyObject *resultobj;
12827 wxSlider *arg1 = (wxSlider *) 0 ;
12828 int result;
12829 PyObject * obj0 = 0 ;
12830 char *kwnames[] = {
12831 (char *) "self", NULL
12832 };
12833
12834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
15afbcd0
RD
12835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12837 {
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12840
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
15afbcd0 12844 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12845 return resultobj;
12846 fail:
12847 return NULL;
12848}
12849
12850
12851static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12852 PyObject *resultobj;
12853 wxSlider *arg1 = (wxSlider *) 0 ;
12854 int result;
12855 PyObject * obj0 = 0 ;
12856 char *kwnames[] = {
12857 (char *) "self", NULL
12858 };
12859
12860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
15afbcd0
RD
12861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12863 {
12864 PyThreadState* __tstate = wxPyBeginAllowThreads();
12865 result = (int)((wxSlider const *)arg1)->GetSelStart();
12866
12867 wxPyEndAllowThreads(__tstate);
12868 if (PyErr_Occurred()) SWIG_fail;
12869 }
15afbcd0 12870 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12871 return resultobj;
12872 fail:
12873 return NULL;
12874}
12875
12876
12877static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12878 PyObject *resultobj;
12879 wxSlider *arg1 = (wxSlider *) 0 ;
12880 int arg2 ;
12881 int arg3 ;
12882 PyObject * obj0 = 0 ;
994141e6
RD
12883 PyObject * obj1 = 0 ;
12884 PyObject * obj2 = 0 ;
d14a1e28
RD
12885 char *kwnames[] = {
12886 (char *) "self",(char *) "min",(char *) "max", NULL
12887 };
12888
994141e6 12889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
12890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12892 arg2 = (int) SWIG_AsInt(obj1);
12893 if (PyErr_Occurred()) SWIG_fail;
12894 arg3 = (int) SWIG_AsInt(obj2);
12895 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12896 {
12897 PyThreadState* __tstate = wxPyBeginAllowThreads();
12898 (arg1)->SetSelection(arg2,arg3);
12899
12900 wxPyEndAllowThreads(__tstate);
12901 if (PyErr_Occurred()) SWIG_fail;
12902 }
12903 Py_INCREF(Py_None); resultobj = Py_None;
12904 return resultobj;
12905 fail:
12906 return NULL;
12907}
12908
12909
12910static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12911 PyObject *obj;
12912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12913 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12914 Py_INCREF(obj);
12915 return Py_BuildValue((char *)"");
12916}
b2dc1044
RD
12917static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
12918 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12919 return 1;
12920}
12921
12922
12923static PyObject *_wrap_ToggleButtonNameStr_get() {
12924 PyObject *pyobj;
12925
12926 {
12927#if wxUSE_UNICODE
12928 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12929#else
12930 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12931#endif
12932 }
12933 return pyobj;
12934}
12935
12936
d14a1e28
RD
12937static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12938 PyObject *resultobj;
12939 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12940 int arg2 ;
d14a1e28
RD
12941 wxString *arg3 = 0 ;
12942 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12943 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12944 wxSize const &arg5_defvalue = wxDefaultSize ;
12945 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12946 long arg6 = (long) 0 ;
12947 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12948 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12949 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12950 wxString *arg8 = (wxString *) &arg8_defvalue ;
12951 wxToggleButton *result;
e811c8ce 12952 bool temp3 = False ;
d14a1e28
RD
12953 wxPoint temp4 ;
12954 wxSize temp5 ;
e811c8ce 12955 bool temp8 = False ;
d14a1e28 12956 PyObject * obj0 = 0 ;
994141e6 12957 PyObject * obj1 = 0 ;
d14a1e28
RD
12958 PyObject * obj2 = 0 ;
12959 PyObject * obj3 = 0 ;
12960 PyObject * obj4 = 0 ;
994141e6 12961 PyObject * obj5 = 0 ;
d14a1e28
RD
12962 PyObject * obj6 = 0 ;
12963 PyObject * obj7 = 0 ;
12964 char *kwnames[] = {
12965 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12966 };
12967
994141e6 12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
12969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12971 arg2 = (int) SWIG_AsInt(obj1);
12972 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12973 {
12974 arg3 = wxString_in_helper(obj2);
12975 if (arg3 == NULL) SWIG_fail;
e811c8ce 12976 temp3 = True;
d14a1e28
RD
12977 }
12978 if (obj3) {
12979 {
12980 arg4 = &temp4;
12981 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12982 }
12983 }
12984 if (obj4) {
12985 {
12986 arg5 = &temp5;
12987 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12988 }
12989 }
994141e6 12990 if (obj5) {
15afbcd0
RD
12991 arg6 = (long) SWIG_AsLong(obj5);
12992 if (PyErr_Occurred()) SWIG_fail;
994141e6 12993 }
d14a1e28 12994 if (obj6) {
15afbcd0
RD
12995 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12996 SWIG_POINTER_EXCEPTION | 0)) == -1)
12997 SWIG_fail;
d14a1e28 12998 if (arg7 == NULL) {
15afbcd0
RD
12999 PyErr_SetString(PyExc_TypeError,"null reference");
13000 SWIG_fail;
d14a1e28
RD
13001 }
13002 }
13003 if (obj7) {
13004 {
13005 arg8 = wxString_in_helper(obj7);
13006 if (arg8 == NULL) SWIG_fail;
e811c8ce 13007 temp8 = True;
d14a1e28
RD
13008 }
13009 }
13010 {
13011 PyThreadState* __tstate = wxPyBeginAllowThreads();
13012 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13013
13014 wxPyEndAllowThreads(__tstate);
13015 if (PyErr_Occurred()) SWIG_fail;
13016 }
15afbcd0 13017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
13018 {
13019 if (temp3)
13020 delete arg3;
13021 }
13022 {
13023 if (temp8)
13024 delete arg8;
13025 }
13026 return resultobj;
13027 fail:
13028 {
13029 if (temp3)
13030 delete arg3;
13031 }
13032 {
13033 if (temp8)
13034 delete arg8;
13035 }
13036 return NULL;
13037}
13038
13039
13040static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13041 PyObject *resultobj;
13042 wxToggleButton *result;
13043 char *kwnames[] = {
13044 NULL
13045 };
13046
13047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13048 {
13049 PyThreadState* __tstate = wxPyBeginAllowThreads();
13050 result = (wxToggleButton *)new wxToggleButton();
13051
13052 wxPyEndAllowThreads(__tstate);
13053 if (PyErr_Occurred()) SWIG_fail;
13054 }
15afbcd0 13055 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
d14a1e28
RD
13056 return resultobj;
13057 fail:
13058 return NULL;
13059}
13060
13061
13062static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13063 PyObject *resultobj;
13064 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13065 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 13066 int arg3 ;
d14a1e28
RD
13067 wxString *arg4 = 0 ;
13068 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13069 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13070 wxSize const &arg6_defvalue = wxDefaultSize ;
13071 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13072 long arg7 = (long) 0 ;
13073 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13074 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13075 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13076 wxString *arg9 = (wxString *) &arg9_defvalue ;
13077 bool result;
e811c8ce 13078 bool temp4 = False ;
d14a1e28
RD
13079 wxPoint temp5 ;
13080 wxSize temp6 ;
e811c8ce 13081 bool temp9 = False ;
d14a1e28
RD
13082 PyObject * obj0 = 0 ;
13083 PyObject * obj1 = 0 ;
994141e6 13084 PyObject * obj2 = 0 ;
d14a1e28
RD
13085 PyObject * obj3 = 0 ;
13086 PyObject * obj4 = 0 ;
13087 PyObject * obj5 = 0 ;
994141e6 13088 PyObject * obj6 = 0 ;
d14a1e28
RD
13089 PyObject * obj7 = 0 ;
13090 PyObject * obj8 = 0 ;
13091 char *kwnames[] = {
13092 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13093 };
13094
994141e6 13095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
13096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13100 arg3 = (int) SWIG_AsInt(obj2);
13101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13102 {
13103 arg4 = wxString_in_helper(obj3);
13104 if (arg4 == NULL) SWIG_fail;
e811c8ce 13105 temp4 = True;
d14a1e28
RD
13106 }
13107 if (obj4) {
13108 {
13109 arg5 = &temp5;
13110 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13111 }
13112 }
13113 if (obj5) {
13114 {
13115 arg6 = &temp6;
13116 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13117 }
13118 }
994141e6 13119 if (obj6) {
15afbcd0
RD
13120 arg7 = (long) SWIG_AsLong(obj6);
13121 if (PyErr_Occurred()) SWIG_fail;
994141e6 13122 }
d14a1e28 13123 if (obj7) {
15afbcd0
RD
13124 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13125 SWIG_POINTER_EXCEPTION | 0)) == -1)
13126 SWIG_fail;
d14a1e28 13127 if (arg8 == NULL) {
15afbcd0
RD
13128 PyErr_SetString(PyExc_TypeError,"null reference");
13129 SWIG_fail;
d14a1e28
RD
13130 }
13131 }
13132 if (obj8) {
13133 {
13134 arg9 = wxString_in_helper(obj8);
13135 if (arg9 == NULL) SWIG_fail;
e811c8ce 13136 temp9 = True;
d14a1e28
RD
13137 }
13138 }
13139 {
13140 PyThreadState* __tstate = wxPyBeginAllowThreads();
13141 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13142
13143 wxPyEndAllowThreads(__tstate);
13144 if (PyErr_Occurred()) SWIG_fail;
13145 }
4f89f6a3
RD
13146 {
13147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13148 }
d14a1e28
RD
13149 {
13150 if (temp4)
13151 delete arg4;
13152 }
13153 {
13154 if (temp9)
13155 delete arg9;
13156 }
13157 return resultobj;
13158 fail:
13159 {
13160 if (temp4)
13161 delete arg4;
13162 }
13163 {
13164 if (temp9)
13165 delete arg9;
13166 }
13167 return NULL;
13168}
13169
13170
13171static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13172 PyObject *resultobj;
13173 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13174 bool arg2 ;
13175 PyObject * obj0 = 0 ;
13176 PyObject * obj1 = 0 ;
13177 char *kwnames[] = {
13178 (char *) "self",(char *) "value", NULL
13179 };
13180
13181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13184 arg2 = (bool) SWIG_AsBool(obj1);
13185 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13186 {
13187 PyThreadState* __tstate = wxPyBeginAllowThreads();
13188 (arg1)->SetValue(arg2);
13189
13190 wxPyEndAllowThreads(__tstate);
13191 if (PyErr_Occurred()) SWIG_fail;
13192 }
13193 Py_INCREF(Py_None); resultobj = Py_None;
13194 return resultobj;
13195 fail:
13196 return NULL;
13197}
13198
13199
13200static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13201 PyObject *resultobj;
13202 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13203 bool result;
13204 PyObject * obj0 = 0 ;
13205 char *kwnames[] = {
13206 (char *) "self", NULL
13207 };
13208
13209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
13210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13215
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
4f89f6a3
RD
13219 {
13220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13221 }
d14a1e28
RD
13222 return resultobj;
13223 fail:
13224 return NULL;
13225}
13226
13227
13228static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13229 PyObject *resultobj;
13230 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13231 wxString *arg2 = 0 ;
e811c8ce 13232 bool temp2 = False ;
d14a1e28
RD
13233 PyObject * obj0 = 0 ;
13234 PyObject * obj1 = 0 ;
13235 char *kwnames[] = {
13236 (char *) "self",(char *) "label", NULL
13237 };
13238
13239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13242 {
13243 arg2 = wxString_in_helper(obj1);
13244 if (arg2 == NULL) SWIG_fail;
e811c8ce 13245 temp2 = True;
d14a1e28
RD
13246 }
13247 {
13248 PyThreadState* __tstate = wxPyBeginAllowThreads();
13249 (arg1)->SetLabel((wxString const &)*arg2);
13250
13251 wxPyEndAllowThreads(__tstate);
13252 if (PyErr_Occurred()) SWIG_fail;
13253 }
13254 Py_INCREF(Py_None); resultobj = Py_None;
13255 {
13256 if (temp2)
13257 delete arg2;
13258 }
13259 return resultobj;
13260 fail:
13261 {
13262 if (temp2)
13263 delete arg2;
13264 }
13265 return NULL;
13266}
13267
13268
13269static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13270 PyObject *obj;
13271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13272 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13273 Py_INCREF(obj);
13274 return Py_BuildValue((char *)"");
13275}
b2dc1044
RD
13276static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13277 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13278 return 1;
13279}
13280
13281
13282static PyObject *_wrap_NOTEBOOK_NAME_get() {
13283 PyObject *pyobj;
13284
13285 {
13286#if wxUSE_UNICODE
13287 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13288#else
13289 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13290#endif
13291 }
13292 return pyobj;
13293}
13294
13295
d14a1e28
RD
13296static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13297 PyObject *resultobj;
13298 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13299 size_t result;
13300 PyObject * obj0 = 0 ;
13301 char *kwnames[] = {
13302 (char *) "self", NULL
13303 };
13304
13305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
13306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13308 {
13309 PyThreadState* __tstate = wxPyBeginAllowThreads();
13310 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13311
13312 wxPyEndAllowThreads(__tstate);
13313 if (PyErr_Occurred()) SWIG_fail;
13314 }
15afbcd0 13315 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
13316 return resultobj;
13317 fail:
13318 return NULL;
13319}
13320
13321
13322static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj;
13324 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13325 size_t arg2 ;
13326 wxWindow *result;
13327 PyObject * obj0 = 0 ;
13328 PyObject * obj1 = 0 ;
13329 char *kwnames[] = {
13330 (char *) "self",(char *) "n", NULL
13331 };
13332
13333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13336 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13337 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13338 {
13339 PyThreadState* __tstate = wxPyBeginAllowThreads();
13340 result = (wxWindow *)(arg1)->GetPage(arg2);
13341
13342 wxPyEndAllowThreads(__tstate);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
13345 {
13346 resultobj = wxPyMake_wxObject(result);
13347 }
13348 return resultobj;
13349 fail:
13350 return NULL;
13351}
13352
13353
13354static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13355 PyObject *resultobj;
13356 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13357 int result;
13358 PyObject * obj0 = 0 ;
13359 char *kwnames[] = {
13360 (char *) "self", NULL
13361 };
13362
13363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13366 {
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
13368 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13369
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
15afbcd0 13373 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13374 return resultobj;
13375 fail:
13376 return NULL;
13377}
13378
13379
13380static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13381 PyObject *resultobj;
13382 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13383 size_t arg2 ;
13384 wxString *arg3 = 0 ;
13385 bool result;
e811c8ce 13386 bool temp3 = False ;
d14a1e28
RD
13387 PyObject * obj0 = 0 ;
13388 PyObject * obj1 = 0 ;
13389 PyObject * obj2 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self",(char *) "n",(char *) "strText", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13397 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13398 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13399 {
13400 arg3 = wxString_in_helper(obj2);
13401 if (arg3 == NULL) SWIG_fail;
e811c8ce 13402 temp3 = True;
d14a1e28
RD
13403 }
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
4f89f6a3
RD
13411 {
13412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13413 }
d14a1e28
RD
13414 {
13415 if (temp3)
13416 delete arg3;
13417 }
13418 return resultobj;
13419 fail:
13420 {
13421 if (temp3)
13422 delete arg3;
13423 }
13424 return NULL;
13425}
13426
13427
13428static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13429 PyObject *resultobj;
13430 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13431 size_t arg2 ;
13432 wxString result;
13433 PyObject * obj0 = 0 ;
13434 PyObject * obj1 = 0 ;
13435 char *kwnames[] = {
13436 (char *) "self",(char *) "n", NULL
13437 };
13438
13439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13442 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13443 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
13446 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 {
13452#if wxUSE_UNICODE
13453 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13454#else
13455 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13456#endif
13457 }
13458 return resultobj;
13459 fail:
13460 return NULL;
13461}
13462
13463
13464static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13465 PyObject *resultobj;
13466 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13467 wxImageList *arg2 = (wxImageList *) 0 ;
13468 PyObject * obj0 = 0 ;
13469 PyObject * obj1 = 0 ;
13470 char *kwnames[] = {
13471 (char *) "self",(char *) "imageList", NULL
13472 };
13473
13474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13477 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13479 {
13480 PyThreadState* __tstate = wxPyBeginAllowThreads();
13481 (arg1)->SetImageList(arg2);
13482
13483 wxPyEndAllowThreads(__tstate);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
13486 Py_INCREF(Py_None); resultobj = Py_None;
13487 return resultobj;
13488 fail:
13489 return NULL;
13490}
13491
13492
13493static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13494 PyObject *resultobj;
13495 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13496 wxImageList *arg2 = (wxImageList *) 0 ;
13497 PyObject * obj0 = 0 ;
13498 PyObject * obj1 = 0 ;
13499 char *kwnames[] = {
13500 (char *) "self",(char *) "imageList", NULL
13501 };
13502
13503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
13507 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
13508 {
13509 PyThreadState* __tstate = wxPyBeginAllowThreads();
13510 (arg1)->AssignImageList(arg2);
13511
13512 wxPyEndAllowThreads(__tstate);
13513 if (PyErr_Occurred()) SWIG_fail;
13514 }
13515 Py_INCREF(Py_None); resultobj = Py_None;
13516 return resultobj;
13517 fail:
13518 return NULL;
13519}
13520
13521
13522static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13523 PyObject *resultobj;
13524 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13525 wxImageList *result;
13526 PyObject * obj0 = 0 ;
13527 char *kwnames[] = {
13528 (char *) "self", NULL
13529 };
13530
13531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
13532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13534 {
13535 PyThreadState* __tstate = wxPyBeginAllowThreads();
13536 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13537
13538 wxPyEndAllowThreads(__tstate);
13539 if (PyErr_Occurred()) SWIG_fail;
13540 }
13541 {
13542 resultobj = wxPyMake_wxObject(result);
13543 }
13544 return resultobj;
13545 fail:
13546 return NULL;
13547}
13548
13549
13550static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13551 PyObject *resultobj;
13552 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13553 size_t arg2 ;
13554 int result;
13555 PyObject * obj0 = 0 ;
13556 PyObject * obj1 = 0 ;
13557 char *kwnames[] = {
13558 (char *) "self",(char *) "n", NULL
13559 };
13560
13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13564 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13565 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
15afbcd0 13573 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13574 return resultobj;
13575 fail:
13576 return NULL;
13577}
13578
13579
13580static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13581 PyObject *resultobj;
13582 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13583 size_t arg2 ;
13584 int arg3 ;
13585 bool result;
13586 PyObject * obj0 = 0 ;
13587 PyObject * obj1 = 0 ;
994141e6 13588 PyObject * obj2 = 0 ;
d14a1e28
RD
13589 char *kwnames[] = {
13590 (char *) "self",(char *) "n",(char *) "imageId", NULL
13591 };
13592
994141e6 13593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
13594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13596 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13597 if (PyErr_Occurred()) SWIG_fail;
13598 arg3 = (int) SWIG_AsInt(obj2);
13599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13600 {
13601 PyThreadState* __tstate = wxPyBeginAllowThreads();
13602 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13603
13604 wxPyEndAllowThreads(__tstate);
13605 if (PyErr_Occurred()) SWIG_fail;
13606 }
4f89f6a3
RD
13607 {
13608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13609 }
d14a1e28
RD
13610 return resultobj;
13611 fail:
13612 return NULL;
13613}
13614
13615
13616static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13617 PyObject *resultobj;
13618 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13619 wxSize *arg2 = 0 ;
13620 wxSize temp2 ;
13621 PyObject * obj0 = 0 ;
13622 PyObject * obj1 = 0 ;
13623 char *kwnames[] = {
13624 (char *) "self",(char *) "size", NULL
13625 };
13626
13627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13630 {
13631 arg2 = &temp2;
13632 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13633 }
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 (arg1)->SetPageSize((wxSize const &)*arg2);
13637
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
13641 Py_INCREF(Py_None); resultobj = Py_None;
13642 return resultobj;
13643 fail:
13644 return NULL;
13645}
13646
13647
13648static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13649 PyObject *resultobj;
13650 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13651 wxSize *arg2 = 0 ;
13652 wxSize result;
13653 wxSize temp2 ;
13654 PyObject * obj0 = 0 ;
13655 PyObject * obj1 = 0 ;
13656 char *kwnames[] = {
13657 (char *) "self",(char *) "sizePage", NULL
13658 };
13659
13660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13663 {
13664 arg2 = &temp2;
13665 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13666 }
13667 {
13668 PyThreadState* __tstate = wxPyBeginAllowThreads();
13669 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13670
13671 wxPyEndAllowThreads(__tstate);
13672 if (PyErr_Occurred()) SWIG_fail;
13673 }
13674 {
13675 wxSize * resultptr;
13676 resultptr = new wxSize((wxSize &) result);
15afbcd0 13677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
13678 }
13679 return resultobj;
13680 fail:
13681 return NULL;
13682}
13683
13684
13685static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13686 PyObject *resultobj;
13687 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13688 size_t arg2 ;
13689 bool result;
13690 PyObject * obj0 = 0 ;
13691 PyObject * obj1 = 0 ;
13692 char *kwnames[] = {
13693 (char *) "self",(char *) "n", NULL
13694 };
13695
13696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13699 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13700 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13701 {
13702 PyThreadState* __tstate = wxPyBeginAllowThreads();
13703 result = (bool)(arg1)->DeletePage(arg2);
13704
13705 wxPyEndAllowThreads(__tstate);
13706 if (PyErr_Occurred()) SWIG_fail;
13707 }
4f89f6a3
RD
13708 {
13709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13710 }
d14a1e28
RD
13711 return resultobj;
13712 fail:
13713 return NULL;
13714}
13715
13716
13717static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13718 PyObject *resultobj;
13719 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13720 size_t arg2 ;
13721 bool result;
13722 PyObject * obj0 = 0 ;
13723 PyObject * obj1 = 0 ;
13724 char *kwnames[] = {
13725 (char *) "self",(char *) "n", NULL
13726 };
13727
13728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13731 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13732 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13733 {
13734 PyThreadState* __tstate = wxPyBeginAllowThreads();
13735 result = (bool)(arg1)->RemovePage(arg2);
13736
13737 wxPyEndAllowThreads(__tstate);
13738 if (PyErr_Occurred()) SWIG_fail;
13739 }
4f89f6a3
RD
13740 {
13741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13742 }
d14a1e28
RD
13743 return resultobj;
13744 fail:
13745 return NULL;
13746}
13747
13748
13749static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13750 PyObject *resultobj;
13751 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13752 bool result;
13753 PyObject * obj0 = 0 ;
13754 char *kwnames[] = {
13755 (char *) "self", NULL
13756 };
13757
13758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
15afbcd0
RD
13759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13761 {
13762 PyThreadState* __tstate = wxPyBeginAllowThreads();
13763 result = (bool)(arg1)->DeleteAllPages();
13764
13765 wxPyEndAllowThreads(__tstate);
13766 if (PyErr_Occurred()) SWIG_fail;
13767 }
4f89f6a3
RD
13768 {
13769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13770 }
d14a1e28
RD
13771 return resultobj;
13772 fail:
13773 return NULL;
13774}
13775
13776
13777static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13778 PyObject *resultobj;
13779 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13780 wxWindow *arg2 = (wxWindow *) 0 ;
13781 wxString *arg3 = 0 ;
e811c8ce 13782 bool arg4 = (bool) False ;
d14a1e28
RD
13783 int arg5 = (int) -1 ;
13784 bool result;
e811c8ce 13785 bool temp3 = False ;
d14a1e28
RD
13786 PyObject * obj0 = 0 ;
13787 PyObject * obj1 = 0 ;
13788 PyObject * obj2 = 0 ;
13789 PyObject * obj3 = 0 ;
994141e6 13790 PyObject * obj4 = 0 ;
d14a1e28
RD
13791 char *kwnames[] = {
13792 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13793 };
13794
994141e6 13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
13796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13800 {
13801 arg3 = wxString_in_helper(obj2);
13802 if (arg3 == NULL) SWIG_fail;
e811c8ce 13803 temp3 = True;
d14a1e28
RD
13804 }
13805 if (obj3) {
15afbcd0
RD
13806 arg4 = (bool) SWIG_AsBool(obj3);
13807 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13808 }
13809 if (obj4) {
15afbcd0
RD
13810 arg5 = (int) SWIG_AsInt(obj4);
13811 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13812 }
13813 {
13814 PyThreadState* __tstate = wxPyBeginAllowThreads();
13815 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13816
13817 wxPyEndAllowThreads(__tstate);
13818 if (PyErr_Occurred()) SWIG_fail;
13819 }
4f89f6a3
RD
13820 {
13821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13822 }
d14a1e28
RD
13823 {
13824 if (temp3)
13825 delete arg3;
13826 }
13827 return resultobj;
13828 fail:
13829 {
13830 if (temp3)
13831 delete arg3;
13832 }
13833 return NULL;
13834}
13835
13836
13837static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13838 PyObject *resultobj;
13839 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13840 size_t arg2 ;
13841 wxWindow *arg3 = (wxWindow *) 0 ;
13842 wxString *arg4 = 0 ;
e811c8ce 13843 bool arg5 = (bool) False ;
d14a1e28
RD
13844 int arg6 = (int) -1 ;
13845 bool result;
e811c8ce 13846 bool temp4 = False ;
d14a1e28
RD
13847 PyObject * obj0 = 0 ;
13848 PyObject * obj1 = 0 ;
13849 PyObject * obj2 = 0 ;
13850 PyObject * obj3 = 0 ;
13851 PyObject * obj4 = 0 ;
994141e6 13852 PyObject * obj5 = 0 ;
d14a1e28
RD
13853 char *kwnames[] = {
13854 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13855 };
13856
994141e6 13857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
13858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13860 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
13863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13864 {
13865 arg4 = wxString_in_helper(obj3);
13866 if (arg4 == NULL) SWIG_fail;
e811c8ce 13867 temp4 = True;
d14a1e28
RD
13868 }
13869 if (obj4) {
15afbcd0
RD
13870 arg5 = (bool) SWIG_AsBool(obj4);
13871 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13872 }
13873 if (obj5) {
15afbcd0
RD
13874 arg6 = (int) SWIG_AsInt(obj5);
13875 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13876 }
13877 {
13878 PyThreadState* __tstate = wxPyBeginAllowThreads();
13879 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13880
13881 wxPyEndAllowThreads(__tstate);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 }
4f89f6a3
RD
13884 {
13885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13886 }
d14a1e28
RD
13887 {
13888 if (temp4)
13889 delete arg4;
13890 }
13891 return resultobj;
13892 fail:
13893 {
13894 if (temp4)
13895 delete arg4;
13896 }
13897 return NULL;
13898}
13899
13900
13901static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13902 PyObject *resultobj;
13903 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13904 size_t arg2 ;
13905 int result;
13906 PyObject * obj0 = 0 ;
13907 PyObject * obj1 = 0 ;
13908 char *kwnames[] = {
13909 (char *) "self",(char *) "n", NULL
13910 };
13911
13912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13915 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
13916 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13917 {
13918 PyThreadState* __tstate = wxPyBeginAllowThreads();
13919 result = (int)(arg1)->SetSelection(arg2);
13920
13921 wxPyEndAllowThreads(__tstate);
13922 if (PyErr_Occurred()) SWIG_fail;
13923 }
15afbcd0 13924 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13925 return resultobj;
13926 fail:
13927 return NULL;
13928}
13929
13930
13931static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13932 PyObject *resultobj;
13933 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
e811c8ce 13934 bool arg2 = (bool) True ;
d14a1e28
RD
13935 PyObject * obj0 = 0 ;
13936 PyObject * obj1 = 0 ;
13937 char *kwnames[] = {
13938 (char *) "self",(char *) "forward", NULL
13939 };
13940
13941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
13943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 13944 if (obj1) {
15afbcd0
RD
13945 arg2 = (bool) SWIG_AsBool(obj1);
13946 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13947 }
13948 {
13949 PyThreadState* __tstate = wxPyBeginAllowThreads();
13950 (arg1)->AdvanceSelection(arg2);
13951
13952 wxPyEndAllowThreads(__tstate);
13953 if (PyErr_Occurred()) SWIG_fail;
13954 }
13955 Py_INCREF(Py_None); resultobj = Py_None;
13956 return resultobj;
13957 fail:
13958 return NULL;
13959}
13960
13961
13962static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13963 PyObject *obj;
13964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13965 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13966 Py_INCREF(obj);
13967 return Py_BuildValue((char *)"");
13968}
13969static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13970 PyObject *resultobj;
13971 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13972 int arg2 = (int) 0 ;
13973 int arg3 = (int) -1 ;
13974 int arg4 = (int) -1 ;
13975 wxBookCtrlEvent *result;
994141e6
RD
13976 PyObject * obj0 = 0 ;
13977 PyObject * obj1 = 0 ;
13978 PyObject * obj2 = 0 ;
13979 PyObject * obj3 = 0 ;
d14a1e28
RD
13980 char *kwnames[] = {
13981 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13982 };
13983
994141e6
RD
13984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13985 if (obj0) {
15afbcd0
RD
13986 arg1 = (wxEventType) SWIG_AsInt(obj0);
13987 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13988 }
13989 if (obj1) {
15afbcd0
RD
13990 arg2 = (int) SWIG_AsInt(obj1);
13991 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13992 }
13993 if (obj2) {
15afbcd0
RD
13994 arg3 = (int) SWIG_AsInt(obj2);
13995 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13996 }
13997 if (obj3) {
15afbcd0
RD
13998 arg4 = (int) SWIG_AsInt(obj3);
13999 if (PyErr_Occurred()) SWIG_fail;
994141e6 14000 }
d14a1e28
RD
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14004
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
15afbcd0 14008 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
d14a1e28
RD
14009 return resultobj;
14010 fail:
14011 return NULL;
14012}
14013
14014
14015static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14016 PyObject *resultobj;
14017 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14018 int result;
14019 PyObject * obj0 = 0 ;
14020 char *kwnames[] = {
14021 (char *) "self", NULL
14022 };
14023
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
14025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14027 {
14028 PyThreadState* __tstate = wxPyBeginAllowThreads();
14029 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14030
14031 wxPyEndAllowThreads(__tstate);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
15afbcd0 14034 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14035 return resultobj;
14036 fail:
14037 return NULL;
14038}
14039
14040
14041static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14042 PyObject *resultobj;
14043 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14044 int arg2 ;
14045 PyObject * obj0 = 0 ;
994141e6 14046 PyObject * obj1 = 0 ;
d14a1e28
RD
14047 char *kwnames[] = {
14048 (char *) "self",(char *) "nSel", NULL
14049 };
14050
994141e6 14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14054 arg2 = (int) SWIG_AsInt(obj1);
14055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14056 {
14057 PyThreadState* __tstate = wxPyBeginAllowThreads();
14058 (arg1)->SetSelection(arg2);
14059
14060 wxPyEndAllowThreads(__tstate);
14061 if (PyErr_Occurred()) SWIG_fail;
14062 }
14063 Py_INCREF(Py_None); resultobj = Py_None;
14064 return resultobj;
14065 fail:
14066 return NULL;
14067}
14068
14069
14070static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14071 PyObject *resultobj;
14072 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14073 int result;
14074 PyObject * obj0 = 0 ;
14075 char *kwnames[] = {
14076 (char *) "self", NULL
14077 };
14078
14079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
14080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14082 {
14083 PyThreadState* __tstate = wxPyBeginAllowThreads();
14084 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14085
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
15afbcd0 14089 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14090 return resultobj;
14091 fail:
14092 return NULL;
14093}
14094
14095
14096static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14099 int arg2 ;
14100 PyObject * obj0 = 0 ;
994141e6 14101 PyObject * obj1 = 0 ;
d14a1e28
RD
14102 char *kwnames[] = {
14103 (char *) "self",(char *) "nOldSel", NULL
14104 };
14105
994141e6 14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14109 arg2 = (int) SWIG_AsInt(obj1);
14110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14111 {
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 (arg1)->SetOldSelection(arg2);
14114
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 Py_INCREF(Py_None); resultobj = Py_None;
14119 return resultobj;
14120 fail:
14121 return NULL;
14122}
14123
14124
14125static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14126 PyObject *obj;
14127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14128 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
14129 Py_INCREF(obj);
14130 return Py_BuildValue((char *)"");
14131}
14132static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14133 PyObject *resultobj;
14134 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 14135 int arg2 = (int) -1 ;
d14a1e28
RD
14136 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14137 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14138 wxSize const &arg4_defvalue = wxDefaultSize ;
14139 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14140 long arg5 = (long) 0 ;
14141 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14142 wxString *arg6 = (wxString *) &arg6_defvalue ;
14143 wxNotebook *result;
14144 wxPoint temp3 ;
14145 wxSize temp4 ;
e811c8ce 14146 bool temp6 = False ;
d14a1e28 14147 PyObject * obj0 = 0 ;
994141e6 14148 PyObject * obj1 = 0 ;
d14a1e28
RD
14149 PyObject * obj2 = 0 ;
14150 PyObject * obj3 = 0 ;
994141e6 14151 PyObject * obj4 = 0 ;
d14a1e28
RD
14152 PyObject * obj5 = 0 ;
14153 char *kwnames[] = {
14154 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14155 };
14156
4f89f6a3 14157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
14158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
14160 if (obj1) {
14161 arg2 = (int) SWIG_AsInt(obj1);
14162 if (PyErr_Occurred()) SWIG_fail;
14163 }
d14a1e28
RD
14164 if (obj2) {
14165 {
14166 arg3 = &temp3;
14167 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14168 }
14169 }
14170 if (obj3) {
14171 {
14172 arg4 = &temp4;
14173 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14174 }
14175 }
994141e6 14176 if (obj4) {
15afbcd0
RD
14177 arg5 = (long) SWIG_AsLong(obj4);
14178 if (PyErr_Occurred()) SWIG_fail;
994141e6 14179 }
d14a1e28
RD
14180 if (obj5) {
14181 {
14182 arg6 = wxString_in_helper(obj5);
14183 if (arg6 == NULL) SWIG_fail;
e811c8ce 14184 temp6 = True;
d14a1e28
RD
14185 }
14186 }
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
14189 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14190
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 {
14195 resultobj = wxPyMake_wxObject(result);
14196 }
14197 {
14198 if (temp6)
14199 delete arg6;
14200 }
14201 return resultobj;
14202 fail:
14203 {
14204 if (temp6)
14205 delete arg6;
14206 }
14207 return NULL;
14208}
14209
14210
14211static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14212 PyObject *resultobj;
14213 wxNotebook *result;
14214 char *kwnames[] = {
14215 NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 result = (wxNotebook *)new wxNotebook();
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 {
14227 resultobj = wxPyMake_wxObject(result);
14228 }
14229 return resultobj;
14230 fail:
14231 return NULL;
14232}
14233
14234
14235static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14236 PyObject *resultobj;
14237 wxNotebook *arg1 = (wxNotebook *) 0 ;
14238 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 14239 int arg3 ;
d14a1e28
RD
14240 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14241 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14242 wxSize const &arg5_defvalue = wxDefaultSize ;
14243 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14244 long arg6 = (long) 0 ;
14245 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14246 wxString *arg7 = (wxString *) &arg7_defvalue ;
14247 bool result;
14248 wxPoint temp4 ;
14249 wxSize temp5 ;
e811c8ce 14250 bool temp7 = False ;
d14a1e28
RD
14251 PyObject * obj0 = 0 ;
14252 PyObject * obj1 = 0 ;
994141e6 14253 PyObject * obj2 = 0 ;
d14a1e28
RD
14254 PyObject * obj3 = 0 ;
14255 PyObject * obj4 = 0 ;
994141e6 14256 PyObject * obj5 = 0 ;
d14a1e28
RD
14257 PyObject * obj6 = 0 ;
14258 char *kwnames[] = {
14259 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14260 };
14261
994141e6 14262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
14263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14265 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14267 arg3 = (int) SWIG_AsInt(obj2);
14268 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14269 if (obj3) {
14270 {
14271 arg4 = &temp4;
14272 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14273 }
14274 }
14275 if (obj4) {
14276 {
14277 arg5 = &temp5;
14278 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14279 }
14280 }
994141e6 14281 if (obj5) {
15afbcd0
RD
14282 arg6 = (long) SWIG_AsLong(obj5);
14283 if (PyErr_Occurred()) SWIG_fail;
994141e6 14284 }
d14a1e28
RD
14285 if (obj6) {
14286 {
14287 arg7 = wxString_in_helper(obj6);
14288 if (arg7 == NULL) SWIG_fail;
e811c8ce 14289 temp7 = True;
d14a1e28
RD
14290 }
14291 }
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
4f89f6a3
RD
14299 {
14300 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14301 }
d14a1e28
RD
14302 {
14303 if (temp7)
14304 delete arg7;
14305 }
14306 return resultobj;
14307 fail:
14308 {
14309 if (temp7)
14310 delete arg7;
14311 }
14312 return NULL;
14313}
14314
14315
14316static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxNotebook *arg1 = (wxNotebook *) 0 ;
14319 int result;
14320 PyObject * obj0 = 0 ;
14321 char *kwnames[] = {
14322 (char *) "self", NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
14326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
14330 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
15afbcd0 14335 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14336 return resultobj;
14337 fail:
14338 return NULL;
14339}
14340
14341
14342static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj;
14344 wxNotebook *arg1 = (wxNotebook *) 0 ;
14345 wxSize *arg2 = 0 ;
14346 wxSize temp2 ;
14347 PyObject * obj0 = 0 ;
14348 PyObject * obj1 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self",(char *) "padding", NULL
14351 };
14352
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14356 {
14357 arg2 = &temp2;
14358 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14359 }
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 (arg1)->SetPadding((wxSize const &)*arg2);
14363
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 Py_INCREF(Py_None); resultobj = Py_None;
14368 return resultobj;
14369 fail:
14370 return NULL;
14371}
14372
14373
14374static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14375 PyObject *resultobj;
14376 wxNotebook *arg1 = (wxNotebook *) 0 ;
14377 wxSize *arg2 = 0 ;
14378 wxSize temp2 ;
14379 PyObject * obj0 = 0 ;
14380 PyObject * obj1 = 0 ;
14381 char *kwnames[] = {
14382 (char *) "self",(char *) "sz", NULL
14383 };
14384
14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14388 {
14389 arg2 = &temp2;
14390 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14391 }
14392 {
14393 PyThreadState* __tstate = wxPyBeginAllowThreads();
14394 (arg1)->SetTabSize((wxSize const &)*arg2);
14395
14396 wxPyEndAllowThreads(__tstate);
14397 if (PyErr_Occurred()) SWIG_fail;
14398 }
14399 Py_INCREF(Py_None); resultobj = Py_None;
14400 return resultobj;
14401 fail:
14402 return NULL;
14403}
14404
14405
14406static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14407 PyObject *resultobj;
14408 wxNotebook *arg1 = (wxNotebook *) 0 ;
14409 wxPoint *arg2 = 0 ;
14410 long *arg3 = (long *) 0 ;
14411 int result;
14412 wxPoint temp2 ;
14413 long temp3 ;
14414 PyObject * obj0 = 0 ;
14415 PyObject * obj1 = 0 ;
14416 char *kwnames[] = {
14417 (char *) "self",(char *) "pt", NULL
14418 };
14419
14420 arg3 = &temp3;
14421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14424 {
14425 arg2 = &temp2;
14426 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14427 }
14428 {
14429 PyThreadState* __tstate = wxPyBeginAllowThreads();
14430 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14431
14432 wxPyEndAllowThreads(__tstate);
14433 if (PyErr_Occurred()) SWIG_fail;
14434 }
15afbcd0 14435 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14436 {
14437 PyObject *o = PyInt_FromLong((long) (*arg3));
14438 resultobj = t_output_helper(resultobj,o);
14439 }
14440 return resultobj;
14441 fail:
14442 return NULL;
14443}
14444
14445
14446static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj;
14448 wxNotebook *arg1 = (wxNotebook *) 0 ;
14449 wxSize *arg2 = 0 ;
14450 wxSize result;
14451 wxSize temp2 ;
14452 PyObject * obj0 = 0 ;
14453 PyObject * obj1 = 0 ;
14454 char *kwnames[] = {
14455 (char *) "self",(char *) "sizePage", NULL
14456 };
14457
14458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14461 {
14462 arg2 = &temp2;
14463 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14464 }
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
14467 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 {
14473 wxSize * resultptr;
14474 resultptr = new wxSize((wxSize &) result);
15afbcd0 14475 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
14476 }
14477 return resultobj;
14478 fail:
14479 return NULL;
14480}
14481
14482
14483static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14484 PyObject *obj;
14485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14486 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14487 Py_INCREF(obj);
14488 return Py_BuildValue((char *)"");
14489}
14490static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj;
14492 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14493 int arg2 = (int) 0 ;
14494 int arg3 = (int) -1 ;
14495 int arg4 = (int) -1 ;
14496 wxNotebookEvent *result;
994141e6
RD
14497 PyObject * obj0 = 0 ;
14498 PyObject * obj1 = 0 ;
14499 PyObject * obj2 = 0 ;
14500 PyObject * obj3 = 0 ;
d14a1e28
RD
14501 char *kwnames[] = {
14502 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14503 };
14504
994141e6
RD
14505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14506 if (obj0) {
15afbcd0
RD
14507 arg1 = (wxEventType) SWIG_AsInt(obj0);
14508 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14509 }
14510 if (obj1) {
15afbcd0
RD
14511 arg2 = (int) SWIG_AsInt(obj1);
14512 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14513 }
14514 if (obj2) {
15afbcd0
RD
14515 arg3 = (int) SWIG_AsInt(obj2);
14516 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14517 }
14518 if (obj3) {
15afbcd0
RD
14519 arg4 = (int) SWIG_AsInt(obj3);
14520 if (PyErr_Occurred()) SWIG_fail;
994141e6 14521 }
d14a1e28
RD
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
15afbcd0 14529 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
d14a1e28
RD
14530 return resultobj;
14531 fail:
14532 return NULL;
14533}
14534
14535
14536static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14537 PyObject *obj;
14538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14539 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14540 Py_INCREF(obj);
14541 return Py_BuildValue((char *)"");
14542}
14543static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14544 PyObject *resultobj;
14545 wxWindow *arg1 = (wxWindow *) 0 ;
4f89f6a3 14546 int arg2 = (int) -1 ;
d14a1e28
RD
14547 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14548 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14549 wxSize const &arg4_defvalue = wxDefaultSize ;
14550 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14551 long arg5 = (long) 0 ;
14552 wxString const &arg6_defvalue = wxPyEmptyString ;
14553 wxString *arg6 = (wxString *) &arg6_defvalue ;
14554 wxListbook *result;
14555 wxPoint temp3 ;
14556 wxSize temp4 ;
e811c8ce 14557 bool temp6 = False ;
d14a1e28 14558 PyObject * obj0 = 0 ;
994141e6 14559 PyObject * obj1 = 0 ;
d14a1e28
RD
14560 PyObject * obj2 = 0 ;
14561 PyObject * obj3 = 0 ;
994141e6 14562 PyObject * obj4 = 0 ;
d14a1e28
RD
14563 PyObject * obj5 = 0 ;
14564 char *kwnames[] = {
14565 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14566 };
14567
4f89f6a3 14568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
14569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
14571 if (obj1) {
14572 arg2 = (int) SWIG_AsInt(obj1);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 }
d14a1e28
RD
14575 if (obj2) {
14576 {
14577 arg3 = &temp3;
14578 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14579 }
14580 }
14581 if (obj3) {
14582 {
14583 arg4 = &temp4;
14584 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14585 }
14586 }
994141e6 14587 if (obj4) {
15afbcd0
RD
14588 arg5 = (long) SWIG_AsLong(obj4);
14589 if (PyErr_Occurred()) SWIG_fail;
994141e6 14590 }
d14a1e28
RD
14591 if (obj5) {
14592 {
14593 arg6 = wxString_in_helper(obj5);
14594 if (arg6 == NULL) SWIG_fail;
e811c8ce 14595 temp6 = True;
d14a1e28
RD
14596 }
14597 }
14598 {
14599 PyThreadState* __tstate = wxPyBeginAllowThreads();
14600 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14601
14602 wxPyEndAllowThreads(__tstate);
14603 if (PyErr_Occurred()) SWIG_fail;
14604 }
15afbcd0 14605 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
14606 {
14607 if (temp6)
14608 delete arg6;
14609 }
14610 return resultobj;
14611 fail:
14612 {
14613 if (temp6)
14614 delete arg6;
14615 }
14616 return NULL;
14617}
14618
14619
14620static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14621 PyObject *resultobj;
14622 wxListbook *result;
14623 char *kwnames[] = {
14624 NULL
14625 };
14626
14627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14628 {
14629 PyThreadState* __tstate = wxPyBeginAllowThreads();
14630 result = (wxListbook *)new wxListbook();
14631
14632 wxPyEndAllowThreads(__tstate);
14633 if (PyErr_Occurred()) SWIG_fail;
14634 }
15afbcd0 14635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
d14a1e28
RD
14636 return resultobj;
14637 fail:
14638 return NULL;
14639}
14640
14641
14642static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14643 PyObject *resultobj;
14644 wxListbook *arg1 = (wxListbook *) 0 ;
14645 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 14646 int arg3 ;
d14a1e28
RD
14647 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14648 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14649 wxSize const &arg5_defvalue = wxDefaultSize ;
14650 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14651 long arg6 = (long) 0 ;
14652 wxString const &arg7_defvalue = wxPyEmptyString ;
14653 wxString *arg7 = (wxString *) &arg7_defvalue ;
14654 bool result;
14655 wxPoint temp4 ;
14656 wxSize temp5 ;
e811c8ce 14657 bool temp7 = False ;
d14a1e28
RD
14658 PyObject * obj0 = 0 ;
14659 PyObject * obj1 = 0 ;
994141e6 14660 PyObject * obj2 = 0 ;
d14a1e28
RD
14661 PyObject * obj3 = 0 ;
14662 PyObject * obj4 = 0 ;
994141e6 14663 PyObject * obj5 = 0 ;
d14a1e28
RD
14664 PyObject * obj6 = 0 ;
14665 char *kwnames[] = {
14666 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14667 };
14668
994141e6 14669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
14670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14674 arg3 = (int) SWIG_AsInt(obj2);
14675 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14676 if (obj3) {
14677 {
14678 arg4 = &temp4;
14679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14680 }
14681 }
14682 if (obj4) {
14683 {
14684 arg5 = &temp5;
14685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14686 }
14687 }
994141e6 14688 if (obj5) {
15afbcd0
RD
14689 arg6 = (long) SWIG_AsLong(obj5);
14690 if (PyErr_Occurred()) SWIG_fail;
994141e6 14691 }
d14a1e28
RD
14692 if (obj6) {
14693 {
14694 arg7 = wxString_in_helper(obj6);
14695 if (arg7 == NULL) SWIG_fail;
e811c8ce 14696 temp7 = True;
d14a1e28
RD
14697 }
14698 }
14699 {
14700 PyThreadState* __tstate = wxPyBeginAllowThreads();
14701 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14702
14703 wxPyEndAllowThreads(__tstate);
14704 if (PyErr_Occurred()) SWIG_fail;
14705 }
4f89f6a3
RD
14706 {
14707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14708 }
d14a1e28
RD
14709 {
14710 if (temp7)
14711 delete arg7;
14712 }
14713 return resultobj;
14714 fail:
14715 {
14716 if (temp7)
14717 delete arg7;
14718 }
14719 return NULL;
14720}
14721
14722
14723static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14724 PyObject *resultobj;
14725 wxListbook *arg1 = (wxListbook *) 0 ;
14726 bool result;
14727 PyObject * obj0 = 0 ;
14728 char *kwnames[] = {
14729 (char *) "self", NULL
14730 };
14731
14732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
14733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
14734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14735 {
14736 PyThreadState* __tstate = wxPyBeginAllowThreads();
14737 result = (bool)((wxListbook const *)arg1)->IsVertical();
14738
14739 wxPyEndAllowThreads(__tstate);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 }
4f89f6a3
RD
14742 {
14743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14744 }
d14a1e28
RD
14745 return resultobj;
14746 fail:
14747 return NULL;
14748}
14749
14750
14751static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14752 PyObject *obj;
14753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14754 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14755 Py_INCREF(obj);
14756 return Py_BuildValue((char *)"");
14757}
14758static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14759 PyObject *resultobj;
14760 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14761 int arg2 = (int) 0 ;
14762 int arg3 = (int) -1 ;
14763 int arg4 = (int) -1 ;
14764 wxListbookEvent *result;
994141e6
RD
14765 PyObject * obj0 = 0 ;
14766 PyObject * obj1 = 0 ;
14767 PyObject * obj2 = 0 ;
14768 PyObject * obj3 = 0 ;
d14a1e28
RD
14769 char *kwnames[] = {
14770 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14771 };
14772
994141e6
RD
14773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14774 if (obj0) {
15afbcd0
RD
14775 arg1 = (wxEventType) SWIG_AsInt(obj0);
14776 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14777 }
14778 if (obj1) {
15afbcd0
RD
14779 arg2 = (int) SWIG_AsInt(obj1);
14780 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14781 }
14782 if (obj2) {
15afbcd0
RD
14783 arg3 = (int) SWIG_AsInt(obj2);
14784 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
14785 }
14786 if (obj3) {
15afbcd0
RD
14787 arg4 = (int) SWIG_AsInt(obj3);
14788 if (PyErr_Occurred()) SWIG_fail;
994141e6 14789 }
d14a1e28
RD
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14793
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
15afbcd0 14797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
d14a1e28
RD
14798 return resultobj;
14799 fail:
14800 return NULL;
14801}
14802
14803
14804static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14805 PyObject *obj;
14806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14807 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14808 Py_INCREF(obj);
14809 return Py_BuildValue((char *)"");
14810}
14811static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14812 PyObject *resultobj;
14813 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14814 wxBookCtrlSizer *result;
14815 PyObject * obj0 = 0 ;
14816 char *kwnames[] = {
14817 (char *) "nb", NULL
14818 };
14819
14820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
14821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14823 {
14824 PyThreadState* __tstate = wxPyBeginAllowThreads();
14825 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14826
14827 wxPyEndAllowThreads(__tstate);
14828 if (PyErr_Occurred()) SWIG_fail;
14829 }
15afbcd0 14830 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
d14a1e28
RD
14831 return resultobj;
14832 fail:
14833 return NULL;
14834}
14835
14836
14837static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14838 PyObject *resultobj;
14839 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14840 PyObject * obj0 = 0 ;
14841 char *kwnames[] = {
14842 (char *) "self", NULL
14843 };
14844
14845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
14846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14848 {
14849 PyThreadState* __tstate = wxPyBeginAllowThreads();
14850 (arg1)->RecalcSizes();
14851
14852 wxPyEndAllowThreads(__tstate);
14853 if (PyErr_Occurred()) SWIG_fail;
14854 }
14855 Py_INCREF(Py_None); resultobj = Py_None;
14856 return resultobj;
14857 fail:
14858 return NULL;
14859}
14860
14861
14862static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14863 PyObject *resultobj;
14864 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14865 wxSize result;
14866 PyObject * obj0 = 0 ;
14867 char *kwnames[] = {
14868 (char *) "self", NULL
14869 };
14870
14871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14874 {
14875 PyThreadState* __tstate = wxPyBeginAllowThreads();
14876 result = (arg1)->CalcMin();
14877
14878 wxPyEndAllowThreads(__tstate);
14879 if (PyErr_Occurred()) SWIG_fail;
14880 }
14881 {
14882 wxSize * resultptr;
14883 resultptr = new wxSize((wxSize &) result);
15afbcd0 14884 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
14885 }
14886 return resultobj;
14887 fail:
14888 return NULL;
14889}
14890
14891
14892static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14893 PyObject *resultobj;
14894 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14895 wxBookCtrl *result;
14896 PyObject * obj0 = 0 ;
14897 char *kwnames[] = {
14898 (char *) "self", NULL
14899 };
14900
14901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
14902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
14903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14904 {
14905 PyThreadState* __tstate = wxPyBeginAllowThreads();
14906 result = (wxBookCtrl *)(arg1)->GetControl();
14907
14908 wxPyEndAllowThreads(__tstate);
14909 if (PyErr_Occurred()) SWIG_fail;
14910 }
15afbcd0 14911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
d14a1e28
RD
14912 return resultobj;
14913 fail:
14914 return NULL;
14915}
14916
14917
14918static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14919 PyObject *obj;
14920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14921 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14922 Py_INCREF(obj);
14923 return Py_BuildValue((char *)"");
14924}
14925static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14926 PyObject *resultobj;
14927 wxNotebook *arg1 = (wxNotebook *) 0 ;
14928 wxNotebookSizer *result;
14929 PyObject * obj0 = 0 ;
14930 char *kwnames[] = {
14931 (char *) "nb", NULL
14932 };
14933
14934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
14935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
14936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14937 {
14938 PyThreadState* __tstate = wxPyBeginAllowThreads();
14939 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14940
14941 wxPyEndAllowThreads(__tstate);
14942 if (PyErr_Occurred()) SWIG_fail;
14943 }
15afbcd0 14944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
d14a1e28
RD
14945 return resultobj;
14946 fail:
14947 return NULL;
14948}
14949
14950
14951static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14952 PyObject *resultobj;
14953 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14954 PyObject * obj0 = 0 ;
14955 char *kwnames[] = {
14956 (char *) "self", NULL
14957 };
14958
14959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
14960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14962 {
14963 PyThreadState* __tstate = wxPyBeginAllowThreads();
14964 (arg1)->RecalcSizes();
14965
14966 wxPyEndAllowThreads(__tstate);
14967 if (PyErr_Occurred()) SWIG_fail;
14968 }
14969 Py_INCREF(Py_None); resultobj = Py_None;
14970 return resultobj;
14971 fail:
14972 return NULL;
14973}
14974
14975
14976static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14977 PyObject *resultobj;
14978 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14979 wxSize result;
14980 PyObject * obj0 = 0 ;
14981 char *kwnames[] = {
14982 (char *) "self", NULL
14983 };
14984
14985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
14986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
14987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14988 {
14989 PyThreadState* __tstate = wxPyBeginAllowThreads();
14990 result = (arg1)->CalcMin();
14991
14992 wxPyEndAllowThreads(__tstate);
14993 if (PyErr_Occurred()) SWIG_fail;
14994 }
14995 {
14996 wxSize * resultptr;
14997 resultptr = new wxSize((wxSize &) result);
15afbcd0 14998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
14999 }
15000 return resultobj;
15001 fail:
15002 return NULL;
15003}
15004
15005
15006static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15007 PyObject *resultobj;
15008 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15009 wxNotebook *result;
15010 PyObject * obj0 = 0 ;
15011 char *kwnames[] = {
15012 (char *) "self", NULL
15013 };
15014
15015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15afbcd0
RD
15016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15018 {
15019 PyThreadState* __tstate = wxPyBeginAllowThreads();
15020 result = (wxNotebook *)(arg1)->GetNotebook();
15021
15022 wxPyEndAllowThreads(__tstate);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 }
15025 {
15026 resultobj = wxPyMake_wxObject(result);
15027 }
15028 return resultobj;
15029 fail:
15030 return NULL;
15031}
15032
15033
15034static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
15035 PyObject *obj;
15036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15037 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
15038 Py_INCREF(obj);
15039 return Py_BuildValue((char *)"");
15040}
15041static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15042 PyObject *resultobj;
15043 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15044 int result;
15045 PyObject * obj0 = 0 ;
15046 char *kwnames[] = {
15047 (char *) "self", NULL
15048 };
15049
15050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
15051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15053 {
15054 PyThreadState* __tstate = wxPyBeginAllowThreads();
15055 result = (int)(arg1)->GetId();
15056
15057 wxPyEndAllowThreads(__tstate);
15058 if (PyErr_Occurred()) SWIG_fail;
15059 }
15afbcd0 15060 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15061 return resultobj;
15062 fail:
15063 return NULL;
15064}
15065
15066
15067static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15068 PyObject *resultobj;
15069 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15070 wxControl *result;
15071 PyObject * obj0 = 0 ;
15072 char *kwnames[] = {
15073 (char *) "self", NULL
15074 };
15075
15076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
15077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15079 {
15080 PyThreadState* __tstate = wxPyBeginAllowThreads();
15081 result = (wxControl *)(arg1)->GetControl();
15082
15083 wxPyEndAllowThreads(__tstate);
15084 if (PyErr_Occurred()) SWIG_fail;
15085 }
15086 {
15087 resultobj = wxPyMake_wxObject(result);
15088 }
15089 return resultobj;
15090 fail:
15091 return NULL;
15092}
15093
15094
15095static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15096 PyObject *resultobj;
15097 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15098 wxToolBarBase *result;
15099 PyObject * obj0 = 0 ;
15100 char *kwnames[] = {
15101 (char *) "self", NULL
15102 };
15103
15104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
15105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15107 {
15108 PyThreadState* __tstate = wxPyBeginAllowThreads();
15109 result = (wxToolBarBase *)(arg1)->GetToolBar();
15110
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15114 {
15115 resultobj = wxPyMake_wxObject(result);
15116 }
15117 return resultobj;
15118 fail:
15119 return NULL;
15120}
15121
15122
15123static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15124 PyObject *resultobj;
15125 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15126 int result;
15127 PyObject * obj0 = 0 ;
15128 char *kwnames[] = {
15129 (char *) "self", NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
15133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15135 {
15136 PyThreadState* __tstate = wxPyBeginAllowThreads();
15137 result = (int)(arg1)->IsButton();
15138
15139 wxPyEndAllowThreads(__tstate);
15140 if (PyErr_Occurred()) SWIG_fail;
15141 }
15afbcd0 15142 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15143 return resultobj;
15144 fail:
15145 return NULL;
15146}
15147
15148
15149static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15150 PyObject *resultobj;
15151 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15152 int result;
15153 PyObject * obj0 = 0 ;
15154 char *kwnames[] = {
15155 (char *) "self", NULL
15156 };
15157
15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
15159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15161 {
15162 PyThreadState* __tstate = wxPyBeginAllowThreads();
15163 result = (int)(arg1)->IsControl();
15164
15165 wxPyEndAllowThreads(__tstate);
15166 if (PyErr_Occurred()) SWIG_fail;
15167 }
15afbcd0 15168 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15169 return resultobj;
15170 fail:
15171 return NULL;
15172}
15173
15174
15175static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15176 PyObject *resultobj;
15177 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15178 int result;
15179 PyObject * obj0 = 0 ;
15180 char *kwnames[] = {
15181 (char *) "self", NULL
15182 };
15183
15184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
15185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15187 {
15188 PyThreadState* __tstate = wxPyBeginAllowThreads();
15189 result = (int)(arg1)->IsSeparator();
15190
15191 wxPyEndAllowThreads(__tstate);
15192 if (PyErr_Occurred()) SWIG_fail;
15193 }
15afbcd0 15194 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15195 return resultobj;
15196 fail:
15197 return NULL;
15198}
15199
15200
15201static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15202 PyObject *resultobj;
15203 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15204 int result;
15205 PyObject * obj0 = 0 ;
15206 char *kwnames[] = {
15207 (char *) "self", NULL
15208 };
15209
15210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
15211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15213 {
15214 PyThreadState* __tstate = wxPyBeginAllowThreads();
15215 result = (int)(arg1)->GetStyle();
15216
15217 wxPyEndAllowThreads(__tstate);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15afbcd0 15220 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15221 return resultobj;
15222 fail:
15223 return NULL;
15224}
15225
15226
15227static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
15228 PyObject *resultobj;
15229 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15230 int result;
15231 PyObject * obj0 = 0 ;
15232 char *kwnames[] = {
15233 (char *) "self", NULL
15234 };
15235
15236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
15237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15239 {
15240 PyThreadState* __tstate = wxPyBeginAllowThreads();
15241 result = (int)(arg1)->GetKind();
15242
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15afbcd0 15246 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15247 return resultobj;
15248 fail:
15249 return NULL;
15250}
15251
15252
15253static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15254 PyObject *resultobj;
15255 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15256 bool result;
15257 PyObject * obj0 = 0 ;
15258 char *kwnames[] = {
15259 (char *) "self", NULL
15260 };
15261
15262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
15263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15265 {
15266 PyThreadState* __tstate = wxPyBeginAllowThreads();
15267 result = (bool)(arg1)->IsEnabled();
15268
15269 wxPyEndAllowThreads(__tstate);
15270 if (PyErr_Occurred()) SWIG_fail;
15271 }
4f89f6a3
RD
15272 {
15273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15274 }
d14a1e28
RD
15275 return resultobj;
15276 fail:
15277 return NULL;
15278}
15279
15280
15281static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15282 PyObject *resultobj;
15283 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15284 bool result;
15285 PyObject * obj0 = 0 ;
15286 char *kwnames[] = {
15287 (char *) "self", NULL
15288 };
15289
15290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15afbcd0
RD
15291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15293 {
15294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15295 result = (bool)(arg1)->IsToggled();
15296
15297 wxPyEndAllowThreads(__tstate);
15298 if (PyErr_Occurred()) SWIG_fail;
15299 }
4f89f6a3
RD
15300 {
15301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15302 }
d14a1e28
RD
15303 return resultobj;
15304 fail:
15305 return NULL;
15306}
15307
15308
15309static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15310 PyObject *resultobj;
15311 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15312 bool result;
15313 PyObject * obj0 = 0 ;
15314 char *kwnames[] = {
15315 (char *) "self", NULL
15316 };
15317
15318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15afbcd0
RD
15319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15321 {
15322 PyThreadState* __tstate = wxPyBeginAllowThreads();
15323 result = (bool)(arg1)->CanBeToggled();
15324
15325 wxPyEndAllowThreads(__tstate);
15326 if (PyErr_Occurred()) SWIG_fail;
15327 }
4f89f6a3
RD
15328 {
15329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15330 }
d14a1e28
RD
15331 return resultobj;
15332 fail:
15333 return NULL;
15334}
15335
15336
15337static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15338 PyObject *resultobj;
15339 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15340 wxBitmap *result;
15341 PyObject * obj0 = 0 ;
15342 char *kwnames[] = {
15343 (char *) "self", NULL
15344 };
15345
15346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
15347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15349 {
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 {
15352 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15353 result = (wxBitmap *) &_result_ref;
15354 }
15355
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
4276dc52
RD
15359 {
15360 wxBitmap* resultptr = new wxBitmap(*result);
15361 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15362 }
d14a1e28
RD
15363 return resultobj;
15364 fail:
15365 return NULL;
15366}
15367
15368
15369static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15370 PyObject *resultobj;
15371 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15372 wxBitmap *result;
15373 PyObject * obj0 = 0 ;
15374 char *kwnames[] = {
15375 (char *) "self", NULL
15376 };
15377
15378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
15379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15381 {
15382 PyThreadState* __tstate = wxPyBeginAllowThreads();
15383 {
15384 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15385 result = (wxBitmap *) &_result_ref;
15386 }
15387
15388 wxPyEndAllowThreads(__tstate);
15389 if (PyErr_Occurred()) SWIG_fail;
15390 }
4276dc52
RD
15391 {
15392 wxBitmap* resultptr = new wxBitmap(*result);
15393 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
15394 }
d14a1e28
RD
15395 return resultobj;
15396 fail:
15397 return NULL;
15398}
15399
15400
15401static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15402 PyObject *resultobj;
15403 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15404 wxBitmap result;
15405 PyObject * obj0 = 0 ;
15406 char *kwnames[] = {
15407 (char *) "self", NULL
15408 };
15409
15410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
15411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15413 {
15414 PyThreadState* __tstate = wxPyBeginAllowThreads();
15415 result = (arg1)->GetBitmap();
15416
15417 wxPyEndAllowThreads(__tstate);
15418 if (PyErr_Occurred()) SWIG_fail;
15419 }
15420 {
15421 wxBitmap * resultptr;
15422 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 15423 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
15424 }
15425 return resultobj;
15426 fail:
15427 return NULL;
15428}
15429
15430
15431static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15432 PyObject *resultobj;
15433 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15434 wxString result;
15435 PyObject * obj0 = 0 ;
15436 char *kwnames[] = {
15437 (char *) "self", NULL
15438 };
15439
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
15441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 result = (arg1)->GetLabel();
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 {
15451#if wxUSE_UNICODE
15452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15453#else
15454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15455#endif
15456 }
15457 return resultobj;
15458 fail:
15459 return NULL;
15460}
15461
15462
15463static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15464 PyObject *resultobj;
15465 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15466 wxString result;
15467 PyObject * obj0 = 0 ;
15468 char *kwnames[] = {
15469 (char *) "self", NULL
15470 };
15471
15472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
15473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15475 {
15476 PyThreadState* __tstate = wxPyBeginAllowThreads();
15477 result = (arg1)->GetShortHelp();
15478
15479 wxPyEndAllowThreads(__tstate);
15480 if (PyErr_Occurred()) SWIG_fail;
15481 }
15482 {
15483#if wxUSE_UNICODE
15484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15485#else
15486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15487#endif
15488 }
15489 return resultobj;
15490 fail:
15491 return NULL;
15492}
15493
15494
15495static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15496 PyObject *resultobj;
15497 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15498 wxString result;
15499 PyObject * obj0 = 0 ;
15500 char *kwnames[] = {
15501 (char *) "self", NULL
15502 };
15503
15504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
15505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 result = (arg1)->GetLongHelp();
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 {
15515#if wxUSE_UNICODE
15516 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15517#else
15518 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15519#endif
15520 }
15521 return resultobj;
15522 fail:
15523 return NULL;
15524}
15525
15526
15527static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15528 PyObject *resultobj;
15529 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15530 bool arg2 ;
15531 bool result;
15532 PyObject * obj0 = 0 ;
15533 PyObject * obj1 = 0 ;
15534 char *kwnames[] = {
15535 (char *) "self",(char *) "enable", NULL
15536 };
15537
15538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15541 arg2 = (bool) SWIG_AsBool(obj1);
15542 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 result = (bool)(arg1)->Enable(arg2);
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
4f89f6a3
RD
15550 {
15551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15552 }
d14a1e28
RD
15553 return resultobj;
15554 fail:
15555 return NULL;
15556}
15557
15558
15559static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15560 PyObject *resultobj;
15561 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15562 PyObject * obj0 = 0 ;
15563 char *kwnames[] = {
15564 (char *) "self", NULL
15565 };
15566
15567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
15568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15570 {
15571 PyThreadState* __tstate = wxPyBeginAllowThreads();
15572 (arg1)->Toggle();
15573
15574 wxPyEndAllowThreads(__tstate);
15575 if (PyErr_Occurred()) SWIG_fail;
15576 }
15577 Py_INCREF(Py_None); resultobj = Py_None;
15578 return resultobj;
15579 fail:
15580 return NULL;
15581}
15582
15583
15584static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15585 PyObject *resultobj;
15586 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15587 bool arg2 ;
15588 bool result;
15589 PyObject * obj0 = 0 ;
15590 PyObject * obj1 = 0 ;
15591 char *kwnames[] = {
15592 (char *) "self",(char *) "toggle", NULL
15593 };
15594
15595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15598 arg2 = (bool) SWIG_AsBool(obj1);
15599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15600 {
15601 PyThreadState* __tstate = wxPyBeginAllowThreads();
15602 result = (bool)(arg1)->SetToggle(arg2);
15603
15604 wxPyEndAllowThreads(__tstate);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
4f89f6a3
RD
15607 {
15608 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15609 }
d14a1e28
RD
15610 return resultobj;
15611 fail:
15612 return NULL;
15613}
15614
15615
15616static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15617 PyObject *resultobj;
15618 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15619 wxString *arg2 = 0 ;
15620 bool result;
e811c8ce 15621 bool temp2 = False ;
d14a1e28
RD
15622 PyObject * obj0 = 0 ;
15623 PyObject * obj1 = 0 ;
15624 char *kwnames[] = {
15625 (char *) "self",(char *) "help", NULL
15626 };
15627
15628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15631 {
15632 arg2 = wxString_in_helper(obj1);
15633 if (arg2 == NULL) SWIG_fail;
e811c8ce 15634 temp2 = True;
d14a1e28
RD
15635 }
15636 {
15637 PyThreadState* __tstate = wxPyBeginAllowThreads();
15638 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15639
15640 wxPyEndAllowThreads(__tstate);
15641 if (PyErr_Occurred()) SWIG_fail;
15642 }
4f89f6a3
RD
15643 {
15644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15645 }
d14a1e28
RD
15646 {
15647 if (temp2)
15648 delete arg2;
15649 }
15650 return resultobj;
15651 fail:
15652 {
15653 if (temp2)
15654 delete arg2;
15655 }
15656 return NULL;
15657}
15658
15659
15660static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15661 PyObject *resultobj;
15662 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15663 wxString *arg2 = 0 ;
15664 bool result;
e811c8ce 15665 bool temp2 = False ;
d14a1e28
RD
15666 PyObject * obj0 = 0 ;
15667 PyObject * obj1 = 0 ;
15668 char *kwnames[] = {
15669 (char *) "self",(char *) "help", NULL
15670 };
15671
15672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15675 {
15676 arg2 = wxString_in_helper(obj1);
15677 if (arg2 == NULL) SWIG_fail;
e811c8ce 15678 temp2 = True;
d14a1e28
RD
15679 }
15680 {
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15683
15684 wxPyEndAllowThreads(__tstate);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
4f89f6a3
RD
15687 {
15688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15689 }
d14a1e28
RD
15690 {
15691 if (temp2)
15692 delete arg2;
15693 }
15694 return resultobj;
15695 fail:
15696 {
15697 if (temp2)
15698 delete arg2;
15699 }
15700 return NULL;
15701}
15702
15703
15704static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15705 PyObject *resultobj;
15706 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15707 wxBitmap *arg2 = 0 ;
15708 PyObject * obj0 = 0 ;
15709 PyObject * obj1 = 0 ;
15710 char *kwnames[] = {
15711 (char *) "self",(char *) "bmp", NULL
15712 };
15713
15714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15717 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15718 SWIG_POINTER_EXCEPTION | 0)) == -1)
15719 SWIG_fail;
d14a1e28 15720 if (arg2 == NULL) {
15afbcd0
RD
15721 PyErr_SetString(PyExc_TypeError,"null reference");
15722 SWIG_fail;
d14a1e28
RD
15723 }
15724 {
15725 PyThreadState* __tstate = wxPyBeginAllowThreads();
15726 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15727
15728 wxPyEndAllowThreads(__tstate);
15729 if (PyErr_Occurred()) SWIG_fail;
15730 }
15731 Py_INCREF(Py_None); resultobj = Py_None;
15732 return resultobj;
15733 fail:
15734 return NULL;
15735}
15736
15737
15738static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15739 PyObject *resultobj;
15740 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15741 wxBitmap *arg2 = 0 ;
15742 PyObject * obj0 = 0 ;
15743 PyObject * obj1 = 0 ;
15744 char *kwnames[] = {
15745 (char *) "self",(char *) "bmp", NULL
15746 };
15747
15748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15751 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
15752 SWIG_POINTER_EXCEPTION | 0)) == -1)
15753 SWIG_fail;
d14a1e28 15754 if (arg2 == NULL) {
15afbcd0
RD
15755 PyErr_SetString(PyExc_TypeError,"null reference");
15756 SWIG_fail;
d14a1e28
RD
15757 }
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 Py_INCREF(Py_None); resultobj = Py_None;
15766 return resultobj;
15767 fail:
15768 return NULL;
15769}
15770
15771
15772static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15773 PyObject *resultobj;
15774 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15775 wxString *arg2 = 0 ;
e811c8ce 15776 bool temp2 = False ;
d14a1e28
RD
15777 PyObject * obj0 = 0 ;
15778 PyObject * obj1 = 0 ;
15779 char *kwnames[] = {
15780 (char *) "self",(char *) "label", NULL
15781 };
15782
15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15786 {
15787 arg2 = wxString_in_helper(obj1);
15788 if (arg2 == NULL) SWIG_fail;
e811c8ce 15789 temp2 = True;
d14a1e28
RD
15790 }
15791 {
15792 PyThreadState* __tstate = wxPyBeginAllowThreads();
15793 (arg1)->SetLabel((wxString const &)*arg2);
15794
15795 wxPyEndAllowThreads(__tstate);
15796 if (PyErr_Occurred()) SWIG_fail;
15797 }
15798 Py_INCREF(Py_None); resultobj = Py_None;
15799 {
15800 if (temp2)
15801 delete arg2;
15802 }
15803 return resultobj;
15804 fail:
15805 {
15806 if (temp2)
15807 delete arg2;
15808 }
15809 return NULL;
15810}
15811
15812
15813static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15814 PyObject *resultobj;
15815 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15816 PyObject * obj0 = 0 ;
15817 char *kwnames[] = {
15818 (char *) "self", NULL
15819 };
15820
15821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
15822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 (arg1)->Detach();
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 Py_INCREF(Py_None); resultobj = Py_None;
15832 return resultobj;
15833 fail:
15834 return NULL;
15835}
15836
15837
15838static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15839 PyObject *resultobj;
15840 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15841 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15842 PyObject * obj0 = 0 ;
15843 PyObject * obj1 = 0 ;
15844 char *kwnames[] = {
15845 (char *) "self",(char *) "tbar", NULL
15846 };
15847
15848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
15852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15853 {
15854 PyThreadState* __tstate = wxPyBeginAllowThreads();
15855 (arg1)->Attach(arg2);
15856
15857 wxPyEndAllowThreads(__tstate);
15858 if (PyErr_Occurred()) SWIG_fail;
15859 }
15860 Py_INCREF(Py_None); resultobj = Py_None;
15861 return resultobj;
15862 fail:
15863 return NULL;
15864}
15865
15866
15867static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15868 PyObject *resultobj;
15869 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15870 PyObject *result;
15871 PyObject * obj0 = 0 ;
15872 char *kwnames[] = {
15873 (char *) "self", NULL
15874 };
15875
15876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15afbcd0
RD
15877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15879 {
15880 PyThreadState* __tstate = wxPyBeginAllowThreads();
15881 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15882
15883 wxPyEndAllowThreads(__tstate);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 }
15886 resultobj = result;
15887 return resultobj;
15888 fail:
15889 return NULL;
15890}
15891
15892
15893static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15894 PyObject *resultobj;
15895 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15896 PyObject *arg2 = (PyObject *) 0 ;
15897 PyObject * obj0 = 0 ;
15898 PyObject * obj1 = 0 ;
15899 char *kwnames[] = {
15900 (char *) "self",(char *) "clientData", NULL
15901 };
15902
15903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15906 arg2 = obj1;
15907 {
15908 PyThreadState* __tstate = wxPyBeginAllowThreads();
15909 wxToolBarToolBase_SetClientData(arg1,arg2);
15910
15911 wxPyEndAllowThreads(__tstate);
15912 if (PyErr_Occurred()) SWIG_fail;
15913 }
15914 Py_INCREF(Py_None); resultobj = Py_None;
15915 return resultobj;
15916 fail:
15917 return NULL;
15918}
15919
15920
15921static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15922 PyObject *obj;
15923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15924 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15925 Py_INCREF(obj);
15926 return Py_BuildValue((char *)"");
15927}
15928static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15929 PyObject *resultobj;
15930 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15931 int arg2 ;
15932 wxString *arg3 = 0 ;
15933 wxBitmap *arg4 = 0 ;
15934 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15935 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15936 int arg6 = (int) wxITEM_NORMAL ;
15937 wxString const &arg7_defvalue = wxPyEmptyString ;
15938 wxString *arg7 = (wxString *) &arg7_defvalue ;
15939 wxString const &arg8_defvalue = wxPyEmptyString ;
15940 wxString *arg8 = (wxString *) &arg8_defvalue ;
15941 PyObject *arg9 = (PyObject *) NULL ;
15942 wxToolBarToolBase *result;
e811c8ce
RD
15943 bool temp3 = False ;
15944 bool temp7 = False ;
15945 bool temp8 = False ;
d14a1e28 15946 PyObject * obj0 = 0 ;
994141e6 15947 PyObject * obj1 = 0 ;
d14a1e28
RD
15948 PyObject * obj2 = 0 ;
15949 PyObject * obj3 = 0 ;
15950 PyObject * obj4 = 0 ;
994141e6 15951 PyObject * obj5 = 0 ;
d14a1e28
RD
15952 PyObject * obj6 = 0 ;
15953 PyObject * obj7 = 0 ;
15954 PyObject * obj8 = 0 ;
15955 char *kwnames[] = {
15956 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15957 };
15958
994141e6 15959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
15960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
15961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15962 arg2 = (int) SWIG_AsInt(obj1);
15963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15964 {
15965 arg3 = wxString_in_helper(obj2);
15966 if (arg3 == NULL) SWIG_fail;
e811c8ce 15967 temp3 = True;
d14a1e28 15968 }
15afbcd0
RD
15969 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
15970 SWIG_POINTER_EXCEPTION | 0)) == -1)
15971 SWIG_fail;
d14a1e28 15972 if (arg4 == NULL) {
15afbcd0
RD
15973 PyErr_SetString(PyExc_TypeError,"null reference");
15974 SWIG_fail;
d14a1e28
RD
15975 }
15976 if (obj4) {
15afbcd0
RD
15977 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
15978 SWIG_POINTER_EXCEPTION | 0)) == -1)
15979 SWIG_fail;
d14a1e28 15980 if (arg5 == NULL) {
15afbcd0
RD
15981 PyErr_SetString(PyExc_TypeError,"null reference");
15982 SWIG_fail;
d14a1e28
RD
15983 }
15984 }
994141e6 15985 if (obj5) {
15afbcd0
RD
15986 arg6 = (wxItemKind) SWIG_AsInt(obj5);
15987 if (PyErr_Occurred()) SWIG_fail;
994141e6 15988 }
d14a1e28
RD
15989 if (obj6) {
15990 {
15991 arg7 = wxString_in_helper(obj6);
15992 if (arg7 == NULL) SWIG_fail;
e811c8ce 15993 temp7 = True;
d14a1e28
RD
15994 }
15995 }
15996 if (obj7) {
15997 {
15998 arg8 = wxString_in_helper(obj7);
15999 if (arg8 == NULL) SWIG_fail;
e811c8ce 16000 temp8 = True;
d14a1e28
RD
16001 }
16002 }
16003 if (obj8) {
16004 arg9 = obj8;
16005 }
16006 {
16007 PyThreadState* __tstate = wxPyBeginAllowThreads();
16008 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16009
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 {
16014 resultobj = wxPyMake_wxObject(result);
16015 }
16016 {
16017 if (temp3)
16018 delete arg3;
16019 }
16020 {
16021 if (temp7)
16022 delete arg7;
16023 }
16024 {
16025 if (temp8)
16026 delete arg8;
16027 }
16028 return resultobj;
16029 fail:
16030 {
16031 if (temp3)
16032 delete arg3;
16033 }
16034 {
16035 if (temp7)
16036 delete arg7;
16037 }
16038 {
16039 if (temp8)
16040 delete arg8;
16041 }
16042 return NULL;
16043}
16044
16045
16046static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16047 PyObject *resultobj;
16048 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16049 size_t arg2 ;
16050 int arg3 ;
16051 wxString *arg4 = 0 ;
16052 wxBitmap *arg5 = 0 ;
16053 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16054 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16055 int arg7 = (int) wxITEM_NORMAL ;
16056 wxString const &arg8_defvalue = wxPyEmptyString ;
16057 wxString *arg8 = (wxString *) &arg8_defvalue ;
16058 wxString const &arg9_defvalue = wxPyEmptyString ;
16059 wxString *arg9 = (wxString *) &arg9_defvalue ;
16060 PyObject *arg10 = (PyObject *) NULL ;
16061 wxToolBarToolBase *result;
e811c8ce
RD
16062 bool temp4 = False ;
16063 bool temp8 = False ;
16064 bool temp9 = False ;
d14a1e28
RD
16065 PyObject * obj0 = 0 ;
16066 PyObject * obj1 = 0 ;
994141e6 16067 PyObject * obj2 = 0 ;
d14a1e28
RD
16068 PyObject * obj3 = 0 ;
16069 PyObject * obj4 = 0 ;
16070 PyObject * obj5 = 0 ;
994141e6 16071 PyObject * obj6 = 0 ;
d14a1e28
RD
16072 PyObject * obj7 = 0 ;
16073 PyObject * obj8 = 0 ;
16074 PyObject * obj9 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16077 };
16078
994141e6 16079 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
16080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16082 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16083 if (PyErr_Occurred()) SWIG_fail;
16084 arg3 = (int) SWIG_AsInt(obj2);
16085 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16086 {
16087 arg4 = wxString_in_helper(obj3);
16088 if (arg4 == NULL) SWIG_fail;
e811c8ce 16089 temp4 = True;
d14a1e28 16090 }
15afbcd0
RD
16091 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16092 SWIG_POINTER_EXCEPTION | 0)) == -1)
16093 SWIG_fail;
d14a1e28 16094 if (arg5 == NULL) {
15afbcd0
RD
16095 PyErr_SetString(PyExc_TypeError,"null reference");
16096 SWIG_fail;
d14a1e28
RD
16097 }
16098 if (obj5) {
15afbcd0
RD
16099 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
16100 SWIG_POINTER_EXCEPTION | 0)) == -1)
16101 SWIG_fail;
d14a1e28 16102 if (arg6 == NULL) {
15afbcd0
RD
16103 PyErr_SetString(PyExc_TypeError,"null reference");
16104 SWIG_fail;
d14a1e28
RD
16105 }
16106 }
994141e6 16107 if (obj6) {
15afbcd0
RD
16108 arg7 = (wxItemKind) SWIG_AsInt(obj6);
16109 if (PyErr_Occurred()) SWIG_fail;
994141e6 16110 }
d14a1e28
RD
16111 if (obj7) {
16112 {
16113 arg8 = wxString_in_helper(obj7);
16114 if (arg8 == NULL) SWIG_fail;
e811c8ce 16115 temp8 = True;
d14a1e28
RD
16116 }
16117 }
16118 if (obj8) {
16119 {
16120 arg9 = wxString_in_helper(obj8);
16121 if (arg9 == NULL) SWIG_fail;
e811c8ce 16122 temp9 = True;
d14a1e28
RD
16123 }
16124 }
16125 if (obj9) {
16126 arg10 = obj9;
16127 }
16128 {
16129 PyThreadState* __tstate = wxPyBeginAllowThreads();
16130 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);
16131
16132 wxPyEndAllowThreads(__tstate);
16133 if (PyErr_Occurred()) SWIG_fail;
16134 }
16135 {
16136 resultobj = wxPyMake_wxObject(result);
16137 }
16138 {
16139 if (temp4)
16140 delete arg4;
16141 }
16142 {
16143 if (temp8)
16144 delete arg8;
16145 }
16146 {
16147 if (temp9)
16148 delete arg9;
16149 }
16150 return resultobj;
16151 fail:
16152 {
16153 if (temp4)
16154 delete arg4;
16155 }
16156 {
16157 if (temp8)
16158 delete arg8;
16159 }
16160 {
16161 if (temp9)
16162 delete arg9;
16163 }
16164 return NULL;
16165}
16166
16167
3a04f143
RD
16168static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16169 PyObject *resultobj;
16170 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16171 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
16172 wxToolBarToolBase *result;
16173 PyObject * obj0 = 0 ;
16174 PyObject * obj1 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self",(char *) "tool", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
16183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3a04f143
RD
16184 {
16185 PyThreadState* __tstate = wxPyBeginAllowThreads();
16186 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
16187
16188 wxPyEndAllowThreads(__tstate);
16189 if (PyErr_Occurred()) SWIG_fail;
16190 }
16191 {
16192 resultobj = wxPyMake_wxObject(result);
16193 }
16194 return resultobj;
16195 fail:
16196 return NULL;
16197}
16198
16199
16200static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16201 PyObject *resultobj;
16202 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16203 size_t arg2 ;
16204 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
16205 wxToolBarToolBase *result;
16206 PyObject * obj0 = 0 ;
16207 PyObject * obj1 = 0 ;
16208 PyObject * obj2 = 0 ;
16209 char *kwnames[] = {
16210 (char *) "self",(char *) "pos",(char *) "tool", NULL
16211 };
16212
16213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16216 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16217 if (PyErr_Occurred()) SWIG_fail;
16218 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
16219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3a04f143
RD
16220 {
16221 PyThreadState* __tstate = wxPyBeginAllowThreads();
16222 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
16223
16224 wxPyEndAllowThreads(__tstate);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
16227 {
16228 resultobj = wxPyMake_wxObject(result);
16229 }
16230 return resultobj;
16231 fail:
16232 return NULL;
16233}
16234
16235
d14a1e28
RD
16236static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16237 PyObject *resultobj;
16238 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16239 wxControl *arg2 = (wxControl *) 0 ;
16240 wxToolBarToolBase *result;
16241 PyObject * obj0 = 0 ;
16242 PyObject * obj1 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self",(char *) "control", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16250 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
16251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16252 {
16253 PyThreadState* __tstate = wxPyBeginAllowThreads();
16254 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16255
16256 wxPyEndAllowThreads(__tstate);
16257 if (PyErr_Occurred()) SWIG_fail;
16258 }
16259 {
16260 resultobj = wxPyMake_wxObject(result);
16261 }
16262 return resultobj;
16263 fail:
16264 return NULL;
16265}
16266
16267
16268static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16269 PyObject *resultobj;
16270 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16271 size_t arg2 ;
16272 wxControl *arg3 = (wxControl *) 0 ;
16273 wxToolBarToolBase *result;
16274 PyObject * obj0 = 0 ;
16275 PyObject * obj1 = 0 ;
16276 PyObject * obj2 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self",(char *) "pos",(char *) "control", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16284 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16285 if (PyErr_Occurred()) SWIG_fail;
16286 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
16287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16288 {
16289 PyThreadState* __tstate = wxPyBeginAllowThreads();
16290 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16291
16292 wxPyEndAllowThreads(__tstate);
16293 if (PyErr_Occurred()) SWIG_fail;
16294 }
16295 {
16296 resultobj = wxPyMake_wxObject(result);
16297 }
16298 return resultobj;
16299 fail:
16300 return NULL;
16301}
16302
16303
16304static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16305 PyObject *resultobj;
16306 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16307 int arg2 ;
16308 wxControl *result;
16309 PyObject * obj0 = 0 ;
994141e6 16310 PyObject * obj1 = 0 ;
d14a1e28
RD
16311 char *kwnames[] = {
16312 (char *) "self",(char *) "id", NULL
16313 };
16314
994141e6 16315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16318 arg2 = (int) SWIG_AsInt(obj1);
16319 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16320 {
16321 PyThreadState* __tstate = wxPyBeginAllowThreads();
16322 result = (wxControl *)(arg1)->FindControl(arg2);
16323
16324 wxPyEndAllowThreads(__tstate);
16325 if (PyErr_Occurred()) SWIG_fail;
16326 }
16327 {
16328 resultobj = wxPyMake_wxObject(result);
16329 }
16330 return resultobj;
16331 fail:
16332 return NULL;
16333}
16334
16335
16336static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16339 wxToolBarToolBase *result;
16340 PyObject * obj0 = 0 ;
16341 char *kwnames[] = {
16342 (char *) "self", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
16346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16348 {
16349 PyThreadState* __tstate = wxPyBeginAllowThreads();
16350 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16351
16352 wxPyEndAllowThreads(__tstate);
16353 if (PyErr_Occurred()) SWIG_fail;
16354 }
16355 {
16356 resultobj = wxPyMake_wxObject(result);
16357 }
16358 return resultobj;
16359 fail:
16360 return NULL;
16361}
16362
16363
16364static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16365 PyObject *resultobj;
16366 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16367 size_t arg2 ;
16368 wxToolBarToolBase *result;
16369 PyObject * obj0 = 0 ;
16370 PyObject * obj1 = 0 ;
16371 char *kwnames[] = {
16372 (char *) "self",(char *) "pos", NULL
16373 };
16374
16375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16378 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16380 {
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 {
16388 resultobj = wxPyMake_wxObject(result);
16389 }
16390 return resultobj;
16391 fail:
16392 return NULL;
16393}
16394
16395
16396static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16397 PyObject *resultobj;
16398 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16399 int arg2 ;
16400 wxToolBarToolBase *result;
16401 PyObject * obj0 = 0 ;
994141e6 16402 PyObject * obj1 = 0 ;
d14a1e28
RD
16403 char *kwnames[] = {
16404 (char *) "self",(char *) "id", NULL
16405 };
16406
994141e6 16407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16410 arg2 = (int) SWIG_AsInt(obj1);
16411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16412 {
16413 PyThreadState* __tstate = wxPyBeginAllowThreads();
16414 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16415
16416 wxPyEndAllowThreads(__tstate);
16417 if (PyErr_Occurred()) SWIG_fail;
16418 }
16419 {
16420 resultobj = wxPyMake_wxObject(result);
16421 }
16422 return resultobj;
16423 fail:
16424 return NULL;
16425}
16426
16427
16428static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj;
16430 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16431 size_t arg2 ;
16432 bool result;
16433 PyObject * obj0 = 0 ;
16434 PyObject * obj1 = 0 ;
16435 char *kwnames[] = {
16436 (char *) "self",(char *) "pos", NULL
16437 };
16438
16439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16442 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16443 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16444 {
16445 PyThreadState* __tstate = wxPyBeginAllowThreads();
16446 result = (bool)(arg1)->DeleteToolByPos(arg2);
16447
16448 wxPyEndAllowThreads(__tstate);
16449 if (PyErr_Occurred()) SWIG_fail;
16450 }
4f89f6a3
RD
16451 {
16452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16453 }
d14a1e28
RD
16454 return resultobj;
16455 fail:
16456 return NULL;
16457}
16458
16459
16460static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj;
16462 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16463 int arg2 ;
16464 bool result;
16465 PyObject * obj0 = 0 ;
994141e6 16466 PyObject * obj1 = 0 ;
d14a1e28
RD
16467 char *kwnames[] = {
16468 (char *) "self",(char *) "id", NULL
16469 };
16470
994141e6 16471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16474 arg2 = (int) SWIG_AsInt(obj1);
16475 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16476 {
16477 PyThreadState* __tstate = wxPyBeginAllowThreads();
16478 result = (bool)(arg1)->DeleteTool(arg2);
16479
16480 wxPyEndAllowThreads(__tstate);
16481 if (PyErr_Occurred()) SWIG_fail;
16482 }
4f89f6a3
RD
16483 {
16484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16485 }
d14a1e28
RD
16486 return resultobj;
16487 fail:
16488 return NULL;
16489}
16490
16491
16492static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16493 PyObject *resultobj;
16494 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16495 PyObject * obj0 = 0 ;
16496 char *kwnames[] = {
16497 (char *) "self", NULL
16498 };
16499
16500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
15afbcd0
RD
16501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16503 {
16504 PyThreadState* __tstate = wxPyBeginAllowThreads();
16505 (arg1)->ClearTools();
16506
16507 wxPyEndAllowThreads(__tstate);
16508 if (PyErr_Occurred()) SWIG_fail;
16509 }
16510 Py_INCREF(Py_None); resultobj = Py_None;
16511 return resultobj;
16512 fail:
16513 return NULL;
16514}
16515
16516
16517static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16518 PyObject *resultobj;
16519 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16520 bool result;
16521 PyObject * obj0 = 0 ;
16522 char *kwnames[] = {
16523 (char *) "self", NULL
16524 };
16525
16526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16529 {
16530 PyThreadState* __tstate = wxPyBeginAllowThreads();
16531 result = (bool)(arg1)->Realize();
16532
16533 wxPyEndAllowThreads(__tstate);
16534 if (PyErr_Occurred()) SWIG_fail;
16535 }
4f89f6a3
RD
16536 {
16537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16538 }
d14a1e28
RD
16539 return resultobj;
16540 fail:
16541 return NULL;
16542}
16543
16544
16545static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16546 PyObject *resultobj;
16547 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16548 int arg2 ;
16549 bool arg3 ;
16550 PyObject * obj0 = 0 ;
994141e6 16551 PyObject * obj1 = 0 ;
d14a1e28
RD
16552 PyObject * obj2 = 0 ;
16553 char *kwnames[] = {
16554 (char *) "self",(char *) "id",(char *) "enable", NULL
16555 };
16556
994141e6 16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16560 arg2 = (int) SWIG_AsInt(obj1);
16561 if (PyErr_Occurred()) SWIG_fail;
16562 arg3 = (bool) SWIG_AsBool(obj2);
16563 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 (arg1)->EnableTool(arg2,arg3);
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 Py_INCREF(Py_None); resultobj = Py_None;
16572 return resultobj;
16573 fail:
16574 return NULL;
16575}
16576
16577
16578static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16581 int arg2 ;
16582 bool arg3 ;
16583 PyObject * obj0 = 0 ;
994141e6 16584 PyObject * obj1 = 0 ;
d14a1e28
RD
16585 PyObject * obj2 = 0 ;
16586 char *kwnames[] = {
16587 (char *) "self",(char *) "id",(char *) "toggle", NULL
16588 };
16589
994141e6 16590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16593 arg2 = (int) SWIG_AsInt(obj1);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 arg3 = (bool) SWIG_AsBool(obj2);
16596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 (arg1)->ToggleTool(arg2,arg3);
16600
16601 wxPyEndAllowThreads(__tstate);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 Py_INCREF(Py_None); resultobj = Py_None;
16605 return resultobj;
16606 fail:
16607 return NULL;
16608}
16609
16610
16611static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16612 PyObject *resultobj;
16613 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16614 int arg2 ;
16615 bool arg3 ;
16616 PyObject * obj0 = 0 ;
994141e6 16617 PyObject * obj1 = 0 ;
d14a1e28
RD
16618 PyObject * obj2 = 0 ;
16619 char *kwnames[] = {
16620 (char *) "self",(char *) "id",(char *) "toggle", NULL
16621 };
16622
994141e6 16623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16626 arg2 = (int) SWIG_AsInt(obj1);
16627 if (PyErr_Occurred()) SWIG_fail;
16628 arg3 = (bool) SWIG_AsBool(obj2);
16629 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16630 {
16631 PyThreadState* __tstate = wxPyBeginAllowThreads();
16632 (arg1)->SetToggle(arg2,arg3);
16633
16634 wxPyEndAllowThreads(__tstate);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 }
16637 Py_INCREF(Py_None); resultobj = Py_None;
16638 return resultobj;
16639 fail:
16640 return NULL;
16641}
16642
16643
16644static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj;
16646 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16647 int arg2 ;
16648 PyObject *result;
16649 PyObject * obj0 = 0 ;
994141e6 16650 PyObject * obj1 = 0 ;
d14a1e28
RD
16651 char *kwnames[] = {
16652 (char *) "self",(char *) "id", NULL
16653 };
16654
994141e6 16655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16658 arg2 = (int) SWIG_AsInt(obj1);
16659 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16660 {
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16663
16664 wxPyEndAllowThreads(__tstate);
16665 if (PyErr_Occurred()) SWIG_fail;
16666 }
16667 resultobj = result;
16668 return resultobj;
16669 fail:
16670 return NULL;
16671}
16672
16673
16674static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16675 PyObject *resultobj;
16676 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16677 int arg2 ;
16678 PyObject *arg3 = (PyObject *) 0 ;
16679 PyObject * obj0 = 0 ;
994141e6 16680 PyObject * obj1 = 0 ;
d14a1e28
RD
16681 PyObject * obj2 = 0 ;
16682 char *kwnames[] = {
16683 (char *) "self",(char *) "id",(char *) "clientData", NULL
16684 };
16685
994141e6 16686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16689 arg2 = (int) SWIG_AsInt(obj1);
16690 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16691 arg3 = obj2;
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 Py_INCREF(Py_None); resultobj = Py_None;
16700 return resultobj;
16701 fail:
16702 return NULL;
16703}
16704
16705
16706static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16709 int arg2 ;
16710 int result;
16711 PyObject * obj0 = 0 ;
994141e6 16712 PyObject * obj1 = 0 ;
d14a1e28
RD
16713 char *kwnames[] = {
16714 (char *) "self",(char *) "id", NULL
16715 };
16716
994141e6 16717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16720 arg2 = (int) SWIG_AsInt(obj1);
16721 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16722 {
16723 PyThreadState* __tstate = wxPyBeginAllowThreads();
16724 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16725
16726 wxPyEndAllowThreads(__tstate);
16727 if (PyErr_Occurred()) SWIG_fail;
16728 }
15afbcd0 16729 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16730 return resultobj;
16731 fail:
16732 return NULL;
16733}
16734
16735
16736static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16737 PyObject *resultobj;
16738 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16739 int arg2 ;
16740 bool result;
16741 PyObject * obj0 = 0 ;
994141e6 16742 PyObject * obj1 = 0 ;
d14a1e28
RD
16743 char *kwnames[] = {
16744 (char *) "self",(char *) "id", NULL
16745 };
16746
994141e6 16747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16750 arg2 = (int) SWIG_AsInt(obj1);
16751 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16752 {
16753 PyThreadState* __tstate = wxPyBeginAllowThreads();
16754 result = (bool)(arg1)->GetToolState(arg2);
16755
16756 wxPyEndAllowThreads(__tstate);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
4f89f6a3
RD
16759 {
16760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16761 }
d14a1e28
RD
16762 return resultobj;
16763 fail:
16764 return NULL;
16765}
16766
16767
16768static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16769 PyObject *resultobj;
16770 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16771 int arg2 ;
16772 bool result;
16773 PyObject * obj0 = 0 ;
994141e6 16774 PyObject * obj1 = 0 ;
d14a1e28
RD
16775 char *kwnames[] = {
16776 (char *) "self",(char *) "id", NULL
16777 };
16778
994141e6 16779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16782 arg2 = (int) SWIG_AsInt(obj1);
16783 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16784 {
16785 PyThreadState* __tstate = wxPyBeginAllowThreads();
16786 result = (bool)(arg1)->GetToolEnabled(arg2);
16787
16788 wxPyEndAllowThreads(__tstate);
16789 if (PyErr_Occurred()) SWIG_fail;
16790 }
4f89f6a3
RD
16791 {
16792 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16793 }
d14a1e28
RD
16794 return resultobj;
16795 fail:
16796 return NULL;
16797}
16798
16799
16800static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16801 PyObject *resultobj;
16802 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16803 int arg2 ;
16804 wxString *arg3 = 0 ;
e811c8ce 16805 bool temp3 = False ;
d14a1e28 16806 PyObject * obj0 = 0 ;
994141e6 16807 PyObject * obj1 = 0 ;
d14a1e28
RD
16808 PyObject * obj2 = 0 ;
16809 char *kwnames[] = {
16810 (char *) "self",(char *) "id",(char *) "helpString", NULL
16811 };
16812
994141e6 16813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16816 arg2 = (int) SWIG_AsInt(obj1);
16817 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16818 {
16819 arg3 = wxString_in_helper(obj2);
16820 if (arg3 == NULL) SWIG_fail;
e811c8ce 16821 temp3 = True;
d14a1e28
RD
16822 }
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 Py_INCREF(Py_None); resultobj = Py_None;
16831 {
16832 if (temp3)
16833 delete arg3;
16834 }
16835 return resultobj;
16836 fail:
16837 {
16838 if (temp3)
16839 delete arg3;
16840 }
16841 return NULL;
16842}
16843
16844
16845static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16846 PyObject *resultobj;
16847 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16848 int arg2 ;
16849 wxString result;
16850 PyObject * obj0 = 0 ;
994141e6 16851 PyObject * obj1 = 0 ;
d14a1e28
RD
16852 char *kwnames[] = {
16853 (char *) "self",(char *) "id", NULL
16854 };
16855
994141e6 16856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16859 arg2 = (int) SWIG_AsInt(obj1);
16860 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16861 {
16862 PyThreadState* __tstate = wxPyBeginAllowThreads();
16863 result = (arg1)->GetToolShortHelp(arg2);
16864
16865 wxPyEndAllowThreads(__tstate);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
16868 {
16869#if wxUSE_UNICODE
16870 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16871#else
16872 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16873#endif
16874 }
16875 return resultobj;
16876 fail:
16877 return NULL;
16878}
16879
16880
16881static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16882 PyObject *resultobj;
16883 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16884 int arg2 ;
16885 wxString *arg3 = 0 ;
e811c8ce 16886 bool temp3 = False ;
d14a1e28 16887 PyObject * obj0 = 0 ;
994141e6 16888 PyObject * obj1 = 0 ;
d14a1e28
RD
16889 PyObject * obj2 = 0 ;
16890 char *kwnames[] = {
16891 (char *) "self",(char *) "id",(char *) "helpString", NULL
16892 };
16893
994141e6 16894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16897 arg2 = (int) SWIG_AsInt(obj1);
16898 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16899 {
16900 arg3 = wxString_in_helper(obj2);
16901 if (arg3 == NULL) SWIG_fail;
e811c8ce 16902 temp3 = True;
d14a1e28
RD
16903 }
16904 {
16905 PyThreadState* __tstate = wxPyBeginAllowThreads();
16906 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16907
16908 wxPyEndAllowThreads(__tstate);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 Py_INCREF(Py_None); resultobj = Py_None;
16912 {
16913 if (temp3)
16914 delete arg3;
16915 }
16916 return resultobj;
16917 fail:
16918 {
16919 if (temp3)
16920 delete arg3;
16921 }
16922 return NULL;
16923}
16924
16925
16926static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16927 PyObject *resultobj;
16928 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16929 int arg2 ;
16930 wxString result;
16931 PyObject * obj0 = 0 ;
994141e6 16932 PyObject * obj1 = 0 ;
d14a1e28
RD
16933 char *kwnames[] = {
16934 (char *) "self",(char *) "id", NULL
16935 };
16936
994141e6 16937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16940 arg2 = (int) SWIG_AsInt(obj1);
16941 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16942 {
16943 PyThreadState* __tstate = wxPyBeginAllowThreads();
16944 result = (arg1)->GetToolLongHelp(arg2);
16945
16946 wxPyEndAllowThreads(__tstate);
16947 if (PyErr_Occurred()) SWIG_fail;
16948 }
16949 {
16950#if wxUSE_UNICODE
16951 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16952#else
16953 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16954#endif
16955 }
16956 return resultobj;
16957 fail:
16958 return NULL;
16959}
16960
16961
16962static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16963 PyObject *resultobj;
16964 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16965 int arg2 ;
16966 int arg3 ;
16967 PyObject * obj0 = 0 ;
994141e6
RD
16968 PyObject * obj1 = 0 ;
16969 PyObject * obj2 = 0 ;
d14a1e28
RD
16970 char *kwnames[] = {
16971 (char *) "self",(char *) "x",(char *) "y", NULL
16972 };
16973
994141e6 16974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
16975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16977 arg2 = (int) SWIG_AsInt(obj1);
16978 if (PyErr_Occurred()) SWIG_fail;
16979 arg3 = (int) SWIG_AsInt(obj2);
16980 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16981 {
16982 PyThreadState* __tstate = wxPyBeginAllowThreads();
16983 (arg1)->SetMargins(arg2,arg3);
16984
16985 wxPyEndAllowThreads(__tstate);
16986 if (PyErr_Occurred()) SWIG_fail;
16987 }
16988 Py_INCREF(Py_None); resultobj = Py_None;
16989 return resultobj;
16990 fail:
16991 return NULL;
16992}
16993
16994
16995static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16996 PyObject *resultobj;
16997 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16998 wxSize *arg2 = 0 ;
16999 wxSize temp2 ;
17000 PyObject * obj0 = 0 ;
17001 PyObject * obj1 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self",(char *) "size", NULL
17004 };
17005
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17009 {
17010 arg2 = &temp2;
17011 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17012 }
17013 {
17014 PyThreadState* __tstate = wxPyBeginAllowThreads();
17015 (arg1)->SetMargins((wxSize const &)*arg2);
17016
17017 wxPyEndAllowThreads(__tstate);
17018 if (PyErr_Occurred()) SWIG_fail;
17019 }
17020 Py_INCREF(Py_None); resultobj = Py_None;
17021 return resultobj;
17022 fail:
17023 return NULL;
17024}
17025
17026
17027static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17028 PyObject *resultobj;
17029 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17030 int arg2 ;
17031 PyObject * obj0 = 0 ;
994141e6 17032 PyObject * obj1 = 0 ;
d14a1e28
RD
17033 char *kwnames[] = {
17034 (char *) "self",(char *) "packing", NULL
17035 };
17036
994141e6 17037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17040 arg2 = (int) SWIG_AsInt(obj1);
17041 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17042 {
17043 PyThreadState* __tstate = wxPyBeginAllowThreads();
17044 (arg1)->SetToolPacking(arg2);
17045
17046 wxPyEndAllowThreads(__tstate);
17047 if (PyErr_Occurred()) SWIG_fail;
17048 }
17049 Py_INCREF(Py_None); resultobj = Py_None;
17050 return resultobj;
17051 fail:
17052 return NULL;
17053}
17054
17055
17056static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17057 PyObject *resultobj;
17058 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17059 int arg2 ;
17060 PyObject * obj0 = 0 ;
994141e6 17061 PyObject * obj1 = 0 ;
d14a1e28
RD
17062 char *kwnames[] = {
17063 (char *) "self",(char *) "separation", NULL
17064 };
17065
994141e6 17066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17069 arg2 = (int) SWIG_AsInt(obj1);
17070 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 (arg1)->SetToolSeparation(arg2);
17074
17075 wxPyEndAllowThreads(__tstate);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 Py_INCREF(Py_None); resultobj = Py_None;
17079 return resultobj;
17080 fail:
17081 return NULL;
17082}
17083
17084
17085static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17086 PyObject *resultobj;
17087 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17088 wxSize result;
17089 PyObject * obj0 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
17095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17097 {
17098 PyThreadState* __tstate = wxPyBeginAllowThreads();
17099 result = (arg1)->GetToolMargins();
17100
17101 wxPyEndAllowThreads(__tstate);
17102 if (PyErr_Occurred()) SWIG_fail;
17103 }
17104 {
17105 wxSize * resultptr;
17106 resultptr = new wxSize((wxSize &) result);
15afbcd0 17107 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17108 }
17109 return resultobj;
17110 fail:
17111 return NULL;
17112}
17113
17114
17115static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17116 PyObject *resultobj;
17117 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17118 wxSize result;
17119 PyObject * obj0 = 0 ;
17120 char *kwnames[] = {
17121 (char *) "self", NULL
17122 };
17123
17124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
15afbcd0
RD
17125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17127 {
17128 PyThreadState* __tstate = wxPyBeginAllowThreads();
17129 result = (arg1)->GetMargins();
17130
17131 wxPyEndAllowThreads(__tstate);
17132 if (PyErr_Occurred()) SWIG_fail;
17133 }
17134 {
17135 wxSize * resultptr;
17136 resultptr = new wxSize((wxSize &) result);
15afbcd0 17137 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17138 }
17139 return resultobj;
17140 fail:
17141 return NULL;
17142}
17143
17144
17145static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17146 PyObject *resultobj;
17147 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17148 int result;
17149 PyObject * obj0 = 0 ;
17150 char *kwnames[] = {
17151 (char *) "self", NULL
17152 };
17153
17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
15afbcd0
RD
17155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17157 {
17158 PyThreadState* __tstate = wxPyBeginAllowThreads();
17159 result = (int)(arg1)->GetToolPacking();
17160
17161 wxPyEndAllowThreads(__tstate);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
15afbcd0 17164 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17165 return resultobj;
17166 fail:
17167 return NULL;
17168}
17169
17170
17171static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17172 PyObject *resultobj;
17173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17174 int result;
17175 PyObject * obj0 = 0 ;
17176 char *kwnames[] = {
17177 (char *) "self", NULL
17178 };
17179
17180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
15afbcd0
RD
17181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17183 {
17184 PyThreadState* __tstate = wxPyBeginAllowThreads();
17185 result = (int)(arg1)->GetToolSeparation();
17186
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
15afbcd0 17190 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17191 return resultobj;
17192 fail:
17193 return NULL;
17194}
17195
17196
17197static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17198 PyObject *resultobj;
17199 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17200 int arg2 ;
17201 PyObject * obj0 = 0 ;
994141e6 17202 PyObject * obj1 = 0 ;
d14a1e28
RD
17203 char *kwnames[] = {
17204 (char *) "self",(char *) "nRows", NULL
17205 };
17206
994141e6 17207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17210 arg2 = (int) SWIG_AsInt(obj1);
17211 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17212 {
17213 PyThreadState* __tstate = wxPyBeginAllowThreads();
17214 (arg1)->SetRows(arg2);
17215
17216 wxPyEndAllowThreads(__tstate);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 Py_INCREF(Py_None); resultobj = Py_None;
17220 return resultobj;
17221 fail:
17222 return NULL;
17223}
17224
17225
17226static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17227 PyObject *resultobj;
17228 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17229 int arg2 ;
17230 int arg3 ;
17231 PyObject * obj0 = 0 ;
994141e6
RD
17232 PyObject * obj1 = 0 ;
17233 PyObject * obj2 = 0 ;
d14a1e28
RD
17234 char *kwnames[] = {
17235 (char *) "self",(char *) "rows",(char *) "cols", NULL
17236 };
17237
994141e6 17238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17241 arg2 = (int) SWIG_AsInt(obj1);
17242 if (PyErr_Occurred()) SWIG_fail;
17243 arg3 = (int) SWIG_AsInt(obj2);
17244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17245 {
17246 PyThreadState* __tstate = wxPyBeginAllowThreads();
17247 (arg1)->SetMaxRowsCols(arg2,arg3);
17248
17249 wxPyEndAllowThreads(__tstate);
17250 if (PyErr_Occurred()) SWIG_fail;
17251 }
17252 Py_INCREF(Py_None); resultobj = Py_None;
17253 return resultobj;
17254 fail:
17255 return NULL;
17256}
17257
17258
17259static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17260 PyObject *resultobj;
17261 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17262 int result;
17263 PyObject * obj0 = 0 ;
17264 char *kwnames[] = {
17265 (char *) "self", NULL
17266 };
17267
17268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
17269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17271 {
17272 PyThreadState* __tstate = wxPyBeginAllowThreads();
17273 result = (int)(arg1)->GetMaxRows();
17274
17275 wxPyEndAllowThreads(__tstate);
17276 if (PyErr_Occurred()) SWIG_fail;
17277 }
15afbcd0 17278 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17279 return resultobj;
17280 fail:
17281 return NULL;
17282}
17283
17284
17285static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj;
17287 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17288 int result;
17289 PyObject * obj0 = 0 ;
17290 char *kwnames[] = {
17291 (char *) "self", NULL
17292 };
17293
17294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
17295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17297 {
17298 PyThreadState* __tstate = wxPyBeginAllowThreads();
17299 result = (int)(arg1)->GetMaxCols();
17300
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
15afbcd0 17304 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17305 return resultobj;
17306 fail:
17307 return NULL;
17308}
17309
17310
17311static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17312 PyObject *resultobj;
17313 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17314 wxSize *arg2 = 0 ;
17315 wxSize temp2 ;
17316 PyObject * obj0 = 0 ;
17317 PyObject * obj1 = 0 ;
17318 char *kwnames[] = {
17319 (char *) "self",(char *) "size", NULL
17320 };
17321
17322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17325 {
17326 arg2 = &temp2;
17327 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17328 }
17329 {
17330 PyThreadState* __tstate = wxPyBeginAllowThreads();
17331 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17332
17333 wxPyEndAllowThreads(__tstate);
17334 if (PyErr_Occurred()) SWIG_fail;
17335 }
17336 Py_INCREF(Py_None); resultobj = Py_None;
17337 return resultobj;
17338 fail:
17339 return NULL;
17340}
17341
17342
17343static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17344 PyObject *resultobj;
17345 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17346 wxSize result;
17347 PyObject * obj0 = 0 ;
17348 char *kwnames[] = {
17349 (char *) "self", NULL
17350 };
17351
17352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
17353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 result = (arg1)->GetToolBitmapSize();
17358
17359 wxPyEndAllowThreads(__tstate);
17360 if (PyErr_Occurred()) SWIG_fail;
17361 }
17362 {
17363 wxSize * resultptr;
17364 resultptr = new wxSize((wxSize &) result);
15afbcd0 17365 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17366 }
17367 return resultobj;
17368 fail:
17369 return NULL;
17370}
17371
17372
17373static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17374 PyObject *resultobj;
17375 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17376 wxSize result;
17377 PyObject * obj0 = 0 ;
17378 char *kwnames[] = {
17379 (char *) "self", NULL
17380 };
17381
17382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
17383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17385 {
17386 PyThreadState* __tstate = wxPyBeginAllowThreads();
17387 result = (arg1)->GetToolSize();
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
17392 {
17393 wxSize * resultptr;
17394 resultptr = new wxSize((wxSize &) result);
15afbcd0 17395 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
17396 }
17397 return resultobj;
17398 fail:
17399 return NULL;
17400}
17401
17402
17403static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17404 PyObject *resultobj;
17405 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
e811c8ce
RD
17406 int arg2 ;
17407 int arg3 ;
d14a1e28
RD
17408 wxToolBarToolBase *result;
17409 PyObject * obj0 = 0 ;
994141e6
RD
17410 PyObject * obj1 = 0 ;
17411 PyObject * obj2 = 0 ;
d14a1e28
RD
17412 char *kwnames[] = {
17413 (char *) "self",(char *) "x",(char *) "y", NULL
17414 };
17415
994141e6 17416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17419 arg2 = (int) SWIG_AsInt(obj1);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 arg3 = (int) SWIG_AsInt(obj2);
17422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17423 {
17424 PyThreadState* __tstate = wxPyBeginAllowThreads();
17425 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17426
17427 wxPyEndAllowThreads(__tstate);
17428 if (PyErr_Occurred()) SWIG_fail;
17429 }
17430 {
17431 resultobj = wxPyMake_wxObject(result);
17432 }
17433 return resultobj;
17434 fail:
17435 return NULL;
17436}
17437
17438
3a04f143
RD
17439static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17440 PyObject *resultobj;
17441 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17442 int arg2 ;
17443 wxToolBarToolBase *result;
17444 PyObject * obj0 = 0 ;
994141e6 17445 PyObject * obj1 = 0 ;
3a04f143
RD
17446 char *kwnames[] = {
17447 (char *) "self",(char *) "toolid", NULL
17448 };
17449
994141e6 17450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17453 arg2 = (int) SWIG_AsInt(obj1);
17454 if (PyErr_Occurred()) SWIG_fail;
3a04f143
RD
17455 {
17456 PyThreadState* __tstate = wxPyBeginAllowThreads();
17457 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17458
17459 wxPyEndAllowThreads(__tstate);
17460 if (PyErr_Occurred()) SWIG_fail;
17461 }
17462 {
17463 resultobj = wxPyMake_wxObject(result);
17464 }
17465 return resultobj;
17466 fail:
17467 return NULL;
17468}
17469
17470
d14a1e28
RD
17471static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17472 PyObject *resultobj;
17473 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17474 bool result;
17475 PyObject * obj0 = 0 ;
17476 char *kwnames[] = {
17477 (char *) "self", NULL
17478 };
17479
17480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15afbcd0
RD
17481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17483 {
17484 PyThreadState* __tstate = wxPyBeginAllowThreads();
17485 result = (bool)(arg1)->IsVertical();
17486
17487 wxPyEndAllowThreads(__tstate);
17488 if (PyErr_Occurred()) SWIG_fail;
17489 }
4f89f6a3
RD
17490 {
17491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17492 }
d14a1e28
RD
17493 return resultobj;
17494 fail:
17495 return NULL;
17496}
17497
17498
17499static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17500 PyObject *obj;
17501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17502 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17503 Py_INCREF(obj);
17504 return Py_BuildValue((char *)"");
17505}
17506static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17507 PyObject *resultobj;
17508 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 17509 int arg2 ;
d14a1e28
RD
17510 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17511 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17512 wxSize const &arg4_defvalue = wxDefaultSize ;
17513 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17514 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17515 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17516 wxString *arg6 = (wxString *) &arg6_defvalue ;
17517 wxToolBar *result;
17518 wxPoint temp3 ;
17519 wxSize temp4 ;
e811c8ce 17520 bool temp6 = False ;
d14a1e28 17521 PyObject * obj0 = 0 ;
994141e6 17522 PyObject * obj1 = 0 ;
d14a1e28
RD
17523 PyObject * obj2 = 0 ;
17524 PyObject * obj3 = 0 ;
994141e6 17525 PyObject * obj4 = 0 ;
d14a1e28
RD
17526 PyObject * obj5 = 0 ;
17527 char *kwnames[] = {
17528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17529 };
17530
994141e6 17531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
17532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17534 arg2 = (int) SWIG_AsInt(obj1);
17535 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17536 if (obj2) {
17537 {
17538 arg3 = &temp3;
17539 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17540 }
17541 }
17542 if (obj3) {
17543 {
17544 arg4 = &temp4;
17545 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17546 }
17547 }
994141e6 17548 if (obj4) {
15afbcd0
RD
17549 arg5 = (long) SWIG_AsLong(obj4);
17550 if (PyErr_Occurred()) SWIG_fail;
994141e6 17551 }
d14a1e28
RD
17552 if (obj5) {
17553 {
17554 arg6 = wxString_in_helper(obj5);
17555 if (arg6 == NULL) SWIG_fail;
e811c8ce 17556 temp6 = True;
d14a1e28
RD
17557 }
17558 }
17559 {
17560 PyThreadState* __tstate = wxPyBeginAllowThreads();
17561 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17562
17563 wxPyEndAllowThreads(__tstate);
17564 if (PyErr_Occurred()) SWIG_fail;
17565 }
17566 {
17567 resultobj = wxPyMake_wxObject(result);
17568 }
17569 {
17570 if (temp6)
17571 delete arg6;
17572 }
17573 return resultobj;
17574 fail:
17575 {
17576 if (temp6)
17577 delete arg6;
17578 }
17579 return NULL;
17580}
17581
17582
17583static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17584 PyObject *resultobj;
17585 wxToolBar *result;
17586 char *kwnames[] = {
17587 NULL
17588 };
17589
17590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17591 {
17592 PyThreadState* __tstate = wxPyBeginAllowThreads();
17593 result = (wxToolBar *)new wxToolBar();
17594
17595 wxPyEndAllowThreads(__tstate);
17596 if (PyErr_Occurred()) SWIG_fail;
17597 }
17598 {
17599 resultobj = wxPyMake_wxObject(result);
17600 }
17601 return resultobj;
17602 fail:
17603 return NULL;
17604}
17605
17606
17607static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17608 PyObject *resultobj;
17609 wxToolBar *arg1 = (wxToolBar *) 0 ;
17610 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 17611 int arg3 ;
d14a1e28
RD
17612 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17613 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17614 wxSize const &arg5_defvalue = wxDefaultSize ;
17615 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17616 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17617 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17618 wxString *arg7 = (wxString *) &arg7_defvalue ;
17619 bool result;
17620 wxPoint temp4 ;
17621 wxSize temp5 ;
e811c8ce 17622 bool temp7 = False ;
d14a1e28
RD
17623 PyObject * obj0 = 0 ;
17624 PyObject * obj1 = 0 ;
994141e6 17625 PyObject * obj2 = 0 ;
d14a1e28
RD
17626 PyObject * obj3 = 0 ;
17627 PyObject * obj4 = 0 ;
994141e6 17628 PyObject * obj5 = 0 ;
d14a1e28
RD
17629 PyObject * obj6 = 0 ;
17630 char *kwnames[] = {
17631 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17632 };
17633
994141e6 17634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
17635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17637 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17639 arg3 = (int) SWIG_AsInt(obj2);
17640 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17641 if (obj3) {
17642 {
17643 arg4 = &temp4;
17644 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17645 }
17646 }
17647 if (obj4) {
17648 {
17649 arg5 = &temp5;
17650 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17651 }
17652 }
994141e6 17653 if (obj5) {
15afbcd0
RD
17654 arg6 = (long) SWIG_AsLong(obj5);
17655 if (PyErr_Occurred()) SWIG_fail;
994141e6 17656 }
d14a1e28
RD
17657 if (obj6) {
17658 {
17659 arg7 = wxString_in_helper(obj6);
17660 if (arg7 == NULL) SWIG_fail;
e811c8ce 17661 temp7 = True;
d14a1e28
RD
17662 }
17663 }
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17667
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
4f89f6a3
RD
17671 {
17672 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17673 }
d14a1e28
RD
17674 {
17675 if (temp7)
17676 delete arg7;
17677 }
17678 return resultobj;
17679 fail:
17680 {
17681 if (temp7)
17682 delete arg7;
17683 }
17684 return NULL;
17685}
17686
17687
17688static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17689 PyObject *resultobj;
17690 wxToolBar *arg1 = (wxToolBar *) 0 ;
e811c8ce
RD
17691 int arg2 ;
17692 int arg3 ;
d14a1e28
RD
17693 wxToolBarToolBase *result;
17694 PyObject * obj0 = 0 ;
994141e6
RD
17695 PyObject * obj1 = 0 ;
17696 PyObject * obj2 = 0 ;
d14a1e28
RD
17697 char *kwnames[] = {
17698 (char *) "self",(char *) "x",(char *) "y", NULL
17699 };
17700
994141e6 17701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
17702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
17703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17704 arg2 = (int) SWIG_AsInt(obj1);
17705 if (PyErr_Occurred()) SWIG_fail;
17706 arg3 = (int) SWIG_AsInt(obj2);
17707 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 {
17716 resultobj = wxPyMake_wxObject(result);
17717 }
17718 return resultobj;
17719 fail:
17720 return NULL;
17721}
17722
17723
17724static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17725 PyObject *obj;
17726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17727 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17728 Py_INCREF(obj);
17729 return Py_BuildValue((char *)"");
17730}
b2dc1044
RD
17731static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
17732 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17733 return 1;
17734}
17735
17736
17737static PyObject *_wrap_ListCtrlNameStr_get() {
17738 PyObject *pyobj;
17739
17740 {
17741#if wxUSE_UNICODE
17742 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17743#else
17744 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17745#endif
17746 }
17747 return pyobj;
17748}
17749
17750
d14a1e28
RD
17751static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17752 PyObject *resultobj;
17753 wxColour const &arg1_defvalue = wxNullColour ;
17754 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17755 wxColour const &arg2_defvalue = wxNullColour ;
17756 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17757 wxFont const &arg3_defvalue = wxNullFont ;
17758 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17759 wxListItemAttr *result;
17760 wxColour temp1 ;
17761 wxColour temp2 ;
17762 PyObject * obj0 = 0 ;
17763 PyObject * obj1 = 0 ;
17764 PyObject * obj2 = 0 ;
17765 char *kwnames[] = {
17766 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17767 };
17768
17769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17770 if (obj0) {
17771 {
17772 arg1 = &temp1;
17773 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17774 }
17775 }
17776 if (obj1) {
17777 {
17778 arg2 = &temp2;
17779 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17780 }
17781 }
17782 if (obj2) {
15afbcd0
RD
17783 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
17784 SWIG_POINTER_EXCEPTION | 0)) == -1)
17785 SWIG_fail;
d14a1e28 17786 if (arg3 == NULL) {
15afbcd0
RD
17787 PyErr_SetString(PyExc_TypeError,"null reference");
17788 SWIG_fail;
d14a1e28
RD
17789 }
17790 }
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17794
17795 wxPyEndAllowThreads(__tstate);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 }
15afbcd0 17798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
d14a1e28
RD
17799 return resultobj;
17800 fail:
17801 return NULL;
17802}
17803
17804
17805static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17806 PyObject *resultobj;
17807 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17808 wxColour *arg2 = 0 ;
17809 wxColour temp2 ;
17810 PyObject * obj0 = 0 ;
17811 PyObject * obj1 = 0 ;
17812 char *kwnames[] = {
17813 (char *) "self",(char *) "colText", NULL
17814 };
17815
17816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17819 {
17820 arg2 = &temp2;
17821 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17822 }
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 (arg1)->SetTextColour((wxColour const &)*arg2);
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 Py_INCREF(Py_None); resultobj = Py_None;
17831 return resultobj;
17832 fail:
17833 return NULL;
17834}
17835
17836
17837static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj;
17839 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17840 wxColour *arg2 = 0 ;
17841 wxColour temp2 ;
17842 PyObject * obj0 = 0 ;
17843 PyObject * obj1 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "self",(char *) "colBack", NULL
17846 };
17847
17848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17851 {
17852 arg2 = &temp2;
17853 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17854 }
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 Py_INCREF(Py_None); resultobj = Py_None;
17863 return resultobj;
17864 fail:
17865 return NULL;
17866}
17867
17868
17869static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17872 wxFont *arg2 = 0 ;
17873 PyObject * obj0 = 0 ;
17874 PyObject * obj1 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self",(char *) "font", NULL
17877 };
17878
17879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
17883 SWIG_POINTER_EXCEPTION | 0)) == -1)
17884 SWIG_fail;
d14a1e28 17885 if (arg2 == NULL) {
15afbcd0
RD
17886 PyErr_SetString(PyExc_TypeError,"null reference");
17887 SWIG_fail;
d14a1e28
RD
17888 }
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 (arg1)->SetFont((wxFont const &)*arg2);
17892
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 Py_INCREF(Py_None); resultobj = Py_None;
17897 return resultobj;
17898 fail:
17899 return NULL;
17900}
17901
17902
17903static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17904 PyObject *resultobj;
17905 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17906 bool result;
17907 PyObject * obj0 = 0 ;
17908 char *kwnames[] = {
17909 (char *) "self", NULL
17910 };
17911
17912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17915 {
17916 PyThreadState* __tstate = wxPyBeginAllowThreads();
17917 result = (bool)(arg1)->HasTextColour();
17918
17919 wxPyEndAllowThreads(__tstate);
17920 if (PyErr_Occurred()) SWIG_fail;
17921 }
4f89f6a3
RD
17922 {
17923 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17924 }
d14a1e28
RD
17925 return resultobj;
17926 fail:
17927 return NULL;
17928}
17929
17930
17931static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17932 PyObject *resultobj;
17933 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17934 bool result;
17935 PyObject * obj0 = 0 ;
17936 char *kwnames[] = {
17937 (char *) "self", NULL
17938 };
17939
17940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17943 {
17944 PyThreadState* __tstate = wxPyBeginAllowThreads();
17945 result = (bool)(arg1)->HasBackgroundColour();
17946
17947 wxPyEndAllowThreads(__tstate);
17948 if (PyErr_Occurred()) SWIG_fail;
17949 }
4f89f6a3
RD
17950 {
17951 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17952 }
d14a1e28
RD
17953 return resultobj;
17954 fail:
17955 return NULL;
17956}
17957
17958
17959static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17960 PyObject *resultobj;
17961 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17962 bool result;
17963 PyObject * obj0 = 0 ;
17964 char *kwnames[] = {
17965 (char *) "self", NULL
17966 };
17967
17968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
17969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17971 {
17972 PyThreadState* __tstate = wxPyBeginAllowThreads();
17973 result = (bool)(arg1)->HasFont();
17974
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
4f89f6a3
RD
17978 {
17979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17980 }
d14a1e28
RD
17981 return resultobj;
17982 fail:
17983 return NULL;
17984}
17985
17986
17987static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17988 PyObject *resultobj;
17989 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17990 wxColour result;
17991 PyObject * obj0 = 0 ;
17992 char *kwnames[] = {
17993 (char *) "self", NULL
17994 };
17995
17996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
17997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
17998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17999 {
18000 PyThreadState* __tstate = wxPyBeginAllowThreads();
18001 result = (arg1)->GetTextColour();
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 {
18007 wxColour * resultptr;
18008 resultptr = new wxColour((wxColour &) result);
15afbcd0 18009 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18010 }
18011 return resultobj;
18012 fail:
18013 return NULL;
18014}
18015
18016
18017static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18018 PyObject *resultobj;
18019 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18020 wxColour result;
18021 PyObject * obj0 = 0 ;
18022 char *kwnames[] = {
18023 (char *) "self", NULL
18024 };
18025
18026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18029 {
18030 PyThreadState* __tstate = wxPyBeginAllowThreads();
18031 result = (arg1)->GetBackgroundColour();
18032
18033 wxPyEndAllowThreads(__tstate);
18034 if (PyErr_Occurred()) SWIG_fail;
18035 }
18036 {
18037 wxColour * resultptr;
18038 resultptr = new wxColour((wxColour &) result);
15afbcd0 18039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18040 }
18041 return resultobj;
18042 fail:
18043 return NULL;
18044}
18045
18046
18047static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18048 PyObject *resultobj;
18049 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18050 wxFont result;
18051 PyObject * obj0 = 0 ;
18052 char *kwnames[] = {
18053 (char *) "self", NULL
18054 };
18055
18056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
18057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18059 {
18060 PyThreadState* __tstate = wxPyBeginAllowThreads();
18061 result = (arg1)->GetFont();
18062
18063 wxPyEndAllowThreads(__tstate);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 }
18066 {
18067 wxFont * resultptr;
18068 resultptr = new wxFont((wxFont &) result);
15afbcd0 18069 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
18070 }
18071 return resultobj;
18072 fail:
18073 return NULL;
18074}
18075
18076
18077static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18078 PyObject *resultobj;
18079 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18080 PyObject * obj0 = 0 ;
18081 char *kwnames[] = {
18082 (char *) "self", NULL
18083 };
18084
18085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
18086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 wxListItemAttr_Destroy(arg1);
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 Py_INCREF(Py_None); resultobj = Py_None;
18096 return resultobj;
18097 fail:
18098 return NULL;
18099}
18100
18101
18102static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
18103 PyObject *obj;
18104 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18105 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
18106 Py_INCREF(obj);
18107 return Py_BuildValue((char *)"");
18108}
18109static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18110 PyObject *resultobj;
18111 wxListItem *result;
18112 char *kwnames[] = {
18113 NULL
18114 };
18115
18116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
18117 {
18118 PyThreadState* __tstate = wxPyBeginAllowThreads();
18119 result = (wxListItem *)new wxListItem();
18120
18121 wxPyEndAllowThreads(__tstate);
18122 if (PyErr_Occurred()) SWIG_fail;
18123 }
18124 {
18125 resultobj = wxPyMake_wxObject(result);
18126 }
18127 return resultobj;
18128 fail:
18129 return NULL;
18130}
18131
18132
18133static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18134 PyObject *resultobj;
18135 wxListItem *arg1 = (wxListItem *) 0 ;
18136 PyObject * obj0 = 0 ;
18137 char *kwnames[] = {
18138 (char *) "self", NULL
18139 };
18140
18141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
18142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 delete arg1;
18147
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 Py_INCREF(Py_None); resultobj = Py_None;
18152 return resultobj;
18153 fail:
18154 return NULL;
18155}
18156
18157
18158static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
18159 PyObject *resultobj;
18160 wxListItem *arg1 = (wxListItem *) 0 ;
18161 PyObject * obj0 = 0 ;
18162 char *kwnames[] = {
18163 (char *) "self", NULL
18164 };
18165
18166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
18167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18169 {
18170 PyThreadState* __tstate = wxPyBeginAllowThreads();
18171 (arg1)->Clear();
18172
18173 wxPyEndAllowThreads(__tstate);
18174 if (PyErr_Occurred()) SWIG_fail;
18175 }
18176 Py_INCREF(Py_None); resultobj = Py_None;
18177 return resultobj;
18178 fail:
18179 return NULL;
18180}
18181
18182
18183static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18184 PyObject *resultobj;
18185 wxListItem *arg1 = (wxListItem *) 0 ;
18186 PyObject * obj0 = 0 ;
18187 char *kwnames[] = {
18188 (char *) "self", NULL
18189 };
18190
18191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
18192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18194 {
18195 PyThreadState* __tstate = wxPyBeginAllowThreads();
18196 (arg1)->ClearAttributes();
18197
18198 wxPyEndAllowThreads(__tstate);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 }
18201 Py_INCREF(Py_None); resultobj = Py_None;
18202 return resultobj;
18203 fail:
18204 return NULL;
18205}
18206
18207
18208static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18209 PyObject *resultobj;
18210 wxListItem *arg1 = (wxListItem *) 0 ;
18211 long arg2 ;
18212 PyObject * obj0 = 0 ;
994141e6 18213 PyObject * obj1 = 0 ;
d14a1e28
RD
18214 char *kwnames[] = {
18215 (char *) "self",(char *) "mask", NULL
18216 };
18217
994141e6 18218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18221 arg2 = (long) SWIG_AsLong(obj1);
18222 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18223 {
18224 PyThreadState* __tstate = wxPyBeginAllowThreads();
18225 (arg1)->SetMask(arg2);
18226
18227 wxPyEndAllowThreads(__tstate);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 }
18230 Py_INCREF(Py_None); resultobj = Py_None;
18231 return resultobj;
18232 fail:
18233 return NULL;
18234}
18235
18236
18237static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18238 PyObject *resultobj;
18239 wxListItem *arg1 = (wxListItem *) 0 ;
18240 long arg2 ;
18241 PyObject * obj0 = 0 ;
994141e6 18242 PyObject * obj1 = 0 ;
d14a1e28
RD
18243 char *kwnames[] = {
18244 (char *) "self",(char *) "id", NULL
18245 };
18246
994141e6 18247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18250 arg2 = (long) SWIG_AsLong(obj1);
18251 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18252 {
18253 PyThreadState* __tstate = wxPyBeginAllowThreads();
18254 (arg1)->SetId(arg2);
18255
18256 wxPyEndAllowThreads(__tstate);
18257 if (PyErr_Occurred()) SWIG_fail;
18258 }
18259 Py_INCREF(Py_None); resultobj = Py_None;
18260 return resultobj;
18261 fail:
18262 return NULL;
18263}
18264
18265
18266static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18267 PyObject *resultobj;
18268 wxListItem *arg1 = (wxListItem *) 0 ;
18269 int arg2 ;
18270 PyObject * obj0 = 0 ;
994141e6 18271 PyObject * obj1 = 0 ;
d14a1e28
RD
18272 char *kwnames[] = {
18273 (char *) "self",(char *) "col", NULL
18274 };
18275
994141e6 18276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18279 arg2 = (int) SWIG_AsInt(obj1);
18280 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18281 {
18282 PyThreadState* __tstate = wxPyBeginAllowThreads();
18283 (arg1)->SetColumn(arg2);
18284
18285 wxPyEndAllowThreads(__tstate);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 }
18288 Py_INCREF(Py_None); resultobj = Py_None;
18289 return resultobj;
18290 fail:
18291 return NULL;
18292}
18293
18294
18295static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18296 PyObject *resultobj;
18297 wxListItem *arg1 = (wxListItem *) 0 ;
18298 long arg2 ;
18299 PyObject * obj0 = 0 ;
994141e6 18300 PyObject * obj1 = 0 ;
d14a1e28
RD
18301 char *kwnames[] = {
18302 (char *) "self",(char *) "state", NULL
18303 };
18304
994141e6 18305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18308 arg2 = (long) SWIG_AsLong(obj1);
18309 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 (arg1)->SetState(arg2);
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 Py_INCREF(Py_None); resultobj = Py_None;
18318 return resultobj;
18319 fail:
18320 return NULL;
18321}
18322
18323
18324static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxListItem *arg1 = (wxListItem *) 0 ;
18327 long arg2 ;
18328 PyObject * obj0 = 0 ;
994141e6 18329 PyObject * obj1 = 0 ;
d14a1e28
RD
18330 char *kwnames[] = {
18331 (char *) "self",(char *) "stateMask", NULL
18332 };
18333
994141e6 18334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18337 arg2 = (long) SWIG_AsLong(obj1);
18338 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 (arg1)->SetStateMask(arg2);
18342
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 Py_INCREF(Py_None); resultobj = Py_None;
18347 return resultobj;
18348 fail:
18349 return NULL;
18350}
18351
18352
18353static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18354 PyObject *resultobj;
18355 wxListItem *arg1 = (wxListItem *) 0 ;
18356 wxString *arg2 = 0 ;
e811c8ce 18357 bool temp2 = False ;
d14a1e28
RD
18358 PyObject * obj0 = 0 ;
18359 PyObject * obj1 = 0 ;
18360 char *kwnames[] = {
18361 (char *) "self",(char *) "text", NULL
18362 };
18363
18364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18367 {
18368 arg2 = wxString_in_helper(obj1);
18369 if (arg2 == NULL) SWIG_fail;
e811c8ce 18370 temp2 = True;
d14a1e28
RD
18371 }
18372 {
18373 PyThreadState* __tstate = wxPyBeginAllowThreads();
18374 (arg1)->SetText((wxString const &)*arg2);
18375
18376 wxPyEndAllowThreads(__tstate);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 Py_INCREF(Py_None); resultobj = Py_None;
18380 {
18381 if (temp2)
18382 delete arg2;
18383 }
18384 return resultobj;
18385 fail:
18386 {
18387 if (temp2)
18388 delete arg2;
18389 }
18390 return NULL;
18391}
18392
18393
18394static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18395 PyObject *resultobj;
18396 wxListItem *arg1 = (wxListItem *) 0 ;
18397 int arg2 ;
18398 PyObject * obj0 = 0 ;
994141e6 18399 PyObject * obj1 = 0 ;
d14a1e28
RD
18400 char *kwnames[] = {
18401 (char *) "self",(char *) "image", NULL
18402 };
18403
994141e6 18404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18407 arg2 = (int) SWIG_AsInt(obj1);
18408 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 (arg1)->SetImage(arg2);
18412
18413 wxPyEndAllowThreads(__tstate);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 }
18416 Py_INCREF(Py_None); resultobj = Py_None;
18417 return resultobj;
18418 fail:
18419 return NULL;
18420}
18421
18422
18423static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18424 PyObject *resultobj;
18425 wxListItem *arg1 = (wxListItem *) 0 ;
18426 long arg2 ;
18427 PyObject * obj0 = 0 ;
994141e6 18428 PyObject * obj1 = 0 ;
d14a1e28
RD
18429 char *kwnames[] = {
18430 (char *) "self",(char *) "data", NULL
18431 };
18432
994141e6 18433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18436 arg2 = (long) SWIG_AsLong(obj1);
18437 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18438 {
18439 PyThreadState* __tstate = wxPyBeginAllowThreads();
18440 (arg1)->SetData(arg2);
18441
18442 wxPyEndAllowThreads(__tstate);
18443 if (PyErr_Occurred()) SWIG_fail;
18444 }
18445 Py_INCREF(Py_None); resultobj = Py_None;
18446 return resultobj;
18447 fail:
18448 return NULL;
18449}
18450
18451
18452static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18453 PyObject *resultobj;
18454 wxListItem *arg1 = (wxListItem *) 0 ;
18455 int arg2 ;
18456 PyObject * obj0 = 0 ;
994141e6 18457 PyObject * obj1 = 0 ;
d14a1e28
RD
18458 char *kwnames[] = {
18459 (char *) "self",(char *) "width", NULL
18460 };
18461
994141e6 18462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18465 arg2 = (int) SWIG_AsInt(obj1);
18466 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18467 {
18468 PyThreadState* __tstate = wxPyBeginAllowThreads();
18469 (arg1)->SetWidth(arg2);
18470
18471 wxPyEndAllowThreads(__tstate);
18472 if (PyErr_Occurred()) SWIG_fail;
18473 }
18474 Py_INCREF(Py_None); resultobj = Py_None;
18475 return resultobj;
18476 fail:
18477 return NULL;
18478}
18479
18480
18481static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18482 PyObject *resultobj;
18483 wxListItem *arg1 = (wxListItem *) 0 ;
18484 int arg2 ;
18485 PyObject * obj0 = 0 ;
994141e6 18486 PyObject * obj1 = 0 ;
d14a1e28
RD
18487 char *kwnames[] = {
18488 (char *) "self",(char *) "align", NULL
18489 };
18490
994141e6 18491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18494 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
18495 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18496 {
18497 PyThreadState* __tstate = wxPyBeginAllowThreads();
18498 (arg1)->SetAlign((wxListColumnFormat )arg2);
18499
18500 wxPyEndAllowThreads(__tstate);
18501 if (PyErr_Occurred()) SWIG_fail;
18502 }
18503 Py_INCREF(Py_None); resultobj = Py_None;
18504 return resultobj;
18505 fail:
18506 return NULL;
18507}
18508
18509
18510static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18511 PyObject *resultobj;
18512 wxListItem *arg1 = (wxListItem *) 0 ;
18513 wxColour *arg2 = 0 ;
18514 wxColour temp2 ;
18515 PyObject * obj0 = 0 ;
18516 PyObject * obj1 = 0 ;
18517 char *kwnames[] = {
18518 (char *) "self",(char *) "colText", NULL
18519 };
18520
18521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18524 {
18525 arg2 = &temp2;
18526 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18527 }
18528 {
18529 PyThreadState* __tstate = wxPyBeginAllowThreads();
18530 (arg1)->SetTextColour((wxColour const &)*arg2);
18531
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 Py_INCREF(Py_None); resultobj = Py_None;
18536 return resultobj;
18537 fail:
18538 return NULL;
18539}
18540
18541
18542static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj;
18544 wxListItem *arg1 = (wxListItem *) 0 ;
18545 wxColour *arg2 = 0 ;
18546 wxColour temp2 ;
18547 PyObject * obj0 = 0 ;
18548 PyObject * obj1 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self",(char *) "colBack", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18556 {
18557 arg2 = &temp2;
18558 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18559 }
18560 {
18561 PyThreadState* __tstate = wxPyBeginAllowThreads();
18562 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18563
18564 wxPyEndAllowThreads(__tstate);
18565 if (PyErr_Occurred()) SWIG_fail;
18566 }
18567 Py_INCREF(Py_None); resultobj = Py_None;
18568 return resultobj;
18569 fail:
18570 return NULL;
18571}
18572
18573
18574static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18575 PyObject *resultobj;
18576 wxListItem *arg1 = (wxListItem *) 0 ;
18577 wxFont *arg2 = 0 ;
18578 PyObject * obj0 = 0 ;
18579 PyObject * obj1 = 0 ;
18580 char *kwnames[] = {
18581 (char *) "self",(char *) "font", NULL
18582 };
18583
18584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18588 SWIG_POINTER_EXCEPTION | 0)) == -1)
18589 SWIG_fail;
d14a1e28 18590 if (arg2 == NULL) {
15afbcd0
RD
18591 PyErr_SetString(PyExc_TypeError,"null reference");
18592 SWIG_fail;
d14a1e28
RD
18593 }
18594 {
18595 PyThreadState* __tstate = wxPyBeginAllowThreads();
18596 (arg1)->SetFont((wxFont const &)*arg2);
18597
18598 wxPyEndAllowThreads(__tstate);
18599 if (PyErr_Occurred()) SWIG_fail;
18600 }
18601 Py_INCREF(Py_None); resultobj = Py_None;
18602 return resultobj;
18603 fail:
18604 return NULL;
18605}
18606
18607
18608static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18609 PyObject *resultobj;
18610 wxListItem *arg1 = (wxListItem *) 0 ;
18611 long result;
18612 PyObject * obj0 = 0 ;
18613 char *kwnames[] = {
18614 (char *) "self", NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
18618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18620 {
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
18622 result = (long)(arg1)->GetMask();
18623
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
15afbcd0 18627 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18628 return resultobj;
18629 fail:
18630 return NULL;
18631}
18632
18633
18634static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18635 PyObject *resultobj;
18636 wxListItem *arg1 = (wxListItem *) 0 ;
18637 long result;
18638 PyObject * obj0 = 0 ;
18639 char *kwnames[] = {
18640 (char *) "self", NULL
18641 };
18642
18643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
18644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18646 {
18647 PyThreadState* __tstate = wxPyBeginAllowThreads();
18648 result = (long)(arg1)->GetId();
18649
18650 wxPyEndAllowThreads(__tstate);
18651 if (PyErr_Occurred()) SWIG_fail;
18652 }
15afbcd0 18653 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18654 return resultobj;
18655 fail:
18656 return NULL;
18657}
18658
18659
18660static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18661 PyObject *resultobj;
18662 wxListItem *arg1 = (wxListItem *) 0 ;
18663 int result;
18664 PyObject * obj0 = 0 ;
18665 char *kwnames[] = {
18666 (char *) "self", NULL
18667 };
18668
18669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15afbcd0
RD
18670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 result = (int)(arg1)->GetColumn();
18675
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
15afbcd0 18679 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18680 return resultobj;
18681 fail:
18682 return NULL;
18683}
18684
18685
18686static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18687 PyObject *resultobj;
18688 wxListItem *arg1 = (wxListItem *) 0 ;
18689 long result;
18690 PyObject * obj0 = 0 ;
18691 char *kwnames[] = {
18692 (char *) "self", NULL
18693 };
18694
18695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15afbcd0
RD
18696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18698 {
18699 PyThreadState* __tstate = wxPyBeginAllowThreads();
18700 result = (long)(arg1)->GetState();
18701
18702 wxPyEndAllowThreads(__tstate);
18703 if (PyErr_Occurred()) SWIG_fail;
18704 }
15afbcd0 18705 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18706 return resultobj;
18707 fail:
18708 return NULL;
18709}
18710
18711
18712static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18713 PyObject *resultobj;
18714 wxListItem *arg1 = (wxListItem *) 0 ;
18715 wxString *result;
18716 PyObject * obj0 = 0 ;
18717 char *kwnames[] = {
18718 (char *) "self", NULL
18719 };
18720
18721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
18722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18724 {
18725 PyThreadState* __tstate = wxPyBeginAllowThreads();
18726 {
18727 wxString const &_result_ref = (arg1)->GetText();
18728 result = (wxString *) &_result_ref;
18729 }
18730
18731 wxPyEndAllowThreads(__tstate);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
cc6dd355
RD
18734 {
18735#if wxUSE_UNICODE
18736 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18737#else
18738 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18739#endif
18740 }
d14a1e28
RD
18741 return resultobj;
18742 fail:
18743 return NULL;
18744}
18745
18746
18747static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18748 PyObject *resultobj;
18749 wxListItem *arg1 = (wxListItem *) 0 ;
18750 int result;
18751 PyObject * obj0 = 0 ;
18752 char *kwnames[] = {
18753 (char *) "self", NULL
18754 };
18755
18756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
18757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18759 {
18760 PyThreadState* __tstate = wxPyBeginAllowThreads();
18761 result = (int)(arg1)->GetImage();
18762
18763 wxPyEndAllowThreads(__tstate);
18764 if (PyErr_Occurred()) SWIG_fail;
18765 }
15afbcd0 18766 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18767 return resultobj;
18768 fail:
18769 return NULL;
18770}
18771
18772
18773static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18774 PyObject *resultobj;
18775 wxListItem *arg1 = (wxListItem *) 0 ;
18776 long result;
18777 PyObject * obj0 = 0 ;
18778 char *kwnames[] = {
18779 (char *) "self", NULL
18780 };
18781
18782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
18783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18785 {
18786 PyThreadState* __tstate = wxPyBeginAllowThreads();
18787 result = (long)(arg1)->GetData();
18788
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
15afbcd0 18792 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18793 return resultobj;
18794 fail:
18795 return NULL;
18796}
18797
18798
18799static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18800 PyObject *resultobj;
18801 wxListItem *arg1 = (wxListItem *) 0 ;
18802 int result;
18803 PyObject * obj0 = 0 ;
18804 char *kwnames[] = {
18805 (char *) "self", NULL
18806 };
18807
18808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
18809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18811 {
18812 PyThreadState* __tstate = wxPyBeginAllowThreads();
18813 result = (int)(arg1)->GetWidth();
18814
18815 wxPyEndAllowThreads(__tstate);
18816 if (PyErr_Occurred()) SWIG_fail;
18817 }
15afbcd0 18818 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18819 return resultobj;
18820 fail:
18821 return NULL;
18822}
18823
18824
18825static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18826 PyObject *resultobj;
18827 wxListItem *arg1 = (wxListItem *) 0 ;
18828 int result;
18829 PyObject * obj0 = 0 ;
18830 char *kwnames[] = {
18831 (char *) "self", NULL
18832 };
18833
18834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15afbcd0
RD
18835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18837 {
18838 PyThreadState* __tstate = wxPyBeginAllowThreads();
18839 result = (int)(arg1)->GetAlign();
18840
18841 wxPyEndAllowThreads(__tstate);
18842 if (PyErr_Occurred()) SWIG_fail;
18843 }
15afbcd0 18844 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18845 return resultobj;
18846 fail:
18847 return NULL;
18848}
18849
18850
18851static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18852 PyObject *resultobj;
18853 wxListItem *arg1 = (wxListItem *) 0 ;
18854 wxListItemAttr *result;
18855 PyObject * obj0 = 0 ;
18856 char *kwnames[] = {
18857 (char *) "self", NULL
18858 };
18859
18860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
18861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18863 {
18864 PyThreadState* __tstate = wxPyBeginAllowThreads();
18865 result = (wxListItemAttr *)(arg1)->GetAttributes();
18866
18867 wxPyEndAllowThreads(__tstate);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 }
15afbcd0 18870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
d14a1e28
RD
18871 return resultobj;
18872 fail:
18873 return NULL;
18874}
18875
18876
18877static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18878 PyObject *resultobj;
18879 wxListItem *arg1 = (wxListItem *) 0 ;
18880 bool result;
18881 PyObject * obj0 = 0 ;
18882 char *kwnames[] = {
18883 (char *) "self", NULL
18884 };
18885
18886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
15afbcd0
RD
18887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18889 {
18890 PyThreadState* __tstate = wxPyBeginAllowThreads();
18891 result = (bool)(arg1)->HasAttributes();
18892
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
4f89f6a3
RD
18896 {
18897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18898 }
d14a1e28
RD
18899 return resultobj;
18900 fail:
18901 return NULL;
18902}
18903
18904
18905static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18906 PyObject *resultobj;
18907 wxListItem *arg1 = (wxListItem *) 0 ;
18908 wxColour result;
18909 PyObject * obj0 = 0 ;
18910 char *kwnames[] = {
18911 (char *) "self", NULL
18912 };
18913
18914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18917 {
18918 PyThreadState* __tstate = wxPyBeginAllowThreads();
18919 result = ((wxListItem const *)arg1)->GetTextColour();
18920
18921 wxPyEndAllowThreads(__tstate);
18922 if (PyErr_Occurred()) SWIG_fail;
18923 }
18924 {
18925 wxColour * resultptr;
18926 resultptr = new wxColour((wxColour &) result);
15afbcd0 18927 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18928 }
18929 return resultobj;
18930 fail:
18931 return NULL;
18932}
18933
18934
18935static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18936 PyObject *resultobj;
18937 wxListItem *arg1 = (wxListItem *) 0 ;
18938 wxColour result;
18939 PyObject * obj0 = 0 ;
18940 char *kwnames[] = {
18941 (char *) "self", NULL
18942 };
18943
18944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
18945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18947 {
18948 PyThreadState* __tstate = wxPyBeginAllowThreads();
18949 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18950
18951 wxPyEndAllowThreads(__tstate);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
18954 {
18955 wxColour * resultptr;
18956 resultptr = new wxColour((wxColour &) result);
15afbcd0 18957 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
18958 }
18959 return resultobj;
18960 fail:
18961 return NULL;
18962}
18963
18964
18965static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18966 PyObject *resultobj;
18967 wxListItem *arg1 = (wxListItem *) 0 ;
18968 wxFont result;
18969 PyObject * obj0 = 0 ;
18970 char *kwnames[] = {
18971 (char *) "self", NULL
18972 };
18973
18974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
18975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18977 {
18978 PyThreadState* __tstate = wxPyBeginAllowThreads();
18979 result = ((wxListItem const *)arg1)->GetFont();
18980
18981 wxPyEndAllowThreads(__tstate);
18982 if (PyErr_Occurred()) SWIG_fail;
18983 }
18984 {
18985 wxFont * resultptr;
18986 resultptr = new wxFont((wxFont &) result);
15afbcd0 18987 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
18988 }
18989 return resultobj;
18990 fail:
18991 return NULL;
18992}
18993
18994
18995static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18996 PyObject *resultobj;
18997 wxListItem *arg1 = (wxListItem *) 0 ;
18998 long arg2 ;
18999 PyObject * obj0 = 0 ;
994141e6 19000 PyObject * obj1 = 0 ;
d14a1e28
RD
19001 char *kwnames[] = {
19002 (char *) "self",(char *) "m_mask", NULL
19003 };
19004
994141e6 19005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19008 arg2 = (long) SWIG_AsLong(obj1);
19009 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19010 if (arg1) (arg1)->m_mask = arg2;
19011
19012 Py_INCREF(Py_None); resultobj = Py_None;
19013 return resultobj;
19014 fail:
19015 return NULL;
19016}
19017
19018
19019static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19020 PyObject *resultobj;
19021 wxListItem *arg1 = (wxListItem *) 0 ;
19022 long result;
19023 PyObject * obj0 = 0 ;
19024 char *kwnames[] = {
19025 (char *) "self", NULL
19026 };
19027
19028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19031 result = (long) ((arg1)->m_mask);
19032
15afbcd0 19033 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19034 return resultobj;
19035 fail:
19036 return NULL;
19037}
19038
19039
19040static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19041 PyObject *resultobj;
19042 wxListItem *arg1 = (wxListItem *) 0 ;
19043 long arg2 ;
19044 PyObject * obj0 = 0 ;
994141e6 19045 PyObject * obj1 = 0 ;
d14a1e28
RD
19046 char *kwnames[] = {
19047 (char *) "self",(char *) "m_itemId", NULL
19048 };
19049
994141e6 19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19053 arg2 = (long) SWIG_AsLong(obj1);
19054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19055 if (arg1) (arg1)->m_itemId = arg2;
19056
19057 Py_INCREF(Py_None); resultobj = Py_None;
19058 return resultobj;
19059 fail:
19060 return NULL;
19061}
19062
19063
19064static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19065 PyObject *resultobj;
19066 wxListItem *arg1 = (wxListItem *) 0 ;
19067 long result;
19068 PyObject * obj0 = 0 ;
19069 char *kwnames[] = {
19070 (char *) "self", NULL
19071 };
19072
19073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19076 result = (long) ((arg1)->m_itemId);
19077
15afbcd0 19078 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19079 return resultobj;
19080 fail:
19081 return NULL;
19082}
19083
19084
19085static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19086 PyObject *resultobj;
19087 wxListItem *arg1 = (wxListItem *) 0 ;
19088 int arg2 ;
19089 PyObject * obj0 = 0 ;
994141e6 19090 PyObject * obj1 = 0 ;
d14a1e28
RD
19091 char *kwnames[] = {
19092 (char *) "self",(char *) "m_col", NULL
19093 };
19094
994141e6 19095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19098 arg2 = (int) SWIG_AsInt(obj1);
19099 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19100 if (arg1) (arg1)->m_col = arg2;
19101
19102 Py_INCREF(Py_None); resultobj = Py_None;
19103 return resultobj;
19104 fail:
19105 return NULL;
19106}
19107
19108
19109static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19110 PyObject *resultobj;
19111 wxListItem *arg1 = (wxListItem *) 0 ;
19112 int result;
19113 PyObject * obj0 = 0 ;
19114 char *kwnames[] = {
19115 (char *) "self", NULL
19116 };
19117
19118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19121 result = (int) ((arg1)->m_col);
19122
15afbcd0 19123 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19124 return resultobj;
19125 fail:
19126 return NULL;
19127}
19128
19129
19130static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19131 PyObject *resultobj;
19132 wxListItem *arg1 = (wxListItem *) 0 ;
19133 long arg2 ;
19134 PyObject * obj0 = 0 ;
994141e6 19135 PyObject * obj1 = 0 ;
d14a1e28
RD
19136 char *kwnames[] = {
19137 (char *) "self",(char *) "m_state", NULL
19138 };
19139
994141e6 19140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19143 arg2 = (long) SWIG_AsLong(obj1);
19144 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19145 if (arg1) (arg1)->m_state = arg2;
19146
19147 Py_INCREF(Py_None); resultobj = Py_None;
19148 return resultobj;
19149 fail:
19150 return NULL;
19151}
19152
19153
19154static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19155 PyObject *resultobj;
19156 wxListItem *arg1 = (wxListItem *) 0 ;
19157 long result;
19158 PyObject * obj0 = 0 ;
19159 char *kwnames[] = {
19160 (char *) "self", NULL
19161 };
19162
19163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19166 result = (long) ((arg1)->m_state);
19167
15afbcd0 19168 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19169 return resultobj;
19170 fail:
19171 return NULL;
19172}
19173
19174
19175static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19176 PyObject *resultobj;
19177 wxListItem *arg1 = (wxListItem *) 0 ;
19178 long arg2 ;
19179 PyObject * obj0 = 0 ;
994141e6 19180 PyObject * obj1 = 0 ;
d14a1e28
RD
19181 char *kwnames[] = {
19182 (char *) "self",(char *) "m_stateMask", NULL
19183 };
19184
994141e6 19185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19188 arg2 = (long) SWIG_AsLong(obj1);
19189 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19190 if (arg1) (arg1)->m_stateMask = arg2;
19191
19192 Py_INCREF(Py_None); resultobj = Py_None;
19193 return resultobj;
19194 fail:
19195 return NULL;
19196}
19197
19198
19199static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj;
19201 wxListItem *arg1 = (wxListItem *) 0 ;
19202 long result;
19203 PyObject * obj0 = 0 ;
19204 char *kwnames[] = {
19205 (char *) "self", NULL
19206 };
19207
19208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19211 result = (long) ((arg1)->m_stateMask);
19212
15afbcd0 19213 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19214 return resultobj;
19215 fail:
19216 return NULL;
19217}
19218
19219
19220static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19221 PyObject *resultobj;
19222 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 19223 wxString *arg2 = (wxString *) 0 ;
7eae615b 19224 bool temp2 = False ;
d14a1e28
RD
19225 PyObject * obj0 = 0 ;
19226 PyObject * obj1 = 0 ;
19227 char *kwnames[] = {
19228 (char *) "self",(char *) "m_text", NULL
19229 };
19230
19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7eae615b
RD
19234 {
19235 arg2 = wxString_in_helper(obj1);
19236 if (arg2 == NULL) SWIG_fail;
19237 temp2 = True;
19238 }
196addbf 19239 if (arg1) (arg1)->m_text = *arg2;
d14a1e28
RD
19240
19241 Py_INCREF(Py_None); resultobj = Py_None;
7eae615b
RD
19242 {
19243 if (temp2)
19244 delete arg2;
19245 }
d14a1e28
RD
19246 return resultobj;
19247 fail:
7eae615b
RD
19248 {
19249 if (temp2)
19250 delete arg2;
19251 }
d14a1e28
RD
19252 return NULL;
19253}
19254
19255
19256static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19257 PyObject *resultobj;
19258 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 19259 wxString *result;
d14a1e28
RD
19260 PyObject * obj0 = 0 ;
19261 char *kwnames[] = {
19262 (char *) "self", NULL
19263 };
19264
19265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
196addbf 19268 result = (wxString *)& ((arg1)->m_text);
d14a1e28
RD
19269
19270 {
19271#if wxUSE_UNICODE
196addbf 19272 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 19273#else
196addbf 19274 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
19275#endif
19276 }
19277 return resultobj;
19278 fail:
19279 return NULL;
19280}
19281
19282
19283static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19284 PyObject *resultobj;
19285 wxListItem *arg1 = (wxListItem *) 0 ;
19286 int arg2 ;
19287 PyObject * obj0 = 0 ;
994141e6 19288 PyObject * obj1 = 0 ;
d14a1e28
RD
19289 char *kwnames[] = {
19290 (char *) "self",(char *) "m_image", NULL
19291 };
19292
994141e6 19293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19296 arg2 = (int) SWIG_AsInt(obj1);
19297 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19298 if (arg1) (arg1)->m_image = arg2;
19299
19300 Py_INCREF(Py_None); resultobj = Py_None;
19301 return resultobj;
19302 fail:
19303 return NULL;
19304}
19305
19306
19307static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19308 PyObject *resultobj;
19309 wxListItem *arg1 = (wxListItem *) 0 ;
19310 int result;
19311 PyObject * obj0 = 0 ;
19312 char *kwnames[] = {
19313 (char *) "self", NULL
19314 };
19315
19316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19319 result = (int) ((arg1)->m_image);
19320
15afbcd0 19321 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19322 return resultobj;
19323 fail:
19324 return NULL;
19325}
19326
19327
19328static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19329 PyObject *resultobj;
19330 wxListItem *arg1 = (wxListItem *) 0 ;
19331 long arg2 ;
19332 PyObject * obj0 = 0 ;
994141e6 19333 PyObject * obj1 = 0 ;
d14a1e28
RD
19334 char *kwnames[] = {
19335 (char *) "self",(char *) "m_data", NULL
19336 };
19337
994141e6 19338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19341 arg2 = (long) SWIG_AsLong(obj1);
19342 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19343 if (arg1) (arg1)->m_data = arg2;
19344
19345 Py_INCREF(Py_None); resultobj = Py_None;
19346 return resultobj;
19347 fail:
19348 return NULL;
19349}
19350
19351
19352static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19353 PyObject *resultobj;
19354 wxListItem *arg1 = (wxListItem *) 0 ;
19355 long result;
19356 PyObject * obj0 = 0 ;
19357 char *kwnames[] = {
19358 (char *) "self", NULL
19359 };
19360
19361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19364 result = (long) ((arg1)->m_data);
19365
15afbcd0 19366 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19367 return resultobj;
19368 fail:
19369 return NULL;
19370}
19371
19372
19373static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19374 PyObject *resultobj;
19375 wxListItem *arg1 = (wxListItem *) 0 ;
19376 int arg2 ;
19377 PyObject * obj0 = 0 ;
994141e6 19378 PyObject * obj1 = 0 ;
d14a1e28
RD
19379 char *kwnames[] = {
19380 (char *) "self",(char *) "m_format", NULL
19381 };
19382
994141e6 19383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19386 arg2 = (int) SWIG_AsInt(obj1);
19387 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19388 if (arg1) (arg1)->m_format = arg2;
19389
19390 Py_INCREF(Py_None); resultobj = Py_None;
19391 return resultobj;
19392 fail:
19393 return NULL;
19394}
19395
19396
19397static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19398 PyObject *resultobj;
19399 wxListItem *arg1 = (wxListItem *) 0 ;
19400 int result;
19401 PyObject * obj0 = 0 ;
19402 char *kwnames[] = {
19403 (char *) "self", NULL
19404 };
19405
19406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19409 result = (int) ((arg1)->m_format);
19410
15afbcd0 19411 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19412 return resultobj;
19413 fail:
19414 return NULL;
19415}
19416
19417
19418static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19419 PyObject *resultobj;
19420 wxListItem *arg1 = (wxListItem *) 0 ;
19421 int arg2 ;
19422 PyObject * obj0 = 0 ;
994141e6 19423 PyObject * obj1 = 0 ;
d14a1e28
RD
19424 char *kwnames[] = {
19425 (char *) "self",(char *) "m_width", NULL
19426 };
19427
994141e6 19428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19431 arg2 = (int) SWIG_AsInt(obj1);
19432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19433 if (arg1) (arg1)->m_width = arg2;
19434
19435 Py_INCREF(Py_None); resultobj = Py_None;
19436 return resultobj;
19437 fail:
19438 return NULL;
19439}
19440
19441
19442static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19443 PyObject *resultobj;
19444 wxListItem *arg1 = (wxListItem *) 0 ;
19445 int result;
19446 PyObject * obj0 = 0 ;
19447 char *kwnames[] = {
19448 (char *) "self", NULL
19449 };
19450
19451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19454 result = (int) ((arg1)->m_width);
19455
15afbcd0 19456 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19457 return resultobj;
19458 fail:
19459 return NULL;
19460}
19461
19462
19463static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19464 PyObject *obj;
19465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19466 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19467 Py_INCREF(obj);
19468 return Py_BuildValue((char *)"");
19469}
19470static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19471 PyObject *resultobj;
19472 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19473 int arg2 = (int) 0 ;
19474 wxListEvent *result;
994141e6
RD
19475 PyObject * obj0 = 0 ;
19476 PyObject * obj1 = 0 ;
d14a1e28
RD
19477 char *kwnames[] = {
19478 (char *) "commandType",(char *) "id", NULL
19479 };
19480
994141e6
RD
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19482 if (obj0) {
15afbcd0
RD
19483 arg1 = (wxEventType) SWIG_AsInt(obj0);
19484 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19485 }
19486 if (obj1) {
15afbcd0
RD
19487 arg2 = (int) SWIG_AsInt(obj1);
19488 if (PyErr_Occurred()) SWIG_fail;
994141e6 19489 }
d14a1e28
RD
19490 {
19491 PyThreadState* __tstate = wxPyBeginAllowThreads();
19492 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19493
19494 wxPyEndAllowThreads(__tstate);
19495 if (PyErr_Occurred()) SWIG_fail;
19496 }
15afbcd0 19497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
d14a1e28
RD
19498 return resultobj;
19499 fail:
19500 return NULL;
19501}
19502
19503
19504static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19505 PyObject *resultobj;
19506 wxListEvent *arg1 = (wxListEvent *) 0 ;
19507 int arg2 ;
19508 PyObject * obj0 = 0 ;
994141e6 19509 PyObject * obj1 = 0 ;
d14a1e28
RD
19510 char *kwnames[] = {
19511 (char *) "self",(char *) "m_code", NULL
19512 };
19513
994141e6 19514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19517 arg2 = (int) SWIG_AsInt(obj1);
19518 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19519 if (arg1) (arg1)->m_code = arg2;
19520
19521 Py_INCREF(Py_None); resultobj = Py_None;
19522 return resultobj;
19523 fail:
19524 return NULL;
19525}
19526
19527
19528static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19529 PyObject *resultobj;
19530 wxListEvent *arg1 = (wxListEvent *) 0 ;
19531 int result;
19532 PyObject * obj0 = 0 ;
19533 char *kwnames[] = {
19534 (char *) "self", NULL
19535 };
19536
19537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19540 result = (int) ((arg1)->m_code);
19541
15afbcd0 19542 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19543 return resultobj;
19544 fail:
19545 return NULL;
19546}
19547
19548
19549static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19550 PyObject *resultobj;
19551 wxListEvent *arg1 = (wxListEvent *) 0 ;
19552 long arg2 ;
19553 PyObject * obj0 = 0 ;
994141e6 19554 PyObject * obj1 = 0 ;
d14a1e28
RD
19555 char *kwnames[] = {
19556 (char *) "self",(char *) "m_oldItemIndex", NULL
19557 };
19558
994141e6 19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19562 arg2 = (long) SWIG_AsLong(obj1);
19563 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19564 if (arg1) (arg1)->m_oldItemIndex = arg2;
19565
19566 Py_INCREF(Py_None); resultobj = Py_None;
19567 return resultobj;
19568 fail:
19569 return NULL;
19570}
19571
19572
19573static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19574 PyObject *resultobj;
19575 wxListEvent *arg1 = (wxListEvent *) 0 ;
19576 long result;
19577 PyObject * obj0 = 0 ;
19578 char *kwnames[] = {
19579 (char *) "self", NULL
19580 };
19581
19582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19585 result = (long) ((arg1)->m_oldItemIndex);
19586
15afbcd0 19587 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19588 return resultobj;
19589 fail:
19590 return NULL;
19591}
19592
19593
19594static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj;
19596 wxListEvent *arg1 = (wxListEvent *) 0 ;
19597 long arg2 ;
19598 PyObject * obj0 = 0 ;
994141e6 19599 PyObject * obj1 = 0 ;
d14a1e28
RD
19600 char *kwnames[] = {
19601 (char *) "self",(char *) "m_itemIndex", NULL
19602 };
19603
994141e6 19604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19607 arg2 = (long) SWIG_AsLong(obj1);
19608 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19609 if (arg1) (arg1)->m_itemIndex = arg2;
19610
19611 Py_INCREF(Py_None); resultobj = Py_None;
19612 return resultobj;
19613 fail:
19614 return NULL;
19615}
19616
19617
19618static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19619 PyObject *resultobj;
19620 wxListEvent *arg1 = (wxListEvent *) 0 ;
19621 long result;
19622 PyObject * obj0 = 0 ;
19623 char *kwnames[] = {
19624 (char *) "self", NULL
19625 };
19626
19627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19630 result = (long) ((arg1)->m_itemIndex);
19631
15afbcd0 19632 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19633 return resultobj;
19634 fail:
19635 return NULL;
19636}
19637
19638
19639static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxListEvent *arg1 = (wxListEvent *) 0 ;
19642 int arg2 ;
19643 PyObject * obj0 = 0 ;
994141e6 19644 PyObject * obj1 = 0 ;
d14a1e28
RD
19645 char *kwnames[] = {
19646 (char *) "self",(char *) "m_col", NULL
19647 };
19648
994141e6 19649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19652 arg2 = (int) SWIG_AsInt(obj1);
19653 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19654 if (arg1) (arg1)->m_col = arg2;
19655
19656 Py_INCREF(Py_None); resultobj = Py_None;
19657 return resultobj;
19658 fail:
19659 return NULL;
19660}
19661
19662
19663static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19664 PyObject *resultobj;
19665 wxListEvent *arg1 = (wxListEvent *) 0 ;
19666 int result;
19667 PyObject * obj0 = 0 ;
19668 char *kwnames[] = {
19669 (char *) "self", NULL
19670 };
19671
19672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19675 result = (int) ((arg1)->m_col);
19676
15afbcd0 19677 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19678 return resultobj;
19679 fail:
19680 return NULL;
19681}
19682
19683
19684static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19685 PyObject *resultobj;
19686 wxListEvent *arg1 = (wxListEvent *) 0 ;
19687 wxPoint *arg2 = (wxPoint *) 0 ;
19688 PyObject * obj0 = 0 ;
19689 PyObject * obj1 = 0 ;
19690 char *kwnames[] = {
19691 (char *) "self",(char *) "m_pointDrag", NULL
19692 };
19693
19694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19697 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
19698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19699 if (arg1) (arg1)->m_pointDrag = *arg2;
19700
19701 Py_INCREF(Py_None); resultobj = Py_None;
19702 return resultobj;
19703 fail:
19704 return NULL;
19705}
19706
19707
19708static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19709 PyObject *resultobj;
19710 wxListEvent *arg1 = (wxListEvent *) 0 ;
19711 wxPoint *result;
19712 PyObject * obj0 = 0 ;
19713 char *kwnames[] = {
19714 (char *) "self", NULL
19715 };
19716
19717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19720 result = (wxPoint *)& ((arg1)->m_pointDrag);
19721
15afbcd0 19722 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
19723 return resultobj;
19724 fail:
19725 return NULL;
19726}
19727
19728
19729static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19730 PyObject *resultobj;
19731 wxListEvent *arg1 = (wxListEvent *) 0 ;
19732 wxListItem *result;
19733 PyObject * obj0 = 0 ;
19734 char *kwnames[] = {
19735 (char *) "self", NULL
19736 };
19737
19738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
19739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19741 result = (wxListItem *)& ((arg1)->m_item);
19742
19743 {
19744 resultobj = wxPyMake_wxObject(result);
19745 }
19746 return resultobj;
19747 fail:
19748 return NULL;
19749}
19750
19751
19752static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19753 PyObject *resultobj;
19754 wxListEvent *arg1 = (wxListEvent *) 0 ;
19755 int result;
19756 PyObject * obj0 = 0 ;
19757 char *kwnames[] = {
19758 (char *) "self", NULL
19759 };
19760
19761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
19762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19764 {
19765 PyThreadState* __tstate = wxPyBeginAllowThreads();
19766 result = (int)(arg1)->GetKeyCode();
19767
19768 wxPyEndAllowThreads(__tstate);
19769 if (PyErr_Occurred()) SWIG_fail;
19770 }
15afbcd0 19771 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19772 return resultobj;
19773 fail:
19774 return NULL;
19775}
19776
19777
19778static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj;
19780 wxListEvent *arg1 = (wxListEvent *) 0 ;
19781 long result;
19782 PyObject * obj0 = 0 ;
19783 char *kwnames[] = {
19784 (char *) "self", NULL
19785 };
19786
19787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
19788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19790 {
19791 PyThreadState* __tstate = wxPyBeginAllowThreads();
19792 result = (long)(arg1)->GetIndex();
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
15afbcd0 19797 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19798 return resultobj;
19799 fail:
19800 return NULL;
19801}
19802
19803
19804static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19805 PyObject *resultobj;
19806 wxListEvent *arg1 = (wxListEvent *) 0 ;
19807 int result;
19808 PyObject * obj0 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
15afbcd0
RD
19814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19816 {
19817 PyThreadState* __tstate = wxPyBeginAllowThreads();
19818 result = (int)(arg1)->GetColumn();
19819
19820 wxPyEndAllowThreads(__tstate);
19821 if (PyErr_Occurred()) SWIG_fail;
19822 }
15afbcd0 19823 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19824 return resultobj;
19825 fail:
19826 return NULL;
19827}
19828
19829
19830static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19831 PyObject *resultobj;
19832 wxListEvent *arg1 = (wxListEvent *) 0 ;
19833 wxPoint result;
19834 PyObject * obj0 = 0 ;
19835 char *kwnames[] = {
19836 (char *) "self", NULL
19837 };
19838
19839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
19840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19842 {
19843 PyThreadState* __tstate = wxPyBeginAllowThreads();
19844 result = (arg1)->GetPoint();
19845
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 {
19850 wxPoint * resultptr;
19851 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 19852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
19853 }
19854 return resultobj;
19855 fail:
19856 return NULL;
19857}
19858
19859
19860static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19861 PyObject *resultobj;
19862 wxListEvent *arg1 = (wxListEvent *) 0 ;
19863 wxString *result;
19864 PyObject * obj0 = 0 ;
19865 char *kwnames[] = {
19866 (char *) "self", NULL
19867 };
19868
19869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
19870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19872 {
19873 PyThreadState* __tstate = wxPyBeginAllowThreads();
19874 {
19875 wxString const &_result_ref = (arg1)->GetLabel();
19876 result = (wxString *) &_result_ref;
19877 }
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
cc6dd355
RD
19882 {
19883#if wxUSE_UNICODE
19884 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19885#else
19886 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19887#endif
19888 }
d14a1e28
RD
19889 return resultobj;
19890 fail:
19891 return NULL;
19892}
19893
19894
19895static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19896 PyObject *resultobj;
19897 wxListEvent *arg1 = (wxListEvent *) 0 ;
19898 wxString *result;
19899 PyObject * obj0 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self", NULL
19902 };
19903
19904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
19905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19907 {
19908 PyThreadState* __tstate = wxPyBeginAllowThreads();
19909 {
19910 wxString const &_result_ref = (arg1)->GetText();
19911 result = (wxString *) &_result_ref;
19912 }
19913
19914 wxPyEndAllowThreads(__tstate);
19915 if (PyErr_Occurred()) SWIG_fail;
19916 }
cc6dd355
RD
19917 {
19918#if wxUSE_UNICODE
19919 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19920#else
19921 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19922#endif
19923 }
d14a1e28
RD
19924 return resultobj;
19925 fail:
19926 return NULL;
19927}
19928
19929
19930static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19931 PyObject *resultobj;
19932 wxListEvent *arg1 = (wxListEvent *) 0 ;
19933 int result;
19934 PyObject * obj0 = 0 ;
19935 char *kwnames[] = {
19936 (char *) "self", NULL
19937 };
19938
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
19940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19942 {
19943 PyThreadState* __tstate = wxPyBeginAllowThreads();
19944 result = (int)(arg1)->GetImage();
19945
19946 wxPyEndAllowThreads(__tstate);
19947 if (PyErr_Occurred()) SWIG_fail;
19948 }
15afbcd0 19949 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19950 return resultobj;
19951 fail:
19952 return NULL;
19953}
19954
19955
19956static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19957 PyObject *resultobj;
19958 wxListEvent *arg1 = (wxListEvent *) 0 ;
19959 long result;
19960 PyObject * obj0 = 0 ;
19961 char *kwnames[] = {
19962 (char *) "self", NULL
19963 };
19964
19965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
19966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19968 {
19969 PyThreadState* __tstate = wxPyBeginAllowThreads();
19970 result = (long)(arg1)->GetData();
19971
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
15afbcd0 19975 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19976 return resultobj;
19977 fail:
19978 return NULL;
19979}
19980
19981
19982static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19983 PyObject *resultobj;
19984 wxListEvent *arg1 = (wxListEvent *) 0 ;
19985 long result;
19986 PyObject * obj0 = 0 ;
19987 char *kwnames[] = {
19988 (char *) "self", NULL
19989 };
19990
19991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
19992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
19993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19994 {
19995 PyThreadState* __tstate = wxPyBeginAllowThreads();
19996 result = (long)(arg1)->GetMask();
19997
19998 wxPyEndAllowThreads(__tstate);
19999 if (PyErr_Occurred()) SWIG_fail;
20000 }
15afbcd0 20001 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20002 return resultobj;
20003 fail:
20004 return NULL;
20005}
20006
20007
20008static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20009 PyObject *resultobj;
20010 wxListEvent *arg1 = (wxListEvent *) 0 ;
20011 wxListItem *result;
20012 PyObject * obj0 = 0 ;
20013 char *kwnames[] = {
20014 (char *) "self", NULL
20015 };
20016
20017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
20018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 {
20023 wxListItem const &_result_ref = (arg1)->GetItem();
20024 result = (wxListItem *) &_result_ref;
20025 }
20026
20027 wxPyEndAllowThreads(__tstate);
20028 if (PyErr_Occurred()) SWIG_fail;
20029 }
15afbcd0 20030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
d14a1e28
RD
20031 return resultobj;
20032 fail:
20033 return NULL;
20034}
20035
20036
20037static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj;
20039 wxListEvent *arg1 = (wxListEvent *) 0 ;
20040 long result;
20041 PyObject * obj0 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
15afbcd0
RD
20047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 result = (long)(arg1)->GetCacheFrom();
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
15afbcd0 20056 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20057 return resultobj;
20058 fail:
20059 return NULL;
20060}
20061
20062
20063static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj;
20065 wxListEvent *arg1 = (wxListEvent *) 0 ;
20066 long result;
20067 PyObject * obj0 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
15afbcd0
RD
20073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20075 {
20076 PyThreadState* __tstate = wxPyBeginAllowThreads();
20077 result = (long)(arg1)->GetCacheTo();
20078
20079 wxPyEndAllowThreads(__tstate);
20080 if (PyErr_Occurred()) SWIG_fail;
20081 }
15afbcd0 20082 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20083 return resultobj;
20084 fail:
20085 return NULL;
20086}
20087
20088
20089static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20090 PyObject *resultobj;
20091 wxListEvent *arg1 = (wxListEvent *) 0 ;
20092 bool result;
20093 PyObject * obj0 = 0 ;
20094 char *kwnames[] = {
20095 (char *) "self", NULL
20096 };
20097
20098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
15afbcd0
RD
20099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20101 {
20102 PyThreadState* __tstate = wxPyBeginAllowThreads();
20103 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
20104
20105 wxPyEndAllowThreads(__tstate);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
4f89f6a3
RD
20108 {
20109 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20110 }
d14a1e28
RD
20111 return resultobj;
20112 fail:
20113 return NULL;
20114}
20115
20116
20117static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20118 PyObject *resultobj;
20119 wxListEvent *arg1 = (wxListEvent *) 0 ;
20120 bool arg2 ;
20121 PyObject * obj0 = 0 ;
20122 PyObject * obj1 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self",(char *) "editCancelled", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20130 arg2 = (bool) SWIG_AsBool(obj1);
20131 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20132 {
20133 PyThreadState* __tstate = wxPyBeginAllowThreads();
20134 (arg1)->SetEditCanceled(arg2);
20135
20136 wxPyEndAllowThreads(__tstate);
20137 if (PyErr_Occurred()) SWIG_fail;
20138 }
20139 Py_INCREF(Py_None); resultobj = Py_None;
20140 return resultobj;
20141 fail:
20142 return NULL;
20143}
20144
20145
20146static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
20147 PyObject *obj;
20148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20149 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
20150 Py_INCREF(obj);
20151 return Py_BuildValue((char *)"");
20152}
20153static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20154 PyObject *resultobj;
20155 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 20156 int arg2 = (int) -1 ;
d14a1e28
RD
20157 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20158 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20159 wxSize const &arg4_defvalue = wxDefaultSize ;
20160 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20161 long arg5 = (long) wxLC_ICON ;
20162 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20163 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20164 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20165 wxString *arg7 = (wxString *) &arg7_defvalue ;
20166 wxPyListCtrl *result;
20167 wxPoint temp3 ;
20168 wxSize temp4 ;
e811c8ce 20169 bool temp7 = False ;
d14a1e28 20170 PyObject * obj0 = 0 ;
994141e6 20171 PyObject * obj1 = 0 ;
d14a1e28
RD
20172 PyObject * obj2 = 0 ;
20173 PyObject * obj3 = 0 ;
994141e6 20174 PyObject * obj4 = 0 ;
d14a1e28
RD
20175 PyObject * obj5 = 0 ;
20176 PyObject * obj6 = 0 ;
20177 char *kwnames[] = {
20178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20179 };
20180
994141e6 20181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
20182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 20184 if (obj1) {
15afbcd0
RD
20185 arg2 = (int) SWIG_AsInt(obj1);
20186 if (PyErr_Occurred()) SWIG_fail;
994141e6 20187 }
d14a1e28
RD
20188 if (obj2) {
20189 {
20190 arg3 = &temp3;
20191 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20192 }
20193 }
20194 if (obj3) {
20195 {
20196 arg4 = &temp4;
20197 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20198 }
20199 }
994141e6 20200 if (obj4) {
15afbcd0
RD
20201 arg5 = (long) SWIG_AsLong(obj4);
20202 if (PyErr_Occurred()) SWIG_fail;
994141e6 20203 }
d14a1e28 20204 if (obj5) {
15afbcd0
RD
20205 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
20206 SWIG_POINTER_EXCEPTION | 0)) == -1)
20207 SWIG_fail;
d14a1e28 20208 if (arg6 == NULL) {
15afbcd0
RD
20209 PyErr_SetString(PyExc_TypeError,"null reference");
20210 SWIG_fail;
d14a1e28
RD
20211 }
20212 }
20213 if (obj6) {
20214 {
20215 arg7 = wxString_in_helper(obj6);
20216 if (arg7 == NULL) SWIG_fail;
e811c8ce 20217 temp7 = True;
d14a1e28
RD
20218 }
20219 }
20220 {
20221 PyThreadState* __tstate = wxPyBeginAllowThreads();
20222 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20223
20224 wxPyEndAllowThreads(__tstate);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 }
15afbcd0 20227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
20228 {
20229 if (temp7)
20230 delete arg7;
20231 }
20232 return resultobj;
20233 fail:
20234 {
20235 if (temp7)
20236 delete arg7;
20237 }
20238 return NULL;
20239}
20240
20241
20242static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20243 PyObject *resultobj;
20244 wxPyListCtrl *result;
20245 char *kwnames[] = {
20246 NULL
20247 };
20248
20249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
20250 {
20251 PyThreadState* __tstate = wxPyBeginAllowThreads();
20252 result = (wxPyListCtrl *)new wxPyListCtrl();
20253
20254 wxPyEndAllowThreads(__tstate);
20255 if (PyErr_Occurred()) SWIG_fail;
20256 }
15afbcd0 20257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
d14a1e28
RD
20258 return resultobj;
20259 fail:
20260 return NULL;
20261}
20262
20263
20264static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20265 PyObject *resultobj;
20266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20267 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 20268 int arg3 = (int) -1 ;
d14a1e28
RD
20269 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20270 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20271 wxSize const &arg5_defvalue = wxDefaultSize ;
20272 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20273 long arg6 = (long) wxLC_ICON ;
20274 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20275 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20276 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20277 wxString *arg8 = (wxString *) &arg8_defvalue ;
20278 bool result;
20279 wxPoint temp4 ;
20280 wxSize temp5 ;
e811c8ce 20281 bool temp8 = False ;
d14a1e28
RD
20282 PyObject * obj0 = 0 ;
20283 PyObject * obj1 = 0 ;
994141e6 20284 PyObject * obj2 = 0 ;
d14a1e28
RD
20285 PyObject * obj3 = 0 ;
20286 PyObject * obj4 = 0 ;
994141e6 20287 PyObject * obj5 = 0 ;
d14a1e28
RD
20288 PyObject * obj6 = 0 ;
20289 PyObject * obj7 = 0 ;
20290 char *kwnames[] = {
20291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20292 };
20293
994141e6 20294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
20295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20297 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 20299 if (obj2) {
15afbcd0
RD
20300 arg3 = (int) SWIG_AsInt(obj2);
20301 if (PyErr_Occurred()) SWIG_fail;
994141e6 20302 }
d14a1e28
RD
20303 if (obj3) {
20304 {
20305 arg4 = &temp4;
20306 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20307 }
20308 }
20309 if (obj4) {
20310 {
20311 arg5 = &temp5;
20312 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20313 }
20314 }
994141e6 20315 if (obj5) {
15afbcd0
RD
20316 arg6 = (long) SWIG_AsLong(obj5);
20317 if (PyErr_Occurred()) SWIG_fail;
994141e6 20318 }
d14a1e28 20319 if (obj6) {
15afbcd0
RD
20320 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
20321 SWIG_POINTER_EXCEPTION | 0)) == -1)
20322 SWIG_fail;
d14a1e28 20323 if (arg7 == NULL) {
15afbcd0
RD
20324 PyErr_SetString(PyExc_TypeError,"null reference");
20325 SWIG_fail;
d14a1e28
RD
20326 }
20327 }
20328 if (obj7) {
20329 {
20330 arg8 = wxString_in_helper(obj7);
20331 if (arg8 == NULL) SWIG_fail;
e811c8ce 20332 temp8 = True;
d14a1e28
RD
20333 }
20334 }
20335 {
20336 PyThreadState* __tstate = wxPyBeginAllowThreads();
20337 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20338
20339 wxPyEndAllowThreads(__tstate);
20340 if (PyErr_Occurred()) SWIG_fail;
20341 }
4f89f6a3
RD
20342 {
20343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20344 }
d14a1e28
RD
20345 {
20346 if (temp8)
20347 delete arg8;
20348 }
20349 return resultobj;
20350 fail:
20351 {
20352 if (temp8)
20353 delete arg8;
20354 }
20355 return NULL;
20356}
20357
20358
20359static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20360 PyObject *resultobj;
20361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20362 PyObject *arg2 = (PyObject *) 0 ;
20363 PyObject *arg3 = (PyObject *) 0 ;
20364 PyObject * obj0 = 0 ;
20365 PyObject * obj1 = 0 ;
20366 PyObject * obj2 = 0 ;
20367 char *kwnames[] = {
20368 (char *) "self",(char *) "self",(char *) "_class", NULL
20369 };
20370
20371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20374 arg2 = obj1;
20375 arg3 = obj2;
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 (arg1)->_setCallbackInfo(arg2,arg3);
20379
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 Py_INCREF(Py_None); resultobj = Py_None;
20384 return resultobj;
20385 fail:
20386 return NULL;
20387}
20388
20389
20390static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj;
20392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20393 wxColour *arg2 = 0 ;
20394 bool result;
20395 wxColour temp2 ;
20396 PyObject * obj0 = 0 ;
20397 PyObject * obj1 = 0 ;
20398 char *kwnames[] = {
20399 (char *) "self",(char *) "col", NULL
20400 };
20401
20402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20405 {
20406 arg2 = &temp2;
20407 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20408 }
20409 {
20410 PyThreadState* __tstate = wxPyBeginAllowThreads();
20411 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20412
20413 wxPyEndAllowThreads(__tstate);
20414 if (PyErr_Occurred()) SWIG_fail;
20415 }
4f89f6a3
RD
20416 {
20417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20418 }
d14a1e28
RD
20419 return resultobj;
20420 fail:
20421 return NULL;
20422}
20423
20424
20425static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20426 PyObject *resultobj;
20427 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20428 wxColour *arg2 = 0 ;
20429 bool result;
20430 wxColour temp2 ;
20431 PyObject * obj0 = 0 ;
20432 PyObject * obj1 = 0 ;
20433 char *kwnames[] = {
20434 (char *) "self",(char *) "col", NULL
20435 };
20436
20437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20440 {
20441 arg2 = &temp2;
20442 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20443 }
20444 {
20445 PyThreadState* __tstate = wxPyBeginAllowThreads();
20446 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20447
20448 wxPyEndAllowThreads(__tstate);
20449 if (PyErr_Occurred()) SWIG_fail;
20450 }
4f89f6a3
RD
20451 {
20452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20453 }
d14a1e28
RD
20454 return resultobj;
20455 fail:
20456 return NULL;
20457}
20458
20459
20460static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20461 PyObject *resultobj;
20462 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20463 int arg2 ;
20464 wxListItem *result;
20465 PyObject * obj0 = 0 ;
994141e6 20466 PyObject * obj1 = 0 ;
d14a1e28
RD
20467 char *kwnames[] = {
20468 (char *) "self",(char *) "col", NULL
20469 };
20470
994141e6 20471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20474 arg2 = (int) SWIG_AsInt(obj1);
20475 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20476 {
20477 PyThreadState* __tstate = wxPyBeginAllowThreads();
20478 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20479
20480 wxPyEndAllowThreads(__tstate);
20481 if (PyErr_Occurred()) SWIG_fail;
20482 }
20483 {
20484 resultobj = wxPyMake_wxObject(result);
20485 }
20486 return resultobj;
20487 fail:
20488 return NULL;
20489}
20490
20491
20492static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20493 PyObject *resultobj;
20494 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20495 int arg2 ;
20496 wxListItem *arg3 = 0 ;
20497 bool result;
20498 PyObject * obj0 = 0 ;
994141e6 20499 PyObject * obj1 = 0 ;
d14a1e28
RD
20500 PyObject * obj2 = 0 ;
20501 char *kwnames[] = {
20502 (char *) "self",(char *) "col",(char *) "item", NULL
20503 };
20504
994141e6 20505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20508 arg2 = (int) SWIG_AsInt(obj1);
20509 if (PyErr_Occurred()) SWIG_fail;
20510 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
20511 SWIG_POINTER_EXCEPTION | 0)) == -1)
20512 SWIG_fail;
d14a1e28 20513 if (arg3 == NULL) {
15afbcd0
RD
20514 PyErr_SetString(PyExc_TypeError,"null reference");
20515 SWIG_fail;
d14a1e28
RD
20516 }
20517 {
20518 PyThreadState* __tstate = wxPyBeginAllowThreads();
20519 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20520
20521 wxPyEndAllowThreads(__tstate);
20522 if (PyErr_Occurred()) SWIG_fail;
20523 }
4f89f6a3
RD
20524 {
20525 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20526 }
d14a1e28
RD
20527 return resultobj;
20528 fail:
20529 return NULL;
20530}
20531
20532
20533static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20534 PyObject *resultobj;
20535 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20536 int arg2 ;
20537 int result;
20538 PyObject * obj0 = 0 ;
994141e6 20539 PyObject * obj1 = 0 ;
d14a1e28
RD
20540 char *kwnames[] = {
20541 (char *) "self",(char *) "col", NULL
20542 };
20543
994141e6 20544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20547 arg2 = (int) SWIG_AsInt(obj1);
20548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20549 {
20550 PyThreadState* __tstate = wxPyBeginAllowThreads();
20551 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20552
20553 wxPyEndAllowThreads(__tstate);
20554 if (PyErr_Occurred()) SWIG_fail;
20555 }
15afbcd0 20556 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20557 return resultobj;
20558 fail:
20559 return NULL;
20560}
20561
20562
20563static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20564 PyObject *resultobj;
20565 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20566 int arg2 ;
20567 int arg3 ;
20568 bool result;
20569 PyObject * obj0 = 0 ;
994141e6
RD
20570 PyObject * obj1 = 0 ;
20571 PyObject * obj2 = 0 ;
d14a1e28
RD
20572 char *kwnames[] = {
20573 (char *) "self",(char *) "col",(char *) "width", NULL
20574 };
20575
994141e6 20576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20579 arg2 = (int) SWIG_AsInt(obj1);
20580 if (PyErr_Occurred()) SWIG_fail;
20581 arg3 = (int) SWIG_AsInt(obj2);
20582 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20583 {
20584 PyThreadState* __tstate = wxPyBeginAllowThreads();
20585 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20586
20587 wxPyEndAllowThreads(__tstate);
20588 if (PyErr_Occurred()) SWIG_fail;
20589 }
4f89f6a3
RD
20590 {
20591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20592 }
d14a1e28
RD
20593 return resultobj;
20594 fail:
20595 return NULL;
20596}
20597
20598
20599static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20600 PyObject *resultobj;
20601 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20602 int result;
20603 PyObject * obj0 = 0 ;
20604 char *kwnames[] = {
20605 (char *) "self", NULL
20606 };
20607
20608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
15afbcd0
RD
20609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20614
20615 wxPyEndAllowThreads(__tstate);
20616 if (PyErr_Occurred()) SWIG_fail;
20617 }
15afbcd0 20618 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20619 return resultobj;
20620 fail:
20621 return NULL;
20622}
20623
20624
20625static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20626 PyObject *resultobj;
20627 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20628 wxRect result;
20629 PyObject * obj0 = 0 ;
20630 char *kwnames[] = {
20631 (char *) "self", NULL
20632 };
20633
20634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
20635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20637 {
20638 PyThreadState* __tstate = wxPyBeginAllowThreads();
20639 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20640
20641 wxPyEndAllowThreads(__tstate);
20642 if (PyErr_Occurred()) SWIG_fail;
20643 }
20644 {
20645 wxRect * resultptr;
20646 resultptr = new wxRect((wxRect &) result);
15afbcd0 20647 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
20648 }
20649 return resultobj;
20650 fail:
20651 return NULL;
20652}
20653
20654
20655static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20656 PyObject *resultobj;
20657 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20658 long arg2 ;
20659 int arg3 = (int) 0 ;
20660 wxListItem *result;
20661 PyObject * obj0 = 0 ;
994141e6
RD
20662 PyObject * obj1 = 0 ;
20663 PyObject * obj2 = 0 ;
d14a1e28
RD
20664 char *kwnames[] = {
20665 (char *) "self",(char *) "itemId",(char *) "col", NULL
20666 };
20667
994141e6 20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20671 arg2 = (long) SWIG_AsLong(obj1);
20672 if (PyErr_Occurred()) SWIG_fail;
994141e6 20673 if (obj2) {
15afbcd0
RD
20674 arg3 = (int) SWIG_AsInt(obj2);
20675 if (PyErr_Occurred()) SWIG_fail;
994141e6 20676 }
d14a1e28
RD
20677 {
20678 PyThreadState* __tstate = wxPyBeginAllowThreads();
20679 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20680
20681 wxPyEndAllowThreads(__tstate);
20682 if (PyErr_Occurred()) SWIG_fail;
20683 }
20684 {
20685 resultobj = wxPyMake_wxObject(result);
20686 }
20687 return resultobj;
20688 fail:
20689 return NULL;
20690}
20691
20692
20693static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20694 PyObject *resultobj;
20695 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20696 wxListItem *arg2 = 0 ;
20697 bool result;
20698 PyObject * obj0 = 0 ;
20699 PyObject * obj1 = 0 ;
20700 char *kwnames[] = {
20701 (char *) "self",(char *) "info", NULL
20702 };
20703
20704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20705 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20706 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20707 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
20708 SWIG_POINTER_EXCEPTION | 0)) == -1)
20709 SWIG_fail;
d14a1e28 20710 if (arg2 == NULL) {
15afbcd0
RD
20711 PyErr_SetString(PyExc_TypeError,"null reference");
20712 SWIG_fail;
d14a1e28
RD
20713 }
20714 {
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 result = (bool)(arg1)->SetItem(*arg2);
20717
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
4f89f6a3
RD
20721 {
20722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20723 }
d14a1e28
RD
20724 return resultobj;
20725 fail:
20726 return NULL;
20727}
20728
20729
20730static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20731 PyObject *resultobj;
20732 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20733 long arg2 ;
20734 int arg3 ;
20735 wxString *arg4 = 0 ;
20736 int arg5 = (int) -1 ;
20737 long result;
e811c8ce 20738 bool temp4 = False ;
d14a1e28 20739 PyObject * obj0 = 0 ;
994141e6
RD
20740 PyObject * obj1 = 0 ;
20741 PyObject * obj2 = 0 ;
d14a1e28 20742 PyObject * obj3 = 0 ;
994141e6 20743 PyObject * obj4 = 0 ;
d14a1e28
RD
20744 char *kwnames[] = {
20745 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20746 };
20747
994141e6 20748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
20749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20751 arg2 = (long) SWIG_AsLong(obj1);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 arg3 = (int) SWIG_AsInt(obj2);
20754 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20755 {
20756 arg4 = wxString_in_helper(obj3);
20757 if (arg4 == NULL) SWIG_fail;
e811c8ce 20758 temp4 = True;
d14a1e28 20759 }
994141e6 20760 if (obj4) {
15afbcd0
RD
20761 arg5 = (int) SWIG_AsInt(obj4);
20762 if (PyErr_Occurred()) SWIG_fail;
994141e6 20763 }
d14a1e28
RD
20764 {
20765 PyThreadState* __tstate = wxPyBeginAllowThreads();
20766 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20767
20768 wxPyEndAllowThreads(__tstate);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
15afbcd0 20771 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20772 {
20773 if (temp4)
20774 delete arg4;
20775 }
20776 return resultobj;
20777 fail:
20778 {
20779 if (temp4)
20780 delete arg4;
20781 }
20782 return NULL;
20783}
20784
20785
20786static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20787 PyObject *resultobj;
20788 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20789 long arg2 ;
20790 long arg3 ;
20791 int result;
20792 PyObject * obj0 = 0 ;
994141e6
RD
20793 PyObject * obj1 = 0 ;
20794 PyObject * obj2 = 0 ;
d14a1e28
RD
20795 char *kwnames[] = {
20796 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20797 };
20798
994141e6 20799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20802 arg2 = (long) SWIG_AsLong(obj1);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 arg3 = (long) SWIG_AsLong(obj2);
20805 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20806 {
20807 PyThreadState* __tstate = wxPyBeginAllowThreads();
20808 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20809
20810 wxPyEndAllowThreads(__tstate);
20811 if (PyErr_Occurred()) SWIG_fail;
20812 }
15afbcd0 20813 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20814 return resultobj;
20815 fail:
20816 return NULL;
20817}
20818
20819
20820static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20821 PyObject *resultobj;
20822 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20823 long arg2 ;
20824 long arg3 ;
20825 long arg4 ;
20826 bool result;
20827 PyObject * obj0 = 0 ;
994141e6
RD
20828 PyObject * obj1 = 0 ;
20829 PyObject * obj2 = 0 ;
20830 PyObject * obj3 = 0 ;
d14a1e28
RD
20831 char *kwnames[] = {
20832 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20833 };
20834
994141e6 20835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
20836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20838 arg2 = (long) SWIG_AsLong(obj1);
20839 if (PyErr_Occurred()) SWIG_fail;
20840 arg3 = (long) SWIG_AsLong(obj2);
20841 if (PyErr_Occurred()) SWIG_fail;
20842 arg4 = (long) SWIG_AsLong(obj3);
20843 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20844 {
20845 PyThreadState* __tstate = wxPyBeginAllowThreads();
20846 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20847
20848 wxPyEndAllowThreads(__tstate);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
4f89f6a3
RD
20851 {
20852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20853 }
d14a1e28
RD
20854 return resultobj;
20855 fail:
20856 return NULL;
20857}
20858
20859
20860static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20861 PyObject *resultobj;
20862 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20863 long arg2 ;
20864 int arg3 ;
20865 int arg4 ;
20866 bool result;
20867 PyObject * obj0 = 0 ;
994141e6
RD
20868 PyObject * obj1 = 0 ;
20869 PyObject * obj2 = 0 ;
20870 PyObject * obj3 = 0 ;
d14a1e28
RD
20871 char *kwnames[] = {
20872 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20873 };
20874
994141e6 20875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
20876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20878 arg2 = (long) SWIG_AsLong(obj1);
20879 if (PyErr_Occurred()) SWIG_fail;
20880 arg3 = (int) SWIG_AsInt(obj2);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 arg4 = (int) SWIG_AsInt(obj3);
20883 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20884 {
20885 PyThreadState* __tstate = wxPyBeginAllowThreads();
20886 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20887
20888 wxPyEndAllowThreads(__tstate);
20889 if (PyErr_Occurred()) SWIG_fail;
20890 }
4f89f6a3
RD
20891 {
20892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20893 }
d14a1e28
RD
20894 return resultobj;
20895 fail:
20896 return NULL;
20897}
20898
20899
20900static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20901 PyObject *resultobj;
20902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20903 long arg2 ;
20904 wxString result;
20905 PyObject * obj0 = 0 ;
994141e6 20906 PyObject * obj1 = 0 ;
d14a1e28
RD
20907 char *kwnames[] = {
20908 (char *) "self",(char *) "item", NULL
20909 };
20910
994141e6 20911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20914 arg2 = (long) SWIG_AsLong(obj1);
20915 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20916 {
20917 PyThreadState* __tstate = wxPyBeginAllowThreads();
20918 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20919
20920 wxPyEndAllowThreads(__tstate);
20921 if (PyErr_Occurred()) SWIG_fail;
20922 }
20923 {
20924#if wxUSE_UNICODE
20925 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20926#else
20927 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20928#endif
20929 }
20930 return resultobj;
20931 fail:
20932 return NULL;
20933}
20934
20935
20936static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20937 PyObject *resultobj;
20938 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20939 long arg2 ;
20940 wxString *arg3 = 0 ;
e811c8ce 20941 bool temp3 = False ;
d14a1e28 20942 PyObject * obj0 = 0 ;
994141e6 20943 PyObject * obj1 = 0 ;
d14a1e28
RD
20944 PyObject * obj2 = 0 ;
20945 char *kwnames[] = {
20946 (char *) "self",(char *) "item",(char *) "str", NULL
20947 };
20948
994141e6 20949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20952 arg2 = (long) SWIG_AsLong(obj1);
20953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20954 {
20955 arg3 = wxString_in_helper(obj2);
20956 if (arg3 == NULL) SWIG_fail;
e811c8ce 20957 temp3 = True;
d14a1e28
RD
20958 }
20959 {
20960 PyThreadState* __tstate = wxPyBeginAllowThreads();
20961 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20962
20963 wxPyEndAllowThreads(__tstate);
20964 if (PyErr_Occurred()) SWIG_fail;
20965 }
20966 Py_INCREF(Py_None); resultobj = Py_None;
20967 {
20968 if (temp3)
20969 delete arg3;
20970 }
20971 return resultobj;
20972 fail:
20973 {
20974 if (temp3)
20975 delete arg3;
20976 }
20977 return NULL;
20978}
20979
20980
20981static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20982 PyObject *resultobj;
20983 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20984 long arg2 ;
20985 long result;
20986 PyObject * obj0 = 0 ;
994141e6 20987 PyObject * obj1 = 0 ;
d14a1e28
RD
20988 char *kwnames[] = {
20989 (char *) "self",(char *) "item", NULL
20990 };
20991
994141e6 20992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
20994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20995 arg2 = (long) SWIG_AsLong(obj1);
20996 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20997 {
20998 PyThreadState* __tstate = wxPyBeginAllowThreads();
20999 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
21000
21001 wxPyEndAllowThreads(__tstate);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 }
15afbcd0 21004 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21005 return resultobj;
21006 fail:
21007 return NULL;
21008}
21009
21010
21011static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21012 PyObject *resultobj;
21013 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21014 long arg2 ;
21015 long arg3 ;
21016 bool result;
21017 PyObject * obj0 = 0 ;
994141e6
RD
21018 PyObject * obj1 = 0 ;
21019 PyObject * obj2 = 0 ;
d14a1e28
RD
21020 char *kwnames[] = {
21021 (char *) "self",(char *) "item",(char *) "data", NULL
21022 };
21023
994141e6 21024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21027 arg2 = (long) SWIG_AsLong(obj1);
21028 if (PyErr_Occurred()) SWIG_fail;
21029 arg3 = (long) SWIG_AsLong(obj2);
21030 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 result = (bool)(arg1)->SetItemData(arg2,arg3);
21034
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
4f89f6a3
RD
21038 {
21039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21040 }
d14a1e28
RD
21041 return resultobj;
21042 fail:
21043 return NULL;
21044}
21045
21046
21047static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21048 PyObject *resultobj;
21049 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21050 long arg2 ;
21051 wxPoint result;
21052 PyObject * obj0 = 0 ;
994141e6 21053 PyObject * obj1 = 0 ;
d14a1e28
RD
21054 char *kwnames[] = {
21055 (char *) "self",(char *) "item", NULL
21056 };
21057
994141e6 21058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21061 arg2 = (long) SWIG_AsLong(obj1);
21062 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21063 {
21064 PyThreadState* __tstate = wxPyBeginAllowThreads();
21065 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
21066
21067 wxPyEndAllowThreads(__tstate);
21068 if (PyErr_Occurred()) SWIG_fail;
21069 }
21070 {
21071 wxPoint * resultptr;
21072 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 21073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
21074 }
21075 return resultobj;
21076 fail:
21077 return NULL;
21078}
21079
21080
21081static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21082 PyObject *resultobj;
21083 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21084 long arg2 ;
21085 int arg3 = (int) wxLIST_RECT_BOUNDS ;
21086 wxRect result;
21087 PyObject * obj0 = 0 ;
994141e6
RD
21088 PyObject * obj1 = 0 ;
21089 PyObject * obj2 = 0 ;
d14a1e28
RD
21090 char *kwnames[] = {
21091 (char *) "self",(char *) "item",(char *) "code", NULL
21092 };
21093
994141e6 21094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21097 arg2 = (long) SWIG_AsLong(obj1);
21098 if (PyErr_Occurred()) SWIG_fail;
994141e6 21099 if (obj2) {
15afbcd0
RD
21100 arg3 = (int) SWIG_AsInt(obj2);
21101 if (PyErr_Occurred()) SWIG_fail;
994141e6 21102 }
d14a1e28
RD
21103 {
21104 PyThreadState* __tstate = wxPyBeginAllowThreads();
21105 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
21106
21107 wxPyEndAllowThreads(__tstate);
21108 if (PyErr_Occurred()) SWIG_fail;
21109 }
21110 {
21111 wxRect * resultptr;
21112 resultptr = new wxRect((wxRect &) result);
15afbcd0 21113 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
21114 }
21115 return resultobj;
21116 fail:
21117 return NULL;
21118}
21119
21120
21121static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21122 PyObject *resultobj;
21123 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21124 long arg2 ;
21125 wxPoint *arg3 = 0 ;
21126 bool result;
21127 wxPoint temp3 ;
21128 PyObject * obj0 = 0 ;
994141e6 21129 PyObject * obj1 = 0 ;
d14a1e28
RD
21130 PyObject * obj2 = 0 ;
21131 char *kwnames[] = {
21132 (char *) "self",(char *) "item",(char *) "pos", NULL
21133 };
21134
994141e6 21135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21138 arg2 = (long) SWIG_AsLong(obj1);
21139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21140 {
21141 arg3 = &temp3;
21142 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21143 }
21144 {
21145 PyThreadState* __tstate = wxPyBeginAllowThreads();
21146 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
21147
21148 wxPyEndAllowThreads(__tstate);
21149 if (PyErr_Occurred()) SWIG_fail;
21150 }
4f89f6a3
RD
21151 {
21152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21153 }
d14a1e28
RD
21154 return resultobj;
21155 fail:
21156 return NULL;
21157}
21158
21159
21160static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21161 PyObject *resultobj;
21162 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21163 int result;
21164 PyObject * obj0 = 0 ;
21165 char *kwnames[] = {
21166 (char *) "self", NULL
21167 };
21168
21169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
21170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21172 {
21173 PyThreadState* __tstate = wxPyBeginAllowThreads();
21174 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
21175
21176 wxPyEndAllowThreads(__tstate);
21177 if (PyErr_Occurred()) SWIG_fail;
21178 }
15afbcd0 21179 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21180 return resultobj;
21181 fail:
21182 return NULL;
21183}
21184
21185
21186static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21187 PyObject *resultobj;
21188 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21189 int result;
21190 PyObject * obj0 = 0 ;
21191 char *kwnames[] = {
21192 (char *) "self", NULL
21193 };
21194
21195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
21196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21198 {
21199 PyThreadState* __tstate = wxPyBeginAllowThreads();
21200 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
21201
21202 wxPyEndAllowThreads(__tstate);
21203 if (PyErr_Occurred()) SWIG_fail;
21204 }
15afbcd0 21205 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21206 return resultobj;
21207 fail:
21208 return NULL;
21209}
21210
21211
21212static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21213 PyObject *resultobj;
21214 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21215 wxSize result;
21216 PyObject * obj0 = 0 ;
21217 char *kwnames[] = {
21218 (char *) "self", NULL
21219 };
21220
21221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
15afbcd0
RD
21222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 {
21232 wxSize * resultptr;
21233 resultptr = new wxSize((wxSize &) result);
15afbcd0 21234 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
21235 }
21236 return resultobj;
21237 fail:
21238 return NULL;
21239}
21240
21241
21242static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21243 PyObject *resultobj;
21244 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21245 int arg2 ;
e811c8ce 21246 bool arg3 = (bool) False ;
d14a1e28 21247 PyObject * obj0 = 0 ;
994141e6 21248 PyObject * obj1 = 0 ;
d14a1e28
RD
21249 PyObject * obj2 = 0 ;
21250 char *kwnames[] = {
21251 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
21252 };
21253
994141e6 21254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21257 arg2 = (int) SWIG_AsInt(obj1);
21258 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21259 if (obj2) {
15afbcd0
RD
21260 arg3 = (bool) SWIG_AsBool(obj2);
21261 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21262 }
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 (arg1)->SetItemSpacing(arg2,arg3);
21266
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
21270 Py_INCREF(Py_None); resultobj = Py_None;
21271 return resultobj;
21272 fail:
21273 return NULL;
21274}
21275
21276
21277static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21278 PyObject *resultobj;
21279 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21280 int result;
21281 PyObject * obj0 = 0 ;
21282 char *kwnames[] = {
21283 (char *) "self", NULL
21284 };
21285
21286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
21287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
21292
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
15afbcd0 21296 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21297 return resultobj;
21298 fail:
21299 return NULL;
21300}
21301
21302
21303static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21304 PyObject *resultobj;
21305 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21306 wxColour result;
21307 PyObject * obj0 = 0 ;
21308 char *kwnames[] = {
21309 (char *) "self", NULL
21310 };
21311
21312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
21313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21315 {
21316 PyThreadState* __tstate = wxPyBeginAllowThreads();
21317 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21318
21319 wxPyEndAllowThreads(__tstate);
21320 if (PyErr_Occurred()) SWIG_fail;
21321 }
21322 {
21323 wxColour * resultptr;
21324 resultptr = new wxColour((wxColour &) result);
15afbcd0 21325 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
21326 }
21327 return resultobj;
21328 fail:
21329 return NULL;
21330}
21331
21332
21333static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21334 PyObject *resultobj;
21335 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21336 wxColour *arg2 = 0 ;
21337 wxColour temp2 ;
21338 PyObject * obj0 = 0 ;
21339 PyObject * obj1 = 0 ;
21340 char *kwnames[] = {
21341 (char *) "self",(char *) "col", NULL
21342 };
21343
21344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21347 {
21348 arg2 = &temp2;
21349 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21350 }
21351 {
21352 PyThreadState* __tstate = wxPyBeginAllowThreads();
21353 (arg1)->SetTextColour((wxColour const &)*arg2);
21354
21355 wxPyEndAllowThreads(__tstate);
21356 if (PyErr_Occurred()) SWIG_fail;
21357 }
21358 Py_INCREF(Py_None); resultobj = Py_None;
21359 return resultobj;
21360 fail:
21361 return NULL;
21362}
21363
21364
21365static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21366 PyObject *resultobj;
21367 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21368 long result;
21369 PyObject * obj0 = 0 ;
21370 char *kwnames[] = {
21371 (char *) "self", NULL
21372 };
21373
21374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
21375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21377 {
21378 PyThreadState* __tstate = wxPyBeginAllowThreads();
21379 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21380
21381 wxPyEndAllowThreads(__tstate);
21382 if (PyErr_Occurred()) SWIG_fail;
21383 }
15afbcd0 21384 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21385 return resultobj;
21386 fail:
21387 return NULL;
21388}
21389
21390
21391static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21392 PyObject *resultobj;
21393 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21394 long arg2 ;
e811c8ce 21395 bool arg3 = (bool) True ;
d14a1e28 21396 PyObject * obj0 = 0 ;
994141e6 21397 PyObject * obj1 = 0 ;
d14a1e28
RD
21398 PyObject * obj2 = 0 ;
21399 char *kwnames[] = {
21400 (char *) "self",(char *) "style",(char *) "add", NULL
21401 };
21402
994141e6 21403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21406 arg2 = (long) SWIG_AsLong(obj1);
21407 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 21408 if (obj2) {
15afbcd0
RD
21409 arg3 = (bool) SWIG_AsBool(obj2);
21410 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21411 }
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 (arg1)->SetSingleStyle(arg2,arg3);
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 Py_INCREF(Py_None); resultobj = Py_None;
21420 return resultobj;
21421 fail:
21422 return NULL;
21423}
21424
21425
21426static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21427 PyObject *resultobj;
21428 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21429 long arg2 ;
21430 PyObject * obj0 = 0 ;
994141e6 21431 PyObject * obj1 = 0 ;
d14a1e28
RD
21432 char *kwnames[] = {
21433 (char *) "self",(char *) "style", NULL
21434 };
21435
994141e6 21436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21439 arg2 = (long) SWIG_AsLong(obj1);
21440 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21441 {
21442 PyThreadState* __tstate = wxPyBeginAllowThreads();
21443 (arg1)->SetWindowStyleFlag(arg2);
21444
21445 wxPyEndAllowThreads(__tstate);
21446 if (PyErr_Occurred()) SWIG_fail;
21447 }
21448 Py_INCREF(Py_None); resultobj = Py_None;
21449 return resultobj;
21450 fail:
21451 return NULL;
21452}
21453
21454
21455static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21456 PyObject *resultobj;
21457 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21458 long arg2 ;
21459 int arg3 = (int) wxLIST_NEXT_ALL ;
21460 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21461 long result;
21462 PyObject * obj0 = 0 ;
994141e6
RD
21463 PyObject * obj1 = 0 ;
21464 PyObject * obj2 = 0 ;
21465 PyObject * obj3 = 0 ;
d14a1e28
RD
21466 char *kwnames[] = {
21467 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21468 };
21469
994141e6 21470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21473 arg2 = (long) SWIG_AsLong(obj1);
21474 if (PyErr_Occurred()) SWIG_fail;
994141e6 21475 if (obj2) {
15afbcd0
RD
21476 arg3 = (int) SWIG_AsInt(obj2);
21477 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
21478 }
21479 if (obj3) {
15afbcd0
RD
21480 arg4 = (int) SWIG_AsInt(obj3);
21481 if (PyErr_Occurred()) SWIG_fail;
994141e6 21482 }
d14a1e28
RD
21483 {
21484 PyThreadState* __tstate = wxPyBeginAllowThreads();
21485 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21486
21487 wxPyEndAllowThreads(__tstate);
21488 if (PyErr_Occurred()) SWIG_fail;
21489 }
15afbcd0 21490 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21491 return resultobj;
21492 fail:
21493 return NULL;
21494}
21495
21496
21497static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21498 PyObject *resultobj;
21499 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21500 int arg2 ;
21501 wxImageList *result;
21502 PyObject * obj0 = 0 ;
994141e6 21503 PyObject * obj1 = 0 ;
d14a1e28
RD
21504 char *kwnames[] = {
21505 (char *) "self",(char *) "which", NULL
21506 };
21507
994141e6 21508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21511 arg2 = (int) SWIG_AsInt(obj1);
21512 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21513 {
21514 PyThreadState* __tstate = wxPyBeginAllowThreads();
21515 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21516
21517 wxPyEndAllowThreads(__tstate);
21518 if (PyErr_Occurred()) SWIG_fail;
21519 }
21520 {
21521 resultobj = wxPyMake_wxObject(result);
21522 }
21523 return resultobj;
21524 fail:
21525 return NULL;
21526}
21527
21528
21529static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21530 PyObject *resultobj;
21531 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21532 wxImageList *arg2 = (wxImageList *) 0 ;
21533 int arg3 ;
21534 PyObject * obj0 = 0 ;
21535 PyObject * obj1 = 0 ;
994141e6 21536 PyObject * obj2 = 0 ;
d14a1e28
RD
21537 char *kwnames[] = {
21538 (char *) "self",(char *) "imageList",(char *) "which", NULL
21539 };
21540
994141e6 21541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21544 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21546 arg3 = (int) SWIG_AsInt(obj2);
21547 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21548 {
21549 PyThreadState* __tstate = wxPyBeginAllowThreads();
21550 (arg1)->SetImageList(arg2,arg3);
21551
21552 wxPyEndAllowThreads(__tstate);
21553 if (PyErr_Occurred()) SWIG_fail;
21554 }
21555 Py_INCREF(Py_None); resultobj = Py_None;
21556 return resultobj;
21557 fail:
21558 return NULL;
21559}
21560
21561
21562static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21563 PyObject *resultobj;
21564 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21565 wxImageList *arg2 = (wxImageList *) 0 ;
21566 int arg3 ;
21567 PyObject * obj0 = 0 ;
21568 PyObject * obj1 = 0 ;
994141e6 21569 PyObject * obj2 = 0 ;
d14a1e28
RD
21570 char *kwnames[] = {
21571 (char *) "self",(char *) "imageList",(char *) "which", NULL
21572 };
21573
994141e6 21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",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 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
21578 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
21579 arg3 = (int) SWIG_AsInt(obj2);
21580 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21581 {
21582 PyThreadState* __tstate = wxPyBeginAllowThreads();
21583 (arg1)->AssignImageList(arg2,arg3);
21584
21585 wxPyEndAllowThreads(__tstate);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 }
21588 Py_INCREF(Py_None); resultobj = Py_None;
21589 return resultobj;
21590 fail:
21591 return NULL;
21592}
21593
21594
4276dc52
RD
21595static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
21596 PyObject *resultobj;
21597 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21598 bool result;
21599 PyObject * obj0 = 0 ;
21600 char *kwnames[] = {
21601 (char *) "self", NULL
21602 };
21603
21604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
21605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21607 {
21608 PyThreadState* __tstate = wxPyBeginAllowThreads();
21609 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
21610
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
4f89f6a3
RD
21614 {
21615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21616 }
4276dc52
RD
21617 return resultobj;
21618 fail:
21619 return NULL;
21620}
21621
21622
d14a1e28
RD
21623static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21624 PyObject *resultobj;
21625 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21626 bool result;
21627 PyObject * obj0 = 0 ;
21628 char *kwnames[] = {
21629 (char *) "self", NULL
21630 };
21631
21632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
15afbcd0
RD
21633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21635 {
21636 PyThreadState* __tstate = wxPyBeginAllowThreads();
21637 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21638
21639 wxPyEndAllowThreads(__tstate);
21640 if (PyErr_Occurred()) SWIG_fail;
21641 }
4f89f6a3
RD
21642 {
21643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21644 }
d14a1e28
RD
21645 return resultobj;
21646 fail:
21647 return NULL;
21648}
21649
21650
21651static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21652 PyObject *resultobj;
21653 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21654 long arg2 ;
21655 PyObject * obj0 = 0 ;
994141e6 21656 PyObject * obj1 = 0 ;
d14a1e28
RD
21657 char *kwnames[] = {
21658 (char *) "self",(char *) "item", NULL
21659 };
21660
994141e6 21661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21664 arg2 = (long) SWIG_AsLong(obj1);
21665 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21666 {
21667 PyThreadState* __tstate = wxPyBeginAllowThreads();
21668 (arg1)->RefreshItem(arg2);
21669
21670 wxPyEndAllowThreads(__tstate);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 }
21673 Py_INCREF(Py_None); resultobj = Py_None;
21674 return resultobj;
21675 fail:
21676 return NULL;
21677}
21678
21679
21680static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21681 PyObject *resultobj;
21682 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21683 long arg2 ;
21684 long arg3 ;
21685 PyObject * obj0 = 0 ;
994141e6
RD
21686 PyObject * obj1 = 0 ;
21687 PyObject * obj2 = 0 ;
d14a1e28
RD
21688 char *kwnames[] = {
21689 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21690 };
21691
994141e6 21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21695 arg2 = (long) SWIG_AsLong(obj1);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 arg3 = (long) SWIG_AsLong(obj2);
21698 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21699 {
21700 PyThreadState* __tstate = wxPyBeginAllowThreads();
21701 (arg1)->RefreshItems(arg2,arg3);
21702
21703 wxPyEndAllowThreads(__tstate);
21704 if (PyErr_Occurred()) SWIG_fail;
21705 }
21706 Py_INCREF(Py_None); resultobj = Py_None;
21707 return resultobj;
21708 fail:
21709 return NULL;
21710}
21711
21712
21713static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj;
21715 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21716 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21717 bool result;
21718 PyObject * obj0 = 0 ;
994141e6 21719 PyObject * obj1 = 0 ;
d14a1e28
RD
21720 char *kwnames[] = {
21721 (char *) "self",(char *) "flag", NULL
21722 };
21723
994141e6 21724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 21727 if (obj1) {
15afbcd0
RD
21728 arg2 = (int) SWIG_AsInt(obj1);
21729 if (PyErr_Occurred()) SWIG_fail;
994141e6 21730 }
d14a1e28
RD
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 result = (bool)(arg1)->Arrange(arg2);
21734
21735 wxPyEndAllowThreads(__tstate);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
4f89f6a3
RD
21738 {
21739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21740 }
d14a1e28
RD
21741 return resultobj;
21742 fail:
21743 return NULL;
21744}
21745
21746
21747static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21748 PyObject *resultobj;
21749 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21750 long arg2 ;
21751 bool result;
21752 PyObject * obj0 = 0 ;
994141e6 21753 PyObject * obj1 = 0 ;
d14a1e28
RD
21754 char *kwnames[] = {
21755 (char *) "self",(char *) "item", NULL
21756 };
21757
994141e6 21758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21761 arg2 = (long) SWIG_AsLong(obj1);
21762 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21763 {
21764 PyThreadState* __tstate = wxPyBeginAllowThreads();
21765 result = (bool)(arg1)->DeleteItem(arg2);
21766
21767 wxPyEndAllowThreads(__tstate);
21768 if (PyErr_Occurred()) SWIG_fail;
21769 }
4f89f6a3
RD
21770 {
21771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21772 }
d14a1e28
RD
21773 return resultobj;
21774 fail:
21775 return NULL;
21776}
21777
21778
21779static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21780 PyObject *resultobj;
21781 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21782 bool result;
21783 PyObject * obj0 = 0 ;
21784 char *kwnames[] = {
21785 (char *) "self", NULL
21786 };
21787
21788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
21789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21791 {
21792 PyThreadState* __tstate = wxPyBeginAllowThreads();
21793 result = (bool)(arg1)->DeleteAllItems();
21794
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
4f89f6a3
RD
21798 {
21799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21800 }
d14a1e28
RD
21801 return resultobj;
21802 fail:
21803 return NULL;
21804}
21805
21806
21807static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21808 PyObject *resultobj;
21809 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21810 int arg2 ;
21811 bool result;
21812 PyObject * obj0 = 0 ;
994141e6 21813 PyObject * obj1 = 0 ;
d14a1e28
RD
21814 char *kwnames[] = {
21815 (char *) "self",(char *) "col", NULL
21816 };
21817
994141e6 21818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21821 arg2 = (int) SWIG_AsInt(obj1);
21822 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21823 {
21824 PyThreadState* __tstate = wxPyBeginAllowThreads();
21825 result = (bool)(arg1)->DeleteColumn(arg2);
21826
21827 wxPyEndAllowThreads(__tstate);
21828 if (PyErr_Occurred()) SWIG_fail;
21829 }
4f89f6a3
RD
21830 {
21831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21832 }
d14a1e28
RD
21833 return resultobj;
21834 fail:
21835 return NULL;
21836}
21837
21838
21839static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21840 PyObject *resultobj;
21841 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21842 bool result;
21843 PyObject * obj0 = 0 ;
21844 char *kwnames[] = {
21845 (char *) "self", NULL
21846 };
21847
21848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
15afbcd0
RD
21849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21851 {
21852 PyThreadState* __tstate = wxPyBeginAllowThreads();
21853 result = (bool)(arg1)->DeleteAllColumns();
21854
21855 wxPyEndAllowThreads(__tstate);
21856 if (PyErr_Occurred()) SWIG_fail;
21857 }
4f89f6a3
RD
21858 {
21859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21860 }
d14a1e28
RD
21861 return resultobj;
21862 fail:
21863 return NULL;
21864}
21865
21866
21867static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21868 PyObject *resultobj;
21869 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21870 PyObject * obj0 = 0 ;
21871 char *kwnames[] = {
21872 (char *) "self", NULL
21873 };
21874
21875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
21876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21878 {
21879 PyThreadState* __tstate = wxPyBeginAllowThreads();
21880 (arg1)->ClearAll();
21881
21882 wxPyEndAllowThreads(__tstate);
21883 if (PyErr_Occurred()) SWIG_fail;
21884 }
21885 Py_INCREF(Py_None); resultobj = Py_None;
21886 return resultobj;
21887 fail:
21888 return NULL;
21889}
21890
21891
21892static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21893 PyObject *resultobj;
21894 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21895 long arg2 ;
21896 PyObject * obj0 = 0 ;
994141e6 21897 PyObject * obj1 = 0 ;
d14a1e28
RD
21898 char *kwnames[] = {
21899 (char *) "self",(char *) "item", NULL
21900 };
21901
994141e6 21902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21905 arg2 = (long) SWIG_AsLong(obj1);
21906 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21907 {
21908 PyThreadState* __tstate = wxPyBeginAllowThreads();
21909 (arg1)->EditLabel(arg2);
21910
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 Py_INCREF(Py_None); resultobj = Py_None;
21915 return resultobj;
21916 fail:
21917 return NULL;
21918}
21919
21920
21921static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21922 PyObject *resultobj;
21923 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21924 long arg2 ;
21925 bool result;
21926 PyObject * obj0 = 0 ;
994141e6 21927 PyObject * obj1 = 0 ;
d14a1e28
RD
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "item", NULL
21930 };
21931
994141e6 21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21935 arg2 = (long) SWIG_AsLong(obj1);
21936 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21937 {
21938 PyThreadState* __tstate = wxPyBeginAllowThreads();
21939 result = (bool)(arg1)->EnsureVisible(arg2);
21940
21941 wxPyEndAllowThreads(__tstate);
21942 if (PyErr_Occurred()) SWIG_fail;
21943 }
4f89f6a3
RD
21944 {
21945 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21946 }
d14a1e28
RD
21947 return resultobj;
21948 fail:
21949 return NULL;
21950}
21951
21952
21953static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21954 PyObject *resultobj;
21955 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21956 long arg2 ;
21957 wxString *arg3 = 0 ;
e811c8ce 21958 bool arg4 = (bool) False ;
d14a1e28 21959 long result;
e811c8ce 21960 bool temp3 = False ;
d14a1e28 21961 PyObject * obj0 = 0 ;
994141e6 21962 PyObject * obj1 = 0 ;
d14a1e28
RD
21963 PyObject * obj2 = 0 ;
21964 PyObject * obj3 = 0 ;
21965 char *kwnames[] = {
21966 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21967 };
21968
994141e6 21969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21972 arg2 = (long) SWIG_AsLong(obj1);
21973 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21974 {
21975 arg3 = wxString_in_helper(obj2);
21976 if (arg3 == NULL) SWIG_fail;
e811c8ce 21977 temp3 = True;
d14a1e28
RD
21978 }
21979 if (obj3) {
15afbcd0
RD
21980 arg4 = (bool) SWIG_AsBool(obj3);
21981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21982 }
21983 {
21984 PyThreadState* __tstate = wxPyBeginAllowThreads();
21985 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21986
21987 wxPyEndAllowThreads(__tstate);
21988 if (PyErr_Occurred()) SWIG_fail;
21989 }
15afbcd0 21990 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
21991 {
21992 if (temp3)
21993 delete arg3;
21994 }
21995 return resultobj;
21996 fail:
21997 {
21998 if (temp3)
21999 delete arg3;
22000 }
22001 return NULL;
22002}
22003
22004
22005static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22006 PyObject *resultobj;
22007 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22008 long arg2 ;
22009 long arg3 ;
22010 long result;
22011 PyObject * obj0 = 0 ;
994141e6
RD
22012 PyObject * obj1 = 0 ;
22013 PyObject * obj2 = 0 ;
d14a1e28
RD
22014 char *kwnames[] = {
22015 (char *) "self",(char *) "start",(char *) "data", NULL
22016 };
22017
994141e6 22018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22021 arg2 = (long) SWIG_AsLong(obj1);
22022 if (PyErr_Occurred()) SWIG_fail;
22023 arg3 = (long) SWIG_AsLong(obj2);
22024 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22025 {
22026 PyThreadState* __tstate = wxPyBeginAllowThreads();
22027 result = (long)(arg1)->FindItem(arg2,arg3);
22028
22029 wxPyEndAllowThreads(__tstate);
22030 if (PyErr_Occurred()) SWIG_fail;
22031 }
15afbcd0 22032 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22033 return resultobj;
22034 fail:
22035 return NULL;
22036}
22037
22038
22039static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
22040 PyObject *resultobj;
22041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22042 long arg2 ;
22043 wxPoint *arg3 = 0 ;
22044 int arg4 ;
22045 long result;
22046 wxPoint temp3 ;
22047 PyObject * obj0 = 0 ;
994141e6 22048 PyObject * obj1 = 0 ;
d14a1e28 22049 PyObject * obj2 = 0 ;
994141e6 22050 PyObject * obj3 = 0 ;
d14a1e28
RD
22051 char *kwnames[] = {
22052 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22053 };
22054
994141e6 22055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22058 arg2 = (long) SWIG_AsLong(obj1);
22059 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22060 {
22061 arg3 = &temp3;
22062 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22063 }
15afbcd0
RD
22064 arg4 = (int) SWIG_AsInt(obj3);
22065 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22066 {
22067 PyThreadState* __tstate = wxPyBeginAllowThreads();
22068 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
22069
22070 wxPyEndAllowThreads(__tstate);
22071 if (PyErr_Occurred()) SWIG_fail;
22072 }
15afbcd0 22073 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22074 return resultobj;
22075 fail:
22076 return NULL;
22077}
22078
22079
22080static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22081 PyObject *resultobj;
22082 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22083 wxPoint *arg2 = 0 ;
22084 int *arg3 = 0 ;
22085 long result;
22086 wxPoint temp2 ;
22087 int temp3 ;
22088 PyObject * obj0 = 0 ;
22089 PyObject * obj1 = 0 ;
22090 char *kwnames[] = {
22091 (char *) "self",(char *) "point", NULL
22092 };
22093
22094 arg3 = &temp3;
22095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22098 {
22099 arg2 = &temp2;
22100 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22101 }
22102 {
22103 PyThreadState* __tstate = wxPyBeginAllowThreads();
22104 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22105
22106 wxPyEndAllowThreads(__tstate);
22107 if (PyErr_Occurred()) SWIG_fail;
22108 }
15afbcd0 22109 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22110 {
22111 PyObject *o = PyInt_FromLong((long) (*arg3));
22112 resultobj = t_output_helper(resultobj,o);
22113 }
22114 return resultobj;
22115 fail:
22116 return NULL;
22117}
22118
22119
22120static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22121 PyObject *resultobj;
22122 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22123 wxListItem *arg2 = 0 ;
22124 long result;
22125 PyObject * obj0 = 0 ;
22126 PyObject * obj1 = 0 ;
22127 char *kwnames[] = {
22128 (char *) "self",(char *) "info", NULL
22129 };
22130
22131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
22135 SWIG_POINTER_EXCEPTION | 0)) == -1)
22136 SWIG_fail;
d14a1e28 22137 if (arg2 == NULL) {
15afbcd0
RD
22138 PyErr_SetString(PyExc_TypeError,"null reference");
22139 SWIG_fail;
d14a1e28
RD
22140 }
22141 {
22142 PyThreadState* __tstate = wxPyBeginAllowThreads();
22143 result = (long)(arg1)->InsertItem(*arg2);
22144
22145 wxPyEndAllowThreads(__tstate);
22146 if (PyErr_Occurred()) SWIG_fail;
22147 }
15afbcd0 22148 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22149 return resultobj;
22150 fail:
22151 return NULL;
22152}
22153
22154
22155static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22156 PyObject *resultobj;
22157 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22158 long arg2 ;
22159 wxString *arg3 = 0 ;
22160 long result;
e811c8ce 22161 bool temp3 = False ;
d14a1e28 22162 PyObject * obj0 = 0 ;
994141e6 22163 PyObject * obj1 = 0 ;
d14a1e28
RD
22164 PyObject * obj2 = 0 ;
22165 char *kwnames[] = {
22166 (char *) "self",(char *) "index",(char *) "label", NULL
22167 };
22168
994141e6 22169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22172 arg2 = (long) SWIG_AsLong(obj1);
22173 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22174 {
22175 arg3 = wxString_in_helper(obj2);
22176 if (arg3 == NULL) SWIG_fail;
e811c8ce 22177 temp3 = True;
d14a1e28
RD
22178 }
22179 {
22180 PyThreadState* __tstate = wxPyBeginAllowThreads();
22181 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
22182
22183 wxPyEndAllowThreads(__tstate);
22184 if (PyErr_Occurred()) SWIG_fail;
22185 }
15afbcd0 22186 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22187 {
22188 if (temp3)
22189 delete arg3;
22190 }
22191 return resultobj;
22192 fail:
22193 {
22194 if (temp3)
22195 delete arg3;
22196 }
22197 return NULL;
22198}
22199
22200
22201static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj;
22203 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22204 long arg2 ;
22205 int arg3 ;
22206 long result;
22207 PyObject * obj0 = 0 ;
994141e6
RD
22208 PyObject * obj1 = 0 ;
22209 PyObject * obj2 = 0 ;
d14a1e28
RD
22210 char *kwnames[] = {
22211 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
22212 };
22213
994141e6 22214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22217 arg2 = (long) SWIG_AsLong(obj1);
22218 if (PyErr_Occurred()) SWIG_fail;
22219 arg3 = (int) SWIG_AsInt(obj2);
22220 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22221 {
22222 PyThreadState* __tstate = wxPyBeginAllowThreads();
22223 result = (long)(arg1)->InsertItem(arg2,arg3);
22224
22225 wxPyEndAllowThreads(__tstate);
22226 if (PyErr_Occurred()) SWIG_fail;
22227 }
15afbcd0 22228 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22229 return resultobj;
22230 fail:
22231 return NULL;
22232}
22233
22234
22235static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22236 PyObject *resultobj;
22237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22238 long arg2 ;
22239 wxString *arg3 = 0 ;
22240 int arg4 ;
22241 long result;
e811c8ce 22242 bool temp3 = False ;
d14a1e28 22243 PyObject * obj0 = 0 ;
994141e6 22244 PyObject * obj1 = 0 ;
d14a1e28 22245 PyObject * obj2 = 0 ;
994141e6 22246 PyObject * obj3 = 0 ;
d14a1e28
RD
22247 char *kwnames[] = {
22248 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
22249 };
22250
994141e6 22251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22254 arg2 = (long) SWIG_AsLong(obj1);
22255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22256 {
22257 arg3 = wxString_in_helper(obj2);
22258 if (arg3 == NULL) SWIG_fail;
e811c8ce 22259 temp3 = True;
d14a1e28 22260 }
15afbcd0
RD
22261 arg4 = (int) SWIG_AsInt(obj3);
22262 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22263 {
22264 PyThreadState* __tstate = wxPyBeginAllowThreads();
22265 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
22266
22267 wxPyEndAllowThreads(__tstate);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
15afbcd0 22270 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22271 {
22272 if (temp3)
22273 delete arg3;
22274 }
22275 return resultobj;
22276 fail:
22277 {
22278 if (temp3)
22279 delete arg3;
22280 }
22281 return NULL;
22282}
22283
22284
22285static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22286 PyObject *resultobj;
22287 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22288 long arg2 ;
22289 wxListItem *arg3 = 0 ;
22290 long result;
22291 PyObject * obj0 = 0 ;
994141e6 22292 PyObject * obj1 = 0 ;
d14a1e28
RD
22293 PyObject * obj2 = 0 ;
22294 char *kwnames[] = {
22295 (char *) "self",(char *) "col",(char *) "info", NULL
22296 };
22297
994141e6 22298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22301 arg2 = (long) SWIG_AsLong(obj1);
22302 if (PyErr_Occurred()) SWIG_fail;
22303 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
22304 SWIG_POINTER_EXCEPTION | 0)) == -1)
22305 SWIG_fail;
d14a1e28 22306 if (arg3 == NULL) {
15afbcd0
RD
22307 PyErr_SetString(PyExc_TypeError,"null reference");
22308 SWIG_fail;
d14a1e28
RD
22309 }
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
15afbcd0 22317 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22318 return resultobj;
22319 fail:
22320 return NULL;
22321}
22322
22323
22324static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22325 PyObject *resultobj;
22326 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22327 long arg2 ;
22328 wxString *arg3 = 0 ;
22329 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22330 int arg5 = (int) -1 ;
22331 long result;
e811c8ce 22332 bool temp3 = False ;
d14a1e28 22333 PyObject * obj0 = 0 ;
994141e6 22334 PyObject * obj1 = 0 ;
d14a1e28 22335 PyObject * obj2 = 0 ;
994141e6
RD
22336 PyObject * obj3 = 0 ;
22337 PyObject * obj4 = 0 ;
d14a1e28
RD
22338 char *kwnames[] = {
22339 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22340 };
22341
994141e6 22342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
22343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22345 arg2 = (long) SWIG_AsLong(obj1);
22346 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22347 {
22348 arg3 = wxString_in_helper(obj2);
22349 if (arg3 == NULL) SWIG_fail;
e811c8ce 22350 temp3 = True;
d14a1e28 22351 }
994141e6 22352 if (obj3) {
15afbcd0
RD
22353 arg4 = (int) SWIG_AsInt(obj3);
22354 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22355 }
22356 if (obj4) {
15afbcd0
RD
22357 arg5 = (int) SWIG_AsInt(obj4);
22358 if (PyErr_Occurred()) SWIG_fail;
994141e6 22359 }
d14a1e28
RD
22360 {
22361 PyThreadState* __tstate = wxPyBeginAllowThreads();
22362 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22363
22364 wxPyEndAllowThreads(__tstate);
22365 if (PyErr_Occurred()) SWIG_fail;
22366 }
15afbcd0 22367 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22368 {
22369 if (temp3)
22370 delete arg3;
22371 }
22372 return resultobj;
22373 fail:
22374 {
22375 if (temp3)
22376 delete arg3;
22377 }
22378 return NULL;
22379}
22380
22381
22382static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22383 PyObject *resultobj;
22384 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22385 long arg2 ;
22386 PyObject * obj0 = 0 ;
994141e6 22387 PyObject * obj1 = 0 ;
d14a1e28
RD
22388 char *kwnames[] = {
22389 (char *) "self",(char *) "count", NULL
22390 };
22391
994141e6 22392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22395 arg2 = (long) SWIG_AsLong(obj1);
22396 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22397 {
22398 PyThreadState* __tstate = wxPyBeginAllowThreads();
22399 (arg1)->SetItemCount(arg2);
22400
22401 wxPyEndAllowThreads(__tstate);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
22404 Py_INCREF(Py_None); resultobj = Py_None;
22405 return resultobj;
22406 fail:
22407 return NULL;
22408}
22409
22410
22411static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22412 PyObject *resultobj;
22413 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22414 int arg2 ;
22415 int arg3 ;
22416 bool result;
22417 PyObject * obj0 = 0 ;
994141e6
RD
22418 PyObject * obj1 = 0 ;
22419 PyObject * obj2 = 0 ;
d14a1e28
RD
22420 char *kwnames[] = {
22421 (char *) "self",(char *) "dx",(char *) "dy", NULL
22422 };
22423
994141e6 22424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22427 arg2 = (int) SWIG_AsInt(obj1);
22428 if (PyErr_Occurred()) SWIG_fail;
22429 arg3 = (int) SWIG_AsInt(obj2);
22430 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22431 {
22432 PyThreadState* __tstate = wxPyBeginAllowThreads();
22433 result = (bool)(arg1)->ScrollList(arg2,arg3);
22434
22435 wxPyEndAllowThreads(__tstate);
22436 if (PyErr_Occurred()) SWIG_fail;
22437 }
4f89f6a3
RD
22438 {
22439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22440 }
d14a1e28
RD
22441 return resultobj;
22442 fail:
22443 return NULL;
22444}
22445
22446
22447static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22448 PyObject *resultobj;
22449 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22450 long arg2 ;
22451 wxColour *arg3 = 0 ;
22452 wxColour temp3 ;
22453 PyObject * obj0 = 0 ;
994141e6 22454 PyObject * obj1 = 0 ;
d14a1e28
RD
22455 PyObject * obj2 = 0 ;
22456 char *kwnames[] = {
22457 (char *) "self",(char *) "item",(char *) "col", NULL
22458 };
22459
994141e6 22460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22463 arg2 = (long) SWIG_AsLong(obj1);
22464 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22465 {
22466 arg3 = &temp3;
22467 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22468 }
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22472
22473 wxPyEndAllowThreads(__tstate);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 Py_INCREF(Py_None); resultobj = Py_None;
22477 return resultobj;
22478 fail:
22479 return NULL;
22480}
22481
22482
22483static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22484 PyObject *resultobj;
22485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22486 long arg2 ;
22487 wxColour result;
22488 PyObject * obj0 = 0 ;
994141e6 22489 PyObject * obj1 = 0 ;
d14a1e28
RD
22490 char *kwnames[] = {
22491 (char *) "self",(char *) "item", NULL
22492 };
22493
994141e6 22494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22497 arg2 = (long) SWIG_AsLong(obj1);
22498 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22499 {
22500 PyThreadState* __tstate = wxPyBeginAllowThreads();
22501 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22502
22503 wxPyEndAllowThreads(__tstate);
22504 if (PyErr_Occurred()) SWIG_fail;
22505 }
22506 {
22507 wxColour * resultptr;
22508 resultptr = new wxColour((wxColour &) result);
15afbcd0 22509 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22510 }
22511 return resultobj;
22512 fail:
22513 return NULL;
22514}
22515
22516
22517static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22518 PyObject *resultobj;
22519 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22520 long arg2 ;
22521 wxColour *arg3 = 0 ;
22522 wxColour temp3 ;
22523 PyObject * obj0 = 0 ;
994141e6 22524 PyObject * obj1 = 0 ;
d14a1e28
RD
22525 PyObject * obj2 = 0 ;
22526 char *kwnames[] = {
22527 (char *) "self",(char *) "item",(char *) "col", NULL
22528 };
22529
994141e6 22530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22533 arg2 = (long) SWIG_AsLong(obj1);
22534 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22535 {
22536 arg3 = &temp3;
22537 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22538 }
22539 {
22540 PyThreadState* __tstate = wxPyBeginAllowThreads();
22541 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22542
22543 wxPyEndAllowThreads(__tstate);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 }
22546 Py_INCREF(Py_None); resultobj = Py_None;
22547 return resultobj;
22548 fail:
22549 return NULL;
22550}
22551
22552
22553static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22554 PyObject *resultobj;
22555 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22556 long arg2 ;
22557 wxColour result;
22558 PyObject * obj0 = 0 ;
994141e6 22559 PyObject * obj1 = 0 ;
d14a1e28
RD
22560 char *kwnames[] = {
22561 (char *) "self",(char *) "item", NULL
22562 };
22563
994141e6 22564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22567 arg2 = (long) SWIG_AsLong(obj1);
22568 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 {
22577 wxColour * resultptr;
22578 resultptr = new wxColour((wxColour &) result);
15afbcd0 22579 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
22580 }
22581 return resultobj;
22582 fail:
22583 return NULL;
22584}
22585
22586
22587static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22588 PyObject *resultobj;
22589 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22590 PyObject *arg2 = (PyObject *) 0 ;
22591 bool result;
22592 PyObject * obj0 = 0 ;
22593 PyObject * obj1 = 0 ;
22594 char *kwnames[] = {
22595 (char *) "self",(char *) "func", NULL
22596 };
22597
22598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22601 arg2 = obj1;
22602 {
22603 PyThreadState* __tstate = wxPyBeginAllowThreads();
22604 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22605
22606 wxPyEndAllowThreads(__tstate);
22607 if (PyErr_Occurred()) SWIG_fail;
22608 }
4f89f6a3
RD
22609 {
22610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22611 }
d14a1e28
RD
22612 return resultobj;
22613 fail:
22614 return NULL;
22615}
22616
22617
22618static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22619 PyObject *resultobj;
22620 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22621 wxWindow *result;
22622 PyObject * obj0 = 0 ;
22623 char *kwnames[] = {
22624 (char *) "self", NULL
22625 };
22626
22627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
22628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22630 {
22631 PyThreadState* __tstate = wxPyBeginAllowThreads();
22632 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22633
22634 wxPyEndAllowThreads(__tstate);
22635 if (PyErr_Occurred()) SWIG_fail;
22636 }
22637 {
22638 resultobj = wxPyMake_wxObject(result);
22639 }
22640 return resultobj;
22641 fail:
22642 return NULL;
22643}
22644
22645
74a57fcd
RD
22646static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
22647 PyObject *resultobj;
22648 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
22649 wxVisualAttributes result;
22650 PyObject * obj0 = 0 ;
22651 char *kwnames[] = {
22652 (char *) "variant", NULL
22653 };
22654
22655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
22656 if (obj0) {
22657 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
22658 if (PyErr_Occurred()) SWIG_fail;
22659 }
22660 {
22661 PyThreadState* __tstate = wxPyBeginAllowThreads();
22662 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
22663
22664 wxPyEndAllowThreads(__tstate);
22665 if (PyErr_Occurred()) SWIG_fail;
22666 }
22667 {
22668 wxVisualAttributes * resultptr;
22669 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
22670 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
22671 }
22672 return resultobj;
22673 fail:
22674 return NULL;
22675}
22676
22677
d14a1e28
RD
22678static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22679 PyObject *obj;
22680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22681 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22682 Py_INCREF(obj);
22683 return Py_BuildValue((char *)"");
22684}
22685static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22686 PyObject *resultobj;
22687 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22688 int arg2 = (int) -1 ;
d14a1e28
RD
22689 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22690 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22691 wxSize const &arg4_defvalue = wxDefaultSize ;
22692 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22693 long arg5 = (long) wxLC_REPORT ;
22694 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22695 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22696 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22697 wxString *arg7 = (wxString *) &arg7_defvalue ;
22698 wxListView *result;
22699 wxPoint temp3 ;
22700 wxSize temp4 ;
e811c8ce 22701 bool temp7 = False ;
d14a1e28 22702 PyObject * obj0 = 0 ;
994141e6 22703 PyObject * obj1 = 0 ;
d14a1e28
RD
22704 PyObject * obj2 = 0 ;
22705 PyObject * obj3 = 0 ;
994141e6 22706 PyObject * obj4 = 0 ;
d14a1e28
RD
22707 PyObject * obj5 = 0 ;
22708 PyObject * obj6 = 0 ;
22709 char *kwnames[] = {
22710 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22711 };
22712
994141e6 22713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
22714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22716 if (obj1) {
15afbcd0
RD
22717 arg2 = (int) SWIG_AsInt(obj1);
22718 if (PyErr_Occurred()) SWIG_fail;
994141e6 22719 }
d14a1e28
RD
22720 if (obj2) {
22721 {
22722 arg3 = &temp3;
22723 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22724 }
22725 }
22726 if (obj3) {
22727 {
22728 arg4 = &temp4;
22729 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22730 }
22731 }
994141e6 22732 if (obj4) {
15afbcd0
RD
22733 arg5 = (long) SWIG_AsLong(obj4);
22734 if (PyErr_Occurred()) SWIG_fail;
994141e6 22735 }
d14a1e28 22736 if (obj5) {
15afbcd0
RD
22737 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
22738 SWIG_POINTER_EXCEPTION | 0)) == -1)
22739 SWIG_fail;
d14a1e28 22740 if (arg6 == NULL) {
15afbcd0
RD
22741 PyErr_SetString(PyExc_TypeError,"null reference");
22742 SWIG_fail;
d14a1e28
RD
22743 }
22744 }
22745 if (obj6) {
22746 {
22747 arg7 = wxString_in_helper(obj6);
22748 if (arg7 == NULL) SWIG_fail;
e811c8ce 22749 temp7 = True;
d14a1e28
RD
22750 }
22751 }
22752 {
22753 PyThreadState* __tstate = wxPyBeginAllowThreads();
22754 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22755
22756 wxPyEndAllowThreads(__tstate);
22757 if (PyErr_Occurred()) SWIG_fail;
22758 }
15afbcd0 22759 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
22760 {
22761 if (temp7)
22762 delete arg7;
22763 }
22764 return resultobj;
22765 fail:
22766 {
22767 if (temp7)
22768 delete arg7;
22769 }
22770 return NULL;
22771}
22772
22773
22774static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22775 PyObject *resultobj;
22776 wxListView *result;
22777 char *kwnames[] = {
22778 NULL
22779 };
22780
22781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22782 {
22783 PyThreadState* __tstate = wxPyBeginAllowThreads();
22784 result = (wxListView *)new wxListView();
22785
22786 wxPyEndAllowThreads(__tstate);
22787 if (PyErr_Occurred()) SWIG_fail;
22788 }
15afbcd0 22789 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
d14a1e28
RD
22790 return resultobj;
22791 fail:
22792 return NULL;
22793}
22794
22795
22796static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22797 PyObject *resultobj;
22798 wxListView *arg1 = (wxListView *) 0 ;
22799 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 22800 int arg3 = (int) -1 ;
d14a1e28
RD
22801 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22802 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22803 wxSize const &arg5_defvalue = wxDefaultSize ;
22804 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22805 long arg6 = (long) wxLC_REPORT ;
22806 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22807 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22808 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22809 wxString *arg8 = (wxString *) &arg8_defvalue ;
22810 bool result;
22811 wxPoint temp4 ;
22812 wxSize temp5 ;
e811c8ce 22813 bool temp8 = False ;
d14a1e28
RD
22814 PyObject * obj0 = 0 ;
22815 PyObject * obj1 = 0 ;
994141e6 22816 PyObject * obj2 = 0 ;
d14a1e28
RD
22817 PyObject * obj3 = 0 ;
22818 PyObject * obj4 = 0 ;
994141e6 22819 PyObject * obj5 = 0 ;
d14a1e28
RD
22820 PyObject * obj6 = 0 ;
22821 PyObject * obj7 = 0 ;
22822 char *kwnames[] = {
22823 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22824 };
22825
994141e6 22826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
22827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22829 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22831 if (obj2) {
15afbcd0
RD
22832 arg3 = (int) SWIG_AsInt(obj2);
22833 if (PyErr_Occurred()) SWIG_fail;
994141e6 22834 }
d14a1e28
RD
22835 if (obj3) {
22836 {
22837 arg4 = &temp4;
22838 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22839 }
22840 }
22841 if (obj4) {
22842 {
22843 arg5 = &temp5;
22844 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22845 }
22846 }
994141e6 22847 if (obj5) {
15afbcd0
RD
22848 arg6 = (long) SWIG_AsLong(obj5);
22849 if (PyErr_Occurred()) SWIG_fail;
994141e6 22850 }
d14a1e28 22851 if (obj6) {
15afbcd0
RD
22852 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
22853 SWIG_POINTER_EXCEPTION | 0)) == -1)
22854 SWIG_fail;
d14a1e28 22855 if (arg7 == NULL) {
15afbcd0
RD
22856 PyErr_SetString(PyExc_TypeError,"null reference");
22857 SWIG_fail;
d14a1e28
RD
22858 }
22859 }
22860 if (obj7) {
22861 {
22862 arg8 = wxString_in_helper(obj7);
22863 if (arg8 == NULL) SWIG_fail;
e811c8ce 22864 temp8 = True;
d14a1e28
RD
22865 }
22866 }
22867 {
22868 PyThreadState* __tstate = wxPyBeginAllowThreads();
22869 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22870
22871 wxPyEndAllowThreads(__tstate);
22872 if (PyErr_Occurred()) SWIG_fail;
22873 }
4f89f6a3
RD
22874 {
22875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22876 }
d14a1e28
RD
22877 {
22878 if (temp8)
22879 delete arg8;
22880 }
22881 return resultobj;
22882 fail:
22883 {
22884 if (temp8)
22885 delete arg8;
22886 }
22887 return NULL;
22888}
22889
22890
22891static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22892 PyObject *resultobj;
22893 wxListView *arg1 = (wxListView *) 0 ;
22894 long arg2 ;
e811c8ce 22895 bool arg3 = (bool) True ;
d14a1e28 22896 PyObject * obj0 = 0 ;
994141e6 22897 PyObject * obj1 = 0 ;
d14a1e28
RD
22898 PyObject * obj2 = 0 ;
22899 char *kwnames[] = {
22900 (char *) "self",(char *) "n",(char *) "on", NULL
22901 };
22902
15afbcd0
RD
22903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22906 arg2 = (long) SWIG_AsLong(obj1);
22907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22908 if (obj2) {
15afbcd0
RD
22909 arg3 = (bool) SWIG_AsBool(obj2);
22910 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22911 }
22912 {
22913 PyThreadState* __tstate = wxPyBeginAllowThreads();
22914 (arg1)->Select(arg2,arg3);
22915
22916 wxPyEndAllowThreads(__tstate);
22917 if (PyErr_Occurred()) SWIG_fail;
22918 }
22919 Py_INCREF(Py_None); resultobj = Py_None;
22920 return resultobj;
22921 fail:
22922 return NULL;
22923}
22924
22925
22926static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22927 PyObject *resultobj;
22928 wxListView *arg1 = (wxListView *) 0 ;
22929 long arg2 ;
22930 PyObject * obj0 = 0 ;
994141e6 22931 PyObject * obj1 = 0 ;
d14a1e28
RD
22932 char *kwnames[] = {
22933 (char *) "self",(char *) "index", NULL
22934 };
22935
994141e6 22936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22939 arg2 = (long) SWIG_AsLong(obj1);
22940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22941 {
22942 PyThreadState* __tstate = wxPyBeginAllowThreads();
22943 (arg1)->Focus(arg2);
22944
22945 wxPyEndAllowThreads(__tstate);
22946 if (PyErr_Occurred()) SWIG_fail;
22947 }
22948 Py_INCREF(Py_None); resultobj = Py_None;
22949 return resultobj;
22950 fail:
22951 return NULL;
22952}
22953
22954
22955static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22956 PyObject *resultobj;
22957 wxListView *arg1 = (wxListView *) 0 ;
22958 long result;
22959 PyObject * obj0 = 0 ;
22960 char *kwnames[] = {
22961 (char *) "self", NULL
22962 };
22963
22964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
22965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22967 {
22968 PyThreadState* __tstate = wxPyBeginAllowThreads();
22969 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22970
22971 wxPyEndAllowThreads(__tstate);
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
15afbcd0 22974 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
22975 return resultobj;
22976 fail:
22977 return NULL;
22978}
22979
22980
22981static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22982 PyObject *resultobj;
22983 wxListView *arg1 = (wxListView *) 0 ;
22984 long arg2 ;
22985 long result;
22986 PyObject * obj0 = 0 ;
994141e6 22987 PyObject * obj1 = 0 ;
d14a1e28
RD
22988 char *kwnames[] = {
22989 (char *) "self",(char *) "item", NULL
22990 };
22991
994141e6 22992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
22994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22995 arg2 = (long) SWIG_AsLong(obj1);
22996 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22997 {
22998 PyThreadState* __tstate = wxPyBeginAllowThreads();
22999 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
23000
23001 wxPyEndAllowThreads(__tstate);
23002 if (PyErr_Occurred()) SWIG_fail;
23003 }
15afbcd0 23004 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23005 return resultobj;
23006 fail:
23007 return NULL;
23008}
23009
23010
23011static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23012 PyObject *resultobj;
23013 wxListView *arg1 = (wxListView *) 0 ;
23014 long result;
23015 PyObject * obj0 = 0 ;
23016 char *kwnames[] = {
23017 (char *) "self", NULL
23018 };
23019
23020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
15afbcd0
RD
23021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23023 {
23024 PyThreadState* __tstate = wxPyBeginAllowThreads();
23025 result = (long)((wxListView const *)arg1)->GetFirstSelected();
23026
23027 wxPyEndAllowThreads(__tstate);
23028 if (PyErr_Occurred()) SWIG_fail;
23029 }
15afbcd0 23030 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23031 return resultobj;
23032 fail:
23033 return NULL;
23034}
23035
23036
23037static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23038 PyObject *resultobj;
23039 wxListView *arg1 = (wxListView *) 0 ;
23040 long arg2 ;
23041 bool result;
23042 PyObject * obj0 = 0 ;
994141e6 23043 PyObject * obj1 = 0 ;
d14a1e28
RD
23044 char *kwnames[] = {
23045 (char *) "self",(char *) "index", NULL
23046 };
23047
994141e6 23048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23051 arg2 = (long) SWIG_AsLong(obj1);
23052 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23053 {
23054 PyThreadState* __tstate = wxPyBeginAllowThreads();
23055 result = (bool)(arg1)->IsSelected(arg2);
23056
23057 wxPyEndAllowThreads(__tstate);
23058 if (PyErr_Occurred()) SWIG_fail;
23059 }
4f89f6a3
RD
23060 {
23061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23062 }
d14a1e28
RD
23063 return resultobj;
23064 fail:
23065 return NULL;
23066}
23067
23068
23069static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23070 PyObject *resultobj;
23071 wxListView *arg1 = (wxListView *) 0 ;
23072 int arg2 ;
23073 int arg3 ;
23074 PyObject * obj0 = 0 ;
994141e6
RD
23075 PyObject * obj1 = 0 ;
23076 PyObject * obj2 = 0 ;
d14a1e28
RD
23077 char *kwnames[] = {
23078 (char *) "self",(char *) "col",(char *) "image", NULL
23079 };
23080
994141e6 23081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23084 arg2 = (int) SWIG_AsInt(obj1);
23085 if (PyErr_Occurred()) SWIG_fail;
23086 arg3 = (int) SWIG_AsInt(obj2);
23087 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23088 {
23089 PyThreadState* __tstate = wxPyBeginAllowThreads();
23090 (arg1)->SetColumnImage(arg2,arg3);
23091
23092 wxPyEndAllowThreads(__tstate);
23093 if (PyErr_Occurred()) SWIG_fail;
23094 }
23095 Py_INCREF(Py_None); resultobj = Py_None;
23096 return resultobj;
23097 fail:
23098 return NULL;
23099}
23100
23101
23102static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23103 PyObject *resultobj;
23104 wxListView *arg1 = (wxListView *) 0 ;
23105 int arg2 ;
23106 PyObject * obj0 = 0 ;
994141e6 23107 PyObject * obj1 = 0 ;
d14a1e28
RD
23108 char *kwnames[] = {
23109 (char *) "self",(char *) "col", NULL
23110 };
23111
994141e6 23112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23115 arg2 = (int) SWIG_AsInt(obj1);
23116 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23117 {
23118 PyThreadState* __tstate = wxPyBeginAllowThreads();
23119 (arg1)->ClearColumnImage(arg2);
23120
23121 wxPyEndAllowThreads(__tstate);
23122 if (PyErr_Occurred()) SWIG_fail;
23123 }
23124 Py_INCREF(Py_None); resultobj = Py_None;
23125 return resultobj;
23126 fail:
23127 return NULL;
23128}
23129
23130
23131static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
23132 PyObject *obj;
23133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23134 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
23135 Py_INCREF(obj);
23136 return Py_BuildValue((char *)"");
23137}
b2dc1044
RD
23138static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
23139 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
23140 return 1;
23141}
23142
23143
23144static PyObject *_wrap_TreeCtrlNameStr_get() {
23145 PyObject *pyobj;
23146
23147 {
23148#if wxUSE_UNICODE
23149 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23150#else
23151 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
23152#endif
23153 }
23154 return pyobj;
23155}
23156
23157
d14a1e28
RD
23158static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23159 PyObject *resultobj;
23160 wxTreeItemId *result;
23161 char *kwnames[] = {
23162 NULL
23163 };
23164
23165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
23166 {
23167 PyThreadState* __tstate = wxPyBeginAllowThreads();
23168 result = (wxTreeItemId *)new wxTreeItemId();
23169
23170 wxPyEndAllowThreads(__tstate);
23171 if (PyErr_Occurred()) SWIG_fail;
23172 }
15afbcd0 23173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
23174 return resultobj;
23175 fail:
23176 return NULL;
23177}
23178
23179
23180static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
23181 PyObject *resultobj;
23182 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23183 PyObject * obj0 = 0 ;
23184 char *kwnames[] = {
23185 (char *) "self", NULL
23186 };
23187
23188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
23189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23191 {
23192 PyThreadState* __tstate = wxPyBeginAllowThreads();
23193 delete arg1;
23194
23195 wxPyEndAllowThreads(__tstate);
23196 if (PyErr_Occurred()) SWIG_fail;
23197 }
23198 Py_INCREF(Py_None); resultobj = Py_None;
23199 return resultobj;
23200 fail:
23201 return NULL;
23202}
23203
23204
23205static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
23206 PyObject *resultobj;
23207 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23208 bool result;
23209 PyObject * obj0 = 0 ;
23210 char *kwnames[] = {
23211 (char *) "self", NULL
23212 };
23213
23214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
15afbcd0
RD
23215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23217 {
23218 PyThreadState* __tstate = wxPyBeginAllowThreads();
23219 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
23220
23221 wxPyEndAllowThreads(__tstate);
23222 if (PyErr_Occurred()) SWIG_fail;
23223 }
4f89f6a3
RD
23224 {
23225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23226 }
d14a1e28
RD
23227 return resultobj;
23228 fail:
23229 return NULL;
23230}
23231
23232
23233static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
23234 PyObject *resultobj;
23235 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23236 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23237 bool result;
23238 PyObject * obj0 = 0 ;
23239 PyObject * obj1 = 0 ;
23240 char *kwnames[] = {
23241 (char *) "self",(char *) "other", NULL
23242 };
23243
23244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23249 {
23250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 23251 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
23252
23253 wxPyEndAllowThreads(__tstate);
23254 if (PyErr_Occurred()) SWIG_fail;
23255 }
4f89f6a3
RD
23256 {
23257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23258 }
d14a1e28
RD
23259 return resultobj;
23260 fail:
23261 return NULL;
23262}
23263
23264
23265static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
23266 PyObject *resultobj;
23267 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23268 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
23269 bool result;
23270 PyObject * obj0 = 0 ;
23271 PyObject * obj1 = 0 ;
23272 char *kwnames[] = {
23273 (char *) "self",(char *) "other", NULL
23274 };
23275
23276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23279 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23281 {
23282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22faec7d 23283 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
d14a1e28
RD
23284
23285 wxPyEndAllowThreads(__tstate);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 }
4f89f6a3
RD
23288 {
23289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23290 }
d14a1e28
RD
23291 return resultobj;
23292 fail:
23293 return NULL;
23294}
23295
23296
23297static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
23298 PyObject *resultobj;
23299 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 23300 void *arg2 = (void *) 0 ;
d14a1e28
RD
23301 PyObject * obj0 = 0 ;
23302 PyObject * obj1 = 0 ;
23303 char *kwnames[] = {
23304 (char *) "self",(char *) "m_pItem", NULL
23305 };
23306
23307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23310 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
23311 if (arg1) (arg1)->m_pItem = arg2;
23312
23313 Py_INCREF(Py_None); resultobj = Py_None;
23314 return resultobj;
23315 fail:
23316 return NULL;
23317}
23318
23319
23320static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
23321 PyObject *resultobj;
23322 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
58203fa6 23323 void *result;
d14a1e28
RD
23324 PyObject * obj0 = 0 ;
23325 char *kwnames[] = {
23326 (char *) "self", NULL
23327 };
23328
23329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
23330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
23331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
58203fa6 23332 result = (void *) ((arg1)->m_pItem);
d14a1e28 23333
15afbcd0 23334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
d14a1e28
RD
23335 return resultobj;
23336 fail:
23337 return NULL;
23338}
23339
23340
23341static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
23342 PyObject *obj;
23343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23344 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23345 Py_INCREF(obj);
23346 return Py_BuildValue((char *)"");
23347}
23348static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23349 PyObject *resultobj;
23350 PyObject *arg1 = (PyObject *) NULL ;
23351 wxPyTreeItemData *result;
23352 PyObject * obj0 = 0 ;
23353 char *kwnames[] = {
23354 (char *) "obj", NULL
23355 };
23356
23357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23358 if (obj0) {
23359 arg1 = obj0;
23360 }
23361 {
23362 PyThreadState* __tstate = wxPyBeginAllowThreads();
23363 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23364
23365 wxPyEndAllowThreads(__tstate);
23366 if (PyErr_Occurred()) SWIG_fail;
23367 }
15afbcd0 23368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
d14a1e28
RD
23369 return resultobj;
23370 fail:
23371 return NULL;
23372}
23373
23374
23375static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23376 PyObject *resultobj;
23377 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23378 PyObject *result;
23379 PyObject * obj0 = 0 ;
23380 char *kwnames[] = {
23381 (char *) "self", NULL
23382 };
23383
23384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
23385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23387 {
23388 PyThreadState* __tstate = wxPyBeginAllowThreads();
23389 result = (PyObject *)(arg1)->GetData();
23390
23391 wxPyEndAllowThreads(__tstate);
23392 if (PyErr_Occurred()) SWIG_fail;
23393 }
23394 resultobj = result;
23395 return resultobj;
23396 fail:
23397 return NULL;
23398}
23399
23400
23401static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23402 PyObject *resultobj;
23403 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23404 PyObject *arg2 = (PyObject *) 0 ;
23405 PyObject * obj0 = 0 ;
23406 PyObject * obj1 = 0 ;
23407 char *kwnames[] = {
23408 (char *) "self",(char *) "obj", NULL
23409 };
23410
23411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23414 arg2 = obj1;
23415 {
23416 PyThreadState* __tstate = wxPyBeginAllowThreads();
23417 (arg1)->SetData(arg2);
23418
23419 wxPyEndAllowThreads(__tstate);
23420 if (PyErr_Occurred()) SWIG_fail;
23421 }
23422 Py_INCREF(Py_None); resultobj = Py_None;
23423 return resultobj;
23424 fail:
23425 return NULL;
23426}
23427
23428
23429static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23430 PyObject *resultobj;
23431 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23432 wxTreeItemId *result;
23433 PyObject * obj0 = 0 ;
23434 char *kwnames[] = {
23435 (char *) "self", NULL
23436 };
23437
23438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
23439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23441 {
23442 PyThreadState* __tstate = wxPyBeginAllowThreads();
23443 {
23444 wxTreeItemId const &_result_ref = (arg1)->GetId();
23445 result = (wxTreeItemId *) &_result_ref;
23446 }
23447
23448 wxPyEndAllowThreads(__tstate);
23449 if (PyErr_Occurred()) SWIG_fail;
23450 }
15afbcd0 23451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
d14a1e28
RD
23452 return resultobj;
23453 fail:
23454 return NULL;
23455}
23456
23457
23458static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23459 PyObject *resultobj;
23460 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23461 wxTreeItemId *arg2 = 0 ;
23462 PyObject * obj0 = 0 ;
23463 PyObject * obj1 = 0 ;
23464 char *kwnames[] = {
23465 (char *) "self",(char *) "id", NULL
23466 };
23467
23468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23472 SWIG_POINTER_EXCEPTION | 0)) == -1)
23473 SWIG_fail;
d14a1e28 23474 if (arg2 == NULL) {
15afbcd0
RD
23475 PyErr_SetString(PyExc_TypeError,"null reference");
23476 SWIG_fail;
d14a1e28
RD
23477 }
23478 {
23479 PyThreadState* __tstate = wxPyBeginAllowThreads();
23480 (arg1)->SetId((wxTreeItemId const &)*arg2);
23481
23482 wxPyEndAllowThreads(__tstate);
23483 if (PyErr_Occurred()) SWIG_fail;
23484 }
23485 Py_INCREF(Py_None); resultobj = Py_None;
23486 return resultobj;
23487 fail:
23488 return NULL;
23489}
23490
23491
23492static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23493 PyObject *resultobj;
23494 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23495 PyObject * obj0 = 0 ;
23496 char *kwnames[] = {
23497 (char *) "self", NULL
23498 };
23499
23500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
23501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
23502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23503 {
23504 PyThreadState* __tstate = wxPyBeginAllowThreads();
23505 wxPyTreeItemData_Destroy(arg1);
23506
23507 wxPyEndAllowThreads(__tstate);
23508 if (PyErr_Occurred()) SWIG_fail;
23509 }
23510 Py_INCREF(Py_None); resultobj = Py_None;
23511 return resultobj;
23512 fail:
23513 return NULL;
23514}
23515
23516
23517static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23518 PyObject *obj;
23519 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23520 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23521 Py_INCREF(obj);
23522 return Py_BuildValue((char *)"");
23523}
23524static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23525 PyObject *resultobj;
23526 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23527 int arg2 = (int) 0 ;
23528 wxTreeEvent *result;
994141e6
RD
23529 PyObject * obj0 = 0 ;
23530 PyObject * obj1 = 0 ;
d14a1e28
RD
23531 char *kwnames[] = {
23532 (char *) "commandType",(char *) "id", NULL
23533 };
23534
994141e6
RD
23535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23536 if (obj0) {
15afbcd0
RD
23537 arg1 = (wxEventType) SWIG_AsInt(obj0);
23538 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23539 }
23540 if (obj1) {
15afbcd0
RD
23541 arg2 = (int) SWIG_AsInt(obj1);
23542 if (PyErr_Occurred()) SWIG_fail;
994141e6 23543 }
d14a1e28
RD
23544 {
23545 PyThreadState* __tstate = wxPyBeginAllowThreads();
23546 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23547
23548 wxPyEndAllowThreads(__tstate);
23549 if (PyErr_Occurred()) SWIG_fail;
23550 }
15afbcd0 23551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
d14a1e28
RD
23552 return resultobj;
23553 fail:
23554 return NULL;
23555}
23556
23557
23558static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23561 wxTreeItemId result;
23562 PyObject * obj0 = 0 ;
23563 char *kwnames[] = {
23564 (char *) "self", NULL
23565 };
23566
23567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
23568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23570 {
23571 PyThreadState* __tstate = wxPyBeginAllowThreads();
23572 result = ((wxTreeEvent const *)arg1)->GetItem();
23573
23574 wxPyEndAllowThreads(__tstate);
23575 if (PyErr_Occurred()) SWIG_fail;
23576 }
23577 {
23578 wxTreeItemId * resultptr;
23579 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 23580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
23581 }
23582 return resultobj;
23583 fail:
23584 return NULL;
23585}
23586
23587
23588static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23589 PyObject *resultobj;
23590 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23591 wxTreeItemId *arg2 = 0 ;
23592 PyObject * obj0 = 0 ;
23593 PyObject * obj1 = 0 ;
23594 char *kwnames[] = {
23595 (char *) "self",(char *) "item", NULL
23596 };
23597
23598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23601 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23602 SWIG_POINTER_EXCEPTION | 0)) == -1)
23603 SWIG_fail;
d14a1e28 23604 if (arg2 == NULL) {
15afbcd0
RD
23605 PyErr_SetString(PyExc_TypeError,"null reference");
23606 SWIG_fail;
d14a1e28
RD
23607 }
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 Py_INCREF(Py_None); resultobj = Py_None;
23616 return resultobj;
23617 fail:
23618 return NULL;
23619}
23620
23621
23622static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23623 PyObject *resultobj;
23624 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23625 wxTreeItemId result;
23626 PyObject * obj0 = 0 ;
23627 char *kwnames[] = {
23628 (char *) "self", NULL
23629 };
23630
23631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
23632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23634 {
23635 PyThreadState* __tstate = wxPyBeginAllowThreads();
23636 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23637
23638 wxPyEndAllowThreads(__tstate);
23639 if (PyErr_Occurred()) SWIG_fail;
23640 }
23641 {
23642 wxTreeItemId * resultptr;
23643 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 23644 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
23645 }
23646 return resultobj;
23647 fail:
23648 return NULL;
23649}
23650
23651
23652static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23653 PyObject *resultobj;
23654 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23655 wxTreeItemId *arg2 = 0 ;
23656 PyObject * obj0 = 0 ;
23657 PyObject * obj1 = 0 ;
23658 char *kwnames[] = {
23659 (char *) "self",(char *) "item", NULL
23660 };
23661
23662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23665 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
23666 SWIG_POINTER_EXCEPTION | 0)) == -1)
23667 SWIG_fail;
d14a1e28 23668 if (arg2 == NULL) {
15afbcd0
RD
23669 PyErr_SetString(PyExc_TypeError,"null reference");
23670 SWIG_fail;
d14a1e28
RD
23671 }
23672 {
23673 PyThreadState* __tstate = wxPyBeginAllowThreads();
23674 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23675
23676 wxPyEndAllowThreads(__tstate);
23677 if (PyErr_Occurred()) SWIG_fail;
23678 }
23679 Py_INCREF(Py_None); resultobj = Py_None;
23680 return resultobj;
23681 fail:
23682 return NULL;
23683}
23684
23685
23686static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23687 PyObject *resultobj;
23688 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23689 wxPoint result;
23690 PyObject * obj0 = 0 ;
23691 char *kwnames[] = {
23692 (char *) "self", NULL
23693 };
23694
23695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
23696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23698 {
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 result = ((wxTreeEvent const *)arg1)->GetPoint();
23701
23702 wxPyEndAllowThreads(__tstate);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 }
23705 {
23706 wxPoint * resultptr;
23707 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 23708 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
23709 }
23710 return resultobj;
23711 fail:
23712 return NULL;
23713}
23714
23715
23716static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23717 PyObject *resultobj;
23718 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23719 wxPoint *arg2 = 0 ;
23720 wxPoint temp2 ;
23721 PyObject * obj0 = 0 ;
23722 PyObject * obj1 = 0 ;
23723 char *kwnames[] = {
23724 (char *) "self",(char *) "pt", NULL
23725 };
23726
23727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23730 {
23731 arg2 = &temp2;
23732 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23733 }
23734 {
23735 PyThreadState* __tstate = wxPyBeginAllowThreads();
23736 (arg1)->SetPoint((wxPoint const &)*arg2);
23737
23738 wxPyEndAllowThreads(__tstate);
23739 if (PyErr_Occurred()) SWIG_fail;
23740 }
23741 Py_INCREF(Py_None); resultobj = Py_None;
23742 return resultobj;
23743 fail:
23744 return NULL;
23745}
23746
23747
23748static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23749 PyObject *resultobj;
23750 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23751 wxKeyEvent *result;
23752 PyObject * obj0 = 0 ;
23753 char *kwnames[] = {
23754 (char *) "self", NULL
23755 };
23756
23757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
23758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23760 {
23761 PyThreadState* __tstate = wxPyBeginAllowThreads();
23762 {
23763 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23764 result = (wxKeyEvent *) &_result_ref;
23765 }
23766
23767 wxPyEndAllowThreads(__tstate);
23768 if (PyErr_Occurred()) SWIG_fail;
23769 }
15afbcd0 23770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
d14a1e28
RD
23771 return resultobj;
23772 fail:
23773 return NULL;
23774}
23775
23776
23777static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23778 PyObject *resultobj;
23779 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23780 int result;
23781 PyObject * obj0 = 0 ;
23782 char *kwnames[] = {
23783 (char *) "self", NULL
23784 };
23785
23786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
23787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23789 {
23790 PyThreadState* __tstate = wxPyBeginAllowThreads();
23791 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23792
23793 wxPyEndAllowThreads(__tstate);
23794 if (PyErr_Occurred()) SWIG_fail;
23795 }
15afbcd0 23796 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23797 return resultobj;
23798 fail:
23799 return NULL;
23800}
23801
23802
23803static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23804 PyObject *resultobj;
23805 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23806 wxKeyEvent *arg2 = 0 ;
23807 PyObject * obj0 = 0 ;
23808 PyObject * obj1 = 0 ;
23809 char *kwnames[] = {
23810 (char *) "self",(char *) "evt", NULL
23811 };
23812
23813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23816 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
23817 SWIG_POINTER_EXCEPTION | 0)) == -1)
23818 SWIG_fail;
d14a1e28 23819 if (arg2 == NULL) {
15afbcd0
RD
23820 PyErr_SetString(PyExc_TypeError,"null reference");
23821 SWIG_fail;
d14a1e28
RD
23822 }
23823 {
23824 PyThreadState* __tstate = wxPyBeginAllowThreads();
23825 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23826
23827 wxPyEndAllowThreads(__tstate);
23828 if (PyErr_Occurred()) SWIG_fail;
23829 }
23830 Py_INCREF(Py_None); resultobj = Py_None;
23831 return resultobj;
23832 fail:
23833 return NULL;
23834}
23835
23836
23837static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23838 PyObject *resultobj;
23839 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23840 wxString *result;
23841 PyObject * obj0 = 0 ;
23842 char *kwnames[] = {
23843 (char *) "self", NULL
23844 };
23845
23846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
23847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23849 {
23850 PyThreadState* __tstate = wxPyBeginAllowThreads();
23851 {
23852 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23853 result = (wxString *) &_result_ref;
23854 }
23855
23856 wxPyEndAllowThreads(__tstate);
23857 if (PyErr_Occurred()) SWIG_fail;
23858 }
cc6dd355
RD
23859 {
23860#if wxUSE_UNICODE
23861 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23862#else
23863 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23864#endif
23865 }
d14a1e28
RD
23866 return resultobj;
23867 fail:
23868 return NULL;
23869}
23870
23871
23872static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23873 PyObject *resultobj;
23874 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23875 wxString *arg2 = 0 ;
e811c8ce 23876 bool temp2 = False ;
d14a1e28
RD
23877 PyObject * obj0 = 0 ;
23878 PyObject * obj1 = 0 ;
23879 char *kwnames[] = {
23880 (char *) "self",(char *) "label", NULL
23881 };
23882
23883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23886 {
23887 arg2 = wxString_in_helper(obj1);
23888 if (arg2 == NULL) SWIG_fail;
e811c8ce 23889 temp2 = True;
d14a1e28
RD
23890 }
23891 {
23892 PyThreadState* __tstate = wxPyBeginAllowThreads();
23893 (arg1)->SetLabel((wxString const &)*arg2);
23894
23895 wxPyEndAllowThreads(__tstate);
23896 if (PyErr_Occurred()) SWIG_fail;
23897 }
23898 Py_INCREF(Py_None); resultobj = Py_None;
23899 {
23900 if (temp2)
23901 delete arg2;
23902 }
23903 return resultobj;
23904 fail:
23905 {
23906 if (temp2)
23907 delete arg2;
23908 }
23909 return NULL;
23910}
23911
23912
23913static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23914 PyObject *resultobj;
23915 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23916 bool result;
23917 PyObject * obj0 = 0 ;
23918 char *kwnames[] = {
23919 (char *) "self", NULL
23920 };
23921
23922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
15afbcd0
RD
23923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23928
23929 wxPyEndAllowThreads(__tstate);
23930 if (PyErr_Occurred()) SWIG_fail;
23931 }
4f89f6a3
RD
23932 {
23933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23934 }
d14a1e28
RD
23935 return resultobj;
23936 fail:
23937 return NULL;
23938}
23939
23940
23941static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23942 PyObject *resultobj;
23943 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23944 bool arg2 ;
23945 PyObject * obj0 = 0 ;
23946 PyObject * obj1 = 0 ;
23947 char *kwnames[] = {
23948 (char *) "self",(char *) "editCancelled", NULL
23949 };
23950
23951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23954 arg2 = (bool) SWIG_AsBool(obj1);
23955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23956 {
23957 PyThreadState* __tstate = wxPyBeginAllowThreads();
23958 (arg1)->SetEditCanceled(arg2);
23959
23960 wxPyEndAllowThreads(__tstate);
23961 if (PyErr_Occurred()) SWIG_fail;
23962 }
23963 Py_INCREF(Py_None); resultobj = Py_None;
23964 return resultobj;
23965 fail:
23966 return NULL;
23967}
23968
23969
c9c7117a
RD
23970static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23971 PyObject *resultobj;
23972 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23973 wxString *arg2 = 0 ;
23974 bool temp2 = False ;
23975 PyObject * obj0 = 0 ;
23976 PyObject * obj1 = 0 ;
23977 char *kwnames[] = {
23978 (char *) "self",(char *) "toolTip", NULL
23979 };
23980
23981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
23983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
23984 {
23985 arg2 = wxString_in_helper(obj1);
23986 if (arg2 == NULL) SWIG_fail;
23987 temp2 = True;
23988 }
23989 {
23990 PyThreadState* __tstate = wxPyBeginAllowThreads();
23991 (arg1)->SetToolTip((wxString const &)*arg2);
23992
23993 wxPyEndAllowThreads(__tstate);
23994 if (PyErr_Occurred()) SWIG_fail;
23995 }
23996 Py_INCREF(Py_None); resultobj = Py_None;
23997 {
23998 if (temp2)
23999 delete arg2;
24000 }
24001 return resultobj;
24002 fail:
24003 {
24004 if (temp2)
24005 delete arg2;
24006 }
24007 return NULL;
24008}
24009
24010
d14a1e28
RD
24011static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
24012 PyObject *obj;
24013 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24014 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
24015 Py_INCREF(obj);
24016 return Py_BuildValue((char *)"");
24017}
24018static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24019 PyObject *resultobj;
24020 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24021 int arg2 = (int) -1 ;
d14a1e28
RD
24022 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24023 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24024 wxSize const &arg4_defvalue = wxDefaultSize ;
24025 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24026 long arg5 = (long) wxTR_DEFAULT_STYLE ;
24027 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24028 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
b2dc1044 24029 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
24030 wxString *arg7 = (wxString *) &arg7_defvalue ;
24031 wxPyTreeCtrl *result;
24032 wxPoint temp3 ;
24033 wxSize temp4 ;
e811c8ce 24034 bool temp7 = False ;
d14a1e28 24035 PyObject * obj0 = 0 ;
994141e6 24036 PyObject * obj1 = 0 ;
d14a1e28
RD
24037 PyObject * obj2 = 0 ;
24038 PyObject * obj3 = 0 ;
994141e6 24039 PyObject * obj4 = 0 ;
d14a1e28
RD
24040 PyObject * obj5 = 0 ;
24041 PyObject * obj6 = 0 ;
24042 char *kwnames[] = {
24043 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24044 };
24045
994141e6 24046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
24047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 24049 if (obj1) {
15afbcd0
RD
24050 arg2 = (int) SWIG_AsInt(obj1);
24051 if (PyErr_Occurred()) SWIG_fail;
994141e6 24052 }
d14a1e28
RD
24053 if (obj2) {
24054 {
24055 arg3 = &temp3;
24056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24057 }
24058 }
24059 if (obj3) {
24060 {
994141e6
RD
24061 arg4 = &temp4;
24062 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24063 }
24064 }
24065 if (obj4) {
15afbcd0
RD
24066 arg5 = (long) SWIG_AsLong(obj4);
24067 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24068 }
24069 if (obj5) {
15afbcd0
RD
24070 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24071 SWIG_POINTER_EXCEPTION | 0)) == -1)
24072 SWIG_fail;
d14a1e28 24073 if (arg6 == NULL) {
15afbcd0
RD
24074 PyErr_SetString(PyExc_TypeError,"null reference");
24075 SWIG_fail;
d14a1e28
RD
24076 }
24077 }
24078 if (obj6) {
24079 {
24080 arg7 = wxString_in_helper(obj6);
24081 if (arg7 == NULL) SWIG_fail;
e811c8ce 24082 temp7 = True;
d14a1e28
RD
24083 }
24084 }
24085 {
24086 PyThreadState* __tstate = wxPyBeginAllowThreads();
24087 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24088
24089 wxPyEndAllowThreads(__tstate);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 }
b2dc1044
RD
24092 {
24093 resultobj = wxPyMake_wxObject(result);
24094 }
d14a1e28
RD
24095 {
24096 if (temp7)
24097 delete arg7;
24098 }
24099 return resultobj;
24100 fail:
24101 {
24102 if (temp7)
24103 delete arg7;
24104 }
24105 return NULL;
24106}
24107
24108
24109static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24110 PyObject *resultobj;
24111 wxPyTreeCtrl *result;
24112 char *kwnames[] = {
24113 NULL
24114 };
24115
24116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
24117 {
24118 PyThreadState* __tstate = wxPyBeginAllowThreads();
24119 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
24120
24121 wxPyEndAllowThreads(__tstate);
24122 if (PyErr_Occurred()) SWIG_fail;
24123 }
b2dc1044
RD
24124 {
24125 resultobj = wxPyMake_wxObject(result);
24126 }
d14a1e28
RD
24127 return resultobj;
24128 fail:
24129 return NULL;
24130}
24131
24132
24133static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24134 PyObject *resultobj;
24135 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24136 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 24137 int arg3 = (int) -1 ;
d14a1e28
RD
24138 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24139 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24140 wxSize const &arg5_defvalue = wxDefaultSize ;
24141 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24142 long arg6 = (long) wxTR_DEFAULT_STYLE ;
24143 wxValidator const &arg7_defvalue = wxDefaultValidator ;
24144 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
b2dc1044 24145 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
24146 wxString *arg8 = (wxString *) &arg8_defvalue ;
24147 bool result;
24148 wxPoint temp4 ;
24149 wxSize temp5 ;
e811c8ce 24150 bool temp8 = False ;
d14a1e28
RD
24151 PyObject * obj0 = 0 ;
24152 PyObject * obj1 = 0 ;
994141e6 24153 PyObject * obj2 = 0 ;
d14a1e28
RD
24154 PyObject * obj3 = 0 ;
24155 PyObject * obj4 = 0 ;
994141e6 24156 PyObject * obj5 = 0 ;
d14a1e28
RD
24157 PyObject * obj6 = 0 ;
24158 PyObject * obj7 = 0 ;
24159 char *kwnames[] = {
24160 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24161 };
24162
994141e6 24163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
24164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 24168 if (obj2) {
15afbcd0
RD
24169 arg3 = (int) SWIG_AsInt(obj2);
24170 if (PyErr_Occurred()) SWIG_fail;
994141e6 24171 }
d14a1e28
RD
24172 if (obj3) {
24173 {
24174 arg4 = &temp4;
24175 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24176 }
24177 }
24178 if (obj4) {
24179 {
24180 arg5 = &temp5;
24181 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24182 }
24183 }
994141e6 24184 if (obj5) {
15afbcd0
RD
24185 arg6 = (long) SWIG_AsLong(obj5);
24186 if (PyErr_Occurred()) SWIG_fail;
994141e6 24187 }
d14a1e28 24188 if (obj6) {
15afbcd0
RD
24189 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
24190 SWIG_POINTER_EXCEPTION | 0)) == -1)
24191 SWIG_fail;
d14a1e28 24192 if (arg7 == NULL) {
15afbcd0
RD
24193 PyErr_SetString(PyExc_TypeError,"null reference");
24194 SWIG_fail;
d14a1e28
RD
24195 }
24196 }
24197 if (obj7) {
24198 {
24199 arg8 = wxString_in_helper(obj7);
24200 if (arg8 == NULL) SWIG_fail;
e811c8ce 24201 temp8 = True;
d14a1e28
RD
24202 }
24203 }
24204 {
24205 PyThreadState* __tstate = wxPyBeginAllowThreads();
24206 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
24207
24208 wxPyEndAllowThreads(__tstate);
24209 if (PyErr_Occurred()) SWIG_fail;
24210 }
4f89f6a3
RD
24211 {
24212 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24213 }
d14a1e28
RD
24214 {
24215 if (temp8)
24216 delete arg8;
24217 }
24218 return resultobj;
24219 fail:
24220 {
24221 if (temp8)
24222 delete arg8;
24223 }
24224 return NULL;
24225}
24226
24227
24228static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24229 PyObject *resultobj;
24230 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24231 PyObject *arg2 = (PyObject *) 0 ;
24232 PyObject *arg3 = (PyObject *) 0 ;
24233 PyObject * obj0 = 0 ;
24234 PyObject * obj1 = 0 ;
24235 PyObject * obj2 = 0 ;
24236 char *kwnames[] = {
24237 (char *) "self",(char *) "self",(char *) "_class", NULL
24238 };
24239
24240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24243 arg2 = obj1;
24244 arg3 = obj2;
24245 {
24246 PyThreadState* __tstate = wxPyBeginAllowThreads();
24247 (arg1)->_setCallbackInfo(arg2,arg3);
24248
24249 wxPyEndAllowThreads(__tstate);
24250 if (PyErr_Occurred()) SWIG_fail;
24251 }
24252 Py_INCREF(Py_None); resultobj = Py_None;
24253 return resultobj;
24254 fail:
24255 return NULL;
24256}
24257
24258
24259static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24260 PyObject *resultobj;
24261 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24262 size_t result;
24263 PyObject * obj0 = 0 ;
24264 char *kwnames[] = {
24265 (char *) "self", NULL
24266 };
24267
24268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
24269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24271 {
24272 PyThreadState* __tstate = wxPyBeginAllowThreads();
24273 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
24274
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
15afbcd0 24278 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
24279 return resultobj;
24280 fail:
24281 return NULL;
24282}
24283
24284
24285static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24286 PyObject *resultobj;
24287 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24288 unsigned int result;
24289 PyObject * obj0 = 0 ;
24290 char *kwnames[] = {
24291 (char *) "self", NULL
24292 };
24293
24294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
15afbcd0
RD
24295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24297 {
24298 PyThreadState* __tstate = wxPyBeginAllowThreads();
24299 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
24300
24301 wxPyEndAllowThreads(__tstate);
24302 if (PyErr_Occurred()) SWIG_fail;
24303 }
15afbcd0 24304 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
24305 return resultobj;
24306 fail:
24307 return NULL;
24308}
24309
24310
24311static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
24312 PyObject *resultobj;
24313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24314 unsigned int arg2 ;
24315 PyObject * obj0 = 0 ;
24316 PyObject * obj1 = 0 ;
24317 char *kwnames[] = {
24318 (char *) "self",(char *) "indent", NULL
24319 };
24320
24321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24324 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24325 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24326 {
24327 PyThreadState* __tstate = wxPyBeginAllowThreads();
24328 (arg1)->SetIndent(arg2);
24329
24330 wxPyEndAllowThreads(__tstate);
24331 if (PyErr_Occurred()) SWIG_fail;
24332 }
24333 Py_INCREF(Py_None); resultobj = Py_None;
24334 return resultobj;
24335 fail:
24336 return NULL;
24337}
24338
24339
24340static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24341 PyObject *resultobj;
24342 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24343 unsigned int result;
24344 PyObject * obj0 = 0 ;
24345 char *kwnames[] = {
24346 (char *) "self", NULL
24347 };
24348
24349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
15afbcd0
RD
24350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24352 {
24353 PyThreadState* __tstate = wxPyBeginAllowThreads();
24354 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24355
24356 wxPyEndAllowThreads(__tstate);
24357 if (PyErr_Occurred()) SWIG_fail;
24358 }
15afbcd0 24359 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
24360 return resultobj;
24361 fail:
24362 return NULL;
24363}
24364
24365
24366static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24367 PyObject *resultobj;
24368 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24369 unsigned int arg2 ;
24370 PyObject * obj0 = 0 ;
24371 PyObject * obj1 = 0 ;
24372 char *kwnames[] = {
24373 (char *) "self",(char *) "spacing", NULL
24374 };
24375
24376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24379 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
24380 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24381 {
24382 PyThreadState* __tstate = wxPyBeginAllowThreads();
24383 (arg1)->SetSpacing(arg2);
24384
24385 wxPyEndAllowThreads(__tstate);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
24388 Py_INCREF(Py_None); resultobj = Py_None;
24389 return resultobj;
24390 fail:
24391 return NULL;
24392}
24393
24394
24395static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24396 PyObject *resultobj;
24397 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24398 wxImageList *result;
24399 PyObject * obj0 = 0 ;
24400 char *kwnames[] = {
24401 (char *) "self", NULL
24402 };
24403
24404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
24405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24407 {
24408 PyThreadState* __tstate = wxPyBeginAllowThreads();
24409 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24410
24411 wxPyEndAllowThreads(__tstate);
24412 if (PyErr_Occurred()) SWIG_fail;
24413 }
24414 {
24415 resultobj = wxPyMake_wxObject(result);
24416 }
24417 return resultobj;
24418 fail:
24419 return NULL;
24420}
24421
24422
24423static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24424 PyObject *resultobj;
24425 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24426 wxImageList *result;
24427 PyObject * obj0 = 0 ;
24428 char *kwnames[] = {
24429 (char *) "self", NULL
24430 };
24431
24432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
15afbcd0
RD
24433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24435 {
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24438
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 {
24443 resultobj = wxPyMake_wxObject(result);
24444 }
24445 return resultobj;
24446 fail:
24447 return NULL;
24448}
24449
24450
24451static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24452 PyObject *resultobj;
24453 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24454 wxImageList *arg2 = (wxImageList *) 0 ;
24455 PyObject * obj0 = 0 ;
24456 PyObject * obj1 = 0 ;
24457 char *kwnames[] = {
24458 (char *) "self",(char *) "imageList", NULL
24459 };
24460
24461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24466 {
24467 PyThreadState* __tstate = wxPyBeginAllowThreads();
24468 (arg1)->SetImageList(arg2);
24469
24470 wxPyEndAllowThreads(__tstate);
24471 if (PyErr_Occurred()) SWIG_fail;
24472 }
24473 Py_INCREF(Py_None); resultobj = Py_None;
24474 return resultobj;
24475 fail:
24476 return NULL;
24477}
24478
24479
24480static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24481 PyObject *resultobj;
24482 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24483 wxImageList *arg2 = (wxImageList *) 0 ;
24484 PyObject * obj0 = 0 ;
24485 PyObject * obj1 = 0 ;
24486 char *kwnames[] = {
24487 (char *) "self",(char *) "imageList", NULL
24488 };
24489
24490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24493 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24495 {
24496 PyThreadState* __tstate = wxPyBeginAllowThreads();
24497 (arg1)->SetStateImageList(arg2);
24498
24499 wxPyEndAllowThreads(__tstate);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 }
24502 Py_INCREF(Py_None); resultobj = Py_None;
24503 return resultobj;
24504 fail:
24505 return NULL;
24506}
24507
24508
24509static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj;
24511 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24512 wxImageList *arg2 = (wxImageList *) 0 ;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 char *kwnames[] = {
24516 (char *) "self",(char *) "imageList", NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24523 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
24524 {
24525 PyThreadState* __tstate = wxPyBeginAllowThreads();
24526 (arg1)->AssignImageList(arg2);
24527
24528 wxPyEndAllowThreads(__tstate);
24529 if (PyErr_Occurred()) SWIG_fail;
24530 }
24531 Py_INCREF(Py_None); resultobj = Py_None;
24532 return resultobj;
24533 fail:
24534 return NULL;
24535}
24536
24537
24538static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24539 PyObject *resultobj;
24540 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24541 wxImageList *arg2 = (wxImageList *) 0 ;
24542 PyObject * obj0 = 0 ;
24543 PyObject * obj1 = 0 ;
24544 char *kwnames[] = {
24545 (char *) "self",(char *) "imageList", NULL
24546 };
24547
24548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24551 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
24552 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
24553 {
24554 PyThreadState* __tstate = wxPyBeginAllowThreads();
24555 (arg1)->AssignStateImageList(arg2);
24556
24557 wxPyEndAllowThreads(__tstate);
24558 if (PyErr_Occurred()) SWIG_fail;
24559 }
24560 Py_INCREF(Py_None); resultobj = Py_None;
24561 return resultobj;
24562 fail:
24563 return NULL;
24564}
24565
24566
24567static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24568 PyObject *resultobj;
24569 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24570 wxTreeItemId *arg2 = 0 ;
24571 wxString result;
24572 PyObject * obj0 = 0 ;
24573 PyObject * obj1 = 0 ;
24574 char *kwnames[] = {
24575 (char *) "self",(char *) "item", NULL
24576 };
24577
24578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24582 SWIG_POINTER_EXCEPTION | 0)) == -1)
24583 SWIG_fail;
d14a1e28 24584 if (arg2 == NULL) {
15afbcd0
RD
24585 PyErr_SetString(PyExc_TypeError,"null reference");
24586 SWIG_fail;
d14a1e28
RD
24587 }
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24591
24592 wxPyEndAllowThreads(__tstate);
24593 if (PyErr_Occurred()) SWIG_fail;
24594 }
24595 {
24596#if wxUSE_UNICODE
24597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24598#else
24599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24600#endif
24601 }
24602 return resultobj;
24603 fail:
24604 return NULL;
24605}
24606
24607
24608static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24609 PyObject *resultobj;
24610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24611 wxTreeItemId *arg2 = 0 ;
24612 int arg3 = (int) wxTreeItemIcon_Normal ;
24613 int result;
24614 PyObject * obj0 = 0 ;
24615 PyObject * obj1 = 0 ;
994141e6 24616 PyObject * obj2 = 0 ;
d14a1e28
RD
24617 char *kwnames[] = {
24618 (char *) "self",(char *) "item",(char *) "which", NULL
24619 };
24620
994141e6 24621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24625 SWIG_POINTER_EXCEPTION | 0)) == -1)
24626 SWIG_fail;
d14a1e28 24627 if (arg2 == NULL) {
15afbcd0
RD
24628 PyErr_SetString(PyExc_TypeError,"null reference");
24629 SWIG_fail;
d14a1e28 24630 }
994141e6 24631 if (obj2) {
15afbcd0
RD
24632 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
24633 if (PyErr_Occurred()) SWIG_fail;
994141e6 24634 }
d14a1e28
RD
24635 {
24636 PyThreadState* __tstate = wxPyBeginAllowThreads();
24637 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24638
24639 wxPyEndAllowThreads(__tstate);
24640 if (PyErr_Occurred()) SWIG_fail;
24641 }
15afbcd0 24642 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
24643 return resultobj;
24644 fail:
24645 return NULL;
24646}
24647
24648
24649static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24650 PyObject *resultobj;
24651 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24652 wxTreeItemId *arg2 = 0 ;
24653 wxPyTreeItemData *result;
24654 PyObject * obj0 = 0 ;
24655 PyObject * obj1 = 0 ;
24656 char *kwnames[] = {
24657 (char *) "self",(char *) "item", NULL
24658 };
24659
24660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24663 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24664 SWIG_POINTER_EXCEPTION | 0)) == -1)
24665 SWIG_fail;
d14a1e28 24666 if (arg2 == NULL) {
15afbcd0
RD
24667 PyErr_SetString(PyExc_TypeError,"null reference");
24668 SWIG_fail;
d14a1e28
RD
24669 }
24670 {
24671 PyThreadState* __tstate = wxPyBeginAllowThreads();
24672 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24673
24674 wxPyEndAllowThreads(__tstate);
24675 if (PyErr_Occurred()) SWIG_fail;
24676 }
15afbcd0 24677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
d14a1e28
RD
24678 return resultobj;
24679 fail:
24680 return NULL;
24681}
24682
24683
24684static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24685 PyObject *resultobj;
24686 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24687 wxTreeItemId *arg2 = 0 ;
24688 PyObject *result;
24689 PyObject * obj0 = 0 ;
24690 PyObject * obj1 = 0 ;
24691 char *kwnames[] = {
24692 (char *) "self",(char *) "item", NULL
24693 };
24694
24695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24698 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24699 SWIG_POINTER_EXCEPTION | 0)) == -1)
24700 SWIG_fail;
d14a1e28 24701 if (arg2 == NULL) {
15afbcd0
RD
24702 PyErr_SetString(PyExc_TypeError,"null reference");
24703 SWIG_fail;
d14a1e28
RD
24704 }
24705 {
24706 PyThreadState* __tstate = wxPyBeginAllowThreads();
24707 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24708
24709 wxPyEndAllowThreads(__tstate);
24710 if (PyErr_Occurred()) SWIG_fail;
24711 }
24712 resultobj = result;
24713 return resultobj;
24714 fail:
24715 return NULL;
24716}
24717
24718
24719static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24720 PyObject *resultobj;
24721 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24722 wxTreeItemId *arg2 = 0 ;
24723 wxColour result;
24724 PyObject * obj0 = 0 ;
24725 PyObject * obj1 = 0 ;
24726 char *kwnames[] = {
24727 (char *) "self",(char *) "item", NULL
24728 };
24729
24730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24733 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24734 SWIG_POINTER_EXCEPTION | 0)) == -1)
24735 SWIG_fail;
d14a1e28 24736 if (arg2 == NULL) {
15afbcd0
RD
24737 PyErr_SetString(PyExc_TypeError,"null reference");
24738 SWIG_fail;
d14a1e28
RD
24739 }
24740 {
24741 PyThreadState* __tstate = wxPyBeginAllowThreads();
24742 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24743
24744 wxPyEndAllowThreads(__tstate);
24745 if (PyErr_Occurred()) SWIG_fail;
24746 }
24747 {
24748 wxColour * resultptr;
24749 resultptr = new wxColour((wxColour &) result);
15afbcd0 24750 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
24751 }
24752 return resultobj;
24753 fail:
24754 return NULL;
24755}
24756
24757
24758static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24759 PyObject *resultobj;
24760 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24761 wxTreeItemId *arg2 = 0 ;
24762 wxColour result;
24763 PyObject * obj0 = 0 ;
24764 PyObject * obj1 = 0 ;
24765 char *kwnames[] = {
24766 (char *) "self",(char *) "item", NULL
24767 };
24768
24769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24773 SWIG_POINTER_EXCEPTION | 0)) == -1)
24774 SWIG_fail;
d14a1e28 24775 if (arg2 == NULL) {
15afbcd0
RD
24776 PyErr_SetString(PyExc_TypeError,"null reference");
24777 SWIG_fail;
d14a1e28
RD
24778 }
24779 {
24780 PyThreadState* __tstate = wxPyBeginAllowThreads();
24781 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24782
24783 wxPyEndAllowThreads(__tstate);
24784 if (PyErr_Occurred()) SWIG_fail;
24785 }
24786 {
24787 wxColour * resultptr;
24788 resultptr = new wxColour((wxColour &) result);
15afbcd0 24789 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
24790 }
24791 return resultobj;
24792 fail:
24793 return NULL;
24794}
24795
24796
24797static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24798 PyObject *resultobj;
24799 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24800 wxTreeItemId *arg2 = 0 ;
24801 wxFont result;
24802 PyObject * obj0 = 0 ;
24803 PyObject * obj1 = 0 ;
24804 char *kwnames[] = {
24805 (char *) "self",(char *) "item", NULL
24806 };
24807
24808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24812 SWIG_POINTER_EXCEPTION | 0)) == -1)
24813 SWIG_fail;
d14a1e28 24814 if (arg2 == NULL) {
15afbcd0
RD
24815 PyErr_SetString(PyExc_TypeError,"null reference");
24816 SWIG_fail;
d14a1e28
RD
24817 }
24818 {
24819 PyThreadState* __tstate = wxPyBeginAllowThreads();
24820 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24821
24822 wxPyEndAllowThreads(__tstate);
24823 if (PyErr_Occurred()) SWIG_fail;
24824 }
24825 {
24826 wxFont * resultptr;
24827 resultptr = new wxFont((wxFont &) result);
15afbcd0 24828 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
24829 }
24830 return resultobj;
24831 fail:
24832 return NULL;
24833}
24834
24835
24836static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj;
24838 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24839 wxTreeItemId *arg2 = 0 ;
24840 wxString *arg3 = 0 ;
e811c8ce 24841 bool temp3 = False ;
d14a1e28
RD
24842 PyObject * obj0 = 0 ;
24843 PyObject * obj1 = 0 ;
24844 PyObject * obj2 = 0 ;
24845 char *kwnames[] = {
24846 (char *) "self",(char *) "item",(char *) "text", NULL
24847 };
24848
24849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24853 SWIG_POINTER_EXCEPTION | 0)) == -1)
24854 SWIG_fail;
d14a1e28 24855 if (arg2 == NULL) {
15afbcd0
RD
24856 PyErr_SetString(PyExc_TypeError,"null reference");
24857 SWIG_fail;
d14a1e28
RD
24858 }
24859 {
24860 arg3 = wxString_in_helper(obj2);
24861 if (arg3 == NULL) SWIG_fail;
e811c8ce 24862 temp3 = True;
d14a1e28
RD
24863 }
24864 {
24865 PyThreadState* __tstate = wxPyBeginAllowThreads();
24866 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24867
24868 wxPyEndAllowThreads(__tstate);
24869 if (PyErr_Occurred()) SWIG_fail;
24870 }
24871 Py_INCREF(Py_None); resultobj = Py_None;
24872 {
24873 if (temp3)
24874 delete arg3;
24875 }
24876 return resultobj;
24877 fail:
24878 {
24879 if (temp3)
24880 delete arg3;
24881 }
24882 return NULL;
24883}
24884
24885
24886static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24887 PyObject *resultobj;
24888 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24889 wxTreeItemId *arg2 = 0 ;
24890 int arg3 ;
24891 int arg4 = (int) wxTreeItemIcon_Normal ;
24892 PyObject * obj0 = 0 ;
24893 PyObject * obj1 = 0 ;
994141e6
RD
24894 PyObject * obj2 = 0 ;
24895 PyObject * obj3 = 0 ;
d14a1e28
RD
24896 char *kwnames[] = {
24897 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24898 };
24899
994141e6 24900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
24901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24904 SWIG_POINTER_EXCEPTION | 0)) == -1)
24905 SWIG_fail;
d14a1e28 24906 if (arg2 == NULL) {
15afbcd0
RD
24907 PyErr_SetString(PyExc_TypeError,"null reference");
24908 SWIG_fail;
994141e6 24909 }
15afbcd0
RD
24910 arg3 = (int) SWIG_AsInt(obj2);
24911 if (PyErr_Occurred()) SWIG_fail;
994141e6 24912 if (obj3) {
15afbcd0
RD
24913 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
24914 if (PyErr_Occurred()) SWIG_fail;
994141e6 24915 }
d14a1e28
RD
24916 {
24917 PyThreadState* __tstate = wxPyBeginAllowThreads();
24918 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24919
24920 wxPyEndAllowThreads(__tstate);
24921 if (PyErr_Occurred()) SWIG_fail;
24922 }
24923 Py_INCREF(Py_None); resultobj = Py_None;
24924 return resultobj;
24925 fail:
24926 return NULL;
24927}
24928
24929
24930static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24931 PyObject *resultobj;
24932 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24933 wxTreeItemId *arg2 = 0 ;
24934 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24935 PyObject * obj0 = 0 ;
24936 PyObject * obj1 = 0 ;
24937 PyObject * obj2 = 0 ;
24938 char *kwnames[] = {
24939 (char *) "self",(char *) "item",(char *) "data", NULL
24940 };
24941
24942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24946 SWIG_POINTER_EXCEPTION | 0)) == -1)
24947 SWIG_fail;
d14a1e28 24948 if (arg2 == NULL) {
15afbcd0
RD
24949 PyErr_SetString(PyExc_TypeError,"null reference");
24950 SWIG_fail;
d14a1e28 24951 }
15afbcd0
RD
24952 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
24953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24954 {
24955 PyThreadState* __tstate = wxPyBeginAllowThreads();
24956 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24957
24958 wxPyEndAllowThreads(__tstate);
24959 if (PyErr_Occurred()) SWIG_fail;
24960 }
24961 Py_INCREF(Py_None); resultobj = Py_None;
24962 return resultobj;
24963 fail:
24964 return NULL;
24965}
24966
24967
24968static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24969 PyObject *resultobj;
24970 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24971 wxTreeItemId *arg2 = 0 ;
24972 PyObject *arg3 = (PyObject *) 0 ;
24973 PyObject * obj0 = 0 ;
24974 PyObject * obj1 = 0 ;
24975 PyObject * obj2 = 0 ;
24976 char *kwnames[] = {
24977 (char *) "self",(char *) "item",(char *) "obj", NULL
24978 };
24979
24980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
24982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24984 SWIG_POINTER_EXCEPTION | 0)) == -1)
24985 SWIG_fail;
d14a1e28 24986 if (arg2 == NULL) {
15afbcd0
RD
24987 PyErr_SetString(PyExc_TypeError,"null reference");
24988 SWIG_fail;
d14a1e28
RD
24989 }
24990 arg3 = obj2;
24991 {
24992 PyThreadState* __tstate = wxPyBeginAllowThreads();
24993 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24994
24995 wxPyEndAllowThreads(__tstate);
24996 if (PyErr_Occurred()) SWIG_fail;
24997 }
24998 Py_INCREF(Py_None); resultobj = Py_None;
24999 return resultobj;
25000 fail:
25001 return NULL;
25002}
25003
25004
25005static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25006 PyObject *resultobj;
25007 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25008 wxTreeItemId *arg2 = 0 ;
e811c8ce 25009 bool arg3 = (bool) True ;
d14a1e28
RD
25010 PyObject * obj0 = 0 ;
25011 PyObject * obj1 = 0 ;
25012 PyObject * obj2 = 0 ;
25013 char *kwnames[] = {
25014 (char *) "self",(char *) "item",(char *) "has", NULL
25015 };
25016
25017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25020 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25021 SWIG_POINTER_EXCEPTION | 0)) == -1)
25022 SWIG_fail;
d14a1e28 25023 if (arg2 == NULL) {
15afbcd0
RD
25024 PyErr_SetString(PyExc_TypeError,"null reference");
25025 SWIG_fail;
d14a1e28
RD
25026 }
25027 if (obj2) {
15afbcd0
RD
25028 arg3 = (bool) SWIG_AsBool(obj2);
25029 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25030 }
25031 {
25032 PyThreadState* __tstate = wxPyBeginAllowThreads();
25033 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
25034
25035 wxPyEndAllowThreads(__tstate);
25036 if (PyErr_Occurred()) SWIG_fail;
25037 }
25038 Py_INCREF(Py_None); resultobj = Py_None;
25039 return resultobj;
25040 fail:
25041 return NULL;
25042}
25043
25044
25045static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25046 PyObject *resultobj;
25047 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25048 wxTreeItemId *arg2 = 0 ;
e811c8ce 25049 bool arg3 = (bool) True ;
d14a1e28
RD
25050 PyObject * obj0 = 0 ;
25051 PyObject * obj1 = 0 ;
25052 PyObject * obj2 = 0 ;
25053 char *kwnames[] = {
25054 (char *) "self",(char *) "item",(char *) "bold", NULL
25055 };
25056
25057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25060 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25061 SWIG_POINTER_EXCEPTION | 0)) == -1)
25062 SWIG_fail;
d14a1e28 25063 if (arg2 == NULL) {
15afbcd0
RD
25064 PyErr_SetString(PyExc_TypeError,"null reference");
25065 SWIG_fail;
d14a1e28
RD
25066 }
25067 if (obj2) {
15afbcd0
RD
25068 arg3 = (bool) SWIG_AsBool(obj2);
25069 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25070 }
25071 {
25072 PyThreadState* __tstate = wxPyBeginAllowThreads();
25073 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
25074
25075 wxPyEndAllowThreads(__tstate);
25076 if (PyErr_Occurred()) SWIG_fail;
25077 }
25078 Py_INCREF(Py_None); resultobj = Py_None;
25079 return resultobj;
25080 fail:
25081 return NULL;
25082}
25083
25084
25085static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25086 PyObject *resultobj;
25087 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25088 wxTreeItemId *arg2 = 0 ;
25089 wxColour *arg3 = 0 ;
25090 wxColour temp3 ;
25091 PyObject * obj0 = 0 ;
25092 PyObject * obj1 = 0 ;
25093 PyObject * obj2 = 0 ;
25094 char *kwnames[] = {
25095 (char *) "self",(char *) "item",(char *) "col", NULL
25096 };
25097
25098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25102 SWIG_POINTER_EXCEPTION | 0)) == -1)
25103 SWIG_fail;
d14a1e28 25104 if (arg2 == NULL) {
15afbcd0
RD
25105 PyErr_SetString(PyExc_TypeError,"null reference");
25106 SWIG_fail;
d14a1e28
RD
25107 }
25108 {
25109 arg3 = &temp3;
25110 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25111 }
25112 {
25113 PyThreadState* __tstate = wxPyBeginAllowThreads();
25114 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25115
25116 wxPyEndAllowThreads(__tstate);
25117 if (PyErr_Occurred()) SWIG_fail;
25118 }
25119 Py_INCREF(Py_None); resultobj = Py_None;
25120 return resultobj;
25121 fail:
25122 return NULL;
25123}
25124
25125
25126static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25127 PyObject *resultobj;
25128 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25129 wxTreeItemId *arg2 = 0 ;
25130 wxColour *arg3 = 0 ;
25131 wxColour temp3 ;
25132 PyObject * obj0 = 0 ;
25133 PyObject * obj1 = 0 ;
25134 PyObject * obj2 = 0 ;
25135 char *kwnames[] = {
25136 (char *) "self",(char *) "item",(char *) "col", NULL
25137 };
25138
25139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25142 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25143 SWIG_POINTER_EXCEPTION | 0)) == -1)
25144 SWIG_fail;
d14a1e28 25145 if (arg2 == NULL) {
15afbcd0
RD
25146 PyErr_SetString(PyExc_TypeError,"null reference");
25147 SWIG_fail;
d14a1e28
RD
25148 }
25149 {
25150 arg3 = &temp3;
25151 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
25152 }
25153 {
25154 PyThreadState* __tstate = wxPyBeginAllowThreads();
25155 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
25156
25157 wxPyEndAllowThreads(__tstate);
25158 if (PyErr_Occurred()) SWIG_fail;
25159 }
25160 Py_INCREF(Py_None); resultobj = Py_None;
25161 return resultobj;
25162 fail:
25163 return NULL;
25164}
25165
25166
25167static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25168 PyObject *resultobj;
25169 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25170 wxTreeItemId *arg2 = 0 ;
25171 wxFont *arg3 = 0 ;
25172 PyObject * obj0 = 0 ;
25173 PyObject * obj1 = 0 ;
25174 PyObject * obj2 = 0 ;
25175 char *kwnames[] = {
25176 (char *) "self",(char *) "item",(char *) "font", NULL
25177 };
25178
25179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25182 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25183 SWIG_POINTER_EXCEPTION | 0)) == -1)
25184 SWIG_fail;
d14a1e28 25185 if (arg2 == NULL) {
15afbcd0
RD
25186 PyErr_SetString(PyExc_TypeError,"null reference");
25187 SWIG_fail;
d14a1e28 25188 }
15afbcd0
RD
25189 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
25190 SWIG_POINTER_EXCEPTION | 0)) == -1)
25191 SWIG_fail;
d14a1e28 25192 if (arg3 == NULL) {
15afbcd0
RD
25193 PyErr_SetString(PyExc_TypeError,"null reference");
25194 SWIG_fail;
d14a1e28
RD
25195 }
25196 {
25197 PyThreadState* __tstate = wxPyBeginAllowThreads();
25198 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
25199
25200 wxPyEndAllowThreads(__tstate);
25201 if (PyErr_Occurred()) SWIG_fail;
25202 }
25203 Py_INCREF(Py_None); resultobj = Py_None;
25204 return resultobj;
25205 fail:
25206 return NULL;
25207}
25208
25209
25210static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25211 PyObject *resultobj;
25212 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25213 wxTreeItemId *arg2 = 0 ;
25214 bool result;
25215 PyObject * obj0 = 0 ;
25216 PyObject * obj1 = 0 ;
25217 char *kwnames[] = {
25218 (char *) "self",(char *) "item", NULL
25219 };
25220
25221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25224 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25225 SWIG_POINTER_EXCEPTION | 0)) == -1)
25226 SWIG_fail;
d14a1e28 25227 if (arg2 == NULL) {
15afbcd0
RD
25228 PyErr_SetString(PyExc_TypeError,"null reference");
25229 SWIG_fail;
d14a1e28
RD
25230 }
25231 {
25232 PyThreadState* __tstate = wxPyBeginAllowThreads();
25233 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
25234
25235 wxPyEndAllowThreads(__tstate);
25236 if (PyErr_Occurred()) SWIG_fail;
25237 }
4f89f6a3
RD
25238 {
25239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25240 }
d14a1e28
RD
25241 return resultobj;
25242 fail:
25243 return NULL;
25244}
25245
25246
25247static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25248 PyObject *resultobj;
25249 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25250 wxTreeItemId *arg2 = 0 ;
25251 bool result;
25252 PyObject * obj0 = 0 ;
25253 PyObject * obj1 = 0 ;
25254 char *kwnames[] = {
25255 (char *) "self",(char *) "item", NULL
25256 };
25257
25258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25261 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25262 SWIG_POINTER_EXCEPTION | 0)) == -1)
25263 SWIG_fail;
d14a1e28 25264 if (arg2 == NULL) {
15afbcd0
RD
25265 PyErr_SetString(PyExc_TypeError,"null reference");
25266 SWIG_fail;
d14a1e28
RD
25267 }
25268 {
25269 PyThreadState* __tstate = wxPyBeginAllowThreads();
25270 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
25271
25272 wxPyEndAllowThreads(__tstate);
25273 if (PyErr_Occurred()) SWIG_fail;
25274 }
4f89f6a3
RD
25275 {
25276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25277 }
d14a1e28
RD
25278 return resultobj;
25279 fail:
25280 return NULL;
25281}
25282
25283
25284static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
25285 PyObject *resultobj;
25286 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25287 wxTreeItemId *arg2 = 0 ;
25288 bool result;
25289 PyObject * obj0 = 0 ;
25290 PyObject * obj1 = 0 ;
25291 char *kwnames[] = {
25292 (char *) "self",(char *) "item", NULL
25293 };
25294
25295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25298 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25299 SWIG_POINTER_EXCEPTION | 0)) == -1)
25300 SWIG_fail;
d14a1e28 25301 if (arg2 == NULL) {
15afbcd0
RD
25302 PyErr_SetString(PyExc_TypeError,"null reference");
25303 SWIG_fail;
d14a1e28
RD
25304 }
25305 {
25306 PyThreadState* __tstate = wxPyBeginAllowThreads();
25307 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
25308
25309 wxPyEndAllowThreads(__tstate);
25310 if (PyErr_Occurred()) SWIG_fail;
25311 }
4f89f6a3
RD
25312 {
25313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25314 }
d14a1e28
RD
25315 return resultobj;
25316 fail:
25317 return NULL;
25318}
25319
25320
25321static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
25322 PyObject *resultobj;
25323 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25324 wxTreeItemId *arg2 = 0 ;
25325 bool result;
25326 PyObject * obj0 = 0 ;
25327 PyObject * obj1 = 0 ;
25328 char *kwnames[] = {
25329 (char *) "self",(char *) "item", NULL
25330 };
25331
25332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25335 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25336 SWIG_POINTER_EXCEPTION | 0)) == -1)
25337 SWIG_fail;
d14a1e28 25338 if (arg2 == NULL) {
15afbcd0
RD
25339 PyErr_SetString(PyExc_TypeError,"null reference");
25340 SWIG_fail;
d14a1e28
RD
25341 }
25342 {
25343 PyThreadState* __tstate = wxPyBeginAllowThreads();
25344 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
25345
25346 wxPyEndAllowThreads(__tstate);
25347 if (PyErr_Occurred()) SWIG_fail;
25348 }
4f89f6a3
RD
25349 {
25350 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25351 }
d14a1e28
RD
25352 return resultobj;
25353 fail:
25354 return NULL;
25355}
25356
25357
25358static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25359 PyObject *resultobj;
25360 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25361 wxTreeItemId *arg2 = 0 ;
25362 bool result;
25363 PyObject * obj0 = 0 ;
25364 PyObject * obj1 = 0 ;
25365 char *kwnames[] = {
25366 (char *) "self",(char *) "item", NULL
25367 };
25368
25369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25372 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25373 SWIG_POINTER_EXCEPTION | 0)) == -1)
25374 SWIG_fail;
d14a1e28 25375 if (arg2 == NULL) {
15afbcd0
RD
25376 PyErr_SetString(PyExc_TypeError,"null reference");
25377 SWIG_fail;
d14a1e28
RD
25378 }
25379 {
25380 PyThreadState* __tstate = wxPyBeginAllowThreads();
25381 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
25382
25383 wxPyEndAllowThreads(__tstate);
25384 if (PyErr_Occurred()) SWIG_fail;
25385 }
4f89f6a3
RD
25386 {
25387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25388 }
d14a1e28
RD
25389 return resultobj;
25390 fail:
25391 return NULL;
25392}
25393
25394
25395static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25396 PyObject *resultobj;
25397 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25398 wxTreeItemId *arg2 = 0 ;
e811c8ce 25399 bool arg3 = (bool) True ;
d14a1e28
RD
25400 size_t result;
25401 PyObject * obj0 = 0 ;
25402 PyObject * obj1 = 0 ;
25403 PyObject * obj2 = 0 ;
25404 char *kwnames[] = {
25405 (char *) "self",(char *) "item",(char *) "recursively", NULL
25406 };
25407
25408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25412 SWIG_POINTER_EXCEPTION | 0)) == -1)
25413 SWIG_fail;
d14a1e28 25414 if (arg2 == NULL) {
15afbcd0
RD
25415 PyErr_SetString(PyExc_TypeError,"null reference");
25416 SWIG_fail;
d14a1e28
RD
25417 }
25418 if (obj2) {
15afbcd0
RD
25419 arg3 = (bool) SWIG_AsBool(obj2);
25420 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25421 }
25422 {
25423 PyThreadState* __tstate = wxPyBeginAllowThreads();
25424 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25425
25426 wxPyEndAllowThreads(__tstate);
25427 if (PyErr_Occurred()) SWIG_fail;
25428 }
15afbcd0 25429 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
25430 return resultobj;
25431 fail:
25432 return NULL;
25433}
25434
25435
25436static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25437 PyObject *resultobj;
25438 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25439 wxTreeItemId result;
25440 PyObject * obj0 = 0 ;
25441 char *kwnames[] = {
25442 (char *) "self", NULL
25443 };
25444
25445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
25446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25448 {
25449 PyThreadState* __tstate = wxPyBeginAllowThreads();
25450 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25451
25452 wxPyEndAllowThreads(__tstate);
25453 if (PyErr_Occurred()) SWIG_fail;
25454 }
25455 {
25456 wxTreeItemId * resultptr;
25457 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25458 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25459 }
25460 return resultobj;
25461 fail:
25462 return NULL;
25463}
25464
25465
25466static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25467 PyObject *resultobj;
25468 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25469 wxTreeItemId result;
25470 PyObject * obj0 = 0 ;
25471 char *kwnames[] = {
25472 (char *) "self", NULL
25473 };
25474
25475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
25476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25478 {
25479 PyThreadState* __tstate = wxPyBeginAllowThreads();
25480 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25481
25482 wxPyEndAllowThreads(__tstate);
25483 if (PyErr_Occurred()) SWIG_fail;
25484 }
25485 {
25486 wxTreeItemId * resultptr;
25487 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25489 }
25490 return resultobj;
25491 fail:
25492 return NULL;
25493}
25494
25495
25496static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
25497 PyObject *resultobj;
25498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25499 PyObject *result;
25500 PyObject * obj0 = 0 ;
25501 char *kwnames[] = {
25502 (char *) "self", NULL
25503 };
25504
25505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
15afbcd0
RD
25506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25508 {
25509 PyThreadState* __tstate = wxPyBeginAllowThreads();
25510 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25511
25512 wxPyEndAllowThreads(__tstate);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 resultobj = result;
25516 return resultobj;
25517 fail:
25518 return NULL;
25519}
25520
25521
25522static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25523 PyObject *resultobj;
25524 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25525 wxTreeItemId *arg2 = 0 ;
25526 wxTreeItemId result;
25527 PyObject * obj0 = 0 ;
25528 PyObject * obj1 = 0 ;
25529 char *kwnames[] = {
25530 (char *) "self",(char *) "item", NULL
25531 };
25532
25533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25536 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25537 SWIG_POINTER_EXCEPTION | 0)) == -1)
25538 SWIG_fail;
d14a1e28 25539 if (arg2 == NULL) {
15afbcd0
RD
25540 PyErr_SetString(PyExc_TypeError,"null reference");
25541 SWIG_fail;
d14a1e28
RD
25542 }
25543 {
25544 PyThreadState* __tstate = wxPyBeginAllowThreads();
25545 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25546
25547 wxPyEndAllowThreads(__tstate);
25548 if (PyErr_Occurred()) SWIG_fail;
25549 }
25550 {
25551 wxTreeItemId * resultptr;
25552 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25553 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25554 }
25555 return resultobj;
25556 fail:
25557 return NULL;
25558}
25559
25560
25561static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25562 PyObject *resultobj;
25563 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25564 wxTreeItemId *arg2 = 0 ;
25565 PyObject *result;
25566 PyObject * obj0 = 0 ;
25567 PyObject * obj1 = 0 ;
25568 char *kwnames[] = {
25569 (char *) "self",(char *) "item", NULL
25570 };
25571
25572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25575 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25576 SWIG_POINTER_EXCEPTION | 0)) == -1)
25577 SWIG_fail;
d14a1e28 25578 if (arg2 == NULL) {
15afbcd0
RD
25579 PyErr_SetString(PyExc_TypeError,"null reference");
25580 SWIG_fail;
d14a1e28
RD
25581 }
25582 {
25583 PyThreadState* __tstate = wxPyBeginAllowThreads();
25584 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25585
25586 wxPyEndAllowThreads(__tstate);
25587 if (PyErr_Occurred()) SWIG_fail;
25588 }
25589 resultobj = result;
25590 return resultobj;
25591 fail:
25592 return NULL;
25593}
25594
25595
25596static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25597 PyObject *resultobj;
25598 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25599 wxTreeItemId *arg2 = 0 ;
58203fa6 25600 void *arg3 = (void *) 0 ;
d14a1e28
RD
25601 PyObject *result;
25602 PyObject * obj0 = 0 ;
25603 PyObject * obj1 = 0 ;
25604 PyObject * obj2 = 0 ;
25605 char *kwnames[] = {
25606 (char *) "self",(char *) "item",(char *) "cookie", NULL
25607 };
25608
25609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25612 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25613 SWIG_POINTER_EXCEPTION | 0)) == -1)
25614 SWIG_fail;
d14a1e28 25615 if (arg2 == NULL) {
15afbcd0
RD
25616 PyErr_SetString(PyExc_TypeError,"null reference");
25617 SWIG_fail;
d14a1e28 25618 }
15afbcd0 25619 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25620 {
25621 PyThreadState* __tstate = wxPyBeginAllowThreads();
58203fa6 25622 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
d14a1e28
RD
25623
25624 wxPyEndAllowThreads(__tstate);
25625 if (PyErr_Occurred()) SWIG_fail;
25626 }
25627 resultobj = result;
25628 return resultobj;
25629 fail:
25630 return NULL;
25631}
25632
25633
25634static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25635 PyObject *resultobj;
25636 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25637 wxTreeItemId *arg2 = 0 ;
25638 wxTreeItemId result;
25639 PyObject * obj0 = 0 ;
25640 PyObject * obj1 = 0 ;
25641 char *kwnames[] = {
25642 (char *) "self",(char *) "item", NULL
25643 };
25644
25645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25648 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25649 SWIG_POINTER_EXCEPTION | 0)) == -1)
25650 SWIG_fail;
d14a1e28 25651 if (arg2 == NULL) {
15afbcd0
RD
25652 PyErr_SetString(PyExc_TypeError,"null reference");
25653 SWIG_fail;
d14a1e28
RD
25654 }
25655 {
25656 PyThreadState* __tstate = wxPyBeginAllowThreads();
25657 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25658
25659 wxPyEndAllowThreads(__tstate);
25660 if (PyErr_Occurred()) SWIG_fail;
25661 }
25662 {
25663 wxTreeItemId * resultptr;
25664 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25665 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25666 }
25667 return resultobj;
25668 fail:
25669 return NULL;
25670}
25671
25672
25673static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25674 PyObject *resultobj;
25675 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25676 wxTreeItemId *arg2 = 0 ;
25677 wxTreeItemId result;
25678 PyObject * obj0 = 0 ;
25679 PyObject * obj1 = 0 ;
25680 char *kwnames[] = {
25681 (char *) "self",(char *) "item", NULL
25682 };
25683
25684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25687 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25688 SWIG_POINTER_EXCEPTION | 0)) == -1)
25689 SWIG_fail;
d14a1e28 25690 if (arg2 == NULL) {
15afbcd0
RD
25691 PyErr_SetString(PyExc_TypeError,"null reference");
25692 SWIG_fail;
d14a1e28
RD
25693 }
25694 {
25695 PyThreadState* __tstate = wxPyBeginAllowThreads();
25696 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25697
25698 wxPyEndAllowThreads(__tstate);
25699 if (PyErr_Occurred()) SWIG_fail;
25700 }
25701 {
25702 wxTreeItemId * resultptr;
25703 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25704 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25705 }
25706 return resultobj;
25707 fail:
25708 return NULL;
25709}
25710
25711
25712static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25713 PyObject *resultobj;
25714 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25715 wxTreeItemId *arg2 = 0 ;
25716 wxTreeItemId result;
25717 PyObject * obj0 = 0 ;
25718 PyObject * obj1 = 0 ;
25719 char *kwnames[] = {
25720 (char *) "self",(char *) "item", NULL
25721 };
25722
25723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25726 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25727 SWIG_POINTER_EXCEPTION | 0)) == -1)
25728 SWIG_fail;
d14a1e28 25729 if (arg2 == NULL) {
15afbcd0
RD
25730 PyErr_SetString(PyExc_TypeError,"null reference");
25731 SWIG_fail;
d14a1e28
RD
25732 }
25733 {
25734 PyThreadState* __tstate = wxPyBeginAllowThreads();
25735 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25736
25737 wxPyEndAllowThreads(__tstate);
25738 if (PyErr_Occurred()) SWIG_fail;
25739 }
25740 {
25741 wxTreeItemId * resultptr;
25742 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25743 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25744 }
25745 return resultobj;
25746 fail:
25747 return NULL;
25748}
25749
25750
25751static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25752 PyObject *resultobj;
25753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25754 wxTreeItemId result;
25755 PyObject * obj0 = 0 ;
25756 char *kwnames[] = {
25757 (char *) "self", NULL
25758 };
25759
25760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
25761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25763 {
25764 PyThreadState* __tstate = wxPyBeginAllowThreads();
25765 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25766
25767 wxPyEndAllowThreads(__tstate);
25768 if (PyErr_Occurred()) SWIG_fail;
25769 }
25770 {
25771 wxTreeItemId * resultptr;
25772 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25773 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25774 }
25775 return resultobj;
25776 fail:
25777 return NULL;
25778}
25779
25780
25781static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25782 PyObject *resultobj;
25783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25784 wxTreeItemId *arg2 = 0 ;
25785 wxTreeItemId result;
25786 PyObject * obj0 = 0 ;
25787 PyObject * obj1 = 0 ;
25788 char *kwnames[] = {
25789 (char *) "self",(char *) "item", NULL
25790 };
25791
25792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) 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 {
25803 PyThreadState* __tstate = wxPyBeginAllowThreads();
25804 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25805
25806 wxPyEndAllowThreads(__tstate);
25807 if (PyErr_Occurred()) SWIG_fail;
25808 }
25809 {
25810 wxTreeItemId * resultptr;
25811 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25812 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25813 }
25814 return resultobj;
25815 fail:
25816 return NULL;
25817}
25818
25819
25820static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25821 PyObject *resultobj;
25822 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25823 wxTreeItemId *arg2 = 0 ;
25824 wxTreeItemId result;
25825 PyObject * obj0 = 0 ;
25826 PyObject * obj1 = 0 ;
25827 char *kwnames[] = {
25828 (char *) "self",(char *) "item", NULL
25829 };
25830
25831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25835 SWIG_POINTER_EXCEPTION | 0)) == -1)
25836 SWIG_fail;
d14a1e28 25837 if (arg2 == NULL) {
15afbcd0
RD
25838 PyErr_SetString(PyExc_TypeError,"null reference");
25839 SWIG_fail;
d14a1e28
RD
25840 }
25841 {
25842 PyThreadState* __tstate = wxPyBeginAllowThreads();
25843 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25844
25845 wxPyEndAllowThreads(__tstate);
25846 if (PyErr_Occurred()) SWIG_fail;
25847 }
25848 {
25849 wxTreeItemId * resultptr;
25850 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25851 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25852 }
25853 return resultobj;
25854 fail:
25855 return NULL;
25856}
25857
25858
25859static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25860 PyObject *resultobj;
25861 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25862 wxString *arg2 = 0 ;
25863 int arg3 = (int) -1 ;
25864 int arg4 = (int) -1 ;
25865 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25866 wxTreeItemId result;
e811c8ce 25867 bool temp2 = False ;
d14a1e28
RD
25868 PyObject * obj0 = 0 ;
25869 PyObject * obj1 = 0 ;
994141e6
RD
25870 PyObject * obj2 = 0 ;
25871 PyObject * obj3 = 0 ;
d14a1e28
RD
25872 PyObject * obj4 = 0 ;
25873 char *kwnames[] = {
25874 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25875 };
25876
994141e6 25877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
25878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25880 {
25881 arg2 = wxString_in_helper(obj1);
25882 if (arg2 == NULL) SWIG_fail;
e811c8ce 25883 temp2 = True;
d14a1e28 25884 }
994141e6 25885 if (obj2) {
15afbcd0
RD
25886 arg3 = (int) SWIG_AsInt(obj2);
25887 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
25888 }
25889 if (obj3) {
15afbcd0
RD
25890 arg4 = (int) SWIG_AsInt(obj3);
25891 if (PyErr_Occurred()) SWIG_fail;
994141e6 25892 }
d14a1e28 25893 if (obj4) {
15afbcd0
RD
25894 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
25895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25896 }
25897 {
25898 PyThreadState* __tstate = wxPyBeginAllowThreads();
25899 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25900
25901 wxPyEndAllowThreads(__tstate);
25902 if (PyErr_Occurred()) SWIG_fail;
25903 }
25904 {
25905 wxTreeItemId * resultptr;
25906 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25907 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25908 }
25909 {
25910 if (temp2)
25911 delete arg2;
25912 }
25913 return resultobj;
25914 fail:
25915 {
25916 if (temp2)
25917 delete arg2;
25918 }
25919 return NULL;
25920}
25921
25922
25923static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25924 PyObject *resultobj;
25925 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25926 wxTreeItemId *arg2 = 0 ;
25927 wxString *arg3 = 0 ;
25928 int arg4 = (int) -1 ;
25929 int arg5 = (int) -1 ;
25930 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25931 wxTreeItemId result;
e811c8ce 25932 bool temp3 = False ;
d14a1e28
RD
25933 PyObject * obj0 = 0 ;
25934 PyObject * obj1 = 0 ;
25935 PyObject * obj2 = 0 ;
994141e6
RD
25936 PyObject * obj3 = 0 ;
25937 PyObject * obj4 = 0 ;
d14a1e28
RD
25938 PyObject * obj5 = 0 ;
25939 char *kwnames[] = {
25940 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25941 };
25942
994141e6 25943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
25944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25947 SWIG_POINTER_EXCEPTION | 0)) == -1)
25948 SWIG_fail;
d14a1e28 25949 if (arg2 == NULL) {
15afbcd0
RD
25950 PyErr_SetString(PyExc_TypeError,"null reference");
25951 SWIG_fail;
d14a1e28
RD
25952 }
25953 {
25954 arg3 = wxString_in_helper(obj2);
25955 if (arg3 == NULL) SWIG_fail;
e811c8ce 25956 temp3 = True;
d14a1e28 25957 }
994141e6 25958 if (obj3) {
15afbcd0
RD
25959 arg4 = (int) SWIG_AsInt(obj3);
25960 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
25961 }
25962 if (obj4) {
15afbcd0
RD
25963 arg5 = (int) SWIG_AsInt(obj4);
25964 if (PyErr_Occurred()) SWIG_fail;
994141e6 25965 }
d14a1e28 25966 if (obj5) {
15afbcd0
RD
25967 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
25968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25969 }
25970 {
25971 PyThreadState* __tstate = wxPyBeginAllowThreads();
25972 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25973
25974 wxPyEndAllowThreads(__tstate);
25975 if (PyErr_Occurred()) SWIG_fail;
25976 }
25977 {
25978 wxTreeItemId * resultptr;
25979 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 25980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
25981 }
25982 {
25983 if (temp3)
25984 delete arg3;
25985 }
25986 return resultobj;
25987 fail:
25988 {
25989 if (temp3)
25990 delete arg3;
25991 }
25992 return NULL;
25993}
25994
25995
25996static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25997 PyObject *resultobj;
25998 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25999 wxTreeItemId *arg2 = 0 ;
26000 wxTreeItemId *arg3 = 0 ;
26001 wxString *arg4 = 0 ;
26002 int arg5 = (int) -1 ;
26003 int arg6 = (int) -1 ;
26004 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26005 wxTreeItemId result;
e811c8ce 26006 bool temp4 = False ;
d14a1e28
RD
26007 PyObject * obj0 = 0 ;
26008 PyObject * obj1 = 0 ;
26009 PyObject * obj2 = 0 ;
26010 PyObject * obj3 = 0 ;
994141e6
RD
26011 PyObject * obj4 = 0 ;
26012 PyObject * obj5 = 0 ;
d14a1e28
RD
26013 PyObject * obj6 = 0 ;
26014 char *kwnames[] = {
26015 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26016 };
26017
994141e6 26018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
26019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26021 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26022 SWIG_POINTER_EXCEPTION | 0)) == -1)
26023 SWIG_fail;
d14a1e28 26024 if (arg2 == NULL) {
15afbcd0
RD
26025 PyErr_SetString(PyExc_TypeError,"null reference");
26026 SWIG_fail;
d14a1e28 26027 }
15afbcd0
RD
26028 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
26029 SWIG_POINTER_EXCEPTION | 0)) == -1)
26030 SWIG_fail;
d14a1e28 26031 if (arg3 == NULL) {
15afbcd0
RD
26032 PyErr_SetString(PyExc_TypeError,"null reference");
26033 SWIG_fail;
d14a1e28
RD
26034 }
26035 {
26036 arg4 = wxString_in_helper(obj3);
26037 if (arg4 == NULL) SWIG_fail;
e811c8ce 26038 temp4 = True;
d14a1e28 26039 }
994141e6 26040 if (obj4) {
15afbcd0
RD
26041 arg5 = (int) SWIG_AsInt(obj4);
26042 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26043 }
26044 if (obj5) {
15afbcd0
RD
26045 arg6 = (int) SWIG_AsInt(obj5);
26046 if (PyErr_Occurred()) SWIG_fail;
994141e6 26047 }
d14a1e28 26048 if (obj6) {
15afbcd0
RD
26049 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26051 }
26052 {
26053 PyThreadState* __tstate = wxPyBeginAllowThreads();
26054 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26055
26056 wxPyEndAllowThreads(__tstate);
26057 if (PyErr_Occurred()) SWIG_fail;
26058 }
26059 {
26060 wxTreeItemId * resultptr;
26061 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26062 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26063 }
26064 {
26065 if (temp4)
26066 delete arg4;
26067 }
26068 return resultobj;
26069 fail:
26070 {
26071 if (temp4)
26072 delete arg4;
26073 }
26074 return NULL;
26075}
26076
26077
26078static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
26079 PyObject *resultobj;
26080 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26081 wxTreeItemId *arg2 = 0 ;
26082 size_t arg3 ;
26083 wxString *arg4 = 0 ;
26084 int arg5 = (int) -1 ;
26085 int arg6 = (int) -1 ;
26086 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26087 wxTreeItemId result;
e811c8ce 26088 bool temp4 = False ;
d14a1e28
RD
26089 PyObject * obj0 = 0 ;
26090 PyObject * obj1 = 0 ;
26091 PyObject * obj2 = 0 ;
26092 PyObject * obj3 = 0 ;
994141e6
RD
26093 PyObject * obj4 = 0 ;
26094 PyObject * obj5 = 0 ;
d14a1e28
RD
26095 PyObject * obj6 = 0 ;
26096 char *kwnames[] = {
26097 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26098 };
26099
994141e6 26100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
26101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26103 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26104 SWIG_POINTER_EXCEPTION | 0)) == -1)
26105 SWIG_fail;
d14a1e28 26106 if (arg2 == NULL) {
15afbcd0
RD
26107 PyErr_SetString(PyExc_TypeError,"null reference");
26108 SWIG_fail;
a41e16b6 26109 }
15afbcd0
RD
26110 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
26111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26112 {
26113 arg4 = wxString_in_helper(obj3);
26114 if (arg4 == NULL) SWIG_fail;
e811c8ce 26115 temp4 = True;
d14a1e28 26116 }
994141e6 26117 if (obj4) {
15afbcd0
RD
26118 arg5 = (int) SWIG_AsInt(obj4);
26119 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26120 }
26121 if (obj5) {
15afbcd0
RD
26122 arg6 = (int) SWIG_AsInt(obj5);
26123 if (PyErr_Occurred()) SWIG_fail;
994141e6 26124 }
d14a1e28 26125 if (obj6) {
15afbcd0
RD
26126 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26128 }
26129 {
26130 PyThreadState* __tstate = wxPyBeginAllowThreads();
26131 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26132
26133 wxPyEndAllowThreads(__tstate);
26134 if (PyErr_Occurred()) SWIG_fail;
26135 }
26136 {
26137 wxTreeItemId * resultptr;
26138 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26139 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26140 }
26141 {
26142 if (temp4)
26143 delete arg4;
26144 }
26145 return resultobj;
26146 fail:
26147 {
26148 if (temp4)
26149 delete arg4;
26150 }
26151 return NULL;
26152}
26153
26154
26155static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26156 PyObject *resultobj;
26157 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26158 wxTreeItemId *arg2 = 0 ;
26159 wxString *arg3 = 0 ;
26160 int arg4 = (int) -1 ;
26161 int arg5 = (int) -1 ;
26162 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26163 wxTreeItemId result;
e811c8ce 26164 bool temp3 = False ;
d14a1e28
RD
26165 PyObject * obj0 = 0 ;
26166 PyObject * obj1 = 0 ;
26167 PyObject * obj2 = 0 ;
994141e6
RD
26168 PyObject * obj3 = 0 ;
26169 PyObject * obj4 = 0 ;
d14a1e28
RD
26170 PyObject * obj5 = 0 ;
26171 char *kwnames[] = {
26172 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26173 };
26174
994141e6 26175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
26176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26179 SWIG_POINTER_EXCEPTION | 0)) == -1)
26180 SWIG_fail;
d14a1e28 26181 if (arg2 == NULL) {
15afbcd0
RD
26182 PyErr_SetString(PyExc_TypeError,"null reference");
26183 SWIG_fail;
d14a1e28
RD
26184 }
26185 {
26186 arg3 = wxString_in_helper(obj2);
26187 if (arg3 == NULL) SWIG_fail;
e811c8ce 26188 temp3 = True;
d14a1e28 26189 }
994141e6 26190 if (obj3) {
15afbcd0
RD
26191 arg4 = (int) SWIG_AsInt(obj3);
26192 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26193 }
26194 if (obj4) {
15afbcd0
RD
26195 arg5 = (int) SWIG_AsInt(obj4);
26196 if (PyErr_Occurred()) SWIG_fail;
994141e6 26197 }
d14a1e28 26198 if (obj5) {
15afbcd0
RD
26199 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26201 }
26202 {
26203 PyThreadState* __tstate = wxPyBeginAllowThreads();
26204 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26205
26206 wxPyEndAllowThreads(__tstate);
26207 if (PyErr_Occurred()) SWIG_fail;
26208 }
26209 {
26210 wxTreeItemId * resultptr;
26211 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26213 }
26214 {
26215 if (temp3)
26216 delete arg3;
26217 }
26218 return resultobj;
26219 fail:
26220 {
26221 if (temp3)
26222 delete arg3;
26223 }
26224 return NULL;
26225}
26226
26227
26228static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
26229 PyObject *resultobj;
26230 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26231 wxTreeItemId *arg2 = 0 ;
26232 PyObject * obj0 = 0 ;
26233 PyObject * obj1 = 0 ;
26234 char *kwnames[] = {
26235 (char *) "self",(char *) "item", NULL
26236 };
26237
26238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26242 SWIG_POINTER_EXCEPTION | 0)) == -1)
26243 SWIG_fail;
d14a1e28 26244 if (arg2 == NULL) {
15afbcd0
RD
26245 PyErr_SetString(PyExc_TypeError,"null reference");
26246 SWIG_fail;
d14a1e28
RD
26247 }
26248 {
26249 PyThreadState* __tstate = wxPyBeginAllowThreads();
26250 (arg1)->Delete((wxTreeItemId const &)*arg2);
26251
26252 wxPyEndAllowThreads(__tstate);
26253 if (PyErr_Occurred()) SWIG_fail;
26254 }
26255 Py_INCREF(Py_None); resultobj = Py_None;
26256 return resultobj;
26257 fail:
26258 return NULL;
26259}
26260
26261
26262static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26263 PyObject *resultobj;
26264 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26265 wxTreeItemId *arg2 = 0 ;
26266 PyObject * obj0 = 0 ;
26267 PyObject * obj1 = 0 ;
26268 char *kwnames[] = {
26269 (char *) "self",(char *) "item", NULL
26270 };
26271
26272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26275 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26276 SWIG_POINTER_EXCEPTION | 0)) == -1)
26277 SWIG_fail;
d14a1e28 26278 if (arg2 == NULL) {
15afbcd0
RD
26279 PyErr_SetString(PyExc_TypeError,"null reference");
26280 SWIG_fail;
d14a1e28
RD
26281 }
26282 {
26283 PyThreadState* __tstate = wxPyBeginAllowThreads();
26284 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
26285
26286 wxPyEndAllowThreads(__tstate);
26287 if (PyErr_Occurred()) SWIG_fail;
26288 }
26289 Py_INCREF(Py_None); resultobj = Py_None;
26290 return resultobj;
26291 fail:
26292 return NULL;
26293}
26294
26295
26296static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
26297 PyObject *resultobj;
26298 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26299 PyObject * obj0 = 0 ;
26300 char *kwnames[] = {
26301 (char *) "self", NULL
26302 };
26303
26304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
26305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26307 {
26308 PyThreadState* __tstate = wxPyBeginAllowThreads();
26309 (arg1)->DeleteAllItems();
26310
26311 wxPyEndAllowThreads(__tstate);
26312 if (PyErr_Occurred()) SWIG_fail;
26313 }
26314 Py_INCREF(Py_None); resultobj = Py_None;
26315 return resultobj;
26316 fail:
26317 return NULL;
26318}
26319
26320
26321static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
26322 PyObject *resultobj;
26323 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26324 wxTreeItemId *arg2 = 0 ;
26325 PyObject * obj0 = 0 ;
26326 PyObject * obj1 = 0 ;
26327 char *kwnames[] = {
26328 (char *) "self",(char *) "item", NULL
26329 };
26330
26331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26335 SWIG_POINTER_EXCEPTION | 0)) == -1)
26336 SWIG_fail;
d14a1e28 26337 if (arg2 == NULL) {
15afbcd0
RD
26338 PyErr_SetString(PyExc_TypeError,"null reference");
26339 SWIG_fail;
d14a1e28
RD
26340 }
26341 {
26342 PyThreadState* __tstate = wxPyBeginAllowThreads();
26343 (arg1)->Expand((wxTreeItemId const &)*arg2);
26344
26345 wxPyEndAllowThreads(__tstate);
26346 if (PyErr_Occurred()) SWIG_fail;
26347 }
26348 Py_INCREF(Py_None); resultobj = Py_None;
26349 return resultobj;
26350 fail:
26351 return NULL;
26352}
26353
26354
26355static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
26356 PyObject *resultobj;
26357 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26358 wxTreeItemId *arg2 = 0 ;
26359 PyObject * obj0 = 0 ;
26360 PyObject * obj1 = 0 ;
26361 char *kwnames[] = {
26362 (char *) "self",(char *) "item", NULL
26363 };
26364
26365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26368 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26369 SWIG_POINTER_EXCEPTION | 0)) == -1)
26370 SWIG_fail;
d14a1e28 26371 if (arg2 == NULL) {
15afbcd0
RD
26372 PyErr_SetString(PyExc_TypeError,"null reference");
26373 SWIG_fail;
d14a1e28
RD
26374 }
26375 {
26376 PyThreadState* __tstate = wxPyBeginAllowThreads();
26377 (arg1)->Collapse((wxTreeItemId const &)*arg2);
26378
26379 wxPyEndAllowThreads(__tstate);
26380 if (PyErr_Occurred()) SWIG_fail;
26381 }
26382 Py_INCREF(Py_None); resultobj = Py_None;
26383 return resultobj;
26384 fail:
26385 return NULL;
26386}
26387
26388
26389static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
26390 PyObject *resultobj;
26391 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26392 wxTreeItemId *arg2 = 0 ;
26393 PyObject * obj0 = 0 ;
26394 PyObject * obj1 = 0 ;
26395 char *kwnames[] = {
26396 (char *) "self",(char *) "item", NULL
26397 };
26398
26399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26403 SWIG_POINTER_EXCEPTION | 0)) == -1)
26404 SWIG_fail;
d14a1e28 26405 if (arg2 == NULL) {
15afbcd0
RD
26406 PyErr_SetString(PyExc_TypeError,"null reference");
26407 SWIG_fail;
d14a1e28
RD
26408 }
26409 {
26410 PyThreadState* __tstate = wxPyBeginAllowThreads();
26411 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
26412
26413 wxPyEndAllowThreads(__tstate);
26414 if (PyErr_Occurred()) SWIG_fail;
26415 }
26416 Py_INCREF(Py_None); resultobj = Py_None;
26417 return resultobj;
26418 fail:
26419 return NULL;
26420}
26421
26422
26423static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
26424 PyObject *resultobj;
26425 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26426 wxTreeItemId *arg2 = 0 ;
26427 PyObject * obj0 = 0 ;
26428 PyObject * obj1 = 0 ;
26429 char *kwnames[] = {
26430 (char *) "self",(char *) "item", NULL
26431 };
26432
26433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26437 SWIG_POINTER_EXCEPTION | 0)) == -1)
26438 SWIG_fail;
d14a1e28 26439 if (arg2 == NULL) {
15afbcd0
RD
26440 PyErr_SetString(PyExc_TypeError,"null reference");
26441 SWIG_fail;
d14a1e28
RD
26442 }
26443 {
26444 PyThreadState* __tstate = wxPyBeginAllowThreads();
26445 (arg1)->Toggle((wxTreeItemId const &)*arg2);
26446
26447 wxPyEndAllowThreads(__tstate);
26448 if (PyErr_Occurred()) SWIG_fail;
26449 }
26450 Py_INCREF(Py_None); resultobj = Py_None;
26451 return resultobj;
26452 fail:
26453 return NULL;
26454}
26455
26456
26457static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
26458 PyObject *resultobj;
26459 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26460 PyObject * obj0 = 0 ;
26461 char *kwnames[] = {
26462 (char *) "self", NULL
26463 };
26464
26465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
15afbcd0
RD
26466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26468 {
26469 PyThreadState* __tstate = wxPyBeginAllowThreads();
26470 (arg1)->Unselect();
26471
26472 wxPyEndAllowThreads(__tstate);
26473 if (PyErr_Occurred()) SWIG_fail;
26474 }
26475 Py_INCREF(Py_None); resultobj = Py_None;
26476 return resultobj;
26477 fail:
26478 return NULL;
26479}
26480
26481
3adfb63b
RD
26482static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26483 PyObject *resultobj;
26484 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26485 wxTreeItemId *arg2 = 0 ;
26486 PyObject * obj0 = 0 ;
26487 PyObject * obj1 = 0 ;
26488 char *kwnames[] = {
26489 (char *) "self",(char *) "item", NULL
26490 };
26491
26492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26495 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26496 SWIG_POINTER_EXCEPTION | 0)) == -1)
26497 SWIG_fail;
3adfb63b 26498 if (arg2 == NULL) {
15afbcd0
RD
26499 PyErr_SetString(PyExc_TypeError,"null reference");
26500 SWIG_fail;
3adfb63b
RD
26501 }
26502 {
26503 PyThreadState* __tstate = wxPyBeginAllowThreads();
26504 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26505
26506 wxPyEndAllowThreads(__tstate);
26507 if (PyErr_Occurred()) SWIG_fail;
26508 }
26509 Py_INCREF(Py_None); resultobj = Py_None;
26510 return resultobj;
26511 fail:
26512 return NULL;
26513}
26514
26515
d14a1e28
RD
26516static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
26517 PyObject *resultobj;
26518 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26519 PyObject * obj0 = 0 ;
26520 char *kwnames[] = {
26521 (char *) "self", NULL
26522 };
26523
26524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
15afbcd0
RD
26525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26527 {
26528 PyThreadState* __tstate = wxPyBeginAllowThreads();
26529 (arg1)->UnselectAll();
26530
26531 wxPyEndAllowThreads(__tstate);
26532 if (PyErr_Occurred()) SWIG_fail;
26533 }
26534 Py_INCREF(Py_None); resultobj = Py_None;
26535 return resultobj;
26536 fail:
26537 return NULL;
26538}
26539
26540
26541static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
3adfb63b
RD
26542 PyObject *resultobj;
26543 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26544 wxTreeItemId *arg2 = 0 ;
26545 bool arg3 = (bool) True ;
26546 PyObject * obj0 = 0 ;
26547 PyObject * obj1 = 0 ;
26548 PyObject * obj2 = 0 ;
26549 char *kwnames[] = {
26550 (char *) "self",(char *) "item",(char *) "select", NULL
26551 };
26552
26553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26557 SWIG_POINTER_EXCEPTION | 0)) == -1)
26558 SWIG_fail;
3adfb63b 26559 if (arg2 == NULL) {
15afbcd0
RD
26560 PyErr_SetString(PyExc_TypeError,"null reference");
26561 SWIG_fail;
3adfb63b
RD
26562 }
26563 if (obj2) {
15afbcd0
RD
26564 arg3 = (bool) SWIG_AsBool(obj2);
26565 if (PyErr_Occurred()) SWIG_fail;
3adfb63b
RD
26566 }
26567 {
26568 PyThreadState* __tstate = wxPyBeginAllowThreads();
26569 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26570
26571 wxPyEndAllowThreads(__tstate);
26572 if (PyErr_Occurred()) SWIG_fail;
26573 }
26574 Py_INCREF(Py_None); resultobj = Py_None;
26575 return resultobj;
26576 fail:
26577 return NULL;
26578}
26579
26580
26581static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26582 PyObject *resultobj;
26583 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26584 wxTreeItemId *arg2 = 0 ;
26585 PyObject * obj0 = 0 ;
26586 PyObject * obj1 = 0 ;
26587 char *kwnames[] = {
26588 (char *) "self",(char *) "item", NULL
26589 };
26590
3adfb63b 26591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26594 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26595 SWIG_POINTER_EXCEPTION | 0)) == -1)
26596 SWIG_fail;
d14a1e28 26597 if (arg2 == NULL) {
15afbcd0
RD
26598 PyErr_SetString(PyExc_TypeError,"null reference");
26599 SWIG_fail;
d14a1e28
RD
26600 }
26601 {
26602 PyThreadState* __tstate = wxPyBeginAllowThreads();
3adfb63b 26603 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
d14a1e28
RD
26604
26605 wxPyEndAllowThreads(__tstate);
26606 if (PyErr_Occurred()) SWIG_fail;
26607 }
26608 Py_INCREF(Py_None); resultobj = Py_None;
26609 return resultobj;
26610 fail:
26611 return NULL;
26612}
26613
26614
26615static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26616 PyObject *resultobj;
26617 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26618 wxTreeItemId *arg2 = 0 ;
26619 PyObject * obj0 = 0 ;
26620 PyObject * obj1 = 0 ;
26621 char *kwnames[] = {
26622 (char *) "self",(char *) "item", NULL
26623 };
26624
26625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26628 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26629 SWIG_POINTER_EXCEPTION | 0)) == -1)
26630 SWIG_fail;
d14a1e28 26631 if (arg2 == NULL) {
15afbcd0
RD
26632 PyErr_SetString(PyExc_TypeError,"null reference");
26633 SWIG_fail;
d14a1e28
RD
26634 }
26635 {
26636 PyThreadState* __tstate = wxPyBeginAllowThreads();
26637 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26638
26639 wxPyEndAllowThreads(__tstate);
26640 if (PyErr_Occurred()) SWIG_fail;
26641 }
26642 Py_INCREF(Py_None); resultobj = Py_None;
26643 return resultobj;
26644 fail:
26645 return NULL;
26646}
26647
26648
26649static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26650 PyObject *resultobj;
26651 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26652 wxTreeItemId *arg2 = 0 ;
26653 PyObject * obj0 = 0 ;
26654 PyObject * obj1 = 0 ;
26655 char *kwnames[] = {
26656 (char *) "self",(char *) "item", NULL
26657 };
26658
26659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26663 SWIG_POINTER_EXCEPTION | 0)) == -1)
26664 SWIG_fail;
d14a1e28 26665 if (arg2 == NULL) {
15afbcd0
RD
26666 PyErr_SetString(PyExc_TypeError,"null reference");
26667 SWIG_fail;
d14a1e28
RD
26668 }
26669 {
26670 PyThreadState* __tstate = wxPyBeginAllowThreads();
26671 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26672
26673 wxPyEndAllowThreads(__tstate);
26674 if (PyErr_Occurred()) SWIG_fail;
26675 }
26676 Py_INCREF(Py_None); resultobj = Py_None;
26677 return resultobj;
26678 fail:
26679 return NULL;
26680}
26681
26682
26683static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26684 PyObject *resultobj;
26685 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26686 wxTreeItemId *arg2 = 0 ;
26687 PyObject * obj0 = 0 ;
26688 PyObject * obj1 = 0 ;
26689 char *kwnames[] = {
26690 (char *) "self",(char *) "item", NULL
26691 };
26692
26693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26697 SWIG_POINTER_EXCEPTION | 0)) == -1)
26698 SWIG_fail;
d14a1e28 26699 if (arg2 == NULL) {
15afbcd0
RD
26700 PyErr_SetString(PyExc_TypeError,"null reference");
26701 SWIG_fail;
d14a1e28
RD
26702 }
26703 {
26704 PyThreadState* __tstate = wxPyBeginAllowThreads();
26705 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26706
26707 wxPyEndAllowThreads(__tstate);
26708 if (PyErr_Occurred()) SWIG_fail;
26709 }
26710 Py_INCREF(Py_None); resultobj = Py_None;
26711 return resultobj;
26712 fail:
26713 return NULL;
26714}
26715
26716
26717static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26718 PyObject *resultobj;
26719 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26720 wxTextCtrl *result;
26721 PyObject * obj0 = 0 ;
26722 char *kwnames[] = {
26723 (char *) "self", NULL
26724 };
26725
26726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
15afbcd0
RD
26727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26729 {
26730 PyThreadState* __tstate = wxPyBeginAllowThreads();
26731 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26732
26733 wxPyEndAllowThreads(__tstate);
26734 if (PyErr_Occurred()) SWIG_fail;
26735 }
26736 {
26737 resultobj = wxPyMake_wxObject(result);
26738 }
26739 return resultobj;
26740 fail:
26741 return NULL;
26742}
26743
26744
26745static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26746 PyObject *resultobj;
26747 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26748 wxTreeItemId *arg2 = 0 ;
26749 PyObject * obj0 = 0 ;
26750 PyObject * obj1 = 0 ;
26751 char *kwnames[] = {
26752 (char *) "self",(char *) "item", NULL
26753 };
26754
26755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26759 SWIG_POINTER_EXCEPTION | 0)) == -1)
26760 SWIG_fail;
d14a1e28 26761 if (arg2 == NULL) {
15afbcd0
RD
26762 PyErr_SetString(PyExc_TypeError,"null reference");
26763 SWIG_fail;
d14a1e28
RD
26764 }
26765 {
26766 PyThreadState* __tstate = wxPyBeginAllowThreads();
26767 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26768
26769 wxPyEndAllowThreads(__tstate);
26770 if (PyErr_Occurred()) SWIG_fail;
26771 }
26772 Py_INCREF(Py_None); resultobj = Py_None;
26773 return resultobj;
26774 fail:
26775 return NULL;
26776}
26777
26778
26779static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26780 PyObject *resultobj;
26781 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26782 wxPoint *arg2 = 0 ;
26783 int *arg3 = 0 ;
26784 wxTreeItemId result;
26785 wxPoint temp2 ;
26786 int temp3 ;
26787 PyObject * obj0 = 0 ;
26788 PyObject * obj1 = 0 ;
26789 char *kwnames[] = {
26790 (char *) "self",(char *) "point", NULL
26791 };
26792
26793 arg3 = &temp3;
26794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26797 {
26798 arg2 = &temp2;
26799 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26800 }
26801 {
26802 PyThreadState* __tstate = wxPyBeginAllowThreads();
26803 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26804
26805 wxPyEndAllowThreads(__tstate);
26806 if (PyErr_Occurred()) SWIG_fail;
26807 }
26808 {
26809 wxTreeItemId * resultptr;
26810 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 26811 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
26812 }
26813 {
26814 PyObject *o = PyInt_FromLong((long) (*arg3));
26815 resultobj = t_output_helper(resultobj,o);
26816 }
26817 return resultobj;
26818 fail:
26819 return NULL;
26820}
26821
26822
26823static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26824 PyObject *resultobj;
26825 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26826 wxTreeItemId *arg2 = 0 ;
e811c8ce 26827 bool arg3 = (bool) False ;
d14a1e28
RD
26828 PyObject *result;
26829 PyObject * obj0 = 0 ;
26830 PyObject * obj1 = 0 ;
26831 PyObject * obj2 = 0 ;
26832 char *kwnames[] = {
26833 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26834 };
26835
26836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26839 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26840 SWIG_POINTER_EXCEPTION | 0)) == -1)
26841 SWIG_fail;
d14a1e28 26842 if (arg2 == NULL) {
15afbcd0
RD
26843 PyErr_SetString(PyExc_TypeError,"null reference");
26844 SWIG_fail;
d14a1e28
RD
26845 }
26846 if (obj2) {
15afbcd0
RD
26847 arg3 = (bool) SWIG_AsBool(obj2);
26848 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26849 }
26850 {
26851 PyThreadState* __tstate = wxPyBeginAllowThreads();
26852 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26853
26854 wxPyEndAllowThreads(__tstate);
26855 if (PyErr_Occurred()) SWIG_fail;
26856 }
26857 resultobj = result;
26858 return resultobj;
26859 fail:
26860 return NULL;
26861}
26862
26863
74a57fcd
RD
26864static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
26865 PyObject *resultobj;
26866 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26867 wxVisualAttributes result;
26868 PyObject * obj0 = 0 ;
26869 char *kwnames[] = {
26870 (char *) "variant", NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26874 if (obj0) {
26875 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
26876 if (PyErr_Occurred()) SWIG_fail;
26877 }
26878 {
26879 PyThreadState* __tstate = wxPyBeginAllowThreads();
26880 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
26881
26882 wxPyEndAllowThreads(__tstate);
26883 if (PyErr_Occurred()) SWIG_fail;
26884 }
26885 {
26886 wxVisualAttributes * resultptr;
26887 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26888 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26889 }
26890 return resultobj;
26891 fail:
26892 return NULL;
26893}
26894
26895
d14a1e28
RD
26896static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26897 PyObject *obj;
26898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26899 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26900 Py_INCREF(obj);
26901 return Py_BuildValue((char *)"");
26902}
b2dc1044
RD
26903static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
26904 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26905 return 1;
26906}
26907
26908
26909static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26910 PyObject *pyobj;
26911
26912 {
26913#if wxUSE_UNICODE
26914 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26915#else
26916 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26917#endif
26918 }
26919 return pyobj;
26920}
26921
26922
d14a1e28
RD
26923static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26924 PyObject *resultobj;
26925 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 26926 int arg2 = (int) (int)-1 ;
d14a1e28
RD
26927 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26928 wxString *arg3 = (wxString *) &arg3_defvalue ;
26929 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26930 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26931 wxSize const &arg5_defvalue = wxDefaultSize ;
26932 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26933 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26934 wxString const &arg7_defvalue = wxPyEmptyString ;
26935 wxString *arg7 = (wxString *) &arg7_defvalue ;
26936 int arg8 = (int) 0 ;
b2dc1044 26937 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
26938 wxString *arg9 = (wxString *) &arg9_defvalue ;
26939 wxGenericDirCtrl *result;
e811c8ce 26940 bool temp3 = False ;
d14a1e28
RD
26941 wxPoint temp4 ;
26942 wxSize temp5 ;
e811c8ce
RD
26943 bool temp7 = False ;
26944 bool temp9 = False ;
d14a1e28 26945 PyObject * obj0 = 0 ;
994141e6 26946 PyObject * obj1 = 0 ;
d14a1e28
RD
26947 PyObject * obj2 = 0 ;
26948 PyObject * obj3 = 0 ;
26949 PyObject * obj4 = 0 ;
994141e6 26950 PyObject * obj5 = 0 ;
d14a1e28 26951 PyObject * obj6 = 0 ;
994141e6 26952 PyObject * obj7 = 0 ;
d14a1e28
RD
26953 PyObject * obj8 = 0 ;
26954 char *kwnames[] = {
26955 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26956 };
26957
994141e6 26958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15afbcd0
RD
26959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 26961 if (obj1) {
15afbcd0
RD
26962 arg2 = (int const) SWIG_AsInt(obj1);
26963 if (PyErr_Occurred()) SWIG_fail;
994141e6 26964 }
d14a1e28
RD
26965 if (obj2) {
26966 {
26967 arg3 = wxString_in_helper(obj2);
26968 if (arg3 == NULL) SWIG_fail;
e811c8ce 26969 temp3 = True;
d14a1e28
RD
26970 }
26971 }
26972 if (obj3) {
26973 {
26974 arg4 = &temp4;
26975 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26976 }
26977 }
26978 if (obj4) {
26979 {
26980 arg5 = &temp5;
26981 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26982 }
26983 }
994141e6 26984 if (obj5) {
15afbcd0
RD
26985 arg6 = (long) SWIG_AsLong(obj5);
26986 if (PyErr_Occurred()) SWIG_fail;
994141e6 26987 }
d14a1e28
RD
26988 if (obj6) {
26989 {
26990 arg7 = wxString_in_helper(obj6);
26991 if (arg7 == NULL) SWIG_fail;
e811c8ce 26992 temp7 = True;
d14a1e28
RD
26993 }
26994 }
994141e6 26995 if (obj7) {
15afbcd0
RD
26996 arg8 = (int) SWIG_AsInt(obj7);
26997 if (PyErr_Occurred()) SWIG_fail;
994141e6 26998 }
d14a1e28
RD
26999 if (obj8) {
27000 {
27001 arg9 = wxString_in_helper(obj8);
27002 if (arg9 == NULL) SWIG_fail;
e811c8ce 27003 temp9 = True;
d14a1e28
RD
27004 }
27005 }
27006 {
27007 PyThreadState* __tstate = wxPyBeginAllowThreads();
27008 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
27009
27010 wxPyEndAllowThreads(__tstate);
27011 if (PyErr_Occurred()) SWIG_fail;
27012 }
15afbcd0 27013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
27014 {
27015 if (temp3)
27016 delete arg3;
27017 }
27018 {
27019 if (temp7)
27020 delete arg7;
27021 }
27022 {
27023 if (temp9)
27024 delete arg9;
27025 }
27026 return resultobj;
27027 fail:
27028 {
27029 if (temp3)
27030 delete arg3;
27031 }
27032 {
27033 if (temp7)
27034 delete arg7;
27035 }
27036 {
27037 if (temp9)
27038 delete arg9;
27039 }
27040 return NULL;
27041}
27042
27043
27044static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27045 PyObject *resultobj;
27046 wxGenericDirCtrl *result;
27047 char *kwnames[] = {
27048 NULL
27049 };
27050
27051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
27052 {
27053 PyThreadState* __tstate = wxPyBeginAllowThreads();
27054 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
27055
27056 wxPyEndAllowThreads(__tstate);
27057 if (PyErr_Occurred()) SWIG_fail;
27058 }
15afbcd0 27059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
d14a1e28
RD
27060 return resultobj;
27061 fail:
27062 return NULL;
27063}
27064
27065
27066static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27067 PyObject *resultobj;
27068 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27069 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 27070 int arg3 = (int) (int)-1 ;
d14a1e28
RD
27071 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
27072 wxString *arg4 = (wxString *) &arg4_defvalue ;
27073 wxPoint const &arg5_defvalue = wxDefaultPosition ;
27074 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
27075 wxSize const &arg6_defvalue = wxDefaultSize ;
27076 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
27077 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27078 wxString const &arg8_defvalue = wxPyEmptyString ;
27079 wxString *arg8 = (wxString *) &arg8_defvalue ;
27080 int arg9 = (int) 0 ;
b2dc1044 27081 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
d14a1e28
RD
27082 wxString *arg10 = (wxString *) &arg10_defvalue ;
27083 bool result;
e811c8ce 27084 bool temp4 = False ;
d14a1e28
RD
27085 wxPoint temp5 ;
27086 wxSize temp6 ;
e811c8ce
RD
27087 bool temp8 = False ;
27088 bool temp10 = False ;
d14a1e28
RD
27089 PyObject * obj0 = 0 ;
27090 PyObject * obj1 = 0 ;
994141e6 27091 PyObject * obj2 = 0 ;
d14a1e28
RD
27092 PyObject * obj3 = 0 ;
27093 PyObject * obj4 = 0 ;
27094 PyObject * obj5 = 0 ;
994141e6 27095 PyObject * obj6 = 0 ;
d14a1e28 27096 PyObject * obj7 = 0 ;
994141e6 27097 PyObject * obj8 = 0 ;
d14a1e28
RD
27098 PyObject * obj9 = 0 ;
27099 char *kwnames[] = {
27100 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27101 };
27102
994141e6 27103 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
27104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 27108 if (obj2) {
15afbcd0
RD
27109 arg3 = (int const) SWIG_AsInt(obj2);
27110 if (PyErr_Occurred()) SWIG_fail;
994141e6 27111 }
d14a1e28
RD
27112 if (obj3) {
27113 {
27114 arg4 = wxString_in_helper(obj3);
27115 if (arg4 == NULL) SWIG_fail;
e811c8ce 27116 temp4 = True;
d14a1e28
RD
27117 }
27118 }
27119 if (obj4) {
27120 {
27121 arg5 = &temp5;
27122 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
27123 }
27124 }
27125 if (obj5) {
27126 {
27127 arg6 = &temp6;
27128 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
27129 }
27130 }
994141e6 27131 if (obj6) {
15afbcd0
RD
27132 arg7 = (long) SWIG_AsLong(obj6);
27133 if (PyErr_Occurred()) SWIG_fail;
994141e6 27134 }
d14a1e28
RD
27135 if (obj7) {
27136 {
27137 arg8 = wxString_in_helper(obj7);
27138 if (arg8 == NULL) SWIG_fail;
e811c8ce 27139 temp8 = True;
d14a1e28
RD
27140 }
27141 }
994141e6 27142 if (obj8) {
15afbcd0
RD
27143 arg9 = (int) SWIG_AsInt(obj8);
27144 if (PyErr_Occurred()) SWIG_fail;
994141e6 27145 }
d14a1e28
RD
27146 if (obj9) {
27147 {
27148 arg10 = wxString_in_helper(obj9);
27149 if (arg10 == NULL) SWIG_fail;
e811c8ce 27150 temp10 = True;
d14a1e28
RD
27151 }
27152 }
27153 {
27154 PyThreadState* __tstate = wxPyBeginAllowThreads();
27155 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
27156
27157 wxPyEndAllowThreads(__tstate);
27158 if (PyErr_Occurred()) SWIG_fail;
27159 }
4f89f6a3
RD
27160 {
27161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27162 }
d14a1e28
RD
27163 {
27164 if (temp4)
27165 delete arg4;
27166 }
27167 {
27168 if (temp8)
27169 delete arg8;
27170 }
27171 {
27172 if (temp10)
27173 delete arg10;
27174 }
27175 return resultobj;
27176 fail:
27177 {
27178 if (temp4)
27179 delete arg4;
27180 }
27181 {
27182 if (temp8)
27183 delete arg8;
27184 }
27185 {
27186 if (temp10)
27187 delete arg10;
27188 }
27189 return NULL;
27190}
27191
27192
27193static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27194 PyObject *resultobj;
27195 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27196 wxString *arg2 = 0 ;
27197 bool result;
e811c8ce 27198 bool temp2 = False ;
d14a1e28
RD
27199 PyObject * obj0 = 0 ;
27200 PyObject * obj1 = 0 ;
27201 char *kwnames[] = {
27202 (char *) "self",(char *) "path", NULL
27203 };
27204
27205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27208 {
27209 arg2 = wxString_in_helper(obj1);
27210 if (arg2 == NULL) SWIG_fail;
e811c8ce 27211 temp2 = True;
d14a1e28
RD
27212 }
27213 {
27214 PyThreadState* __tstate = wxPyBeginAllowThreads();
27215 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
27216
27217 wxPyEndAllowThreads(__tstate);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 }
4f89f6a3
RD
27220 {
27221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27222 }
d14a1e28
RD
27223 {
27224 if (temp2)
27225 delete arg2;
27226 }
27227 return resultobj;
27228 fail:
27229 {
27230 if (temp2)
27231 delete arg2;
27232 }
27233 return NULL;
27234}
27235
27236
27237static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27238 PyObject *resultobj;
27239 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27240 wxString result;
27241 PyObject * obj0 = 0 ;
27242 char *kwnames[] = {
27243 (char *) "self", NULL
27244 };
27245
27246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
27247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27249 {
27250 PyThreadState* __tstate = wxPyBeginAllowThreads();
27251 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
27252
27253 wxPyEndAllowThreads(__tstate);
27254 if (PyErr_Occurred()) SWIG_fail;
27255 }
27256 {
27257#if wxUSE_UNICODE
27258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27259#else
27260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27261#endif
27262 }
27263 return resultobj;
27264 fail:
27265 return NULL;
27266}
27267
27268
27269static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27270 PyObject *resultobj;
27271 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27272 wxString *arg2 = 0 ;
e811c8ce 27273 bool temp2 = False ;
d14a1e28
RD
27274 PyObject * obj0 = 0 ;
27275 PyObject * obj1 = 0 ;
27276 char *kwnames[] = {
27277 (char *) "self",(char *) "path", NULL
27278 };
27279
27280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27283 {
27284 arg2 = wxString_in_helper(obj1);
27285 if (arg2 == NULL) SWIG_fail;
e811c8ce 27286 temp2 = True;
d14a1e28
RD
27287 }
27288 {
27289 PyThreadState* __tstate = wxPyBeginAllowThreads();
27290 (arg1)->SetDefaultPath((wxString const &)*arg2);
27291
27292 wxPyEndAllowThreads(__tstate);
27293 if (PyErr_Occurred()) SWIG_fail;
27294 }
27295 Py_INCREF(Py_None); resultobj = Py_None;
27296 {
27297 if (temp2)
27298 delete arg2;
27299 }
27300 return resultobj;
27301 fail:
27302 {
27303 if (temp2)
27304 delete arg2;
27305 }
27306 return NULL;
27307}
27308
27309
27310static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27311 PyObject *resultobj;
27312 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27313 wxString result;
27314 PyObject * obj0 = 0 ;
27315 char *kwnames[] = {
27316 (char *) "self", NULL
27317 };
27318
27319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
27320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27322 {
27323 PyThreadState* __tstate = wxPyBeginAllowThreads();
27324 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
27325
27326 wxPyEndAllowThreads(__tstate);
27327 if (PyErr_Occurred()) SWIG_fail;
27328 }
27329 {
27330#if wxUSE_UNICODE
27331 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27332#else
27333 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27334#endif
27335 }
27336 return resultobj;
27337 fail:
27338 return NULL;
27339}
27340
27341
27342static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
27343 PyObject *resultobj;
27344 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27345 wxString result;
27346 PyObject * obj0 = 0 ;
27347 char *kwnames[] = {
27348 (char *) "self", NULL
27349 };
27350
27351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
15afbcd0
RD
27352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27354 {
27355 PyThreadState* __tstate = wxPyBeginAllowThreads();
27356 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
27357
27358 wxPyEndAllowThreads(__tstate);
27359 if (PyErr_Occurred()) SWIG_fail;
27360 }
27361 {
27362#if wxUSE_UNICODE
27363 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27364#else
27365 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27366#endif
27367 }
27368 return resultobj;
27369 fail:
27370 return NULL;
27371}
27372
27373
27374static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
27375 PyObject *resultobj;
27376 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27377 wxString *arg2 = 0 ;
e811c8ce 27378 bool temp2 = False ;
d14a1e28
RD
27379 PyObject * obj0 = 0 ;
27380 PyObject * obj1 = 0 ;
27381 char *kwnames[] = {
27382 (char *) "self",(char *) "path", NULL
27383 };
27384
27385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27388 {
27389 arg2 = wxString_in_helper(obj1);
27390 if (arg2 == NULL) SWIG_fail;
e811c8ce 27391 temp2 = True;
d14a1e28
RD
27392 }
27393 {
27394 PyThreadState* __tstate = wxPyBeginAllowThreads();
27395 (arg1)->SetPath((wxString const &)*arg2);
27396
27397 wxPyEndAllowThreads(__tstate);
27398 if (PyErr_Occurred()) SWIG_fail;
27399 }
27400 Py_INCREF(Py_None); resultobj = Py_None;
27401 {
27402 if (temp2)
27403 delete arg2;
27404 }
27405 return resultobj;
27406 fail:
27407 {
27408 if (temp2)
27409 delete arg2;
27410 }
27411 return NULL;
27412}
27413
27414
27415static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27416 PyObject *resultobj;
27417 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27418 bool arg2 ;
27419 PyObject * obj0 = 0 ;
27420 PyObject * obj1 = 0 ;
27421 char *kwnames[] = {
27422 (char *) "self",(char *) "show", NULL
27423 };
27424
27425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27428 arg2 = (bool) SWIG_AsBool(obj1);
27429 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27430 {
27431 PyThreadState* __tstate = wxPyBeginAllowThreads();
27432 (arg1)->ShowHidden(arg2);
27433
27434 wxPyEndAllowThreads(__tstate);
27435 if (PyErr_Occurred()) SWIG_fail;
27436 }
27437 Py_INCREF(Py_None); resultobj = Py_None;
27438 return resultobj;
27439 fail:
27440 return NULL;
27441}
27442
27443
27444static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
27445 PyObject *resultobj;
27446 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27447 bool result;
27448 PyObject * obj0 = 0 ;
27449 char *kwnames[] = {
27450 (char *) "self", NULL
27451 };
27452
27453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
15afbcd0
RD
27454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27456 {
27457 PyThreadState* __tstate = wxPyBeginAllowThreads();
27458 result = (bool)(arg1)->GetShowHidden();
27459
27460 wxPyEndAllowThreads(__tstate);
27461 if (PyErr_Occurred()) SWIG_fail;
27462 }
4f89f6a3
RD
27463 {
27464 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27465 }
d14a1e28
RD
27466 return resultobj;
27467 fail:
27468 return NULL;
27469}
27470
27471
27472static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27473 PyObject *resultobj;
27474 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27475 wxString result;
27476 PyObject * obj0 = 0 ;
27477 char *kwnames[] = {
27478 (char *) "self", NULL
27479 };
27480
27481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
15afbcd0
RD
27482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27484 {
27485 PyThreadState* __tstate = wxPyBeginAllowThreads();
27486 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
27487
27488 wxPyEndAllowThreads(__tstate);
27489 if (PyErr_Occurred()) SWIG_fail;
27490 }
27491 {
27492#if wxUSE_UNICODE
27493 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27494#else
27495 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27496#endif
27497 }
27498 return resultobj;
27499 fail:
27500 return NULL;
27501}
27502
27503
27504static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
27505 PyObject *resultobj;
27506 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27507 wxString *arg2 = 0 ;
e811c8ce 27508 bool temp2 = False ;
d14a1e28
RD
27509 PyObject * obj0 = 0 ;
27510 PyObject * obj1 = 0 ;
27511 char *kwnames[] = {
27512 (char *) "self",(char *) "filter", NULL
27513 };
27514
27515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27518 {
27519 arg2 = wxString_in_helper(obj1);
27520 if (arg2 == NULL) SWIG_fail;
e811c8ce 27521 temp2 = True;
d14a1e28
RD
27522 }
27523 {
27524 PyThreadState* __tstate = wxPyBeginAllowThreads();
27525 (arg1)->SetFilter((wxString const &)*arg2);
27526
27527 wxPyEndAllowThreads(__tstate);
27528 if (PyErr_Occurred()) SWIG_fail;
27529 }
27530 Py_INCREF(Py_None); resultobj = Py_None;
27531 {
27532 if (temp2)
27533 delete arg2;
27534 }
27535 return resultobj;
27536 fail:
27537 {
27538 if (temp2)
27539 delete arg2;
27540 }
27541 return NULL;
27542}
27543
27544
27545static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27546 PyObject *resultobj;
27547 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27548 int result;
27549 PyObject * obj0 = 0 ;
27550 char *kwnames[] = {
27551 (char *) "self", NULL
27552 };
27553
27554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
15afbcd0
RD
27555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27557 {
27558 PyThreadState* __tstate = wxPyBeginAllowThreads();
27559 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27560
27561 wxPyEndAllowThreads(__tstate);
27562 if (PyErr_Occurred()) SWIG_fail;
27563 }
15afbcd0 27564 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27565 return resultobj;
27566 fail:
27567 return NULL;
27568}
27569
27570
27571static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27572 PyObject *resultobj;
27573 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27574 int arg2 ;
27575 PyObject * obj0 = 0 ;
994141e6 27576 PyObject * obj1 = 0 ;
d14a1e28
RD
27577 char *kwnames[] = {
27578 (char *) "self",(char *) "n", NULL
27579 };
27580
994141e6 27581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27584 arg2 = (int) SWIG_AsInt(obj1);
27585 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27586 {
27587 PyThreadState* __tstate = wxPyBeginAllowThreads();
27588 (arg1)->SetFilterIndex(arg2);
27589
27590 wxPyEndAllowThreads(__tstate);
27591 if (PyErr_Occurred()) SWIG_fail;
27592 }
27593 Py_INCREF(Py_None); resultobj = Py_None;
27594 return resultobj;
27595 fail:
27596 return NULL;
27597}
27598
27599
27600static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
27601 PyObject *resultobj;
27602 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27603 wxTreeItemId result;
27604 PyObject * obj0 = 0 ;
27605 char *kwnames[] = {
27606 (char *) "self", NULL
27607 };
27608
27609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
15afbcd0
RD
27610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27612 {
27613 PyThreadState* __tstate = wxPyBeginAllowThreads();
27614 result = (arg1)->GetRootId();
27615
27616 wxPyEndAllowThreads(__tstate);
27617 if (PyErr_Occurred()) SWIG_fail;
27618 }
27619 {
27620 wxTreeItemId * resultptr;
27621 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27622 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27623 }
27624 return resultobj;
27625 fail:
27626 return NULL;
27627}
27628
27629
27630static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27631 PyObject *resultobj;
27632 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
b2dc1044 27633 wxPyTreeCtrl *result;
d14a1e28
RD
27634 PyObject * obj0 = 0 ;
27635 char *kwnames[] = {
27636 (char *) "self", NULL
27637 };
27638
27639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
15afbcd0
RD
27640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27642 {
27643 PyThreadState* __tstate = wxPyBeginAllowThreads();
b2dc1044 27644 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
d14a1e28
RD
27645
27646 wxPyEndAllowThreads(__tstate);
27647 if (PyErr_Occurred()) SWIG_fail;
27648 }
27649 {
27650 resultobj = wxPyMake_wxObject(result);
27651 }
27652 return resultobj;
27653 fail:
27654 return NULL;
27655}
27656
27657
27658static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27659 PyObject *resultobj;
27660 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27661 wxDirFilterListCtrl *result;
27662 PyObject * obj0 = 0 ;
27663 char *kwnames[] = {
27664 (char *) "self", NULL
27665 };
27666
27667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
15afbcd0
RD
27668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27670 {
27671 PyThreadState* __tstate = wxPyBeginAllowThreads();
27672 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27673
27674 wxPyEndAllowThreads(__tstate);
27675 if (PyErr_Occurred()) SWIG_fail;
27676 }
15afbcd0 27677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
d14a1e28
RD
27678 return resultobj;
27679 fail:
27680 return NULL;
27681}
27682
27683
27684static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27685 PyObject *resultobj;
27686 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27687 wxTreeItemId arg2 ;
27688 wxString *arg3 = 0 ;
27689 bool *arg4 = 0 ;
27690 wxTreeItemId result;
27691 wxTreeItemId *argp2 ;
e811c8ce 27692 bool temp3 = False ;
d14a1e28
RD
27693 bool temp4 ;
27694 PyObject * obj0 = 0 ;
27695 PyObject * obj1 = 0 ;
27696 PyObject * obj2 = 0 ;
27697 char *kwnames[] = {
27698 (char *) "self",(char *) "parentId",(char *) "path", NULL
27699 };
27700
27701 arg4 = &temp4;
27702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27705 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
27706 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27707 arg2 = *argp2;
d14a1e28
RD
27708 {
27709 arg3 = wxString_in_helper(obj2);
27710 if (arg3 == NULL) SWIG_fail;
e811c8ce 27711 temp3 = True;
d14a1e28
RD
27712 }
27713 {
27714 PyThreadState* __tstate = wxPyBeginAllowThreads();
27715 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27716
27717 wxPyEndAllowThreads(__tstate);
27718 if (PyErr_Occurred()) SWIG_fail;
27719 }
27720 {
27721 wxTreeItemId * resultptr;
27722 resultptr = new wxTreeItemId((wxTreeItemId &) result);
15afbcd0 27723 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
d14a1e28
RD
27724 }
27725 {
27726 PyObject *o = PyInt_FromLong((long) (*arg4));
27727 resultobj = t_output_helper(resultobj,o);
27728 }
27729 {
27730 if (temp3)
27731 delete arg3;
27732 }
27733 return resultobj;
27734 fail:
27735 {
27736 if (temp3)
27737 delete arg3;
27738 }
27739 return NULL;
27740}
27741
27742
27743static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27744 PyObject *resultobj;
27745 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27746 PyObject * obj0 = 0 ;
27747 char *kwnames[] = {
27748 (char *) "self", NULL
27749 };
27750
27751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
15afbcd0
RD
27752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27754 {
27755 PyThreadState* __tstate = wxPyBeginAllowThreads();
27756 (arg1)->DoResize();
27757
27758 wxPyEndAllowThreads(__tstate);
27759 if (PyErr_Occurred()) SWIG_fail;
27760 }
27761 Py_INCREF(Py_None); resultobj = Py_None;
27762 return resultobj;
27763 fail:
27764 return NULL;
27765}
27766
27767
27768static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27769 PyObject *resultobj;
27770 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27771 PyObject * obj0 = 0 ;
27772 char *kwnames[] = {
27773 (char *) "self", NULL
27774 };
27775
27776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
15afbcd0
RD
27777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27779 {
27780 PyThreadState* __tstate = wxPyBeginAllowThreads();
27781 (arg1)->ReCreateTree();
27782
27783 wxPyEndAllowThreads(__tstate);
27784 if (PyErr_Occurred()) SWIG_fail;
27785 }
27786 Py_INCREF(Py_None); resultobj = Py_None;
27787 return resultobj;
27788 fail:
27789 return NULL;
27790}
27791
27792
27793static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27794 PyObject *obj;
27795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27796 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27797 Py_INCREF(obj);
27798 return Py_BuildValue((char *)"");
27799}
27800static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27801 PyObject *resultobj;
27802 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
e811c8ce 27803 int arg2 = (int) (int)-1 ;
d14a1e28
RD
27804 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27805 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27806 wxSize const &arg4_defvalue = wxDefaultSize ;
27807 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27808 long arg5 = (long) 0 ;
27809 wxDirFilterListCtrl *result;
27810 wxPoint temp3 ;
27811 wxSize temp4 ;
27812 PyObject * obj0 = 0 ;
994141e6 27813 PyObject * obj1 = 0 ;
d14a1e28
RD
27814 PyObject * obj2 = 0 ;
27815 PyObject * obj3 = 0 ;
994141e6 27816 PyObject * obj4 = 0 ;
d14a1e28
RD
27817 char *kwnames[] = {
27818 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27819 };
27820
994141e6 27821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
27822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
27823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 27824 if (obj1) {
15afbcd0
RD
27825 arg2 = (int const) SWIG_AsInt(obj1);
27826 if (PyErr_Occurred()) SWIG_fail;
994141e6 27827 }
d14a1e28
RD
27828 if (obj2) {
27829 {
27830 arg3 = &temp3;
27831 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27832 }
27833 }
27834 if (obj3) {
27835 {
27836 arg4 = &temp4;
27837 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27838 }
27839 }
994141e6 27840 if (obj4) {
15afbcd0
RD
27841 arg5 = (long) SWIG_AsLong(obj4);
27842 if (PyErr_Occurred()) SWIG_fail;
994141e6 27843 }
d14a1e28
RD
27844 {
27845 PyThreadState* __tstate = wxPyBeginAllowThreads();
27846 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27847
27848 wxPyEndAllowThreads(__tstate);
27849 if (PyErr_Occurred()) SWIG_fail;
27850 }
15afbcd0 27851 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
27852 return resultobj;
27853 fail:
27854 return NULL;
27855}
27856
27857
27858static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27859 PyObject *resultobj;
27860 wxDirFilterListCtrl *result;
27861 char *kwnames[] = {
27862 NULL
27863 };
27864
27865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27866 {
27867 PyThreadState* __tstate = wxPyBeginAllowThreads();
27868 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27869
27870 wxPyEndAllowThreads(__tstate);
27871 if (PyErr_Occurred()) SWIG_fail;
27872 }
15afbcd0 27873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
d14a1e28
RD
27874 return resultobj;
27875 fail:
27876 return NULL;
27877}
27878
27879
27880static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27881 PyObject *resultobj;
27882 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27883 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
e811c8ce 27884 int arg3 = (int) (int)-1 ;
d14a1e28
RD
27885 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27886 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27887 wxSize const &arg5_defvalue = wxDefaultSize ;
27888 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27889 long arg6 = (long) 0 ;
27890 bool result;
27891 wxPoint temp4 ;
27892 wxSize temp5 ;
27893 PyObject * obj0 = 0 ;
27894 PyObject * obj1 = 0 ;
994141e6 27895 PyObject * obj2 = 0 ;
d14a1e28
RD
27896 PyObject * obj3 = 0 ;
27897 PyObject * obj4 = 0 ;
994141e6 27898 PyObject * obj5 = 0 ;
d14a1e28
RD
27899 char *kwnames[] = {
27900 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27901 };
27902
994141e6 27903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
27904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
27907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 27908 if (obj2) {
15afbcd0
RD
27909 arg3 = (int const) SWIG_AsInt(obj2);
27910 if (PyErr_Occurred()) SWIG_fail;
994141e6 27911 }
d14a1e28
RD
27912 if (obj3) {
27913 {
27914 arg4 = &temp4;
27915 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27916 }
27917 }
27918 if (obj4) {
27919 {
27920 arg5 = &temp5;
27921 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27922 }
27923 }
994141e6 27924 if (obj5) {
15afbcd0
RD
27925 arg6 = (long) SWIG_AsLong(obj5);
27926 if (PyErr_Occurred()) SWIG_fail;
994141e6 27927 }
d14a1e28
RD
27928 {
27929 PyThreadState* __tstate = wxPyBeginAllowThreads();
27930 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
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 return resultobj;
27939 fail:
27940 return NULL;
27941}
27942
27943
27944static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27945 PyObject *resultobj;
27946 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27947 wxString *arg2 = 0 ;
27948 int arg3 ;
e811c8ce 27949 bool temp2 = False ;
d14a1e28
RD
27950 PyObject * obj0 = 0 ;
27951 PyObject * obj1 = 0 ;
994141e6 27952 PyObject * obj2 = 0 ;
d14a1e28
RD
27953 char *kwnames[] = {
27954 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27955 };
27956
994141e6 27957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
27959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27960 {
27961 arg2 = wxString_in_helper(obj1);
27962 if (arg2 == NULL) SWIG_fail;
e811c8ce 27963 temp2 = True;
d14a1e28 27964 }
15afbcd0
RD
27965 arg3 = (int) SWIG_AsInt(obj2);
27966 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27967 {
27968 PyThreadState* __tstate = wxPyBeginAllowThreads();
27969 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27970
27971 wxPyEndAllowThreads(__tstate);
27972 if (PyErr_Occurred()) SWIG_fail;
27973 }
27974 Py_INCREF(Py_None); resultobj = Py_None;
27975 {
27976 if (temp2)
27977 delete arg2;
27978 }
27979 return resultobj;
27980 fail:
27981 {
27982 if (temp2)
27983 delete arg2;
27984 }
27985 return NULL;
27986}
27987
27988
27989static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27990 PyObject *obj;
27991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27992 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27993 Py_INCREF(obj);
27994 return Py_BuildValue((char *)"");
27995}
27996static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27997 PyObject *resultobj;
27998 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 27999 int arg2 ;
d14a1e28
RD
28000 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28001 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28002 wxSize const &arg4_defvalue = wxDefaultSize ;
28003 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28004 long arg5 = (long) 0 ;
28005 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28006 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28007 wxString const &arg7_defvalue = wxPyControlNameStr ;
28008 wxString *arg7 = (wxString *) &arg7_defvalue ;
28009 wxPyControl *result;
28010 wxPoint temp3 ;
28011 wxSize temp4 ;
e811c8ce 28012 bool temp7 = False ;
d14a1e28 28013 PyObject * obj0 = 0 ;
994141e6 28014 PyObject * obj1 = 0 ;
d14a1e28
RD
28015 PyObject * obj2 = 0 ;
28016 PyObject * obj3 = 0 ;
994141e6 28017 PyObject * obj4 = 0 ;
d14a1e28
RD
28018 PyObject * obj5 = 0 ;
28019 PyObject * obj6 = 0 ;
28020 char *kwnames[] = {
28021 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28022 };
28023
994141e6 28024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
28025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28027 arg2 = (int const) SWIG_AsInt(obj1);
28028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28029 if (obj2) {
28030 {
28031 arg3 = &temp3;
28032 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28033 }
28034 }
28035 if (obj3) {
28036 {
28037 arg4 = &temp4;
28038 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28039 }
28040 }
994141e6 28041 if (obj4) {
15afbcd0
RD
28042 arg5 = (long) SWIG_AsLong(obj4);
28043 if (PyErr_Occurred()) SWIG_fail;
994141e6 28044 }
d14a1e28 28045 if (obj5) {
15afbcd0
RD
28046 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
28047 SWIG_POINTER_EXCEPTION | 0)) == -1)
28048 SWIG_fail;
d14a1e28 28049 if (arg6 == NULL) {
15afbcd0
RD
28050 PyErr_SetString(PyExc_TypeError,"null reference");
28051 SWIG_fail;
d14a1e28
RD
28052 }
28053 }
28054 if (obj6) {
28055 {
28056 arg7 = wxString_in_helper(obj6);
28057 if (arg7 == NULL) SWIG_fail;
e811c8ce 28058 temp7 = True;
d14a1e28
RD
28059 }
28060 }
28061 {
28062 PyThreadState* __tstate = wxPyBeginAllowThreads();
28063 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
28064
28065 wxPyEndAllowThreads(__tstate);
28066 if (PyErr_Occurred()) SWIG_fail;
28067 }
15afbcd0 28068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
d14a1e28
RD
28069 {
28070 if (temp7)
28071 delete arg7;
28072 }
28073 return resultobj;
28074 fail:
28075 {
28076 if (temp7)
28077 delete arg7;
28078 }
28079 return NULL;
28080}
28081
28082
1cb4a8aa
RD
28083static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28084 PyObject *resultobj;
28085 wxPyControl *result;
28086 char *kwnames[] = {
28087 NULL
28088 };
28089
28090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
28091 {
28092 PyThreadState* __tstate = wxPyBeginAllowThreads();
28093 result = (wxPyControl *)new wxPyControl();
28094
28095 wxPyEndAllowThreads(__tstate);
28096 if (PyErr_Occurred()) SWIG_fail;
28097 }
28098 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
28099 return resultobj;
28100 fail:
28101 return NULL;
28102}
28103
28104
d14a1e28
RD
28105static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
28106 PyObject *resultobj;
28107 wxPyControl *arg1 = (wxPyControl *) 0 ;
28108 PyObject *arg2 = (PyObject *) 0 ;
28109 PyObject *arg3 = (PyObject *) 0 ;
28110 PyObject * obj0 = 0 ;
28111 PyObject * obj1 = 0 ;
28112 PyObject * obj2 = 0 ;
28113 char *kwnames[] = {
28114 (char *) "self",(char *) "self",(char *) "_class", NULL
28115 };
28116
28117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28120 arg2 = obj1;
28121 arg3 = obj2;
28122 {
28123 PyThreadState* __tstate = wxPyBeginAllowThreads();
28124 (arg1)->_setCallbackInfo(arg2,arg3);
28125
28126 wxPyEndAllowThreads(__tstate);
28127 if (PyErr_Occurred()) SWIG_fail;
28128 }
28129 Py_INCREF(Py_None); resultobj = Py_None;
28130 return resultobj;
28131 fail:
28132 return NULL;
28133}
28134
28135
28136static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28137 PyObject *resultobj;
28138 wxPyControl *arg1 = (wxPyControl *) 0 ;
28139 int arg2 ;
28140 int arg3 ;
28141 int arg4 ;
28142 int arg5 ;
28143 PyObject * obj0 = 0 ;
994141e6
RD
28144 PyObject * obj1 = 0 ;
28145 PyObject * obj2 = 0 ;
28146 PyObject * obj3 = 0 ;
28147 PyObject * obj4 = 0 ;
d14a1e28
RD
28148 char *kwnames[] = {
28149 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
28150 };
28151
994141e6 28152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28155 arg2 = (int) SWIG_AsInt(obj1);
28156 if (PyErr_Occurred()) SWIG_fail;
28157 arg3 = (int) SWIG_AsInt(obj2);
28158 if (PyErr_Occurred()) SWIG_fail;
28159 arg4 = (int) SWIG_AsInt(obj3);
28160 if (PyErr_Occurred()) SWIG_fail;
28161 arg5 = (int) SWIG_AsInt(obj4);
28162 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28163 {
28164 PyThreadState* __tstate = wxPyBeginAllowThreads();
28165 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
28166
28167 wxPyEndAllowThreads(__tstate);
28168 if (PyErr_Occurred()) SWIG_fail;
28169 }
28170 Py_INCREF(Py_None); resultobj = Py_None;
28171 return resultobj;
28172 fail:
28173 return NULL;
28174}
28175
28176
28177static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28178 PyObject *resultobj;
28179 wxPyControl *arg1 = (wxPyControl *) 0 ;
28180 int arg2 ;
28181 int arg3 ;
28182 int arg4 ;
28183 int arg5 ;
28184 int arg6 = (int) wxSIZE_AUTO ;
28185 PyObject * obj0 = 0 ;
994141e6
RD
28186 PyObject * obj1 = 0 ;
28187 PyObject * obj2 = 0 ;
28188 PyObject * obj3 = 0 ;
28189 PyObject * obj4 = 0 ;
28190 PyObject * obj5 = 0 ;
d14a1e28
RD
28191 char *kwnames[] = {
28192 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
28193 };
28194
994141e6 28195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
28196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28198 arg2 = (int) SWIG_AsInt(obj1);
28199 if (PyErr_Occurred()) SWIG_fail;
28200 arg3 = (int) SWIG_AsInt(obj2);
28201 if (PyErr_Occurred()) SWIG_fail;
28202 arg4 = (int) SWIG_AsInt(obj3);
28203 if (PyErr_Occurred()) SWIG_fail;
28204 arg5 = (int) SWIG_AsInt(obj4);
28205 if (PyErr_Occurred()) SWIG_fail;
994141e6 28206 if (obj5) {
15afbcd0
RD
28207 arg6 = (int) SWIG_AsInt(obj5);
28208 if (PyErr_Occurred()) SWIG_fail;
994141e6 28209 }
d14a1e28
RD
28210 {
28211 PyThreadState* __tstate = wxPyBeginAllowThreads();
28212 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
28213
28214 wxPyEndAllowThreads(__tstate);
28215 if (PyErr_Occurred()) SWIG_fail;
28216 }
28217 Py_INCREF(Py_None); resultobj = Py_None;
28218 return resultobj;
28219 fail:
28220 return NULL;
28221}
28222
28223
28224static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28225 PyObject *resultobj;
28226 wxPyControl *arg1 = (wxPyControl *) 0 ;
28227 int arg2 ;
28228 int arg3 ;
28229 PyObject * obj0 = 0 ;
994141e6
RD
28230 PyObject * obj1 = 0 ;
28231 PyObject * obj2 = 0 ;
d14a1e28
RD
28232 char *kwnames[] = {
28233 (char *) "self",(char *) "width",(char *) "height", NULL
28234 };
28235
994141e6 28236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28239 arg2 = (int) SWIG_AsInt(obj1);
28240 if (PyErr_Occurred()) SWIG_fail;
28241 arg3 = (int) SWIG_AsInt(obj2);
28242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28243 {
28244 PyThreadState* __tstate = wxPyBeginAllowThreads();
28245 (arg1)->base_DoSetClientSize(arg2,arg3);
28246
28247 wxPyEndAllowThreads(__tstate);
28248 if (PyErr_Occurred()) SWIG_fail;
28249 }
28250 Py_INCREF(Py_None); resultobj = Py_None;
28251 return resultobj;
28252 fail:
28253 return NULL;
28254}
28255
28256
28257static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28258 PyObject *resultobj;
28259 wxPyControl *arg1 = (wxPyControl *) 0 ;
28260 int arg2 ;
28261 int arg3 ;
28262 PyObject * obj0 = 0 ;
994141e6
RD
28263 PyObject * obj1 = 0 ;
28264 PyObject * obj2 = 0 ;
d14a1e28
RD
28265 char *kwnames[] = {
28266 (char *) "self",(char *) "x",(char *) "y", NULL
28267 };
28268
994141e6 28269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28272 arg2 = (int) SWIG_AsInt(obj1);
28273 if (PyErr_Occurred()) SWIG_fail;
28274 arg3 = (int) SWIG_AsInt(obj2);
28275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28276 {
28277 PyThreadState* __tstate = wxPyBeginAllowThreads();
28278 (arg1)->base_DoSetVirtualSize(arg2,arg3);
28279
28280 wxPyEndAllowThreads(__tstate);
28281 if (PyErr_Occurred()) SWIG_fail;
28282 }
28283 Py_INCREF(Py_None); resultobj = Py_None;
28284 return resultobj;
28285 fail:
28286 return NULL;
28287}
28288
28289
28290static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28291 PyObject *resultobj;
28292 wxPyControl *arg1 = (wxPyControl *) 0 ;
28293 int *arg2 = (int *) 0 ;
28294 int *arg3 = (int *) 0 ;
28295 int temp2 ;
28296 int temp3 ;
28297 PyObject * obj0 = 0 ;
28298 char *kwnames[] = {
28299 (char *) "self", NULL
28300 };
28301
28302 arg2 = &temp2;
28303 arg3 = &temp3;
28304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
28305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28307 {
28308 PyThreadState* __tstate = wxPyBeginAllowThreads();
28309 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
28310
28311 wxPyEndAllowThreads(__tstate);
28312 if (PyErr_Occurred()) SWIG_fail;
28313 }
28314 Py_INCREF(Py_None); resultobj = Py_None;
28315 {
28316 PyObject *o = PyInt_FromLong((long) (*arg2));
28317 resultobj = t_output_helper(resultobj,o);
28318 }
28319 {
28320 PyObject *o = PyInt_FromLong((long) (*arg3));
28321 resultobj = t_output_helper(resultobj,o);
28322 }
28323 return resultobj;
28324 fail:
28325 return NULL;
28326}
28327
28328
28329static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28330 PyObject *resultobj;
28331 wxPyControl *arg1 = (wxPyControl *) 0 ;
28332 int *arg2 = (int *) 0 ;
28333 int *arg3 = (int *) 0 ;
28334 int temp2 ;
28335 int temp3 ;
28336 PyObject * obj0 = 0 ;
28337 char *kwnames[] = {
28338 (char *) "self", NULL
28339 };
28340
28341 arg2 = &temp2;
28342 arg3 = &temp3;
28343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
28344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28346 {
28347 PyThreadState* __tstate = wxPyBeginAllowThreads();
28348 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
28349
28350 wxPyEndAllowThreads(__tstate);
28351 if (PyErr_Occurred()) SWIG_fail;
28352 }
28353 Py_INCREF(Py_None); resultobj = Py_None;
28354 {
28355 PyObject *o = PyInt_FromLong((long) (*arg2));
28356 resultobj = t_output_helper(resultobj,o);
28357 }
28358 {
28359 PyObject *o = PyInt_FromLong((long) (*arg3));
28360 resultobj = t_output_helper(resultobj,o);
28361 }
28362 return resultobj;
28363 fail:
28364 return NULL;
28365}
28366
28367
28368static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28369 PyObject *resultobj;
28370 wxPyControl *arg1 = (wxPyControl *) 0 ;
28371 int *arg2 = (int *) 0 ;
28372 int *arg3 = (int *) 0 ;
28373 int temp2 ;
28374 int temp3 ;
28375 PyObject * obj0 = 0 ;
28376 char *kwnames[] = {
28377 (char *) "self", NULL
28378 };
28379
28380 arg2 = &temp2;
28381 arg3 = &temp3;
28382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
28383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28385 {
28386 PyThreadState* __tstate = wxPyBeginAllowThreads();
28387 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
28388
28389 wxPyEndAllowThreads(__tstate);
28390 if (PyErr_Occurred()) SWIG_fail;
28391 }
28392 Py_INCREF(Py_None); resultobj = Py_None;
28393 {
28394 PyObject *o = PyInt_FromLong((long) (*arg2));
28395 resultobj = t_output_helper(resultobj,o);
28396 }
28397 {
28398 PyObject *o = PyInt_FromLong((long) (*arg3));
28399 resultobj = t_output_helper(resultobj,o);
28400 }
28401 return resultobj;
28402 fail:
28403 return NULL;
28404}
28405
28406
28407static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28408 PyObject *resultobj;
28409 wxPyControl *arg1 = (wxPyControl *) 0 ;
28410 wxSize result;
28411 PyObject * obj0 = 0 ;
28412 char *kwnames[] = {
28413 (char *) "self", NULL
28414 };
28415
28416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
28417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28419 {
28420 PyThreadState* __tstate = wxPyBeginAllowThreads();
28421 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
28422
28423 wxPyEndAllowThreads(__tstate);
28424 if (PyErr_Occurred()) SWIG_fail;
28425 }
28426 {
28427 wxSize * resultptr;
28428 resultptr = new wxSize((wxSize &) result);
15afbcd0 28429 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
28430 }
28431 return resultobj;
28432 fail:
28433 return NULL;
28434}
28435
28436
28437static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28438 PyObject *resultobj;
28439 wxPyControl *arg1 = (wxPyControl *) 0 ;
28440 wxSize result;
28441 PyObject * obj0 = 0 ;
28442 char *kwnames[] = {
28443 (char *) "self", NULL
28444 };
28445
28446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
28447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28449 {
28450 PyThreadState* __tstate = wxPyBeginAllowThreads();
28451 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
28452
28453 wxPyEndAllowThreads(__tstate);
28454 if (PyErr_Occurred()) SWIG_fail;
28455 }
28456 {
28457 wxSize * resultptr;
28458 resultptr = new wxSize((wxSize &) result);
15afbcd0 28459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
28460 }
28461 return resultobj;
28462 fail:
28463 return NULL;
28464}
28465
28466
28467static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
28468 PyObject *resultobj;
28469 wxPyControl *arg1 = (wxPyControl *) 0 ;
28470 PyObject * obj0 = 0 ;
28471 char *kwnames[] = {
28472 (char *) "self", NULL
28473 };
28474
28475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
15afbcd0
RD
28476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28478 {
28479 PyThreadState* __tstate = wxPyBeginAllowThreads();
28480 (arg1)->base_InitDialog();
28481
28482 wxPyEndAllowThreads(__tstate);
28483 if (PyErr_Occurred()) SWIG_fail;
28484 }
28485 Py_INCREF(Py_None); resultobj = Py_None;
28486 return resultobj;
28487 fail:
28488 return NULL;
28489}
28490
28491
28492static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28493 PyObject *resultobj;
28494 wxPyControl *arg1 = (wxPyControl *) 0 ;
28495 bool result;
28496 PyObject * obj0 = 0 ;
28497 char *kwnames[] = {
28498 (char *) "self", NULL
28499 };
28500
28501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28504 {
28505 PyThreadState* __tstate = wxPyBeginAllowThreads();
28506 result = (bool)(arg1)->base_TransferDataToWindow();
28507
28508 wxPyEndAllowThreads(__tstate);
28509 if (PyErr_Occurred()) SWIG_fail;
28510 }
4f89f6a3
RD
28511 {
28512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28513 }
d14a1e28
RD
28514 return resultobj;
28515 fail:
28516 return NULL;
28517}
28518
28519
28520static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
28521 PyObject *resultobj;
28522 wxPyControl *arg1 = (wxPyControl *) 0 ;
28523 bool result;
28524 PyObject * obj0 = 0 ;
28525 char *kwnames[] = {
28526 (char *) "self", NULL
28527 };
28528
28529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
28530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28532 {
28533 PyThreadState* __tstate = wxPyBeginAllowThreads();
28534 result = (bool)(arg1)->base_TransferDataFromWindow();
28535
28536 wxPyEndAllowThreads(__tstate);
28537 if (PyErr_Occurred()) SWIG_fail;
28538 }
4f89f6a3
RD
28539 {
28540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28541 }
d14a1e28
RD
28542 return resultobj;
28543 fail:
28544 return NULL;
28545}
28546
28547
28548static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28549 PyObject *resultobj;
28550 wxPyControl *arg1 = (wxPyControl *) 0 ;
28551 bool result;
28552 PyObject * obj0 = 0 ;
28553 char *kwnames[] = {
28554 (char *) "self", NULL
28555 };
28556
28557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
15afbcd0
RD
28558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28560 {
28561 PyThreadState* __tstate = wxPyBeginAllowThreads();
28562 result = (bool)(arg1)->base_Validate();
28563
28564 wxPyEndAllowThreads(__tstate);
28565 if (PyErr_Occurred()) SWIG_fail;
28566 }
4f89f6a3
RD
28567 {
28568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28569 }
d14a1e28
RD
28570 return resultobj;
28571 fail:
28572 return NULL;
28573}
28574
28575
28576static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
28577 PyObject *resultobj;
28578 wxPyControl *arg1 = (wxPyControl *) 0 ;
28579 bool result;
28580 PyObject * obj0 = 0 ;
28581 char *kwnames[] = {
28582 (char *) "self", NULL
28583 };
28584
28585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
28586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28588 {
28589 PyThreadState* __tstate = wxPyBeginAllowThreads();
28590 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28591
28592 wxPyEndAllowThreads(__tstate);
28593 if (PyErr_Occurred()) SWIG_fail;
28594 }
4f89f6a3
RD
28595 {
28596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28597 }
d14a1e28
RD
28598 return resultobj;
28599 fail:
28600 return NULL;
28601}
28602
28603
28604static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
28605 PyObject *resultobj;
28606 wxPyControl *arg1 = (wxPyControl *) 0 ;
28607 bool result;
28608 PyObject * obj0 = 0 ;
28609 char *kwnames[] = {
28610 (char *) "self", NULL
28611 };
28612
28613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
28614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28616 {
28617 PyThreadState* __tstate = wxPyBeginAllowThreads();
28618 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28619
28620 wxPyEndAllowThreads(__tstate);
28621 if (PyErr_Occurred()) SWIG_fail;
28622 }
4f89f6a3
RD
28623 {
28624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28625 }
d14a1e28
RD
28626 return resultobj;
28627 fail:
28628 return NULL;
28629}
28630
28631
28632static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28633 PyObject *resultobj;
28634 wxPyControl *arg1 = (wxPyControl *) 0 ;
28635 wxSize result;
28636 PyObject * obj0 = 0 ;
28637 char *kwnames[] = {
28638 (char *) "self", NULL
28639 };
28640
28641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
28642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28644 {
28645 PyThreadState* __tstate = wxPyBeginAllowThreads();
28646 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28647
28648 wxPyEndAllowThreads(__tstate);
28649 if (PyErr_Occurred()) SWIG_fail;
28650 }
28651 {
28652 wxSize * resultptr;
28653 resultptr = new wxSize((wxSize &) result);
15afbcd0 28654 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
28655 }
28656 return resultobj;
28657 fail:
28658 return NULL;
28659}
28660
28661
28662static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28663 PyObject *resultobj;
28664 wxPyControl *arg1 = (wxPyControl *) 0 ;
28665 wxWindow *arg2 = (wxWindow *) 0 ;
28666 PyObject * obj0 = 0 ;
28667 PyObject * obj1 = 0 ;
28668 char *kwnames[] = {
28669 (char *) "self",(char *) "child", NULL
28670 };
28671
28672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28675 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28677 {
28678 PyThreadState* __tstate = wxPyBeginAllowThreads();
28679 (arg1)->base_AddChild(arg2);
28680
28681 wxPyEndAllowThreads(__tstate);
28682 if (PyErr_Occurred()) SWIG_fail;
28683 }
28684 Py_INCREF(Py_None); resultobj = Py_None;
28685 return resultobj;
28686 fail:
28687 return NULL;
28688}
28689
28690
28691static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28692 PyObject *resultobj;
28693 wxPyControl *arg1 = (wxPyControl *) 0 ;
28694 wxWindow *arg2 = (wxWindow *) 0 ;
28695 PyObject * obj0 = 0 ;
28696 PyObject * obj1 = 0 ;
28697 char *kwnames[] = {
28698 (char *) "self",(char *) "child", NULL
28699 };
28700
28701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28706 {
28707 PyThreadState* __tstate = wxPyBeginAllowThreads();
28708 (arg1)->base_RemoveChild(arg2);
28709
28710 wxPyEndAllowThreads(__tstate);
28711 if (PyErr_Occurred()) SWIG_fail;
28712 }
28713 Py_INCREF(Py_None); resultobj = Py_None;
28714 return resultobj;
28715 fail:
28716 return NULL;
28717}
28718
28719
1cb4a8aa
RD
28720static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
28721 PyObject *resultobj;
28722 wxPyControl *arg1 = (wxPyControl *) 0 ;
28723 bool result;
28724 PyObject * obj0 = 0 ;
28725 char *kwnames[] = {
28726 (char *) "self", NULL
28727 };
28728
28729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
28730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28732 {
28733 PyThreadState* __tstate = wxPyBeginAllowThreads();
28734 result = (bool)(arg1)->base_ShouldInheritColours();
28735
28736 wxPyEndAllowThreads(__tstate);
28737 if (PyErr_Occurred()) SWIG_fail;
28738 }
28739 {
28740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28741 }
28742 return resultobj;
28743 fail:
28744 return NULL;
28745}
28746
28747
28748static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
28749 PyObject *resultobj;
28750 wxPyControl *arg1 = (wxPyControl *) 0 ;
28751 wxColour *arg2 = 0 ;
28752 wxColour temp2 ;
28753 PyObject * obj0 = 0 ;
28754 PyObject * obj1 = 0 ;
28755 char *kwnames[] = {
28756 (char *) "self",(char *) "c", NULL
28757 };
28758
28759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
28760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
28761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28762 {
28763 arg2 = &temp2;
28764 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
28765 }
28766 {
28767 PyThreadState* __tstate = wxPyBeginAllowThreads();
28768 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
28769
28770 wxPyEndAllowThreads(__tstate);
28771 if (PyErr_Occurred()) SWIG_fail;
28772 }
28773 Py_INCREF(Py_None); resultobj = Py_None;
28774 return resultobj;
28775 fail:
28776 return NULL;
28777}
28778
28779
d14a1e28
RD
28780static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28781 PyObject *obj;
28782 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28783 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28784 Py_INCREF(obj);
28785 return Py_BuildValue((char *)"");
28786}
28787static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28788 PyObject *resultobj;
28789 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 28790 int arg2 = (int) 0 ;
d14a1e28
RD
28791 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28792 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28793 wxHelpEvent *result;
28794 wxPoint temp3 ;
994141e6
RD
28795 PyObject * obj0 = 0 ;
28796 PyObject * obj1 = 0 ;
d14a1e28
RD
28797 PyObject * obj2 = 0 ;
28798 char *kwnames[] = {
28799 (char *) "type",(char *) "winid",(char *) "pt", NULL
28800 };
28801
994141e6
RD
28802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28803 if (obj0) {
15afbcd0
RD
28804 arg1 = (wxEventType) SWIG_AsInt(obj0);
28805 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
28806 }
28807 if (obj1) {
15afbcd0
RD
28808 arg2 = (int) SWIG_AsInt(obj1);
28809 if (PyErr_Occurred()) SWIG_fail;
994141e6 28810 }
d14a1e28
RD
28811 if (obj2) {
28812 {
28813 arg3 = &temp3;
28814 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28815 }
28816 }
28817 {
28818 PyThreadState* __tstate = wxPyBeginAllowThreads();
28819 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28820
28821 wxPyEndAllowThreads(__tstate);
28822 if (PyErr_Occurred()) SWIG_fail;
28823 }
15afbcd0 28824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
d14a1e28
RD
28825 return resultobj;
28826 fail:
28827 return NULL;
28828}
28829
28830
28831static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28832 PyObject *resultobj;
28833 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
15afbcd0 28834 wxPoint result;
d14a1e28
RD
28835 PyObject * obj0 = 0 ;
28836 char *kwnames[] = {
28837 (char *) "self", NULL
28838 };
28839
28840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
28841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28843 {
28844 PyThreadState* __tstate = wxPyBeginAllowThreads();
15afbcd0 28845 result = ((wxHelpEvent const *)arg1)->GetPosition();
d14a1e28
RD
28846
28847 wxPyEndAllowThreads(__tstate);
28848 if (PyErr_Occurred()) SWIG_fail;
28849 }
15afbcd0
RD
28850 {
28851 wxPoint * resultptr;
28852 resultptr = new wxPoint((wxPoint &) result);
28853 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
28854 }
d14a1e28
RD
28855 return resultobj;
28856 fail:
28857 return NULL;
28858}
28859
28860
28861static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28862 PyObject *resultobj;
28863 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28864 wxPoint *arg2 = 0 ;
28865 wxPoint temp2 ;
28866 PyObject * obj0 = 0 ;
28867 PyObject * obj1 = 0 ;
28868 char *kwnames[] = {
28869 (char *) "self",(char *) "pos", NULL
28870 };
28871
28872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28875 {
28876 arg2 = &temp2;
28877 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28878 }
28879 {
28880 PyThreadState* __tstate = wxPyBeginAllowThreads();
28881 (arg1)->SetPosition((wxPoint const &)*arg2);
28882
28883 wxPyEndAllowThreads(__tstate);
28884 if (PyErr_Occurred()) SWIG_fail;
28885 }
28886 Py_INCREF(Py_None); resultobj = Py_None;
28887 return resultobj;
28888 fail:
28889 return NULL;
28890}
28891
28892
28893static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28894 PyObject *resultobj;
28895 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28896 wxString *result;
28897 PyObject * obj0 = 0 ;
28898 char *kwnames[] = {
28899 (char *) "self", NULL
28900 };
28901
28902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
15afbcd0
RD
28903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28905 {
28906 PyThreadState* __tstate = wxPyBeginAllowThreads();
28907 {
28908 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28909 result = (wxString *) &_result_ref;
28910 }
28911
28912 wxPyEndAllowThreads(__tstate);
28913 if (PyErr_Occurred()) SWIG_fail;
28914 }
cc6dd355
RD
28915 {
28916#if wxUSE_UNICODE
28917 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28918#else
28919 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28920#endif
28921 }
d14a1e28
RD
28922 return resultobj;
28923 fail:
28924 return NULL;
28925}
28926
28927
28928static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28929 PyObject *resultobj;
28930 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28931 wxString *arg2 = 0 ;
e811c8ce 28932 bool temp2 = False ;
d14a1e28
RD
28933 PyObject * obj0 = 0 ;
28934 PyObject * obj1 = 0 ;
28935 char *kwnames[] = {
28936 (char *) "self",(char *) "link", NULL
28937 };
28938
28939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28942 {
28943 arg2 = wxString_in_helper(obj1);
28944 if (arg2 == NULL) SWIG_fail;
e811c8ce 28945 temp2 = True;
d14a1e28
RD
28946 }
28947 {
28948 PyThreadState* __tstate = wxPyBeginAllowThreads();
28949 (arg1)->SetLink((wxString const &)*arg2);
28950
28951 wxPyEndAllowThreads(__tstate);
28952 if (PyErr_Occurred()) SWIG_fail;
28953 }
28954 Py_INCREF(Py_None); resultobj = Py_None;
28955 {
28956 if (temp2)
28957 delete arg2;
28958 }
28959 return resultobj;
28960 fail:
28961 {
28962 if (temp2)
28963 delete arg2;
28964 }
28965 return NULL;
28966}
28967
28968
28969static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28970 PyObject *resultobj;
28971 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28972 wxString *result;
28973 PyObject * obj0 = 0 ;
28974 char *kwnames[] = {
28975 (char *) "self", NULL
28976 };
28977
28978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
28979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
28980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28981 {
28982 PyThreadState* __tstate = wxPyBeginAllowThreads();
28983 {
28984 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28985 result = (wxString *) &_result_ref;
28986 }
28987
28988 wxPyEndAllowThreads(__tstate);
28989 if (PyErr_Occurred()) SWIG_fail;
28990 }
cc6dd355
RD
28991 {
28992#if wxUSE_UNICODE
28993 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28994#else
28995 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28996#endif
28997 }
d14a1e28
RD
28998 return resultobj;
28999 fail:
29000 return NULL;
29001}
29002
29003
29004static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29005 PyObject *resultobj;
29006 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29007 wxString *arg2 = 0 ;
e811c8ce 29008 bool temp2 = False ;
d14a1e28
RD
29009 PyObject * obj0 = 0 ;
29010 PyObject * obj1 = 0 ;
29011 char *kwnames[] = {
29012 (char *) "self",(char *) "target", NULL
29013 };
29014
29015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29018 {
29019 arg2 = wxString_in_helper(obj1);
29020 if (arg2 == NULL) SWIG_fail;
e811c8ce 29021 temp2 = True;
d14a1e28
RD
29022 }
29023 {
29024 PyThreadState* __tstate = wxPyBeginAllowThreads();
29025 (arg1)->SetTarget((wxString const &)*arg2);
29026
29027 wxPyEndAllowThreads(__tstate);
29028 if (PyErr_Occurred()) SWIG_fail;
29029 }
29030 Py_INCREF(Py_None); resultobj = Py_None;
29031 {
29032 if (temp2)
29033 delete arg2;
29034 }
29035 return resultobj;
29036 fail:
29037 {
29038 if (temp2)
29039 delete arg2;
29040 }
29041 return NULL;
29042}
29043
29044
29045static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
29046 PyObject *obj;
29047 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29048 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
29049 Py_INCREF(obj);
29050 return Py_BuildValue((char *)"");
29051}
29052static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29053 PyObject *resultobj;
29054 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 29055 bool arg2 = (bool) True ;
d14a1e28
RD
29056 wxContextHelp *result;
29057 PyObject * obj0 = 0 ;
29058 PyObject * obj1 = 0 ;
29059 char *kwnames[] = {
29060 (char *) "window",(char *) "doNow", NULL
29061 };
29062
29063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
29064 if (obj0) {
15afbcd0
RD
29065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29067 }
29068 if (obj1) {
15afbcd0
RD
29069 arg2 = (bool) SWIG_AsBool(obj1);
29070 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29071 }
29072 {
29073 PyThreadState* __tstate = wxPyBeginAllowThreads();
29074 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
29075
29076 wxPyEndAllowThreads(__tstate);
29077 if (PyErr_Occurred()) SWIG_fail;
29078 }
15afbcd0 29079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
d14a1e28
RD
29080 return resultobj;
29081 fail:
29082 return NULL;
29083}
29084
29085
29086static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29087 PyObject *resultobj;
29088 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29089 PyObject * obj0 = 0 ;
29090 char *kwnames[] = {
29091 (char *) "self", NULL
29092 };
29093
29094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
29095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29097 {
29098 PyThreadState* __tstate = wxPyBeginAllowThreads();
29099 delete arg1;
29100
29101 wxPyEndAllowThreads(__tstate);
29102 if (PyErr_Occurred()) SWIG_fail;
29103 }
29104 Py_INCREF(Py_None); resultobj = Py_None;
29105 return resultobj;
29106 fail:
29107 return NULL;
29108}
29109
29110
29111static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29112 PyObject *resultobj;
29113 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29114 wxWindow *arg2 = (wxWindow *) NULL ;
29115 bool result;
29116 PyObject * obj0 = 0 ;
29117 PyObject * obj1 = 0 ;
29118 char *kwnames[] = {
29119 (char *) "self",(char *) "window", NULL
29120 };
29121
29122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 29125 if (obj1) {
15afbcd0
RD
29126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29128 }
29129 {
29130 PyThreadState* __tstate = wxPyBeginAllowThreads();
29131 result = (bool)(arg1)->BeginContextHelp(arg2);
29132
29133 wxPyEndAllowThreads(__tstate);
29134 if (PyErr_Occurred()) SWIG_fail;
29135 }
4f89f6a3
RD
29136 {
29137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29138 }
d14a1e28
RD
29139 return resultobj;
29140 fail:
29141 return NULL;
29142}
29143
29144
29145static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29146 PyObject *resultobj;
29147 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
29148 bool result;
29149 PyObject * obj0 = 0 ;
29150 char *kwnames[] = {
29151 (char *) "self", NULL
29152 };
29153
29154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
29155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
29156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29157 {
29158 PyThreadState* __tstate = wxPyBeginAllowThreads();
29159 result = (bool)(arg1)->EndContextHelp();
29160
29161 wxPyEndAllowThreads(__tstate);
29162 if (PyErr_Occurred()) SWIG_fail;
29163 }
4f89f6a3
RD
29164 {
29165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29166 }
d14a1e28
RD
29167 return resultobj;
29168 fail:
29169 return NULL;
29170}
29171
29172
29173static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
29174 PyObject *obj;
29175 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29176 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
29177 Py_INCREF(obj);
29178 return Py_BuildValue((char *)"");
29179}
29180static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
29181 PyObject *resultobj;
29182 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 29183 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
29184 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29185 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29186 wxSize const &arg4_defvalue = wxDefaultSize ;
29187 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29188 long arg5 = (long) wxBU_AUTODRAW ;
29189 wxContextHelpButton *result;
29190 wxPoint temp3 ;
29191 wxSize temp4 ;
29192 PyObject * obj0 = 0 ;
994141e6 29193 PyObject * obj1 = 0 ;
d14a1e28
RD
29194 PyObject * obj2 = 0 ;
29195 PyObject * obj3 = 0 ;
994141e6 29196 PyObject * obj4 = 0 ;
d14a1e28
RD
29197 char *kwnames[] = {
29198 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29199 };
29200
994141e6 29201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 29204 if (obj1) {
15afbcd0
RD
29205 arg2 = (int) SWIG_AsInt(obj1);
29206 if (PyErr_Occurred()) SWIG_fail;
994141e6 29207 }
d14a1e28
RD
29208 if (obj2) {
29209 {
29210 arg3 = &temp3;
29211 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29212 }
29213 }
29214 if (obj3) {
29215 {
29216 arg4 = &temp4;
29217 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29218 }
29219 }
994141e6 29220 if (obj4) {
15afbcd0
RD
29221 arg5 = (long) SWIG_AsLong(obj4);
29222 if (PyErr_Occurred()) SWIG_fail;
994141e6 29223 }
d14a1e28
RD
29224 {
29225 PyThreadState* __tstate = wxPyBeginAllowThreads();
29226 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29227
29228 wxPyEndAllowThreads(__tstate);
29229 if (PyErr_Occurred()) SWIG_fail;
29230 }
15afbcd0 29231 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
d14a1e28
RD
29232 return resultobj;
29233 fail:
29234 return NULL;
29235}
29236
29237
29238static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
29239 PyObject *obj;
29240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29241 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
29242 Py_INCREF(obj);
29243 return Py_BuildValue((char *)"");
29244}
29245static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
29246 PyObject *resultobj;
29247 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29248 wxHelpProvider *result;
29249 PyObject * obj0 = 0 ;
29250 char *kwnames[] = {
29251 (char *) "helpProvider", NULL
29252 };
29253
29254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
15afbcd0
RD
29255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29257 {
29258 PyThreadState* __tstate = wxPyBeginAllowThreads();
29259 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
29260
29261 wxPyEndAllowThreads(__tstate);
29262 if (PyErr_Occurred()) SWIG_fail;
29263 }
15afbcd0 29264 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
29265 return resultobj;
29266 fail:
29267 return NULL;
29268}
29269
29270
29271static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
29272 PyObject *resultobj;
29273 wxHelpProvider *result;
29274 char *kwnames[] = {
29275 NULL
29276 };
29277
29278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
29279 {
29280 PyThreadState* __tstate = wxPyBeginAllowThreads();
29281 result = (wxHelpProvider *)wxHelpProvider::Get();
29282
29283 wxPyEndAllowThreads(__tstate);
29284 if (PyErr_Occurred()) SWIG_fail;
29285 }
15afbcd0 29286 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
d14a1e28
RD
29287 return resultobj;
29288 fail:
29289 return NULL;
29290}
29291
29292
29293static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29294 PyObject *resultobj;
29295 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29296 wxWindow *arg2 = (wxWindow *) 0 ;
29297 wxString result;
29298 PyObject * obj0 = 0 ;
29299 PyObject * obj1 = 0 ;
29300 char *kwnames[] = {
29301 (char *) "self",(char *) "window", NULL
29302 };
29303
29304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29309 {
29310 PyThreadState* __tstate = wxPyBeginAllowThreads();
29311 result = (arg1)->GetHelp((wxWindow const *)arg2);
29312
29313 wxPyEndAllowThreads(__tstate);
29314 if (PyErr_Occurred()) SWIG_fail;
29315 }
29316 {
29317#if wxUSE_UNICODE
29318 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29319#else
29320 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29321#endif
29322 }
29323 return resultobj;
29324 fail:
29325 return NULL;
29326}
29327
29328
29329static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29330 PyObject *resultobj;
29331 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29332 wxWindow *arg2 = (wxWindow *) 0 ;
29333 bool result;
29334 PyObject * obj0 = 0 ;
29335 PyObject * obj1 = 0 ;
29336 char *kwnames[] = {
29337 (char *) "self",(char *) "window", NULL
29338 };
29339
29340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29345 {
29346 PyThreadState* __tstate = wxPyBeginAllowThreads();
29347 result = (bool)(arg1)->ShowHelp(arg2);
29348
29349 wxPyEndAllowThreads(__tstate);
29350 if (PyErr_Occurred()) SWIG_fail;
29351 }
4f89f6a3
RD
29352 {
29353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29354 }
d14a1e28
RD
29355 return resultobj;
29356 fail:
29357 return NULL;
29358}
29359
29360
29361static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29362 PyObject *resultobj;
29363 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29364 wxWindow *arg2 = (wxWindow *) 0 ;
29365 wxString *arg3 = 0 ;
e811c8ce 29366 bool temp3 = False ;
d14a1e28
RD
29367 PyObject * obj0 = 0 ;
29368 PyObject * obj1 = 0 ;
29369 PyObject * obj2 = 0 ;
29370 char *kwnames[] = {
29371 (char *) "self",(char *) "window",(char *) "text", NULL
29372 };
29373
29374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29379 {
29380 arg3 = wxString_in_helper(obj2);
29381 if (arg3 == NULL) SWIG_fail;
e811c8ce 29382 temp3 = True;
d14a1e28
RD
29383 }
29384 {
29385 PyThreadState* __tstate = wxPyBeginAllowThreads();
29386 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29387
29388 wxPyEndAllowThreads(__tstate);
29389 if (PyErr_Occurred()) SWIG_fail;
29390 }
29391 Py_INCREF(Py_None); resultobj = Py_None;
29392 {
29393 if (temp3)
29394 delete arg3;
29395 }
29396 return resultobj;
29397 fail:
29398 {
29399 if (temp3)
29400 delete arg3;
29401 }
29402 return NULL;
29403}
29404
29405
29406static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
29407 PyObject *resultobj;
29408 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
e811c8ce 29409 int arg2 ;
d14a1e28 29410 wxString *arg3 = 0 ;
e811c8ce 29411 bool temp3 = False ;
d14a1e28 29412 PyObject * obj0 = 0 ;
994141e6 29413 PyObject * obj1 = 0 ;
d14a1e28
RD
29414 PyObject * obj2 = 0 ;
29415 char *kwnames[] = {
29416 (char *) "self",(char *) "id",(char *) "text", NULL
29417 };
29418
994141e6 29419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29422 arg2 = (int) SWIG_AsInt(obj1);
29423 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29424 {
29425 arg3 = wxString_in_helper(obj2);
29426 if (arg3 == NULL) SWIG_fail;
e811c8ce 29427 temp3 = True;
d14a1e28
RD
29428 }
29429 {
29430 PyThreadState* __tstate = wxPyBeginAllowThreads();
29431 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
29432
29433 wxPyEndAllowThreads(__tstate);
29434 if (PyErr_Occurred()) SWIG_fail;
29435 }
29436 Py_INCREF(Py_None); resultobj = Py_None;
29437 {
29438 if (temp3)
29439 delete arg3;
29440 }
29441 return resultobj;
29442 fail:
29443 {
29444 if (temp3)
29445 delete arg3;
29446 }
29447 return NULL;
29448}
29449
29450
15afbcd0
RD
29451static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
29452 PyObject *resultobj;
29453 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29454 wxWindow *arg2 = (wxWindow *) 0 ;
29455 PyObject * obj0 = 0 ;
29456 PyObject * obj1 = 0 ;
29457 char *kwnames[] = {
29458 (char *) "self",(char *) "window", NULL
29459 };
29460
29461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
29462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29464 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29466 {
29467 PyThreadState* __tstate = wxPyBeginAllowThreads();
29468 (arg1)->RemoveHelp(arg2);
29469
29470 wxPyEndAllowThreads(__tstate);
29471 if (PyErr_Occurred()) SWIG_fail;
29472 }
29473 Py_INCREF(Py_None); resultobj = Py_None;
29474 return resultobj;
29475 fail:
29476 return NULL;
29477}
29478
29479
d14a1e28
RD
29480static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
29481 PyObject *resultobj;
29482 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
29483 PyObject * obj0 = 0 ;
29484 char *kwnames[] = {
29485 (char *) "self", NULL
29486 };
29487
29488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
29489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
29490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29491 {
29492 PyThreadState* __tstate = wxPyBeginAllowThreads();
29493 wxHelpProvider_Destroy(arg1);
29494
29495 wxPyEndAllowThreads(__tstate);
29496 if (PyErr_Occurred()) SWIG_fail;
29497 }
29498 Py_INCREF(Py_None); resultobj = Py_None;
29499 return resultobj;
29500 fail:
29501 return NULL;
29502}
29503
29504
29505static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
29506 PyObject *obj;
29507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29508 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
29509 Py_INCREF(obj);
29510 return Py_BuildValue((char *)"");
29511}
29512static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
29513 PyObject *resultobj;
29514 wxSimpleHelpProvider *result;
29515 char *kwnames[] = {
29516 NULL
29517 };
29518
29519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
29520 {
29521 PyThreadState* __tstate = wxPyBeginAllowThreads();
29522 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
29523
29524 wxPyEndAllowThreads(__tstate);
29525 if (PyErr_Occurred()) SWIG_fail;
29526 }
15afbcd0 29527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
d14a1e28
RD
29528 return resultobj;
29529 fail:
29530 return NULL;
29531}
29532
29533
29534static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
29535 PyObject *obj;
29536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29537 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
29538 Py_INCREF(obj);
29539 return Py_BuildValue((char *)"");
29540}
e811c8ce
RD
29541static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29542 PyObject *resultobj;
29543 wxBitmap *arg1 = 0 ;
29544 wxCursor const &arg2_defvalue = wxNullCursor ;
29545 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29546 wxGenericDragImage *result;
29547 PyObject * obj0 = 0 ;
29548 PyObject * obj1 = 0 ;
29549 char *kwnames[] = {
29550 (char *) "image",(char *) "cursor", NULL
29551 };
29552
29553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
29555 SWIG_POINTER_EXCEPTION | 0)) == -1)
29556 SWIG_fail;
e811c8ce 29557 if (arg1 == NULL) {
15afbcd0
RD
29558 PyErr_SetString(PyExc_TypeError,"null reference");
29559 SWIG_fail;
e811c8ce
RD
29560 }
29561 if (obj1) {
15afbcd0
RD
29562 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29563 SWIG_POINTER_EXCEPTION | 0)) == -1)
29564 SWIG_fail;
e811c8ce 29565 if (arg2 == NULL) {
15afbcd0
RD
29566 PyErr_SetString(PyExc_TypeError,"null reference");
29567 SWIG_fail;
e811c8ce
RD
29568 }
29569 }
29570 {
29571 PyThreadState* __tstate = wxPyBeginAllowThreads();
29572 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
29573
29574 wxPyEndAllowThreads(__tstate);
29575 if (PyErr_Occurred()) SWIG_fail;
29576 }
15afbcd0 29577 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
29578 return resultobj;
29579 fail:
29580 return NULL;
29581}
29582
29583
29584static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
29585 PyObject *resultobj;
29586 wxIcon *arg1 = 0 ;
29587 wxCursor const &arg2_defvalue = wxNullCursor ;
29588 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29589 wxGenericDragImage *result;
29590 PyObject * obj0 = 0 ;
29591 PyObject * obj1 = 0 ;
29592 char *kwnames[] = {
29593 (char *) "image",(char *) "cursor", NULL
29594 };
29595
29596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
29598 SWIG_POINTER_EXCEPTION | 0)) == -1)
29599 SWIG_fail;
e811c8ce 29600 if (arg1 == NULL) {
15afbcd0
RD
29601 PyErr_SetString(PyExc_TypeError,"null reference");
29602 SWIG_fail;
e811c8ce
RD
29603 }
29604 if (obj1) {
15afbcd0
RD
29605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29606 SWIG_POINTER_EXCEPTION | 0)) == -1)
29607 SWIG_fail;
e811c8ce 29608 if (arg2 == NULL) {
15afbcd0
RD
29609 PyErr_SetString(PyExc_TypeError,"null reference");
29610 SWIG_fail;
e811c8ce
RD
29611 }
29612 }
29613 {
29614 PyThreadState* __tstate = wxPyBeginAllowThreads();
29615 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
29616
29617 wxPyEndAllowThreads(__tstate);
29618 if (PyErr_Occurred()) SWIG_fail;
29619 }
15afbcd0 29620 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
29621 return resultobj;
29622 fail:
29623 return NULL;
29624}
29625
29626
29627static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
29628 PyObject *resultobj;
29629 wxString *arg1 = 0 ;
29630 wxCursor const &arg2_defvalue = wxNullCursor ;
29631 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
29632 wxGenericDragImage *result;
29633 bool temp1 = False ;
29634 PyObject * obj0 = 0 ;
29635 PyObject * obj1 = 0 ;
29636 char *kwnames[] = {
29637 (char *) "str",(char *) "cursor", NULL
29638 };
29639
29640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
29641 {
29642 arg1 = wxString_in_helper(obj0);
29643 if (arg1 == NULL) SWIG_fail;
29644 temp1 = True;
29645 }
29646 if (obj1) {
15afbcd0
RD
29647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
29648 SWIG_POINTER_EXCEPTION | 0)) == -1)
29649 SWIG_fail;
e811c8ce 29650 if (arg2 == NULL) {
15afbcd0
RD
29651 PyErr_SetString(PyExc_TypeError,"null reference");
29652 SWIG_fail;
e811c8ce
RD
29653 }
29654 }
29655 {
29656 PyThreadState* __tstate = wxPyBeginAllowThreads();
29657 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
29658
29659 wxPyEndAllowThreads(__tstate);
29660 if (PyErr_Occurred()) SWIG_fail;
29661 }
15afbcd0 29662 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
29663 {
29664 if (temp1)
29665 delete arg1;
29666 }
29667 return resultobj;
29668 fail:
29669 {
29670 if (temp1)
29671 delete arg1;
29672 }
29673 return NULL;
29674}
29675
29676
29677static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29678 PyObject *resultobj;
29679 wxPyTreeCtrl *arg1 = 0 ;
29680 wxTreeItemId *arg2 = 0 ;
29681 wxGenericDragImage *result;
29682 PyObject * obj0 = 0 ;
29683 PyObject * obj1 = 0 ;
29684 char *kwnames[] = {
29685 (char *) "treeCtrl",(char *) "id", NULL
29686 };
29687
29688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
29690 SWIG_POINTER_EXCEPTION | 0)) == -1)
29691 SWIG_fail;
e811c8ce 29692 if (arg1 == NULL) {
15afbcd0
RD
29693 PyErr_SetString(PyExc_TypeError,"null reference");
29694 SWIG_fail;
e811c8ce 29695 }
15afbcd0
RD
29696 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
29697 SWIG_POINTER_EXCEPTION | 0)) == -1)
29698 SWIG_fail;
e811c8ce 29699 if (arg2 == NULL) {
15afbcd0
RD
29700 PyErr_SetString(PyExc_TypeError,"null reference");
29701 SWIG_fail;
e811c8ce
RD
29702 }
29703 {
29704 PyThreadState* __tstate = wxPyBeginAllowThreads();
29705 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29706
29707 wxPyEndAllowThreads(__tstate);
29708 if (PyErr_Occurred()) SWIG_fail;
29709 }
15afbcd0 29710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
29711 return resultobj;
29712 fail:
29713 return NULL;
29714}
29715
29716
29717static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29718 PyObject *resultobj;
29719 wxPyListCtrl *arg1 = 0 ;
29720 long arg2 ;
29721 wxGenericDragImage *result;
29722 PyObject * obj0 = 0 ;
994141e6 29723 PyObject * obj1 = 0 ;
e811c8ce
RD
29724 char *kwnames[] = {
29725 (char *) "listCtrl",(char *) "id", NULL
29726 };
29727
994141e6 29728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
29730 SWIG_POINTER_EXCEPTION | 0)) == -1)
29731 SWIG_fail;
e811c8ce 29732 if (arg1 == NULL) {
15afbcd0
RD
29733 PyErr_SetString(PyExc_TypeError,"null reference");
29734 SWIG_fail;
994141e6 29735 }
15afbcd0
RD
29736 arg2 = (long) SWIG_AsLong(obj1);
29737 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
29738 {
29739 PyThreadState* __tstate = wxPyBeginAllowThreads();
29740 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29741
29742 wxPyEndAllowThreads(__tstate);
29743 if (PyErr_Occurred()) SWIG_fail;
29744 }
15afbcd0 29745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
e811c8ce
RD
29746 return resultobj;
29747 fail:
29748 return NULL;
29749}
29750
29751
29752static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29753 PyObject *resultobj;
29754 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29755 PyObject * obj0 = 0 ;
29756 char *kwnames[] = {
29757 (char *) "self", NULL
29758 };
29759
29760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
15afbcd0
RD
29761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29763 {
29764 PyThreadState* __tstate = wxPyBeginAllowThreads();
29765 delete arg1;
29766
29767 wxPyEndAllowThreads(__tstate);
29768 if (PyErr_Occurred()) SWIG_fail;
29769 }
29770 Py_INCREF(Py_None); resultobj = Py_None;
29771 return resultobj;
29772 fail:
29773 return NULL;
29774}
29775
29776
29777static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
29778 PyObject *resultobj;
29779 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29780 wxBitmap *arg2 = (wxBitmap *) 0 ;
29781 PyObject * obj0 = 0 ;
29782 PyObject * obj1 = 0 ;
29783 char *kwnames[] = {
29784 (char *) "self",(char *) "bitmap", NULL
29785 };
29786
29787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29790 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
29791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29792 {
29793 PyThreadState* __tstate = wxPyBeginAllowThreads();
29794 (arg1)->SetBackingBitmap(arg2);
29795
29796 wxPyEndAllowThreads(__tstate);
29797 if (PyErr_Occurred()) SWIG_fail;
29798 }
29799 Py_INCREF(Py_None); resultobj = Py_None;
29800 return resultobj;
29801 fail:
29802 return NULL;
29803}
29804
29805
29806static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29807 PyObject *resultobj;
29808 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29809 wxPoint *arg2 = 0 ;
29810 wxWindow *arg3 = (wxWindow *) 0 ;
29811 bool arg4 = (bool) False ;
29812 wxRect *arg5 = (wxRect *) NULL ;
29813 bool result;
29814 wxPoint temp2 ;
29815 PyObject * obj0 = 0 ;
29816 PyObject * obj1 = 0 ;
29817 PyObject * obj2 = 0 ;
29818 PyObject * obj3 = 0 ;
29819 PyObject * obj4 = 0 ;
29820 char *kwnames[] = {
29821 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29822 };
29823
29824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29827 {
29828 arg2 = &temp2;
29829 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29830 }
15afbcd0
RD
29831 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 29833 if (obj3) {
15afbcd0
RD
29834 arg4 = (bool) SWIG_AsBool(obj3);
29835 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
29836 }
29837 if (obj4) {
15afbcd0
RD
29838 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
29839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29840 }
29841 {
29842 PyThreadState* __tstate = wxPyBeginAllowThreads();
29843 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29844
29845 wxPyEndAllowThreads(__tstate);
29846 if (PyErr_Occurred()) SWIG_fail;
29847 }
4f89f6a3
RD
29848 {
29849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29850 }
e811c8ce
RD
29851 return resultobj;
29852 fail:
29853 return NULL;
29854}
29855
29856
29857static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29858 PyObject *resultobj;
29859 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29860 wxPoint *arg2 = 0 ;
29861 wxWindow *arg3 = (wxWindow *) 0 ;
29862 wxWindow *arg4 = (wxWindow *) 0 ;
29863 bool result;
29864 wxPoint temp2 ;
29865 PyObject * obj0 = 0 ;
29866 PyObject * obj1 = 0 ;
29867 PyObject * obj2 = 0 ;
29868 PyObject * obj3 = 0 ;
29869 char *kwnames[] = {
29870 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29871 };
29872
29873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29876 {
29877 arg2 = &temp2;
29878 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29879 }
15afbcd0
RD
29880 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
29881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29882 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
29883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29884 {
29885 PyThreadState* __tstate = wxPyBeginAllowThreads();
29886 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29887
29888 wxPyEndAllowThreads(__tstate);
29889 if (PyErr_Occurred()) SWIG_fail;
29890 }
4f89f6a3
RD
29891 {
29892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29893 }
e811c8ce
RD
29894 return resultobj;
29895 fail:
29896 return NULL;
29897}
29898
29899
29900static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29901 PyObject *resultobj;
29902 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29903 bool result;
29904 PyObject * obj0 = 0 ;
29905 char *kwnames[] = {
29906 (char *) "self", NULL
29907 };
29908
29909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
15afbcd0
RD
29910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29912 {
29913 PyThreadState* __tstate = wxPyBeginAllowThreads();
29914 result = (bool)(arg1)->EndDrag();
29915
29916 wxPyEndAllowThreads(__tstate);
29917 if (PyErr_Occurred()) SWIG_fail;
29918 }
4f89f6a3
RD
29919 {
29920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29921 }
e811c8ce
RD
29922 return resultobj;
29923 fail:
29924 return NULL;
29925}
29926
29927
29928static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
29929 PyObject *resultobj;
29930 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29931 wxPoint *arg2 = 0 ;
29932 bool result;
29933 wxPoint temp2 ;
29934 PyObject * obj0 = 0 ;
29935 PyObject * obj1 = 0 ;
29936 char *kwnames[] = {
29937 (char *) "self",(char *) "pt", NULL
29938 };
29939
29940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29943 {
29944 arg2 = &temp2;
29945 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29946 }
29947 {
29948 PyThreadState* __tstate = wxPyBeginAllowThreads();
29949 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29950
29951 wxPyEndAllowThreads(__tstate);
29952 if (PyErr_Occurred()) SWIG_fail;
29953 }
4f89f6a3
RD
29954 {
29955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29956 }
e811c8ce
RD
29957 return resultobj;
29958 fail:
29959 return NULL;
29960}
29961
29962
29963static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29964 PyObject *resultobj;
29965 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29966 bool result;
29967 PyObject * obj0 = 0 ;
29968 char *kwnames[] = {
29969 (char *) "self", NULL
29970 };
29971
29972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
15afbcd0
RD
29973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
29974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
29975 {
29976 PyThreadState* __tstate = wxPyBeginAllowThreads();
29977 result = (bool)(arg1)->Show();
29978
29979 wxPyEndAllowThreads(__tstate);
29980 if (PyErr_Occurred()) SWIG_fail;
29981 }
4f89f6a3
RD
29982 {
29983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29984 }
e811c8ce
RD
29985 return resultobj;
29986 fail:
29987 return NULL;
29988}
29989
29990
29991static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
29992 PyObject *resultobj;
29993 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29994 bool result;
29995 PyObject * obj0 = 0 ;
29996 char *kwnames[] = {
29997 (char *) "self", NULL
29998 };
29999
30000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
30001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30003 {
30004 PyThreadState* __tstate = wxPyBeginAllowThreads();
30005 result = (bool)(arg1)->Hide();
30006
30007 wxPyEndAllowThreads(__tstate);
30008 if (PyErr_Occurred()) SWIG_fail;
30009 }
4f89f6a3
RD
30010 {
30011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30012 }
e811c8ce
RD
30013 return resultobj;
30014 fail:
30015 return NULL;
30016}
30017
30018
30019static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
30020 PyObject *resultobj;
30021 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30022 wxPoint *arg2 = 0 ;
30023 wxRect result;
30024 wxPoint temp2 ;
30025 PyObject * obj0 = 0 ;
30026 PyObject * obj1 = 0 ;
30027 char *kwnames[] = {
30028 (char *) "self",(char *) "pos", NULL
30029 };
30030
30031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30034 {
30035 arg2 = &temp2;
30036 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30037 }
30038 {
30039 PyThreadState* __tstate = wxPyBeginAllowThreads();
30040 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
30041
30042 wxPyEndAllowThreads(__tstate);
30043 if (PyErr_Occurred()) SWIG_fail;
30044 }
30045 {
30046 wxRect * resultptr;
30047 resultptr = new wxRect((wxRect &) result);
15afbcd0 30048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
e811c8ce
RD
30049 }
30050 return resultobj;
30051 fail:
30052 return NULL;
30053}
30054
30055
30056static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30057 PyObject *resultobj;
30058 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30059 wxDC *arg2 = 0 ;
30060 wxPoint *arg3 = 0 ;
30061 bool result;
30062 wxPoint temp3 ;
30063 PyObject * obj0 = 0 ;
30064 PyObject * obj1 = 0 ;
30065 PyObject * obj2 = 0 ;
30066 char *kwnames[] = {
30067 (char *) "self",(char *) "dc",(char *) "pos", NULL
30068 };
30069
30070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30073 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30074 SWIG_POINTER_EXCEPTION | 0)) == -1)
30075 SWIG_fail;
e811c8ce 30076 if (arg2 == NULL) {
15afbcd0
RD
30077 PyErr_SetString(PyExc_TypeError,"null reference");
30078 SWIG_fail;
e811c8ce
RD
30079 }
30080 {
30081 arg3 = &temp3;
30082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30083 }
30084 {
30085 PyThreadState* __tstate = wxPyBeginAllowThreads();
30086 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
30087
30088 wxPyEndAllowThreads(__tstate);
30089 if (PyErr_Occurred()) SWIG_fail;
30090 }
4f89f6a3
RD
30091 {
30092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30093 }
e811c8ce
RD
30094 return resultobj;
30095 fail:
30096 return NULL;
30097}
30098
30099
30100static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
30101 PyObject *resultobj;
30102 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30103 wxDC *arg2 = 0 ;
30104 wxMemoryDC *arg3 = 0 ;
30105 wxRect *arg4 = 0 ;
30106 wxRect *arg5 = 0 ;
30107 bool result;
30108 wxRect temp4 ;
30109 wxRect temp5 ;
30110 PyObject * obj0 = 0 ;
30111 PyObject * obj1 = 0 ;
30112 PyObject * obj2 = 0 ;
30113 PyObject * obj3 = 0 ;
30114 PyObject * obj4 = 0 ;
30115 char *kwnames[] = {
30116 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
30117 };
30118
30119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30122 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
30123 SWIG_POINTER_EXCEPTION | 0)) == -1)
30124 SWIG_fail;
e811c8ce 30125 if (arg2 == NULL) {
15afbcd0
RD
30126 PyErr_SetString(PyExc_TypeError,"null reference");
30127 SWIG_fail;
e811c8ce 30128 }
15afbcd0
RD
30129 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
30130 SWIG_POINTER_EXCEPTION | 0)) == -1)
30131 SWIG_fail;
e811c8ce 30132 if (arg3 == NULL) {
15afbcd0
RD
30133 PyErr_SetString(PyExc_TypeError,"null reference");
30134 SWIG_fail;
e811c8ce
RD
30135 }
30136 {
30137 arg4 = &temp4;
30138 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
30139 }
30140 {
30141 arg5 = &temp5;
30142 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
30143 }
30144 {
30145 PyThreadState* __tstate = wxPyBeginAllowThreads();
30146 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
30147
30148 wxPyEndAllowThreads(__tstate);
30149 if (PyErr_Occurred()) SWIG_fail;
30150 }
4f89f6a3
RD
30151 {
30152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30153 }
e811c8ce
RD
30154 return resultobj;
30155 fail:
30156 return NULL;
30157}
30158
30159
30160static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30161 PyObject *resultobj;
30162 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30163 wxPoint *arg2 = 0 ;
30164 wxPoint *arg3 = 0 ;
30165 bool arg4 ;
30166 bool arg5 ;
30167 bool result;
30168 wxPoint temp2 ;
30169 wxPoint temp3 ;
30170 PyObject * obj0 = 0 ;
30171 PyObject * obj1 = 0 ;
30172 PyObject * obj2 = 0 ;
30173 PyObject * obj3 = 0 ;
30174 PyObject * obj4 = 0 ;
30175 char *kwnames[] = {
30176 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
30177 };
30178
30179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
30182 {
30183 arg2 = &temp2;
30184 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30185 }
30186 {
30187 arg3 = &temp3;
30188 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30189 }
15afbcd0
RD
30190 arg4 = (bool) SWIG_AsBool(obj3);
30191 if (PyErr_Occurred()) SWIG_fail;
30192 arg5 = (bool) SWIG_AsBool(obj4);
30193 if (PyErr_Occurred()) SWIG_fail;
e811c8ce
RD
30194 {
30195 PyThreadState* __tstate = wxPyBeginAllowThreads();
30196 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
30197
30198 wxPyEndAllowThreads(__tstate);
30199 if (PyErr_Occurred()) SWIG_fail;
30200 }
4f89f6a3
RD
30201 {
30202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30203 }
e811c8ce
RD
30204 return resultobj;
30205 fail:
30206 return NULL;
30207}
30208
30209
30210static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
30211 PyObject *obj;
30212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30213 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
30214 Py_INCREF(obj);
30215 return Py_BuildValue((char *)"");
30216}
30217static PyMethodDef SwigMethods[] = {
30218 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
30219 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
30220 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
30221 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
30222 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30223 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
30224 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
30225 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
30226 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
30227 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30228 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30229 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30230 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30231 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
30232 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
30233 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
30234 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
30235 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
30236 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
30237 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
30238 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
30239 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
30240 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
30241 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
30242 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30243 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30244 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30245 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
30246 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
30247 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
30248 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
30249 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
30250 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
30251 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
30252 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
30253 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
30254 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30255 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
30256 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
30257 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
30258 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
30259 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
30260 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
30261 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
30262 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
30263 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
30264 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
30265 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30266 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30267 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30268 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
fd3f2efe 30269 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
30270 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
30271 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
30272 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30273 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
30274 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
30275 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
30276 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
30277 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
30278 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
30279 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
30280 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
30281 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
30282 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
30283 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30284 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
30285 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
30286 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
30287 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
30288 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
30289 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
30290 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
30291 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
30292 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
30293 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
30294 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
30295 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
30296 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
30297 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
30298 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
30299 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
30300 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
30301 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
30302 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
30303 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
30304 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
30305 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30306 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
30307 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
30308 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
30309 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
30310 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
30311 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
30312 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
30313 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
30314 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
30315 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
30316 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30317 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
30318 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
30319 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
30320 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30321 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
30322 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
30323 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
30324 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30325 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
30326 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
c3eb6258
RD
30327 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
30328 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30329 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
74a57fcd 30330 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
30331 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
30332 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
30333 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
30334 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
30335 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
30336 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
30337 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
30338 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
30339 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
30340 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
30341 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
994141e6 30342 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
30343 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
30344 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30345 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30346 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30347 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
30348 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
30349 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30350 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
30351 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
30352 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30353 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30354 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30355 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
30356 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
30357 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
30358 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
30359 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
30360 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30361 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30362 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30363 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
30364 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
30365 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
30366 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
30367 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
30368 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
30369 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
30370 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
30371 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
30372 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
30373 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30374 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30375 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30376 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
30377 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
30378 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
30379 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
30380 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
30381 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
30382 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
30383 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
30384 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30385 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30386 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
30387 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
30388 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
30389 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
30390 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
30391 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
30392 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
30393 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
30394 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
30395 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
30396 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
30397 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
30398 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
30399 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30400 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
30401 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
30402 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
30403 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
4d5c3d91 30404 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
30405 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
30406 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
30407 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
30408 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
30409 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
30410 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
30411 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30412 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
30413 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
30414 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
30415 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30416 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
30417 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
30418 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
30419 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30420 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
30421 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
30422 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
30423 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
30424 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
30425 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
30426 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
30427 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
30428 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
30429 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
30430 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
30431 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
30432 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
30433 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30434 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
30435 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30436 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
30437 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
30438 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
30439 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
30440 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
30441 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
30442 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
30443 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
30444 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30445 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
30446 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
30447 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30448 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
30449 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
30450 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
30451 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
30452 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
30453 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
30454 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
30455 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30456 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
30457 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
30458 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
30459 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
30460 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
30461 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
30462 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30463 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
d1e20054
RD
30464 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
30465 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30466 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30467 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
d14a1e28
RD
30468 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
30469 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
30470 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
30471 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
30472 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
30473 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
30474 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
30475 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
30476 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
30477 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
30478 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
30479 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
30480 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
30481 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30482 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30483 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30484 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
30485 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
30486 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
30487 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
30488 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30489 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30490 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
30491 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
30492 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
30493 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
30494 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
30495 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
30496 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
30497 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
30498 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
30499 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
30500 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
30501 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
30502 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30503 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
30504 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
30505 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
30506 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
30507 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
30508 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
30509 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
30510 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
30511 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
30512 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
30513 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
30514 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
30515 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
30516 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
30517 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
30518 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
30519 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
30520 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
30521 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
30522 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
30523 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
30524 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
30525 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30526 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
30527 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
30528 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30529 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30530 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30531 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
30532 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
30533 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
30534 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30535 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
30536 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
30537 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
30538 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
30539 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
30540 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
30541 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
30542 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
30543 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
30544 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
30545 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
30546 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
30547 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
30548 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
30549 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
30550 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
30551 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
30552 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
30553 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
30554 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
30555 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
30556 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
30557 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
30558 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
30559 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
30560 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
30561 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
30562 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
30563 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
30564 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
30565 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
30566 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
30567 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
30568 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30569 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30570 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
30571 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
30572 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
30573 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
30574 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
30575 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
30576 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
30577 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
30578 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
30579 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
30580 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
30581 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
30582 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
30583 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
30584 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
30585 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
30586 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
30587 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
30588 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30589 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30590 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
30591 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
30592 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
30593 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
30594 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
30595 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
30596 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30597 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
30598 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
30599 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
30600 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
30601 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
30602 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
30603 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
30604 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
30605 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
30606 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
30607 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
30608 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
3a04f143
RD
30609 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
30610 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30611 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
30612 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
30613 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
30614 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
30615 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
30616 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
30617 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
30618 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
30619 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
30620 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
30621 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
30622 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
30623 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
30624 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
30625 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
30626 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
30627 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
30628 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
30629 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30630 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
30631 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30632 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
30633 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
30634 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
30635 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
30636 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30637 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
30638 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
30639 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
30640 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
30641 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
30642 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
30643 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
30644 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
30645 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30646 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
30647 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
30648 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
3a04f143 30649 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30650 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
30651 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
30652 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
30653 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
30654 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
30655 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
30656 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
30657 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
30658 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30659 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30660 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
30661 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
30662 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30663 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
30664 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30665 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30666 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
30667 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
30668 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
30669 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
30670 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
30671 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
30672 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
30673 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
30674 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
30675 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
30676 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
30677 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
30678 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
30679 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
30680 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
30681 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
30682 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
30683 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30684 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30685 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
30686 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
30687 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
30688 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
30689 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
30690 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
30691 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
30692 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
30693 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
30694 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
30695 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
30696 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
30697 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30698 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30699 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
30700 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
30701 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
30702 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
30703 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
30704 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
30705 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
30706 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
30707 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
30708 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
30709 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
30710 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
30711 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
30712 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
30713 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
30714 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
30715 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
30716 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
30717 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
30718 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
30719 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
30720 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
30721 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
30722 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
30723 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
30724 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
30725 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
30726 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
30727 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
30728 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
30729 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
30730 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
30731 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
30732 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
30733 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30734 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
30735 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
30736 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30737 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30738 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
30739 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
30740 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
30741 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
30742 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30743 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
30744 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
30745 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30746 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30747 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
30748 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
30749 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
30750 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30751 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30752 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
30753 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30754 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
30755 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
30756 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30757 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30758 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
30759 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
30760 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
30761 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
30762 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
30763 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
30764 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
30765 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30766 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30767 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30768 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30769 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30770 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
30771 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
30772 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
30773 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
30774 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30775 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30776 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30777 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
30778 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30779 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30780 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
30781 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
30782 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
30783 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30784 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30785 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30786 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
4276dc52 30787 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30788 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
30789 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
30790 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
30791 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
30792 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
30793 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30794 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
30795 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
30796 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
30797 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30798 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30799 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
30800 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
30801 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
30802 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30803 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30804 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
30805 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
30806 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
30807 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
30808 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
30809 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
30810 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
30811 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30812 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30813 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30814 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30815 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
30816 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
74a57fcd 30817 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30818 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
30819 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
30820 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
30821 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
30822 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
30823 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
30824 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
30825 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
30826 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
30827 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
30828 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
30829 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
30830 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
30831 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30832 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30833 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
30834 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
30835 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
30836 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
30837 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30838 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30839 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30840 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30841 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30842 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30843 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30844 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30845 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30846 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30847 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30848 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30849 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30850 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30851 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30852 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30853 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30854 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30855 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30856 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30857 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30858 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30859 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
c9c7117a 30860 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30861 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30862 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30863 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30864 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30865 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30866 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30867 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30868 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30869 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30870 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30871 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30872 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30873 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30874 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30875 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30876 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30877 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30878 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30879 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30880 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30881 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30882 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30883 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30884 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30885 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30886 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30887 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30888 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30889 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30890 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30891 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30892 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30893 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30894 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30895 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30896 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30897 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
30898 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
30899 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
30900 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30901 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
30902 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
30903 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
30904 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
30905 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
30906 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
30907 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
30908 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
30909 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
30910 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
30911 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
30912 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
30913 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30914 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
30915 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
30916 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
30917 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
30918 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30919 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
30920 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
30921 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
30922 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
30923 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
3adfb63b 30924 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30925 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
30926 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
3adfb63b 30927 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30928 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30929 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
30930 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30931 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30932 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
30933 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30934 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
74a57fcd 30935 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30936 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
30937 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30938 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30939 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30940 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
30941 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30942 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30943 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
30944 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
30945 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
30946 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
30947 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
30948 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
30949 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
30950 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30951 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30952 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
30953 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30954 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30955 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
30956 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
30957 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
30958 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
30959 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30960 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30961 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30962 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
30963 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
30964 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa 30965 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30966 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30967 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
30968 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
30969 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
30970 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30971 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
30972 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
30973 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
30974 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30975 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
30976 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
30977 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
30978 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
30979 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
30980 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
30981 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
30982 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
30983 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
30984 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
1cb4a8aa
RD
30985 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
30986 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
30987 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
30988 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
30989 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30990 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30991 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
30992 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
30993 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
30994 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
30995 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
30996 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30997 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30998 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
30999 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
31000 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
31001 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
31002 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
31003 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
31004 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
31005 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
31006 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
31007 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
31008 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
15afbcd0 31009 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
31010 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
31011 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
31012 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
31013 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
e811c8ce
RD
31014 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
31015 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
31016 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
31017 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
31018 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
31019 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
31020 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
31021 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
31022 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
31023 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
31024 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
31025 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
31026 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
31027 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
31028 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
31029 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
31030 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
31031 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
d14a1e28
RD
31032 { NULL, NULL }
31033};
31034
31035
31036/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31037
31038static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
31039 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31040}
31041static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
31042 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
31043}
31044static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
31045 return (void *)((wxSizer *) ((wxBoxSizer *) x));
31046}
31047static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
31048 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
31049}
31050static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
31051 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31052}
31053static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
31054 return (void *)((wxSizer *) ((wxGridSizer *) x));
31055}
31056static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
31057 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
31058}
31059static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
31060 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
31061}
31062static void *_p_wxPySizerTo_p_wxSizer(void *x) {
31063 return (void *)((wxSizer *) ((wxPySizer *) x));
31064}
31065static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
31066 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
31067}
31068static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
31069 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
31070}
31071static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
31072 return (void *)((wxEvent *) ((wxMenuEvent *) x));
31073}
31074static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
31075 return (void *)((wxEvent *) ((wxCloseEvent *) x));
31076}
31077static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
31078 return (void *)((wxEvent *) ((wxMouseEvent *) x));
31079}
31080static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
31081 return (void *)((wxEvent *) ((wxEraseEvent *) x));
31082}
31083static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
31084 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31085}
31086static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
31087 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
31088}
31089static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
31090 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
31091}
31092static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
31093 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
31094}
31095static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
31096 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
31097}
31098static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
31099 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31100}
31101static void *_p_wxPyEventTo_p_wxEvent(void *x) {
31102 return (void *)((wxEvent *) ((wxPyEvent *) x));
31103}
31104static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
31105 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
31106}
31107static void *_p_wxListEventTo_p_wxEvent(void *x) {
31108 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31109}
31110static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
31111 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31112}
31113static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
31114 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31115}
31116static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
31117 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
31118}
31119static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
31120 return (void *)((wxEvent *) ((wxIdleEvent *) x));
31121}
31122static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
31123 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
31124}
31125static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
31126 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
31127}
31128static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
31129 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
31130}
31131static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
31132 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
31133}
31134static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
31135 return (void *)((wxEvent *) ((wxActivateEvent *) x));
31136}
31137static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
31138 return (void *)((wxEvent *) ((wxSizeEvent *) x));
31139}
31140static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
31141 return (void *)((wxEvent *) ((wxMoveEvent *) x));
31142}
31143static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
31144 return (void *)((wxEvent *) ((wxPaintEvent *) x));
31145}
31146static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
31147 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
31148}
31149static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
31150 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
31151}
31152static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
31153 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
31154}
31155static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
31156 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
31157}
31158static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
31159 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31160}
31161static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
31162 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
31163}
31164static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
31165 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
31166}
31167static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
31168 return (void *)((wxEvent *) ((wxFocusEvent *) x));
31169}
31170static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
31171 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
31172}
31173static void *_p_wxShowEventTo_p_wxEvent(void *x) {
31174 return (void *)((wxEvent *) ((wxShowEvent *) x));
31175}
31176static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
31177 return (void *)((wxEvent *) ((wxCommandEvent *) x));
31178}
31179static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
31180 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
31181}
31182static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
31183 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31184}
31185static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
31186 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
31187}
31188static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
31189 return (void *)((wxEvent *) ((wxKeyEvent *) x));
31190}
31191static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
31192 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
31193}
d1e20054
RD
31194static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
31195 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31196}
d14a1e28
RD
31197static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
31198 return (void *)((wxItemContainer *) ((wxComboBox *) x));
31199}
31200static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
31201 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31202}
31203static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
31204 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
31205}
31206static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
31207 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
31208}
31209static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
31210 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
31211}
31212static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
31213 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31214}
31215static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
31216 return (void *)((wxPyListCtrl *) ((wxListView *) x));
31217}
31218static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
31219 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31220}
31221static void *_p_wxListBoxTo_p_wxControl(void *x) {
31222 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
31223}
31224static void *_p_wxChoiceTo_p_wxControl(void *x) {
31225 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
31226}
31227static void *_p_wxToolBarTo_p_wxControl(void *x) {
31228 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
31229}
31230static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
31231 return (void *)((wxControl *) ((wxStaticBitmap *) x));
31232}
31233static void *_p_wxComboBoxTo_p_wxControl(void *x) {
31234 return (void *)((wxControl *) ((wxComboBox *) x));
31235}
31236static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
31237 return (void *)((wxControl *) ((wxSpinCtrl *) x));
31238}
31239static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
31240 return (void *)((wxControl *) ((wxStaticBox *) x));
31241}
31242static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
31243 return (void *)((wxControl *) ((wxPyListCtrl *) x));
31244}
31245static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
31246 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
31247}
31248static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
31249 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31250}
31251static void *_p_wxScrollBarTo_p_wxControl(void *x) {
31252 return (void *)((wxControl *) ((wxScrollBar *) x));
31253}
31254static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
31255 return (void *)((wxControl *) ((wxBookCtrl *) x));
31256}
31257static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
31258 return (void *)((wxControl *) ((wxRadioButton *) x));
31259}
31260static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
31261 return (void *)((wxControl *) ((wxToggleButton *) x));
31262}
31263static void *_p_wxGaugeTo_p_wxControl(void *x) {
31264 return (void *)((wxControl *) ((wxGauge *) x));
31265}
31266static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
31267 return (void *)((wxControl *) ((wxToolBarBase *) x));
31268}
31269static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
31270 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
31271}
31272static void *_p_wxButtonTo_p_wxControl(void *x) {
31273 return (void *)((wxControl *) ((wxButton *) x));
31274}
31275static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
31276 return (void *)((wxControl *) ((wxSpinButton *) x));
31277}
31278static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
31279 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31280}
31281static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
31282 return (void *)((wxControl *) ((wxControlWithItems *) x));
31283}
31284static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
31285 return (void *)((wxControl *) ((wxRadioBox *) x));
31286}
31287static void *_p_wxNotebookTo_p_wxControl(void *x) {
31288 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
31289}
31290static void *_p_wxListbookTo_p_wxControl(void *x) {
31291 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
31292}
31293static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
31294 return (void *)((wxControl *) ((wxCheckBox *) x));
31295}
31296static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
31297 return (void *)((wxControl *) ((wxTextCtrl *) x));
31298}
31299static void *_p_wxListViewTo_p_wxControl(void *x) {
31300 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
31301}
31302static void *_p_wxSliderTo_p_wxControl(void *x) {
31303 return (void *)((wxControl *) ((wxSlider *) x));
31304}
31305static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
31306 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
31307}
31308static void *_p_wxPyControlTo_p_wxControl(void *x) {
31309 return (void *)((wxControl *) ((wxPyControl *) x));
31310}
31311static void *_p_wxStaticLineTo_p_wxControl(void *x) {
31312 return (void *)((wxControl *) ((wxStaticLine *) x));
31313}
31314static void *_p_wxStaticTextTo_p_wxControl(void *x) {
31315 return (void *)((wxControl *) ((wxStaticText *) x));
31316}
31317static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
31318 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
31319}
31320static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
31321 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
31322}
31323static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
31324 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
31325}
31326static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
31327 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31328}
31329static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
31330 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
31331}
d1e20054
RD
31332static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
31333 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
31334}
d14a1e28
RD
31335static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
31336 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31337}
31338static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
31339 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
31340}
31341static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
31342 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31343}
31344static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
31345 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
31346}
31347static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
31348 return (void *)((wxEvtHandler *) ((wxValidator *) x));
31349}
31350static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
31351 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
31352}
31353static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
31354 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31355}
31356static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
31357 return (void *)((wxEvtHandler *) ((wxMenu *) x));
31358}
31359static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
31360 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
31361}
31362static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
31363 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
31364}
31365static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
31366 return (void *)((wxEvtHandler *) ((wxWindow *) x));
31367}
31368static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
31369 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
31370}
31371static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
31372 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31373}
31374static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
31375 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31376}
31377static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
31378 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
31379}
31380static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
31381 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31382}
31383static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
31384 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
31385}
31386static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
31387 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
31388}
31389static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
31390 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31391}
31392static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
31393 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
31394}
31395static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
31396 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31397}
31398static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
31399 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
31400}
31401static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
31402 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
31403}
31404static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
31405 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31406}
31407static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
31408 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31409}
31410static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
31411 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
31412}
31413static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
31414 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
31415}
31416static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
31417 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31418}
31419static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
31420 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31421}
31422static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
31423 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31424}
31425static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
31426 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31427}
31428static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
31429 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31430}
31431static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
31432 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31433}
31434static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
31435 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31436}
31437static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
31438 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
31439}
31440static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
31441 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
31442}
31443static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
31444 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
31445}
31446static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
31447 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
31448}
31449static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
31450 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
31451}
31452static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
31453 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31454}
31455static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
31456 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31457}
31458static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
31459 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31460}
31461static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
31462 return (void *)((wxListBox *) ((wxCheckListBox *) x));
31463}
31464static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
31465 return (void *)((wxBookCtrl *) ((wxListbook *) x));
31466}
31467static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
31468 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
31469}
31470static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
31471 return (void *)((wxButton *) ((wxBitmapButton *) x));
31472}
31473static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
31474 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
31475}
31476static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
31477 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
31478}
31479static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
31480 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
31481}
31482static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
31483 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
31484}
31485static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
31486 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
31487}
31488static void *_p_wxSizerItemTo_p_wxObject(void *x) {
31489 return (void *)((wxObject *) ((wxSizerItem *) x));
31490}
31491static void *_p_wxScrollEventTo_p_wxObject(void *x) {
31492 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
31493}
31494static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
31495 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
31496}
31497static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
31498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
31499}
31500static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
31501 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31502}
31503static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
31504 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
31505}
31506static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
31507 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
31508}
31509static void *_p_wxSizerTo_p_wxObject(void *x) {
31510 return (void *)((wxObject *) ((wxSizer *) x));
31511}
31512static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
31513 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
31514}
31515static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
31516 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
31517}
31518static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
31519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
31520}
31521static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
31522 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
31523}
31524static void *_p_wxEventTo_p_wxObject(void *x) {
31525 return (void *)((wxObject *) ((wxEvent *) x));
31526}
31527static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
31528 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
31529}
31530static void *_p_wxGridSizerTo_p_wxObject(void *x) {
31531 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
31532}
31533static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
31534 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
31535}
31536static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
31537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
31538}
31539static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
31540 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
31541}
31542static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
31543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31544}
31545static void *_p_wxPaintEventTo_p_wxObject(void *x) {
31546 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
31547}
31548static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
31549 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
31550}
31551static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
31552 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
31553}
31554static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
31555 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
31556}
31557static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
31558 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
31559}
31560static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
31561 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
31562}
31563static void *_p_wxStaticLineTo_p_wxObject(void *x) {
31564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
31565}
31566static void *_p_wxControlTo_p_wxObject(void *x) {
31567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
31568}
31569static void *_p_wxPyControlTo_p_wxObject(void *x) {
31570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
31571}
31572static void *_p_wxGaugeTo_p_wxObject(void *x) {
31573 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
31574}
31575static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
31576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
31577}
31578static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
31579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
31580}
31581static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
31582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
31583}
31584static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
31585 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
31586}
31587static void *_p_wxChoiceTo_p_wxObject(void *x) {
31588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31589}
31590static void *_p_wxFSFileTo_p_wxObject(void *x) {
31591 return (void *)((wxObject *) ((wxFSFile *) x));
31592}
31593static void *_p_wxPySizerTo_p_wxObject(void *x) {
31594 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
31595}
31596static void *_p_wxListViewTo_p_wxObject(void *x) {
31597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31598}
31599static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
31600 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
31601}
31602static void *_p_wxNotebookTo_p_wxObject(void *x) {
31603 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31604}
31605static void *_p_wxPyEventTo_p_wxObject(void *x) {
31606 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
31607}
31608static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
31609 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
31610}
31611static void *_p_wxListbookTo_p_wxObject(void *x) {
31612 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31613}
31614static void *_p_wxShowEventTo_p_wxObject(void *x) {
31615 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
31616}
31617static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
31618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
31619}
31620static void *_p_wxSliderTo_p_wxObject(void *x) {
31621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
31622}
31623static void *_p_wxMenuItemTo_p_wxObject(void *x) {
31624 return (void *)((wxObject *) ((wxMenuItem *) x));
31625}
31626static void *_p_wxIdleEventTo_p_wxObject(void *x) {
31627 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
31628}
31629static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
31630 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
31631}
31632static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
31633 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
31634}
31635static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
31636 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
31637}
31638static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
31639 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
31640}
31641static void *_p_wxSizeEventTo_p_wxObject(void *x) {
31642 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
31643}
31644static void *_p_wxMoveEventTo_p_wxObject(void *x) {
31645 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
31646}
31647static void *_p_wxActivateEventTo_p_wxObject(void *x) {
31648 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
31649}
31650static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
31651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
31652}
31653static void *_p_wxContextHelpTo_p_wxObject(void *x) {
31654 return (void *)((wxObject *) ((wxContextHelp *) x));
31655}
31656static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
31657 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
31658}
31659static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
31660 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
31661}
31662static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
31663 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
31664}
31665static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
31666 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
31667}
31668static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
31669 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
31670}
31671static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
31672 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
31673}
31674static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
31675 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
31676}
31677static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
31678 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
31679}
31680static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
31681 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
31682}
31683static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
31684 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
31685}
31686static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
31687 return (void *)((wxObject *) ((wxImageHandler *) x));
31688}
31689static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
31690 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
31691}
31692static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
31693 return (void *)((wxObject *) ((wxEvtHandler *) x));
31694}
31695static void *_p_wxListEventTo_p_wxObject(void *x) {
31696 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
31697}
31698static void *_p_wxListBoxTo_p_wxObject(void *x) {
31699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31700}
31701static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
31702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31703}
31704static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31706}
d14a1e28
RD
31707static void *_p_wxButtonTo_p_wxObject(void *x) {
31708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31709}
1e0c8722
RD
31710static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31712}
d14a1e28
RD
31713static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31715}
31716static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31718}
1e0c8722
RD
31719static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31720 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31721}
d14a1e28
RD
31722static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31724}
31725static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31727}
31728static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
31730}
31731static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31732 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31733}
31734static void *_p_wxListItemTo_p_wxObject(void *x) {
31735 return (void *)((wxObject *) ((wxListItem *) x));
31736}
31737static void *_p_wxImageTo_p_wxObject(void *x) {
31738 return (void *)((wxObject *) ((wxImage *) x));
31739}
31740static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31741 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31742}
31743static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31744 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31745}
d1e20054
RD
31746static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31747 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31748}
e811c8ce
RD
31749static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31750 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31751}
d14a1e28
RD
31752static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31754}
31755static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31756 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31757}
31758static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31759 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31760}
31761static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31762 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31763}
31764static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31765 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31766}
31767static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31768 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31769}
31770static void *_p_wxWindowTo_p_wxObject(void *x) {
31771 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31772}
31773static void *_p_wxMenuTo_p_wxObject(void *x) {
31774 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31775}
31776static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31778}
31779static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31780 return (void *)((wxObject *) ((wxFileSystem *) x));
31781}
31782static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31783 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31784}
31785static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31786 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31787}
31788static void *_p_wxPyAppTo_p_wxObject(void *x) {
31789 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31790}
31791static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31792 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31793}
31794static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31795 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31796}
31797static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31798 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31799}
31800static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31801 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31802}
31803static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31804 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31805}
31806static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31807 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31808}
31809static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31811}
31812static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31813 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31814}
31815static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31816 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31817}
31818static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31819 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31820}
31821static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31823}
31824static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31825 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31826}
31827static void *_p_wxToolBarTo_p_wxObject(void *x) {
31828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31829}
31830static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31831 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31832}
31833static void *_p_wxValidatorTo_p_wxObject(void *x) {
31834 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31835}
31836static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31837 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31838}
31839static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31840 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31841}
31842static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31843 return (void *)((wxWindow *) ((wxMenuBar *) x));
31844}
31845static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31846 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31847}
31848static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31849 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31850}
31851static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31852 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31853}
31854static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31855 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31856}
31857static void *_p_wxControlTo_p_wxWindow(void *x) {
31858 return (void *)((wxWindow *) ((wxControl *) x));
31859}
31860static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31861 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31862}
31863static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31864 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31865}
31866static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31867 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31868}
31869static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31870 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
31871}
31872static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31873 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31874}
31875static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31876 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31877}
31878static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31879 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31880}
31881static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31882 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31883}
31884static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31885 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31886}
31887static void *_p_wxListbookTo_p_wxWindow(void *x) {
31888 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31889}
31890static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31891 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31892}
31893static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31894 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31895}
31896static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31897 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31898}
31899static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31900 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31901}
31902static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31903 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31904}
31905static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31906 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31907}
31908static void *_p_wxListViewTo_p_wxWindow(void *x) {
31909 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31910}
31911static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31912 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31913}
31914static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31915 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31916}
31917static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31918 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31919}
31920static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31921 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31922}
31923static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31924 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31925}
31926static void *_p_wxSliderTo_p_wxWindow(void *x) {
31927 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31928}
31929static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31930 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31931}
31932static void *_p_wxButtonTo_p_wxWindow(void *x) {
31933 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31934}
31935static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31936 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31937}
31938static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31939 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31940}
31941static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31942 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31943}
31944static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31945 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31946}
31947static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31948 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31949}
31950static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31951 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31952}
31953static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31954 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31955}
31956static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31957 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31958}
31959static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31960 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31961}
31962static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31963 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31964}
31965static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31966 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31967}
31968static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31969 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31970}
31971static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31972 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31973}
31974static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31975 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31976}
31977static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31978 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31979}
d1e20054
RD
31980static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31981 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31982}
d14a1e28
RD
31983static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31984 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31985}
31986static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31987 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31988}
31989static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31990 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31991}
31992static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31993 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31994}
31995static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31996 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31997}
31998static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31999 return (void *)((wxControlWithItems *) ((wxListBox *) x));
32000}
32001static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
32002 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
32003}
32004static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
32005 return (void *)((wxValidator *) ((wxPyValidator *) x));
32006}
15afbcd0
RD
32007static 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}};
32008static 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}};
32009static 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}};
32010static 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}};
32011static 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}};
32012static 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}};
32013static 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}};
32014static 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}};
32015static 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}};
32016static 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 32017static 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 32018static 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
32019static 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}};
32020static 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}};
32021static 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}};
32022static 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}};
32023static 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}};
32024static 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}};
32025static 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}};
32026static 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}};
32027static 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}};
32028static 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}};
32029static 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}};
32030static 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}};
32031static 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}};
32032static 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}};
32033static 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}};
32034static 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}};
32035static 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 32036static 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
32037static 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}};
32038static 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}};
32039static 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}};
32040static 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}};
32041static 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}};
32042static 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}};
32043static 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}};
32044static 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}};
32045static 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}};
32046static 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}};
32047static 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}};
32048static 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}};
32049static 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 32050static 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 32051static 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
32052static 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}};
32053static 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}};
32054static 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}};
32055static 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}};
32056static 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}};
32057static 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}};
32058static 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}};
32059static 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}};
32060static 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}};
32061static 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}};
32062static 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}};
32063static 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}};
32064static 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}};
32065static 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}};
32066static 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}};
32067static 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}};
32068static 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}};
32069static 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}};
32070static 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}};
32071static 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}};
32072static 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}};
32073static 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}};
32074static 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}};
32075static 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}};
32076static 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}};
32077static 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}};
32078static 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}};
32079static 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}};
32080static 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}};
32081static 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}};
32082static 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}};
32083static 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}};
32084static 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}};
32085static 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}};
32086static 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}};
32087static 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}};
32088static 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}};
32089static 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}};
32090static 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}};
32091static 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
32092
32093static swig_type_info *swig_types_initial[] = {
32094_swigt__p_wxTextUrlEvent,
32095_swigt__p_wxBookCtrlEvent,
32096_swigt__p_wxSizer,
d14a1e28
RD
32097_swigt__p_wxCheckBox,
32098_swigt__p_wxPyTreeCtrl,
32099_swigt__p_wxEvent,
32100_swigt__p_wxGenericDirCtrl,
32101_swigt__p_bool,
32102_swigt__p_wxPyTreeItemData,
32103_swigt__p_wxItemContainer,
d14a1e28 32104_swigt__p_wxPyListCtrl,
74a57fcd 32105_swigt__p_wxDirFilterListCtrl,
d14a1e28
RD
32106_swigt__p_wxStaticLine,
32107_swigt__p_wxControl,
32108_swigt__p_wxPyControl,
32109_swigt__p_wxGauge,
32110_swigt__p_wxToolBarBase,
32111_swigt__p_wxFont,
32112_swigt__p_wxToggleButton,
32113_swigt__p_wxRadioButton,
32114_swigt__p_wxChoice,
e811c8ce 32115_swigt__p_wxMemoryDC,
d14a1e28 32116_swigt__p_wxListItemAttr,
58203fa6 32117_swigt__p_void,
d14a1e28
RD
32118_swigt__p_int,
32119_swigt__p_wxSize,
e811c8ce 32120_swigt__p_wxDC,
d14a1e28
RD
32121_swigt__p_wxListView,
32122_swigt__p_wxIcon,
74a57fcd 32123_swigt__p_wxVisualAttributes,
d14a1e28
RD
32124_swigt__p_wxTextCtrl,
32125_swigt__p_wxNotebook,
32126_swigt__p_wxNotifyEvent,
32127_swigt__p_wxArrayString,
32128_swigt__p_wxListbook,
32129_swigt__p_wxStaticBitmap,
32130_swigt__p_wxSlider,
32131_swigt__p_wxStaticBox,
32132_swigt__p_wxArrayInt,
32133_swigt__p_wxContextHelp,
32134_swigt__p_long,
32135_swigt__p_wxEvtHandler,
32136_swigt__p_wxListEvent,
d14a1e28 32137_swigt__p_wxCheckListBox,
74a57fcd 32138_swigt__p_wxListBox,
d14a1e28
RD
32139_swigt__p_wxBookCtrl,
32140_swigt__p_wxSpinButton,
32141_swigt__p_wxButton,
32142_swigt__p_wxBitmapButton,
32143_swigt__p_wxRect,
32144_swigt__p_wxContextHelpButton,
32145_swigt__p_wxRadioBox,
32146_swigt__p_wxScrollBar,
994141e6 32147_swigt__p_char,
d14a1e28
RD
32148_swigt__p_wxTreeItemId,
32149_swigt__p_wxComboBox,
32150_swigt__p_wxHelpEvent,
32151_swigt__p_wxListItem,
32152_swigt__p_wxNotebookSizer,
d1e20054 32153_swigt__p_wxSpinEvent,
e811c8ce 32154_swigt__p_wxGenericDragImage,
d14a1e28
RD
32155_swigt__p_wxSpinCtrl,
32156_swigt__p_wxImageList,
32157_swigt__p_wxHelpProvider,
32158_swigt__p_wxTextAttr,
32159_swigt__p_wxSimpleHelpProvider,
32160_swigt__p_wxPoint,
32161_swigt__p_wxListbookEvent,
32162_swigt__p_wxNotebookEvent,
32163_swigt__p_wxObject,
e811c8ce 32164_swigt__p_wxCursor,
d14a1e28
RD
32165_swigt__p_wxKeyEvent,
32166_swigt__p_wxWindow,
32167_swigt__p_wxString,
32168_swigt__p_wxBitmap,
32169_swigt__p_wxTreeEvent,
32170_swigt__p_wxMouseEvent,
32171_swigt__p_wxCommandEvent,
32172_swigt__p_wxStaticText,
32173_swigt__p_wxControlWithItems,
32174_swigt__p_wxToolBarToolBase,
32175_swigt__p_wxColour,
32176_swigt__p_wxToolBar,
32177_swigt__p_wxBookCtrlSizer,
32178_swigt__p_wxValidator,
321790
32180};
32181
32182
32183/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32184
32185static swig_const_info swig_const_table[] = {
d14a1e28
RD
32186{0}};
32187
32188#ifdef __cplusplus
32189}
32190#endif
32191
32192#ifdef __cplusplus
32193extern "C"
32194#endif
32195SWIGEXPORT(void) SWIG_init(void) {
32196 static PyObject *SWIG_globals = 0;
32197 static int typeinit = 0;
32198 PyObject *m, *d;
32199 int i;
32200 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
32201 m = Py_InitModule((char *) SWIG_name, SwigMethods);
32202 d = PyModule_GetDict(m);
32203
32204 if (!typeinit) {
32205 for (i = 0; swig_types_initial[i]; i++) {
32206 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
32207 }
32208 typeinit = 1;
32209 }
32210 SWIG_InstallConstants(d,swig_const_table);
32211
b2dc1044
RD
32212 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
32213 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
15afbcd0
RD
32214 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
32215 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
32216 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
32217 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
32218 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
32219 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
b2dc1044 32220 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
15afbcd0
RD
32221 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
32222 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
32223 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
32224 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
32225 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
32226 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
b2dc1044
RD
32227 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
32228 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
32229 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
15afbcd0
RD
32230 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
32231 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
32232 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
32233 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
b2dc1044
RD
32234 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
32235 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
32236 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
32237 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
32238 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
15afbcd0
RD
32239 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
32240 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
32241 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
32242 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
32243 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
32244 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
32245 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
32246 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
32247 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
32248 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
32249 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
32250 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
32251 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
32252 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
32253 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
32254 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
32255 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
32256 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
32257 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
32258 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
32259 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
32260 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
32261 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
32262 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
32263 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
32264 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
32265 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
32266 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
32267 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
32268 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
32269 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
32270 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
32271 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
32272 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
32273 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
32274 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
32275 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
32276 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
32277 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
32278 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
32279 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
d14a1e28
RD
32280 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
32281 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
32282 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
32283 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
b2dc1044
RD
32284 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
32285 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
32286 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
15afbcd0
RD
32287 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
32288 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
32289 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
32290 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
d14a1e28 32291 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
b2dc1044
RD
32292 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
32293 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
32294 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
32295 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
d14a1e28 32296 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
b2dc1044 32297 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
15afbcd0
RD
32298 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
32299 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
32300 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
32301 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
32302 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
32303 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
32304 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
32305 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
32306 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
32307 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
d14a1e28
RD
32308 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
32309 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
15afbcd0
RD
32310 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
32311 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
32312 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
32313 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
32314 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
32315 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
d14a1e28
RD
32316 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
32317 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
15afbcd0
RD
32318 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
32319 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
32320 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
32321 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
32322 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
32323 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
32324 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
32325 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
32326 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
32327 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
32328 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
32329 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
32330 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
32331 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
b2dc1044 32332 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
15afbcd0
RD
32333 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
32334 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
32335 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
32336 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
32337 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
32338 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
32339 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
32340 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
32341 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
32342 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
32343 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
32344 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
32345 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
32346 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
32347 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
32348 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
32349 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
32350 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
32351 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
32352 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
32353 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
32354 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
32355 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
32356 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
32357 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
32358 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
32359 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
32360 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
32361 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
32362 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
32363 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
32364 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
32365 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
32366 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
32367 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
32368 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
32369 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
32370 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
32371 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
32372 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
32373 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
32374 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
32375 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
32376 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
32377 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
32378 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
32379 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
32380 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
32381 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
32382 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
32383 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
32384 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
32385 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
32386 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
32387 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
32388 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
32389 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
32390 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
32391 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
32392 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
32393 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
32394 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
32395 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
32396 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
32397 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
32398 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
32399 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
32400 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
d14a1e28
RD
32401 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
32402 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
32403 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
32404 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
32405 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
32406 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
32407 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
32408 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
32409 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
32410 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
32411 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
32412 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
32413 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
32414 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
32415 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
32416 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
32417 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
32418 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
32419 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
32420 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
32421 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
32422 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
32423
32424 // Map renamed classes back to their common name for OOR
32425 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
32426
b2dc1044 32427 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
15afbcd0
RD
32428 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
32429 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
32430 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
32431 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
32432 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
32433 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
32434 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
32435 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
32436 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
32437 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
32438 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
32439 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
32440 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
32441 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
32442 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
32443 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
32444 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
32445 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
32446 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
32447 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
32448 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
32449 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
32450 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
32451 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
32452 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
32453 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
32454 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
32455 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
32456 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
32457 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
32458 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
32459 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
32460 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
32461 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
32462 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
d14a1e28
RD
32463 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
32464 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
32465 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
32466 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
32467 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
32468 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
32469 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
32470 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
32471 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
32472 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
32473 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
32474 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
32475 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
32476 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
32477 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
32478 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
32479 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
32480 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
32481 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
c9c7117a 32482 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
d14a1e28
RD
32483
32484 // Map renamed classes back to their common name for OOR
32485 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
32486 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
32487
b2dc1044 32488 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
15afbcd0
RD
32489 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
32490 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
32491 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
32492 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
32493 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
32494 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
32495 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
d14a1e28
RD
32496 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
32497 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
e811c8ce
RD
32498
32499 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
32500
d14a1e28
RD
32501}
32502