]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_controls_wrap.cpp
layout tweak (it should use a sizer though)
[wxWidgets.git] / wxPython / src / msw / _controls_wrap.cpp
CommitLineData
d55e5bfc
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.22
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
82#else
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
85#endif
86
87#ifdef SWIG_GLOBAL
88# define SWIGRUNTIME(a) SWIGEXPORT(a)
89#else
90# define SWIGRUNTIME(a) static a
91#endif
92
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
186typedef double (*py_objasdbl_conv)(PyObject *obj);
187
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198/* Contract support */
199
200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
201
202#ifdef __cplusplus
203}
204#endif
205
206
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
210#define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
211#define SWIGTYPE_p_wxSizer swig_types[2]
212#define SWIGTYPE_p_wxCheckBox swig_types[3]
213#define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
214#define SWIGTYPE_p_wxEvent swig_types[5]
215#define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
216#define SWIGTYPE_p_bool swig_types[7]
217#define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
218#define SWIGTYPE_p_wxItemContainer swig_types[9]
219#define SWIGTYPE_p_wxPyListCtrl swig_types[10]
220#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
221#define SWIGTYPE_p_wxStaticLine swig_types[12]
222#define SWIGTYPE_p_wxControl swig_types[13]
223#define SWIGTYPE_p_wxPyControl swig_types[14]
224#define SWIGTYPE_p_wxGauge swig_types[15]
225#define SWIGTYPE_p_wxToolBarBase swig_types[16]
226#define SWIGTYPE_p_wxFont swig_types[17]
227#define SWIGTYPE_p_wxToggleButton swig_types[18]
228#define SWIGTYPE_p_wxRadioButton swig_types[19]
229#define SWIGTYPE_p_wxChoice swig_types[20]
230#define SWIGTYPE_p_wxMemoryDC swig_types[21]
231#define SWIGTYPE_p_wxListItemAttr swig_types[22]
232#define SWIGTYPE_p_void swig_types[23]
233#define SWIGTYPE_p_int swig_types[24]
234#define SWIGTYPE_p_wxSize swig_types[25]
235#define SWIGTYPE_p_wxDC swig_types[26]
236#define SWIGTYPE_p_wxListView swig_types[27]
237#define SWIGTYPE_p_wxIcon swig_types[28]
238#define SWIGTYPE_p_wxVisualAttributes swig_types[29]
239#define SWIGTYPE_p_wxTextCtrl swig_types[30]
240#define SWIGTYPE_p_wxNotebook swig_types[31]
241#define SWIGTYPE_p_wxNotifyEvent swig_types[32]
242#define SWIGTYPE_p_wxArrayString swig_types[33]
243#define SWIGTYPE_p_wxListbook swig_types[34]
244#define SWIGTYPE_p_wxStaticBitmap swig_types[35]
245#define SWIGTYPE_p_wxSlider swig_types[36]
246#define SWIGTYPE_p_wxStaticBox swig_types[37]
247#define SWIGTYPE_p_wxArrayInt swig_types[38]
248#define SWIGTYPE_p_wxContextHelp swig_types[39]
249#define SWIGTYPE_p_long swig_types[40]
250#define SWIGTYPE_p_wxEvtHandler swig_types[41]
251#define SWIGTYPE_p_wxListEvent swig_types[42]
252#define SWIGTYPE_p_wxCheckListBox swig_types[43]
253#define SWIGTYPE_p_wxListBox swig_types[44]
254#define SWIGTYPE_p_wxBookCtrl swig_types[45]
255#define SWIGTYPE_p_wxSpinButton swig_types[46]
256#define SWIGTYPE_p_wxButton swig_types[47]
257#define SWIGTYPE_p_wxBitmapButton swig_types[48]
258#define SWIGTYPE_p_wxRect swig_types[49]
259#define SWIGTYPE_p_wxContextHelpButton swig_types[50]
260#define SWIGTYPE_p_wxRadioBox swig_types[51]
261#define SWIGTYPE_p_wxScrollBar swig_types[52]
262#define SWIGTYPE_p_char swig_types[53]
263#define SWIGTYPE_p_wxTreeItemId swig_types[54]
264#define SWIGTYPE_p_wxComboBox swig_types[55]
265#define SWIGTYPE_p_wxHelpEvent swig_types[56]
266#define SWIGTYPE_p_wxListItem swig_types[57]
267#define SWIGTYPE_p_wxNotebookSizer swig_types[58]
268#define SWIGTYPE_p_wxSpinEvent swig_types[59]
269#define SWIGTYPE_p_wxGenericDragImage swig_types[60]
270#define SWIGTYPE_p_wxSpinCtrl swig_types[61]
271#define SWIGTYPE_p_wxImageList swig_types[62]
272#define SWIGTYPE_p_wxHelpProvider swig_types[63]
273#define SWIGTYPE_p_wxTextAttr swig_types[64]
274#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
275#define SWIGTYPE_p_wxPoint swig_types[66]
276#define SWIGTYPE_p_wxListbookEvent swig_types[67]
277#define SWIGTYPE_p_wxNotebookEvent swig_types[68]
278#define SWIGTYPE_p_wxObject swig_types[69]
279#define SWIGTYPE_p_wxCursor swig_types[70]
280#define SWIGTYPE_p_wxKeyEvent swig_types[71]
281#define SWIGTYPE_p_wxWindow swig_types[72]
282#define SWIGTYPE_p_wxString swig_types[73]
283#define SWIGTYPE_p_wxBitmap swig_types[74]
284#define SWIGTYPE_p_wxTreeEvent swig_types[75]
285#define SWIGTYPE_p_wxMouseEvent swig_types[76]
286#define SWIGTYPE_p_wxCommandEvent swig_types[77]
287#define SWIGTYPE_p_wxStaticText swig_types[78]
288#define SWIGTYPE_p_wxControlWithItems swig_types[79]
289#define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
290#define SWIGTYPE_p_wxColour swig_types[81]
291#define SWIGTYPE_p_wxToolBar swig_types[82]
292#define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
293#define SWIGTYPE_p_wxValidator swig_types[84]
294static swig_type_info *swig_types[86];
295
296/* -------- TYPES TABLE (END) -------- */
297
298
299/*-----------------------------------------------
300 @(target):= _controls_.so
301 ------------------------------------------------*/
302#define SWIG_init init_controls_
303
304#define SWIG_name "_controls_"
305
306/* Auxiliar swig macros */
307
308#ifdef __cplusplus
309#define SWIGSTATICINLINE(a) static inline a
310#define SWIGSTATIC(a) static a
311#define swig_new_array(type, size) (new type[(size)])
312#define swig_delete_array(cptr) delete[] cptr
313#define swig_const_cast(type,a) const_cast<type>(a)
314#define swig_static_cast(type,a) static_cast<type>(a)
315#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
316
317#ifdef HAVE_NUMERIC_CAST
318#define swig_numeric_cast(type,a) numeric_cast<type>(a)
319#else
320#define swig_numeric_cast(type,a) static_cast<type>(a)
321#endif
322
323#else /* C case */
324
325#define SWIGSTATICINLINE(a) static a
326#define SWIGSTATIC(a) static a
327#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328#define swig_delete_array(cptr) free((char*)cptr)
329#define swig_const_cast(type,a) (type)(a)
330#define swig_static_cast(type,a) (type)(a)
331#define swig_reinterpret_cast(type,a) (type)(a)
332#define swig_numeric_cast(type,a) (type)(a)
333
334#endif /* __cplusplus */
335
336
337#define SWIG_FromSignedChar PyInt_FromLong
338#define SWIG_FromUnsignedChar PyInt_FromLong
339#define SWIG_FromShort PyInt_FromLong
340#define SWIG_FromUnsignedShort PyInt_FromLong
341#define SWIG_FromInt PyInt_FromLong
342#define SWIG_FromLong PyInt_FromLong
343#define SWIG_FromFloat PyFloat_FromDouble
344#define SWIG_FromDouble PyFloat_FromDouble
345#define SWIG_FromFloat PyFloat_FromDouble
346#define SWIG_FromDouble PyFloat_FromDouble
347
348
349#include "wx/wxPython/wxPython.h"
350#include "wx/wxPython/pyclasses.h"
351
352 static const wxString wxPyPanelNameStr(wxPanelNameStr);
353 static const wxString wxPyEmptyString(wxEmptyString);
354 static const wxString wxPyControlNameStr(wxControlNameStr);
355
356 const wxArrayString wxPyEmptyStringArray;
357
358 static const wxString wxPyButtonNameStr(wxButtonNameStr);
359
360#include <limits.h>
361
362
363SWIGSTATICINLINE(long)
364SWIG_CheckLongInRange(long value, const char* type,
365 long min_value, long max_value)
366{
367 if (!PyErr_Occurred()) {
368 if (value < min_value) {
369 PyObject *err =
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value, type, min_value);
372
373 PyErr_SetObject(PyExc_OverflowError, err);
374 Py_DECREF(err);
375 } else if (value > max_value) {
376 PyObject *err =
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value, type, max_value);
379 PyErr_SetObject(PyExc_OverflowError, err);
380 Py_DECREF(err);
381 }
382 }
383 return value;
384}
385
386
387SWIGSTATICINLINE(long)
388SWIG_AsLong(PyObject * obj)
389{
390 if (PyNumber_Check(obj))
391 return PyInt_AsLong(obj);
392 else {
393 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
394 obj->ob_type->tp_name);
395 PyErr_SetObject(PyExc_TypeError, errmsg);
396 Py_DECREF(errmsg);
397 return 0;
398 }
399}
400
401
402#if INT_MAX != LONG_MAX
403SWIGSTATICINLINE(int)
404SWIG_AsInt(PyObject *obj)
405{
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj),
408 "int", INT_MIN, INT_MAX));
409}
410#else
411#define SWIG_AsInt SWIG_AsLong
412#endif
413
414
415SWIGSTATICINLINE(int)
416SWIG_CheckInt(PyObject* obj)
417{
418 SWIG_AsInt(obj);
419 if (PyErr_Occurred()) {
420 PyErr_Clear();
421 return 0;
422 } else {
423 return 1;
424 }
425}
426
427
428SWIGSTATICINLINE(int)
429SWIG_CheckLong(PyObject* obj)
430{
431 SWIG_AsLong(obj);
432 if (PyErr_Occurred()) {
433 PyErr_Clear();
434 return 0;
435 } else {
436 return 1;
437 }
438}
439
440 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
441
442SWIGSTATICINLINE(bool)
443SWIG_AsBool(PyObject *obj)
444{
445 return PyObject_IsTrue(obj) ? true : false;
446}
447
448
449SWIGSTATICINLINE(int)
450SWIG_CheckBool(PyObject* obj)
451{
452 SWIG_AsBool(obj);
453 if (PyErr_Occurred()) {
454 PyErr_Clear();
455 return 0;
456 } else {
457 return 1;
458 }
459}
460
461 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
462 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
463 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
464 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
465 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
466 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
467
468#include <wx/checklst.h>
469
470
471 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
472void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
473 if (clientData) {
474 wxPyClientData* data = new wxPyClientData(clientData);
475 self->Insert(item, pos, data);
476 } else
477 self->Insert(item, pos);
478 }
479PyObject *wxListBox_GetSelections(wxListBox *self){
480 wxArrayInt lst;
481 self->GetSelections(lst);
482 PyObject *tup = PyTuple_New(lst.GetCount());
483 for(size_t i=0; i<lst.GetCount(); i++) {
484 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
485 }
486 return tup;
487 }
488void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
489 #ifdef __WXMSW__
490 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
491 self->GetItem(item)->SetTextColour(c);
492 #endif
493 }
494void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
495 #ifdef __WXMSW__
496 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
497 self->GetItem(item)->SetBackgroundColour(c);
498 #endif
499 }
500void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
501 #ifdef __WXMSW__
502 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
503 self->GetItem(item)->SetFont(f);
504 #endif
505 }
506 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
507
508static PyObject* t_output_helper(PyObject* target, PyObject* o) {
509 PyObject* o2;
510 PyObject* o3;
511
512 if (!target) {
513 target = o;
514 } else if (target == Py_None) {
515 Py_DECREF(Py_None);
516 target = o;
517 } else {
518 if (!PyTuple_Check(target)) {
519 o2 = target;
520 target = PyTuple_New(1);
521 PyTuple_SetItem(target, 0, o2);
522 }
523 o3 = PyTuple_New(1);
524 PyTuple_SetItem(o3, 0, o);
525
526 o2 = target;
527 target = PySequence_Concat(o2, o3);
528 Py_DECREF(o2);
529 Py_DECREF(o3);
530 }
531 return target;
532}
533
534
535SWIGSTATICINLINE(unsigned long)
536SWIG_AsUnsignedLong(PyObject * obj)
537{
538 if (PyLong_Check(obj)) {
539 return PyLong_AsUnsignedLong(obj);
540 } else {
541 long i = SWIG_AsLong(obj);
542 if ( !PyErr_Occurred() && (i < 0)) {
543 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
544 }
545 return i;
546 }
547}
548
549
550SWIGSTATICINLINE(int)
551SWIG_CheckUnsignedLong(PyObject* obj)
552{
553 SWIG_AsUnsignedLong(obj);
554 if (PyErr_Occurred()) {
555 PyErr_Clear();
556 return 0;
557 } else {
558 return 1;
559 }
560}
561
562void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
563 self->AppendText(text);
564 }
565wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
566 return self->GetValue().Mid(from, to - from);
567 }
568 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
569 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
570 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
571 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
572 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
573
574#include <wx/slider.h>
575
576
577 static const wxString wxPySliderNameStr(wxSliderNameStr);
578 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
579
580#if !wxUSE_TOGGLEBTN
581// implement dummy items for platforms that don't have this class
582
583#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
584
585class wxToggleButton : public wxControl
586{
587public:
588 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
589 const wxPoint&, const wxSize&, long,
590 const wxValidator&, const wxString&)
591 { wxPyRaiseNotImplemented(); }
592
593 wxToggleButton()
594 { wxPyRaiseNotImplemented(); }
595};
596#endif
597
598 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
599
600SWIGSTATICINLINE(PyObject* )
601SWIG_FromUnsignedLong(unsigned long value)
602{
603 return (value > LONG_MAX) ?
604 PyLong_FromUnsignedLong(value)
605 : PyInt_FromLong(swig_numeric_cast(long,value));
606}
607
608 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
609PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
610 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
611 if (udata) {
612 Py_INCREF(udata->m_obj);
613 return udata->m_obj;
614 } else {
615 Py_INCREF(Py_None);
616 return Py_None;
617 }
618 }
619void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
620 self->SetClientData(new wxPyUserData(clientData));
621 }
622wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
623 wxPyUserData* udata = NULL;
624 if (clientData && clientData != Py_None)
625 udata = new wxPyUserData(clientData);
626 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
627 shortHelp, longHelp, udata);
628 }
629wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
630 wxPyUserData* udata = NULL;
631 if (clientData && clientData != Py_None)
632 udata = new wxPyUserData(clientData);
633 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
634 shortHelp, longHelp, udata);
635 }
636PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
637 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
638 if (udata) {
639 Py_INCREF(udata->m_obj);
640 return udata->m_obj;
641 } else {
642 Py_INCREF(Py_None);
643 return Py_None;
644 }
645 }
646void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
647 self->SetToolClientData(id, new wxPyUserData(clientData));
648 }
649
650#include <wx/listctrl.h>
651
d55e5bfc
RD
652 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
653void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
654 // Python aware sorting function for wxPyListCtrl
655 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
656 int retval = 0;
657 PyObject* func = (PyObject*)funcPtr;
658 bool blocked = wxPyBeginBlockThreads();
659
660 PyObject* args = Py_BuildValue("(ii)", item1, item2);
661 PyObject* result = PyEval_CallObject(func, args);
662 Py_DECREF(args);
663 if (result) {
664 retval = PyInt_AsLong(result);
665 Py_DECREF(result);
666 }
667
668 wxPyEndBlockThreads(blocked);
669 return retval;
670 }
671
672 // C++ Version of a Python aware class
673class wxPyListCtrl : public wxListCtrl {
674 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
675public:
676 wxPyListCtrl() : wxListCtrl() {}
677 wxPyListCtrl(wxWindow* parent, wxWindowID id,
678 const wxPoint& pos,
679 const wxSize& size,
680 long style,
681 const wxValidator& validator,
682 const wxString& name) :
683 wxListCtrl(parent, id, pos, size, style, validator, name) {}
684
685 bool Create(wxWindow* parent, wxWindowID id,
686 const wxPoint& pos,
687 const wxSize& size,
688 long style,
689 const wxValidator& validator,
690 const wxString& name) {
691 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
692 }
693
694 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
695 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
696 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
697
698 PYPRIVATE;
699};
700
701IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
702
703IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
704IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
705IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
706
707wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
708 wxListItem item;
709 item.SetMask( wxLIST_MASK_STATE |
710 wxLIST_MASK_TEXT |
711 wxLIST_MASK_IMAGE |
712 wxLIST_MASK_DATA |
713 wxLIST_SET_ITEM |
714 wxLIST_MASK_WIDTH |
715 wxLIST_MASK_FORMAT
716 );
717 if (self->GetColumn(col, item))
718 return new wxListItem(item);
719 else
720 return NULL;
721 }
722wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
723 wxListItem* info = new wxListItem;
724 info->m_itemId = itemId;
725 info->m_col = col;
726 info->m_mask = 0xFFFF;
727 self->GetItem(*info);
728 return info;
729 }
730wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
731 wxPoint pos;
732 self->GetItemPosition(item, pos);
733 return pos;
734 }
735wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
736 wxRect rect;
737 self->GetItemRect(item, rect, code);
738 return rect;
739 }
740bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
741 if (!PyCallable_Check(func))
742 return False;
743 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
744 }
745wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
746
747 return self;
748
749
750
751 }
752
753#include <wx/treectrl.h>
754#include "wx/wxPython/pytree.h"
755
756 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
757bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
758bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
759void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
760 // C++ version of Python aware wxTreeCtrl
761class wxPyTreeCtrl : public wxTreeCtrl {
762 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
763public:
764 wxPyTreeCtrl() : wxTreeCtrl() {}
765 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
766 const wxPoint& pos,
767 const wxSize& size,
768 long style,
769 const wxValidator& validator,
770 const wxString& name) :
771 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
772
773 bool Create(wxWindow *parent, wxWindowID id,
774 const wxPoint& pos,
775 const wxSize& size,
776 long style,
777 const wxValidator& validator,
778 const wxString& name) {
779 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
780 }
781
782
783 int OnCompareItems(const wxTreeItemId& item1,
784 const wxTreeItemId& item2) {
785 int rval = 0;
786 bool found;
787 bool blocked = wxPyBeginBlockThreads();
788 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
789 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
790 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
791 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
792 Py_DECREF(o1);
793 Py_DECREF(o2);
794 }
795 wxPyEndBlockThreads(blocked);
796 if (! found)
797 rval = wxTreeCtrl::OnCompareItems(item1, item2);
798 return rval;
799 }
800 PYPRIVATE;
801};
802
803IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
804
805
806
807#if UINT_MAX < LONG_MAX
808#define SWIG_FromUnsignedInt SWIG_FromLong
809#else
810#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
811#endif
812
813
814SWIGSTATICINLINE(unsigned long)
815SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
816 unsigned long max_value)
817{
818 if (!PyErr_Occurred()) {
819 if (value > max_value) {
820 PyObject *err =
821 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
822 value, type, max_value);
823 PyErr_SetObject(PyExc_OverflowError, err);
824 Py_DECREF(err);
825 }
826 }
827 return value;
828}
829
830
831#if UINT_MAX != ULONG_MAX
832SWIGSTATICINLINE(unsigned int)
833SWIG_AsUnsignedInt(PyObject *obj)
834{
835 return swig_numeric_cast(unsigned int,
836 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
837 "unsigned int", UINT_MAX));
838}
839#else
840#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
841#endif
842
843
844SWIGSTATICINLINE(int)
845SWIG_CheckUnsignedInt(PyObject* obj)
846{
847 SWIG_AsUnsignedInt(obj);
848 if (PyErr_Occurred()) {
849 PyErr_Clear();
850 return 0;
851 } else {
852 return 1;
853 }
854}
855
856wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
857 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
858 if (data == NULL) {
859 data = new wxPyTreeItemData();
860 data->SetId(item); // set the id
861 self->SetItemData(item, data);
862 }
863 return data;
864 }
865PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
866 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
867 if (data == NULL) {
868 data = new wxPyTreeItemData();
869 data->SetId(item); // set the id
870 self->SetItemData(item, data);
871 }
872 return data->GetData();
873 }
874void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
875 data->SetId(item); // set the id
876 self->SetItemData(item, data);
877 }
878void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
879 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
880 if (data == NULL) {
881 data = new wxPyTreeItemData(obj);
882 data->SetId(item); // set the id
883 self->SetItemData(item, data);
884 } else
885 data->SetData(obj);
886 }
887PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
888 bool blocked = wxPyBeginBlockThreads();
889 PyObject* rval = PyList_New(0);
890 wxArrayTreeItemIds array;
891 size_t num, x;
892 num = self->GetSelections(array);
893 for (x=0; x < num; x++) {
894 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
895 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
896 PyList_Append(rval, item);
a07a67e6 897 Py_DECREF(item);
d55e5bfc
RD
898 }
899 wxPyEndBlockThreads(blocked);
900 return rval;
901 }
902PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
903 void* cookie = 0;
904 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
905 bool blocked = wxPyBeginBlockThreads();
906 PyObject* tup = PyTuple_New(2);
907 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
908 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
909 wxPyEndBlockThreads(blocked);
910 return tup;
911 }
912PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
913 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
914 bool blocked = wxPyBeginBlockThreads();
915 PyObject* tup = PyTuple_New(2);
916 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
917 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
918 wxPyEndBlockThreads(blocked);
919 return tup;
920 }
921PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
922 wxRect rect;
923 if (self->GetBoundingRect(item, rect, textOnly)) {
924 bool blocked = wxPyBeginBlockThreads();
925 wxRect* r = new wxRect(rect);
926 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
927 wxPyEndBlockThreads(blocked);
928 return val;
929 }
930 else
931 RETURN_NONE();
932 }
933 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
934 // C++ version of Python aware wxControl
935class wxPyControl : public wxControl
936{
937 DECLARE_DYNAMIC_CLASS(wxPyControl)
938public:
939 wxPyControl() : wxControl() {}
940 wxPyControl(wxWindow* parent, const wxWindowID id,
941 const wxPoint& pos = wxDefaultPosition,
942 const wxSize& size = wxDefaultSize,
943 long style = 0,
944 const wxValidator& validator=wxDefaultValidator,
945 const wxString& name = wxPyControlNameStr)
946 : wxControl(parent, id, pos, size, style, validator, name) {}
947
caef1a4d 948 void SetBestSize(const wxSize& size) { wxControl::SetBestSize(size); }
d55e5bfc
RD
949
950 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
951 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
952 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
953 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
954
955 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
956 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
957 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
958
959 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
960 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
961
962 DEC_PYCALLBACK__(InitDialog);
963 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
964 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
965 DEC_PYCALLBACK_BOOL_(Validate);
966
967 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
968 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
969 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
970
971 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
972 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
973
caef1a4d 974 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours);
d55e5bfc 975 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground);
caef1a4d 976 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes);
d55e5bfc
RD
977
978 PYPRIVATE;
979};
980
981IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
982
983IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
984IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
985IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
986IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
987
988IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
989IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
990IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
991
992IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
993IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
994
995IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
996IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
997IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
998IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
999
1000IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
1001IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
1002IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
1003
1004IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
1005IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
1006
caef1a4d 1007IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, ShouldInheritColours);
d55e5bfc 1008IMP_PYCALLBACK__COLOUR(wxPyControl, wxControl, ApplyParentThemeBackground);
caef1a4d 1009IMP_PYCALLBACK_VIZATTR_(wxPyControl, wxControl, GetDefaultAttributes);
d55e5bfc
RD
1010
1011
1012
1013void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
1014
1015#include <wx/generic/dragimgg.h>
1016
1017#ifdef __cplusplus
1018extern "C" {
1019#endif
1020static int _wrap_ButtonNameStr_set(PyObject *_val) {
1021 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
1022 return 1;
1023}
1024
1025
1026static PyObject *_wrap_ButtonNameStr_get() {
1027 PyObject *pyobj;
1028
1029 {
1030#if wxUSE_UNICODE
1031 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1032#else
1033 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
1034#endif
1035 }
1036 return pyobj;
1037}
1038
1039
1040static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
1041 PyObject *resultobj;
1042 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
1043 int arg2 = (int) -1 ;
1044 wxString const &arg3_defvalue = wxPyEmptyString ;
1045 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
1046 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1047 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1048 wxSize const &arg5_defvalue = wxDefaultSize ;
1049 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1050 long arg6 = (long) 0 ;
1051 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1052 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1053 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1054 wxString *arg8 = (wxString *) &arg8_defvalue ;
1055 wxButton *result;
1056 bool temp3 = False ;
1057 wxPoint temp4 ;
1058 wxSize temp5 ;
1059 bool temp8 = False ;
1060 PyObject * obj0 = 0 ;
1061 PyObject * obj1 = 0 ;
1062 PyObject * obj2 = 0 ;
1063 PyObject * obj3 = 0 ;
1064 PyObject * obj4 = 0 ;
1065 PyObject * obj5 = 0 ;
1066 PyObject * obj6 = 0 ;
1067 PyObject * obj7 = 0 ;
1068 char *kwnames[] = {
1069 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1070 };
1071
248ed943 1072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
1073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
1075 if (obj1) {
1076 arg2 = (int) SWIG_AsInt(obj1);
1077 if (PyErr_Occurred()) SWIG_fail;
1078 }
1079 if (obj2) {
1080 {
1081 arg3 = wxString_in_helper(obj2);
1082 if (arg3 == NULL) SWIG_fail;
1083 temp3 = True;
1084 }
d55e5bfc
RD
1085 }
1086 if (obj3) {
1087 {
1088 arg4 = &temp4;
1089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1090 }
1091 }
1092 if (obj4) {
1093 {
1094 arg5 = &temp5;
1095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1096 }
1097 }
1098 if (obj5) {
1099 arg6 = (long) SWIG_AsLong(obj5);
1100 if (PyErr_Occurred()) SWIG_fail;
1101 }
1102 if (obj6) {
1103 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1104 SWIG_POINTER_EXCEPTION | 0)) == -1)
1105 SWIG_fail;
1106 if (arg7 == NULL) {
1107 PyErr_SetString(PyExc_TypeError,"null reference");
1108 SWIG_fail;
1109 }
1110 }
1111 if (obj7) {
1112 {
1113 arg8 = wxString_in_helper(obj7);
1114 if (arg8 == NULL) SWIG_fail;
1115 temp8 = True;
1116 }
1117 }
1118 {
0439c23b 1119 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1120 PyThreadState* __tstate = wxPyBeginAllowThreads();
1121 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1122
1123 wxPyEndAllowThreads(__tstate);
0439c23b 1124 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1125 }
1126 {
1127 resultobj = wxPyMake_wxObject(result);
1128 }
1129 {
1130 if (temp3)
1131 delete arg3;
1132 }
1133 {
1134 if (temp8)
1135 delete arg8;
1136 }
1137 return resultobj;
1138 fail:
1139 {
1140 if (temp3)
1141 delete arg3;
1142 }
1143 {
1144 if (temp8)
1145 delete arg8;
1146 }
1147 return NULL;
1148}
1149
1150
1151static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1152 PyObject *resultobj;
1153 wxButton *result;
1154 char *kwnames[] = {
1155 NULL
1156 };
1157
1158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1159 {
0439c23b 1160 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1161 PyThreadState* __tstate = wxPyBeginAllowThreads();
1162 result = (wxButton *)new wxButton();
1163
1164 wxPyEndAllowThreads(__tstate);
0439c23b 1165 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1166 }
1167 {
1168 resultobj = wxPyMake_wxObject(result);
1169 }
1170 return resultobj;
1171 fail:
1172 return NULL;
1173}
1174
1175
1176static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1177 PyObject *resultobj;
1178 wxButton *arg1 = (wxButton *) 0 ;
1179 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
1180 int arg3 = (int) -1 ;
1181 wxString const &arg4_defvalue = wxPyEmptyString ;
1182 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
1183 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1184 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1185 wxSize const &arg6_defvalue = wxDefaultSize ;
1186 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1187 long arg7 = (long) 0 ;
1188 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1189 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1190 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1191 wxString *arg9 = (wxString *) &arg9_defvalue ;
1192 bool result;
1193 bool temp4 = False ;
1194 wxPoint temp5 ;
1195 wxSize temp6 ;
1196 bool temp9 = False ;
1197 PyObject * obj0 = 0 ;
1198 PyObject * obj1 = 0 ;
1199 PyObject * obj2 = 0 ;
1200 PyObject * obj3 = 0 ;
1201 PyObject * obj4 = 0 ;
1202 PyObject * obj5 = 0 ;
1203 PyObject * obj6 = 0 ;
1204 PyObject * obj7 = 0 ;
1205 PyObject * obj8 = 0 ;
1206 char *kwnames[] = {
1207 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1208 };
1209
248ed943 1210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
1211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
1215 if (obj2) {
1216 arg3 = (int) SWIG_AsInt(obj2);
1217 if (PyErr_Occurred()) SWIG_fail;
1218 }
1219 if (obj3) {
1220 {
1221 arg4 = wxString_in_helper(obj3);
1222 if (arg4 == NULL) SWIG_fail;
1223 temp4 = True;
1224 }
d55e5bfc
RD
1225 }
1226 if (obj4) {
1227 {
1228 arg5 = &temp5;
1229 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1230 }
1231 }
1232 if (obj5) {
1233 {
1234 arg6 = &temp6;
1235 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1236 }
1237 }
1238 if (obj6) {
1239 arg7 = (long) SWIG_AsLong(obj6);
1240 if (PyErr_Occurred()) SWIG_fail;
1241 }
1242 if (obj7) {
1243 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1244 SWIG_POINTER_EXCEPTION | 0)) == -1)
1245 SWIG_fail;
1246 if (arg8 == NULL) {
1247 PyErr_SetString(PyExc_TypeError,"null reference");
1248 SWIG_fail;
1249 }
1250 }
1251 if (obj8) {
1252 {
1253 arg9 = wxString_in_helper(obj8);
1254 if (arg9 == NULL) SWIG_fail;
1255 temp9 = True;
1256 }
1257 }
1258 {
1259 PyThreadState* __tstate = wxPyBeginAllowThreads();
1260 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1261
1262 wxPyEndAllowThreads(__tstate);
1263 if (PyErr_Occurred()) SWIG_fail;
1264 }
1265 {
1266 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1267 }
1268 {
1269 if (temp4)
1270 delete arg4;
1271 }
1272 {
1273 if (temp9)
1274 delete arg9;
1275 }
1276 return resultobj;
1277 fail:
1278 {
1279 if (temp4)
1280 delete arg4;
1281 }
1282 {
1283 if (temp9)
1284 delete arg9;
1285 }
1286 return NULL;
1287}
1288
1289
1290static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1291 PyObject *resultobj;
1292 wxButton *arg1 = (wxButton *) 0 ;
1293 PyObject * obj0 = 0 ;
1294 char *kwnames[] = {
1295 (char *) "self", NULL
1296 };
1297
1298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1301 {
1302 PyThreadState* __tstate = wxPyBeginAllowThreads();
1303 (arg1)->SetDefault();
1304
1305 wxPyEndAllowThreads(__tstate);
1306 if (PyErr_Occurred()) SWIG_fail;
1307 }
1308 Py_INCREF(Py_None); resultobj = Py_None;
1309 return resultobj;
1310 fail:
1311 return NULL;
1312}
1313
1314
1315static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1316 PyObject *resultobj;
1317 wxSize result;
1318 char *kwnames[] = {
1319 NULL
1320 };
1321
1322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1323 {
1324 PyThreadState* __tstate = wxPyBeginAllowThreads();
1325 result = wxButton::GetDefaultSize();
1326
1327 wxPyEndAllowThreads(__tstate);
1328 if (PyErr_Occurred()) SWIG_fail;
1329 }
1330 {
1331 wxSize * resultptr;
1332 resultptr = new wxSize((wxSize &) result);
1333 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1334 }
1335 return resultobj;
1336 fail:
1337 return NULL;
1338}
1339
1340
f20a2e1f
RD
1341static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1342 PyObject *resultobj;
1343 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1344 wxVisualAttributes result;
1345 PyObject * obj0 = 0 ;
1346 char *kwnames[] = {
1347 (char *) "variant", NULL
1348 };
1349
1350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1351 if (obj0) {
1352 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1353 if (PyErr_Occurred()) SWIG_fail;
1354 }
1355 {
0439c23b 1356 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
1357 PyThreadState* __tstate = wxPyBeginAllowThreads();
1358 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1359
1360 wxPyEndAllowThreads(__tstate);
0439c23b 1361 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
1362 }
1363 {
1364 wxVisualAttributes * resultptr;
1365 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1366 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1367 }
1368 return resultobj;
1369 fail:
1370 return NULL;
1371}
1372
1373
d55e5bfc
RD
1374static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1375 PyObject *obj;
1376 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1377 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1378 Py_INCREF(obj);
1379 return Py_BuildValue((char *)"");
1380}
1381static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject *resultobj;
1383 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
1384 int arg2 = (int) -1 ;
1385 wxBitmap const &arg3_defvalue = wxNullBitmap ;
1386 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
1387 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1388 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1389 wxSize const &arg5_defvalue = wxDefaultSize ;
1390 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1391 long arg6 = (long) wxBU_AUTODRAW ;
1392 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1393 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1394 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1395 wxString *arg8 = (wxString *) &arg8_defvalue ;
1396 wxBitmapButton *result;
1397 wxPoint temp4 ;
1398 wxSize temp5 ;
1399 bool temp8 = False ;
1400 PyObject * obj0 = 0 ;
1401 PyObject * obj1 = 0 ;
1402 PyObject * obj2 = 0 ;
1403 PyObject * obj3 = 0 ;
1404 PyObject * obj4 = 0 ;
1405 PyObject * obj5 = 0 ;
1406 PyObject * obj6 = 0 ;
1407 PyObject * obj7 = 0 ;
1408 char *kwnames[] = {
1409 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1410 };
1411
248ed943 1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
1413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
1415 if (obj1) {
1416 arg2 = (int) SWIG_AsInt(obj1);
1417 if (PyErr_Occurred()) SWIG_fail;
1418 }
1419 if (obj2) {
1420 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1421 SWIG_POINTER_EXCEPTION | 0)) == -1)
d55e5bfc 1422 SWIG_fail;
248ed943
RD
1423 if (arg3 == NULL) {
1424 PyErr_SetString(PyExc_TypeError,"null reference");
1425 SWIG_fail;
1426 }
d55e5bfc
RD
1427 }
1428 if (obj3) {
1429 {
1430 arg4 = &temp4;
1431 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1432 }
1433 }
1434 if (obj4) {
1435 {
1436 arg5 = &temp5;
1437 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1438 }
1439 }
1440 if (obj5) {
1441 arg6 = (long) SWIG_AsLong(obj5);
1442 if (PyErr_Occurred()) SWIG_fail;
1443 }
1444 if (obj6) {
1445 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1446 SWIG_POINTER_EXCEPTION | 0)) == -1)
1447 SWIG_fail;
1448 if (arg7 == NULL) {
1449 PyErr_SetString(PyExc_TypeError,"null reference");
1450 SWIG_fail;
1451 }
1452 }
1453 if (obj7) {
1454 {
1455 arg8 = wxString_in_helper(obj7);
1456 if (arg8 == NULL) SWIG_fail;
1457 temp8 = True;
1458 }
1459 }
1460 {
0439c23b 1461 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1462 PyThreadState* __tstate = wxPyBeginAllowThreads();
1463 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1464
1465 wxPyEndAllowThreads(__tstate);
0439c23b 1466 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1467 }
1468 {
1469 resultobj = wxPyMake_wxObject(result);
1470 }
1471 {
1472 if (temp8)
1473 delete arg8;
1474 }
1475 return resultobj;
1476 fail:
1477 {
1478 if (temp8)
1479 delete arg8;
1480 }
1481 return NULL;
1482}
1483
1484
1485static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject *resultobj;
1487 wxBitmapButton *result;
1488 char *kwnames[] = {
1489 NULL
1490 };
1491
1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1493 {
0439c23b 1494 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
1495 PyThreadState* __tstate = wxPyBeginAllowThreads();
1496 result = (wxBitmapButton *)new wxBitmapButton();
1497
1498 wxPyEndAllowThreads(__tstate);
0439c23b 1499 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
1500 }
1501 {
1502 resultobj = wxPyMake_wxObject(result);
1503 }
1504 return resultobj;
1505 fail:
1506 return NULL;
1507}
1508
1509
1510static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1511 PyObject *resultobj;
1512 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1513 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
1514 int arg3 = (int) -1 ;
1515 wxBitmap const &arg4_defvalue = wxNullBitmap ;
1516 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
1517 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1518 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1519 wxSize const &arg6_defvalue = wxDefaultSize ;
1520 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1521 long arg7 = (long) wxBU_AUTODRAW ;
1522 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1523 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1524 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1525 wxString *arg9 = (wxString *) &arg9_defvalue ;
1526 bool result;
1527 wxPoint temp5 ;
1528 wxSize temp6 ;
1529 bool temp9 = False ;
1530 PyObject * obj0 = 0 ;
1531 PyObject * obj1 = 0 ;
1532 PyObject * obj2 = 0 ;
1533 PyObject * obj3 = 0 ;
1534 PyObject * obj4 = 0 ;
1535 PyObject * obj5 = 0 ;
1536 PyObject * obj6 = 0 ;
1537 PyObject * obj7 = 0 ;
1538 PyObject * obj8 = 0 ;
1539 char *kwnames[] = {
1540 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1541 };
1542
248ed943 1543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
1544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
1548 if (obj2) {
1549 arg3 = (int) SWIG_AsInt(obj2);
1550 if (PyErr_Occurred()) SWIG_fail;
1551 }
1552 if (obj3) {
1553 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1554 SWIG_POINTER_EXCEPTION | 0)) == -1)
d55e5bfc 1555 SWIG_fail;
248ed943
RD
1556 if (arg4 == NULL) {
1557 PyErr_SetString(PyExc_TypeError,"null reference");
1558 SWIG_fail;
1559 }
d55e5bfc
RD
1560 }
1561 if (obj4) {
1562 {
1563 arg5 = &temp5;
1564 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1565 }
1566 }
1567 if (obj5) {
1568 {
1569 arg6 = &temp6;
1570 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1571 }
1572 }
1573 if (obj6) {
1574 arg7 = (long) SWIG_AsLong(obj6);
1575 if (PyErr_Occurred()) SWIG_fail;
1576 }
1577 if (obj7) {
1578 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1579 SWIG_POINTER_EXCEPTION | 0)) == -1)
1580 SWIG_fail;
1581 if (arg8 == NULL) {
1582 PyErr_SetString(PyExc_TypeError,"null reference");
1583 SWIG_fail;
1584 }
1585 }
1586 if (obj8) {
1587 {
1588 arg9 = wxString_in_helper(obj8);
1589 if (arg9 == NULL) SWIG_fail;
1590 temp9 = True;
1591 }
1592 }
1593 {
1594 PyThreadState* __tstate = wxPyBeginAllowThreads();
1595 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1596
1597 wxPyEndAllowThreads(__tstate);
1598 if (PyErr_Occurred()) SWIG_fail;
1599 }
1600 {
1601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1602 }
1603 {
1604 if (temp9)
1605 delete arg9;
1606 }
1607 return resultobj;
1608 fail:
1609 {
1610 if (temp9)
1611 delete arg9;
1612 }
1613 return NULL;
1614}
1615
1616
1617static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1618 PyObject *resultobj;
1619 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1620 wxBitmap result;
1621 PyObject * obj0 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1629 {
1630 PyThreadState* __tstate = wxPyBeginAllowThreads();
1631 result = (arg1)->GetBitmapLabel();
1632
1633 wxPyEndAllowThreads(__tstate);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 {
1637 wxBitmap * resultptr;
1638 resultptr = new wxBitmap((wxBitmap &) result);
1639 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1640 }
1641 return resultobj;
1642 fail:
1643 return NULL;
1644}
1645
1646
1647static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1648 PyObject *resultobj;
1649 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1650 wxBitmap result;
1651 PyObject * obj0 = 0 ;
1652 char *kwnames[] = {
1653 (char *) "self", NULL
1654 };
1655
1656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
1661 result = (arg1)->GetBitmapDisabled();
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
1666 {
1667 wxBitmap * resultptr;
1668 resultptr = new wxBitmap((wxBitmap &) result);
1669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1670 }
1671 return resultobj;
1672 fail:
1673 return NULL;
1674}
1675
1676
1677static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1678 PyObject *resultobj;
1679 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1680 wxBitmap result;
1681 PyObject * obj0 = 0 ;
1682 char *kwnames[] = {
1683 (char *) "self", NULL
1684 };
1685
1686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 result = (arg1)->GetBitmapFocus();
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 }
1696 {
1697 wxBitmap * resultptr;
1698 resultptr = new wxBitmap((wxBitmap &) result);
1699 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1700 }
1701 return resultobj;
1702 fail:
1703 return NULL;
1704}
1705
1706
1707static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1708 PyObject *resultobj;
1709 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1710 wxBitmap result;
1711 PyObject * obj0 = 0 ;
1712 char *kwnames[] = {
1713 (char *) "self", NULL
1714 };
1715
1716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1719 {
1720 PyThreadState* __tstate = wxPyBeginAllowThreads();
1721 result = (arg1)->GetBitmapSelected();
1722
1723 wxPyEndAllowThreads(__tstate);
1724 if (PyErr_Occurred()) SWIG_fail;
1725 }
1726 {
1727 wxBitmap * resultptr;
1728 resultptr = new wxBitmap((wxBitmap &) result);
1729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1730 }
1731 return resultobj;
1732 fail:
1733 return NULL;
1734}
1735
1736
1737static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1738 PyObject *resultobj;
1739 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1740 wxBitmap *arg2 = 0 ;
1741 PyObject * obj0 = 0 ;
1742 PyObject * obj1 = 0 ;
1743 char *kwnames[] = {
1744 (char *) "self",(char *) "bitmap", NULL
1745 };
1746
1747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1750 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1751 SWIG_POINTER_EXCEPTION | 0)) == -1)
1752 SWIG_fail;
1753 if (arg2 == NULL) {
1754 PyErr_SetString(PyExc_TypeError,"null reference");
1755 SWIG_fail;
1756 }
1757 {
1758 PyThreadState* __tstate = wxPyBeginAllowThreads();
1759 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1760
1761 wxPyEndAllowThreads(__tstate);
1762 if (PyErr_Occurred()) SWIG_fail;
1763 }
1764 Py_INCREF(Py_None); resultobj = Py_None;
1765 return resultobj;
1766 fail:
1767 return NULL;
1768}
1769
1770
1771static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1772 PyObject *resultobj;
1773 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1774 wxBitmap *arg2 = 0 ;
1775 PyObject * obj0 = 0 ;
1776 PyObject * obj1 = 0 ;
1777 char *kwnames[] = {
1778 (char *) "self",(char *) "bitmap", NULL
1779 };
1780
1781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1784 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1785 SWIG_POINTER_EXCEPTION | 0)) == -1)
1786 SWIG_fail;
1787 if (arg2 == NULL) {
1788 PyErr_SetString(PyExc_TypeError,"null reference");
1789 SWIG_fail;
1790 }
1791 {
1792 PyThreadState* __tstate = wxPyBeginAllowThreads();
1793 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1794
1795 wxPyEndAllowThreads(__tstate);
1796 if (PyErr_Occurred()) SWIG_fail;
1797 }
1798 Py_INCREF(Py_None); resultobj = Py_None;
1799 return resultobj;
1800 fail:
1801 return NULL;
1802}
1803
1804
1805static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1806 PyObject *resultobj;
1807 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1808 wxBitmap *arg2 = 0 ;
1809 PyObject * obj0 = 0 ;
1810 PyObject * obj1 = 0 ;
1811 char *kwnames[] = {
1812 (char *) "self",(char *) "bitmap", NULL
1813 };
1814
1815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1819 SWIG_POINTER_EXCEPTION | 0)) == -1)
1820 SWIG_fail;
1821 if (arg2 == NULL) {
1822 PyErr_SetString(PyExc_TypeError,"null reference");
1823 SWIG_fail;
1824 }
1825 {
1826 PyThreadState* __tstate = wxPyBeginAllowThreads();
1827 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1828
1829 wxPyEndAllowThreads(__tstate);
1830 if (PyErr_Occurred()) SWIG_fail;
1831 }
1832 Py_INCREF(Py_None); resultobj = Py_None;
1833 return resultobj;
1834 fail:
1835 return NULL;
1836}
1837
1838
1839static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1840 PyObject *resultobj;
1841 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1842 wxBitmap *arg2 = 0 ;
1843 PyObject * obj0 = 0 ;
1844 PyObject * obj1 = 0 ;
1845 char *kwnames[] = {
1846 (char *) "self",(char *) "bitmap", NULL
1847 };
1848
1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1853 SWIG_POINTER_EXCEPTION | 0)) == -1)
1854 SWIG_fail;
1855 if (arg2 == NULL) {
1856 PyErr_SetString(PyExc_TypeError,"null reference");
1857 SWIG_fail;
1858 }
1859 {
1860 PyThreadState* __tstate = wxPyBeginAllowThreads();
1861 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1862
1863 wxPyEndAllowThreads(__tstate);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 }
1866 Py_INCREF(Py_None); resultobj = Py_None;
1867 return resultobj;
1868 fail:
1869 return NULL;
1870}
1871
1872
1873static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1874 PyObject *resultobj;
1875 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1876 int arg2 ;
1877 int arg3 ;
1878 PyObject * obj0 = 0 ;
1879 PyObject * obj1 = 0 ;
1880 PyObject * obj2 = 0 ;
1881 char *kwnames[] = {
1882 (char *) "self",(char *) "x",(char *) "y", NULL
1883 };
1884
1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1888 arg2 = (int) SWIG_AsInt(obj1);
1889 if (PyErr_Occurred()) SWIG_fail;
1890 arg3 = (int) SWIG_AsInt(obj2);
1891 if (PyErr_Occurred()) SWIG_fail;
1892 {
1893 PyThreadState* __tstate = wxPyBeginAllowThreads();
1894 (arg1)->SetMargins(arg2,arg3);
1895
1896 wxPyEndAllowThreads(__tstate);
1897 if (PyErr_Occurred()) SWIG_fail;
1898 }
1899 Py_INCREF(Py_None); resultobj = Py_None;
1900 return resultobj;
1901 fail:
1902 return NULL;
1903}
1904
1905
1906static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1907 PyObject *resultobj;
1908 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1909 int result;
1910 PyObject * obj0 = 0 ;
1911 char *kwnames[] = {
1912 (char *) "self", NULL
1913 };
1914
1915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1918 {
1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
1920 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1921
1922 wxPyEndAllowThreads(__tstate);
1923 if (PyErr_Occurred()) SWIG_fail;
1924 }
1925 resultobj = SWIG_FromInt((int)result);
1926 return resultobj;
1927 fail:
1928 return NULL;
1929}
1930
1931
1932static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1933 PyObject *resultobj;
1934 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1935 int result;
1936 PyObject * obj0 = 0 ;
1937 char *kwnames[] = {
1938 (char *) "self", NULL
1939 };
1940
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 resultobj = SWIG_FromInt((int)result);
1952 return resultobj;
1953 fail:
1954 return NULL;
1955}
1956
1957
1958static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1959 PyObject *obj;
1960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1961 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1962 Py_INCREF(obj);
1963 return Py_BuildValue((char *)"");
1964}
1965static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1966 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1967 return 1;
1968}
1969
1970
1971static PyObject *_wrap_CheckBoxNameStr_get() {
1972 PyObject *pyobj;
1973
1974 {
1975#if wxUSE_UNICODE
1976 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1977#else
1978 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1979#endif
1980 }
1981 return pyobj;
1982}
1983
1984
1985static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1986 PyObject *resultobj;
1987 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
1988 int arg2 = (int) -1 ;
1989 wxString const &arg3_defvalue = wxPyEmptyString ;
1990 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
1991 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1992 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1993 wxSize const &arg5_defvalue = wxDefaultSize ;
1994 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1995 long arg6 = (long) 0 ;
1996 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1997 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1998 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1999 wxString *arg8 = (wxString *) &arg8_defvalue ;
2000 wxCheckBox *result;
2001 bool temp3 = False ;
2002 wxPoint temp4 ;
2003 wxSize temp5 ;
2004 bool temp8 = False ;
2005 PyObject * obj0 = 0 ;
2006 PyObject * obj1 = 0 ;
2007 PyObject * obj2 = 0 ;
2008 PyObject * obj3 = 0 ;
2009 PyObject * obj4 = 0 ;
2010 PyObject * obj5 = 0 ;
2011 PyObject * obj6 = 0 ;
2012 PyObject * obj7 = 0 ;
2013 char *kwnames[] = {
2014 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2015 };
2016
248ed943 2017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
2018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
2020 if (obj1) {
2021 arg2 = (int) SWIG_AsInt(obj1);
2022 if (PyErr_Occurred()) SWIG_fail;
2023 }
2024 if (obj2) {
2025 {
2026 arg3 = wxString_in_helper(obj2);
2027 if (arg3 == NULL) SWIG_fail;
2028 temp3 = True;
2029 }
d55e5bfc
RD
2030 }
2031 if (obj3) {
2032 {
2033 arg4 = &temp4;
2034 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2035 }
2036 }
2037 if (obj4) {
2038 {
2039 arg5 = &temp5;
2040 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2041 }
2042 }
2043 if (obj5) {
2044 arg6 = (long) SWIG_AsLong(obj5);
2045 if (PyErr_Occurred()) SWIG_fail;
2046 }
2047 if (obj6) {
2048 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2049 SWIG_POINTER_EXCEPTION | 0)) == -1)
2050 SWIG_fail;
2051 if (arg7 == NULL) {
2052 PyErr_SetString(PyExc_TypeError,"null reference");
2053 SWIG_fail;
2054 }
2055 }
2056 if (obj7) {
2057 {
2058 arg8 = wxString_in_helper(obj7);
2059 if (arg8 == NULL) SWIG_fail;
2060 temp8 = True;
2061 }
2062 }
2063 {
0439c23b 2064 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2066 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2067
2068 wxPyEndAllowThreads(__tstate);
0439c23b 2069 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2070 }
2071 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2072 {
2073 if (temp3)
2074 delete arg3;
2075 }
2076 {
2077 if (temp8)
2078 delete arg8;
2079 }
2080 return resultobj;
2081 fail:
2082 {
2083 if (temp3)
2084 delete arg3;
2085 }
2086 {
2087 if (temp8)
2088 delete arg8;
2089 }
2090 return NULL;
2091}
2092
2093
2094static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject *resultobj;
2096 wxCheckBox *result;
2097 char *kwnames[] = {
2098 NULL
2099 };
2100
2101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2102 {
0439c23b 2103 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2104 PyThreadState* __tstate = wxPyBeginAllowThreads();
2105 result = (wxCheckBox *)new wxCheckBox();
2106
2107 wxPyEndAllowThreads(__tstate);
0439c23b 2108 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2109 }
2110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2111 return resultobj;
2112 fail:
2113 return NULL;
2114}
2115
2116
2117static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2118 PyObject *resultobj;
2119 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2120 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
2121 int arg3 = (int) -1 ;
2122 wxString const &arg4_defvalue = wxPyEmptyString ;
2123 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
2124 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2125 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2126 wxSize const &arg6_defvalue = wxDefaultSize ;
2127 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2128 long arg7 = (long) 0 ;
2129 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2130 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2131 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2132 wxString *arg9 = (wxString *) &arg9_defvalue ;
2133 bool result;
2134 bool temp4 = False ;
2135 wxPoint temp5 ;
2136 wxSize temp6 ;
2137 bool temp9 = False ;
2138 PyObject * obj0 = 0 ;
2139 PyObject * obj1 = 0 ;
2140 PyObject * obj2 = 0 ;
2141 PyObject * obj3 = 0 ;
2142 PyObject * obj4 = 0 ;
2143 PyObject * obj5 = 0 ;
2144 PyObject * obj6 = 0 ;
2145 PyObject * obj7 = 0 ;
2146 PyObject * obj8 = 0 ;
2147 char *kwnames[] = {
2148 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2149 };
2150
248ed943 2151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
2152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2154 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
2156 if (obj2) {
2157 arg3 = (int) SWIG_AsInt(obj2);
2158 if (PyErr_Occurred()) SWIG_fail;
2159 }
2160 if (obj3) {
2161 {
2162 arg4 = wxString_in_helper(obj3);
2163 if (arg4 == NULL) SWIG_fail;
2164 temp4 = True;
2165 }
d55e5bfc
RD
2166 }
2167 if (obj4) {
2168 {
2169 arg5 = &temp5;
2170 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2171 }
2172 }
2173 if (obj5) {
2174 {
2175 arg6 = &temp6;
2176 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2177 }
2178 }
2179 if (obj6) {
2180 arg7 = (long) SWIG_AsLong(obj6);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 if (obj7) {
2184 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2185 SWIG_POINTER_EXCEPTION | 0)) == -1)
2186 SWIG_fail;
2187 if (arg8 == NULL) {
2188 PyErr_SetString(PyExc_TypeError,"null reference");
2189 SWIG_fail;
2190 }
2191 }
2192 if (obj8) {
2193 {
2194 arg9 = wxString_in_helper(obj8);
2195 if (arg9 == NULL) SWIG_fail;
2196 temp9 = True;
2197 }
2198 }
2199 {
2200 PyThreadState* __tstate = wxPyBeginAllowThreads();
2201 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2202
2203 wxPyEndAllowThreads(__tstate);
2204 if (PyErr_Occurred()) SWIG_fail;
2205 }
2206 {
2207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2208 }
2209 {
2210 if (temp4)
2211 delete arg4;
2212 }
2213 {
2214 if (temp9)
2215 delete arg9;
2216 }
2217 return resultobj;
2218 fail:
2219 {
2220 if (temp4)
2221 delete arg4;
2222 }
2223 {
2224 if (temp9)
2225 delete arg9;
2226 }
2227 return NULL;
2228}
2229
2230
2231static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2232 PyObject *resultobj;
2233 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2234 bool result;
2235 PyObject * obj0 = 0 ;
2236 char *kwnames[] = {
2237 (char *) "self", NULL
2238 };
2239
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2243 {
2244 PyThreadState* __tstate = wxPyBeginAllowThreads();
2245 result = (bool)(arg1)->GetValue();
2246
2247 wxPyEndAllowThreads(__tstate);
2248 if (PyErr_Occurred()) SWIG_fail;
2249 }
2250 {
2251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2252 }
2253 return resultobj;
2254 fail:
2255 return NULL;
2256}
2257
2258
2259static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2262 bool result;
2263 PyObject * obj0 = 0 ;
2264 char *kwnames[] = {
2265 (char *) "self", NULL
2266 };
2267
2268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 result = (bool)(arg1)->IsChecked();
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 {
2279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2280 }
2281 return resultobj;
2282 fail:
2283 return NULL;
2284}
2285
2286
2287static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2288 PyObject *resultobj;
2289 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2290 bool arg2 ;
2291 PyObject * obj0 = 0 ;
2292 PyObject * obj1 = 0 ;
2293 char *kwnames[] = {
2294 (char *) "self",(char *) "state", NULL
2295 };
2296
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2300 arg2 = (bool const) SWIG_AsBool(obj1);
2301 if (PyErr_Occurred()) SWIG_fail;
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 (arg1)->SetValue(arg2);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 }
2309 Py_INCREF(Py_None); resultobj = Py_None;
2310 return resultobj;
2311 fail:
2312 return NULL;
2313}
2314
2315
2316static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject *resultobj;
2318 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2319 int result;
2320 PyObject * obj0 = 0 ;
2321 char *kwnames[] = {
2322 (char *) "self", NULL
2323 };
2324
2325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2328 {
2329 PyThreadState* __tstate = wxPyBeginAllowThreads();
2330 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2331
2332 wxPyEndAllowThreads(__tstate);
2333 if (PyErr_Occurred()) SWIG_fail;
2334 }
2335 resultobj = SWIG_FromInt((int)result);
2336 return resultobj;
2337 fail:
2338 return NULL;
2339}
2340
2341
2342static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2343 PyObject *resultobj;
2344 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2345 int arg2 ;
2346 PyObject * obj0 = 0 ;
2347 PyObject * obj1 = 0 ;
2348 char *kwnames[] = {
2349 (char *) "self",(char *) "state", NULL
2350 };
2351
2352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2355 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2356 if (PyErr_Occurred()) SWIG_fail;
2357 {
2358 PyThreadState* __tstate = wxPyBeginAllowThreads();
2359 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2360
2361 wxPyEndAllowThreads(__tstate);
2362 if (PyErr_Occurred()) SWIG_fail;
2363 }
2364 Py_INCREF(Py_None); resultobj = Py_None;
2365 return resultobj;
2366 fail:
2367 return NULL;
2368}
2369
2370
2371static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2372 PyObject *resultobj;
2373 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2374 bool result;
2375 PyObject * obj0 = 0 ;
2376 char *kwnames[] = {
2377 (char *) "self", NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2383 {
2384 PyThreadState* __tstate = wxPyBeginAllowThreads();
2385 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2386
2387 wxPyEndAllowThreads(__tstate);
2388 if (PyErr_Occurred()) SWIG_fail;
2389 }
2390 {
2391 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2392 }
2393 return resultobj;
2394 fail:
2395 return NULL;
2396}
2397
2398
2399static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2400 PyObject *resultobj;
2401 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2402 bool result;
2403 PyObject * obj0 = 0 ;
2404 char *kwnames[] = {
2405 (char *) "self", NULL
2406 };
2407
2408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2411 {
2412 PyThreadState* __tstate = wxPyBeginAllowThreads();
2413 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2414
2415 wxPyEndAllowThreads(__tstate);
2416 if (PyErr_Occurred()) SWIG_fail;
2417 }
2418 {
2419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2420 }
2421 return resultobj;
2422 fail:
2423 return NULL;
2424}
2425
2426
f20a2e1f
RD
2427static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2428 PyObject *resultobj;
2429 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2430 wxVisualAttributes result;
2431 PyObject * obj0 = 0 ;
2432 char *kwnames[] = {
2433 (char *) "variant", NULL
2434 };
2435
2436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2437 if (obj0) {
2438 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2439 if (PyErr_Occurred()) SWIG_fail;
2440 }
2441 {
0439c23b 2442 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2443 PyThreadState* __tstate = wxPyBeginAllowThreads();
2444 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2445
2446 wxPyEndAllowThreads(__tstate);
0439c23b 2447 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2448 }
2449 {
2450 wxVisualAttributes * resultptr;
2451 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2452 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2453 }
2454 return resultobj;
2455 fail:
2456 return NULL;
2457}
2458
2459
d55e5bfc
RD
2460static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2461 PyObject *obj;
2462 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2463 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2464 Py_INCREF(obj);
2465 return Py_BuildValue((char *)"");
2466}
2467static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2468 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2469 return 1;
2470}
2471
2472
2473static PyObject *_wrap_ChoiceNameStr_get() {
2474 PyObject *pyobj;
2475
2476 {
2477#if wxUSE_UNICODE
2478 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2479#else
2480 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2481#endif
2482 }
2483 return pyobj;
2484}
2485
2486
2487static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2488 PyObject *resultobj;
2489 wxWindow *arg1 = (wxWindow *) 0 ;
2490 int arg2 = (int) -1 ;
2491 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2492 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2493 wxSize const &arg4_defvalue = wxDefaultSize ;
2494 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2495 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2496 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2497 long arg6 = (long) 0 ;
2498 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2499 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2500 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2501 wxString *arg8 = (wxString *) &arg8_defvalue ;
2502 wxChoice *result;
2503 wxPoint temp3 ;
2504 wxSize temp4 ;
2505 bool temp5 = False ;
2506 bool temp8 = False ;
2507 PyObject * obj0 = 0 ;
2508 PyObject * obj1 = 0 ;
2509 PyObject * obj2 = 0 ;
2510 PyObject * obj3 = 0 ;
2511 PyObject * obj4 = 0 ;
2512 PyObject * obj5 = 0 ;
2513 PyObject * obj6 = 0 ;
2514 PyObject * obj7 = 0 ;
2515 char *kwnames[] = {
2516 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2517 };
2518
2519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2522 if (obj1) {
2523 arg2 = (int) SWIG_AsInt(obj1);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
2526 if (obj2) {
2527 {
2528 arg3 = &temp3;
2529 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2530 }
2531 }
2532 if (obj3) {
2533 {
2534 arg4 = &temp4;
2535 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2536 }
2537 }
2538 if (obj4) {
2539 {
2540 if (! PySequence_Check(obj4)) {
2541 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2542 SWIG_fail;
2543 }
2544 arg5 = new wxArrayString;
2545 temp5 = True;
2546 int i, len=PySequence_Length(obj4);
2547 for (i=0; i<len; i++) {
2548 PyObject* item = PySequence_GetItem(obj4, i);
2549#if wxUSE_UNICODE
2550 PyObject* str = PyObject_Unicode(item);
2551#else
2552 PyObject* str = PyObject_Str(item);
2553#endif
2554 if (PyErr_Occurred()) SWIG_fail;
2555 arg5->Add(Py2wxString(str));
2556 Py_DECREF(item);
2557 Py_DECREF(str);
2558 }
2559 }
2560 }
2561 if (obj5) {
2562 arg6 = (long) SWIG_AsLong(obj5);
2563 if (PyErr_Occurred()) SWIG_fail;
2564 }
2565 if (obj6) {
2566 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2567 SWIG_POINTER_EXCEPTION | 0)) == -1)
2568 SWIG_fail;
2569 if (arg7 == NULL) {
2570 PyErr_SetString(PyExc_TypeError,"null reference");
2571 SWIG_fail;
2572 }
2573 }
2574 if (obj7) {
2575 {
2576 arg8 = wxString_in_helper(obj7);
2577 if (arg8 == NULL) SWIG_fail;
2578 temp8 = True;
2579 }
2580 }
2581 {
0439c23b 2582 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2583 PyThreadState* __tstate = wxPyBeginAllowThreads();
2584 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2585
2586 wxPyEndAllowThreads(__tstate);
0439c23b 2587 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2588 }
2589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2590 {
2591 if (temp5) delete arg5;
2592 }
2593 {
2594 if (temp8)
2595 delete arg8;
2596 }
2597 return resultobj;
2598 fail:
2599 {
2600 if (temp5) delete arg5;
2601 }
2602 {
2603 if (temp8)
2604 delete arg8;
2605 }
2606 return NULL;
2607}
2608
2609
2610static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2611 PyObject *resultobj;
2612 wxChoice *result;
2613 char *kwnames[] = {
2614 NULL
2615 };
2616
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2618 {
0439c23b 2619 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
2620 PyThreadState* __tstate = wxPyBeginAllowThreads();
2621 result = (wxChoice *)new wxChoice();
2622
2623 wxPyEndAllowThreads(__tstate);
0439c23b 2624 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
2625 }
2626 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2627 return resultobj;
2628 fail:
2629 return NULL;
2630}
2631
2632
2633static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2634 PyObject *resultobj;
2635 wxChoice *arg1 = (wxChoice *) 0 ;
2636 wxWindow *arg2 = (wxWindow *) 0 ;
2637 int arg3 = (int) -1 ;
2638 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2639 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2640 wxSize const &arg5_defvalue = wxDefaultSize ;
2641 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2642 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2643 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2644 long arg7 = (long) 0 ;
2645 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2646 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2647 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2648 wxString *arg9 = (wxString *) &arg9_defvalue ;
2649 bool result;
2650 wxPoint temp4 ;
2651 wxSize temp5 ;
2652 bool temp6 = False ;
2653 bool temp9 = False ;
2654 PyObject * obj0 = 0 ;
2655 PyObject * obj1 = 0 ;
2656 PyObject * obj2 = 0 ;
2657 PyObject * obj3 = 0 ;
2658 PyObject * obj4 = 0 ;
2659 PyObject * obj5 = 0 ;
2660 PyObject * obj6 = 0 ;
2661 PyObject * obj7 = 0 ;
2662 PyObject * obj8 = 0 ;
2663 char *kwnames[] = {
2664 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2665 };
2666
2667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2670 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2672 if (obj2) {
2673 arg3 = (int) SWIG_AsInt(obj2);
2674 if (PyErr_Occurred()) SWIG_fail;
2675 }
2676 if (obj3) {
2677 {
2678 arg4 = &temp4;
2679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2680 }
2681 }
2682 if (obj4) {
2683 {
2684 arg5 = &temp5;
2685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2686 }
2687 }
2688 if (obj5) {
2689 {
2690 if (! PySequence_Check(obj5)) {
2691 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2692 SWIG_fail;
2693 }
2694 arg6 = new wxArrayString;
2695 temp6 = True;
2696 int i, len=PySequence_Length(obj5);
2697 for (i=0; i<len; i++) {
2698 PyObject* item = PySequence_GetItem(obj5, i);
2699#if wxUSE_UNICODE
2700 PyObject* str = PyObject_Unicode(item);
2701#else
2702 PyObject* str = PyObject_Str(item);
2703#endif
2704 if (PyErr_Occurred()) SWIG_fail;
2705 arg6->Add(Py2wxString(str));
2706 Py_DECREF(item);
2707 Py_DECREF(str);
2708 }
2709 }
2710 }
2711 if (obj6) {
2712 arg7 = (long) SWIG_AsLong(obj6);
2713 if (PyErr_Occurred()) SWIG_fail;
2714 }
2715 if (obj7) {
2716 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2717 SWIG_POINTER_EXCEPTION | 0)) == -1)
2718 SWIG_fail;
2719 if (arg8 == NULL) {
2720 PyErr_SetString(PyExc_TypeError,"null reference");
2721 SWIG_fail;
2722 }
2723 }
2724 if (obj8) {
2725 {
2726 arg9 = wxString_in_helper(obj8);
2727 if (arg9 == NULL) SWIG_fail;
2728 temp9 = True;
2729 }
2730 }
2731 {
2732 PyThreadState* __tstate = wxPyBeginAllowThreads();
2733 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2734
2735 wxPyEndAllowThreads(__tstate);
2736 if (PyErr_Occurred()) SWIG_fail;
2737 }
2738 {
2739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2740 }
2741 {
2742 if (temp6) delete arg6;
2743 }
2744 {
2745 if (temp9)
2746 delete arg9;
2747 }
2748 return resultobj;
2749 fail:
2750 {
2751 if (temp6) delete arg6;
2752 }
2753 {
2754 if (temp9)
2755 delete arg9;
2756 }
2757 return NULL;
2758}
2759
2760
2761static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2762 PyObject *resultobj;
2763 wxChoice *arg1 = (wxChoice *) 0 ;
2764 int arg2 ;
2765 PyObject * obj0 = 0 ;
2766 PyObject * obj1 = 0 ;
2767 char *kwnames[] = {
2768 (char *) "self",(char *) "n", NULL
2769 };
2770
2771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2774 arg2 = (int const) SWIG_AsInt(obj1);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 {
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 (arg1)->SetSelection(arg2);
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 Py_INCREF(Py_None); resultobj = Py_None;
2784 return resultobj;
2785 fail:
2786 return NULL;
2787}
2788
2789
2790static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2791 PyObject *resultobj;
2792 wxChoice *arg1 = (wxChoice *) 0 ;
2793 wxString *arg2 = 0 ;
121b9a67 2794 bool result;
d55e5bfc
RD
2795 bool temp2 = False ;
2796 PyObject * obj0 = 0 ;
2797 PyObject * obj1 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "self",(char *) "string", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2805 {
2806 arg2 = wxString_in_helper(obj1);
2807 if (arg2 == NULL) SWIG_fail;
2808 temp2 = True;
2809 }
2810 {
2811 PyThreadState* __tstate = wxPyBeginAllowThreads();
121b9a67 2812 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
d55e5bfc
RD
2813
2814 wxPyEndAllowThreads(__tstate);
2815 if (PyErr_Occurred()) SWIG_fail;
2816 }
121b9a67
RD
2817 {
2818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2819 }
d55e5bfc
RD
2820 {
2821 if (temp2)
2822 delete arg2;
2823 }
2824 return resultobj;
2825 fail:
2826 {
2827 if (temp2)
2828 delete arg2;
2829 }
2830 return NULL;
2831}
2832
2833
2834static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2835 PyObject *resultobj;
2836 wxChoice *arg1 = (wxChoice *) 0 ;
2837 int arg2 ;
2838 wxString *arg3 = 0 ;
2839 bool temp3 = False ;
2840 PyObject * obj0 = 0 ;
2841 PyObject * obj1 = 0 ;
2842 PyObject * obj2 = 0 ;
2843 char *kwnames[] = {
2844 (char *) "self",(char *) "n",(char *) "string", NULL
2845 };
2846
2847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2850 arg2 = (int) SWIG_AsInt(obj1);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 {
2853 arg3 = wxString_in_helper(obj2);
2854 if (arg3 == NULL) SWIG_fail;
2855 temp3 = True;
2856 }
2857 {
2858 PyThreadState* __tstate = wxPyBeginAllowThreads();
2859 (arg1)->SetString(arg2,(wxString const &)*arg3);
2860
2861 wxPyEndAllowThreads(__tstate);
2862 if (PyErr_Occurred()) SWIG_fail;
2863 }
2864 Py_INCREF(Py_None); resultobj = Py_None;
2865 {
2866 if (temp3)
2867 delete arg3;
2868 }
2869 return resultobj;
2870 fail:
2871 {
2872 if (temp3)
2873 delete arg3;
2874 }
2875 return NULL;
2876}
2877
2878
f20a2e1f
RD
2879static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2880 PyObject *resultobj;
2881 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2882 wxVisualAttributes result;
2883 PyObject * obj0 = 0 ;
2884 char *kwnames[] = {
2885 (char *) "variant", NULL
2886 };
2887
2888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2889 if (obj0) {
2890 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2891 if (PyErr_Occurred()) SWIG_fail;
2892 }
2893 {
0439c23b 2894 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
2895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2896 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
2897
2898 wxPyEndAllowThreads(__tstate);
0439c23b 2899 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
2900 }
2901 {
2902 wxVisualAttributes * resultptr;
2903 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2905 }
2906 return resultobj;
2907 fail:
2908 return NULL;
2909}
2910
2911
d55e5bfc
RD
2912static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2913 PyObject *obj;
2914 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2915 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2916 Py_INCREF(obj);
2917 return Py_BuildValue((char *)"");
2918}
2919static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2920 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2921 return 1;
2922}
2923
2924
2925static PyObject *_wrap_ComboBoxNameStr_get() {
2926 PyObject *pyobj;
2927
2928 {
2929#if wxUSE_UNICODE
2930 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2931#else
2932 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2933#endif
2934 }
2935 return pyobj;
2936}
2937
2938
2939static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2940 PyObject *resultobj;
2941 wxWindow *arg1 = (wxWindow *) 0 ;
2942 int arg2 = (int) -1 ;
2943 wxString const &arg3_defvalue = wxPyEmptyString ;
2944 wxString *arg3 = (wxString *) &arg3_defvalue ;
2945 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2946 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2947 wxSize const &arg5_defvalue = wxDefaultSize ;
2948 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2949 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2950 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2951 long arg7 = (long) 0 ;
2952 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2953 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2954 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2955 wxString *arg9 = (wxString *) &arg9_defvalue ;
2956 wxComboBox *result;
2957 bool temp3 = False ;
2958 wxPoint temp4 ;
2959 wxSize temp5 ;
2960 bool temp6 = False ;
2961 bool temp9 = False ;
2962 PyObject * obj0 = 0 ;
2963 PyObject * obj1 = 0 ;
2964 PyObject * obj2 = 0 ;
2965 PyObject * obj3 = 0 ;
2966 PyObject * obj4 = 0 ;
2967 PyObject * obj5 = 0 ;
2968 PyObject * obj6 = 0 ;
2969 PyObject * obj7 = 0 ;
2970 PyObject * obj8 = 0 ;
2971 char *kwnames[] = {
2972 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2973 };
2974
2975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2978 if (obj1) {
2979 arg2 = (int) SWIG_AsInt(obj1);
2980 if (PyErr_Occurred()) SWIG_fail;
2981 }
2982 if (obj2) {
2983 {
2984 arg3 = wxString_in_helper(obj2);
2985 if (arg3 == NULL) SWIG_fail;
2986 temp3 = True;
2987 }
2988 }
2989 if (obj3) {
2990 {
2991 arg4 = &temp4;
2992 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2993 }
2994 }
2995 if (obj4) {
2996 {
2997 arg5 = &temp5;
2998 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2999 }
3000 }
3001 if (obj5) {
3002 {
3003 if (! PySequence_Check(obj5)) {
3004 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3005 SWIG_fail;
3006 }
3007 arg6 = new wxArrayString;
3008 temp6 = True;
3009 int i, len=PySequence_Length(obj5);
3010 for (i=0; i<len; i++) {
3011 PyObject* item = PySequence_GetItem(obj5, i);
3012#if wxUSE_UNICODE
3013 PyObject* str = PyObject_Unicode(item);
3014#else
3015 PyObject* str = PyObject_Str(item);
3016#endif
3017 if (PyErr_Occurred()) SWIG_fail;
3018 arg6->Add(Py2wxString(str));
3019 Py_DECREF(item);
3020 Py_DECREF(str);
3021 }
3022 }
3023 }
3024 if (obj6) {
3025 arg7 = (long) SWIG_AsLong(obj6);
3026 if (PyErr_Occurred()) SWIG_fail;
3027 }
3028 if (obj7) {
3029 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3030 SWIG_POINTER_EXCEPTION | 0)) == -1)
3031 SWIG_fail;
3032 if (arg8 == NULL) {
3033 PyErr_SetString(PyExc_TypeError,"null reference");
3034 SWIG_fail;
3035 }
3036 }
3037 if (obj8) {
3038 {
3039 arg9 = wxString_in_helper(obj8);
3040 if (arg9 == NULL) SWIG_fail;
3041 temp9 = True;
3042 }
3043 }
3044 {
0439c23b 3045 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3046 PyThreadState* __tstate = wxPyBeginAllowThreads();
3047 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);
3048
3049 wxPyEndAllowThreads(__tstate);
0439c23b 3050 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3051 }
3052 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3053 {
3054 if (temp3)
3055 delete arg3;
3056 }
3057 {
3058 if (temp6) delete arg6;
3059 }
3060 {
3061 if (temp9)
3062 delete arg9;
3063 }
3064 return resultobj;
3065 fail:
3066 {
3067 if (temp3)
3068 delete arg3;
3069 }
3070 {
3071 if (temp6) delete arg6;
3072 }
3073 {
3074 if (temp9)
3075 delete arg9;
3076 }
3077 return NULL;
3078}
3079
3080
3081static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj;
3083 wxComboBox *result;
3084 char *kwnames[] = {
3085 NULL
3086 };
3087
3088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3089 {
0439c23b 3090 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3091 PyThreadState* __tstate = wxPyBeginAllowThreads();
3092 result = (wxComboBox *)new wxComboBox();
3093
3094 wxPyEndAllowThreads(__tstate);
0439c23b 3095 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3096 }
3097 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3098 return resultobj;
3099 fail:
3100 return NULL;
3101}
3102
3103
3104static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3105 PyObject *resultobj;
3106 wxComboBox *arg1 = (wxComboBox *) 0 ;
3107 wxWindow *arg2 = (wxWindow *) 0 ;
3108 int arg3 = (int) -1 ;
3109 wxString const &arg4_defvalue = wxPyEmptyString ;
3110 wxString *arg4 = (wxString *) &arg4_defvalue ;
3111 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3112 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3113 wxSize const &arg6_defvalue = wxDefaultSize ;
3114 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3115 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3116 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3117 long arg8 = (long) 0 ;
3118 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3119 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
3120 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
3121 wxString *arg10 = (wxString *) &arg10_defvalue ;
3122 bool result;
3123 bool temp4 = False ;
3124 wxPoint temp5 ;
3125 wxSize temp6 ;
3126 bool temp7 = False ;
3127 bool temp10 = False ;
3128 PyObject * obj0 = 0 ;
3129 PyObject * obj1 = 0 ;
3130 PyObject * obj2 = 0 ;
3131 PyObject * obj3 = 0 ;
3132 PyObject * obj4 = 0 ;
3133 PyObject * obj5 = 0 ;
3134 PyObject * obj6 = 0 ;
3135 PyObject * obj7 = 0 ;
3136 PyObject * obj8 = 0 ;
3137 PyObject * obj9 = 0 ;
3138 char *kwnames[] = {
3139 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3140 };
3141
3142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3145 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3147 if (obj2) {
3148 arg3 = (int) SWIG_AsInt(obj2);
3149 if (PyErr_Occurred()) SWIG_fail;
3150 }
3151 if (obj3) {
3152 {
3153 arg4 = wxString_in_helper(obj3);
3154 if (arg4 == NULL) SWIG_fail;
3155 temp4 = True;
3156 }
3157 }
3158 if (obj4) {
3159 {
3160 arg5 = &temp5;
3161 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3162 }
3163 }
3164 if (obj5) {
3165 {
3166 arg6 = &temp6;
3167 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3168 }
3169 }
3170 if (obj6) {
3171 {
3172 if (! PySequence_Check(obj6)) {
3173 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3174 SWIG_fail;
3175 }
3176 arg7 = new wxArrayString;
3177 temp7 = True;
3178 int i, len=PySequence_Length(obj6);
3179 for (i=0; i<len; i++) {
3180 PyObject* item = PySequence_GetItem(obj6, i);
3181#if wxUSE_UNICODE
3182 PyObject* str = PyObject_Unicode(item);
3183#else
3184 PyObject* str = PyObject_Str(item);
3185#endif
3186 if (PyErr_Occurred()) SWIG_fail;
3187 arg7->Add(Py2wxString(str));
3188 Py_DECREF(item);
3189 Py_DECREF(str);
3190 }
3191 }
3192 }
3193 if (obj7) {
3194 arg8 = (long) SWIG_AsLong(obj7);
3195 if (PyErr_Occurred()) SWIG_fail;
3196 }
3197 if (obj8) {
3198 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3199 SWIG_POINTER_EXCEPTION | 0)) == -1)
3200 SWIG_fail;
3201 if (arg9 == NULL) {
3202 PyErr_SetString(PyExc_TypeError,"null reference");
3203 SWIG_fail;
3204 }
3205 }
3206 if (obj9) {
3207 {
3208 arg10 = wxString_in_helper(obj9);
3209 if (arg10 == NULL) SWIG_fail;
3210 temp10 = True;
3211 }
3212 }
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 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);
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 {
3221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3222 }
3223 {
3224 if (temp4)
3225 delete arg4;
3226 }
3227 {
3228 if (temp7) delete arg7;
3229 }
3230 {
3231 if (temp10)
3232 delete arg10;
3233 }
3234 return resultobj;
3235 fail:
3236 {
3237 if (temp4)
3238 delete arg4;
3239 }
3240 {
3241 if (temp7) delete arg7;
3242 }
3243 {
3244 if (temp10)
3245 delete arg10;
3246 }
3247 return NULL;
3248}
3249
3250
3251static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3252 PyObject *resultobj;
3253 wxComboBox *arg1 = (wxComboBox *) 0 ;
3254 wxString result;
3255 PyObject * obj0 = 0 ;
3256 char *kwnames[] = {
3257 (char *) "self", NULL
3258 };
3259
3260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3263 {
3264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3265 result = ((wxComboBox const *)arg1)->GetValue();
3266
3267 wxPyEndAllowThreads(__tstate);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 {
3271#if wxUSE_UNICODE
3272 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3273#else
3274 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3275#endif
3276 }
3277 return resultobj;
3278 fail:
3279 return NULL;
3280}
3281
3282
3283static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3284 PyObject *resultobj;
3285 wxComboBox *arg1 = (wxComboBox *) 0 ;
3286 wxString *arg2 = 0 ;
3287 bool temp2 = False ;
3288 PyObject * obj0 = 0 ;
3289 PyObject * obj1 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self",(char *) "value", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3297 {
3298 arg2 = wxString_in_helper(obj1);
3299 if (arg2 == NULL) SWIG_fail;
3300 temp2 = True;
3301 }
3302 {
3303 PyThreadState* __tstate = wxPyBeginAllowThreads();
3304 (arg1)->SetValue((wxString const &)*arg2);
3305
3306 wxPyEndAllowThreads(__tstate);
3307 if (PyErr_Occurred()) SWIG_fail;
3308 }
3309 Py_INCREF(Py_None); resultobj = Py_None;
3310 {
3311 if (temp2)
3312 delete arg2;
3313 }
3314 return resultobj;
3315 fail:
3316 {
3317 if (temp2)
3318 delete arg2;
3319 }
3320 return NULL;
3321}
3322
3323
3324static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3325 PyObject *resultobj;
3326 wxComboBox *arg1 = (wxComboBox *) 0 ;
3327 PyObject * obj0 = 0 ;
3328 char *kwnames[] = {
3329 (char *) "self", NULL
3330 };
3331
3332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3335 {
3336 PyThreadState* __tstate = wxPyBeginAllowThreads();
3337 (arg1)->Copy();
3338
3339 wxPyEndAllowThreads(__tstate);
3340 if (PyErr_Occurred()) SWIG_fail;
3341 }
3342 Py_INCREF(Py_None); resultobj = Py_None;
3343 return resultobj;
3344 fail:
3345 return NULL;
3346}
3347
3348
3349static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3350 PyObject *resultobj;
3351 wxComboBox *arg1 = (wxComboBox *) 0 ;
3352 PyObject * obj0 = 0 ;
3353 char *kwnames[] = {
3354 (char *) "self", NULL
3355 };
3356
3357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3360 {
3361 PyThreadState* __tstate = wxPyBeginAllowThreads();
3362 (arg1)->Cut();
3363
3364 wxPyEndAllowThreads(__tstate);
3365 if (PyErr_Occurred()) SWIG_fail;
3366 }
3367 Py_INCREF(Py_None); resultobj = Py_None;
3368 return resultobj;
3369 fail:
3370 return NULL;
3371}
3372
3373
3374static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3375 PyObject *resultobj;
3376 wxComboBox *arg1 = (wxComboBox *) 0 ;
3377 PyObject * obj0 = 0 ;
3378 char *kwnames[] = {
3379 (char *) "self", NULL
3380 };
3381
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3385 {
3386 PyThreadState* __tstate = wxPyBeginAllowThreads();
3387 (arg1)->Paste();
3388
3389 wxPyEndAllowThreads(__tstate);
3390 if (PyErr_Occurred()) SWIG_fail;
3391 }
3392 Py_INCREF(Py_None); resultobj = Py_None;
3393 return resultobj;
3394 fail:
3395 return NULL;
3396}
3397
3398
3399static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3400 PyObject *resultobj;
3401 wxComboBox *arg1 = (wxComboBox *) 0 ;
3402 long arg2 ;
3403 PyObject * obj0 = 0 ;
3404 PyObject * obj1 = 0 ;
3405 char *kwnames[] = {
3406 (char *) "self",(char *) "pos", NULL
3407 };
3408
3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3412 arg2 = (long) SWIG_AsLong(obj1);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 {
3415 PyThreadState* __tstate = wxPyBeginAllowThreads();
3416 (arg1)->SetInsertionPoint(arg2);
3417
3418 wxPyEndAllowThreads(__tstate);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 }
3421 Py_INCREF(Py_None); resultobj = Py_None;
3422 return resultobj;
3423 fail:
3424 return NULL;
3425}
3426
3427
3428static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3429 PyObject *resultobj;
3430 wxComboBox *arg1 = (wxComboBox *) 0 ;
3431 long result;
3432 PyObject * obj0 = 0 ;
3433 char *kwnames[] = {
3434 (char *) "self", NULL
3435 };
3436
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3440 {
3441 PyThreadState* __tstate = wxPyBeginAllowThreads();
3442 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3443
3444 wxPyEndAllowThreads(__tstate);
3445 if (PyErr_Occurred()) SWIG_fail;
3446 }
3447 resultobj = SWIG_FromLong((long)result);
3448 return resultobj;
3449 fail:
3450 return NULL;
3451}
3452
3453
3454static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject *resultobj;
3456 wxComboBox *arg1 = (wxComboBox *) 0 ;
3457 long result;
3458 PyObject * obj0 = 0 ;
3459 char *kwnames[] = {
3460 (char *) "self", NULL
3461 };
3462
3463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3466 {
3467 PyThreadState* __tstate = wxPyBeginAllowThreads();
3468 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3469
3470 wxPyEndAllowThreads(__tstate);
3471 if (PyErr_Occurred()) SWIG_fail;
3472 }
3473 resultobj = SWIG_FromLong((long)result);
3474 return resultobj;
3475 fail:
3476 return NULL;
3477}
3478
3479
3480static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject *resultobj;
3482 wxComboBox *arg1 = (wxComboBox *) 0 ;
3483 long arg2 ;
3484 long arg3 ;
3485 wxString *arg4 = 0 ;
3486 bool temp4 = False ;
3487 PyObject * obj0 = 0 ;
3488 PyObject * obj1 = 0 ;
3489 PyObject * obj2 = 0 ;
3490 PyObject * obj3 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3493 };
3494
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3498 arg2 = (long) SWIG_AsLong(obj1);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 arg3 = (long) SWIG_AsLong(obj2);
3501 if (PyErr_Occurred()) SWIG_fail;
3502 {
3503 arg4 = wxString_in_helper(obj3);
3504 if (arg4 == NULL) SWIG_fail;
3505 temp4 = True;
3506 }
3507 {
3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
3509 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3510
3511 wxPyEndAllowThreads(__tstate);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 Py_INCREF(Py_None); resultobj = Py_None;
3515 {
3516 if (temp4)
3517 delete arg4;
3518 }
3519 return resultobj;
3520 fail:
3521 {
3522 if (temp4)
3523 delete arg4;
3524 }
3525 return NULL;
3526}
3527
3528
3529static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3530 PyObject *resultobj;
3531 wxComboBox *arg1 = (wxComboBox *) 0 ;
3532 int arg2 ;
3533 PyObject * obj0 = 0 ;
3534 PyObject * obj1 = 0 ;
3535 char *kwnames[] = {
3536 (char *) "self",(char *) "n", NULL
3537 };
3538
3539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3542 arg2 = (int) SWIG_AsInt(obj1);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 (arg1)->SetSelection(arg2);
3547
3548 wxPyEndAllowThreads(__tstate);
3549 if (PyErr_Occurred()) SWIG_fail;
3550 }
3551 Py_INCREF(Py_None); resultobj = Py_None;
3552 return resultobj;
3553 fail:
3554 return NULL;
3555}
3556
3557
3558static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3559 PyObject *resultobj;
3560 wxComboBox *arg1 = (wxComboBox *) 0 ;
3561 long arg2 ;
3562 long arg3 ;
3563 PyObject * obj0 = 0 ;
3564 PyObject * obj1 = 0 ;
3565 PyObject * obj2 = 0 ;
3566 char *kwnames[] = {
3567 (char *) "self",(char *) "from",(char *) "to", NULL
3568 };
3569
3570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3573 arg2 = (long) SWIG_AsLong(obj1);
3574 if (PyErr_Occurred()) SWIG_fail;
3575 arg3 = (long) SWIG_AsLong(obj2);
3576 if (PyErr_Occurred()) SWIG_fail;
3577 {
3578 PyThreadState* __tstate = wxPyBeginAllowThreads();
3579 (arg1)->SetSelection(arg2,arg3);
3580
3581 wxPyEndAllowThreads(__tstate);
3582 if (PyErr_Occurred()) SWIG_fail;
3583 }
3584 Py_INCREF(Py_None); resultobj = Py_None;
3585 return resultobj;
3586 fail:
3587 return NULL;
3588}
3589
3590
121b9a67
RD
3591static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3592 PyObject *resultobj;
3593 wxComboBox *arg1 = (wxComboBox *) 0 ;
3594 wxString *arg2 = 0 ;
3595 bool result;
3596 bool temp2 = False ;
3597 PyObject * obj0 = 0 ;
3598 PyObject * obj1 = 0 ;
3599 char *kwnames[] = {
3600 (char *) "self",(char *) "string", NULL
3601 };
3602
3603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3606 {
3607 arg2 = wxString_in_helper(obj1);
3608 if (arg2 == NULL) SWIG_fail;
3609 temp2 = True;
3610 }
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 {
3619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3620 }
3621 {
3622 if (temp2)
3623 delete arg2;
3624 }
3625 return resultobj;
3626 fail:
3627 {
3628 if (temp2)
3629 delete arg2;
3630 }
3631 return NULL;
3632}
3633
3634
3635static PyObject *_wrap_ComboBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxComboBox *arg1 = (wxComboBox *) 0 ;
3638 int arg2 ;
3639 wxString *arg3 = 0 ;
3640 bool temp3 = False ;
3641 PyObject * obj0 = 0 ;
3642 PyObject * obj1 = 0 ;
3643 PyObject * obj2 = 0 ;
3644 char *kwnames[] = {
3645 (char *) "self",(char *) "n",(char *) "string", NULL
3646 };
3647
3648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3651 arg2 = (int) SWIG_AsInt(obj1);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 {
3654 arg3 = wxString_in_helper(obj2);
3655 if (arg3 == NULL) SWIG_fail;
3656 temp3 = True;
3657 }
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 (arg1)->SetString(arg2,(wxString const &)*arg3);
3661
3662 wxPyEndAllowThreads(__tstate);
3663 if (PyErr_Occurred()) SWIG_fail;
3664 }
3665 Py_INCREF(Py_None); resultobj = Py_None;
3666 {
3667 if (temp3)
3668 delete arg3;
3669 }
3670 return resultobj;
3671 fail:
3672 {
3673 if (temp3)
3674 delete arg3;
3675 }
3676 return NULL;
3677}
3678
3679
d55e5bfc
RD
3680static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3681 PyObject *resultobj;
3682 wxComboBox *arg1 = (wxComboBox *) 0 ;
3683 bool arg2 ;
3684 PyObject * obj0 = 0 ;
3685 PyObject * obj1 = 0 ;
3686 char *kwnames[] = {
3687 (char *) "self",(char *) "editable", NULL
3688 };
3689
3690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3693 arg2 = (bool) SWIG_AsBool(obj1);
3694 if (PyErr_Occurred()) SWIG_fail;
3695 {
3696 PyThreadState* __tstate = wxPyBeginAllowThreads();
3697 (arg1)->SetEditable(arg2);
3698
3699 wxPyEndAllowThreads(__tstate);
3700 if (PyErr_Occurred()) SWIG_fail;
3701 }
3702 Py_INCREF(Py_None); resultobj = Py_None;
3703 return resultobj;
3704 fail:
3705 return NULL;
3706}
3707
3708
3709static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3710 PyObject *resultobj;
3711 wxComboBox *arg1 = (wxComboBox *) 0 ;
3712 PyObject * obj0 = 0 ;
3713 char *kwnames[] = {
3714 (char *) "self", NULL
3715 };
3716
3717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3720 {
3721 PyThreadState* __tstate = wxPyBeginAllowThreads();
3722 (arg1)->SetInsertionPointEnd();
3723
3724 wxPyEndAllowThreads(__tstate);
3725 if (PyErr_Occurred()) SWIG_fail;
3726 }
3727 Py_INCREF(Py_None); resultobj = Py_None;
3728 return resultobj;
3729 fail:
3730 return NULL;
3731}
3732
3733
3734static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3735 PyObject *resultobj;
3736 wxComboBox *arg1 = (wxComboBox *) 0 ;
3737 long arg2 ;
3738 long arg3 ;
3739 PyObject * obj0 = 0 ;
3740 PyObject * obj1 = 0 ;
3741 PyObject * obj2 = 0 ;
3742 char *kwnames[] = {
3743 (char *) "self",(char *) "from",(char *) "to", NULL
3744 };
3745
3746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3749 arg2 = (long) SWIG_AsLong(obj1);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 arg3 = (long) SWIG_AsLong(obj2);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 (arg1)->Remove(arg2,arg3);
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 Py_INCREF(Py_None); resultobj = Py_None;
3761 return resultobj;
3762 fail:
3763 return NULL;
3764}
3765
3766
f20a2e1f
RD
3767static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject *resultobj;
3769 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3770 wxVisualAttributes result;
3771 PyObject * obj0 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "variant", NULL
3774 };
3775
3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3777 if (obj0) {
3778 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 {
0439c23b 3782 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3785
3786 wxPyEndAllowThreads(__tstate);
0439c23b 3787 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
3788 }
3789 {
3790 wxVisualAttributes * resultptr;
3791 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3793 }
3794 return resultobj;
3795 fail:
3796 return NULL;
3797}
3798
3799
d55e5bfc
RD
3800static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3801 PyObject *obj;
3802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3803 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3804 Py_INCREF(obj);
3805 return Py_BuildValue((char *)"");
3806}
3807static int _wrap_GaugeNameStr_set(PyObject *_val) {
3808 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3809 return 1;
3810}
3811
3812
3813static PyObject *_wrap_GaugeNameStr_get() {
3814 PyObject *pyobj;
3815
3816 {
3817#if wxUSE_UNICODE
3818 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3819#else
3820 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3821#endif
3822 }
3823 return pyobj;
3824}
3825
3826
3827static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3828 PyObject *resultobj;
3829 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
3830 int arg2 = (int) -1 ;
3831 int arg3 = (int) 100 ;
d55e5bfc
RD
3832 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3833 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3834 wxSize const &arg5_defvalue = wxDefaultSize ;
3835 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3836 long arg6 = (long) wxGA_HORIZONTAL ;
3837 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3838 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3839 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3840 wxString *arg8 = (wxString *) &arg8_defvalue ;
3841 wxGauge *result;
3842 wxPoint temp4 ;
3843 wxSize temp5 ;
3844 bool temp8 = False ;
3845 PyObject * obj0 = 0 ;
3846 PyObject * obj1 = 0 ;
3847 PyObject * obj2 = 0 ;
3848 PyObject * obj3 = 0 ;
3849 PyObject * obj4 = 0 ;
3850 PyObject * obj5 = 0 ;
3851 PyObject * obj6 = 0 ;
3852 PyObject * obj7 = 0 ;
3853 char *kwnames[] = {
3854 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3855 };
3856
248ed943 3857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
3858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
3860 if (obj1) {
3861 arg2 = (int) SWIG_AsInt(obj1);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 if (obj2) {
3865 arg3 = (int) SWIG_AsInt(obj2);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
d55e5bfc
RD
3868 if (obj3) {
3869 {
3870 arg4 = &temp4;
3871 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3872 }
3873 }
3874 if (obj4) {
3875 {
3876 arg5 = &temp5;
3877 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3878 }
3879 }
3880 if (obj5) {
3881 arg6 = (long) SWIG_AsLong(obj5);
3882 if (PyErr_Occurred()) SWIG_fail;
3883 }
3884 if (obj6) {
3885 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3886 SWIG_POINTER_EXCEPTION | 0)) == -1)
3887 SWIG_fail;
3888 if (arg7 == NULL) {
3889 PyErr_SetString(PyExc_TypeError,"null reference");
3890 SWIG_fail;
3891 }
3892 }
3893 if (obj7) {
3894 {
3895 arg8 = wxString_in_helper(obj7);
3896 if (arg8 == NULL) SWIG_fail;
3897 temp8 = True;
3898 }
3899 }
3900 {
0439c23b 3901 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3904
3905 wxPyEndAllowThreads(__tstate);
0439c23b 3906 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3907 }
3908 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3909 {
3910 if (temp8)
3911 delete arg8;
3912 }
3913 return resultobj;
3914 fail:
3915 {
3916 if (temp8)
3917 delete arg8;
3918 }
3919 return NULL;
3920}
3921
3922
3923static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3924 PyObject *resultobj;
3925 wxGauge *result;
3926 char *kwnames[] = {
3927 NULL
3928 };
3929
3930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3931 {
0439c23b 3932 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 result = (wxGauge *)new wxGauge();
3935
3936 wxPyEndAllowThreads(__tstate);
0439c23b 3937 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
3938 }
3939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3940 return resultobj;
3941 fail:
3942 return NULL;
3943}
3944
3945
3946static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3947 PyObject *resultobj;
3948 wxGauge *arg1 = (wxGauge *) 0 ;
3949 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
3950 int arg3 = (int) -1 ;
3951 int arg4 = (int) 100 ;
d55e5bfc
RD
3952 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3953 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3954 wxSize const &arg6_defvalue = wxDefaultSize ;
3955 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3956 long arg7 = (long) wxGA_HORIZONTAL ;
3957 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3958 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3959 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3960 wxString *arg9 = (wxString *) &arg9_defvalue ;
3961 bool result;
3962 wxPoint temp5 ;
3963 wxSize temp6 ;
3964 bool temp9 = False ;
3965 PyObject * obj0 = 0 ;
3966 PyObject * obj1 = 0 ;
3967 PyObject * obj2 = 0 ;
3968 PyObject * obj3 = 0 ;
3969 PyObject * obj4 = 0 ;
3970 PyObject * obj5 = 0 ;
3971 PyObject * obj6 = 0 ;
3972 PyObject * obj7 = 0 ;
3973 PyObject * obj8 = 0 ;
3974 char *kwnames[] = {
3975 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3976 };
3977
248ed943 3978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
3979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
3983 if (obj2) {
3984 arg3 = (int) SWIG_AsInt(obj2);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 if (obj3) {
3988 arg4 = (int) SWIG_AsInt(obj3);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 }
d55e5bfc
RD
3991 if (obj4) {
3992 {
3993 arg5 = &temp5;
3994 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3995 }
3996 }
3997 if (obj5) {
3998 {
3999 arg6 = &temp6;
4000 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4001 }
4002 }
4003 if (obj6) {
4004 arg7 = (long) SWIG_AsLong(obj6);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 if (obj7) {
4008 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
4009 SWIG_POINTER_EXCEPTION | 0)) == -1)
4010 SWIG_fail;
4011 if (arg8 == NULL) {
4012 PyErr_SetString(PyExc_TypeError,"null reference");
4013 SWIG_fail;
4014 }
4015 }
4016 if (obj8) {
4017 {
4018 arg9 = wxString_in_helper(obj8);
4019 if (arg9 == NULL) SWIG_fail;
4020 temp9 = True;
4021 }
4022 }
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 {
4031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4032 }
4033 {
4034 if (temp9)
4035 delete arg9;
4036 }
4037 return resultobj;
4038 fail:
4039 {
4040 if (temp9)
4041 delete arg9;
4042 }
4043 return NULL;
4044}
4045
4046
4047static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4048 PyObject *resultobj;
4049 wxGauge *arg1 = (wxGauge *) 0 ;
4050 int arg2 ;
4051 PyObject * obj0 = 0 ;
4052 PyObject * obj1 = 0 ;
4053 char *kwnames[] = {
4054 (char *) "self",(char *) "range", NULL
4055 };
4056
4057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
4058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4060 arg2 = (int) SWIG_AsInt(obj1);
4061 if (PyErr_Occurred()) SWIG_fail;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 (arg1)->SetRange(arg2);
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 return resultobj;
4071 fail:
4072 return NULL;
4073}
4074
4075
4076static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxGauge *arg1 = (wxGauge *) 0 ;
4079 int result;
4080 PyObject * obj0 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
4086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 result = (int)((wxGauge const *)arg1)->GetRange();
4091
4092 wxPyEndAllowThreads(__tstate);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 resultobj = SWIG_FromInt((int)result);
4096 return resultobj;
4097 fail:
4098 return NULL;
4099}
4100
4101
4102static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4103 PyObject *resultobj;
4104 wxGauge *arg1 = (wxGauge *) 0 ;
4105 int arg2 ;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4108 char *kwnames[] = {
4109 (char *) "self",(char *) "pos", NULL
4110 };
4111
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
4113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4115 arg2 = (int) SWIG_AsInt(obj1);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 (arg1)->SetValue(arg2);
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 Py_INCREF(Py_None); resultobj = Py_None;
4125 return resultobj;
4126 fail:
4127 return NULL;
4128}
4129
4130
4131static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4132 PyObject *resultobj;
4133 wxGauge *arg1 = (wxGauge *) 0 ;
4134 int result;
4135 PyObject * obj0 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "self", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
4141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 result = (int)((wxGauge const *)arg1)->GetValue();
4146
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 resultobj = SWIG_FromInt((int)result);
4151 return resultobj;
4152 fail:
4153 return NULL;
4154}
4155
4156
4157static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4158 PyObject *resultobj;
4159 wxGauge *arg1 = (wxGauge *) 0 ;
4160 bool result;
4161 PyObject * obj0 = 0 ;
4162 char *kwnames[] = {
4163 (char *) "self", NULL
4164 };
4165
4166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
4167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4169 {
4170 PyThreadState* __tstate = wxPyBeginAllowThreads();
4171 result = (bool)((wxGauge const *)arg1)->IsVertical();
4172
4173 wxPyEndAllowThreads(__tstate);
4174 if (PyErr_Occurred()) SWIG_fail;
4175 }
4176 {
4177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4178 }
4179 return resultobj;
4180 fail:
4181 return NULL;
4182}
4183
4184
4185static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4186 PyObject *resultobj;
4187 wxGauge *arg1 = (wxGauge *) 0 ;
4188 int arg2 ;
4189 PyObject * obj0 = 0 ;
4190 PyObject * obj1 = 0 ;
4191 char *kwnames[] = {
4192 (char *) "self",(char *) "w", NULL
4193 };
4194
4195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4198 arg2 = (int) SWIG_AsInt(obj1);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 (arg1)->SetShadowWidth(arg2);
4203
4204 wxPyEndAllowThreads(__tstate);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 Py_INCREF(Py_None); resultobj = Py_None;
4208 return resultobj;
4209 fail:
4210 return NULL;
4211}
4212
4213
4214static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4215 PyObject *resultobj;
4216 wxGauge *arg1 = (wxGauge *) 0 ;
4217 int result;
4218 PyObject * obj0 = 0 ;
4219 char *kwnames[] = {
4220 (char *) "self", NULL
4221 };
4222
4223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4229
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 resultobj = SWIG_FromInt((int)result);
4234 return resultobj;
4235 fail:
4236 return NULL;
4237}
4238
4239
4240static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj;
4242 wxGauge *arg1 = (wxGauge *) 0 ;
4243 int arg2 ;
4244 PyObject * obj0 = 0 ;
4245 PyObject * obj1 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "self",(char *) "w", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4253 arg2 = (int) SWIG_AsInt(obj1);
4254 if (PyErr_Occurred()) SWIG_fail;
4255 {
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 (arg1)->SetBezelFace(arg2);
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 Py_INCREF(Py_None); resultobj = Py_None;
4263 return resultobj;
4264 fail:
4265 return NULL;
4266}
4267
4268
4269static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj;
4271 wxGauge *arg1 = (wxGauge *) 0 ;
4272 int result;
4273 PyObject * obj0 = 0 ;
4274 char *kwnames[] = {
4275 (char *) "self", NULL
4276 };
4277
4278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4281 {
4282 PyThreadState* __tstate = wxPyBeginAllowThreads();
4283 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4284
4285 wxPyEndAllowThreads(__tstate);
4286 if (PyErr_Occurred()) SWIG_fail;
4287 }
4288 resultobj = SWIG_FromInt((int)result);
4289 return resultobj;
4290 fail:
4291 return NULL;
4292}
4293
4294
f20a2e1f
RD
4295static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4296 PyObject *resultobj;
4297 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4298 wxVisualAttributes result;
4299 PyObject * obj0 = 0 ;
4300 char *kwnames[] = {
4301 (char *) "variant", NULL
4302 };
4303
4304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4305 if (obj0) {
4306 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4307 if (PyErr_Occurred()) SWIG_fail;
4308 }
4309 {
0439c23b 4310 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4311 PyThreadState* __tstate = wxPyBeginAllowThreads();
4312 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4313
4314 wxPyEndAllowThreads(__tstate);
0439c23b 4315 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4316 }
4317 {
4318 wxVisualAttributes * resultptr;
4319 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4320 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4321 }
4322 return resultobj;
4323 fail:
4324 return NULL;
4325}
4326
4327
d55e5bfc
RD
4328static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4329 PyObject *obj;
4330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4331 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4332 Py_INCREF(obj);
4333 return Py_BuildValue((char *)"");
4334}
4335static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4336 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4337 return 1;
4338}
4339
4340
4341static PyObject *_wrap_StaticBitmapNameStr_get() {
4342 PyObject *pyobj;
4343
4344 {
4345#if wxUSE_UNICODE
4346 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4347#else
4348 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4349#endif
4350 }
4351 return pyobj;
4352}
4353
4354
4355static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4356 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4357 return 1;
4358}
4359
4360
4361static PyObject *_wrap_StaticBoxNameStr_get() {
4362 PyObject *pyobj;
4363
4364 {
4365#if wxUSE_UNICODE
4366 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4367#else
4368 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4369#endif
4370 }
4371 return pyobj;
4372}
4373
4374
4375static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4376 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4377 return 1;
4378}
4379
4380
4381static PyObject *_wrap_StaticTextNameStr_get() {
4382 PyObject *pyobj;
4383
4384 {
4385#if wxUSE_UNICODE
4386 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4387#else
4388 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4389#endif
4390 }
4391 return pyobj;
4392}
4393
4394
4395static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4396 PyObject *resultobj;
4397 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4398 int arg2 = (int) -1 ;
4399 wxString const &arg3_defvalue = wxPyEmptyString ;
4400 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4401 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4402 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4403 wxSize const &arg5_defvalue = wxDefaultSize ;
4404 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4405 long arg6 = (long) 0 ;
4406 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4407 wxString *arg7 = (wxString *) &arg7_defvalue ;
4408 wxStaticBox *result;
4409 bool temp3 = False ;
4410 wxPoint temp4 ;
4411 wxSize temp5 ;
4412 bool temp7 = False ;
4413 PyObject * obj0 = 0 ;
4414 PyObject * obj1 = 0 ;
4415 PyObject * obj2 = 0 ;
4416 PyObject * obj3 = 0 ;
4417 PyObject * obj4 = 0 ;
4418 PyObject * obj5 = 0 ;
4419 PyObject * obj6 = 0 ;
4420 char *kwnames[] = {
4421 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4422 };
4423
248ed943 4424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4427 if (obj1) {
4428 arg2 = (int) SWIG_AsInt(obj1);
4429 if (PyErr_Occurred()) SWIG_fail;
4430 }
4431 if (obj2) {
4432 {
4433 arg3 = wxString_in_helper(obj2);
4434 if (arg3 == NULL) SWIG_fail;
4435 temp3 = True;
4436 }
d55e5bfc
RD
4437 }
4438 if (obj3) {
4439 {
4440 arg4 = &temp4;
4441 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4442 }
4443 }
4444 if (obj4) {
4445 {
4446 arg5 = &temp5;
4447 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4448 }
4449 }
4450 if (obj5) {
4451 arg6 = (long) SWIG_AsLong(obj5);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 if (obj6) {
4455 {
4456 arg7 = wxString_in_helper(obj6);
4457 if (arg7 == NULL) SWIG_fail;
4458 temp7 = True;
4459 }
4460 }
4461 {
0439c23b 4462 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4465
4466 wxPyEndAllowThreads(__tstate);
0439c23b 4467 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4468 }
4469 {
4470 resultobj = wxPyMake_wxObject(result);
4471 }
4472 {
4473 if (temp3)
4474 delete arg3;
4475 }
4476 {
4477 if (temp7)
4478 delete arg7;
4479 }
4480 return resultobj;
4481 fail:
4482 {
4483 if (temp3)
4484 delete arg3;
4485 }
4486 {
4487 if (temp7)
4488 delete arg7;
4489 }
4490 return NULL;
4491}
4492
4493
4494static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4495 PyObject *resultobj;
4496 wxStaticBox *result;
4497 char *kwnames[] = {
4498 NULL
4499 };
4500
4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4502 {
0439c23b 4503 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 result = (wxStaticBox *)new wxStaticBox();
4506
4507 wxPyEndAllowThreads(__tstate);
0439c23b 4508 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4509 }
4510 {
4511 resultobj = wxPyMake_wxObject(result);
4512 }
4513 return resultobj;
4514 fail:
4515 return NULL;
4516}
4517
4518
4519static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4522 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
4523 int arg3 = (int) -1 ;
4524 wxString const &arg4_defvalue = wxPyEmptyString ;
4525 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
4526 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4527 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4528 wxSize const &arg6_defvalue = wxDefaultSize ;
4529 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4530 long arg7 = (long) 0 ;
4531 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4532 wxString *arg8 = (wxString *) &arg8_defvalue ;
4533 bool result;
4534 bool temp4 = False ;
4535 wxPoint temp5 ;
4536 wxSize temp6 ;
4537 bool temp8 = False ;
4538 PyObject * obj0 = 0 ;
4539 PyObject * obj1 = 0 ;
4540 PyObject * obj2 = 0 ;
4541 PyObject * obj3 = 0 ;
4542 PyObject * obj4 = 0 ;
4543 PyObject * obj5 = 0 ;
4544 PyObject * obj6 = 0 ;
4545 PyObject * obj7 = 0 ;
4546 char *kwnames[] = {
4547 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4548 };
4549
248ed943 4550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
4551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4553 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4555 if (obj2) {
4556 arg3 = (int) SWIG_AsInt(obj2);
4557 if (PyErr_Occurred()) SWIG_fail;
4558 }
4559 if (obj3) {
4560 {
4561 arg4 = wxString_in_helper(obj3);
4562 if (arg4 == NULL) SWIG_fail;
4563 temp4 = True;
4564 }
d55e5bfc
RD
4565 }
4566 if (obj4) {
4567 {
4568 arg5 = &temp5;
4569 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4570 }
4571 }
4572 if (obj5) {
4573 {
4574 arg6 = &temp6;
4575 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4576 }
4577 }
4578 if (obj6) {
4579 arg7 = (long) SWIG_AsLong(obj6);
4580 if (PyErr_Occurred()) SWIG_fail;
4581 }
4582 if (obj7) {
4583 {
4584 arg8 = wxString_in_helper(obj7);
4585 if (arg8 == NULL) SWIG_fail;
4586 temp8 = True;
4587 }
4588 }
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 {
4597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4598 }
4599 {
4600 if (temp4)
4601 delete arg4;
4602 }
4603 {
4604 if (temp8)
4605 delete arg8;
4606 }
4607 return resultobj;
4608 fail:
4609 {
4610 if (temp4)
4611 delete arg4;
4612 }
4613 {
4614 if (temp8)
4615 delete arg8;
4616 }
4617 return NULL;
4618}
4619
4620
f20a2e1f
RD
4621static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj;
4623 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4624 wxVisualAttributes result;
4625 PyObject * obj0 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "variant", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4631 if (obj0) {
4632 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4633 if (PyErr_Occurred()) SWIG_fail;
4634 }
4635 {
0439c23b 4636 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4639
4640 wxPyEndAllowThreads(__tstate);
0439c23b 4641 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4642 }
4643 {
4644 wxVisualAttributes * resultptr;
4645 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4646 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4647 }
4648 return resultobj;
4649 fail:
4650 return NULL;
4651}
4652
4653
d55e5bfc
RD
4654static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4655 PyObject *obj;
4656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4657 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4658 Py_INCREF(obj);
4659 return Py_BuildValue((char *)"");
4660}
4661static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4662 PyObject *resultobj;
4663 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 4664 int arg2 = (int) -1 ;
d55e5bfc
RD
4665 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4666 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4667 wxSize const &arg4_defvalue = wxDefaultSize ;
4668 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4669 long arg5 = (long) wxLI_HORIZONTAL ;
4670 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4671 wxString *arg6 = (wxString *) &arg6_defvalue ;
4672 wxStaticLine *result;
4673 wxPoint temp3 ;
4674 wxSize temp4 ;
4675 bool temp6 = False ;
4676 PyObject * obj0 = 0 ;
4677 PyObject * obj1 = 0 ;
4678 PyObject * obj2 = 0 ;
4679 PyObject * obj3 = 0 ;
4680 PyObject * obj4 = 0 ;
4681 PyObject * obj5 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4684 };
4685
248ed943 4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
4687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4689 if (obj1) {
4690 arg2 = (int) SWIG_AsInt(obj1);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
d55e5bfc
RD
4693 if (obj2) {
4694 {
4695 arg3 = &temp3;
4696 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4697 }
4698 }
4699 if (obj3) {
4700 {
4701 arg4 = &temp4;
4702 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4703 }
4704 }
4705 if (obj4) {
4706 arg5 = (long) SWIG_AsLong(obj4);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 if (obj5) {
4710 {
4711 arg6 = wxString_in_helper(obj5);
4712 if (arg6 == NULL) SWIG_fail;
4713 temp6 = True;
4714 }
4715 }
4716 {
0439c23b 4717 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4720
4721 wxPyEndAllowThreads(__tstate);
0439c23b 4722 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4723 }
4724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4725 {
4726 if (temp6)
4727 delete arg6;
4728 }
4729 return resultobj;
4730 fail:
4731 {
4732 if (temp6)
4733 delete arg6;
4734 }
4735 return NULL;
4736}
4737
4738
4739static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 wxStaticLine *result;
4742 char *kwnames[] = {
4743 NULL
4744 };
4745
4746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4747 {
0439c23b 4748 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
4749 PyThreadState* __tstate = wxPyBeginAllowThreads();
4750 result = (wxStaticLine *)new wxStaticLine();
4751
4752 wxPyEndAllowThreads(__tstate);
0439c23b 4753 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
4754 }
4755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4756 return resultobj;
4757 fail:
4758 return NULL;
4759}
4760
4761
4762static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4763 PyObject *resultobj;
4764 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4765 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 4766 int arg3 = (int) -1 ;
d55e5bfc
RD
4767 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4768 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4769 wxSize const &arg5_defvalue = wxDefaultSize ;
4770 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4771 long arg6 = (long) wxLI_HORIZONTAL ;
4772 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4773 wxString *arg7 = (wxString *) &arg7_defvalue ;
4774 bool result;
4775 wxPoint temp4 ;
4776 wxSize temp5 ;
4777 bool temp7 = False ;
4778 PyObject * obj0 = 0 ;
4779 PyObject * obj1 = 0 ;
4780 PyObject * obj2 = 0 ;
4781 PyObject * obj3 = 0 ;
4782 PyObject * obj4 = 0 ;
4783 PyObject * obj5 = 0 ;
4784 PyObject * obj6 = 0 ;
4785 char *kwnames[] = {
4786 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4787 };
4788
248ed943 4789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4794 if (obj2) {
4795 arg3 = (int) SWIG_AsInt(obj2);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 }
d55e5bfc
RD
4798 if (obj3) {
4799 {
4800 arg4 = &temp4;
4801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4802 }
4803 }
4804 if (obj4) {
4805 {
4806 arg5 = &temp5;
4807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4808 }
4809 }
4810 if (obj5) {
4811 arg6 = (long) SWIG_AsLong(obj5);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 if (obj6) {
4815 {
4816 arg7 = wxString_in_helper(obj6);
4817 if (arg7 == NULL) SWIG_fail;
4818 temp7 = True;
4819 }
4820 }
4821 {
4822 PyThreadState* __tstate = wxPyBeginAllowThreads();
4823 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4824
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 {
4829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4830 }
4831 {
4832 if (temp7)
4833 delete arg7;
4834 }
4835 return resultobj;
4836 fail:
4837 {
4838 if (temp7)
4839 delete arg7;
4840 }
4841 return NULL;
4842}
4843
4844
4845static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4846 PyObject *resultobj;
4847 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4848 bool result;
4849 PyObject * obj0 = 0 ;
4850 char *kwnames[] = {
4851 (char *) "self", NULL
4852 };
4853
4854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4860
4861 wxPyEndAllowThreads(__tstate);
4862 if (PyErr_Occurred()) SWIG_fail;
4863 }
4864 {
4865 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4866 }
4867 return resultobj;
4868 fail:
4869 return NULL;
4870}
4871
4872
4873static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4874 PyObject *resultobj;
4875 int result;
4876 char *kwnames[] = {
4877 NULL
4878 };
4879
4880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4881 {
4882 PyThreadState* __tstate = wxPyBeginAllowThreads();
4883 result = (int)wxStaticLine::GetDefaultSize();
4884
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 resultobj = SWIG_FromInt((int)result);
4889 return resultobj;
4890 fail:
4891 return NULL;
4892}
4893
4894
f20a2e1f
RD
4895static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4896 PyObject *resultobj;
4897 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4898 wxVisualAttributes result;
4899 PyObject * obj0 = 0 ;
4900 char *kwnames[] = {
4901 (char *) "variant", NULL
4902 };
4903
4904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4905 if (obj0) {
4906 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4907 if (PyErr_Occurred()) SWIG_fail;
4908 }
4909 {
0439c23b 4910 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
4911 PyThreadState* __tstate = wxPyBeginAllowThreads();
4912 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
4913
4914 wxPyEndAllowThreads(__tstate);
0439c23b 4915 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
4916 }
4917 {
4918 wxVisualAttributes * resultptr;
4919 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4921 }
4922 return resultobj;
4923 fail:
4924 return NULL;
4925}
4926
4927
d55e5bfc
RD
4928static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4929 PyObject *obj;
4930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4931 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4932 Py_INCREF(obj);
4933 return Py_BuildValue((char *)"");
4934}
4935static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4936 PyObject *resultobj;
4937 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
4938 int arg2 = (int) -1 ;
4939 wxString const &arg3_defvalue = wxPyEmptyString ;
4940 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
4941 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4942 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4943 wxSize const &arg5_defvalue = wxDefaultSize ;
4944 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4945 long arg6 = (long) 0 ;
4946 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4947 wxString *arg7 = (wxString *) &arg7_defvalue ;
4948 wxStaticText *result;
4949 bool temp3 = False ;
4950 wxPoint temp4 ;
4951 wxSize temp5 ;
4952 bool temp7 = False ;
4953 PyObject * obj0 = 0 ;
4954 PyObject * obj1 = 0 ;
4955 PyObject * obj2 = 0 ;
4956 PyObject * obj3 = 0 ;
4957 PyObject * obj4 = 0 ;
4958 PyObject * obj5 = 0 ;
4959 PyObject * obj6 = 0 ;
4960 char *kwnames[] = {
4961 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4962 };
4963
248ed943 4964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
4965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
4967 if (obj1) {
4968 arg2 = (int) SWIG_AsInt(obj1);
4969 if (PyErr_Occurred()) SWIG_fail;
4970 }
4971 if (obj2) {
4972 {
4973 arg3 = wxString_in_helper(obj2);
4974 if (arg3 == NULL) SWIG_fail;
4975 temp3 = True;
4976 }
d55e5bfc
RD
4977 }
4978 if (obj3) {
4979 {
4980 arg4 = &temp4;
4981 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4982 }
4983 }
4984 if (obj4) {
4985 {
4986 arg5 = &temp5;
4987 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4988 }
4989 }
4990 if (obj5) {
4991 arg6 = (long) SWIG_AsLong(obj5);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 if (obj6) {
4995 {
4996 arg7 = wxString_in_helper(obj6);
4997 if (arg7 == NULL) SWIG_fail;
4998 temp7 = True;
4999 }
5000 }
5001 {
0439c23b 5002 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5003 PyThreadState* __tstate = wxPyBeginAllowThreads();
5004 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5005
5006 wxPyEndAllowThreads(__tstate);
0439c23b 5007 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5008 }
5009 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5010 {
5011 if (temp3)
5012 delete arg3;
5013 }
5014 {
5015 if (temp7)
5016 delete arg7;
5017 }
5018 return resultobj;
5019 fail:
5020 {
5021 if (temp3)
5022 delete arg3;
5023 }
5024 {
5025 if (temp7)
5026 delete arg7;
5027 }
5028 return NULL;
5029}
5030
5031
5032static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
5033 PyObject *resultobj;
5034 wxStaticText *result;
5035 char *kwnames[] = {
5036 NULL
5037 };
5038
5039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
5040 {
0439c23b 5041 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 result = (wxStaticText *)new wxStaticText();
5044
5045 wxPyEndAllowThreads(__tstate);
0439c23b 5046 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5047 }
5048 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
5049 return resultobj;
5050 fail:
5051 return NULL;
5052}
5053
5054
5055static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5056 PyObject *resultobj;
5057 wxStaticText *arg1 = (wxStaticText *) 0 ;
5058 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5059 int arg3 = (int) -1 ;
5060 wxString const &arg4_defvalue = wxPyEmptyString ;
5061 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
5062 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5063 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5064 wxSize const &arg6_defvalue = wxDefaultSize ;
5065 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5066 long arg7 = (long) 0 ;
5067 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
5068 wxString *arg8 = (wxString *) &arg8_defvalue ;
5069 bool result;
5070 bool temp4 = False ;
5071 wxPoint temp5 ;
5072 wxSize temp6 ;
5073 bool temp8 = False ;
5074 PyObject * obj0 = 0 ;
5075 PyObject * obj1 = 0 ;
5076 PyObject * obj2 = 0 ;
5077 PyObject * obj3 = 0 ;
5078 PyObject * obj4 = 0 ;
5079 PyObject * obj5 = 0 ;
5080 PyObject * obj6 = 0 ;
5081 PyObject * obj7 = 0 ;
5082 char *kwnames[] = {
5083 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5084 };
5085
248ed943 5086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
5087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5089 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
5091 if (obj2) {
5092 arg3 = (int) SWIG_AsInt(obj2);
5093 if (PyErr_Occurred()) SWIG_fail;
5094 }
5095 if (obj3) {
5096 {
5097 arg4 = wxString_in_helper(obj3);
5098 if (arg4 == NULL) SWIG_fail;
5099 temp4 = True;
5100 }
d55e5bfc
RD
5101 }
5102 if (obj4) {
5103 {
5104 arg5 = &temp5;
5105 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5106 }
5107 }
5108 if (obj5) {
5109 {
5110 arg6 = &temp6;
5111 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5112 }
5113 }
5114 if (obj6) {
5115 arg7 = (long) SWIG_AsLong(obj6);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 if (obj7) {
5119 {
5120 arg8 = wxString_in_helper(obj7);
5121 if (arg8 == NULL) SWIG_fail;
5122 temp8 = True;
5123 }
5124 }
5125 {
5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5127 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5128
5129 wxPyEndAllowThreads(__tstate);
5130 if (PyErr_Occurred()) SWIG_fail;
5131 }
5132 {
5133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5134 }
5135 {
5136 if (temp4)
5137 delete arg4;
5138 }
5139 {
5140 if (temp8)
5141 delete arg8;
5142 }
5143 return resultobj;
5144 fail:
5145 {
5146 if (temp4)
5147 delete arg4;
5148 }
5149 {
5150 if (temp8)
5151 delete arg8;
5152 }
5153 return NULL;
5154}
5155
5156
f20a2e1f
RD
5157static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5160 wxVisualAttributes result;
5161 PyObject * obj0 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "variant", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5167 if (obj0) {
5168 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5169 if (PyErr_Occurred()) SWIG_fail;
5170 }
5171 {
0439c23b 5172 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5173 PyThreadState* __tstate = wxPyBeginAllowThreads();
5174 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5175
5176 wxPyEndAllowThreads(__tstate);
0439c23b 5177 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5178 }
5179 {
5180 wxVisualAttributes * resultptr;
5181 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5182 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5183 }
5184 return resultobj;
5185 fail:
5186 return NULL;
5187}
5188
5189
d55e5bfc
RD
5190static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
5191 PyObject *obj;
5192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5193 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5194 Py_INCREF(obj);
5195 return Py_BuildValue((char *)"");
5196}
5197static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5198 PyObject *resultobj;
5199 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
5200 int arg2 = (int) -1 ;
5201 wxBitmap const &arg3_defvalue = wxNullBitmap ;
5202 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
d55e5bfc
RD
5203 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5204 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5205 wxSize const &arg5_defvalue = wxDefaultSize ;
5206 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5207 long arg6 = (long) 0 ;
5208 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5209 wxString *arg7 = (wxString *) &arg7_defvalue ;
5210 wxStaticBitmap *result;
5211 wxPoint temp4 ;
5212 wxSize temp5 ;
5213 bool temp7 = False ;
5214 PyObject * obj0 = 0 ;
5215 PyObject * obj1 = 0 ;
5216 PyObject * obj2 = 0 ;
5217 PyObject * obj3 = 0 ;
5218 PyObject * obj4 = 0 ;
5219 PyObject * obj5 = 0 ;
5220 PyObject * obj6 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5223 };
5224
248ed943 5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
5226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
5228 if (obj1) {
5229 arg2 = (int) SWIG_AsInt(obj1);
5230 if (PyErr_Occurred()) SWIG_fail;
5231 }
5232 if (obj2) {
5233 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5234 SWIG_POINTER_EXCEPTION | 0)) == -1)
d55e5bfc 5235 SWIG_fail;
248ed943
RD
5236 if (arg3 == NULL) {
5237 PyErr_SetString(PyExc_TypeError,"null reference");
5238 SWIG_fail;
5239 }
d55e5bfc
RD
5240 }
5241 if (obj3) {
5242 {
5243 arg4 = &temp4;
5244 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5245 }
5246 }
5247 if (obj4) {
5248 {
5249 arg5 = &temp5;
5250 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5251 }
5252 }
5253 if (obj5) {
5254 arg6 = (long) SWIG_AsLong(obj5);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 if (obj6) {
5258 {
5259 arg7 = wxString_in_helper(obj6);
5260 if (arg7 == NULL) SWIG_fail;
5261 temp7 = True;
5262 }
5263 }
5264 {
0439c23b 5265 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5268
5269 wxPyEndAllowThreads(__tstate);
0439c23b 5270 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5271 }
5272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5273 {
5274 if (temp7)
5275 delete arg7;
5276 }
5277 return resultobj;
5278 fail:
5279 {
5280 if (temp7)
5281 delete arg7;
5282 }
5283 return NULL;
5284}
5285
5286
5287static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5288 PyObject *resultobj;
5289 wxStaticBitmap *result;
5290 char *kwnames[] = {
5291 NULL
5292 };
5293
5294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5295 {
0439c23b 5296 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5297 PyThreadState* __tstate = wxPyBeginAllowThreads();
5298 result = (wxStaticBitmap *)new wxStaticBitmap();
5299
5300 wxPyEndAllowThreads(__tstate);
0439c23b 5301 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5302 }
5303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5304 return resultobj;
5305 fail:
5306 return NULL;
5307}
5308
5309
5310static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5311 PyObject *resultobj;
5312 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5313 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
5314 int arg3 = (int) -1 ;
5315 wxBitmap const &arg4_defvalue = wxNullBitmap ;
5316 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
d55e5bfc
RD
5317 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5318 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5319 wxSize const &arg6_defvalue = wxDefaultSize ;
5320 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5321 long arg7 = (long) 0 ;
5322 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5323 wxString *arg8 = (wxString *) &arg8_defvalue ;
5324 bool result;
5325 wxPoint temp5 ;
5326 wxSize temp6 ;
5327 bool temp8 = False ;
5328 PyObject * obj0 = 0 ;
5329 PyObject * obj1 = 0 ;
5330 PyObject * obj2 = 0 ;
5331 PyObject * obj3 = 0 ;
5332 PyObject * obj4 = 0 ;
5333 PyObject * obj5 = 0 ;
5334 PyObject * obj6 = 0 ;
5335 PyObject * obj7 = 0 ;
5336 char *kwnames[] = {
5337 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5338 };
5339
248ed943 5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
5341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5343 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
5345 if (obj2) {
5346 arg3 = (int) SWIG_AsInt(obj2);
5347 if (PyErr_Occurred()) SWIG_fail;
5348 }
5349 if (obj3) {
5350 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5351 SWIG_POINTER_EXCEPTION | 0)) == -1)
d55e5bfc 5352 SWIG_fail;
248ed943
RD
5353 if (arg4 == NULL) {
5354 PyErr_SetString(PyExc_TypeError,"null reference");
5355 SWIG_fail;
5356 }
d55e5bfc
RD
5357 }
5358 if (obj4) {
5359 {
5360 arg5 = &temp5;
5361 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5362 }
5363 }
5364 if (obj5) {
5365 {
5366 arg6 = &temp6;
5367 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5368 }
5369 }
5370 if (obj6) {
5371 arg7 = (long) SWIG_AsLong(obj6);
5372 if (PyErr_Occurred()) SWIG_fail;
5373 }
5374 if (obj7) {
5375 {
5376 arg8 = wxString_in_helper(obj7);
5377 if (arg8 == NULL) SWIG_fail;
5378 temp8 = True;
5379 }
5380 }
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5384
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 {
5389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5390 }
5391 {
5392 if (temp8)
5393 delete arg8;
5394 }
5395 return resultobj;
5396 fail:
5397 {
5398 if (temp8)
5399 delete arg8;
5400 }
5401 return NULL;
5402}
5403
5404
5405static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5406 PyObject *resultobj;
5407 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5408 wxBitmap result;
5409 PyObject * obj0 = 0 ;
5410 char *kwnames[] = {
5411 (char *) "self", NULL
5412 };
5413
5414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = (arg1)->GetBitmap();
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 {
5425 wxBitmap * resultptr;
5426 resultptr = new wxBitmap((wxBitmap &) result);
5427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5428 }
5429 return resultobj;
5430 fail:
5431 return NULL;
5432}
5433
5434
5435static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj;
5437 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5438 wxBitmap *arg2 = 0 ;
5439 PyObject * obj0 = 0 ;
5440 PyObject * obj1 = 0 ;
5441 char *kwnames[] = {
5442 (char *) "self",(char *) "bitmap", NULL
5443 };
5444
5445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5449 SWIG_POINTER_EXCEPTION | 0)) == -1)
5450 SWIG_fail;
5451 if (arg2 == NULL) {
5452 PyErr_SetString(PyExc_TypeError,"null reference");
5453 SWIG_fail;
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5458
5459 wxPyEndAllowThreads(__tstate);
5460 if (PyErr_Occurred()) SWIG_fail;
5461 }
5462 Py_INCREF(Py_None); resultobj = Py_None;
5463 return resultobj;
5464 fail:
5465 return NULL;
5466}
5467
5468
5469static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5470 PyObject *resultobj;
5471 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5472 wxIcon *arg2 = 0 ;
5473 PyObject * obj0 = 0 ;
5474 PyObject * obj1 = 0 ;
5475 char *kwnames[] = {
5476 (char *) "self",(char *) "icon", NULL
5477 };
5478
5479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5483 SWIG_POINTER_EXCEPTION | 0)) == -1)
5484 SWIG_fail;
5485 if (arg2 == NULL) {
5486 PyErr_SetString(PyExc_TypeError,"null reference");
5487 SWIG_fail;
5488 }
5489 {
5490 PyThreadState* __tstate = wxPyBeginAllowThreads();
5491 (arg1)->SetIcon((wxIcon const &)*arg2);
5492
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 Py_INCREF(Py_None); resultobj = Py_None;
5497 return resultobj;
5498 fail:
5499 return NULL;
5500}
5501
5502
f20a2e1f
RD
5503static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5504 PyObject *resultobj;
5505 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5506 wxVisualAttributes result;
5507 PyObject * obj0 = 0 ;
5508 char *kwnames[] = {
5509 (char *) "variant", NULL
5510 };
5511
5512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5513 if (obj0) {
5514 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5515 if (PyErr_Occurred()) SWIG_fail;
5516 }
5517 {
0439c23b 5518 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
5520 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5521
5522 wxPyEndAllowThreads(__tstate);
0439c23b 5523 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
5524 }
5525 {
5526 wxVisualAttributes * resultptr;
5527 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5529 }
5530 return resultobj;
5531 fail:
5532 return NULL;
5533}
5534
5535
d55e5bfc
RD
5536static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5537 PyObject *obj;
5538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5539 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5540 Py_INCREF(obj);
5541 return Py_BuildValue((char *)"");
5542}
5543static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5544 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5545 return 1;
5546}
5547
5548
5549static PyObject *_wrap_ListBoxNameStr_get() {
5550 PyObject *pyobj;
5551
5552 {
5553#if wxUSE_UNICODE
5554 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5555#else
5556 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5557#endif
5558 }
5559 return pyobj;
5560}
5561
5562
5563static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5564 PyObject *resultobj;
5565 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 5566 int arg2 = (int) -1 ;
d55e5bfc
RD
5567 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5568 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5569 wxSize const &arg4_defvalue = wxDefaultSize ;
5570 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5571 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5572 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5573 long arg6 = (long) 0 ;
5574 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5575 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5576 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5577 wxString *arg8 = (wxString *) &arg8_defvalue ;
5578 wxListBox *result;
5579 wxPoint temp3 ;
5580 wxSize temp4 ;
5581 bool temp5 = False ;
5582 bool temp8 = False ;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 PyObject * obj2 = 0 ;
5586 PyObject * obj3 = 0 ;
5587 PyObject * obj4 = 0 ;
5588 PyObject * obj5 = 0 ;
5589 PyObject * obj6 = 0 ;
5590 PyObject * obj7 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5593 };
5594
248ed943 5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
5596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
5598 if (obj1) {
5599 arg2 = (int) SWIG_AsInt(obj1);
5600 if (PyErr_Occurred()) SWIG_fail;
5601 }
d55e5bfc
RD
5602 if (obj2) {
5603 {
5604 arg3 = &temp3;
5605 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5606 }
5607 }
5608 if (obj3) {
5609 {
5610 arg4 = &temp4;
5611 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5612 }
5613 }
5614 if (obj4) {
5615 {
5616 if (! PySequence_Check(obj4)) {
5617 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5618 SWIG_fail;
5619 }
5620 arg5 = new wxArrayString;
5621 temp5 = True;
5622 int i, len=PySequence_Length(obj4);
5623 for (i=0; i<len; i++) {
5624 PyObject* item = PySequence_GetItem(obj4, i);
5625#if wxUSE_UNICODE
5626 PyObject* str = PyObject_Unicode(item);
5627#else
5628 PyObject* str = PyObject_Str(item);
5629#endif
5630 if (PyErr_Occurred()) SWIG_fail;
5631 arg5->Add(Py2wxString(str));
5632 Py_DECREF(item);
5633 Py_DECREF(str);
5634 }
5635 }
5636 }
5637 if (obj5) {
5638 arg6 = (long) SWIG_AsLong(obj5);
5639 if (PyErr_Occurred()) SWIG_fail;
5640 }
5641 if (obj6) {
5642 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5643 SWIG_POINTER_EXCEPTION | 0)) == -1)
5644 SWIG_fail;
5645 if (arg7 == NULL) {
5646 PyErr_SetString(PyExc_TypeError,"null reference");
5647 SWIG_fail;
5648 }
5649 }
5650 if (obj7) {
5651 {
5652 arg8 = wxString_in_helper(obj7);
5653 if (arg8 == NULL) SWIG_fail;
5654 temp8 = True;
5655 }
5656 }
5657 {
0439c23b 5658 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5661
5662 wxPyEndAllowThreads(__tstate);
0439c23b 5663 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5664 }
5665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5666 {
5667 if (temp5) delete arg5;
5668 }
5669 {
5670 if (temp8)
5671 delete arg8;
5672 }
5673 return resultobj;
5674 fail:
5675 {
5676 if (temp5) delete arg5;
5677 }
5678 {
5679 if (temp8)
5680 delete arg8;
5681 }
5682 return NULL;
5683}
5684
5685
5686static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5687 PyObject *resultobj;
5688 wxListBox *result;
5689 char *kwnames[] = {
5690 NULL
5691 };
5692
5693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5694 {
0439c23b 5695 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 result = (wxListBox *)new wxListBox();
5698
5699 wxPyEndAllowThreads(__tstate);
0439c23b 5700 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
5701 }
5702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5703 return resultobj;
5704 fail:
5705 return NULL;
5706}
5707
5708
5709static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj;
5711 wxListBox *arg1 = (wxListBox *) 0 ;
5712 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 5713 int arg3 = (int) -1 ;
d55e5bfc
RD
5714 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5715 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5716 wxSize const &arg5_defvalue = wxDefaultSize ;
5717 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5718 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5719 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5720 long arg7 = (long) 0 ;
5721 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5722 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5723 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5724 wxString *arg9 = (wxString *) &arg9_defvalue ;
5725 bool result;
5726 wxPoint temp4 ;
5727 wxSize temp5 ;
5728 bool temp6 = False ;
5729 bool temp9 = False ;
5730 PyObject * obj0 = 0 ;
5731 PyObject * obj1 = 0 ;
5732 PyObject * obj2 = 0 ;
5733 PyObject * obj3 = 0 ;
5734 PyObject * obj4 = 0 ;
5735 PyObject * obj5 = 0 ;
5736 PyObject * obj6 = 0 ;
5737 PyObject * obj7 = 0 ;
5738 PyObject * obj8 = 0 ;
5739 char *kwnames[] = {
5740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5741 };
5742
248ed943 5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
5744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5746 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
5748 if (obj2) {
5749 arg3 = (int) SWIG_AsInt(obj2);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
d55e5bfc
RD
5752 if (obj3) {
5753 {
5754 arg4 = &temp4;
5755 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5756 }
5757 }
5758 if (obj4) {
5759 {
5760 arg5 = &temp5;
5761 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5762 }
5763 }
5764 if (obj5) {
5765 {
5766 if (! PySequence_Check(obj5)) {
5767 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5768 SWIG_fail;
5769 }
5770 arg6 = new wxArrayString;
5771 temp6 = True;
5772 int i, len=PySequence_Length(obj5);
5773 for (i=0; i<len; i++) {
5774 PyObject* item = PySequence_GetItem(obj5, i);
5775#if wxUSE_UNICODE
5776 PyObject* str = PyObject_Unicode(item);
5777#else
5778 PyObject* str = PyObject_Str(item);
5779#endif
5780 if (PyErr_Occurred()) SWIG_fail;
5781 arg6->Add(Py2wxString(str));
5782 Py_DECREF(item);
5783 Py_DECREF(str);
5784 }
5785 }
5786 }
5787 if (obj6) {
5788 arg7 = (long) SWIG_AsLong(obj6);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
5791 if (obj7) {
5792 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5793 SWIG_POINTER_EXCEPTION | 0)) == -1)
5794 SWIG_fail;
5795 if (arg8 == NULL) {
5796 PyErr_SetString(PyExc_TypeError,"null reference");
5797 SWIG_fail;
5798 }
5799 }
5800 if (obj8) {
5801 {
5802 arg9 = wxString_in_helper(obj8);
5803 if (arg9 == NULL) SWIG_fail;
5804 temp9 = True;
5805 }
5806 }
5807 {
5808 PyThreadState* __tstate = wxPyBeginAllowThreads();
5809 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5810
5811 wxPyEndAllowThreads(__tstate);
5812 if (PyErr_Occurred()) SWIG_fail;
5813 }
5814 {
5815 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5816 }
5817 {
5818 if (temp6) delete arg6;
5819 }
5820 {
5821 if (temp9)
5822 delete arg9;
5823 }
5824 return resultobj;
5825 fail:
5826 {
5827 if (temp6) delete arg6;
5828 }
5829 {
5830 if (temp9)
5831 delete arg9;
5832 }
5833 return NULL;
5834}
5835
5836
5837static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5838 PyObject *resultobj;
5839 wxListBox *arg1 = (wxListBox *) 0 ;
5840 wxString *arg2 = 0 ;
5841 int arg3 ;
5842 PyObject *arg4 = (PyObject *) NULL ;
5843 bool temp2 = False ;
5844 PyObject * obj0 = 0 ;
5845 PyObject * obj1 = 0 ;
5846 PyObject * obj2 = 0 ;
5847 PyObject * obj3 = 0 ;
5848 char *kwnames[] = {
5849 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5850 };
5851
5852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5853 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5854 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5855 {
5856 arg2 = wxString_in_helper(obj1);
5857 if (arg2 == NULL) SWIG_fail;
5858 temp2 = True;
5859 }
5860 arg3 = (int) SWIG_AsInt(obj2);
5861 if (PyErr_Occurred()) SWIG_fail;
5862 if (obj3) {
5863 arg4 = obj3;
5864 }
5865 {
5866 PyThreadState* __tstate = wxPyBeginAllowThreads();
5867 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5868
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 Py_INCREF(Py_None); resultobj = Py_None;
5873 {
5874 if (temp2)
5875 delete arg2;
5876 }
5877 return resultobj;
5878 fail:
5879 {
5880 if (temp2)
5881 delete arg2;
5882 }
5883 return NULL;
5884}
5885
5886
5887static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj;
5889 wxListBox *arg1 = (wxListBox *) 0 ;
5890 wxArrayString *arg2 = 0 ;
5891 int arg3 ;
5892 bool temp2 = False ;
5893 PyObject * obj0 = 0 ;
5894 PyObject * obj1 = 0 ;
5895 PyObject * obj2 = 0 ;
5896 char *kwnames[] = {
5897 (char *) "self",(char *) "items",(char *) "pos", NULL
5898 };
5899
5900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5903 {
5904 if (! PySequence_Check(obj1)) {
5905 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5906 SWIG_fail;
5907 }
5908 arg2 = new wxArrayString;
5909 temp2 = True;
5910 int i, len=PySequence_Length(obj1);
5911 for (i=0; i<len; i++) {
5912 PyObject* item = PySequence_GetItem(obj1, i);
5913#if wxUSE_UNICODE
5914 PyObject* str = PyObject_Unicode(item);
5915#else
5916 PyObject* str = PyObject_Str(item);
5917#endif
5918 if (PyErr_Occurred()) SWIG_fail;
5919 arg2->Add(Py2wxString(str));
5920 Py_DECREF(item);
5921 Py_DECREF(str);
5922 }
5923 }
5924 arg3 = (int) SWIG_AsInt(obj2);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 Py_INCREF(Py_None); resultobj = Py_None;
5934 {
5935 if (temp2) delete arg2;
5936 }
5937 return resultobj;
5938 fail:
5939 {
5940 if (temp2) delete arg2;
5941 }
5942 return NULL;
5943}
5944
5945
5946static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5947 PyObject *resultobj;
5948 wxListBox *arg1 = (wxListBox *) 0 ;
5949 wxArrayString *arg2 = 0 ;
5950 bool temp2 = False ;
5951 PyObject * obj0 = 0 ;
5952 PyObject * obj1 = 0 ;
5953 char *kwnames[] = {
5954 (char *) "self",(char *) "items", NULL
5955 };
5956
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5960 {
5961 if (! PySequence_Check(obj1)) {
5962 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5963 SWIG_fail;
5964 }
5965 arg2 = new wxArrayString;
5966 temp2 = True;
5967 int i, len=PySequence_Length(obj1);
5968 for (i=0; i<len; i++) {
5969 PyObject* item = PySequence_GetItem(obj1, i);
5970#if wxUSE_UNICODE
5971 PyObject* str = PyObject_Unicode(item);
5972#else
5973 PyObject* str = PyObject_Str(item);
5974#endif
5975 if (PyErr_Occurred()) SWIG_fail;
5976 arg2->Add(Py2wxString(str));
5977 Py_DECREF(item);
5978 Py_DECREF(str);
5979 }
5980 }
5981 {
5982 PyThreadState* __tstate = wxPyBeginAllowThreads();
5983 (arg1)->Set((wxArrayString const &)*arg2);
5984
5985 wxPyEndAllowThreads(__tstate);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 Py_INCREF(Py_None); resultobj = Py_None;
5989 {
5990 if (temp2) delete arg2;
5991 }
5992 return resultobj;
5993 fail:
5994 {
5995 if (temp2) delete arg2;
5996 }
5997 return NULL;
5998}
5999
6000
6001static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj;
6003 wxListBox *arg1 = (wxListBox *) 0 ;
6004 int arg2 ;
6005 bool result;
6006 PyObject * obj0 = 0 ;
6007 PyObject * obj1 = 0 ;
6008 char *kwnames[] = {
6009 (char *) "self",(char *) "n", NULL
6010 };
6011
6012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
6013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6015 arg2 = (int) SWIG_AsInt(obj1);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
6020
6021 wxPyEndAllowThreads(__tstate);
6022 if (PyErr_Occurred()) SWIG_fail;
6023 }
6024 {
6025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6026 }
6027 return resultobj;
6028 fail:
6029 return NULL;
6030}
6031
6032
6033static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxListBox *arg1 = (wxListBox *) 0 ;
6036 int arg2 ;
6037 bool arg3 = (bool) True ;
6038 PyObject * obj0 = 0 ;
6039 PyObject * obj1 = 0 ;
6040 PyObject * obj2 = 0 ;
6041 char *kwnames[] = {
6042 (char *) "self",(char *) "n",(char *) "select", NULL
6043 };
6044
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6048 arg2 = (int) SWIG_AsInt(obj1);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 if (obj2) {
6051 arg3 = (bool) SWIG_AsBool(obj2);
6052 if (PyErr_Occurred()) SWIG_fail;
6053 }
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 (arg1)->SetSelection(arg2,arg3);
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 Py_INCREF(Py_None); resultobj = Py_None;
6062 return resultobj;
6063 fail:
6064 return NULL;
6065}
6066
6067
6068static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxListBox *arg1 = (wxListBox *) 0 ;
6071 int arg2 ;
6072 PyObject * obj0 = 0 ;
6073 PyObject * obj1 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self",(char *) "n", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6081 arg2 = (int) SWIG_AsInt(obj1);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 (arg1)->Select(arg2);
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 }
6090 Py_INCREF(Py_None); resultobj = Py_None;
6091 return resultobj;
6092 fail:
6093 return NULL;
6094}
6095
6096
6097static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
6098 PyObject *resultobj;
6099 wxListBox *arg1 = (wxListBox *) 0 ;
6100 int arg2 ;
6101 PyObject * obj0 = 0 ;
6102 PyObject * obj1 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self",(char *) "n", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
6108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6110 arg2 = (int) SWIG_AsInt(obj1);
6111 if (PyErr_Occurred()) SWIG_fail;
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 (arg1)->Deselect(arg2);
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 Py_INCREF(Py_None); resultobj = Py_None;
6120 return resultobj;
6121 fail:
6122 return NULL;
6123}
6124
6125
6126static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj;
6128 wxListBox *arg1 = (wxListBox *) 0 ;
6129 int arg2 = (int) -1 ;
6130 PyObject * obj0 = 0 ;
6131 PyObject * obj1 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "self",(char *) "itemToLeaveSelected", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
6137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6139 if (obj1) {
6140 arg2 = (int) SWIG_AsInt(obj1);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 (arg1)->DeselectAll(arg2);
6146
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 Py_INCREF(Py_None); resultobj = Py_None;
6151 return resultobj;
6152 fail:
6153 return NULL;
6154}
6155
6156
6157static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj;
6159 wxListBox *arg1 = (wxListBox *) 0 ;
6160 wxString *arg2 = 0 ;
6161 bool arg3 = (bool) True ;
6162 bool result;
6163 bool temp2 = False ;
6164 PyObject * obj0 = 0 ;
6165 PyObject * obj1 = 0 ;
6166 PyObject * obj2 = 0 ;
6167 char *kwnames[] = {
6168 (char *) "self",(char *) "s",(char *) "select", NULL
6169 };
6170
6171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6174 {
6175 arg2 = wxString_in_helper(obj1);
6176 if (arg2 == NULL) SWIG_fail;
6177 temp2 = True;
6178 }
6179 if (obj2) {
6180 arg3 = (bool) SWIG_AsBool(obj2);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 {
6191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6192 }
6193 {
6194 if (temp2)
6195 delete arg2;
6196 }
6197 return resultobj;
6198 fail:
6199 {
6200 if (temp2)
6201 delete arg2;
6202 }
6203 return NULL;
6204}
6205
6206
6207static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6208 PyObject *resultobj;
6209 wxListBox *arg1 = (wxListBox *) 0 ;
6210 PyObject *result;
6211 PyObject * obj0 = 0 ;
6212 char *kwnames[] = {
6213 (char *) "self", NULL
6214 };
6215
6216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
6217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 result = (PyObject *)wxListBox_GetSelections(arg1);
6222
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 resultobj = result;
6227 return resultobj;
6228 fail:
6229 return NULL;
6230}
6231
6232
6233static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj;
6235 wxListBox *arg1 = (wxListBox *) 0 ;
6236 int arg2 ;
6237 PyObject * obj0 = 0 ;
6238 PyObject * obj1 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "self",(char *) "n", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
6244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6246 arg2 = (int) SWIG_AsInt(obj1);
6247 if (PyErr_Occurred()) SWIG_fail;
6248 {
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 (arg1)->SetFirstItem(arg2);
6251
6252 wxPyEndAllowThreads(__tstate);
6253 if (PyErr_Occurred()) SWIG_fail;
6254 }
6255 Py_INCREF(Py_None); resultobj = Py_None;
6256 return resultobj;
6257 fail:
6258 return NULL;
6259}
6260
6261
6262static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
6263 PyObject *resultobj;
6264 wxListBox *arg1 = (wxListBox *) 0 ;
6265 wxString *arg2 = 0 ;
6266 bool temp2 = False ;
6267 PyObject * obj0 = 0 ;
6268 PyObject * obj1 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "self",(char *) "s", NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
6274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6276 {
6277 arg2 = wxString_in_helper(obj1);
6278 if (arg2 == NULL) SWIG_fail;
6279 temp2 = True;
6280 }
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 (arg1)->SetFirstItem((wxString const &)*arg2);
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 Py_INCREF(Py_None); resultobj = Py_None;
6289 {
6290 if (temp2)
6291 delete arg2;
6292 }
6293 return resultobj;
6294 fail:
6295 {
6296 if (temp2)
6297 delete arg2;
6298 }
6299 return NULL;
6300}
6301
6302
6303static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj;
6305 wxListBox *arg1 = (wxListBox *) 0 ;
6306 int arg2 ;
6307 PyObject * obj0 = 0 ;
6308 PyObject * obj1 = 0 ;
6309 char *kwnames[] = {
6310 (char *) "self",(char *) "n", NULL
6311 };
6312
6313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6316 arg2 = (int) SWIG_AsInt(obj1);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 {
6319 PyThreadState* __tstate = wxPyBeginAllowThreads();
6320 (arg1)->EnsureVisible(arg2);
6321
6322 wxPyEndAllowThreads(__tstate);
6323 if (PyErr_Occurred()) SWIG_fail;
6324 }
6325 Py_INCREF(Py_None); resultobj = Py_None;
6326 return resultobj;
6327 fail:
6328 return NULL;
6329}
6330
6331
6332static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6333 PyObject *resultobj;
6334 wxListBox *arg1 = (wxListBox *) 0 ;
6335 wxString *arg2 = 0 ;
6336 bool temp2 = False ;
6337 PyObject * obj0 = 0 ;
6338 PyObject * obj1 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self",(char *) "s", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6346 {
6347 arg2 = wxString_in_helper(obj1);
6348 if (arg2 == NULL) SWIG_fail;
6349 temp2 = True;
6350 }
6351 {
6352 PyThreadState* __tstate = wxPyBeginAllowThreads();
6353 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6354
6355 wxPyEndAllowThreads(__tstate);
6356 if (PyErr_Occurred()) SWIG_fail;
6357 }
6358 Py_INCREF(Py_None); resultobj = Py_None;
6359 {
6360 if (temp2)
6361 delete arg2;
6362 }
6363 return resultobj;
6364 fail:
6365 {
6366 if (temp2)
6367 delete arg2;
6368 }
6369 return NULL;
6370}
6371
6372
6373static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 wxListBox *arg1 = (wxListBox *) 0 ;
6376 bool result;
6377 PyObject * obj0 = 0 ;
6378 char *kwnames[] = {
6379 (char *) "self", NULL
6380 };
6381
6382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
6383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6385 {
6386 PyThreadState* __tstate = wxPyBeginAllowThreads();
6387 result = (bool)((wxListBox const *)arg1)->IsSorted();
6388
6389 wxPyEndAllowThreads(__tstate);
6390 if (PyErr_Occurred()) SWIG_fail;
6391 }
6392 {
6393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6394 }
6395 return resultobj;
6396 fail:
6397 return NULL;
6398}
6399
6400
6401static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj;
6403 wxListBox *arg1 = (wxListBox *) 0 ;
6404 int arg2 ;
6405 wxColour *arg3 = 0 ;
6406 wxColour temp3 ;
6407 PyObject * obj0 = 0 ;
6408 PyObject * obj1 = 0 ;
6409 PyObject * obj2 = 0 ;
6410 char *kwnames[] = {
6411 (char *) "self",(char *) "item",(char *) "c", NULL
6412 };
6413
6414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6417 arg2 = (int) SWIG_AsInt(obj1);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 {
6420 arg3 = &temp3;
6421 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6422 }
6423 {
6424 PyThreadState* __tstate = wxPyBeginAllowThreads();
6425 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6426
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 Py_INCREF(Py_None); resultobj = Py_None;
6431 return resultobj;
6432 fail:
6433 return NULL;
6434}
6435
6436
6437static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxListBox *arg1 = (wxListBox *) 0 ;
6440 int arg2 ;
6441 wxColour *arg3 = 0 ;
6442 wxColour temp3 ;
6443 PyObject * obj0 = 0 ;
6444 PyObject * obj1 = 0 ;
6445 PyObject * obj2 = 0 ;
6446 char *kwnames[] = {
6447 (char *) "self",(char *) "item",(char *) "c", NULL
6448 };
6449
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6453 arg2 = (int) SWIG_AsInt(obj1);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 {
6456 arg3 = &temp3;
6457 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6458 }
6459 {
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6462
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 Py_INCREF(Py_None); resultobj = Py_None;
6467 return resultobj;
6468 fail:
6469 return NULL;
6470}
6471
6472
6473static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6474 PyObject *resultobj;
6475 wxListBox *arg1 = (wxListBox *) 0 ;
6476 int arg2 ;
6477 wxFont *arg3 = 0 ;
6478 PyObject * obj0 = 0 ;
6479 PyObject * obj1 = 0 ;
6480 PyObject * obj2 = 0 ;
6481 char *kwnames[] = {
6482 (char *) "self",(char *) "item",(char *) "f", NULL
6483 };
6484
6485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6488 arg2 = (int) SWIG_AsInt(obj1);
6489 if (PyErr_Occurred()) SWIG_fail;
6490 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6491 SWIG_POINTER_EXCEPTION | 0)) == -1)
6492 SWIG_fail;
6493 if (arg3 == NULL) {
6494 PyErr_SetString(PyExc_TypeError,"null reference");
6495 SWIG_fail;
6496 }
6497 {
6498 PyThreadState* __tstate = wxPyBeginAllowThreads();
6499 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6500
6501 wxPyEndAllowThreads(__tstate);
6502 if (PyErr_Occurred()) SWIG_fail;
6503 }
6504 Py_INCREF(Py_None); resultobj = Py_None;
6505 return resultobj;
6506 fail:
6507 return NULL;
6508}
6509
6510
6511static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6512 PyObject *resultobj;
6513 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6514 wxVisualAttributes result;
6515 PyObject * obj0 = 0 ;
6516 char *kwnames[] = {
6517 (char *) "variant", NULL
6518 };
6519
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6521 if (obj0) {
6522 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6523 if (PyErr_Occurred()) SWIG_fail;
6524 }
6525 {
0439c23b 6526 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6527 PyThreadState* __tstate = wxPyBeginAllowThreads();
6528 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6529
6530 wxPyEndAllowThreads(__tstate);
0439c23b 6531 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6532 }
6533 {
6534 wxVisualAttributes * resultptr;
6535 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6537 }
6538 return resultobj;
6539 fail:
6540 return NULL;
6541}
6542
6543
6544static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6545 PyObject *obj;
6546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6547 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6548 Py_INCREF(obj);
6549 return Py_BuildValue((char *)"");
6550}
6551static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj;
6553 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 6554 int arg2 = (int) -1 ;
d55e5bfc
RD
6555 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6556 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6557 wxSize const &arg4_defvalue = wxDefaultSize ;
6558 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6559 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6560 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6561 long arg6 = (long) 0 ;
6562 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6563 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6564 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6565 wxString *arg8 = (wxString *) &arg8_defvalue ;
6566 wxCheckListBox *result;
6567 wxPoint temp3 ;
6568 wxSize temp4 ;
6569 bool temp5 = False ;
6570 bool temp8 = False ;
6571 PyObject * obj0 = 0 ;
6572 PyObject * obj1 = 0 ;
6573 PyObject * obj2 = 0 ;
6574 PyObject * obj3 = 0 ;
6575 PyObject * obj4 = 0 ;
6576 PyObject * obj5 = 0 ;
6577 PyObject * obj6 = 0 ;
6578 PyObject * obj7 = 0 ;
6579 char *kwnames[] = {
6580 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6581 };
6582
248ed943 6583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
6584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
6586 if (obj1) {
6587 arg2 = (int) SWIG_AsInt(obj1);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
d55e5bfc
RD
6590 if (obj2) {
6591 {
6592 arg3 = &temp3;
6593 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6594 }
6595 }
6596 if (obj3) {
6597 {
6598 arg4 = &temp4;
6599 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6600 }
6601 }
6602 if (obj4) {
6603 {
6604 if (! PySequence_Check(obj4)) {
6605 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6606 SWIG_fail;
6607 }
6608 arg5 = new wxArrayString;
6609 temp5 = True;
6610 int i, len=PySequence_Length(obj4);
6611 for (i=0; i<len; i++) {
6612 PyObject* item = PySequence_GetItem(obj4, i);
6613#if wxUSE_UNICODE
6614 PyObject* str = PyObject_Unicode(item);
6615#else
6616 PyObject* str = PyObject_Str(item);
6617#endif
6618 if (PyErr_Occurred()) SWIG_fail;
6619 arg5->Add(Py2wxString(str));
6620 Py_DECREF(item);
6621 Py_DECREF(str);
6622 }
6623 }
6624 }
6625 if (obj5) {
6626 arg6 = (long) SWIG_AsLong(obj5);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 if (obj6) {
6630 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6631 SWIG_POINTER_EXCEPTION | 0)) == -1)
6632 SWIG_fail;
6633 if (arg7 == NULL) {
6634 PyErr_SetString(PyExc_TypeError,"null reference");
6635 SWIG_fail;
6636 }
6637 }
6638 if (obj7) {
6639 {
6640 arg8 = wxString_in_helper(obj7);
6641 if (arg8 == NULL) SWIG_fail;
6642 temp8 = True;
6643 }
6644 }
6645 {
0439c23b 6646 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6647 PyThreadState* __tstate = wxPyBeginAllowThreads();
6648 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6649
6650 wxPyEndAllowThreads(__tstate);
0439c23b 6651 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6652 }
6653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6654 {
6655 if (temp5) delete arg5;
6656 }
6657 {
6658 if (temp8)
6659 delete arg8;
6660 }
6661 return resultobj;
6662 fail:
6663 {
6664 if (temp5) delete arg5;
6665 }
6666 {
6667 if (temp8)
6668 delete arg8;
6669 }
6670 return NULL;
6671}
6672
6673
6674static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj;
6676 wxCheckListBox *result;
6677 char *kwnames[] = {
6678 NULL
6679 };
6680
6681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6682 {
0439c23b 6683 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
6684 PyThreadState* __tstate = wxPyBeginAllowThreads();
6685 result = (wxCheckListBox *)new wxCheckListBox();
6686
6687 wxPyEndAllowThreads(__tstate);
0439c23b 6688 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
6689 }
6690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6691 return resultobj;
6692 fail:
6693 return NULL;
6694}
6695
6696
6697static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6698 PyObject *resultobj;
6699 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6700 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 6701 int arg3 = (int) -1 ;
d55e5bfc
RD
6702 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6703 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6704 wxSize const &arg5_defvalue = wxDefaultSize ;
6705 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6706 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6707 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6708 long arg7 = (long) 0 ;
6709 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6710 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6711 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6712 wxString *arg9 = (wxString *) &arg9_defvalue ;
6713 bool result;
6714 wxPoint temp4 ;
6715 wxSize temp5 ;
6716 bool temp6 = False ;
6717 bool temp9 = False ;
6718 PyObject * obj0 = 0 ;
6719 PyObject * obj1 = 0 ;
6720 PyObject * obj2 = 0 ;
6721 PyObject * obj3 = 0 ;
6722 PyObject * obj4 = 0 ;
6723 PyObject * obj5 = 0 ;
6724 PyObject * obj6 = 0 ;
6725 PyObject * obj7 = 0 ;
6726 PyObject * obj8 = 0 ;
6727 char *kwnames[] = {
6728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6729 };
6730
248ed943 6731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
6732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
6736 if (obj2) {
6737 arg3 = (int) SWIG_AsInt(obj2);
6738 if (PyErr_Occurred()) SWIG_fail;
6739 }
d55e5bfc
RD
6740 if (obj3) {
6741 {
6742 arg4 = &temp4;
6743 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6744 }
6745 }
6746 if (obj4) {
6747 {
6748 arg5 = &temp5;
6749 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6750 }
6751 }
6752 if (obj5) {
6753 {
6754 if (! PySequence_Check(obj5)) {
6755 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6756 SWIG_fail;
6757 }
6758 arg6 = new wxArrayString;
6759 temp6 = True;
6760 int i, len=PySequence_Length(obj5);
6761 for (i=0; i<len; i++) {
6762 PyObject* item = PySequence_GetItem(obj5, i);
6763#if wxUSE_UNICODE
6764 PyObject* str = PyObject_Unicode(item);
6765#else
6766 PyObject* str = PyObject_Str(item);
6767#endif
6768 if (PyErr_Occurred()) SWIG_fail;
6769 arg6->Add(Py2wxString(str));
6770 Py_DECREF(item);
6771 Py_DECREF(str);
6772 }
6773 }
6774 }
6775 if (obj6) {
6776 arg7 = (long) SWIG_AsLong(obj6);
6777 if (PyErr_Occurred()) SWIG_fail;
6778 }
6779 if (obj7) {
6780 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6781 SWIG_POINTER_EXCEPTION | 0)) == -1)
6782 SWIG_fail;
6783 if (arg8 == NULL) {
6784 PyErr_SetString(PyExc_TypeError,"null reference");
6785 SWIG_fail;
6786 }
6787 }
6788 if (obj8) {
6789 {
6790 arg9 = wxString_in_helper(obj8);
6791 if (arg9 == NULL) SWIG_fail;
6792 temp9 = True;
6793 }
6794 }
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6798
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 {
6803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6804 }
6805 {
6806 if (temp6) delete arg6;
6807 }
6808 {
6809 if (temp9)
6810 delete arg9;
6811 }
6812 return resultobj;
6813 fail:
6814 {
6815 if (temp6) delete arg6;
6816 }
6817 {
6818 if (temp9)
6819 delete arg9;
6820 }
6821 return NULL;
6822}
6823
6824
6825static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6826 PyObject *resultobj;
6827 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6828 int arg2 ;
6829 bool result;
6830 PyObject * obj0 = 0 ;
6831 PyObject * obj1 = 0 ;
6832 char *kwnames[] = {
6833 (char *) "self",(char *) "index", NULL
6834 };
6835
6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6839 arg2 = (int) SWIG_AsInt(obj1);
6840 if (PyErr_Occurred()) SWIG_fail;
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (bool)(arg1)->IsChecked(arg2);
6844
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 {
6849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6850 }
6851 return resultobj;
6852 fail:
6853 return NULL;
6854}
6855
6856
6857static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6858 PyObject *resultobj;
6859 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6860 int arg2 ;
6861 int arg3 = (int) True ;
6862 PyObject * obj0 = 0 ;
6863 PyObject * obj1 = 0 ;
6864 PyObject * obj2 = 0 ;
6865 char *kwnames[] = {
6866 (char *) "self",(char *) "index",(char *) "check", NULL
6867 };
6868
6869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6872 arg2 = (int) SWIG_AsInt(obj1);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 if (obj2) {
6875 arg3 = (int) SWIG_AsInt(obj2);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 (arg1)->Check(arg2,arg3);
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 Py_INCREF(Py_None); resultobj = Py_None;
6886 return resultobj;
6887 fail:
6888 return NULL;
6889}
6890
6891
6892static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj;
6894 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6895 int result;
6896 PyObject * obj0 = 0 ;
6897 char *kwnames[] = {
6898 (char *) "self", NULL
6899 };
6900
6901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 result = (int)(arg1)->GetItemHeight();
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 resultobj = SWIG_FromInt((int)result);
6912 return resultobj;
6913 fail:
6914 return NULL;
6915}
6916
6917
6918static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6919 PyObject *resultobj;
6920 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6921 wxPoint *arg2 = 0 ;
6922 int result;
6923 wxPoint temp2 ;
6924 PyObject * obj0 = 0 ;
6925 PyObject * obj1 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self",(char *) "pt", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6933 {
6934 arg2 = &temp2;
6935 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6936 }
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 resultobj = SWIG_FromInt((int)result);
6945 return resultobj;
6946 fail:
6947 return NULL;
6948}
6949
6950
6951static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6952 PyObject *resultobj;
6953 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6954 int arg2 ;
6955 int arg3 ;
6956 int result;
6957 PyObject * obj0 = 0 ;
6958 PyObject * obj1 = 0 ;
6959 PyObject * obj2 = 0 ;
6960 char *kwnames[] = {
6961 (char *) "self",(char *) "x",(char *) "y", NULL
6962 };
6963
6964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6967 arg2 = (int) SWIG_AsInt(obj1);
6968 if (PyErr_Occurred()) SWIG_fail;
6969 arg3 = (int) SWIG_AsInt(obj2);
6970 if (PyErr_Occurred()) SWIG_fail;
6971 {
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6974
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
6978 resultobj = SWIG_FromInt((int)result);
6979 return resultobj;
6980 fail:
6981 return NULL;
6982}
6983
6984
6985static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6986 PyObject *obj;
6987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6988 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6989 Py_INCREF(obj);
6990 return Py_BuildValue((char *)"");
6991}
6992static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6993 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6994 return 1;
6995}
6996
6997
6998static PyObject *_wrap_TextCtrlNameStr_get() {
6999 PyObject *pyobj;
7000
7001 {
7002#if wxUSE_UNICODE
7003 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7004#else
7005 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
7006#endif
7007 }
7008 return pyobj;
7009}
7010
7011
7012static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
7013 PyObject *resultobj;
7014 wxTextAttr *result;
7015
7016 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
7017 {
7018 PyThreadState* __tstate = wxPyBeginAllowThreads();
7019 result = (wxTextAttr *)new wxTextAttr();
7020
7021 wxPyEndAllowThreads(__tstate);
7022 if (PyErr_Occurred()) SWIG_fail;
7023 }
7024 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
7025 return resultobj;
7026 fail:
7027 return NULL;
7028}
7029
7030
7031static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
7032 PyObject *resultobj;
7033 wxColour *arg1 = 0 ;
7034 wxColour const &arg2_defvalue = wxNullColour ;
7035 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
7036 wxFont const &arg3_defvalue = wxNullFont ;
7037 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
7038 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
7039 wxTextAttr *result;
7040 wxColour temp1 ;
7041 wxColour temp2 ;
7042 PyObject * obj0 = 0 ;
7043 PyObject * obj1 = 0 ;
7044 PyObject * obj2 = 0 ;
7045 PyObject * obj3 = 0 ;
7046
7047 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
7048 {
7049 arg1 = &temp1;
7050 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
7051 }
7052 if (obj1) {
7053 {
7054 arg2 = &temp2;
7055 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7056 }
7057 }
7058 if (obj2) {
7059 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
7060 SWIG_POINTER_EXCEPTION | 0)) == -1)
7061 SWIG_fail;
7062 if (arg3 == NULL) {
7063 PyErr_SetString(PyExc_TypeError,"null reference");
7064 SWIG_fail;
7065 }
7066 }
7067 if (obj3) {
7068 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
7069 if (PyErr_Occurred()) SWIG_fail;
7070 }
7071 {
7072 PyThreadState* __tstate = wxPyBeginAllowThreads();
7073 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
7074
7075 wxPyEndAllowThreads(__tstate);
7076 if (PyErr_Occurred()) SWIG_fail;
7077 }
7078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
7079 return resultobj;
7080 fail:
7081 return NULL;
7082}
7083
7084
7085static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
7086 int argc;
7087 PyObject *argv[5];
7088 int ii;
7089
7090 argc = PyObject_Length(args);
7091 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
7092 argv[ii] = PyTuple_GetItem(args,ii);
7093 }
7094 if (argc == 0) {
7095 return _wrap_new_TextAttr__SWIG_0(self,args);
7096 }
7097 if ((argc >= 1) && (argc <= 4)) {
7098 int _v;
7099 {
7100 _v = wxColour_typecheck(argv[0]);
7101 }
7102 if (_v) {
7103 if (argc <= 1) {
7104 return _wrap_new_TextAttr__SWIG_1(self,args);
7105 }
7106 {
7107 _v = wxColour_typecheck(argv[1]);
7108 }
7109 if (_v) {
7110 if (argc <= 2) {
7111 return _wrap_new_TextAttr__SWIG_1(self,args);
7112 }
7113 {
7114 void *ptr;
7115 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
7116 _v = 0;
7117 PyErr_Clear();
7118 } else {
7119 _v = 1;
7120 }
7121 }
7122 if (_v) {
7123 if (argc <= 3) {
7124 return _wrap_new_TextAttr__SWIG_1(self,args);
7125 }
7126 _v = SWIG_CheckInt(argv[3]);
7127 if (_v) {
7128 return _wrap_new_TextAttr__SWIG_1(self,args);
7129 }
7130 }
7131 }
7132 }
7133 }
7134
7135 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
7136 return NULL;
7137}
7138
7139
7140static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7141 PyObject *resultobj;
7142 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7143 PyObject * obj0 = 0 ;
7144 char *kwnames[] = {
7145 (char *) "self", NULL
7146 };
7147
7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
7149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7151 {
7152 PyThreadState* __tstate = wxPyBeginAllowThreads();
7153 delete arg1;
7154
7155 wxPyEndAllowThreads(__tstate);
7156 if (PyErr_Occurred()) SWIG_fail;
7157 }
7158 Py_INCREF(Py_None); resultobj = Py_None;
7159 return resultobj;
7160 fail:
7161 return NULL;
7162}
7163
7164
7165static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
7166 PyObject *resultobj;
7167 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7168 PyObject * obj0 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
7174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 (arg1)->Init();
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 Py_INCREF(Py_None); resultobj = Py_None;
7184 return resultobj;
7185 fail:
7186 return NULL;
7187}
7188
7189
7190static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7193 wxColour *arg2 = 0 ;
7194 wxColour temp2 ;
7195 PyObject * obj0 = 0 ;
7196 PyObject * obj1 = 0 ;
7197 char *kwnames[] = {
7198 (char *) "self",(char *) "colText", NULL
7199 };
7200
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
7202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7204 {
7205 arg2 = &temp2;
7206 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7207 }
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 (arg1)->SetTextColour((wxColour const &)*arg2);
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 Py_INCREF(Py_None); resultobj = Py_None;
7216 return resultobj;
7217 fail:
7218 return NULL;
7219}
7220
7221
7222static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7223 PyObject *resultobj;
7224 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7225 wxColour *arg2 = 0 ;
7226 wxColour temp2 ;
7227 PyObject * obj0 = 0 ;
7228 PyObject * obj1 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self",(char *) "colBack", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7236 {
7237 arg2 = &temp2;
7238 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 Py_INCREF(Py_None); resultobj = Py_None;
7248 return resultobj;
7249 fail:
7250 return NULL;
7251}
7252
7253
7254static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7257 wxFont *arg2 = 0 ;
7258 long arg3 = (long) wxTEXT_ATTR_FONT ;
7259 PyObject * obj0 = 0 ;
7260 PyObject * obj1 = 0 ;
7261 PyObject * obj2 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self",(char *) "font",(char *) "flags", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
7267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7270 SWIG_POINTER_EXCEPTION | 0)) == -1)
7271 SWIG_fail;
7272 if (arg2 == NULL) {
7273 PyErr_SetString(PyExc_TypeError,"null reference");
7274 SWIG_fail;
7275 }
7276 if (obj2) {
7277 arg3 = (long) SWIG_AsLong(obj2);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 }
7280 {
7281 PyThreadState* __tstate = wxPyBeginAllowThreads();
7282 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7283
7284 wxPyEndAllowThreads(__tstate);
7285 if (PyErr_Occurred()) SWIG_fail;
7286 }
7287 Py_INCREF(Py_None); resultobj = Py_None;
7288 return resultobj;
7289 fail:
7290 return NULL;
7291}
7292
7293
7294static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7295 PyObject *resultobj;
7296 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7297 int arg2 ;
7298 PyObject * obj0 = 0 ;
7299 PyObject * obj1 = 0 ;
7300 char *kwnames[] = {
7301 (char *) "self",(char *) "alignment", NULL
7302 };
7303
7304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7307 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
7308 if (PyErr_Occurred()) SWIG_fail;
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7312
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 Py_INCREF(Py_None); resultobj = Py_None;
7317 return resultobj;
7318 fail:
7319 return NULL;
7320}
7321
7322
7323static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj;
7325 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7326 wxArrayInt *arg2 = 0 ;
7327 bool temp2 = False ;
7328 PyObject * obj0 = 0 ;
7329 PyObject * obj1 = 0 ;
7330 char *kwnames[] = {
7331 (char *) "self",(char *) "tabs", NULL
7332 };
7333
7334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
7335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7337 {
7338 if (! PySequence_Check(obj1)) {
7339 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7340 SWIG_fail;
7341 }
7342 arg2 = new wxArrayInt;
7343 temp2 = True;
7344 int i, len=PySequence_Length(obj1);
7345 for (i=0; i<len; i++) {
7346 PyObject* item = PySequence_GetItem(obj1, i);
7347 PyObject* number = PyNumber_Int(item);
7348 arg2->Add(PyInt_AS_LONG(number));
7349 Py_DECREF(item);
7350 Py_DECREF(number);
7351 }
7352 }
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7356
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 Py_INCREF(Py_None); resultobj = Py_None;
7361 {
7362 if (temp2) delete arg2;
7363 }
7364 return resultobj;
7365 fail:
7366 {
7367 if (temp2) delete arg2;
7368 }
7369 return NULL;
7370}
7371
7372
7373static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7376 int arg2 ;
a07a67e6 7377 int arg3 = (int) 0 ;
d55e5bfc
RD
7378 PyObject * obj0 = 0 ;
7379 PyObject * obj1 = 0 ;
a07a67e6 7380 PyObject * obj2 = 0 ;
d55e5bfc 7381 char *kwnames[] = {
a07a67e6 7382 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
d55e5bfc
RD
7383 };
7384
a07a67e6 7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1,&obj2)) goto fail;
d55e5bfc
RD
7386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7388 arg2 = (int) SWIG_AsInt(obj1);
7389 if (PyErr_Occurred()) SWIG_fail;
a07a67e6
RD
7390 if (obj2) {
7391 arg3 = (int) SWIG_AsInt(obj2);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
d55e5bfc
RD
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
a07a67e6 7396 (arg1)->SetLeftIndent(arg2,arg3);
d55e5bfc
RD
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 Py_INCREF(Py_None); resultobj = Py_None;
7402 return resultobj;
7403 fail:
7404 return NULL;
7405}
7406
7407
7408static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7411 int arg2 ;
7412 PyObject * obj0 = 0 ;
7413 PyObject * obj1 = 0 ;
7414 char *kwnames[] = {
7415 (char *) "self",(char *) "indent", NULL
7416 };
7417
7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
7419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7421 arg2 = (int) SWIG_AsInt(obj1);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 {
7424 PyThreadState* __tstate = wxPyBeginAllowThreads();
7425 (arg1)->SetRightIndent(arg2);
7426
7427 wxPyEndAllowThreads(__tstate);
7428 if (PyErr_Occurred()) SWIG_fail;
7429 }
7430 Py_INCREF(Py_None); resultobj = Py_None;
7431 return resultobj;
7432 fail:
7433 return NULL;
7434}
7435
7436
7437static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7438 PyObject *resultobj;
7439 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7440 long arg2 ;
7441 PyObject * obj0 = 0 ;
7442 PyObject * obj1 = 0 ;
7443 char *kwnames[] = {
7444 (char *) "self",(char *) "flags", NULL
7445 };
7446
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7450 arg2 = (long) SWIG_AsLong(obj1);
7451 if (PyErr_Occurred()) SWIG_fail;
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 (arg1)->SetFlags(arg2);
7455
7456 wxPyEndAllowThreads(__tstate);
7457 if (PyErr_Occurred()) SWIG_fail;
7458 }
7459 Py_INCREF(Py_None); resultobj = Py_None;
7460 return resultobj;
7461 fail:
7462 return NULL;
7463}
7464
7465
7466static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7467 PyObject *resultobj;
7468 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7469 bool result;
7470 PyObject * obj0 = 0 ;
7471 char *kwnames[] = {
7472 (char *) "self", NULL
7473 };
7474
7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
7476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7478 {
7479 PyThreadState* __tstate = wxPyBeginAllowThreads();
7480 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7481
7482 wxPyEndAllowThreads(__tstate);
7483 if (PyErr_Occurred()) SWIG_fail;
7484 }
7485 {
7486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7487 }
7488 return resultobj;
7489 fail:
7490 return NULL;
7491}
7492
7493
7494static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7497 bool result;
7498 PyObject * obj0 = 0 ;
7499 char *kwnames[] = {
7500 (char *) "self", NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7506 {
7507 PyThreadState* __tstate = wxPyBeginAllowThreads();
7508 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7509
7510 wxPyEndAllowThreads(__tstate);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 }
7513 {
7514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7515 }
7516 return resultobj;
7517 fail:
7518 return NULL;
7519}
7520
7521
7522static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7523 PyObject *resultobj;
7524 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7525 bool result;
7526 PyObject * obj0 = 0 ;
7527 char *kwnames[] = {
7528 (char *) "self", NULL
7529 };
7530
7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7537
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 {
7542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7543 }
7544 return resultobj;
7545 fail:
7546 return NULL;
7547}
7548
7549
7550static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7551 PyObject *resultobj;
7552 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7553 bool result;
7554 PyObject * obj0 = 0 ;
7555 char *kwnames[] = {
7556 (char *) "self", NULL
7557 };
7558
7559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 {
7570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7571 }
7572 return resultobj;
7573 fail:
7574 return NULL;
7575}
7576
7577
7578static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7579 PyObject *resultobj;
7580 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7581 bool result;
7582 PyObject * obj0 = 0 ;
7583 char *kwnames[] = {
7584 (char *) "self", NULL
7585 };
7586
7587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7590 {
7591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7592 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7593
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
7597 {
7598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7599 }
7600 return resultobj;
7601 fail:
7602 return NULL;
7603}
7604
7605
7606static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7607 PyObject *resultobj;
7608 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7609 bool result;
7610 PyObject * obj0 = 0 ;
7611 char *kwnames[] = {
7612 (char *) "self", NULL
7613 };
7614
7615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 {
7626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7627 }
7628 return resultobj;
7629 fail:
7630 return NULL;
7631}
7632
7633
7634static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7635 PyObject *resultobj;
7636 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7637 bool result;
7638 PyObject * obj0 = 0 ;
7639 char *kwnames[] = {
7640 (char *) "self", NULL
7641 };
7642
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 {
7654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7655 }
7656 return resultobj;
7657 fail:
7658 return NULL;
7659}
7660
7661
7662static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7663 PyObject *resultobj;
7664 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7665 long arg2 ;
7666 bool result;
7667 PyObject * obj0 = 0 ;
7668 PyObject * obj1 = 0 ;
7669 char *kwnames[] = {
7670 (char *) "self",(char *) "flag", NULL
7671 };
7672
7673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7676 arg2 = (long) SWIG_AsLong(obj1);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7681
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 {
7686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7687 }
7688 return resultobj;
7689 fail:
7690 return NULL;
7691}
7692
7693
7694static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7695 PyObject *resultobj;
7696 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7697 wxColour *result;
7698 PyObject * obj0 = 0 ;
7699 char *kwnames[] = {
7700 (char *) "self", NULL
7701 };
7702
7703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7706 {
7707 PyThreadState* __tstate = wxPyBeginAllowThreads();
7708 {
7709 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7710 result = (wxColour *) &_result_ref;
7711 }
7712
7713 wxPyEndAllowThreads(__tstate);
7714 if (PyErr_Occurred()) SWIG_fail;
7715 }
7716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7717 return resultobj;
7718 fail:
7719 return NULL;
7720}
7721
7722
7723static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7724 PyObject *resultobj;
7725 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7726 wxColour *result;
7727 PyObject * obj0 = 0 ;
7728 char *kwnames[] = {
7729 (char *) "self", NULL
7730 };
7731
7732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7735 {
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
7737 {
7738 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7739 result = (wxColour *) &_result_ref;
7740 }
7741
7742 wxPyEndAllowThreads(__tstate);
7743 if (PyErr_Occurred()) SWIG_fail;
7744 }
7745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7746 return resultobj;
7747 fail:
7748 return NULL;
7749}
7750
7751
7752static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7753 PyObject *resultobj;
7754 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7755 wxFont *result;
7756 PyObject * obj0 = 0 ;
7757 char *kwnames[] = {
7758 (char *) "self", NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7764 {
7765 PyThreadState* __tstate = wxPyBeginAllowThreads();
7766 {
7767 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7768 result = (wxFont *) &_result_ref;
7769 }
7770
7771 wxPyEndAllowThreads(__tstate);
7772 if (PyErr_Occurred()) SWIG_fail;
7773 }
7774 {
7775 wxFont* resultptr = new wxFont(*result);
7776 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7777 }
7778 return resultobj;
7779 fail:
7780 return NULL;
7781}
7782
7783
7784static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7785 PyObject *resultobj;
7786 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7787 int result;
7788 PyObject * obj0 = 0 ;
7789 char *kwnames[] = {
7790 (char *) "self", NULL
7791 };
7792
7793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7796 {
7797 PyThreadState* __tstate = wxPyBeginAllowThreads();
7798 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7799
7800 wxPyEndAllowThreads(__tstate);
7801 if (PyErr_Occurred()) SWIG_fail;
7802 }
7803 resultobj = SWIG_FromInt((int)result);
7804 return resultobj;
7805 fail:
7806 return NULL;
7807}
7808
7809
7810static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7811 PyObject *resultobj;
7812 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7813 wxArrayInt *result;
7814 PyObject * obj0 = 0 ;
7815 char *kwnames[] = {
7816 (char *) "self", NULL
7817 };
7818
7819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 {
7825 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7826 result = (wxArrayInt *) &_result_ref;
7827 }
7828
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
7832 {
7833 resultobj = PyList_New(0);
7834 size_t idx;
7835 for (idx = 0; idx < result->GetCount(); idx += 1) {
7836 PyObject* val = PyInt_FromLong( result->Item(idx) );
7837 PyList_Append(resultobj, val);
7838 Py_DECREF(val);
7839 }
7840 }
7841 return resultobj;
7842 fail:
7843 return NULL;
7844}
7845
7846
7847static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7848 PyObject *resultobj;
7849 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7850 long result;
7851 PyObject * obj0 = 0 ;
7852 char *kwnames[] = {
7853 (char *) "self", NULL
7854 };
7855
7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7859 {
7860 PyThreadState* __tstate = wxPyBeginAllowThreads();
7861 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7862
7863 wxPyEndAllowThreads(__tstate);
7864 if (PyErr_Occurred()) SWIG_fail;
7865 }
7866 resultobj = SWIG_FromLong((long)result);
7867 return resultobj;
7868 fail:
7869 return NULL;
7870}
7871
7872
a07a67e6
RD
7873static PyObject *_wrap_TextAttr_GetLeftSubIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7874 PyObject *resultobj;
7875 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7876 long result;
7877 PyObject * obj0 = 0 ;
7878 char *kwnames[] = {
7879 (char *) "self", NULL
7880 };
7881
7882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftSubIndent",kwnames,&obj0)) goto fail;
7883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 result = (long)((wxTextAttr const *)arg1)->GetLeftSubIndent();
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 resultobj = SWIG_FromLong((long)result);
7893 return resultobj;
7894 fail:
7895 return NULL;
7896}
7897
7898
d55e5bfc
RD
7899static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj;
7901 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7902 long result;
7903 PyObject * obj0 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7911 {
7912 PyThreadState* __tstate = wxPyBeginAllowThreads();
7913 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7914
7915 wxPyEndAllowThreads(__tstate);
7916 if (PyErr_Occurred()) SWIG_fail;
7917 }
7918 resultobj = SWIG_FromLong((long)result);
7919 return resultobj;
7920 fail:
7921 return NULL;
7922}
7923
7924
7925static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7926 PyObject *resultobj;
7927 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7928 long result;
7929 PyObject * obj0 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 resultobj = SWIG_FromLong((long)result);
7945 return resultobj;
7946 fail:
7947 return NULL;
7948}
7949
7950
7951static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj;
7953 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7954 bool result;
7955 PyObject * obj0 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "self", NULL
7958 };
7959
7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7966
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 {
7971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7972 }
7973 return resultobj;
7974 fail:
7975 return NULL;
7976}
7977
7978
7979static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject *resultobj;
7981 wxTextAttr *arg1 = 0 ;
7982 wxTextAttr *arg2 = 0 ;
7983 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7984 wxTextAttr result;
7985 PyObject * obj0 = 0 ;
7986 PyObject * obj1 = 0 ;
7987 PyObject * obj2 = 0 ;
7988 char *kwnames[] = {
7989 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7990 };
7991
7992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7994 SWIG_POINTER_EXCEPTION | 0)) == -1)
7995 SWIG_fail;
7996 if (arg1 == NULL) {
7997 PyErr_SetString(PyExc_TypeError,"null reference");
7998 SWIG_fail;
7999 }
8000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
8001 SWIG_POINTER_EXCEPTION | 0)) == -1)
8002 SWIG_fail;
8003 if (arg2 == NULL) {
8004 PyErr_SetString(PyExc_TypeError,"null reference");
8005 SWIG_fail;
8006 }
8007 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
8008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8009 {
8010 PyThreadState* __tstate = wxPyBeginAllowThreads();
8011 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
8012
8013 wxPyEndAllowThreads(__tstate);
8014 if (PyErr_Occurred()) SWIG_fail;
8015 }
8016 {
8017 wxTextAttr * resultptr;
8018 resultptr = new wxTextAttr((wxTextAttr &) result);
8019 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
8020 }
8021 return resultobj;
8022 fail:
8023 return NULL;
8024}
8025
8026
8027static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
8028 PyObject *obj;
8029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8030 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
8031 Py_INCREF(obj);
8032 return Py_BuildValue((char *)"");
8033}
8034static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj;
8036 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 8037 int arg2 = (int) -1 ;
d55e5bfc
RD
8038 wxString const &arg3_defvalue = wxPyEmptyString ;
8039 wxString *arg3 = (wxString *) &arg3_defvalue ;
8040 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8041 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8042 wxSize const &arg5_defvalue = wxDefaultSize ;
8043 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8044 long arg6 = (long) 0 ;
8045 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8046 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8047 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
8048 wxString *arg8 = (wxString *) &arg8_defvalue ;
8049 wxTextCtrl *result;
8050 bool temp3 = False ;
8051 wxPoint temp4 ;
8052 wxSize temp5 ;
8053 bool temp8 = False ;
8054 PyObject * obj0 = 0 ;
8055 PyObject * obj1 = 0 ;
8056 PyObject * obj2 = 0 ;
8057 PyObject * obj3 = 0 ;
8058 PyObject * obj4 = 0 ;
8059 PyObject * obj5 = 0 ;
8060 PyObject * obj6 = 0 ;
8061 PyObject * obj7 = 0 ;
8062 char *kwnames[] = {
8063 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8064 };
8065
248ed943 8066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
8067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
8068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
8069 if (obj1) {
8070 arg2 = (int) SWIG_AsInt(obj1);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
d55e5bfc
RD
8073 if (obj2) {
8074 {
8075 arg3 = wxString_in_helper(obj2);
8076 if (arg3 == NULL) SWIG_fail;
8077 temp3 = True;
8078 }
8079 }
8080 if (obj3) {
8081 {
8082 arg4 = &temp4;
8083 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8084 }
8085 }
8086 if (obj4) {
8087 {
8088 arg5 = &temp5;
8089 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8090 }
8091 }
8092 if (obj5) {
8093 arg6 = (long) SWIG_AsLong(obj5);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 if (obj6) {
8097 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
8098 SWIG_POINTER_EXCEPTION | 0)) == -1)
8099 SWIG_fail;
8100 if (arg7 == NULL) {
8101 PyErr_SetString(PyExc_TypeError,"null reference");
8102 SWIG_fail;
8103 }
8104 }
8105 if (obj7) {
8106 {
8107 arg8 = wxString_in_helper(obj7);
8108 if (arg8 == NULL) SWIG_fail;
8109 temp8 = True;
8110 }
8111 }
8112 {
0439c23b 8113 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8114 PyThreadState* __tstate = wxPyBeginAllowThreads();
8115 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8116
8117 wxPyEndAllowThreads(__tstate);
0439c23b 8118 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8119 }
8120 {
8121 resultobj = wxPyMake_wxObject(result);
8122 }
8123 {
8124 if (temp3)
8125 delete arg3;
8126 }
8127 {
8128 if (temp8)
8129 delete arg8;
8130 }
8131 return resultobj;
8132 fail:
8133 {
8134 if (temp3)
8135 delete arg3;
8136 }
8137 {
8138 if (temp8)
8139 delete arg8;
8140 }
8141 return NULL;
8142}
8143
8144
8145static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8146 PyObject *resultobj;
8147 wxTextCtrl *result;
8148 char *kwnames[] = {
8149 NULL
8150 };
8151
8152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8153 {
0439c23b 8154 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
8155 PyThreadState* __tstate = wxPyBeginAllowThreads();
8156 result = (wxTextCtrl *)new wxTextCtrl();
8157
8158 wxPyEndAllowThreads(__tstate);
0439c23b 8159 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
8160 }
8161 {
8162 resultobj = wxPyMake_wxObject(result);
8163 }
8164 return resultobj;
8165 fail:
8166 return NULL;
8167}
8168
8169
8170static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8171 PyObject *resultobj;
8172 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8173 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 8174 int arg3 = (int) -1 ;
d55e5bfc
RD
8175 wxString const &arg4_defvalue = wxPyEmptyString ;
8176 wxString *arg4 = (wxString *) &arg4_defvalue ;
8177 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8178 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8179 wxSize const &arg6_defvalue = wxDefaultSize ;
8180 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8181 long arg7 = (long) 0 ;
8182 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8183 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8184 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8185 wxString *arg9 = (wxString *) &arg9_defvalue ;
8186 bool result;
8187 bool temp4 = False ;
8188 wxPoint temp5 ;
8189 wxSize temp6 ;
8190 bool temp9 = False ;
8191 PyObject * obj0 = 0 ;
8192 PyObject * obj1 = 0 ;
8193 PyObject * obj2 = 0 ;
8194 PyObject * obj3 = 0 ;
8195 PyObject * obj4 = 0 ;
8196 PyObject * obj5 = 0 ;
8197 PyObject * obj6 = 0 ;
8198 PyObject * obj7 = 0 ;
8199 PyObject * obj8 = 0 ;
8200 char *kwnames[] = {
8201 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8202 };
8203
248ed943 8204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
8205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8207 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
8209 if (obj2) {
8210 arg3 = (int) SWIG_AsInt(obj2);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
d55e5bfc
RD
8213 if (obj3) {
8214 {
8215 arg4 = wxString_in_helper(obj3);
8216 if (arg4 == NULL) SWIG_fail;
8217 temp4 = True;
8218 }
8219 }
8220 if (obj4) {
8221 {
8222 arg5 = &temp5;
8223 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8224 }
8225 }
8226 if (obj5) {
8227 {
8228 arg6 = &temp6;
8229 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8230 }
8231 }
8232 if (obj6) {
8233 arg7 = (long) SWIG_AsLong(obj6);
8234 if (PyErr_Occurred()) SWIG_fail;
8235 }
8236 if (obj7) {
8237 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8238 SWIG_POINTER_EXCEPTION | 0)) == -1)
8239 SWIG_fail;
8240 if (arg8 == NULL) {
8241 PyErr_SetString(PyExc_TypeError,"null reference");
8242 SWIG_fail;
8243 }
8244 }
8245 if (obj8) {
8246 {
8247 arg9 = wxString_in_helper(obj8);
8248 if (arg9 == NULL) SWIG_fail;
8249 temp9 = True;
8250 }
8251 }
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 {
8260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8261 }
8262 {
8263 if (temp4)
8264 delete arg4;
8265 }
8266 {
8267 if (temp9)
8268 delete arg9;
8269 }
8270 return resultobj;
8271 fail:
8272 {
8273 if (temp4)
8274 delete arg4;
8275 }
8276 {
8277 if (temp9)
8278 delete arg9;
8279 }
8280 return NULL;
8281}
8282
8283
8284static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8285 PyObject *resultobj;
8286 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8287 wxString result;
8288 PyObject * obj0 = 0 ;
8289 char *kwnames[] = {
8290 (char *) "self", NULL
8291 };
8292
8293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
8294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8296 {
8297 PyThreadState* __tstate = wxPyBeginAllowThreads();
8298 result = ((wxTextCtrl const *)arg1)->GetValue();
8299
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 }
8303 {
8304#if wxUSE_UNICODE
8305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8306#else
8307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8308#endif
8309 }
8310 return resultobj;
8311 fail:
8312 return NULL;
8313}
8314
8315
8316static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8317 PyObject *resultobj;
8318 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8319 wxString *arg2 = 0 ;
8320 bool temp2 = False ;
8321 PyObject * obj0 = 0 ;
8322 PyObject * obj1 = 0 ;
8323 char *kwnames[] = {
8324 (char *) "self",(char *) "value", NULL
8325 };
8326
8327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
8328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8330 {
8331 arg2 = wxString_in_helper(obj1);
8332 if (arg2 == NULL) SWIG_fail;
8333 temp2 = True;
8334 }
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 (arg1)->SetValue((wxString const &)*arg2);
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 Py_INCREF(Py_None); resultobj = Py_None;
8343 {
8344 if (temp2)
8345 delete arg2;
8346 }
8347 return resultobj;
8348 fail:
8349 {
8350 if (temp2)
8351 delete arg2;
8352 }
8353 return NULL;
8354}
8355
8356
8357static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8358 PyObject *resultobj;
8359 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8360 long arg2 ;
8361 long arg3 ;
8362 wxString result;
8363 PyObject * obj0 = 0 ;
8364 PyObject * obj1 = 0 ;
8365 PyObject * obj2 = 0 ;
8366 char *kwnames[] = {
8367 (char *) "self",(char *) "from",(char *) "to", NULL
8368 };
8369
8370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8373 arg2 = (long) SWIG_AsLong(obj1);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 arg3 = (long) SWIG_AsLong(obj2);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 {
8385#if wxUSE_UNICODE
8386 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8387#else
8388 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8389#endif
8390 }
8391 return resultobj;
8392 fail:
8393 return NULL;
8394}
8395
8396
8397static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8398 PyObject *resultobj;
8399 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8400 long arg2 ;
8401 int result;
8402 PyObject * obj0 = 0 ;
8403 PyObject * obj1 = 0 ;
8404 char *kwnames[] = {
8405 (char *) "self",(char *) "lineNo", NULL
8406 };
8407
8408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
8409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8411 arg2 = (long) SWIG_AsLong(obj1);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 {
8414 PyThreadState* __tstate = wxPyBeginAllowThreads();
8415 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8416
8417 wxPyEndAllowThreads(__tstate);
8418 if (PyErr_Occurred()) SWIG_fail;
8419 }
8420 resultobj = SWIG_FromInt((int)result);
8421 return resultobj;
8422 fail:
8423 return NULL;
8424}
8425
8426
8427static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8428 PyObject *resultobj;
8429 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8430 long arg2 ;
8431 wxString result;
8432 PyObject * obj0 = 0 ;
8433 PyObject * obj1 = 0 ;
8434 char *kwnames[] = {
8435 (char *) "self",(char *) "lineNo", NULL
8436 };
8437
8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
8439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8441 arg2 = (long) SWIG_AsLong(obj1);
8442 if (PyErr_Occurred()) SWIG_fail;
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 {
8451#if wxUSE_UNICODE
8452 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8453#else
8454 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8455#endif
8456 }
8457 return resultobj;
8458 fail:
8459 return NULL;
8460}
8461
8462
8463static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8464 PyObject *resultobj;
8465 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8466 int result;
8467 PyObject * obj0 = 0 ;
8468 char *kwnames[] = {
8469 (char *) "self", NULL
8470 };
8471
8472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8475 {
8476 PyThreadState* __tstate = wxPyBeginAllowThreads();
8477 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8478
8479 wxPyEndAllowThreads(__tstate);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 }
8482 resultobj = SWIG_FromInt((int)result);
8483 return resultobj;
8484 fail:
8485 return NULL;
8486}
8487
8488
8489static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8490 PyObject *resultobj;
8491 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8492 bool result;
8493 PyObject * obj0 = 0 ;
8494 char *kwnames[] = {
8495 (char *) "self", NULL
8496 };
8497
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8501 {
8502 PyThreadState* __tstate = wxPyBeginAllowThreads();
8503 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8504
8505 wxPyEndAllowThreads(__tstate);
8506 if (PyErr_Occurred()) SWIG_fail;
8507 }
8508 {
8509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8510 }
8511 return resultobj;
8512 fail:
8513 return NULL;
8514}
8515
8516
8517static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8518 PyObject *resultobj;
8519 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8520 bool result;
8521 PyObject * obj0 = 0 ;
8522 char *kwnames[] = {
8523 (char *) "self", NULL
8524 };
8525
8526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8529 {
8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8531 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8532
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
8536 {
8537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8538 }
8539 return resultobj;
8540 fail:
8541 return NULL;
8542}
8543
8544
8545static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8546 PyObject *resultobj;
8547 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8548 bool result;
8549 PyObject * obj0 = 0 ;
8550 char *kwnames[] = {
8551 (char *) "self", NULL
8552 };
8553
8554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 {
8565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8566 }
8567 return resultobj;
8568 fail:
8569 return NULL;
8570}
8571
8572
8573static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8574 PyObject *resultobj;
8575 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8576 bool result;
8577 PyObject * obj0 = 0 ;
8578 char *kwnames[] = {
8579 (char *) "self", NULL
8580 };
8581
8582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8585 {
8586 PyThreadState* __tstate = wxPyBeginAllowThreads();
8587 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8588
8589 wxPyEndAllowThreads(__tstate);
8590 if (PyErr_Occurred()) SWIG_fail;
8591 }
8592 {
8593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8594 }
8595 return resultobj;
8596 fail:
8597 return NULL;
8598}
8599
8600
8601static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8602 PyObject *resultobj;
8603 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8604 long *arg2 = (long *) 0 ;
8605 long *arg3 = (long *) 0 ;
8606 long temp2 ;
8607 long temp3 ;
8608 PyObject * obj0 = 0 ;
8609 char *kwnames[] = {
8610 (char *) "self", NULL
8611 };
8612
8613 arg2 = &temp2;
8614 arg3 = &temp3;
8615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8621
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 Py_INCREF(Py_None); resultobj = Py_None;
8626 {
8627 PyObject *o = PyInt_FromLong((long) (*arg2));
8628 resultobj = t_output_helper(resultobj,o);
8629 }
8630 {
8631 PyObject *o = PyInt_FromLong((long) (*arg3));
8632 resultobj = t_output_helper(resultobj,o);
8633 }
8634 return resultobj;
8635 fail:
8636 return NULL;
8637}
8638
8639
8640static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8643 wxString result;
8644 PyObject * obj0 = 0 ;
8645 char *kwnames[] = {
8646 (char *) "self", NULL
8647 };
8648
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8652 {
8653 PyThreadState* __tstate = wxPyBeginAllowThreads();
8654 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8655
8656 wxPyEndAllowThreads(__tstate);
8657 if (PyErr_Occurred()) SWIG_fail;
8658 }
8659 {
8660#if wxUSE_UNICODE
8661 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8662#else
8663 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8664#endif
8665 }
8666 return resultobj;
8667 fail:
8668 return NULL;
8669}
8670
8671
8672static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8673 PyObject *resultobj;
8674 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8675 PyObject * obj0 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "self", NULL
8678 };
8679
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8683 {
8684 PyThreadState* __tstate = wxPyBeginAllowThreads();
8685 (arg1)->Clear();
8686
8687 wxPyEndAllowThreads(__tstate);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 }
8690 Py_INCREF(Py_None); resultobj = Py_None;
8691 return resultobj;
8692 fail:
8693 return NULL;
8694}
8695
8696
8697static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8698 PyObject *resultobj;
8699 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8700 long arg2 ;
8701 long arg3 ;
8702 wxString *arg4 = 0 ;
8703 bool temp4 = False ;
8704 PyObject * obj0 = 0 ;
8705 PyObject * obj1 = 0 ;
8706 PyObject * obj2 = 0 ;
8707 PyObject * obj3 = 0 ;
8708 char *kwnames[] = {
8709 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8710 };
8711
8712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8715 arg2 = (long) SWIG_AsLong(obj1);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 arg3 = (long) SWIG_AsLong(obj2);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 {
8720 arg4 = wxString_in_helper(obj3);
8721 if (arg4 == NULL) SWIG_fail;
8722 temp4 = True;
8723 }
8724 {
8725 PyThreadState* __tstate = wxPyBeginAllowThreads();
8726 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8727
8728 wxPyEndAllowThreads(__tstate);
8729 if (PyErr_Occurred()) SWIG_fail;
8730 }
8731 Py_INCREF(Py_None); resultobj = Py_None;
8732 {
8733 if (temp4)
8734 delete arg4;
8735 }
8736 return resultobj;
8737 fail:
8738 {
8739 if (temp4)
8740 delete arg4;
8741 }
8742 return NULL;
8743}
8744
8745
8746static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject *resultobj;
8748 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8749 long arg2 ;
8750 long arg3 ;
8751 PyObject * obj0 = 0 ;
8752 PyObject * obj1 = 0 ;
8753 PyObject * obj2 = 0 ;
8754 char *kwnames[] = {
8755 (char *) "self",(char *) "from",(char *) "to", NULL
8756 };
8757
8758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8761 arg2 = (long) SWIG_AsLong(obj1);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 arg3 = (long) SWIG_AsLong(obj2);
8764 if (PyErr_Occurred()) SWIG_fail;
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 (arg1)->Remove(arg2,arg3);
8768
8769 wxPyEndAllowThreads(__tstate);
8770 if (PyErr_Occurred()) SWIG_fail;
8771 }
8772 Py_INCREF(Py_None); resultobj = Py_None;
8773 return resultobj;
8774 fail:
8775 return NULL;
8776}
8777
8778
8779static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8780 PyObject *resultobj;
8781 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8782 wxString *arg2 = 0 ;
8783 bool result;
8784 bool temp2 = False ;
8785 PyObject * obj0 = 0 ;
8786 PyObject * obj1 = 0 ;
8787 char *kwnames[] = {
8788 (char *) "self",(char *) "file", NULL
8789 };
8790
8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8794 {
8795 arg2 = wxString_in_helper(obj1);
8796 if (arg2 == NULL) SWIG_fail;
8797 temp2 = True;
8798 }
8799 {
8800 PyThreadState* __tstate = wxPyBeginAllowThreads();
8801 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8802
8803 wxPyEndAllowThreads(__tstate);
8804 if (PyErr_Occurred()) SWIG_fail;
8805 }
8806 {
8807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8808 }
8809 {
8810 if (temp2)
8811 delete arg2;
8812 }
8813 return resultobj;
8814 fail:
8815 {
8816 if (temp2)
8817 delete arg2;
8818 }
8819 return NULL;
8820}
8821
8822
8823static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8824 PyObject *resultobj;
8825 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8826 wxString const &arg2_defvalue = wxPyEmptyString ;
8827 wxString *arg2 = (wxString *) &arg2_defvalue ;
8828 bool result;
8829 bool temp2 = False ;
8830 PyObject * obj0 = 0 ;
8831 PyObject * obj1 = 0 ;
8832 char *kwnames[] = {
8833 (char *) "self",(char *) "file", NULL
8834 };
8835
8836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8839 if (obj1) {
8840 {
8841 arg2 = wxString_in_helper(obj1);
8842 if (arg2 == NULL) SWIG_fail;
8843 temp2 = True;
8844 }
8845 }
8846 {
8847 PyThreadState* __tstate = wxPyBeginAllowThreads();
8848 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8849
8850 wxPyEndAllowThreads(__tstate);
8851 if (PyErr_Occurred()) SWIG_fail;
8852 }
8853 {
8854 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8855 }
8856 {
8857 if (temp2)
8858 delete arg2;
8859 }
8860 return resultobj;
8861 fail:
8862 {
8863 if (temp2)
8864 delete arg2;
8865 }
8866 return NULL;
8867}
8868
8869
8870static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8871 PyObject *resultobj;
8872 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8873 PyObject * obj0 = 0 ;
8874 char *kwnames[] = {
8875 (char *) "self", NULL
8876 };
8877
8878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8881 {
8882 PyThreadState* __tstate = wxPyBeginAllowThreads();
8883 (arg1)->MarkDirty();
8884
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 Py_INCREF(Py_None); resultobj = Py_None;
8889 return resultobj;
8890 fail:
8891 return NULL;
8892}
8893
8894
8895static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj;
8897 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8898 PyObject * obj0 = 0 ;
8899 char *kwnames[] = {
8900 (char *) "self", NULL
8901 };
8902
8903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 (arg1)->DiscardEdits();
8909
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 Py_INCREF(Py_None); resultobj = Py_None;
8914 return resultobj;
8915 fail:
8916 return NULL;
8917}
8918
8919
8920static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8921 PyObject *resultobj;
8922 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8923 unsigned long arg2 ;
8924 PyObject * obj0 = 0 ;
8925 PyObject * obj1 = 0 ;
8926 char *kwnames[] = {
8927 (char *) "self",(char *) "len", NULL
8928 };
8929
8930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8933 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 {
8936 PyThreadState* __tstate = wxPyBeginAllowThreads();
8937 (arg1)->SetMaxLength(arg2);
8938
8939 wxPyEndAllowThreads(__tstate);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 }
8942 Py_INCREF(Py_None); resultobj = Py_None;
8943 return resultobj;
8944 fail:
8945 return NULL;
8946}
8947
8948
8949static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8950 PyObject *resultobj;
8951 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8952 wxString *arg2 = 0 ;
8953 bool temp2 = False ;
8954 PyObject * obj0 = 0 ;
8955 PyObject * obj1 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self",(char *) "text", NULL
8958 };
8959
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8963 {
8964 arg2 = wxString_in_helper(obj1);
8965 if (arg2 == NULL) SWIG_fail;
8966 temp2 = True;
8967 }
8968 {
8969 PyThreadState* __tstate = wxPyBeginAllowThreads();
8970 (arg1)->WriteText((wxString const &)*arg2);
8971
8972 wxPyEndAllowThreads(__tstate);
8973 if (PyErr_Occurred()) SWIG_fail;
8974 }
8975 Py_INCREF(Py_None); resultobj = Py_None;
8976 {
8977 if (temp2)
8978 delete arg2;
8979 }
8980 return resultobj;
8981 fail:
8982 {
8983 if (temp2)
8984 delete arg2;
8985 }
8986 return NULL;
8987}
8988
8989
8990static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8991 PyObject *resultobj;
8992 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8993 wxString *arg2 = 0 ;
8994 bool temp2 = False ;
8995 PyObject * obj0 = 0 ;
8996 PyObject * obj1 = 0 ;
8997 char *kwnames[] = {
8998 (char *) "self",(char *) "text", NULL
8999 };
9000
9001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
9002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9004 {
9005 arg2 = wxString_in_helper(obj1);
9006 if (arg2 == NULL) SWIG_fail;
9007 temp2 = True;
9008 }
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 (arg1)->AppendText((wxString const &)*arg2);
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
9016 Py_INCREF(Py_None); resultobj = Py_None;
9017 {
9018 if (temp2)
9019 delete arg2;
9020 }
9021 return resultobj;
9022 fail:
9023 {
9024 if (temp2)
9025 delete arg2;
9026 }
9027 return NULL;
9028}
9029
9030
9031static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj;
9033 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9034 wxKeyEvent *arg2 = 0 ;
9035 bool result;
9036 PyObject * obj0 = 0 ;
9037 PyObject * obj1 = 0 ;
9038 char *kwnames[] = {
9039 (char *) "self",(char *) "event", NULL
9040 };
9041
9042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
9043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
9046 SWIG_POINTER_EXCEPTION | 0)) == -1)
9047 SWIG_fail;
9048 if (arg2 == NULL) {
9049 PyErr_SetString(PyExc_TypeError,"null reference");
9050 SWIG_fail;
9051 }
9052 {
9053 PyThreadState* __tstate = wxPyBeginAllowThreads();
9054 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
9055
9056 wxPyEndAllowThreads(__tstate);
9057 if (PyErr_Occurred()) SWIG_fail;
9058 }
9059 {
9060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9061 }
9062 return resultobj;
9063 fail:
9064 return NULL;
9065}
9066
9067
9068static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9071 long arg2 ;
9072 long arg3 ;
9073 wxTextAttr *arg4 = 0 ;
9074 bool result;
9075 PyObject * obj0 = 0 ;
9076 PyObject * obj1 = 0 ;
9077 PyObject * obj2 = 0 ;
9078 PyObject * obj3 = 0 ;
9079 char *kwnames[] = {
9080 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9081 };
9082
9083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9086 arg2 = (long) SWIG_AsLong(obj1);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 arg3 = (long) SWIG_AsLong(obj2);
9089 if (PyErr_Occurred()) SWIG_fail;
9090 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
9091 SWIG_POINTER_EXCEPTION | 0)) == -1)
9092 SWIG_fail;
9093 if (arg4 == NULL) {
9094 PyErr_SetString(PyExc_TypeError,"null reference");
9095 SWIG_fail;
9096 }
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9099 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
9100
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 {
9105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9106 }
9107 return resultobj;
9108 fail:
9109 return NULL;
9110}
9111
9112
9113static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9116 long arg2 ;
9117 wxTextAttr *arg3 = 0 ;
9118 bool result;
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj1 = 0 ;
9121 PyObject * obj2 = 0 ;
9122 char *kwnames[] = {
9123 (char *) "self",(char *) "position",(char *) "style", NULL
9124 };
9125
9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
9127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9129 arg2 = (long) SWIG_AsLong(obj1);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
9132 SWIG_POINTER_EXCEPTION | 0)) == -1)
9133 SWIG_fail;
9134 if (arg3 == NULL) {
9135 PyErr_SetString(PyExc_TypeError,"null reference");
9136 SWIG_fail;
9137 }
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 result = (bool)(arg1)->GetStyle(arg2,*arg3);
9141
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 {
9146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9147 }
9148 return resultobj;
9149 fail:
9150 return NULL;
9151}
9152
9153
9154static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9155 PyObject *resultobj;
9156 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9157 wxTextAttr *arg2 = 0 ;
9158 bool result;
9159 PyObject * obj0 = 0 ;
9160 PyObject * obj1 = 0 ;
9161 char *kwnames[] = {
9162 (char *) "self",(char *) "style", NULL
9163 };
9164
9165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
9166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9168 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9169 SWIG_POINTER_EXCEPTION | 0)) == -1)
9170 SWIG_fail;
9171 if (arg2 == NULL) {
9172 PyErr_SetString(PyExc_TypeError,"null reference");
9173 SWIG_fail;
9174 }
9175 {
9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
9177 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9178
9179 wxPyEndAllowThreads(__tstate);
9180 if (PyErr_Occurred()) SWIG_fail;
9181 }
9182 {
9183 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9184 }
9185 return resultobj;
9186 fail:
9187 return NULL;
9188}
9189
9190
9191static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject *resultobj;
9193 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9194 wxTextAttr *result;
9195 PyObject * obj0 = 0 ;
9196 char *kwnames[] = {
9197 (char *) "self", NULL
9198 };
9199
9200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
9201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9203 {
9204 PyThreadState* __tstate = wxPyBeginAllowThreads();
9205 {
9206 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9207 result = (wxTextAttr *) &_result_ref;
9208 }
9209
9210 wxPyEndAllowThreads(__tstate);
9211 if (PyErr_Occurred()) SWIG_fail;
9212 }
9213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
9214 return resultobj;
9215 fail:
9216 return NULL;
9217}
9218
9219
9220static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9221 PyObject *resultobj;
9222 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9223 long arg2 ;
9224 long arg3 ;
9225 long result;
9226 PyObject * obj0 = 0 ;
9227 PyObject * obj1 = 0 ;
9228 PyObject * obj2 = 0 ;
9229 char *kwnames[] = {
9230 (char *) "self",(char *) "x",(char *) "y", NULL
9231 };
9232
9233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9236 arg2 = (long) SWIG_AsLong(obj1);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 arg3 = (long) SWIG_AsLong(obj2);
9239 if (PyErr_Occurred()) SWIG_fail;
9240 {
9241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9242 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9243
9244 wxPyEndAllowThreads(__tstate);
9245 if (PyErr_Occurred()) SWIG_fail;
9246 }
9247 resultobj = SWIG_FromLong((long)result);
9248 return resultobj;
9249 fail:
9250 return NULL;
9251}
9252
9253
9254static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9255 PyObject *resultobj;
9256 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9257 long arg2 ;
9258 long *arg3 = (long *) 0 ;
9259 long *arg4 = (long *) 0 ;
9260 long temp3 ;
9261 long temp4 ;
9262 PyObject * obj0 = 0 ;
9263 PyObject * obj1 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self",(char *) "pos", NULL
9266 };
9267
9268 arg3 = &temp3;
9269 arg4 = &temp4;
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
9271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9273 arg2 = (long) SWIG_AsLong(obj1);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 Py_INCREF(Py_None); resultobj = Py_None;
9283 {
9284 PyObject *o = PyInt_FromLong((long) (*arg3));
9285 resultobj = t_output_helper(resultobj,o);
9286 }
9287 {
9288 PyObject *o = PyInt_FromLong((long) (*arg4));
9289 resultobj = t_output_helper(resultobj,o);
9290 }
9291 return resultobj;
9292 fail:
9293 return NULL;
9294}
9295
9296
9297static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9298 PyObject *resultobj;
9299 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9300 long arg2 ;
9301 PyObject * obj0 = 0 ;
9302 PyObject * obj1 = 0 ;
9303 char *kwnames[] = {
9304 (char *) "self",(char *) "pos", NULL
9305 };
9306
9307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
9308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9310 arg2 = (long) SWIG_AsLong(obj1);
9311 if (PyErr_Occurred()) SWIG_fail;
9312 {
9313 PyThreadState* __tstate = wxPyBeginAllowThreads();
9314 (arg1)->ShowPosition(arg2);
9315
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 Py_INCREF(Py_None); resultobj = Py_None;
9320 return resultobj;
9321 fail:
9322 return NULL;
9323}
9324
9325
9326static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9327 PyObject *resultobj;
9328 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9329 wxPoint *arg2 = 0 ;
9330 long *arg3 = (long *) 0 ;
9331 long *arg4 = (long *) 0 ;
9332 int result;
9333 wxPoint temp2 ;
9334 long temp3 ;
9335 long temp4 ;
9336 PyObject * obj0 = 0 ;
9337 PyObject * obj1 = 0 ;
9338 char *kwnames[] = {
9339 (char *) "self",(char *) "pt", NULL
9340 };
9341
9342 arg3 = &temp3;
9343 arg4 = &temp4;
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
9345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9347 {
9348 arg2 = &temp2;
9349 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9350 }
9351 {
9352 PyThreadState* __tstate = wxPyBeginAllowThreads();
9353 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9354
9355 wxPyEndAllowThreads(__tstate);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 }
9358 resultobj = SWIG_FromInt((int)result);
9359 {
9360 PyObject *o = PyInt_FromLong((long) (*arg3));
9361 resultobj = t_output_helper(resultobj,o);
9362 }
9363 {
9364 PyObject *o = PyInt_FromLong((long) (*arg4));
9365 resultobj = t_output_helper(resultobj,o);
9366 }
9367 return resultobj;
9368 fail:
9369 return NULL;
9370}
9371
9372
9373static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9374 PyObject *resultobj;
9375 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9376 PyObject * obj0 = 0 ;
9377 char *kwnames[] = {
9378 (char *) "self", NULL
9379 };
9380
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
9382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9384 {
9385 PyThreadState* __tstate = wxPyBeginAllowThreads();
9386 (arg1)->Copy();
9387
9388 wxPyEndAllowThreads(__tstate);
9389 if (PyErr_Occurred()) SWIG_fail;
9390 }
9391 Py_INCREF(Py_None); resultobj = Py_None;
9392 return resultobj;
9393 fail:
9394 return NULL;
9395}
9396
9397
9398static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
9399 PyObject *resultobj;
9400 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9401 PyObject * obj0 = 0 ;
9402 char *kwnames[] = {
9403 (char *) "self", NULL
9404 };
9405
9406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
9407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9409 {
9410 PyThreadState* __tstate = wxPyBeginAllowThreads();
9411 (arg1)->Cut();
9412
9413 wxPyEndAllowThreads(__tstate);
9414 if (PyErr_Occurred()) SWIG_fail;
9415 }
9416 Py_INCREF(Py_None); resultobj = Py_None;
9417 return resultobj;
9418 fail:
9419 return NULL;
9420}
9421
9422
9423static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
9424 PyObject *resultobj;
9425 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9426 PyObject * obj0 = 0 ;
9427 char *kwnames[] = {
9428 (char *) "self", NULL
9429 };
9430
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
9432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 (arg1)->Paste();
9437
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 Py_INCREF(Py_None); resultobj = Py_None;
9442 return resultobj;
9443 fail:
9444 return NULL;
9445}
9446
9447
9448static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9449 PyObject *resultobj;
9450 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9451 bool result;
9452 PyObject * obj0 = 0 ;
9453 char *kwnames[] = {
9454 (char *) "self", NULL
9455 };
9456
9457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
9458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9460 {
9461 PyThreadState* __tstate = wxPyBeginAllowThreads();
9462 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9463
9464 wxPyEndAllowThreads(__tstate);
9465 if (PyErr_Occurred()) SWIG_fail;
9466 }
9467 {
9468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9469 }
9470 return resultobj;
9471 fail:
9472 return NULL;
9473}
9474
9475
9476static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9477 PyObject *resultobj;
9478 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9479 bool result;
9480 PyObject * obj0 = 0 ;
9481 char *kwnames[] = {
9482 (char *) "self", NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9488 {
9489 PyThreadState* __tstate = wxPyBeginAllowThreads();
9490 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9491
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
9495 {
9496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9497 }
9498 return resultobj;
9499 fail:
9500 return NULL;
9501}
9502
9503
9504static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
9505 PyObject *resultobj;
9506 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9507 bool result;
9508 PyObject * obj0 = 0 ;
9509 char *kwnames[] = {
9510 (char *) "self", NULL
9511 };
9512
9513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9516 {
9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9518 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9519
9520 wxPyEndAllowThreads(__tstate);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 }
9523 {
9524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9525 }
9526 return resultobj;
9527 fail:
9528 return NULL;
9529}
9530
9531
9532static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9533 PyObject *resultobj;
9534 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9535 PyObject * obj0 = 0 ;
9536 char *kwnames[] = {
9537 (char *) "self", NULL
9538 };
9539
9540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9543 {
9544 PyThreadState* __tstate = wxPyBeginAllowThreads();
9545 (arg1)->Undo();
9546
9547 wxPyEndAllowThreads(__tstate);
9548 if (PyErr_Occurred()) SWIG_fail;
9549 }
9550 Py_INCREF(Py_None); resultobj = Py_None;
9551 return resultobj;
9552 fail:
9553 return NULL;
9554}
9555
9556
9557static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9558 PyObject *resultobj;
9559 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9560 PyObject * obj0 = 0 ;
9561 char *kwnames[] = {
9562 (char *) "self", NULL
9563 };
9564
9565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9568 {
9569 PyThreadState* __tstate = wxPyBeginAllowThreads();
9570 (arg1)->Redo();
9571
9572 wxPyEndAllowThreads(__tstate);
9573 if (PyErr_Occurred()) SWIG_fail;
9574 }
9575 Py_INCREF(Py_None); resultobj = Py_None;
9576 return resultobj;
9577 fail:
9578 return NULL;
9579}
9580
9581
9582static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9583 PyObject *resultobj;
9584 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9585 bool result;
9586 PyObject * obj0 = 0 ;
9587 char *kwnames[] = {
9588 (char *) "self", NULL
9589 };
9590
9591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9594 {
9595 PyThreadState* __tstate = wxPyBeginAllowThreads();
9596 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9597
9598 wxPyEndAllowThreads(__tstate);
9599 if (PyErr_Occurred()) SWIG_fail;
9600 }
9601 {
9602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9603 }
9604 return resultobj;
9605 fail:
9606 return NULL;
9607}
9608
9609
9610static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9611 PyObject *resultobj;
9612 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9613 bool result;
9614 PyObject * obj0 = 0 ;
9615 char *kwnames[] = {
9616 (char *) "self", NULL
9617 };
9618
9619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9622 {
9623 PyThreadState* __tstate = wxPyBeginAllowThreads();
9624 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9625
9626 wxPyEndAllowThreads(__tstate);
9627 if (PyErr_Occurred()) SWIG_fail;
9628 }
9629 {
9630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9631 }
9632 return resultobj;
9633 fail:
9634 return NULL;
9635}
9636
9637
9638static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9639 PyObject *resultobj;
9640 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9641 long arg2 ;
9642 PyObject * obj0 = 0 ;
9643 PyObject * obj1 = 0 ;
9644 char *kwnames[] = {
9645 (char *) "self",(char *) "pos", NULL
9646 };
9647
9648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9651 arg2 = (long) SWIG_AsLong(obj1);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 (arg1)->SetInsertionPoint(arg2);
9656
9657 wxPyEndAllowThreads(__tstate);
9658 if (PyErr_Occurred()) SWIG_fail;
9659 }
9660 Py_INCREF(Py_None); resultobj = Py_None;
9661 return resultobj;
9662 fail:
9663 return NULL;
9664}
9665
9666
9667static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9668 PyObject *resultobj;
9669 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9670 PyObject * obj0 = 0 ;
9671 char *kwnames[] = {
9672 (char *) "self", NULL
9673 };
9674
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9678 {
9679 PyThreadState* __tstate = wxPyBeginAllowThreads();
9680 (arg1)->SetInsertionPointEnd();
9681
9682 wxPyEndAllowThreads(__tstate);
9683 if (PyErr_Occurred()) SWIG_fail;
9684 }
9685 Py_INCREF(Py_None); resultobj = Py_None;
9686 return resultobj;
9687 fail:
9688 return NULL;
9689}
9690
9691
9692static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9693 PyObject *resultobj;
9694 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9695 long result;
9696 PyObject * obj0 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9704 {
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
9706 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9707
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
9711 resultobj = SWIG_FromLong((long)result);
9712 return resultobj;
9713 fail:
9714 return NULL;
9715}
9716
9717
9718static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9719 PyObject *resultobj;
9720 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9721 long result;
9722 PyObject * obj0 = 0 ;
9723 char *kwnames[] = {
9724 (char *) "self", NULL
9725 };
9726
9727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9730 {
9731 PyThreadState* __tstate = wxPyBeginAllowThreads();
9732 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9733
9734 wxPyEndAllowThreads(__tstate);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 }
9737 resultobj = SWIG_FromLong((long)result);
9738 return resultobj;
9739 fail:
9740 return NULL;
9741}
9742
9743
9744static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9745 PyObject *resultobj;
9746 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9747 long arg2 ;
9748 long arg3 ;
9749 PyObject * obj0 = 0 ;
9750 PyObject * obj1 = 0 ;
9751 PyObject * obj2 = 0 ;
9752 char *kwnames[] = {
9753 (char *) "self",(char *) "from",(char *) "to", NULL
9754 };
9755
9756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9759 arg2 = (long) SWIG_AsLong(obj1);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 arg3 = (long) SWIG_AsLong(obj2);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 {
9764 PyThreadState* __tstate = wxPyBeginAllowThreads();
9765 (arg1)->SetSelection(arg2,arg3);
9766
9767 wxPyEndAllowThreads(__tstate);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 }
9770 Py_INCREF(Py_None); resultobj = Py_None;
9771 return resultobj;
9772 fail:
9773 return NULL;
9774}
9775
9776
9777static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9778 PyObject *resultobj;
9779 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9780 PyObject * obj0 = 0 ;
9781 char *kwnames[] = {
9782 (char *) "self", NULL
9783 };
9784
9785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9788 {
9789 PyThreadState* __tstate = wxPyBeginAllowThreads();
9790 (arg1)->SelectAll();
9791
9792 wxPyEndAllowThreads(__tstate);
9793 if (PyErr_Occurred()) SWIG_fail;
9794 }
9795 Py_INCREF(Py_None); resultobj = Py_None;
9796 return resultobj;
9797 fail:
9798 return NULL;
9799}
9800
9801
9802static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9803 PyObject *resultobj;
9804 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9805 bool arg2 ;
9806 PyObject * obj0 = 0 ;
9807 PyObject * obj1 = 0 ;
9808 char *kwnames[] = {
9809 (char *) "self",(char *) "editable", NULL
9810 };
9811
9812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9815 arg2 = (bool) SWIG_AsBool(obj1);
9816 if (PyErr_Occurred()) SWIG_fail;
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 (arg1)->SetEditable(arg2);
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 Py_INCREF(Py_None); resultobj = Py_None;
9825 return resultobj;
9826 fail:
9827 return NULL;
9828}
9829
9830
9831static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9832 PyObject *resultobj;
9833 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9834 bool arg2 = (bool) True ;
9835 bool result;
9836 PyObject * obj0 = 0 ;
9837 PyObject * obj1 = 0 ;
9838 char *kwnames[] = {
9839 (char *) "self",(char *) "show", NULL
9840 };
9841
9842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
9843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9845 if (obj1) {
9846 arg2 = (bool) SWIG_AsBool(obj1);
9847 if (PyErr_Occurred()) SWIG_fail;
9848 }
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 result = (bool)(arg1)->ShowNativeCaret(arg2);
9852
9853 wxPyEndAllowThreads(__tstate);
9854 if (PyErr_Occurred()) SWIG_fail;
9855 }
9856 {
9857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9858 }
9859 return resultobj;
9860 fail:
9861 return NULL;
9862}
9863
9864
9865static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9866 PyObject *resultobj;
9867 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9868 bool result;
9869 PyObject * obj0 = 0 ;
9870 char *kwnames[] = {
9871 (char *) "self", NULL
9872 };
9873
9874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
9875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9877 {
9878 PyThreadState* __tstate = wxPyBeginAllowThreads();
9879 result = (bool)(arg1)->HideNativeCaret();
9880
9881 wxPyEndAllowThreads(__tstate);
9882 if (PyErr_Occurred()) SWIG_fail;
9883 }
9884 {
9885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9886 }
9887 return resultobj;
9888 fail:
9889 return NULL;
9890}
9891
9892
9893static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9894 PyObject *resultobj;
9895 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9896 wxString *arg2 = 0 ;
9897 bool temp2 = False ;
9898 PyObject * obj0 = 0 ;
9899 PyObject * obj1 = 0 ;
9900 char *kwnames[] = {
9901 (char *) "self",(char *) "text", NULL
9902 };
9903
9904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9907 {
9908 arg2 = wxString_in_helper(obj1);
9909 if (arg2 == NULL) SWIG_fail;
9910 temp2 = True;
9911 }
9912 {
9913 PyThreadState* __tstate = wxPyBeginAllowThreads();
9914 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9915
9916 wxPyEndAllowThreads(__tstate);
9917 if (PyErr_Occurred()) SWIG_fail;
9918 }
9919 Py_INCREF(Py_None); resultobj = Py_None;
9920 {
9921 if (temp2)
9922 delete arg2;
9923 }
9924 return resultobj;
9925 fail:
9926 {
9927 if (temp2)
9928 delete arg2;
9929 }
9930 return NULL;
9931}
9932
9933
9934static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9935 PyObject *resultobj;
9936 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9937 long arg2 ;
9938 long arg3 ;
9939 wxString result;
9940 PyObject * obj0 = 0 ;
9941 PyObject * obj1 = 0 ;
9942 PyObject * obj2 = 0 ;
9943 char *kwnames[] = {
9944 (char *) "self",(char *) "from",(char *) "to", NULL
9945 };
9946
9947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9950 arg2 = (long) SWIG_AsLong(obj1);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 arg3 = (long) SWIG_AsLong(obj2);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 {
9955 PyThreadState* __tstate = wxPyBeginAllowThreads();
9956 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9957
9958 wxPyEndAllowThreads(__tstate);
9959 if (PyErr_Occurred()) SWIG_fail;
9960 }
9961 {
9962#if wxUSE_UNICODE
9963 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9964#else
9965 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9966#endif
9967 }
9968 return resultobj;
9969 fail:
9970 return NULL;
9971}
9972
9973
f20a2e1f
RD
9974static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
9975 PyObject *resultobj;
9976 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
9977 wxVisualAttributes result;
9978 PyObject * obj0 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "variant", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9984 if (obj0) {
9985 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
9986 if (PyErr_Occurred()) SWIG_fail;
9987 }
9988 {
0439c23b 9989 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
9990 PyThreadState* __tstate = wxPyBeginAllowThreads();
9991 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
9992
9993 wxPyEndAllowThreads(__tstate);
0439c23b 9994 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
9995 }
9996 {
9997 wxVisualAttributes * resultptr;
9998 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
9999 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10000 }
10001 return resultobj;
10002 fail:
10003 return NULL;
10004}
10005
10006
d55e5bfc
RD
10007static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
10008 PyObject *obj;
10009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10010 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
10011 Py_INCREF(obj);
10012 return Py_BuildValue((char *)"");
10013}
10014static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10015 PyObject *resultobj;
10016 int arg1 ;
10017 wxMouseEvent *arg2 = 0 ;
10018 long arg3 ;
10019 long arg4 ;
10020 wxTextUrlEvent *result;
10021 PyObject * obj0 = 0 ;
10022 PyObject * obj1 = 0 ;
10023 PyObject * obj2 = 0 ;
10024 PyObject * obj3 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
10030 arg1 = (int) SWIG_AsInt(obj0);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
10033 SWIG_POINTER_EXCEPTION | 0)) == -1)
10034 SWIG_fail;
10035 if (arg2 == NULL) {
10036 PyErr_SetString(PyExc_TypeError,"null reference");
10037 SWIG_fail;
10038 }
10039 arg3 = (long) SWIG_AsLong(obj2);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 arg4 = (long) SWIG_AsLong(obj3);
10042 if (PyErr_Occurred()) SWIG_fail;
10043 {
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
10046
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
10051 return resultobj;
10052 fail:
10053 return NULL;
10054}
10055
10056
10057static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10058 PyObject *resultobj;
10059 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10060 wxMouseEvent *result;
10061 PyObject * obj0 = 0 ;
10062 char *kwnames[] = {
10063 (char *) "self", NULL
10064 };
10065
10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
10067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 {
10072 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
10073 result = (wxMouseEvent *) &_result_ref;
10074 }
10075
10076 wxPyEndAllowThreads(__tstate);
10077 if (PyErr_Occurred()) SWIG_fail;
10078 }
10079 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
10080 return resultobj;
10081 fail:
10082 return NULL;
10083}
10084
10085
10086static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10087 PyObject *resultobj;
10088 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10089 long result;
10090 PyObject * obj0 = 0 ;
10091 char *kwnames[] = {
10092 (char *) "self", NULL
10093 };
10094
10095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
10096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10098 {
10099 PyThreadState* __tstate = wxPyBeginAllowThreads();
10100 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
10101
10102 wxPyEndAllowThreads(__tstate);
10103 if (PyErr_Occurred()) SWIG_fail;
10104 }
10105 resultobj = SWIG_FromLong((long)result);
10106 return resultobj;
10107 fail:
10108 return NULL;
10109}
10110
10111
10112static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10113 PyObject *resultobj;
10114 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
10115 long result;
10116 PyObject * obj0 = 0 ;
10117 char *kwnames[] = {
10118 (char *) "self", NULL
10119 };
10120
10121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
10122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
10123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 resultobj = SWIG_FromLong((long)result);
10132 return resultobj;
10133 fail:
10134 return NULL;
10135}
10136
10137
10138static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
10139 PyObject *obj;
10140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10141 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
10142 Py_INCREF(obj);
10143 return Py_BuildValue((char *)"");
10144}
10145static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
10146 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
10147 return 1;
10148}
10149
10150
10151static PyObject *_wrap_ScrollBarNameStr_get() {
10152 PyObject *pyobj;
10153
10154 {
10155#if wxUSE_UNICODE
10156 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10157#else
10158 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10159#endif
10160 }
10161 return pyobj;
10162}
10163
10164
10165static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10166 PyObject *resultobj;
10167 wxWindow *arg1 = (wxWindow *) 0 ;
10168 int arg2 = (int) -1 ;
10169 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10170 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10171 wxSize const &arg4_defvalue = wxDefaultSize ;
10172 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10173 long arg5 = (long) wxSB_HORIZONTAL ;
10174 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10175 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10176 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10177 wxString *arg7 = (wxString *) &arg7_defvalue ;
10178 wxScrollBar *result;
10179 wxPoint temp3 ;
10180 wxSize temp4 ;
10181 bool temp7 = False ;
10182 PyObject * obj0 = 0 ;
10183 PyObject * obj1 = 0 ;
10184 PyObject * obj2 = 0 ;
10185 PyObject * obj3 = 0 ;
10186 PyObject * obj4 = 0 ;
10187 PyObject * obj5 = 0 ;
10188 PyObject * obj6 = 0 ;
10189 char *kwnames[] = {
10190 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10191 };
10192
10193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10196 if (obj1) {
10197 arg2 = (int) SWIG_AsInt(obj1);
10198 if (PyErr_Occurred()) SWIG_fail;
10199 }
10200 if (obj2) {
10201 {
10202 arg3 = &temp3;
10203 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10204 }
10205 }
10206 if (obj3) {
10207 {
10208 arg4 = &temp4;
10209 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10210 }
10211 }
10212 if (obj4) {
10213 arg5 = (long) SWIG_AsLong(obj4);
10214 if (PyErr_Occurred()) SWIG_fail;
10215 }
10216 if (obj5) {
10217 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10218 SWIG_POINTER_EXCEPTION | 0)) == -1)
10219 SWIG_fail;
10220 if (arg6 == NULL) {
10221 PyErr_SetString(PyExc_TypeError,"null reference");
10222 SWIG_fail;
10223 }
10224 }
10225 if (obj6) {
10226 {
10227 arg7 = wxString_in_helper(obj6);
10228 if (arg7 == NULL) SWIG_fail;
10229 temp7 = True;
10230 }
10231 }
10232 {
0439c23b 10233 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10234 PyThreadState* __tstate = wxPyBeginAllowThreads();
10235 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10236
10237 wxPyEndAllowThreads(__tstate);
0439c23b 10238 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10239 }
10240 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10241 {
10242 if (temp7)
10243 delete arg7;
10244 }
10245 return resultobj;
10246 fail:
10247 {
10248 if (temp7)
10249 delete arg7;
10250 }
10251 return NULL;
10252}
10253
10254
10255static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10256 PyObject *resultobj;
10257 wxScrollBar *result;
10258 char *kwnames[] = {
10259 NULL
10260 };
10261
10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10263 {
0439c23b 10264 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10265 PyThreadState* __tstate = wxPyBeginAllowThreads();
10266 result = (wxScrollBar *)new wxScrollBar();
10267
10268 wxPyEndAllowThreads(__tstate);
0439c23b 10269 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10270 }
10271 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10272 return resultobj;
10273 fail:
10274 return NULL;
10275}
10276
10277
10278static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10279 PyObject *resultobj;
10280 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10281 wxWindow *arg2 = (wxWindow *) 0 ;
10282 int arg3 = (int) -1 ;
10283 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10284 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10285 wxSize const &arg5_defvalue = wxDefaultSize ;
10286 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10287 long arg6 = (long) wxSB_HORIZONTAL ;
10288 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10289 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10290 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10291 wxString *arg8 = (wxString *) &arg8_defvalue ;
10292 bool result;
10293 wxPoint temp4 ;
10294 wxSize temp5 ;
10295 bool temp8 = False ;
10296 PyObject * obj0 = 0 ;
10297 PyObject * obj1 = 0 ;
10298 PyObject * obj2 = 0 ;
10299 PyObject * obj3 = 0 ;
10300 PyObject * obj4 = 0 ;
10301 PyObject * obj5 = 0 ;
10302 PyObject * obj6 = 0 ;
10303 PyObject * obj7 = 0 ;
10304 char *kwnames[] = {
10305 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10306 };
10307
10308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
10309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10313 if (obj2) {
10314 arg3 = (int) SWIG_AsInt(obj2);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 if (obj3) {
10318 {
10319 arg4 = &temp4;
10320 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10321 }
10322 }
10323 if (obj4) {
10324 {
10325 arg5 = &temp5;
10326 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10327 }
10328 }
10329 if (obj5) {
10330 arg6 = (long) SWIG_AsLong(obj5);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 if (obj6) {
10334 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10335 SWIG_POINTER_EXCEPTION | 0)) == -1)
10336 SWIG_fail;
10337 if (arg7 == NULL) {
10338 PyErr_SetString(PyExc_TypeError,"null reference");
10339 SWIG_fail;
10340 }
10341 }
10342 if (obj7) {
10343 {
10344 arg8 = wxString_in_helper(obj7);
10345 if (arg8 == NULL) SWIG_fail;
10346 temp8 = True;
10347 }
10348 }
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
10356 {
10357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10358 }
10359 {
10360 if (temp8)
10361 delete arg8;
10362 }
10363 return resultobj;
10364 fail:
10365 {
10366 if (temp8)
10367 delete arg8;
10368 }
10369 return NULL;
10370}
10371
10372
10373static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10374 PyObject *resultobj;
10375 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10376 int result;
10377 PyObject * obj0 = 0 ;
10378 char *kwnames[] = {
10379 (char *) "self", NULL
10380 };
10381
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
10383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 resultobj = SWIG_FromInt((int)result);
10393 return resultobj;
10394 fail:
10395 return NULL;
10396}
10397
10398
10399static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10400 PyObject *resultobj;
10401 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10402 int result;
10403 PyObject * obj0 = 0 ;
10404 char *kwnames[] = {
10405 (char *) "self", NULL
10406 };
10407
10408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
10409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 resultobj = SWIG_FromInt((int)result);
10419 return resultobj;
10420 fail:
10421 return NULL;
10422}
10423
10424
10425static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj;
10427 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10428 int result;
10429 PyObject * obj0 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "self", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
10435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 resultobj = SWIG_FromInt((int)result);
10445 return resultobj;
10446 fail:
10447 return NULL;
10448}
10449
10450
10451static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj;
10453 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10454 int result;
10455 PyObject * obj0 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
10461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 result = (int)((wxScrollBar const *)arg1)->GetRange();
10466
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 }
10470 resultobj = SWIG_FromInt((int)result);
10471 return resultobj;
10472 fail:
10473 return NULL;
10474}
10475
10476
10477static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10478 PyObject *resultobj;
10479 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10480 bool result;
10481 PyObject * obj0 = 0 ;
10482 char *kwnames[] = {
10483 (char *) "self", NULL
10484 };
10485
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
10487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10489 {
10490 PyThreadState* __tstate = wxPyBeginAllowThreads();
10491 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10492
10493 wxPyEndAllowThreads(__tstate);
10494 if (PyErr_Occurred()) SWIG_fail;
10495 }
10496 {
10497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10498 }
10499 return resultobj;
10500 fail:
10501 return NULL;
10502}
10503
10504
10505static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj;
10507 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10508 int arg2 ;
10509 PyObject * obj0 = 0 ;
10510 PyObject * obj1 = 0 ;
10511 char *kwnames[] = {
10512 (char *) "self",(char *) "viewStart", NULL
10513 };
10514
10515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
10516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10518 arg2 = (int) SWIG_AsInt(obj1);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->SetThumbPosition(arg2);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 return resultobj;
10529 fail:
10530 return NULL;
10531}
10532
10533
10534static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj;
10536 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10537 int arg2 ;
10538 int arg3 ;
10539 int arg4 ;
10540 int arg5 ;
10541 bool arg6 = (bool) True ;
10542 PyObject * obj0 = 0 ;
10543 PyObject * obj1 = 0 ;
10544 PyObject * obj2 = 0 ;
10545 PyObject * obj3 = 0 ;
10546 PyObject * obj4 = 0 ;
10547 PyObject * obj5 = 0 ;
10548 char *kwnames[] = {
10549 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10550 };
10551
10552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10555 arg2 = (int) SWIG_AsInt(obj1);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 arg3 = (int) SWIG_AsInt(obj2);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 arg4 = (int) SWIG_AsInt(obj3);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 arg5 = (int) SWIG_AsInt(obj4);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 if (obj5) {
10564 arg6 = (bool) SWIG_AsBool(obj5);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 {
10568 PyThreadState* __tstate = wxPyBeginAllowThreads();
10569 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10570
10571 wxPyEndAllowThreads(__tstate);
10572 if (PyErr_Occurred()) SWIG_fail;
10573 }
10574 Py_INCREF(Py_None); resultobj = Py_None;
10575 return resultobj;
10576 fail:
10577 return NULL;
10578}
10579
10580
f20a2e1f
RD
10581static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10582 PyObject *resultobj;
10583 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10584 wxVisualAttributes result;
10585 PyObject * obj0 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "variant", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10591 if (obj0) {
10592 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 {
0439c23b 10596 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
10597 PyThreadState* __tstate = wxPyBeginAllowThreads();
10598 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10599
10600 wxPyEndAllowThreads(__tstate);
0439c23b 10601 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
10602 }
10603 {
10604 wxVisualAttributes * resultptr;
10605 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10606 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10607 }
10608 return resultobj;
10609 fail:
10610 return NULL;
10611}
10612
10613
d55e5bfc
RD
10614static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
10615 PyObject *obj;
10616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10617 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10618 Py_INCREF(obj);
10619 return Py_BuildValue((char *)"");
10620}
10621static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
10622 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10623 return 1;
10624}
10625
10626
10627static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10628 PyObject *pyobj;
10629
10630 {
10631#if wxUSE_UNICODE
10632 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10633#else
10634 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10635#endif
10636 }
10637 return pyobj;
10638}
10639
10640
10641static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
10642 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10643 return 1;
10644}
10645
10646
10647static PyObject *_wrap_SpinCtrlNameStr_get() {
10648 PyObject *pyobj;
10649
10650 {
10651#if wxUSE_UNICODE
10652 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10653#else
10654 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10655#endif
10656 }
10657 return pyobj;
10658}
10659
10660
10661static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj;
10663 wxWindow *arg1 = (wxWindow *) 0 ;
10664 int arg2 = (int) -1 ;
10665 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10666 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10667 wxSize const &arg4_defvalue = wxDefaultSize ;
10668 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10669 long arg5 = (long) wxSP_HORIZONTAL ;
10670 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10671 wxString *arg6 = (wxString *) &arg6_defvalue ;
10672 wxSpinButton *result;
10673 wxPoint temp3 ;
10674 wxSize temp4 ;
10675 bool temp6 = False ;
10676 PyObject * obj0 = 0 ;
10677 PyObject * obj1 = 0 ;
10678 PyObject * obj2 = 0 ;
10679 PyObject * obj3 = 0 ;
10680 PyObject * obj4 = 0 ;
10681 PyObject * obj5 = 0 ;
10682 char *kwnames[] = {
10683 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10684 };
10685
10686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10689 if (obj1) {
10690 arg2 = (int) SWIG_AsInt(obj1);
10691 if (PyErr_Occurred()) SWIG_fail;
10692 }
10693 if (obj2) {
10694 {
10695 arg3 = &temp3;
10696 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10697 }
10698 }
10699 if (obj3) {
10700 {
10701 arg4 = &temp4;
10702 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10703 }
10704 }
10705 if (obj4) {
10706 arg5 = (long) SWIG_AsLong(obj4);
10707 if (PyErr_Occurred()) SWIG_fail;
10708 }
10709 if (obj5) {
10710 {
10711 arg6 = wxString_in_helper(obj5);
10712 if (arg6 == NULL) SWIG_fail;
10713 temp6 = True;
10714 }
10715 }
10716 {
0439c23b 10717 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10720
10721 wxPyEndAllowThreads(__tstate);
0439c23b 10722 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10723 }
10724 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10725 {
10726 if (temp6)
10727 delete arg6;
10728 }
10729 return resultobj;
10730 fail:
10731 {
10732 if (temp6)
10733 delete arg6;
10734 }
10735 return NULL;
10736}
10737
10738
10739static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10740 PyObject *resultobj;
10741 wxSpinButton *result;
10742 char *kwnames[] = {
10743 NULL
10744 };
10745
10746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10747 {
0439c23b 10748 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 result = (wxSpinButton *)new wxSpinButton();
10751
10752 wxPyEndAllowThreads(__tstate);
0439c23b 10753 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
10754 }
10755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10756 return resultobj;
10757 fail:
10758 return NULL;
10759}
10760
10761
10762static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10763 PyObject *resultobj;
10764 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10765 wxWindow *arg2 = (wxWindow *) 0 ;
10766 int arg3 = (int) -1 ;
10767 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10768 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10769 wxSize const &arg5_defvalue = wxDefaultSize ;
10770 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10771 long arg6 = (long) wxSP_HORIZONTAL ;
10772 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10773 wxString *arg7 = (wxString *) &arg7_defvalue ;
10774 bool result;
10775 wxPoint temp4 ;
10776 wxSize temp5 ;
10777 bool temp7 = False ;
10778 PyObject * obj0 = 0 ;
10779 PyObject * obj1 = 0 ;
10780 PyObject * obj2 = 0 ;
10781 PyObject * obj3 = 0 ;
10782 PyObject * obj4 = 0 ;
10783 PyObject * obj5 = 0 ;
10784 PyObject * obj6 = 0 ;
10785 char *kwnames[] = {
10786 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10787 };
10788
10789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10794 if (obj2) {
10795 arg3 = (int) SWIG_AsInt(obj2);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
10798 if (obj3) {
10799 {
10800 arg4 = &temp4;
10801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10802 }
10803 }
10804 if (obj4) {
10805 {
10806 arg5 = &temp5;
10807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10808 }
10809 }
10810 if (obj5) {
10811 arg6 = (long) SWIG_AsLong(obj5);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 if (obj6) {
10815 {
10816 arg7 = wxString_in_helper(obj6);
10817 if (arg7 == NULL) SWIG_fail;
10818 temp7 = True;
10819 }
10820 }
10821 {
10822 PyThreadState* __tstate = wxPyBeginAllowThreads();
10823 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10824
10825 wxPyEndAllowThreads(__tstate);
10826 if (PyErr_Occurred()) SWIG_fail;
10827 }
10828 {
10829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10830 }
10831 {
10832 if (temp7)
10833 delete arg7;
10834 }
10835 return resultobj;
10836 fail:
10837 {
10838 if (temp7)
10839 delete arg7;
10840 }
10841 return NULL;
10842}
10843
10844
10845static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10846 PyObject *resultobj;
10847 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10848 int result;
10849 PyObject * obj0 = 0 ;
10850 char *kwnames[] = {
10851 (char *) "self", NULL
10852 };
10853
10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10857 {
10858 PyThreadState* __tstate = wxPyBeginAllowThreads();
10859 result = (int)((wxSpinButton const *)arg1)->GetValue();
10860
10861 wxPyEndAllowThreads(__tstate);
10862 if (PyErr_Occurred()) SWIG_fail;
10863 }
10864 resultobj = SWIG_FromInt((int)result);
10865 return resultobj;
10866 fail:
10867 return NULL;
10868}
10869
10870
10871static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10872 PyObject *resultobj;
10873 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10874 int result;
10875 PyObject * obj0 = 0 ;
10876 char *kwnames[] = {
10877 (char *) "self", NULL
10878 };
10879
10880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10883 {
10884 PyThreadState* __tstate = wxPyBeginAllowThreads();
10885 result = (int)((wxSpinButton const *)arg1)->GetMin();
10886
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 resultobj = SWIG_FromInt((int)result);
10891 return resultobj;
10892 fail:
10893 return NULL;
10894}
10895
10896
10897static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10898 PyObject *resultobj;
10899 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10900 int result;
10901 PyObject * obj0 = 0 ;
10902 char *kwnames[] = {
10903 (char *) "self", NULL
10904 };
10905
10906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10909 {
10910 PyThreadState* __tstate = wxPyBeginAllowThreads();
10911 result = (int)((wxSpinButton const *)arg1)->GetMax();
10912
10913 wxPyEndAllowThreads(__tstate);
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 resultobj = SWIG_FromInt((int)result);
10917 return resultobj;
10918 fail:
10919 return NULL;
10920}
10921
10922
10923static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10924 PyObject *resultobj;
10925 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10926 int arg2 ;
10927 PyObject * obj0 = 0 ;
10928 PyObject * obj1 = 0 ;
10929 char *kwnames[] = {
10930 (char *) "self",(char *) "val", NULL
10931 };
10932
10933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10936 arg2 = (int) SWIG_AsInt(obj1);
10937 if (PyErr_Occurred()) SWIG_fail;
10938 {
10939 PyThreadState* __tstate = wxPyBeginAllowThreads();
10940 (arg1)->SetValue(arg2);
10941
10942 wxPyEndAllowThreads(__tstate);
10943 if (PyErr_Occurred()) SWIG_fail;
10944 }
10945 Py_INCREF(Py_None); resultobj = Py_None;
10946 return resultobj;
10947 fail:
10948 return NULL;
10949}
10950
10951
10952static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10953 PyObject *resultobj;
10954 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10955 int arg2 ;
10956 PyObject * obj0 = 0 ;
10957 PyObject * obj1 = 0 ;
10958 char *kwnames[] = {
10959 (char *) "self",(char *) "minVal", NULL
10960 };
10961
10962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10965 arg2 = (int) SWIG_AsInt(obj1);
10966 if (PyErr_Occurred()) SWIG_fail;
10967 {
10968 PyThreadState* __tstate = wxPyBeginAllowThreads();
10969 (arg1)->SetMin(arg2);
10970
10971 wxPyEndAllowThreads(__tstate);
10972 if (PyErr_Occurred()) SWIG_fail;
10973 }
10974 Py_INCREF(Py_None); resultobj = Py_None;
10975 return resultobj;
10976 fail:
10977 return NULL;
10978}
10979
10980
10981static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10982 PyObject *resultobj;
10983 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10984 int arg2 ;
10985 PyObject * obj0 = 0 ;
10986 PyObject * obj1 = 0 ;
10987 char *kwnames[] = {
10988 (char *) "self",(char *) "maxVal", NULL
10989 };
10990
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10994 arg2 = (int) SWIG_AsInt(obj1);
10995 if (PyErr_Occurred()) SWIG_fail;
10996 {
10997 PyThreadState* __tstate = wxPyBeginAllowThreads();
10998 (arg1)->SetMax(arg2);
10999
11000 wxPyEndAllowThreads(__tstate);
11001 if (PyErr_Occurred()) SWIG_fail;
11002 }
11003 Py_INCREF(Py_None); resultobj = Py_None;
11004 return resultobj;
11005 fail:
11006 return NULL;
11007}
11008
11009
11010static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11011 PyObject *resultobj;
11012 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11013 int arg2 ;
11014 int arg3 ;
11015 PyObject * obj0 = 0 ;
11016 PyObject * obj1 = 0 ;
11017 PyObject * obj2 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11025 arg2 = (int) SWIG_AsInt(obj1);
11026 if (PyErr_Occurred()) SWIG_fail;
11027 arg3 = (int) SWIG_AsInt(obj2);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 {
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 (arg1)->SetRange(arg2,arg3);
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
f20a2e1f
RD
11036 Py_INCREF(Py_None); resultobj = Py_None;
11037 return resultobj;
11038 fail:
11039 return NULL;
11040}
11041
11042
11043static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
11046 bool result;
11047 PyObject * obj0 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
11053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
11054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11055 {
11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
11057 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
11058
11059 wxPyEndAllowThreads(__tstate);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 }
11062 {
11063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11064 }
d55e5bfc
RD
11065 return resultobj;
11066 fail:
11067 return NULL;
11068}
11069
11070
f20a2e1f 11071static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 11072 PyObject *resultobj;
f20a2e1f
RD
11073 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11074 wxVisualAttributes result;
d55e5bfc
RD
11075 PyObject * obj0 = 0 ;
11076 char *kwnames[] = {
f20a2e1f 11077 (char *) "variant", NULL
d55e5bfc
RD
11078 };
11079
f20a2e1f
RD
11080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11081 if (obj0) {
11082 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11083 if (PyErr_Occurred()) SWIG_fail;
11084 }
d55e5bfc 11085 {
0439c23b 11086 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc 11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
f20a2e1f 11088 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d55e5bfc
RD
11089
11090 wxPyEndAllowThreads(__tstate);
0439c23b 11091 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11092 }
11093 {
f20a2e1f
RD
11094 wxVisualAttributes * resultptr;
11095 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11096 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
11097 }
11098 return resultobj;
11099 fail:
11100 return NULL;
11101}
11102
11103
11104static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
11105 PyObject *obj;
11106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11107 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
11108 Py_INCREF(obj);
11109 return Py_BuildValue((char *)"");
11110}
11111static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11112 PyObject *resultobj;
11113 wxWindow *arg1 = (wxWindow *) 0 ;
11114 int arg2 = (int) -1 ;
11115 wxString const &arg3_defvalue = wxPyEmptyString ;
11116 wxString *arg3 = (wxString *) &arg3_defvalue ;
11117 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11118 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11119 wxSize const &arg5_defvalue = wxDefaultSize ;
11120 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11121 long arg6 = (long) wxSP_ARROW_KEYS ;
11122 int arg7 = (int) 0 ;
11123 int arg8 = (int) 100 ;
11124 int arg9 = (int) 0 ;
11125 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
11126 wxString *arg10 = (wxString *) &arg10_defvalue ;
11127 wxSpinCtrl *result;
11128 bool temp3 = False ;
11129 wxPoint temp4 ;
11130 wxSize temp5 ;
11131 bool temp10 = False ;
11132 PyObject * obj0 = 0 ;
11133 PyObject * obj1 = 0 ;
11134 PyObject * obj2 = 0 ;
11135 PyObject * obj3 = 0 ;
11136 PyObject * obj4 = 0 ;
11137 PyObject * obj5 = 0 ;
11138 PyObject * obj6 = 0 ;
11139 PyObject * obj7 = 0 ;
11140 PyObject * obj8 = 0 ;
11141 PyObject * obj9 = 0 ;
11142 char *kwnames[] = {
11143 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11144 };
11145
11146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11149 if (obj1) {
11150 arg2 = (int) SWIG_AsInt(obj1);
11151 if (PyErr_Occurred()) SWIG_fail;
11152 }
11153 if (obj2) {
11154 {
11155 arg3 = wxString_in_helper(obj2);
11156 if (arg3 == NULL) SWIG_fail;
11157 temp3 = True;
11158 }
11159 }
11160 if (obj3) {
11161 {
11162 arg4 = &temp4;
11163 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11164 }
11165 }
11166 if (obj4) {
11167 {
11168 arg5 = &temp5;
11169 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11170 }
11171 }
11172 if (obj5) {
11173 arg6 = (long) SWIG_AsLong(obj5);
11174 if (PyErr_Occurred()) SWIG_fail;
11175 }
11176 if (obj6) {
11177 arg7 = (int) SWIG_AsInt(obj6);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 if (obj7) {
11181 arg8 = (int) SWIG_AsInt(obj7);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 if (obj8) {
11185 arg9 = (int) SWIG_AsInt(obj8);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 }
11188 if (obj9) {
11189 {
11190 arg10 = wxString_in_helper(obj9);
11191 if (arg10 == NULL) SWIG_fail;
11192 temp10 = True;
11193 }
11194 }
11195 {
0439c23b 11196 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11197 PyThreadState* __tstate = wxPyBeginAllowThreads();
11198 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11199
11200 wxPyEndAllowThreads(__tstate);
0439c23b 11201 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11202 }
11203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11204 {
11205 if (temp3)
11206 delete arg3;
11207 }
11208 {
11209 if (temp10)
11210 delete arg10;
11211 }
11212 return resultobj;
11213 fail:
11214 {
11215 if (temp3)
11216 delete arg3;
11217 }
11218 {
11219 if (temp10)
11220 delete arg10;
11221 }
11222 return NULL;
11223}
11224
11225
11226static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11227 PyObject *resultobj;
11228 wxSpinCtrl *result;
11229 char *kwnames[] = {
11230 NULL
11231 };
11232
11233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11234 {
0439c23b 11235 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 result = (wxSpinCtrl *)new wxSpinCtrl();
11238
11239 wxPyEndAllowThreads(__tstate);
0439c23b 11240 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11241 }
11242 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11243 return resultobj;
11244 fail:
11245 return NULL;
11246}
11247
11248
11249static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11250 PyObject *resultobj;
11251 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11252 wxWindow *arg2 = (wxWindow *) 0 ;
11253 int arg3 = (int) -1 ;
11254 wxString const &arg4_defvalue = wxPyEmptyString ;
11255 wxString *arg4 = (wxString *) &arg4_defvalue ;
11256 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11257 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11258 wxSize const &arg6_defvalue = wxDefaultSize ;
11259 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11260 long arg7 = (long) wxSP_ARROW_KEYS ;
11261 int arg8 = (int) 0 ;
11262 int arg9 = (int) 100 ;
11263 int arg10 = (int) 0 ;
11264 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11265 wxString *arg11 = (wxString *) &arg11_defvalue ;
11266 bool result;
11267 bool temp4 = False ;
11268 wxPoint temp5 ;
11269 wxSize temp6 ;
11270 bool temp11 = False ;
11271 PyObject * obj0 = 0 ;
11272 PyObject * obj1 = 0 ;
11273 PyObject * obj2 = 0 ;
11274 PyObject * obj3 = 0 ;
11275 PyObject * obj4 = 0 ;
11276 PyObject * obj5 = 0 ;
11277 PyObject * obj6 = 0 ;
11278 PyObject * obj7 = 0 ;
11279 PyObject * obj8 = 0 ;
11280 PyObject * obj9 = 0 ;
11281 PyObject * obj10 = 0 ;
11282 char *kwnames[] = {
11283 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11284 };
11285
11286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11291 if (obj2) {
11292 arg3 = (int) SWIG_AsInt(obj2);
11293 if (PyErr_Occurred()) SWIG_fail;
11294 }
11295 if (obj3) {
11296 {
11297 arg4 = wxString_in_helper(obj3);
11298 if (arg4 == NULL) SWIG_fail;
11299 temp4 = True;
11300 }
11301 }
11302 if (obj4) {
11303 {
11304 arg5 = &temp5;
11305 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11306 }
11307 }
11308 if (obj5) {
11309 {
11310 arg6 = &temp6;
11311 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11312 }
11313 }
11314 if (obj6) {
11315 arg7 = (long) SWIG_AsLong(obj6);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 if (obj7) {
11319 arg8 = (int) SWIG_AsInt(obj7);
11320 if (PyErr_Occurred()) SWIG_fail;
11321 }
11322 if (obj8) {
11323 arg9 = (int) SWIG_AsInt(obj8);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 if (obj9) {
11327 arg10 = (int) SWIG_AsInt(obj9);
11328 if (PyErr_Occurred()) SWIG_fail;
11329 }
11330 if (obj10) {
11331 {
11332 arg11 = wxString_in_helper(obj10);
11333 if (arg11 == NULL) SWIG_fail;
11334 temp11 = True;
11335 }
11336 }
11337 {
11338 PyThreadState* __tstate = wxPyBeginAllowThreads();
11339 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11340
11341 wxPyEndAllowThreads(__tstate);
11342 if (PyErr_Occurred()) SWIG_fail;
11343 }
11344 {
11345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11346 }
11347 {
11348 if (temp4)
11349 delete arg4;
11350 }
11351 {
11352 if (temp11)
11353 delete arg11;
11354 }
11355 return resultobj;
11356 fail:
11357 {
11358 if (temp4)
11359 delete arg4;
11360 }
11361 {
11362 if (temp11)
11363 delete arg11;
11364 }
11365 return NULL;
11366}
11367
11368
11369static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11370 PyObject *resultobj;
11371 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11372 int result;
11373 PyObject * obj0 = 0 ;
11374 char *kwnames[] = {
11375 (char *) "self", NULL
11376 };
11377
11378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
11379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11381 {
11382 PyThreadState* __tstate = wxPyBeginAllowThreads();
11383 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11384
11385 wxPyEndAllowThreads(__tstate);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 }
11388 resultobj = SWIG_FromInt((int)result);
11389 return resultobj;
11390 fail:
11391 return NULL;
11392}
11393
11394
11395static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11396 PyObject *resultobj;
11397 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11398 int arg2 ;
11399 PyObject * obj0 = 0 ;
11400 PyObject * obj1 = 0 ;
11401 char *kwnames[] = {
11402 (char *) "self",(char *) "value", NULL
11403 };
11404
11405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
11406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11408 arg2 = (int) SWIG_AsInt(obj1);
11409 if (PyErr_Occurred()) SWIG_fail;
11410 {
11411 PyThreadState* __tstate = wxPyBeginAllowThreads();
11412 (arg1)->SetValue(arg2);
11413
11414 wxPyEndAllowThreads(__tstate);
11415 if (PyErr_Occurred()) SWIG_fail;
11416 }
11417 Py_INCREF(Py_None); resultobj = Py_None;
11418 return resultobj;
11419 fail:
11420 return NULL;
11421}
11422
11423
11424static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
11425 PyObject *resultobj;
11426 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11427 wxString *arg2 = 0 ;
11428 bool temp2 = False ;
11429 PyObject * obj0 = 0 ;
11430 PyObject * obj1 = 0 ;
11431 char *kwnames[] = {
11432 (char *) "self",(char *) "text", NULL
11433 };
11434
11435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
11436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11438 {
11439 arg2 = wxString_in_helper(obj1);
11440 if (arg2 == NULL) SWIG_fail;
11441 temp2 = True;
11442 }
11443 {
11444 PyThreadState* __tstate = wxPyBeginAllowThreads();
11445 (arg1)->SetValue((wxString const &)*arg2);
11446
11447 wxPyEndAllowThreads(__tstate);
11448 if (PyErr_Occurred()) SWIG_fail;
11449 }
11450 Py_INCREF(Py_None); resultobj = Py_None;
11451 {
11452 if (temp2)
11453 delete arg2;
11454 }
11455 return resultobj;
11456 fail:
11457 {
11458 if (temp2)
11459 delete arg2;
11460 }
11461 return NULL;
11462}
11463
11464
11465static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11466 PyObject *resultobj;
11467 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11468 int arg2 ;
11469 int arg3 ;
11470 PyObject * obj0 = 0 ;
11471 PyObject * obj1 = 0 ;
11472 PyObject * obj2 = 0 ;
11473 char *kwnames[] = {
11474 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11475 };
11476
11477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11480 arg2 = (int) SWIG_AsInt(obj1);
11481 if (PyErr_Occurred()) SWIG_fail;
11482 arg3 = (int) SWIG_AsInt(obj2);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 {
11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
11486 (arg1)->SetRange(arg2,arg3);
11487
11488 wxPyEndAllowThreads(__tstate);
11489 if (PyErr_Occurred()) SWIG_fail;
11490 }
11491 Py_INCREF(Py_None); resultobj = Py_None;
11492 return resultobj;
11493 fail:
11494 return NULL;
11495}
11496
11497
11498static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11499 PyObject *resultobj;
11500 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11501 int result;
11502 PyObject * obj0 = 0 ;
11503 char *kwnames[] = {
11504 (char *) "self", NULL
11505 };
11506
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
11508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
11517 resultobj = SWIG_FromInt((int)result);
11518 return resultobj;
11519 fail:
11520 return NULL;
11521}
11522
11523
11524static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11525 PyObject *resultobj;
11526 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11527 int result;
11528 PyObject * obj0 = 0 ;
11529 char *kwnames[] = {
11530 (char *) "self", NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
11534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11536 {
11537 PyThreadState* __tstate = wxPyBeginAllowThreads();
11538 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11539
11540 wxPyEndAllowThreads(__tstate);
11541 if (PyErr_Occurred()) SWIG_fail;
11542 }
11543 resultobj = SWIG_FromInt((int)result);
11544 return resultobj;
11545 fail:
11546 return NULL;
11547}
11548
11549
11550static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11551 PyObject *resultobj;
11552 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11553 long arg2 ;
11554 long arg3 ;
11555 PyObject * obj0 = 0 ;
11556 PyObject * obj1 = 0 ;
11557 PyObject * obj2 = 0 ;
11558 char *kwnames[] = {
11559 (char *) "self",(char *) "from",(char *) "to", NULL
11560 };
11561
11562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11565 arg2 = (long) SWIG_AsLong(obj1);
11566 if (PyErr_Occurred()) SWIG_fail;
11567 arg3 = (long) SWIG_AsLong(obj2);
11568 if (PyErr_Occurred()) SWIG_fail;
11569 {
11570 PyThreadState* __tstate = wxPyBeginAllowThreads();
11571 (arg1)->SetSelection(arg2,arg3);
11572
11573 wxPyEndAllowThreads(__tstate);
11574 if (PyErr_Occurred()) SWIG_fail;
11575 }
11576 Py_INCREF(Py_None); resultobj = Py_None;
11577 return resultobj;
11578 fail:
11579 return NULL;
11580}
11581
11582
f20a2e1f
RD
11583static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
11584 PyObject *resultobj;
11585 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11586 wxVisualAttributes result;
11587 PyObject * obj0 = 0 ;
11588 char *kwnames[] = {
11589 (char *) "variant", NULL
11590 };
11591
11592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11593 if (obj0) {
11594 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11595 if (PyErr_Occurred()) SWIG_fail;
11596 }
11597 {
0439c23b 11598 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11601
11602 wxPyEndAllowThreads(__tstate);
0439c23b 11603 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
11604 }
11605 {
11606 wxVisualAttributes * resultptr;
11607 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11609 }
11610 return resultobj;
11611 fail:
11612 return NULL;
11613}
11614
11615
d55e5bfc
RD
11616static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
11617 PyObject *obj;
11618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11619 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11620 Py_INCREF(obj);
11621 return Py_BuildValue((char *)"");
11622}
11623static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11624 PyObject *resultobj;
11625 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11626 int arg2 = (int) 0 ;
11627 wxSpinEvent *result;
11628 PyObject * obj0 = 0 ;
11629 PyObject * obj1 = 0 ;
11630 char *kwnames[] = {
11631 (char *) "commandType",(char *) "winid", NULL
11632 };
11633
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11635 if (obj0) {
11636 arg1 = (wxEventType) SWIG_AsInt(obj0);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
11639 if (obj1) {
11640 arg2 = (int) SWIG_AsInt(obj1);
11641 if (PyErr_Occurred()) SWIG_fail;
11642 }
11643 {
11644 PyThreadState* __tstate = wxPyBeginAllowThreads();
11645 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11646
11647 wxPyEndAllowThreads(__tstate);
11648 if (PyErr_Occurred()) SWIG_fail;
11649 }
11650 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
11651 return resultobj;
11652 fail:
11653 return NULL;
11654}
11655
11656
11657static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11658 PyObject *resultobj;
11659 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11660 int result;
11661 PyObject * obj0 = 0 ;
11662 char *kwnames[] = {
11663 (char *) "self", NULL
11664 };
11665
11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
11667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11669 {
11670 PyThreadState* __tstate = wxPyBeginAllowThreads();
11671 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11672
11673 wxPyEndAllowThreads(__tstate);
11674 if (PyErr_Occurred()) SWIG_fail;
11675 }
11676 resultobj = SWIG_FromInt((int)result);
11677 return resultobj;
11678 fail:
11679 return NULL;
11680}
11681
11682
11683static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj;
11685 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11686 int arg2 ;
11687 PyObject * obj0 = 0 ;
11688 PyObject * obj1 = 0 ;
11689 char *kwnames[] = {
11690 (char *) "self",(char *) "pos", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11696 arg2 = (int) SWIG_AsInt(obj1);
11697 if (PyErr_Occurred()) SWIG_fail;
11698 {
11699 PyThreadState* __tstate = wxPyBeginAllowThreads();
11700 (arg1)->SetPosition(arg2);
11701
11702 wxPyEndAllowThreads(__tstate);
11703 if (PyErr_Occurred()) SWIG_fail;
11704 }
11705 Py_INCREF(Py_None); resultobj = Py_None;
11706 return resultobj;
11707 fail:
11708 return NULL;
11709}
11710
11711
11712static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
11713 PyObject *obj;
11714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11715 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11716 Py_INCREF(obj);
11717 return Py_BuildValue((char *)"");
11718}
11719static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
11720 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11721 return 1;
11722}
11723
11724
11725static PyObject *_wrap_RadioBoxNameStr_get() {
11726 PyObject *pyobj;
11727
11728 {
11729#if wxUSE_UNICODE
11730 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11731#else
11732 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11733#endif
11734 }
11735 return pyobj;
11736}
11737
11738
11739static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11740 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11741 return 1;
11742}
11743
11744
11745static PyObject *_wrap_RadioButtonNameStr_get() {
11746 PyObject *pyobj;
11747
11748 {
11749#if wxUSE_UNICODE
11750 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11751#else
11752 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11753#endif
11754 }
11755 return pyobj;
11756}
11757
11758
11759static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11760 PyObject *resultobj;
11761 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
11762 int arg2 = (int) -1 ;
11763 wxString const &arg3_defvalue = wxPyEmptyString ;
11764 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
11765 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11766 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11767 wxSize const &arg5_defvalue = wxDefaultSize ;
11768 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11769 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11770 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11771 int arg7 = (int) 0 ;
11772 long arg8 = (long) wxRA_HORIZONTAL ;
11773 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11774 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11775 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11776 wxString *arg10 = (wxString *) &arg10_defvalue ;
11777 wxRadioBox *result;
11778 bool temp3 = False ;
11779 wxPoint temp4 ;
11780 wxSize temp5 ;
11781 bool temp6 = False ;
11782 bool temp10 = False ;
11783 PyObject * obj0 = 0 ;
11784 PyObject * obj1 = 0 ;
11785 PyObject * obj2 = 0 ;
11786 PyObject * obj3 = 0 ;
11787 PyObject * obj4 = 0 ;
11788 PyObject * obj5 = 0 ;
11789 PyObject * obj6 = 0 ;
11790 PyObject * obj7 = 0 ;
11791 PyObject * obj8 = 0 ;
11792 PyObject * obj9 = 0 ;
11793 char *kwnames[] = {
11794 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11795 };
11796
248ed943 11797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
d55e5bfc
RD
11798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
11800 if (obj1) {
11801 arg2 = (int) SWIG_AsInt(obj1);
11802 if (PyErr_Occurred()) SWIG_fail;
11803 }
11804 if (obj2) {
11805 {
11806 arg3 = wxString_in_helper(obj2);
11807 if (arg3 == NULL) SWIG_fail;
11808 temp3 = True;
11809 }
d55e5bfc
RD
11810 }
11811 if (obj3) {
11812 {
11813 arg4 = &temp4;
11814 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11815 }
11816 }
11817 if (obj4) {
11818 {
11819 arg5 = &temp5;
11820 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11821 }
11822 }
11823 if (obj5) {
11824 {
11825 if (! PySequence_Check(obj5)) {
11826 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11827 SWIG_fail;
11828 }
11829 arg6 = new wxArrayString;
11830 temp6 = True;
11831 int i, len=PySequence_Length(obj5);
11832 for (i=0; i<len; i++) {
11833 PyObject* item = PySequence_GetItem(obj5, i);
11834#if wxUSE_UNICODE
11835 PyObject* str = PyObject_Unicode(item);
11836#else
11837 PyObject* str = PyObject_Str(item);
11838#endif
11839 if (PyErr_Occurred()) SWIG_fail;
11840 arg6->Add(Py2wxString(str));
11841 Py_DECREF(item);
11842 Py_DECREF(str);
11843 }
11844 }
11845 }
11846 if (obj6) {
11847 arg7 = (int) SWIG_AsInt(obj6);
11848 if (PyErr_Occurred()) SWIG_fail;
11849 }
11850 if (obj7) {
11851 arg8 = (long) SWIG_AsLong(obj7);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 if (obj8) {
11855 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11856 SWIG_POINTER_EXCEPTION | 0)) == -1)
11857 SWIG_fail;
11858 if (arg9 == NULL) {
11859 PyErr_SetString(PyExc_TypeError,"null reference");
11860 SWIG_fail;
11861 }
11862 }
11863 if (obj9) {
11864 {
11865 arg10 = wxString_in_helper(obj9);
11866 if (arg10 == NULL) SWIG_fail;
11867 temp10 = True;
11868 }
11869 }
11870 {
0439c23b 11871 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11872 PyThreadState* __tstate = wxPyBeginAllowThreads();
11873 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);
11874
11875 wxPyEndAllowThreads(__tstate);
0439c23b 11876 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11877 }
11878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11879 {
11880 if (temp3)
11881 delete arg3;
11882 }
11883 {
11884 if (temp6) delete arg6;
11885 }
11886 {
11887 if (temp10)
11888 delete arg10;
11889 }
11890 return resultobj;
11891 fail:
11892 {
11893 if (temp3)
11894 delete arg3;
11895 }
11896 {
11897 if (temp6) delete arg6;
11898 }
11899 {
11900 if (temp10)
11901 delete arg10;
11902 }
11903 return NULL;
11904}
11905
11906
11907static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj;
11909 wxRadioBox *result;
11910 char *kwnames[] = {
11911 NULL
11912 };
11913
11914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11915 {
0439c23b 11916 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
11917 PyThreadState* __tstate = wxPyBeginAllowThreads();
11918 result = (wxRadioBox *)new wxRadioBox();
11919
11920 wxPyEndAllowThreads(__tstate);
0439c23b 11921 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
11922 }
11923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11924 return resultobj;
11925 fail:
11926 return NULL;
11927}
11928
11929
11930static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11931 PyObject *resultobj;
11932 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11933 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
11934 int arg3 = (int) -1 ;
11935 wxString const &arg4_defvalue = wxPyEmptyString ;
11936 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
11937 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11938 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11939 wxSize const &arg6_defvalue = wxDefaultSize ;
11940 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11941 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11942 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11943 int arg8 = (int) 0 ;
11944 long arg9 = (long) wxRA_HORIZONTAL ;
11945 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11946 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11947 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11948 wxString *arg11 = (wxString *) &arg11_defvalue ;
11949 bool result;
11950 bool temp4 = False ;
11951 wxPoint temp5 ;
11952 wxSize temp6 ;
11953 bool temp7 = False ;
11954 bool temp11 = False ;
11955 PyObject * obj0 = 0 ;
11956 PyObject * obj1 = 0 ;
11957 PyObject * obj2 = 0 ;
11958 PyObject * obj3 = 0 ;
11959 PyObject * obj4 = 0 ;
11960 PyObject * obj5 = 0 ;
11961 PyObject * obj6 = 0 ;
11962 PyObject * obj7 = 0 ;
11963 PyObject * obj8 = 0 ;
11964 PyObject * obj9 = 0 ;
11965 PyObject * obj10 = 0 ;
11966 char *kwnames[] = {
11967 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11968 };
11969
248ed943 11970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
d55e5bfc
RD
11971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11973 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
11975 if (obj2) {
11976 arg3 = (int) SWIG_AsInt(obj2);
11977 if (PyErr_Occurred()) SWIG_fail;
11978 }
11979 if (obj3) {
11980 {
11981 arg4 = wxString_in_helper(obj3);
11982 if (arg4 == NULL) SWIG_fail;
11983 temp4 = True;
11984 }
d55e5bfc
RD
11985 }
11986 if (obj4) {
11987 {
11988 arg5 = &temp5;
11989 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11990 }
11991 }
11992 if (obj5) {
11993 {
11994 arg6 = &temp6;
11995 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11996 }
11997 }
11998 if (obj6) {
11999 {
12000 if (! PySequence_Check(obj6)) {
12001 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
12002 SWIG_fail;
12003 }
12004 arg7 = new wxArrayString;
12005 temp7 = True;
12006 int i, len=PySequence_Length(obj6);
12007 for (i=0; i<len; i++) {
12008 PyObject* item = PySequence_GetItem(obj6, i);
12009#if wxUSE_UNICODE
12010 PyObject* str = PyObject_Unicode(item);
12011#else
12012 PyObject* str = PyObject_Str(item);
12013#endif
12014 if (PyErr_Occurred()) SWIG_fail;
12015 arg7->Add(Py2wxString(str));
12016 Py_DECREF(item);
12017 Py_DECREF(str);
12018 }
12019 }
12020 }
12021 if (obj7) {
12022 arg8 = (int) SWIG_AsInt(obj7);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 if (obj8) {
12026 arg9 = (long) SWIG_AsLong(obj8);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 if (obj9) {
12030 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12031 SWIG_POINTER_EXCEPTION | 0)) == -1)
12032 SWIG_fail;
12033 if (arg10 == NULL) {
12034 PyErr_SetString(PyExc_TypeError,"null reference");
12035 SWIG_fail;
12036 }
12037 }
12038 if (obj10) {
12039 {
12040 arg11 = wxString_in_helper(obj10);
12041 if (arg11 == NULL) SWIG_fail;
12042 temp11 = True;
12043 }
12044 }
12045 {
12046 PyThreadState* __tstate = wxPyBeginAllowThreads();
12047 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);
12048
12049 wxPyEndAllowThreads(__tstate);
12050 if (PyErr_Occurred()) SWIG_fail;
12051 }
12052 {
12053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12054 }
12055 {
12056 if (temp4)
12057 delete arg4;
12058 }
12059 {
12060 if (temp7) delete arg7;
12061 }
12062 {
12063 if (temp11)
12064 delete arg11;
12065 }
12066 return resultobj;
12067 fail:
12068 {
12069 if (temp4)
12070 delete arg4;
12071 }
12072 {
12073 if (temp7) delete arg7;
12074 }
12075 {
12076 if (temp11)
12077 delete arg11;
12078 }
12079 return NULL;
12080}
12081
12082
12083static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj;
12085 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12086 int arg2 ;
12087 PyObject * obj0 = 0 ;
12088 PyObject * obj1 = 0 ;
12089 char *kwnames[] = {
12090 (char *) "self",(char *) "n", NULL
12091 };
12092
12093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12096 arg2 = (int) SWIG_AsInt(obj1);
12097 if (PyErr_Occurred()) SWIG_fail;
12098 {
12099 PyThreadState* __tstate = wxPyBeginAllowThreads();
12100 (arg1)->SetSelection(arg2);
12101
12102 wxPyEndAllowThreads(__tstate);
12103 if (PyErr_Occurred()) SWIG_fail;
12104 }
12105 Py_INCREF(Py_None); resultobj = Py_None;
12106 return resultobj;
12107 fail:
12108 return NULL;
12109}
12110
12111
12112static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12113 PyObject *resultobj;
12114 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12115 int result;
12116 PyObject * obj0 = 0 ;
12117 char *kwnames[] = {
12118 (char *) "self", NULL
12119 };
12120
12121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
12122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 result = (int)((wxRadioBox const *)arg1)->GetSelection();
12127
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 resultobj = SWIG_FromInt((int)result);
12132 return resultobj;
12133 fail:
12134 return NULL;
12135}
12136
12137
12138static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12139 PyObject *resultobj;
12140 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12141 wxString result;
12142 PyObject * obj0 = 0 ;
12143 char *kwnames[] = {
12144 (char *) "self", NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
12148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 result = ((wxRadioBox const *)arg1)->GetStringSelection();
12153
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 }
12157 {
12158#if wxUSE_UNICODE
12159 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12160#else
12161 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12162#endif
12163 }
12164 return resultobj;
12165 fail:
12166 return NULL;
12167}
12168
12169
12170static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12171 PyObject *resultobj;
12172 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12173 wxString *arg2 = 0 ;
12174 bool result;
12175 bool temp2 = False ;
12176 PyObject * obj0 = 0 ;
12177 PyObject * obj1 = 0 ;
12178 char *kwnames[] = {
12179 (char *) "self",(char *) "s", NULL
12180 };
12181
12182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
12183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12185 {
12186 arg2 = wxString_in_helper(obj1);
12187 if (arg2 == NULL) SWIG_fail;
12188 temp2 = True;
12189 }
12190 {
12191 PyThreadState* __tstate = wxPyBeginAllowThreads();
12192 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12193
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 {
12198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12199 }
12200 {
12201 if (temp2)
12202 delete arg2;
12203 }
12204 return resultobj;
12205 fail:
12206 {
12207 if (temp2)
12208 delete arg2;
12209 }
12210 return NULL;
12211}
12212
12213
12214static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12215 PyObject *resultobj;
12216 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12217 int result;
12218 PyObject * obj0 = 0 ;
12219 char *kwnames[] = {
12220 (char *) "self", NULL
12221 };
12222
12223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
12224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 result = (int)((wxRadioBox const *)arg1)->GetCount();
12229
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 resultobj = SWIG_FromInt((int)result);
12234 return resultobj;
12235 fail:
12236 return NULL;
12237}
12238
12239
12240static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12241 PyObject *resultobj;
12242 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12243 wxString *arg2 = 0 ;
12244 int result;
12245 bool temp2 = False ;
12246 PyObject * obj0 = 0 ;
12247 PyObject * obj1 = 0 ;
12248 char *kwnames[] = {
12249 (char *) "self",(char *) "s", NULL
12250 };
12251
12252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
12253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12255 {
12256 arg2 = wxString_in_helper(obj1);
12257 if (arg2 == NULL) SWIG_fail;
12258 temp2 = True;
12259 }
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12263
12264 wxPyEndAllowThreads(__tstate);
12265 if (PyErr_Occurred()) SWIG_fail;
12266 }
12267 resultobj = SWIG_FromInt((int)result);
12268 {
12269 if (temp2)
12270 delete arg2;
12271 }
12272 return resultobj;
12273 fail:
12274 {
12275 if (temp2)
12276 delete arg2;
12277 }
12278 return NULL;
12279}
12280
12281
12282static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12283 PyObject *resultobj;
12284 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12285 int arg2 ;
12286 wxString result;
12287 PyObject * obj0 = 0 ;
12288 PyObject * obj1 = 0 ;
12289 char *kwnames[] = {
12290 (char *) "self",(char *) "n", NULL
12291 };
12292
12293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
12294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12296 arg2 = (int) SWIG_AsInt(obj1);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12301
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 }
12305 {
12306#if wxUSE_UNICODE
12307 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12308#else
12309 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12310#endif
12311 }
12312 return resultobj;
12313 fail:
12314 return NULL;
12315}
12316
12317
12318static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12319 PyObject *resultobj;
12320 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12321 int arg2 ;
12322 wxString *arg3 = 0 ;
12323 bool temp3 = False ;
12324 PyObject * obj0 = 0 ;
12325 PyObject * obj1 = 0 ;
12326 PyObject * obj2 = 0 ;
12327 char *kwnames[] = {
12328 (char *) "self",(char *) "n",(char *) "label", NULL
12329 };
12330
12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
12332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12334 arg2 = (int) SWIG_AsInt(obj1);
12335 if (PyErr_Occurred()) SWIG_fail;
12336 {
12337 arg3 = wxString_in_helper(obj2);
12338 if (arg3 == NULL) SWIG_fail;
12339 temp3 = True;
12340 }
12341 {
12342 PyThreadState* __tstate = wxPyBeginAllowThreads();
12343 (arg1)->SetString(arg2,(wxString const &)*arg3);
12344
12345 wxPyEndAllowThreads(__tstate);
12346 if (PyErr_Occurred()) SWIG_fail;
12347 }
12348 Py_INCREF(Py_None); resultobj = Py_None;
12349 {
12350 if (temp3)
12351 delete arg3;
12352 }
12353 return resultobj;
12354 fail:
12355 {
12356 if (temp3)
12357 delete arg3;
12358 }
12359 return NULL;
12360}
12361
12362
12363static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12364 PyObject *resultobj;
12365 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12366 int arg2 ;
12367 bool arg3 = (bool) True ;
12368 PyObject * obj0 = 0 ;
12369 PyObject * obj1 = 0 ;
12370 PyObject * obj2 = 0 ;
12371 char *kwnames[] = {
12372 (char *) "self",(char *) "n",(char *) "enable", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12378 arg2 = (int) SWIG_AsInt(obj1);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 if (obj2) {
12381 arg3 = (bool) SWIG_AsBool(obj2);
12382 if (PyErr_Occurred()) SWIG_fail;
12383 }
12384 {
12385 PyThreadState* __tstate = wxPyBeginAllowThreads();
12386 (arg1)->Enable(arg2,arg3);
12387
12388 wxPyEndAllowThreads(__tstate);
12389 if (PyErr_Occurred()) SWIG_fail;
12390 }
12391 Py_INCREF(Py_None); resultobj = Py_None;
12392 return resultobj;
12393 fail:
12394 return NULL;
12395}
12396
12397
12398static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12399 PyObject *resultobj;
12400 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12401 int arg2 ;
12402 bool arg3 = (bool) True ;
12403 PyObject * obj0 = 0 ;
12404 PyObject * obj1 = 0 ;
12405 PyObject * obj2 = 0 ;
12406 char *kwnames[] = {
12407 (char *) "self",(char *) "n",(char *) "show", NULL
12408 };
12409
12410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12413 arg2 = (int) SWIG_AsInt(obj1);
12414 if (PyErr_Occurred()) SWIG_fail;
12415 if (obj2) {
12416 arg3 = (bool) SWIG_AsBool(obj2);
12417 if (PyErr_Occurred()) SWIG_fail;
12418 }
12419 {
12420 PyThreadState* __tstate = wxPyBeginAllowThreads();
12421 (arg1)->Show(arg2,arg3);
12422
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 Py_INCREF(Py_None); resultobj = Py_None;
12427 return resultobj;
12428 fail:
12429 return NULL;
12430}
12431
12432
12433static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj;
12435 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12436 int result;
12437 PyObject * obj0 = 0 ;
12438 char *kwnames[] = {
12439 (char *) "self", NULL
12440 };
12441
12442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
12443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
12448
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 resultobj = SWIG_FromInt((int)result);
12453 return resultobj;
12454 fail:
12455 return NULL;
12456}
12457
12458
12459static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12460 PyObject *resultobj;
12461 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12462 int result;
12463 PyObject * obj0 = 0 ;
12464 char *kwnames[] = {
12465 (char *) "self", NULL
12466 };
12467
12468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
12469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12471 {
12472 PyThreadState* __tstate = wxPyBeginAllowThreads();
12473 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
12474
12475 wxPyEndAllowThreads(__tstate);
12476 if (PyErr_Occurred()) SWIG_fail;
12477 }
12478 resultobj = SWIG_FromInt((int)result);
12479 return resultobj;
12480 fail:
12481 return NULL;
12482}
12483
12484
12485static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12486 PyObject *resultobj;
12487 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12488 int arg2 ;
12489 int arg3 ;
12490 long arg4 ;
12491 int result;
12492 PyObject * obj0 = 0 ;
12493 PyObject * obj1 = 0 ;
12494 PyObject * obj2 = 0 ;
12495 PyObject * obj3 = 0 ;
12496 char *kwnames[] = {
12497 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12498 };
12499
12500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12503 arg2 = (int) SWIG_AsInt(obj1);
12504 if (PyErr_Occurred()) SWIG_fail;
12505 arg3 = (wxDirection) SWIG_AsInt(obj2);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 arg4 = (long) SWIG_AsLong(obj3);
12508 if (PyErr_Occurred()) SWIG_fail;
12509 {
12510 PyThreadState* __tstate = wxPyBeginAllowThreads();
12511 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
12512
12513 wxPyEndAllowThreads(__tstate);
12514 if (PyErr_Occurred()) SWIG_fail;
12515 }
12516 resultobj = SWIG_FromInt((int)result);
12517 return resultobj;
12518 fail:
12519 return NULL;
12520}
12521
12522
f20a2e1f
RD
12523static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12524 PyObject *resultobj;
12525 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12526 wxVisualAttributes result;
12527 PyObject * obj0 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "variant", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12533 if (obj0) {
12534 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12535 if (PyErr_Occurred()) SWIG_fail;
12536 }
12537 {
0439c23b 12538 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
12540 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12541
12542 wxPyEndAllowThreads(__tstate);
0439c23b 12543 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12544 }
12545 {
12546 wxVisualAttributes * resultptr;
12547 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12548 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12549 }
12550 return resultobj;
12551 fail:
12552 return NULL;
12553}
12554
12555
d55e5bfc
RD
12556static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
12557 PyObject *obj;
12558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12559 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12560 Py_INCREF(obj);
12561 return Py_BuildValue((char *)"");
12562}
12563static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12564 PyObject *resultobj;
12565 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
12566 int arg2 = (int) -1 ;
12567 wxString const &arg3_defvalue = wxPyEmptyString ;
12568 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
12569 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12570 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12571 wxSize const &arg5_defvalue = wxDefaultSize ;
12572 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12573 long arg6 = (long) 0 ;
12574 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12575 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12576 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12577 wxString *arg8 = (wxString *) &arg8_defvalue ;
12578 wxRadioButton *result;
12579 bool temp3 = False ;
12580 wxPoint temp4 ;
12581 wxSize temp5 ;
12582 bool temp8 = False ;
12583 PyObject * obj0 = 0 ;
12584 PyObject * obj1 = 0 ;
12585 PyObject * obj2 = 0 ;
12586 PyObject * obj3 = 0 ;
12587 PyObject * obj4 = 0 ;
12588 PyObject * obj5 = 0 ;
12589 PyObject * obj6 = 0 ;
12590 PyObject * obj7 = 0 ;
12591 char *kwnames[] = {
12592 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12593 };
12594
248ed943 12595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
12596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
12598 if (obj1) {
12599 arg2 = (int) SWIG_AsInt(obj1);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 if (obj2) {
12603 {
12604 arg3 = wxString_in_helper(obj2);
12605 if (arg3 == NULL) SWIG_fail;
12606 temp3 = True;
12607 }
d55e5bfc
RD
12608 }
12609 if (obj3) {
12610 {
12611 arg4 = &temp4;
12612 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12613 }
12614 }
12615 if (obj4) {
12616 {
12617 arg5 = &temp5;
12618 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12619 }
12620 }
12621 if (obj5) {
12622 arg6 = (long) SWIG_AsLong(obj5);
12623 if (PyErr_Occurred()) SWIG_fail;
12624 }
12625 if (obj6) {
12626 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12627 SWIG_POINTER_EXCEPTION | 0)) == -1)
12628 SWIG_fail;
12629 if (arg7 == NULL) {
12630 PyErr_SetString(PyExc_TypeError,"null reference");
12631 SWIG_fail;
12632 }
12633 }
12634 if (obj7) {
12635 {
12636 arg8 = wxString_in_helper(obj7);
12637 if (arg8 == NULL) SWIG_fail;
12638 temp8 = True;
12639 }
12640 }
12641 {
0439c23b 12642 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12643 PyThreadState* __tstate = wxPyBeginAllowThreads();
12644 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12645
12646 wxPyEndAllowThreads(__tstate);
0439c23b 12647 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12648 }
12649 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12650 {
12651 if (temp3)
12652 delete arg3;
12653 }
12654 {
12655 if (temp8)
12656 delete arg8;
12657 }
12658 return resultobj;
12659 fail:
12660 {
12661 if (temp3)
12662 delete arg3;
12663 }
12664 {
12665 if (temp8)
12666 delete arg8;
12667 }
12668 return NULL;
12669}
12670
12671
12672static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12673 PyObject *resultobj;
12674 wxRadioButton *result;
12675 char *kwnames[] = {
12676 NULL
12677 };
12678
12679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12680 {
0439c23b 12681 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
12682 PyThreadState* __tstate = wxPyBeginAllowThreads();
12683 result = (wxRadioButton *)new wxRadioButton();
12684
12685 wxPyEndAllowThreads(__tstate);
0439c23b 12686 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
12687 }
12688 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12689 return resultobj;
12690 fail:
12691 return NULL;
12692}
12693
12694
12695static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12696 PyObject *resultobj;
12697 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12698 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
12699 int arg3 = (int) -1 ;
12700 wxString const &arg4_defvalue = wxPyEmptyString ;
12701 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
12702 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12703 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12704 wxSize const &arg6_defvalue = wxDefaultSize ;
12705 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12706 long arg7 = (long) 0 ;
12707 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12708 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12709 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12710 wxString *arg9 = (wxString *) &arg9_defvalue ;
12711 bool result;
12712 bool temp4 = False ;
12713 wxPoint temp5 ;
12714 wxSize temp6 ;
12715 bool temp9 = False ;
12716 PyObject * obj0 = 0 ;
12717 PyObject * obj1 = 0 ;
12718 PyObject * obj2 = 0 ;
12719 PyObject * obj3 = 0 ;
12720 PyObject * obj4 = 0 ;
12721 PyObject * obj5 = 0 ;
12722 PyObject * obj6 = 0 ;
12723 PyObject * obj7 = 0 ;
12724 PyObject * obj8 = 0 ;
12725 char *kwnames[] = {
12726 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12727 };
12728
248ed943 12729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
12730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12732 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
12734 if (obj2) {
12735 arg3 = (int) SWIG_AsInt(obj2);
12736 if (PyErr_Occurred()) SWIG_fail;
12737 }
12738 if (obj3) {
12739 {
12740 arg4 = wxString_in_helper(obj3);
12741 if (arg4 == NULL) SWIG_fail;
12742 temp4 = True;
12743 }
d55e5bfc
RD
12744 }
12745 if (obj4) {
12746 {
12747 arg5 = &temp5;
12748 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12749 }
12750 }
12751 if (obj5) {
12752 {
12753 arg6 = &temp6;
12754 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12755 }
12756 }
12757 if (obj6) {
12758 arg7 = (long) SWIG_AsLong(obj6);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 if (obj7) {
12762 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12763 SWIG_POINTER_EXCEPTION | 0)) == -1)
12764 SWIG_fail;
12765 if (arg8 == NULL) {
12766 PyErr_SetString(PyExc_TypeError,"null reference");
12767 SWIG_fail;
12768 }
12769 }
12770 if (obj8) {
12771 {
12772 arg9 = wxString_in_helper(obj8);
12773 if (arg9 == NULL) SWIG_fail;
12774 temp9 = True;
12775 }
12776 }
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12780
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 {
12785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12786 }
12787 {
12788 if (temp4)
12789 delete arg4;
12790 }
12791 {
12792 if (temp9)
12793 delete arg9;
12794 }
12795 return resultobj;
12796 fail:
12797 {
12798 if (temp4)
12799 delete arg4;
12800 }
12801 {
12802 if (temp9)
12803 delete arg9;
12804 }
12805 return NULL;
12806}
12807
12808
12809static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12810 PyObject *resultobj;
12811 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12812 bool result;
12813 PyObject * obj0 = 0 ;
12814 char *kwnames[] = {
12815 (char *) "self", NULL
12816 };
12817
12818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12821 {
12822 PyThreadState* __tstate = wxPyBeginAllowThreads();
12823 result = (bool)(arg1)->GetValue();
12824
12825 wxPyEndAllowThreads(__tstate);
12826 if (PyErr_Occurred()) SWIG_fail;
12827 }
12828 {
12829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12830 }
12831 return resultobj;
12832 fail:
12833 return NULL;
12834}
12835
12836
12837static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj;
12839 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12840 bool arg2 ;
12841 PyObject * obj0 = 0 ;
12842 PyObject * obj1 = 0 ;
12843 char *kwnames[] = {
12844 (char *) "self",(char *) "value", NULL
12845 };
12846
12847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12850 arg2 = (bool) SWIG_AsBool(obj1);
12851 if (PyErr_Occurred()) SWIG_fail;
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 (arg1)->SetValue(arg2);
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
12859 Py_INCREF(Py_None); resultobj = Py_None;
12860 return resultobj;
12861 fail:
12862 return NULL;
12863}
12864
12865
f20a2e1f
RD
12866static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12867 PyObject *resultobj;
12868 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12869 wxVisualAttributes result;
12870 PyObject * obj0 = 0 ;
12871 char *kwnames[] = {
12872 (char *) "variant", NULL
12873 };
12874
12875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12876 if (obj0) {
12877 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12878 if (PyErr_Occurred()) SWIG_fail;
12879 }
12880 {
0439c23b 12881 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
12882 PyThreadState* __tstate = wxPyBeginAllowThreads();
12883 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12884
12885 wxPyEndAllowThreads(__tstate);
0439c23b 12886 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
12887 }
12888 {
12889 wxVisualAttributes * resultptr;
12890 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12891 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12892 }
12893 return resultobj;
12894 fail:
12895 return NULL;
12896}
12897
12898
d55e5bfc
RD
12899static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12900 PyObject *obj;
12901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12902 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12903 Py_INCREF(obj);
12904 return Py_BuildValue((char *)"");
12905}
12906static int _wrap_SliderNameStr_set(PyObject *_val) {
12907 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12908 return 1;
12909}
12910
12911
12912static PyObject *_wrap_SliderNameStr_get() {
12913 PyObject *pyobj;
12914
12915 {
12916#if wxUSE_UNICODE
12917 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12918#else
12919 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12920#endif
12921 }
12922 return pyobj;
12923}
12924
12925
12926static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12927 PyObject *resultobj;
12928 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
12929 int arg2 = (int) -1 ;
12930 int arg3 = (int) 0 ;
12931 int arg4 = (int) 0 ;
12932 int arg5 = (int) 100 ;
d55e5bfc
RD
12933 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12934 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12935 wxSize const &arg7_defvalue = wxDefaultSize ;
12936 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12937 long arg8 = (long) wxSL_HORIZONTAL ;
12938 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12939 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12940 wxString const &arg10_defvalue = wxPySliderNameStr ;
12941 wxString *arg10 = (wxString *) &arg10_defvalue ;
12942 wxSlider *result;
12943 wxPoint temp6 ;
12944 wxSize temp7 ;
12945 bool temp10 = False ;
12946 PyObject * obj0 = 0 ;
12947 PyObject * obj1 = 0 ;
12948 PyObject * obj2 = 0 ;
12949 PyObject * obj3 = 0 ;
12950 PyObject * obj4 = 0 ;
12951 PyObject * obj5 = 0 ;
12952 PyObject * obj6 = 0 ;
12953 PyObject * obj7 = 0 ;
12954 PyObject * obj8 = 0 ;
12955 PyObject * obj9 = 0 ;
12956 char *kwnames[] = {
12957 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12958 };
12959
248ed943 12960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
d55e5bfc
RD
12961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
12963 if (obj1) {
12964 arg2 = (int) SWIG_AsInt(obj1);
12965 if (PyErr_Occurred()) SWIG_fail;
12966 }
12967 if (obj2) {
12968 arg3 = (int) SWIG_AsInt(obj2);
12969 if (PyErr_Occurred()) SWIG_fail;
12970 }
12971 if (obj3) {
12972 arg4 = (int) SWIG_AsInt(obj3);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 if (obj4) {
12976 arg5 = (int) SWIG_AsInt(obj4);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
d55e5bfc
RD
12979 if (obj5) {
12980 {
12981 arg6 = &temp6;
12982 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12983 }
12984 }
12985 if (obj6) {
12986 {
12987 arg7 = &temp7;
12988 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12989 }
12990 }
12991 if (obj7) {
12992 arg8 = (long) SWIG_AsLong(obj7);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 }
12995 if (obj8) {
12996 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12997 SWIG_POINTER_EXCEPTION | 0)) == -1)
12998 SWIG_fail;
12999 if (arg9 == NULL) {
13000 PyErr_SetString(PyExc_TypeError,"null reference");
13001 SWIG_fail;
13002 }
13003 }
13004 if (obj9) {
13005 {
13006 arg10 = wxString_in_helper(obj9);
13007 if (arg10 == NULL) SWIG_fail;
13008 temp10 = True;
13009 }
13010 }
13011 {
0439c23b 13012 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13013 PyThreadState* __tstate = wxPyBeginAllowThreads();
13014 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
13015
13016 wxPyEndAllowThreads(__tstate);
0439c23b 13017 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13018 }
13019 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
13020 {
13021 if (temp10)
13022 delete arg10;
13023 }
13024 return resultobj;
13025 fail:
13026 {
13027 if (temp10)
13028 delete arg10;
13029 }
13030 return NULL;
13031}
13032
13033
13034static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
13035 PyObject *resultobj;
13036 wxSlider *result;
13037 char *kwnames[] = {
13038 NULL
13039 };
13040
13041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
13042 {
0439c23b 13043 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13044 PyThreadState* __tstate = wxPyBeginAllowThreads();
13045 result = (wxSlider *)new wxSlider();
13046
13047 wxPyEndAllowThreads(__tstate);
0439c23b 13048 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13049 }
13050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
13051 return resultobj;
13052 fail:
13053 return NULL;
13054}
13055
13056
13057static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj;
13059 wxSlider *arg1 = (wxSlider *) 0 ;
13060 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13061 int arg3 = (int) -1 ;
13062 int arg4 = (int) 0 ;
13063 int arg5 = (int) 0 ;
13064 int arg6 = (int) 100 ;
d55e5bfc
RD
13065 wxPoint const &arg7_defvalue = wxDefaultPosition ;
13066 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
13067 wxSize const &arg8_defvalue = wxDefaultSize ;
13068 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
13069 long arg9 = (long) wxSL_HORIZONTAL ;
13070 wxValidator const &arg10_defvalue = wxDefaultValidator ;
13071 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
13072 wxString const &arg11_defvalue = wxPySliderNameStr ;
13073 wxString *arg11 = (wxString *) &arg11_defvalue ;
13074 bool result;
13075 wxPoint temp7 ;
13076 wxSize temp8 ;
13077 bool temp11 = False ;
13078 PyObject * obj0 = 0 ;
13079 PyObject * obj1 = 0 ;
13080 PyObject * obj2 = 0 ;
13081 PyObject * obj3 = 0 ;
13082 PyObject * obj4 = 0 ;
13083 PyObject * obj5 = 0 ;
13084 PyObject * obj6 = 0 ;
13085 PyObject * obj7 = 0 ;
13086 PyObject * obj8 = 0 ;
13087 PyObject * obj9 = 0 ;
13088 PyObject * obj10 = 0 ;
13089 char *kwnames[] = {
13090 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13091 };
13092
248ed943 13093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
d55e5bfc
RD
13094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13096 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
13098 if (obj2) {
13099 arg3 = (int) SWIG_AsInt(obj2);
13100 if (PyErr_Occurred()) SWIG_fail;
13101 }
13102 if (obj3) {
13103 arg4 = (int) SWIG_AsInt(obj3);
13104 if (PyErr_Occurred()) SWIG_fail;
13105 }
13106 if (obj4) {
13107 arg5 = (int) SWIG_AsInt(obj4);
13108 if (PyErr_Occurred()) SWIG_fail;
13109 }
13110 if (obj5) {
13111 arg6 = (int) SWIG_AsInt(obj5);
13112 if (PyErr_Occurred()) SWIG_fail;
13113 }
d55e5bfc
RD
13114 if (obj6) {
13115 {
13116 arg7 = &temp7;
13117 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
13118 }
13119 }
13120 if (obj7) {
13121 {
13122 arg8 = &temp8;
13123 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
13124 }
13125 }
13126 if (obj8) {
13127 arg9 = (long) SWIG_AsLong(obj8);
13128 if (PyErr_Occurred()) SWIG_fail;
13129 }
13130 if (obj9) {
13131 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
13132 SWIG_POINTER_EXCEPTION | 0)) == -1)
13133 SWIG_fail;
13134 if (arg10 == NULL) {
13135 PyErr_SetString(PyExc_TypeError,"null reference");
13136 SWIG_fail;
13137 }
13138 }
13139 if (obj10) {
13140 {
13141 arg11 = wxString_in_helper(obj10);
13142 if (arg11 == NULL) SWIG_fail;
13143 temp11 = True;
13144 }
13145 }
13146 {
13147 PyThreadState* __tstate = wxPyBeginAllowThreads();
13148 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
13149
13150 wxPyEndAllowThreads(__tstate);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 }
13153 {
13154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13155 }
13156 {
13157 if (temp11)
13158 delete arg11;
13159 }
13160 return resultobj;
13161 fail:
13162 {
13163 if (temp11)
13164 delete arg11;
13165 }
13166 return NULL;
13167}
13168
13169
13170static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13171 PyObject *resultobj;
13172 wxSlider *arg1 = (wxSlider *) 0 ;
13173 int result;
13174 PyObject * obj0 = 0 ;
13175 char *kwnames[] = {
13176 (char *) "self", NULL
13177 };
13178
13179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
13180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13182 {
13183 PyThreadState* __tstate = wxPyBeginAllowThreads();
13184 result = (int)((wxSlider const *)arg1)->GetValue();
13185
13186 wxPyEndAllowThreads(__tstate);
13187 if (PyErr_Occurred()) SWIG_fail;
13188 }
13189 resultobj = SWIG_FromInt((int)result);
13190 return resultobj;
13191 fail:
13192 return NULL;
13193}
13194
13195
13196static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13197 PyObject *resultobj;
13198 wxSlider *arg1 = (wxSlider *) 0 ;
13199 int arg2 ;
13200 PyObject * obj0 = 0 ;
13201 PyObject * obj1 = 0 ;
13202 char *kwnames[] = {
13203 (char *) "self",(char *) "value", NULL
13204 };
13205
13206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
13207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13209 arg2 = (int) SWIG_AsInt(obj1);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 {
13212 PyThreadState* __tstate = wxPyBeginAllowThreads();
13213 (arg1)->SetValue(arg2);
13214
13215 wxPyEndAllowThreads(__tstate);
13216 if (PyErr_Occurred()) SWIG_fail;
13217 }
13218 Py_INCREF(Py_None); resultobj = Py_None;
13219 return resultobj;
13220 fail:
13221 return NULL;
13222}
13223
13224
13225static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13226 PyObject *resultobj;
13227 wxSlider *arg1 = (wxSlider *) 0 ;
13228 int arg2 ;
13229 int arg3 ;
13230 PyObject * obj0 = 0 ;
13231 PyObject * obj1 = 0 ;
13232 PyObject * obj2 = 0 ;
13233 char *kwnames[] = {
13234 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13235 };
13236
13237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13240 arg2 = (int) SWIG_AsInt(obj1);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 arg3 = (int) SWIG_AsInt(obj2);
13243 if (PyErr_Occurred()) SWIG_fail;
13244 {
13245 PyThreadState* __tstate = wxPyBeginAllowThreads();
13246 (arg1)->SetRange(arg2,arg3);
13247
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 Py_INCREF(Py_None); resultobj = Py_None;
13252 return resultobj;
13253 fail:
13254 return NULL;
13255}
13256
13257
13258static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13259 PyObject *resultobj;
13260 wxSlider *arg1 = (wxSlider *) 0 ;
13261 int result;
13262 PyObject * obj0 = 0 ;
13263 char *kwnames[] = {
13264 (char *) "self", NULL
13265 };
13266
13267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
13268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13270 {
13271 PyThreadState* __tstate = wxPyBeginAllowThreads();
13272 result = (int)((wxSlider const *)arg1)->GetMin();
13273
13274 wxPyEndAllowThreads(__tstate);
13275 if (PyErr_Occurred()) SWIG_fail;
13276 }
13277 resultobj = SWIG_FromInt((int)result);
13278 return resultobj;
13279 fail:
13280 return NULL;
13281}
13282
13283
13284static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13285 PyObject *resultobj;
13286 wxSlider *arg1 = (wxSlider *) 0 ;
13287 int result;
13288 PyObject * obj0 = 0 ;
13289 char *kwnames[] = {
13290 (char *) "self", NULL
13291 };
13292
13293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
13294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 result = (int)((wxSlider const *)arg1)->GetMax();
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 resultobj = SWIG_FromInt((int)result);
13304 return resultobj;
13305 fail:
13306 return NULL;
13307}
13308
13309
13310static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13311 PyObject *resultobj;
13312 wxSlider *arg1 = (wxSlider *) 0 ;
13313 int arg2 ;
13314 PyObject * obj0 = 0 ;
13315 PyObject * obj1 = 0 ;
13316 char *kwnames[] = {
13317 (char *) "self",(char *) "minValue", NULL
13318 };
13319
13320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
13321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13323 arg2 = (int) SWIG_AsInt(obj1);
13324 if (PyErr_Occurred()) SWIG_fail;
13325 {
13326 PyThreadState* __tstate = wxPyBeginAllowThreads();
13327 (arg1)->SetMin(arg2);
13328
13329 wxPyEndAllowThreads(__tstate);
13330 if (PyErr_Occurred()) SWIG_fail;
13331 }
13332 Py_INCREF(Py_None); resultobj = Py_None;
13333 return resultobj;
13334 fail:
13335 return NULL;
13336}
13337
13338
13339static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13340 PyObject *resultobj;
13341 wxSlider *arg1 = (wxSlider *) 0 ;
13342 int arg2 ;
13343 PyObject * obj0 = 0 ;
13344 PyObject * obj1 = 0 ;
13345 char *kwnames[] = {
13346 (char *) "self",(char *) "maxValue", NULL
13347 };
13348
13349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
13350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13352 arg2 = (int) SWIG_AsInt(obj1);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 {
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 (arg1)->SetMax(arg2);
13357
13358 wxPyEndAllowThreads(__tstate);
13359 if (PyErr_Occurred()) SWIG_fail;
13360 }
13361 Py_INCREF(Py_None); resultobj = Py_None;
13362 return resultobj;
13363 fail:
13364 return NULL;
13365}
13366
13367
13368static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13369 PyObject *resultobj;
13370 wxSlider *arg1 = (wxSlider *) 0 ;
13371 int arg2 ;
13372 PyObject * obj0 = 0 ;
13373 PyObject * obj1 = 0 ;
13374 char *kwnames[] = {
13375 (char *) "self",(char *) "lineSize", NULL
13376 };
13377
13378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
13379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13381 arg2 = (int) SWIG_AsInt(obj1);
13382 if (PyErr_Occurred()) SWIG_fail;
13383 {
13384 PyThreadState* __tstate = wxPyBeginAllowThreads();
13385 (arg1)->SetLineSize(arg2);
13386
13387 wxPyEndAllowThreads(__tstate);
13388 if (PyErr_Occurred()) SWIG_fail;
13389 }
13390 Py_INCREF(Py_None); resultobj = Py_None;
13391 return resultobj;
13392 fail:
13393 return NULL;
13394}
13395
13396
13397static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13398 PyObject *resultobj;
13399 wxSlider *arg1 = (wxSlider *) 0 ;
13400 int arg2 ;
13401 PyObject * obj0 = 0 ;
13402 PyObject * obj1 = 0 ;
13403 char *kwnames[] = {
13404 (char *) "self",(char *) "pageSize", NULL
13405 };
13406
13407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13410 arg2 = (int) SWIG_AsInt(obj1);
13411 if (PyErr_Occurred()) SWIG_fail;
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 (arg1)->SetPageSize(arg2);
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 Py_INCREF(Py_None); resultobj = Py_None;
13420 return resultobj;
13421 fail:
13422 return NULL;
13423}
13424
13425
13426static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13427 PyObject *resultobj;
13428 wxSlider *arg1 = (wxSlider *) 0 ;
13429 int result;
13430 PyObject * obj0 = 0 ;
13431 char *kwnames[] = {
13432 (char *) "self", NULL
13433 };
13434
13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
13436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13438 {
13439 PyThreadState* __tstate = wxPyBeginAllowThreads();
13440 result = (int)((wxSlider const *)arg1)->GetLineSize();
13441
13442 wxPyEndAllowThreads(__tstate);
13443 if (PyErr_Occurred()) SWIG_fail;
13444 }
13445 resultobj = SWIG_FromInt((int)result);
13446 return resultobj;
13447 fail:
13448 return NULL;
13449}
13450
13451
13452static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj;
13454 wxSlider *arg1 = (wxSlider *) 0 ;
13455 int result;
13456 PyObject * obj0 = 0 ;
13457 char *kwnames[] = {
13458 (char *) "self", NULL
13459 };
13460
13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
13462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13464 {
13465 PyThreadState* __tstate = wxPyBeginAllowThreads();
13466 result = (int)((wxSlider const *)arg1)->GetPageSize();
13467
13468 wxPyEndAllowThreads(__tstate);
13469 if (PyErr_Occurred()) SWIG_fail;
13470 }
13471 resultobj = SWIG_FromInt((int)result);
13472 return resultobj;
13473 fail:
13474 return NULL;
13475}
13476
13477
13478static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13479 PyObject *resultobj;
13480 wxSlider *arg1 = (wxSlider *) 0 ;
13481 int arg2 ;
13482 PyObject * obj0 = 0 ;
13483 PyObject * obj1 = 0 ;
13484 char *kwnames[] = {
13485 (char *) "self",(char *) "lenPixels", NULL
13486 };
13487
13488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
13489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13491 arg2 = (int) SWIG_AsInt(obj1);
13492 if (PyErr_Occurred()) SWIG_fail;
13493 {
13494 PyThreadState* __tstate = wxPyBeginAllowThreads();
13495 (arg1)->SetThumbLength(arg2);
13496
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 Py_INCREF(Py_None); resultobj = Py_None;
13501 return resultobj;
13502 fail:
13503 return NULL;
13504}
13505
13506
13507static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj;
13509 wxSlider *arg1 = (wxSlider *) 0 ;
13510 int result;
13511 PyObject * obj0 = 0 ;
13512 char *kwnames[] = {
13513 (char *) "self", NULL
13514 };
13515
13516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
13517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13519 {
13520 PyThreadState* __tstate = wxPyBeginAllowThreads();
13521 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13522
13523 wxPyEndAllowThreads(__tstate);
13524 if (PyErr_Occurred()) SWIG_fail;
13525 }
13526 resultobj = SWIG_FromInt((int)result);
13527 return resultobj;
13528 fail:
13529 return NULL;
13530}
13531
13532
13533static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13534 PyObject *resultobj;
13535 wxSlider *arg1 = (wxSlider *) 0 ;
13536 int arg2 ;
13537 int arg3 = (int) 1 ;
13538 PyObject * obj0 = 0 ;
13539 PyObject * obj1 = 0 ;
13540 PyObject * obj2 = 0 ;
13541 char *kwnames[] = {
13542 (char *) "self",(char *) "n",(char *) "pos", NULL
13543 };
13544
13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
13546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13548 arg2 = (int) SWIG_AsInt(obj1);
13549 if (PyErr_Occurred()) SWIG_fail;
13550 if (obj2) {
13551 arg3 = (int) SWIG_AsInt(obj2);
13552 if (PyErr_Occurred()) SWIG_fail;
13553 }
13554 {
13555 PyThreadState* __tstate = wxPyBeginAllowThreads();
13556 (arg1)->SetTickFreq(arg2,arg3);
13557
13558 wxPyEndAllowThreads(__tstate);
13559 if (PyErr_Occurred()) SWIG_fail;
13560 }
13561 Py_INCREF(Py_None); resultobj = Py_None;
13562 return resultobj;
13563 fail:
13564 return NULL;
13565}
13566
13567
13568static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13569 PyObject *resultobj;
13570 wxSlider *arg1 = (wxSlider *) 0 ;
13571 int result;
13572 PyObject * obj0 = 0 ;
13573 char *kwnames[] = {
13574 (char *) "self", NULL
13575 };
13576
13577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
13578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13580 {
13581 PyThreadState* __tstate = wxPyBeginAllowThreads();
13582 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13583
13584 wxPyEndAllowThreads(__tstate);
13585 if (PyErr_Occurred()) SWIG_fail;
13586 }
13587 resultobj = SWIG_FromInt((int)result);
13588 return resultobj;
13589 fail:
13590 return NULL;
13591}
13592
13593
13594static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
13595 PyObject *resultobj;
13596 wxSlider *arg1 = (wxSlider *) 0 ;
13597 PyObject * obj0 = 0 ;
13598 char *kwnames[] = {
13599 (char *) "self", NULL
13600 };
13601
13602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
13603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13605 {
13606 PyThreadState* __tstate = wxPyBeginAllowThreads();
13607 (arg1)->ClearTicks();
13608
13609 wxPyEndAllowThreads(__tstate);
13610 if (PyErr_Occurred()) SWIG_fail;
13611 }
13612 Py_INCREF(Py_None); resultobj = Py_None;
13613 return resultobj;
13614 fail:
13615 return NULL;
13616}
13617
13618
13619static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
13620 PyObject *resultobj;
13621 wxSlider *arg1 = (wxSlider *) 0 ;
13622 int arg2 ;
13623 PyObject * obj0 = 0 ;
13624 PyObject * obj1 = 0 ;
13625 char *kwnames[] = {
13626 (char *) "self",(char *) "tickPos", NULL
13627 };
13628
13629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
13630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13632 arg2 = (int) SWIG_AsInt(obj1);
13633 if (PyErr_Occurred()) SWIG_fail;
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 (arg1)->SetTick(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_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
13649 PyObject *resultobj;
13650 wxSlider *arg1 = (wxSlider *) 0 ;
13651 PyObject * obj0 = 0 ;
13652 char *kwnames[] = {
13653 (char *) "self", NULL
13654 };
13655
13656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
13657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13659 {
13660 PyThreadState* __tstate = wxPyBeginAllowThreads();
13661 (arg1)->ClearSel();
13662
13663 wxPyEndAllowThreads(__tstate);
13664 if (PyErr_Occurred()) SWIG_fail;
13665 }
13666 Py_INCREF(Py_None); resultobj = Py_None;
13667 return resultobj;
13668 fail:
13669 return NULL;
13670}
13671
13672
13673static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
13674 PyObject *resultobj;
13675 wxSlider *arg1 = (wxSlider *) 0 ;
13676 int result;
13677 PyObject * obj0 = 0 ;
13678 char *kwnames[] = {
13679 (char *) "self", NULL
13680 };
13681
13682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
13683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13685 {
13686 PyThreadState* __tstate = wxPyBeginAllowThreads();
13687 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13688
13689 wxPyEndAllowThreads(__tstate);
13690 if (PyErr_Occurred()) SWIG_fail;
13691 }
13692 resultobj = SWIG_FromInt((int)result);
13693 return resultobj;
13694 fail:
13695 return NULL;
13696}
13697
13698
13699static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
13700 PyObject *resultobj;
13701 wxSlider *arg1 = (wxSlider *) 0 ;
13702 int result;
13703 PyObject * obj0 = 0 ;
13704 char *kwnames[] = {
13705 (char *) "self", NULL
13706 };
13707
13708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
13709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 result = (int)((wxSlider const *)arg1)->GetSelStart();
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 resultobj = SWIG_FromInt((int)result);
13719 return resultobj;
13720 fail:
13721 return NULL;
13722}
13723
13724
13725static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13726 PyObject *resultobj;
13727 wxSlider *arg1 = (wxSlider *) 0 ;
13728 int arg2 ;
13729 int arg3 ;
13730 PyObject * obj0 = 0 ;
13731 PyObject * obj1 = 0 ;
13732 PyObject * obj2 = 0 ;
13733 char *kwnames[] = {
13734 (char *) "self",(char *) "min",(char *) "max", NULL
13735 };
13736
13737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13740 arg2 = (int) SWIG_AsInt(obj1);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 arg3 = (int) SWIG_AsInt(obj2);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 (arg1)->SetSelection(arg2,arg3);
13747
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
13751 Py_INCREF(Py_None); resultobj = Py_None;
13752 return resultobj;
13753 fail:
13754 return NULL;
13755}
13756
13757
f20a2e1f
RD
13758static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13759 PyObject *resultobj;
13760 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13761 wxVisualAttributes result;
13762 PyObject * obj0 = 0 ;
13763 char *kwnames[] = {
13764 (char *) "variant", NULL
13765 };
13766
13767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13768 if (obj0) {
13769 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 {
0439c23b 13773 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
13774 PyThreadState* __tstate = wxPyBeginAllowThreads();
13775 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13776
13777 wxPyEndAllowThreads(__tstate);
0439c23b 13778 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
13779 }
13780 {
13781 wxVisualAttributes * resultptr;
13782 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13783 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13784 }
13785 return resultobj;
13786 fail:
13787 return NULL;
13788}
13789
13790
d55e5bfc
RD
13791static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
13792 PyObject *obj;
13793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13794 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13795 Py_INCREF(obj);
13796 return Py_BuildValue((char *)"");
13797}
13798static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
13799 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13800 return 1;
13801}
13802
13803
13804static PyObject *_wrap_ToggleButtonNameStr_get() {
13805 PyObject *pyobj;
13806
13807 {
13808#if wxUSE_UNICODE
13809 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13810#else
13811 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13812#endif
13813 }
13814 return pyobj;
13815}
13816
13817
13818static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13819 PyObject *resultobj;
13820 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
13821 int arg2 = (int) -1 ;
13822 wxString const &arg3_defvalue = wxPyEmptyString ;
13823 wxString *arg3 = (wxString *) &arg3_defvalue ;
d55e5bfc
RD
13824 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13825 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13826 wxSize const &arg5_defvalue = wxDefaultSize ;
13827 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13828 long arg6 = (long) 0 ;
13829 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13830 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13831 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13832 wxString *arg8 = (wxString *) &arg8_defvalue ;
13833 wxToggleButton *result;
13834 bool temp3 = False ;
13835 wxPoint temp4 ;
13836 wxSize temp5 ;
13837 bool temp8 = False ;
13838 PyObject * obj0 = 0 ;
13839 PyObject * obj1 = 0 ;
13840 PyObject * obj2 = 0 ;
13841 PyObject * obj3 = 0 ;
13842 PyObject * obj4 = 0 ;
13843 PyObject * obj5 = 0 ;
13844 PyObject * obj6 = 0 ;
13845 PyObject * obj7 = 0 ;
13846 char *kwnames[] = {
13847 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13848 };
13849
248ed943 13850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d55e5bfc
RD
13851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
13853 if (obj1) {
13854 arg2 = (int) SWIG_AsInt(obj1);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 }
13857 if (obj2) {
13858 {
13859 arg3 = wxString_in_helper(obj2);
13860 if (arg3 == NULL) SWIG_fail;
13861 temp3 = True;
13862 }
d55e5bfc
RD
13863 }
13864 if (obj3) {
13865 {
13866 arg4 = &temp4;
13867 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13868 }
13869 }
13870 if (obj4) {
13871 {
13872 arg5 = &temp5;
13873 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13874 }
13875 }
13876 if (obj5) {
13877 arg6 = (long) SWIG_AsLong(obj5);
13878 if (PyErr_Occurred()) SWIG_fail;
13879 }
13880 if (obj6) {
13881 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13882 SWIG_POINTER_EXCEPTION | 0)) == -1)
13883 SWIG_fail;
13884 if (arg7 == NULL) {
13885 PyErr_SetString(PyExc_TypeError,"null reference");
13886 SWIG_fail;
13887 }
13888 }
13889 if (obj7) {
13890 {
13891 arg8 = wxString_in_helper(obj7);
13892 if (arg8 == NULL) SWIG_fail;
13893 temp8 = True;
13894 }
13895 }
13896 {
0439c23b 13897 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13900
13901 wxPyEndAllowThreads(__tstate);
0439c23b 13902 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13903 }
13904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13905 {
13906 if (temp3)
13907 delete arg3;
13908 }
13909 {
13910 if (temp8)
13911 delete arg8;
13912 }
13913 return resultobj;
13914 fail:
13915 {
13916 if (temp3)
13917 delete arg3;
13918 }
13919 {
13920 if (temp8)
13921 delete arg8;
13922 }
13923 return NULL;
13924}
13925
13926
13927static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13928 PyObject *resultobj;
13929 wxToggleButton *result;
13930 char *kwnames[] = {
13931 NULL
13932 };
13933
13934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13935 {
0439c23b 13936 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
13937 PyThreadState* __tstate = wxPyBeginAllowThreads();
13938 result = (wxToggleButton *)new wxToggleButton();
13939
13940 wxPyEndAllowThreads(__tstate);
0439c23b 13941 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
13942 }
13943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13944 return resultobj;
13945 fail:
13946 return NULL;
13947}
13948
13949
13950static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13951 PyObject *resultobj;
13952 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13953 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943
RD
13954 int arg3 = (int) -1 ;
13955 wxString const &arg4_defvalue = wxPyEmptyString ;
13956 wxString *arg4 = (wxString *) &arg4_defvalue ;
d55e5bfc
RD
13957 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13958 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13959 wxSize const &arg6_defvalue = wxDefaultSize ;
13960 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13961 long arg7 = (long) 0 ;
13962 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13963 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13964 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13965 wxString *arg9 = (wxString *) &arg9_defvalue ;
13966 bool result;
13967 bool temp4 = False ;
13968 wxPoint temp5 ;
13969 wxSize temp6 ;
13970 bool temp9 = False ;
13971 PyObject * obj0 = 0 ;
13972 PyObject * obj1 = 0 ;
13973 PyObject * obj2 = 0 ;
13974 PyObject * obj3 = 0 ;
13975 PyObject * obj4 = 0 ;
13976 PyObject * obj5 = 0 ;
13977 PyObject * obj6 = 0 ;
13978 PyObject * obj7 = 0 ;
13979 PyObject * obj8 = 0 ;
13980 char *kwnames[] = {
13981 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13982 };
13983
248ed943 13984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
d55e5bfc
RD
13985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13987 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
13989 if (obj2) {
13990 arg3 = (int) SWIG_AsInt(obj2);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
13993 if (obj3) {
13994 {
13995 arg4 = wxString_in_helper(obj3);
13996 if (arg4 == NULL) SWIG_fail;
13997 temp4 = True;
13998 }
d55e5bfc
RD
13999 }
14000 if (obj4) {
14001 {
14002 arg5 = &temp5;
14003 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14004 }
14005 }
14006 if (obj5) {
14007 {
14008 arg6 = &temp6;
14009 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14010 }
14011 }
14012 if (obj6) {
14013 arg7 = (long) SWIG_AsLong(obj6);
14014 if (PyErr_Occurred()) SWIG_fail;
14015 }
14016 if (obj7) {
14017 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
14018 SWIG_POINTER_EXCEPTION | 0)) == -1)
14019 SWIG_fail;
14020 if (arg8 == NULL) {
14021 PyErr_SetString(PyExc_TypeError,"null reference");
14022 SWIG_fail;
14023 }
14024 }
14025 if (obj8) {
14026 {
14027 arg9 = wxString_in_helper(obj8);
14028 if (arg9 == NULL) SWIG_fail;
14029 temp9 = True;
14030 }
14031 }
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
14035
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 {
14040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14041 }
14042 {
14043 if (temp4)
14044 delete arg4;
14045 }
14046 {
14047 if (temp9)
14048 delete arg9;
14049 }
14050 return resultobj;
14051 fail:
14052 {
14053 if (temp4)
14054 delete arg4;
14055 }
14056 {
14057 if (temp9)
14058 delete arg9;
14059 }
14060 return NULL;
14061}
14062
14063
14064static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
14065 PyObject *resultobj;
14066 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14067 bool arg2 ;
14068 PyObject * obj0 = 0 ;
14069 PyObject * obj1 = 0 ;
14070 char *kwnames[] = {
14071 (char *) "self",(char *) "value", NULL
14072 };
14073
14074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
14075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14077 arg2 = (bool) SWIG_AsBool(obj1);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 {
14080 PyThreadState* __tstate = wxPyBeginAllowThreads();
14081 (arg1)->SetValue(arg2);
14082
14083 wxPyEndAllowThreads(__tstate);
14084 if (PyErr_Occurred()) SWIG_fail;
14085 }
14086 Py_INCREF(Py_None); resultobj = Py_None;
14087 return resultobj;
14088 fail:
14089 return NULL;
14090}
14091
14092
14093static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
14094 PyObject *resultobj;
14095 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14096 bool result;
14097 PyObject * obj0 = 0 ;
14098 char *kwnames[] = {
14099 (char *) "self", NULL
14100 };
14101
14102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
14103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14105 {
14106 PyThreadState* __tstate = wxPyBeginAllowThreads();
14107 result = (bool)((wxToggleButton const *)arg1)->GetValue();
14108
14109 wxPyEndAllowThreads(__tstate);
14110 if (PyErr_Occurred()) SWIG_fail;
14111 }
14112 {
14113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14114 }
14115 return resultobj;
14116 fail:
14117 return NULL;
14118}
14119
14120
14121static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
14122 PyObject *resultobj;
14123 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
14124 wxString *arg2 = 0 ;
14125 bool temp2 = False ;
14126 PyObject * obj0 = 0 ;
14127 PyObject * obj1 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self",(char *) "label", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
14133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
14134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14135 {
14136 arg2 = wxString_in_helper(obj1);
14137 if (arg2 == NULL) SWIG_fail;
14138 temp2 = True;
14139 }
14140 {
14141 PyThreadState* __tstate = wxPyBeginAllowThreads();
14142 (arg1)->SetLabel((wxString const &)*arg2);
14143
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 Py_INCREF(Py_None); resultobj = Py_None;
14148 {
14149 if (temp2)
14150 delete arg2;
14151 }
14152 return resultobj;
14153 fail:
14154 {
14155 if (temp2)
14156 delete arg2;
14157 }
14158 return NULL;
14159}
14160
14161
f20a2e1f
RD
14162static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14163 PyObject *resultobj;
14164 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14165 wxVisualAttributes result;
14166 PyObject * obj0 = 0 ;
14167 char *kwnames[] = {
14168 (char *) "variant", NULL
14169 };
14170
14171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14172 if (obj0) {
14173 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14174 if (PyErr_Occurred()) SWIG_fail;
14175 }
14176 {
0439c23b 14177 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14178 PyThreadState* __tstate = wxPyBeginAllowThreads();
14179 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
14180
14181 wxPyEndAllowThreads(__tstate);
0439c23b 14182 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14183 }
14184 {
14185 wxVisualAttributes * resultptr;
14186 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14187 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14188 }
14189 return resultobj;
14190 fail:
14191 return NULL;
14192}
14193
14194
d55e5bfc
RD
14195static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
14196 PyObject *obj;
14197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14198 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
14199 Py_INCREF(obj);
14200 return Py_BuildValue((char *)"");
14201}
14202static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
14203 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
14204 return 1;
14205}
14206
14207
14208static PyObject *_wrap_NOTEBOOK_NAME_get() {
14209 PyObject *pyobj;
14210
14211 {
14212#if wxUSE_UNICODE
14213 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14214#else
14215 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
14216#endif
14217 }
14218 return pyobj;
14219}
14220
14221
14222static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14223 PyObject *resultobj;
14224 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14225 size_t result;
14226 PyObject * obj0 = 0 ;
14227 char *kwnames[] = {
14228 (char *) "self", NULL
14229 };
14230
14231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
14232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14234 {
14235 PyThreadState* __tstate = wxPyBeginAllowThreads();
14236 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
14237
14238 wxPyEndAllowThreads(__tstate);
14239 if (PyErr_Occurred()) SWIG_fail;
14240 }
14241 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14242 return resultobj;
14243 fail:
14244 return NULL;
14245}
14246
14247
14248static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14249 PyObject *resultobj;
14250 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14251 size_t arg2 ;
14252 wxWindow *result;
14253 PyObject * obj0 = 0 ;
14254 PyObject * obj1 = 0 ;
14255 char *kwnames[] = {
14256 (char *) "self",(char *) "n", NULL
14257 };
14258
14259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
14260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14262 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14263 if (PyErr_Occurred()) SWIG_fail;
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = (wxWindow *)(arg1)->GetPage(arg2);
14267
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 {
14272 resultobj = wxPyMake_wxObject(result);
14273 }
14274 return resultobj;
14275 fail:
14276 return NULL;
14277}
14278
14279
14280static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14281 PyObject *resultobj;
14282 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14283 int result;
14284 PyObject * obj0 = 0 ;
14285 char *kwnames[] = {
14286 (char *) "self", NULL
14287 };
14288
14289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
14290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14292 {
14293 PyThreadState* __tstate = wxPyBeginAllowThreads();
14294 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14295
14296 wxPyEndAllowThreads(__tstate);
14297 if (PyErr_Occurred()) SWIG_fail;
14298 }
14299 resultobj = SWIG_FromInt((int)result);
14300 return resultobj;
14301 fail:
14302 return NULL;
14303}
14304
14305
14306static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14307 PyObject *resultobj;
14308 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14309 size_t arg2 ;
14310 wxString *arg3 = 0 ;
14311 bool result;
14312 bool temp3 = False ;
14313 PyObject * obj0 = 0 ;
14314 PyObject * obj1 = 0 ;
14315 PyObject * obj2 = 0 ;
14316 char *kwnames[] = {
14317 (char *) "self",(char *) "n",(char *) "strText", NULL
14318 };
14319
14320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14323 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 {
14326 arg3 = wxString_in_helper(obj2);
14327 if (arg3 == NULL) SWIG_fail;
14328 temp3 = True;
14329 }
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14333
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 {
14338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14339 }
14340 {
14341 if (temp3)
14342 delete arg3;
14343 }
14344 return resultobj;
14345 fail:
14346 {
14347 if (temp3)
14348 delete arg3;
14349 }
14350 return NULL;
14351}
14352
14353
14354static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14357 size_t arg2 ;
14358 wxString result;
14359 PyObject * obj0 = 0 ;
14360 PyObject * obj1 = 0 ;
14361 char *kwnames[] = {
14362 (char *) "self",(char *) "n", NULL
14363 };
14364
14365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14368 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14369 if (PyErr_Occurred()) SWIG_fail;
14370 {
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14373
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 {
14378#if wxUSE_UNICODE
14379 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14380#else
14381 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14382#endif
14383 }
14384 return resultobj;
14385 fail:
14386 return NULL;
14387}
14388
14389
14390static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14391 PyObject *resultobj;
14392 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14393 wxImageList *arg2 = (wxImageList *) 0 ;
14394 PyObject * obj0 = 0 ;
14395 PyObject * obj1 = 0 ;
14396 char *kwnames[] = {
14397 (char *) "self",(char *) "imageList", NULL
14398 };
14399
14400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14403 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14405 {
14406 PyThreadState* __tstate = wxPyBeginAllowThreads();
14407 (arg1)->SetImageList(arg2);
14408
14409 wxPyEndAllowThreads(__tstate);
14410 if (PyErr_Occurred()) SWIG_fail;
14411 }
14412 Py_INCREF(Py_None); resultobj = Py_None;
14413 return resultobj;
14414 fail:
14415 return NULL;
14416}
14417
14418
14419static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14420 PyObject *resultobj;
14421 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14422 wxImageList *arg2 = (wxImageList *) 0 ;
14423 PyObject * obj0 = 0 ;
14424 PyObject * obj1 = 0 ;
14425 char *kwnames[] = {
14426 (char *) "self",(char *) "imageList", NULL
14427 };
14428
14429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14432 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14433 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 (arg1)->AssignImageList(arg2);
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 Py_INCREF(Py_None); resultobj = Py_None;
14442 return resultobj;
14443 fail:
14444 return NULL;
14445}
14446
14447
14448static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14449 PyObject *resultobj;
14450 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14451 wxImageList *result;
14452 PyObject * obj0 = 0 ;
14453 char *kwnames[] = {
14454 (char *) "self", NULL
14455 };
14456
14457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
14458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14460 {
14461 PyThreadState* __tstate = wxPyBeginAllowThreads();
14462 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14463
14464 wxPyEndAllowThreads(__tstate);
14465 if (PyErr_Occurred()) SWIG_fail;
14466 }
14467 {
14468 resultobj = wxPyMake_wxObject(result);
14469 }
14470 return resultobj;
14471 fail:
14472 return NULL;
14473}
14474
14475
14476static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14477 PyObject *resultobj;
14478 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14479 size_t arg2 ;
14480 int result;
14481 PyObject * obj0 = 0 ;
14482 PyObject * obj1 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self",(char *) "n", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14490 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14491 if (PyErr_Occurred()) SWIG_fail;
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 resultobj = SWIG_FromInt((int)result);
14500 return resultobj;
14501 fail:
14502 return NULL;
14503}
14504
14505
14506static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14509 size_t arg2 ;
14510 int arg3 ;
14511 bool result;
14512 PyObject * obj0 = 0 ;
14513 PyObject * obj1 = 0 ;
14514 PyObject * obj2 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self",(char *) "n",(char *) "imageId", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14522 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 arg3 = (int) SWIG_AsInt(obj2);
14525 if (PyErr_Occurred()) SWIG_fail;
14526 {
14527 PyThreadState* __tstate = wxPyBeginAllowThreads();
14528 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14529
14530 wxPyEndAllowThreads(__tstate);
14531 if (PyErr_Occurred()) SWIG_fail;
14532 }
14533 {
14534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14535 }
14536 return resultobj;
14537 fail:
14538 return NULL;
14539}
14540
14541
14542static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14543 PyObject *resultobj;
14544 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14545 wxSize *arg2 = 0 ;
14546 wxSize temp2 ;
14547 PyObject * obj0 = 0 ;
14548 PyObject * obj1 = 0 ;
14549 char *kwnames[] = {
14550 (char *) "self",(char *) "size", NULL
14551 };
14552
14553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14556 {
14557 arg2 = &temp2;
14558 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14559 }
14560 {
14561 PyThreadState* __tstate = wxPyBeginAllowThreads();
14562 (arg1)->SetPageSize((wxSize const &)*arg2);
14563
14564 wxPyEndAllowThreads(__tstate);
14565 if (PyErr_Occurred()) SWIG_fail;
14566 }
14567 Py_INCREF(Py_None); resultobj = Py_None;
14568 return resultobj;
14569 fail:
14570 return NULL;
14571}
14572
14573
14574static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14575 PyObject *resultobj;
14576 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14577 wxSize *arg2 = 0 ;
14578 wxSize result;
14579 wxSize temp2 ;
14580 PyObject * obj0 = 0 ;
14581 PyObject * obj1 = 0 ;
14582 char *kwnames[] = {
14583 (char *) "self",(char *) "sizePage", NULL
14584 };
14585
14586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14589 {
14590 arg2 = &temp2;
14591 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14592 }
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14596
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 {
14601 wxSize * resultptr;
14602 resultptr = new wxSize((wxSize &) result);
14603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14604 }
14605 return resultobj;
14606 fail:
14607 return NULL;
14608}
14609
14610
14611static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14612 PyObject *resultobj;
14613 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14614 size_t arg2 ;
14615 bool result;
14616 PyObject * obj0 = 0 ;
14617 PyObject * obj1 = 0 ;
14618 char *kwnames[] = {
14619 (char *) "self",(char *) "n", NULL
14620 };
14621
14622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14625 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14626 if (PyErr_Occurred()) SWIG_fail;
14627 {
14628 PyThreadState* __tstate = wxPyBeginAllowThreads();
14629 result = (bool)(arg1)->DeletePage(arg2);
14630
14631 wxPyEndAllowThreads(__tstate);
14632 if (PyErr_Occurred()) SWIG_fail;
14633 }
14634 {
14635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14636 }
14637 return resultobj;
14638 fail:
14639 return NULL;
14640}
14641
14642
14643static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14644 PyObject *resultobj;
14645 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14646 size_t arg2 ;
14647 bool result;
14648 PyObject * obj0 = 0 ;
14649 PyObject * obj1 = 0 ;
14650 char *kwnames[] = {
14651 (char *) "self",(char *) "n", NULL
14652 };
14653
14654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14657 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14658 if (PyErr_Occurred()) SWIG_fail;
14659 {
14660 PyThreadState* __tstate = wxPyBeginAllowThreads();
14661 result = (bool)(arg1)->RemovePage(arg2);
14662
14663 wxPyEndAllowThreads(__tstate);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
14666 {
14667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14668 }
14669 return resultobj;
14670 fail:
14671 return NULL;
14672}
14673
14674
14675static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
14676 PyObject *resultobj;
14677 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14678 bool result;
14679 PyObject * obj0 = 0 ;
14680 char *kwnames[] = {
14681 (char *) "self", NULL
14682 };
14683
14684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
14685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14687 {
14688 PyThreadState* __tstate = wxPyBeginAllowThreads();
14689 result = (bool)(arg1)->DeleteAllPages();
14690
14691 wxPyEndAllowThreads(__tstate);
14692 if (PyErr_Occurred()) SWIG_fail;
14693 }
14694 {
14695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14696 }
14697 return resultobj;
14698 fail:
14699 return NULL;
14700}
14701
14702
14703static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14704 PyObject *resultobj;
14705 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14706 wxWindow *arg2 = (wxWindow *) 0 ;
14707 wxString *arg3 = 0 ;
14708 bool arg4 = (bool) False ;
14709 int arg5 = (int) -1 ;
14710 bool result;
14711 bool temp3 = False ;
14712 PyObject * obj0 = 0 ;
14713 PyObject * obj1 = 0 ;
14714 PyObject * obj2 = 0 ;
14715 PyObject * obj3 = 0 ;
14716 PyObject * obj4 = 0 ;
14717 char *kwnames[] = {
14718 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14719 };
14720
14721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14726 {
14727 arg3 = wxString_in_helper(obj2);
14728 if (arg3 == NULL) SWIG_fail;
14729 temp3 = True;
14730 }
14731 if (obj3) {
14732 arg4 = (bool) SWIG_AsBool(obj3);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 if (obj4) {
14736 arg5 = (int) SWIG_AsInt(obj4);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 {
14740 PyThreadState* __tstate = wxPyBeginAllowThreads();
14741 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14742
14743 wxPyEndAllowThreads(__tstate);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 {
14747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14748 }
14749 {
14750 if (temp3)
14751 delete arg3;
14752 }
14753 return resultobj;
14754 fail:
14755 {
14756 if (temp3)
14757 delete arg3;
14758 }
14759 return NULL;
14760}
14761
14762
14763static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14764 PyObject *resultobj;
14765 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14766 size_t arg2 ;
14767 wxWindow *arg3 = (wxWindow *) 0 ;
14768 wxString *arg4 = 0 ;
14769 bool arg5 = (bool) False ;
14770 int arg6 = (int) -1 ;
14771 bool result;
14772 bool temp4 = False ;
14773 PyObject * obj0 = 0 ;
14774 PyObject * obj1 = 0 ;
14775 PyObject * obj2 = 0 ;
14776 PyObject * obj3 = 0 ;
14777 PyObject * obj4 = 0 ;
14778 PyObject * obj5 = 0 ;
14779 char *kwnames[] = {
14780 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14781 };
14782
14783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14786 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14790 {
14791 arg4 = wxString_in_helper(obj3);
14792 if (arg4 == NULL) SWIG_fail;
14793 temp4 = True;
14794 }
14795 if (obj4) {
14796 arg5 = (bool) SWIG_AsBool(obj4);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 if (obj5) {
14800 arg6 = (int) SWIG_AsInt(obj5);
14801 if (PyErr_Occurred()) SWIG_fail;
14802 }
14803 {
14804 PyThreadState* __tstate = wxPyBeginAllowThreads();
14805 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14806
14807 wxPyEndAllowThreads(__tstate);
14808 if (PyErr_Occurred()) SWIG_fail;
14809 }
14810 {
14811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14812 }
14813 {
14814 if (temp4)
14815 delete arg4;
14816 }
14817 return resultobj;
14818 fail:
14819 {
14820 if (temp4)
14821 delete arg4;
14822 }
14823 return NULL;
14824}
14825
14826
14827static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14828 PyObject *resultobj;
14829 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14830 size_t arg2 ;
14831 int result;
14832 PyObject * obj0 = 0 ;
14833 PyObject * obj1 = 0 ;
14834 char *kwnames[] = {
14835 (char *) "self",(char *) "n", NULL
14836 };
14837
14838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14841 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14842 if (PyErr_Occurred()) SWIG_fail;
14843 {
14844 PyThreadState* __tstate = wxPyBeginAllowThreads();
14845 result = (int)(arg1)->SetSelection(arg2);
14846
14847 wxPyEndAllowThreads(__tstate);
14848 if (PyErr_Occurred()) SWIG_fail;
14849 }
14850 resultobj = SWIG_FromInt((int)result);
14851 return resultobj;
14852 fail:
14853 return NULL;
14854}
14855
14856
14857static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14858 PyObject *resultobj;
14859 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14860 bool arg2 = (bool) True ;
14861 PyObject * obj0 = 0 ;
14862 PyObject * obj1 = 0 ;
14863 char *kwnames[] = {
14864 (char *) "self",(char *) "forward", NULL
14865 };
14866
14867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14870 if (obj1) {
14871 arg2 = (bool) SWIG_AsBool(obj1);
14872 if (PyErr_Occurred()) SWIG_fail;
14873 }
14874 {
14875 PyThreadState* __tstate = wxPyBeginAllowThreads();
14876 (arg1)->AdvanceSelection(arg2);
14877
14878 wxPyEndAllowThreads(__tstate);
14879 if (PyErr_Occurred()) SWIG_fail;
14880 }
14881 Py_INCREF(Py_None); resultobj = Py_None;
14882 return resultobj;
14883 fail:
14884 return NULL;
14885}
14886
14887
f20a2e1f
RD
14888static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14889 PyObject *resultobj;
14890 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14891 wxVisualAttributes result;
14892 PyObject * obj0 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "variant", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14898 if (obj0) {
14899 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 {
0439c23b 14903 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
14904 PyThreadState* __tstate = wxPyBeginAllowThreads();
14905 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14906
14907 wxPyEndAllowThreads(__tstate);
0439c23b 14908 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
14909 }
14910 {
14911 wxVisualAttributes * resultptr;
14912 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14913 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14914 }
14915 return resultobj;
14916 fail:
14917 return NULL;
14918}
14919
14920
d55e5bfc
RD
14921static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
14922 PyObject *obj;
14923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14924 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14925 Py_INCREF(obj);
14926 return Py_BuildValue((char *)"");
14927}
14928static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14929 PyObject *resultobj;
14930 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14931 int arg2 = (int) 0 ;
14932 int arg3 = (int) -1 ;
14933 int arg4 = (int) -1 ;
14934 wxBookCtrlEvent *result;
14935 PyObject * obj0 = 0 ;
14936 PyObject * obj1 = 0 ;
14937 PyObject * obj2 = 0 ;
14938 PyObject * obj3 = 0 ;
14939 char *kwnames[] = {
14940 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14944 if (obj0) {
14945 arg1 = (wxEventType) SWIG_AsInt(obj0);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 if (obj1) {
14949 arg2 = (int) SWIG_AsInt(obj1);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 if (obj2) {
14953 arg3 = (int) SWIG_AsInt(obj2);
14954 if (PyErr_Occurred()) SWIG_fail;
14955 }
14956 if (obj3) {
14957 arg4 = (int) SWIG_AsInt(obj3);
14958 if (PyErr_Occurred()) SWIG_fail;
14959 }
14960 {
14961 PyThreadState* __tstate = wxPyBeginAllowThreads();
14962 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14963
14964 wxPyEndAllowThreads(__tstate);
14965 if (PyErr_Occurred()) SWIG_fail;
14966 }
14967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14968 return resultobj;
14969 fail:
14970 return NULL;
14971}
14972
14973
14974static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14975 PyObject *resultobj;
14976 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14977 int result;
14978 PyObject * obj0 = 0 ;
14979 char *kwnames[] = {
14980 (char *) "self", NULL
14981 };
14982
14983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14986 {
14987 PyThreadState* __tstate = wxPyBeginAllowThreads();
14988 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14989
14990 wxPyEndAllowThreads(__tstate);
14991 if (PyErr_Occurred()) SWIG_fail;
14992 }
14993 resultobj = SWIG_FromInt((int)result);
14994 return resultobj;
14995 fail:
14996 return NULL;
14997}
14998
14999
15000static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
15001 PyObject *resultobj;
15002 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15003 int arg2 ;
15004 PyObject * obj0 = 0 ;
15005 PyObject * obj1 = 0 ;
15006 char *kwnames[] = {
15007 (char *) "self",(char *) "nSel", NULL
15008 };
15009
15010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
15011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15013 arg2 = (int) SWIG_AsInt(obj1);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 {
15016 PyThreadState* __tstate = wxPyBeginAllowThreads();
15017 (arg1)->SetSelection(arg2);
15018
15019 wxPyEndAllowThreads(__tstate);
15020 if (PyErr_Occurred()) SWIG_fail;
15021 }
15022 Py_INCREF(Py_None); resultobj = Py_None;
15023 return resultobj;
15024 fail:
15025 return NULL;
15026}
15027
15028
15029static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
15030 PyObject *resultobj;
15031 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15032 int result;
15033 PyObject * obj0 = 0 ;
15034 char *kwnames[] = {
15035 (char *) "self", NULL
15036 };
15037
15038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
15039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15041 {
15042 PyThreadState* __tstate = wxPyBeginAllowThreads();
15043 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
15044
15045 wxPyEndAllowThreads(__tstate);
15046 if (PyErr_Occurred()) SWIG_fail;
15047 }
15048 resultobj = SWIG_FromInt((int)result);
15049 return resultobj;
15050 fail:
15051 return NULL;
15052}
15053
15054
15055static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
15056 PyObject *resultobj;
15057 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
15058 int arg2 ;
15059 PyObject * obj0 = 0 ;
15060 PyObject * obj1 = 0 ;
15061 char *kwnames[] = {
15062 (char *) "self",(char *) "nOldSel", NULL
15063 };
15064
15065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
15066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
15067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15068 arg2 = (int) SWIG_AsInt(obj1);
15069 if (PyErr_Occurred()) SWIG_fail;
15070 {
15071 PyThreadState* __tstate = wxPyBeginAllowThreads();
15072 (arg1)->SetOldSelection(arg2);
15073
15074 wxPyEndAllowThreads(__tstate);
15075 if (PyErr_Occurred()) SWIG_fail;
15076 }
15077 Py_INCREF(Py_None); resultobj = Py_None;
15078 return resultobj;
15079 fail:
15080 return NULL;
15081}
15082
15083
15084static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
15085 PyObject *obj;
15086 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15087 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
15088 Py_INCREF(obj);
15089 return Py_BuildValue((char *)"");
15090}
15091static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15092 PyObject *resultobj;
15093 wxWindow *arg1 = (wxWindow *) 0 ;
15094 int arg2 = (int) -1 ;
15095 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15096 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15097 wxSize const &arg4_defvalue = wxDefaultSize ;
15098 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15099 long arg5 = (long) 0 ;
15100 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
15101 wxString *arg6 = (wxString *) &arg6_defvalue ;
15102 wxNotebook *result;
15103 wxPoint temp3 ;
15104 wxSize temp4 ;
15105 bool temp6 = False ;
15106 PyObject * obj0 = 0 ;
15107 PyObject * obj1 = 0 ;
15108 PyObject * obj2 = 0 ;
15109 PyObject * obj3 = 0 ;
15110 PyObject * obj4 = 0 ;
15111 PyObject * obj5 = 0 ;
15112 char *kwnames[] = {
15113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15114 };
15115
15116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15119 if (obj1) {
15120 arg2 = (int) SWIG_AsInt(obj1);
15121 if (PyErr_Occurred()) SWIG_fail;
15122 }
15123 if (obj2) {
15124 {
15125 arg3 = &temp3;
15126 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15127 }
15128 }
15129 if (obj3) {
15130 {
15131 arg4 = &temp4;
15132 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15133 }
15134 }
15135 if (obj4) {
15136 arg5 = (long) SWIG_AsLong(obj4);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 if (obj5) {
15140 {
15141 arg6 = wxString_in_helper(obj5);
15142 if (arg6 == NULL) SWIG_fail;
15143 temp6 = True;
15144 }
15145 }
15146 {
0439c23b 15147 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15148 PyThreadState* __tstate = wxPyBeginAllowThreads();
15149 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15150
15151 wxPyEndAllowThreads(__tstate);
0439c23b 15152 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15153 }
15154 {
15155 resultobj = wxPyMake_wxObject(result);
15156 }
15157 {
15158 if (temp6)
15159 delete arg6;
15160 }
15161 return resultobj;
15162 fail:
15163 {
15164 if (temp6)
15165 delete arg6;
15166 }
15167 return NULL;
15168}
15169
15170
15171static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj;
15173 wxNotebook *result;
15174 char *kwnames[] = {
15175 NULL
15176 };
15177
15178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
15179 {
0439c23b 15180 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15181 PyThreadState* __tstate = wxPyBeginAllowThreads();
15182 result = (wxNotebook *)new wxNotebook();
15183
15184 wxPyEndAllowThreads(__tstate);
0439c23b 15185 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15186 }
15187 {
15188 resultobj = wxPyMake_wxObject(result);
15189 }
15190 return resultobj;
15191 fail:
15192 return NULL;
15193}
15194
15195
15196static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15197 PyObject *resultobj;
15198 wxNotebook *arg1 = (wxNotebook *) 0 ;
15199 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 15200 int arg3 = (int) -1 ;
d55e5bfc
RD
15201 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15202 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15203 wxSize const &arg5_defvalue = wxDefaultSize ;
15204 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15205 long arg6 = (long) 0 ;
15206 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
15207 wxString *arg7 = (wxString *) &arg7_defvalue ;
15208 bool result;
15209 wxPoint temp4 ;
15210 wxSize temp5 ;
15211 bool temp7 = False ;
15212 PyObject * obj0 = 0 ;
15213 PyObject * obj1 = 0 ;
15214 PyObject * obj2 = 0 ;
15215 PyObject * obj3 = 0 ;
15216 PyObject * obj4 = 0 ;
15217 PyObject * obj5 = 0 ;
15218 PyObject * obj6 = 0 ;
15219 char *kwnames[] = {
15220 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15221 };
15222
248ed943 15223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
15224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15226 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
15228 if (obj2) {
15229 arg3 = (int) SWIG_AsInt(obj2);
15230 if (PyErr_Occurred()) SWIG_fail;
15231 }
d55e5bfc
RD
15232 if (obj3) {
15233 {
15234 arg4 = &temp4;
15235 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15236 }
15237 }
15238 if (obj4) {
15239 {
15240 arg5 = &temp5;
15241 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15242 }
15243 }
15244 if (obj5) {
15245 arg6 = (long) SWIG_AsLong(obj5);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 if (obj6) {
15249 {
15250 arg7 = wxString_in_helper(obj6);
15251 if (arg7 == NULL) SWIG_fail;
15252 temp7 = True;
15253 }
15254 }
15255 {
15256 PyThreadState* __tstate = wxPyBeginAllowThreads();
15257 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15258
15259 wxPyEndAllowThreads(__tstate);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 }
15262 {
15263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15264 }
15265 {
15266 if (temp7)
15267 delete arg7;
15268 }
15269 return resultobj;
15270 fail:
15271 {
15272 if (temp7)
15273 delete arg7;
15274 }
15275 return NULL;
15276}
15277
15278
15279static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
15280 PyObject *resultobj;
15281 wxNotebook *arg1 = (wxNotebook *) 0 ;
15282 int result;
15283 PyObject * obj0 = 0 ;
15284 char *kwnames[] = {
15285 (char *) "self", NULL
15286 };
15287
15288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15291 {
15292 PyThreadState* __tstate = wxPyBeginAllowThreads();
15293 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15294
15295 wxPyEndAllowThreads(__tstate);
15296 if (PyErr_Occurred()) SWIG_fail;
15297 }
15298 resultobj = SWIG_FromInt((int)result);
15299 return resultobj;
15300 fail:
15301 return NULL;
15302}
15303
15304
15305static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxNotebook *arg1 = (wxNotebook *) 0 ;
15308 wxSize *arg2 = 0 ;
15309 wxSize temp2 ;
15310 PyObject * obj0 = 0 ;
15311 PyObject * obj1 = 0 ;
15312 char *kwnames[] = {
15313 (char *) "self",(char *) "padding", NULL
15314 };
15315
15316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15319 {
15320 arg2 = &temp2;
15321 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15322 }
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 (arg1)->SetPadding((wxSize const &)*arg2);
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 Py_INCREF(Py_None); resultobj = Py_None;
15331 return resultobj;
15332 fail:
15333 return NULL;
15334}
15335
15336
15337static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15338 PyObject *resultobj;
15339 wxNotebook *arg1 = (wxNotebook *) 0 ;
15340 wxSize *arg2 = 0 ;
15341 wxSize temp2 ;
15342 PyObject * obj0 = 0 ;
15343 PyObject * obj1 = 0 ;
15344 char *kwnames[] = {
15345 (char *) "self",(char *) "sz", NULL
15346 };
15347
15348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15351 {
15352 arg2 = &temp2;
15353 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15354 }
15355 {
15356 PyThreadState* __tstate = wxPyBeginAllowThreads();
15357 (arg1)->SetTabSize((wxSize const &)*arg2);
15358
15359 wxPyEndAllowThreads(__tstate);
15360 if (PyErr_Occurred()) SWIG_fail;
15361 }
15362 Py_INCREF(Py_None); resultobj = Py_None;
15363 return resultobj;
15364 fail:
15365 return NULL;
15366}
15367
15368
15369static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
15370 PyObject *resultobj;
15371 wxNotebook *arg1 = (wxNotebook *) 0 ;
15372 wxPoint *arg2 = 0 ;
15373 long *arg3 = (long *) 0 ;
15374 int result;
15375 wxPoint temp2 ;
15376 long temp3 ;
15377 PyObject * obj0 = 0 ;
15378 PyObject * obj1 = 0 ;
15379 char *kwnames[] = {
15380 (char *) "self",(char *) "pt", NULL
15381 };
15382
15383 arg3 = &temp3;
15384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15387 {
15388 arg2 = &temp2;
15389 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15390 }
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
15393 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15394
15395 wxPyEndAllowThreads(__tstate);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
15398 resultobj = SWIG_FromInt((int)result);
15399 {
15400 PyObject *o = PyInt_FromLong((long) (*arg3));
15401 resultobj = t_output_helper(resultobj,o);
15402 }
15403 return resultobj;
15404 fail:
15405 return NULL;
15406}
15407
15408
15409static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
15410 PyObject *resultobj;
15411 wxNotebook *arg1 = (wxNotebook *) 0 ;
15412 wxSize *arg2 = 0 ;
15413 wxSize result;
15414 wxSize temp2 ;
15415 PyObject * obj0 = 0 ;
15416 PyObject * obj1 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self",(char *) "sizePage", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15424 {
15425 arg2 = &temp2;
15426 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15427 }
15428 {
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15431
15432 wxPyEndAllowThreads(__tstate);
15433 if (PyErr_Occurred()) SWIG_fail;
15434 }
15435 {
15436 wxSize * resultptr;
15437 resultptr = new wxSize((wxSize &) result);
15438 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15439 }
15440 return resultobj;
15441 fail:
15442 return NULL;
15443}
15444
15445
15446static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15447 PyObject *resultobj;
15448 wxNotebook *arg1 = (wxNotebook *) 0 ;
15449 wxWindow *arg2 = (wxWindow *) 0 ;
15450 wxColour *arg3 = 0 ;
15451 wxColour temp3 ;
15452 PyObject * obj0 = 0 ;
15453 PyObject * obj1 = 0 ;
15454 PyObject * obj2 = 0 ;
15455 char *kwnames[] = {
15456 (char *) "self",(char *) "window",(char *) "colour", NULL
15457 };
15458
15459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15464 {
15465 arg3 = &temp3;
15466 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
15467 }
15468 {
15469 PyThreadState* __tstate = wxPyBeginAllowThreads();
15470 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
15471
15472 wxPyEndAllowThreads(__tstate);
15473 if (PyErr_Occurred()) SWIG_fail;
15474 }
15475 Py_INCREF(Py_None); resultobj = Py_None;
15476 return resultobj;
15477 fail:
15478 return NULL;
15479}
15480
15481
f20a2e1f
RD
15482static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15483 PyObject *resultobj;
15484 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15485 wxVisualAttributes result;
15486 PyObject * obj0 = 0 ;
15487 char *kwnames[] = {
15488 (char *) "variant", NULL
15489 };
15490
15491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15492 if (obj0) {
15493 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
15494 if (PyErr_Occurred()) SWIG_fail;
15495 }
15496 {
0439c23b 15497 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
15498 PyThreadState* __tstate = wxPyBeginAllowThreads();
15499 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15500
15501 wxPyEndAllowThreads(__tstate);
0439c23b 15502 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
15503 }
15504 {
15505 wxVisualAttributes * resultptr;
15506 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15507 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15508 }
15509 return resultobj;
15510 fail:
15511 return NULL;
15512}
15513
15514
d55e5bfc
RD
15515static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
15516 PyObject *obj;
15517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15518 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15519 Py_INCREF(obj);
15520 return Py_BuildValue((char *)"");
15521}
15522static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15525 int arg2 = (int) 0 ;
15526 int arg3 = (int) -1 ;
15527 int arg4 = (int) -1 ;
15528 wxNotebookEvent *result;
15529 PyObject * obj0 = 0 ;
15530 PyObject * obj1 = 0 ;
15531 PyObject * obj2 = 0 ;
15532 PyObject * obj3 = 0 ;
15533 char *kwnames[] = {
15534 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15535 };
15536
15537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15538 if (obj0) {
15539 arg1 = (wxEventType) SWIG_AsInt(obj0);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 if (obj1) {
15543 arg2 = (int) SWIG_AsInt(obj1);
15544 if (PyErr_Occurred()) SWIG_fail;
15545 }
15546 if (obj2) {
15547 arg3 = (int) SWIG_AsInt(obj2);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 if (obj3) {
15551 arg4 = (int) SWIG_AsInt(obj3);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 {
15555 PyThreadState* __tstate = wxPyBeginAllowThreads();
15556 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15557
15558 wxPyEndAllowThreads(__tstate);
15559 if (PyErr_Occurred()) SWIG_fail;
15560 }
15561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15562 return resultobj;
15563 fail:
15564 return NULL;
15565}
15566
15567
15568static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
15569 PyObject *obj;
15570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15571 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15572 Py_INCREF(obj);
15573 return Py_BuildValue((char *)"");
15574}
15575static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15576 PyObject *resultobj;
15577 wxWindow *arg1 = (wxWindow *) 0 ;
15578 int arg2 = (int) -1 ;
15579 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15580 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15581 wxSize const &arg4_defvalue = wxDefaultSize ;
15582 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15583 long arg5 = (long) 0 ;
15584 wxString const &arg6_defvalue = wxPyEmptyString ;
15585 wxString *arg6 = (wxString *) &arg6_defvalue ;
15586 wxListbook *result;
15587 wxPoint temp3 ;
15588 wxSize temp4 ;
15589 bool temp6 = False ;
15590 PyObject * obj0 = 0 ;
15591 PyObject * obj1 = 0 ;
15592 PyObject * obj2 = 0 ;
15593 PyObject * obj3 = 0 ;
15594 PyObject * obj4 = 0 ;
15595 PyObject * obj5 = 0 ;
15596 char *kwnames[] = {
15597 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15598 };
15599
15600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15603 if (obj1) {
15604 arg2 = (int) SWIG_AsInt(obj1);
15605 if (PyErr_Occurred()) SWIG_fail;
15606 }
15607 if (obj2) {
15608 {
15609 arg3 = &temp3;
15610 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15611 }
15612 }
15613 if (obj3) {
15614 {
15615 arg4 = &temp4;
15616 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15617 }
15618 }
15619 if (obj4) {
15620 arg5 = (long) SWIG_AsLong(obj4);
15621 if (PyErr_Occurred()) SWIG_fail;
15622 }
15623 if (obj5) {
15624 {
15625 arg6 = wxString_in_helper(obj5);
15626 if (arg6 == NULL) SWIG_fail;
15627 temp6 = True;
15628 }
15629 }
15630 {
0439c23b 15631 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15634
15635 wxPyEndAllowThreads(__tstate);
0439c23b 15636 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15637 }
15638 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15639 {
15640 if (temp6)
15641 delete arg6;
15642 }
15643 return resultobj;
15644 fail:
15645 {
15646 if (temp6)
15647 delete arg6;
15648 }
15649 return NULL;
15650}
15651
15652
15653static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15654 PyObject *resultobj;
15655 wxListbook *result;
15656 char *kwnames[] = {
15657 NULL
15658 };
15659
15660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15661 {
0439c23b 15662 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 result = (wxListbook *)new wxListbook();
15665
15666 wxPyEndAllowThreads(__tstate);
0439c23b 15667 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
15668 }
15669 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15670 return resultobj;
15671 fail:
15672 return NULL;
15673}
15674
15675
15676static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15677 PyObject *resultobj;
15678 wxListbook *arg1 = (wxListbook *) 0 ;
15679 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 15680 int arg3 = (int) -1 ;
d55e5bfc
RD
15681 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15682 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15683 wxSize const &arg5_defvalue = wxDefaultSize ;
15684 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15685 long arg6 = (long) 0 ;
15686 wxString const &arg7_defvalue = wxPyEmptyString ;
15687 wxString *arg7 = (wxString *) &arg7_defvalue ;
15688 bool result;
15689 wxPoint temp4 ;
15690 wxSize temp5 ;
15691 bool temp7 = False ;
15692 PyObject * obj0 = 0 ;
15693 PyObject * obj1 = 0 ;
15694 PyObject * obj2 = 0 ;
15695 PyObject * obj3 = 0 ;
15696 PyObject * obj4 = 0 ;
15697 PyObject * obj5 = 0 ;
15698 PyObject * obj6 = 0 ;
15699 char *kwnames[] = {
15700 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15701 };
15702
248ed943 15703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
15704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
15708 if (obj2) {
15709 arg3 = (int) SWIG_AsInt(obj2);
15710 if (PyErr_Occurred()) SWIG_fail;
15711 }
d55e5bfc
RD
15712 if (obj3) {
15713 {
15714 arg4 = &temp4;
15715 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15716 }
15717 }
15718 if (obj4) {
15719 {
15720 arg5 = &temp5;
15721 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15722 }
15723 }
15724 if (obj5) {
15725 arg6 = (long) SWIG_AsLong(obj5);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 if (obj6) {
15729 {
15730 arg7 = wxString_in_helper(obj6);
15731 if (arg7 == NULL) SWIG_fail;
15732 temp7 = True;
15733 }
15734 }
15735 {
15736 PyThreadState* __tstate = wxPyBeginAllowThreads();
15737 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15738
15739 wxPyEndAllowThreads(__tstate);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 {
15743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15744 }
15745 {
15746 if (temp7)
15747 delete arg7;
15748 }
15749 return resultobj;
15750 fail:
15751 {
15752 if (temp7)
15753 delete arg7;
15754 }
15755 return NULL;
15756}
15757
15758
15759static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15760 PyObject *resultobj;
15761 wxListbook *arg1 = (wxListbook *) 0 ;
15762 bool result;
15763 PyObject * obj0 = 0 ;
15764 char *kwnames[] = {
15765 (char *) "self", NULL
15766 };
15767
15768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15771 {
15772 PyThreadState* __tstate = wxPyBeginAllowThreads();
15773 result = (bool)((wxListbook const *)arg1)->IsVertical();
15774
15775 wxPyEndAllowThreads(__tstate);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 {
15779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15780 }
15781 return resultobj;
15782 fail:
15783 return NULL;
15784}
15785
15786
15787static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
15788 PyObject *obj;
15789 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15790 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15791 Py_INCREF(obj);
15792 return Py_BuildValue((char *)"");
15793}
15794static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15795 PyObject *resultobj;
15796 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15797 int arg2 = (int) 0 ;
15798 int arg3 = (int) -1 ;
15799 int arg4 = (int) -1 ;
15800 wxListbookEvent *result;
15801 PyObject * obj0 = 0 ;
15802 PyObject * obj1 = 0 ;
15803 PyObject * obj2 = 0 ;
15804 PyObject * obj3 = 0 ;
15805 char *kwnames[] = {
15806 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15807 };
15808
15809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15810 if (obj0) {
15811 arg1 = (wxEventType) SWIG_AsInt(obj0);
15812 if (PyErr_Occurred()) SWIG_fail;
15813 }
15814 if (obj1) {
15815 arg2 = (int) SWIG_AsInt(obj1);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 if (obj2) {
15819 arg3 = (int) SWIG_AsInt(obj2);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 if (obj3) {
15823 arg4 = (int) SWIG_AsInt(obj3);
15824 if (PyErr_Occurred()) SWIG_fail;
15825 }
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15829
15830 wxPyEndAllowThreads(__tstate);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 }
15833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15834 return resultobj;
15835 fail:
15836 return NULL;
15837}
15838
15839
15840static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
15841 PyObject *obj;
15842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15843 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15844 Py_INCREF(obj);
15845 return Py_BuildValue((char *)"");
15846}
15847static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15848 PyObject *resultobj;
15849 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
15850 wxBookCtrlSizer *result;
15851 PyObject * obj0 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "nb", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
15858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15859 {
15860 PyThreadState* __tstate = wxPyBeginAllowThreads();
15861 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
15862
15863 wxPyEndAllowThreads(__tstate);
15864 if (PyErr_Occurred()) SWIG_fail;
15865 }
15866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
15867 return resultobj;
15868 fail:
15869 return NULL;
15870}
15871
15872
15873static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15876 PyObject * obj0 = 0 ;
15877 char *kwnames[] = {
15878 (char *) "self", NULL
15879 };
15880
15881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15884 {
15885 PyThreadState* __tstate = wxPyBeginAllowThreads();
15886 (arg1)->RecalcSizes();
15887
15888 wxPyEndAllowThreads(__tstate);
15889 if (PyErr_Occurred()) SWIG_fail;
15890 }
15891 Py_INCREF(Py_None); resultobj = Py_None;
15892 return resultobj;
15893 fail:
15894 return NULL;
15895}
15896
15897
15898static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15899 PyObject *resultobj;
15900 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15901 wxSize result;
15902 PyObject * obj0 = 0 ;
15903 char *kwnames[] = {
15904 (char *) "self", NULL
15905 };
15906
15907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15910 {
15911 PyThreadState* __tstate = wxPyBeginAllowThreads();
15912 result = (arg1)->CalcMin();
15913
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
15917 {
15918 wxSize * resultptr;
15919 resultptr = new wxSize((wxSize &) result);
15920 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15921 }
15922 return resultobj;
15923 fail:
15924 return NULL;
15925}
15926
15927
15928static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15929 PyObject *resultobj;
15930 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15931 wxBookCtrl *result;
15932 PyObject * obj0 = 0 ;
15933 char *kwnames[] = {
15934 (char *) "self", NULL
15935 };
15936
15937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15940 {
15941 PyThreadState* __tstate = wxPyBeginAllowThreads();
15942 result = (wxBookCtrl *)(arg1)->GetControl();
15943
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
15948 return resultobj;
15949 fail:
15950 return NULL;
15951}
15952
15953
15954static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
15955 PyObject *obj;
15956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15957 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
15958 Py_INCREF(obj);
15959 return Py_BuildValue((char *)"");
15960}
15961static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15962 PyObject *resultobj;
15963 wxNotebook *arg1 = (wxNotebook *) 0 ;
15964 wxNotebookSizer *result;
15965 PyObject * obj0 = 0 ;
15966 char *kwnames[] = {
15967 (char *) "nb", NULL
15968 };
15969
15970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15973 {
15974 PyThreadState* __tstate = wxPyBeginAllowThreads();
15975 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
15976
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
15981 return resultobj;
15982 fail:
15983 return NULL;
15984}
15985
15986
15987static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15988 PyObject *resultobj;
15989 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15990 PyObject * obj0 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "self", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15998 {
15999 PyThreadState* __tstate = wxPyBeginAllowThreads();
16000 (arg1)->RecalcSizes();
16001
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 Py_INCREF(Py_None); resultobj = Py_None;
16006 return resultobj;
16007 fail:
16008 return NULL;
16009}
16010
16011
16012static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
16013 PyObject *resultobj;
16014 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16015 wxSize result;
16016 PyObject * obj0 = 0 ;
16017 char *kwnames[] = {
16018 (char *) "self", NULL
16019 };
16020
16021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
16022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 result = (arg1)->CalcMin();
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 {
16032 wxSize * resultptr;
16033 resultptr = new wxSize((wxSize &) result);
16034 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
16035 }
16036 return resultobj;
16037 fail:
16038 return NULL;
16039}
16040
16041
16042static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
16043 PyObject *resultobj;
16044 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
16045 wxNotebook *result;
16046 PyObject * obj0 = 0 ;
16047 char *kwnames[] = {
16048 (char *) "self", NULL
16049 };
16050
16051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
16052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
16053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16054 {
16055 PyThreadState* __tstate = wxPyBeginAllowThreads();
16056 result = (wxNotebook *)(arg1)->GetNotebook();
16057
16058 wxPyEndAllowThreads(__tstate);
16059 if (PyErr_Occurred()) SWIG_fail;
16060 }
16061 {
16062 resultobj = wxPyMake_wxObject(result);
16063 }
16064 return resultobj;
16065 fail:
16066 return NULL;
16067}
16068
16069
16070static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
16071 PyObject *obj;
16072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16073 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
16074 Py_INCREF(obj);
16075 return Py_BuildValue((char *)"");
16076}
16077static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj;
16079 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16080 int result;
16081 PyObject * obj0 = 0 ;
16082 char *kwnames[] = {
16083 (char *) "self", NULL
16084 };
16085
16086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
16087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 result = (int)(arg1)->GetId();
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 resultobj = SWIG_FromInt((int)result);
16097 return resultobj;
16098 fail:
16099 return NULL;
16100}
16101
16102
16103static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16104 PyObject *resultobj;
16105 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16106 wxControl *result;
16107 PyObject * obj0 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
16113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16115 {
16116 PyThreadState* __tstate = wxPyBeginAllowThreads();
16117 result = (wxControl *)(arg1)->GetControl();
16118
16119 wxPyEndAllowThreads(__tstate);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 }
16122 {
16123 resultobj = wxPyMake_wxObject(result);
16124 }
16125 return resultobj;
16126 fail:
16127 return NULL;
16128}
16129
16130
16131static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
16132 PyObject *resultobj;
16133 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16134 wxToolBarBase *result;
16135 PyObject * obj0 = 0 ;
16136 char *kwnames[] = {
16137 (char *) "self", NULL
16138 };
16139
16140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
16141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16143 {
16144 PyThreadState* __tstate = wxPyBeginAllowThreads();
16145 result = (wxToolBarBase *)(arg1)->GetToolBar();
16146
16147 wxPyEndAllowThreads(__tstate);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 {
16151 resultobj = wxPyMake_wxObject(result);
16152 }
16153 return resultobj;
16154 fail:
16155 return NULL;
16156}
16157
16158
16159static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
16160 PyObject *resultobj;
16161 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16162 int result;
16163 PyObject * obj0 = 0 ;
16164 char *kwnames[] = {
16165 (char *) "self", NULL
16166 };
16167
16168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
16169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16171 {
16172 PyThreadState* __tstate = wxPyBeginAllowThreads();
16173 result = (int)(arg1)->IsButton();
16174
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
16178 resultobj = SWIG_FromInt((int)result);
16179 return resultobj;
16180 fail:
16181 return NULL;
16182}
16183
16184
16185static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16186 PyObject *resultobj;
16187 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16188 int result;
16189 PyObject * obj0 = 0 ;
16190 char *kwnames[] = {
16191 (char *) "self", NULL
16192 };
16193
16194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
16195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16197 {
16198 PyThreadState* __tstate = wxPyBeginAllowThreads();
16199 result = (int)(arg1)->IsControl();
16200
16201 wxPyEndAllowThreads(__tstate);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 resultobj = SWIG_FromInt((int)result);
16205 return resultobj;
16206 fail:
16207 return NULL;
16208}
16209
16210
16211static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16214 int result;
16215 PyObject * obj0 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self", NULL
16218 };
16219
16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
16221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16223 {
16224 PyThreadState* __tstate = wxPyBeginAllowThreads();
16225 result = (int)(arg1)->IsSeparator();
16226
16227 wxPyEndAllowThreads(__tstate);
16228 if (PyErr_Occurred()) SWIG_fail;
16229 }
16230 resultobj = SWIG_FromInt((int)result);
16231 return resultobj;
16232 fail:
16233 return NULL;
16234}
16235
16236
16237static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16238 PyObject *resultobj;
16239 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16240 int result;
16241 PyObject * obj0 = 0 ;
16242 char *kwnames[] = {
16243 (char *) "self", NULL
16244 };
16245
16246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
16247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16249 {
16250 PyThreadState* __tstate = wxPyBeginAllowThreads();
16251 result = (int)(arg1)->GetStyle();
16252
16253 wxPyEndAllowThreads(__tstate);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 resultobj = SWIG_FromInt((int)result);
16257 return resultobj;
16258 fail:
16259 return NULL;
16260}
16261
16262
16263static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
16264 PyObject *resultobj;
16265 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16266 int result;
16267 PyObject * obj0 = 0 ;
16268 char *kwnames[] = {
16269 (char *) "self", NULL
16270 };
16271
16272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16275 {
16276 PyThreadState* __tstate = wxPyBeginAllowThreads();
16277 result = (int)(arg1)->GetKind();
16278
16279 wxPyEndAllowThreads(__tstate);
16280 if (PyErr_Occurred()) SWIG_fail;
16281 }
16282 resultobj = SWIG_FromInt((int)result);
16283 return resultobj;
16284 fail:
16285 return NULL;
16286}
16287
16288
16289static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16290 PyObject *resultobj;
16291 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16292 bool result;
16293 PyObject * obj0 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16301 {
16302 PyThreadState* __tstate = wxPyBeginAllowThreads();
16303 result = (bool)(arg1)->IsEnabled();
16304
16305 wxPyEndAllowThreads(__tstate);
16306 if (PyErr_Occurred()) SWIG_fail;
16307 }
16308 {
16309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16310 }
16311 return resultobj;
16312 fail:
16313 return NULL;
16314}
16315
16316
16317static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16318 PyObject *resultobj;
16319 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16320 bool result;
16321 PyObject * obj0 = 0 ;
16322 char *kwnames[] = {
16323 (char *) "self", NULL
16324 };
16325
16326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
16327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16329 {
16330 PyThreadState* __tstate = wxPyBeginAllowThreads();
16331 result = (bool)(arg1)->IsToggled();
16332
16333 wxPyEndAllowThreads(__tstate);
16334 if (PyErr_Occurred()) SWIG_fail;
16335 }
16336 {
16337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16338 }
16339 return resultobj;
16340 fail:
16341 return NULL;
16342}
16343
16344
16345static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16346 PyObject *resultobj;
16347 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16348 bool result;
16349 PyObject * obj0 = 0 ;
16350 char *kwnames[] = {
16351 (char *) "self", NULL
16352 };
16353
16354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
16355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16357 {
16358 PyThreadState* __tstate = wxPyBeginAllowThreads();
16359 result = (bool)(arg1)->CanBeToggled();
16360
16361 wxPyEndAllowThreads(__tstate);
16362 if (PyErr_Occurred()) SWIG_fail;
16363 }
16364 {
16365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16366 }
16367 return resultobj;
16368 fail:
16369 return NULL;
16370}
16371
16372
16373static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16374 PyObject *resultobj;
16375 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16376 wxBitmap *result;
16377 PyObject * obj0 = 0 ;
16378 char *kwnames[] = {
16379 (char *) "self", NULL
16380 };
16381
16382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
16383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16385 {
16386 PyThreadState* __tstate = wxPyBeginAllowThreads();
16387 {
16388 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16389 result = (wxBitmap *) &_result_ref;
16390 }
16391
16392 wxPyEndAllowThreads(__tstate);
16393 if (PyErr_Occurred()) SWIG_fail;
16394 }
16395 {
16396 wxBitmap* resultptr = new wxBitmap(*result);
16397 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16398 }
16399 return resultobj;
16400 fail:
16401 return NULL;
16402}
16403
16404
16405static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16406 PyObject *resultobj;
16407 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16408 wxBitmap *result;
16409 PyObject * obj0 = 0 ;
16410 char *kwnames[] = {
16411 (char *) "self", NULL
16412 };
16413
16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16417 {
16418 PyThreadState* __tstate = wxPyBeginAllowThreads();
16419 {
16420 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16421 result = (wxBitmap *) &_result_ref;
16422 }
16423
16424 wxPyEndAllowThreads(__tstate);
16425 if (PyErr_Occurred()) SWIG_fail;
16426 }
16427 {
16428 wxBitmap* resultptr = new wxBitmap(*result);
16429 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16430 }
16431 return resultobj;
16432 fail:
16433 return NULL;
16434}
16435
16436
16437static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16440 wxBitmap result;
16441 PyObject * obj0 = 0 ;
16442 char *kwnames[] = {
16443 (char *) "self", NULL
16444 };
16445
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 result = (arg1)->GetBitmap();
16452
16453 wxPyEndAllowThreads(__tstate);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
16456 {
16457 wxBitmap * resultptr;
16458 resultptr = new wxBitmap((wxBitmap &) result);
16459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16460 }
16461 return resultobj;
16462 fail:
16463 return NULL;
16464}
16465
16466
16467static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16468 PyObject *resultobj;
16469 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16470 wxString result;
16471 PyObject * obj0 = 0 ;
16472 char *kwnames[] = {
16473 (char *) "self", NULL
16474 };
16475
16476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
16477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16479 {
16480 PyThreadState* __tstate = wxPyBeginAllowThreads();
16481 result = (arg1)->GetLabel();
16482
16483 wxPyEndAllowThreads(__tstate);
16484 if (PyErr_Occurred()) SWIG_fail;
16485 }
16486 {
16487#if wxUSE_UNICODE
16488 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16489#else
16490 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16491#endif
16492 }
16493 return resultobj;
16494 fail:
16495 return NULL;
16496}
16497
16498
16499static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj;
16501 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16502 wxString result;
16503 PyObject * obj0 = 0 ;
16504 char *kwnames[] = {
16505 (char *) "self", NULL
16506 };
16507
16508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16511 {
16512 PyThreadState* __tstate = wxPyBeginAllowThreads();
16513 result = (arg1)->GetShortHelp();
16514
16515 wxPyEndAllowThreads(__tstate);
16516 if (PyErr_Occurred()) SWIG_fail;
16517 }
16518 {
16519#if wxUSE_UNICODE
16520 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16521#else
16522 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16523#endif
16524 }
16525 return resultobj;
16526 fail:
16527 return NULL;
16528}
16529
16530
16531static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16532 PyObject *resultobj;
16533 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16534 wxString result;
16535 PyObject * obj0 = 0 ;
16536 char *kwnames[] = {
16537 (char *) "self", NULL
16538 };
16539
16540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16543 {
16544 PyThreadState* __tstate = wxPyBeginAllowThreads();
16545 result = (arg1)->GetLongHelp();
16546
16547 wxPyEndAllowThreads(__tstate);
16548 if (PyErr_Occurred()) SWIG_fail;
16549 }
16550 {
16551#if wxUSE_UNICODE
16552 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16553#else
16554 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16555#endif
16556 }
16557 return resultobj;
16558 fail:
16559 return NULL;
16560}
16561
16562
16563static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
16564 PyObject *resultobj;
16565 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16566 bool arg2 ;
16567 bool result;
16568 PyObject * obj0 = 0 ;
16569 PyObject * obj1 = 0 ;
16570 char *kwnames[] = {
16571 (char *) "self",(char *) "enable", NULL
16572 };
16573
16574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
16575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16577 arg2 = (bool) SWIG_AsBool(obj1);
16578 if (PyErr_Occurred()) SWIG_fail;
16579 {
16580 PyThreadState* __tstate = wxPyBeginAllowThreads();
16581 result = (bool)(arg1)->Enable(arg2);
16582
16583 wxPyEndAllowThreads(__tstate);
16584 if (PyErr_Occurred()) SWIG_fail;
16585 }
16586 {
16587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16588 }
16589 return resultobj;
16590 fail:
16591 return NULL;
16592}
16593
16594
16595static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16596 PyObject *resultobj;
16597 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16598 PyObject * obj0 = 0 ;
16599 char *kwnames[] = {
16600 (char *) "self", NULL
16601 };
16602
16603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
16604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16606 {
16607 PyThreadState* __tstate = wxPyBeginAllowThreads();
16608 (arg1)->Toggle();
16609
16610 wxPyEndAllowThreads(__tstate);
16611 if (PyErr_Occurred()) SWIG_fail;
16612 }
16613 Py_INCREF(Py_None); resultobj = Py_None;
16614 return resultobj;
16615 fail:
16616 return NULL;
16617}
16618
16619
16620static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16621 PyObject *resultobj;
16622 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16623 bool arg2 ;
16624 bool result;
16625 PyObject * obj0 = 0 ;
16626 PyObject * obj1 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "self",(char *) "toggle", NULL
16629 };
16630
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
16632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16634 arg2 = (bool) SWIG_AsBool(obj1);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 result = (bool)(arg1)->SetToggle(arg2);
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 {
16644 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16645 }
16646 return resultobj;
16647 fail:
16648 return NULL;
16649}
16650
16651
16652static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16653 PyObject *resultobj;
16654 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16655 wxString *arg2 = 0 ;
16656 bool result;
16657 bool temp2 = False ;
16658 PyObject * obj0 = 0 ;
16659 PyObject * obj1 = 0 ;
16660 char *kwnames[] = {
16661 (char *) "self",(char *) "help", NULL
16662 };
16663
16664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
16665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16667 {
16668 arg2 = wxString_in_helper(obj1);
16669 if (arg2 == NULL) SWIG_fail;
16670 temp2 = True;
16671 }
16672 {
16673 PyThreadState* __tstate = wxPyBeginAllowThreads();
16674 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16675
16676 wxPyEndAllowThreads(__tstate);
16677 if (PyErr_Occurred()) SWIG_fail;
16678 }
16679 {
16680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16681 }
16682 {
16683 if (temp2)
16684 delete arg2;
16685 }
16686 return resultobj;
16687 fail:
16688 {
16689 if (temp2)
16690 delete arg2;
16691 }
16692 return NULL;
16693}
16694
16695
16696static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16697 PyObject *resultobj;
16698 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16699 wxString *arg2 = 0 ;
16700 bool result;
16701 bool temp2 = False ;
16702 PyObject * obj0 = 0 ;
16703 PyObject * obj1 = 0 ;
16704 char *kwnames[] = {
16705 (char *) "self",(char *) "help", NULL
16706 };
16707
16708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
16709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16711 {
16712 arg2 = wxString_in_helper(obj1);
16713 if (arg2 == NULL) SWIG_fail;
16714 temp2 = True;
16715 }
16716 {
16717 PyThreadState* __tstate = wxPyBeginAllowThreads();
16718 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
16719
16720 wxPyEndAllowThreads(__tstate);
16721 if (PyErr_Occurred()) SWIG_fail;
16722 }
16723 {
16724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16725 }
16726 {
16727 if (temp2)
16728 delete arg2;
16729 }
16730 return resultobj;
16731 fail:
16732 {
16733 if (temp2)
16734 delete arg2;
16735 }
16736 return NULL;
16737}
16738
16739
16740static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16741 PyObject *resultobj;
16742 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16743 wxBitmap *arg2 = 0 ;
16744 PyObject * obj0 = 0 ;
16745 PyObject * obj1 = 0 ;
16746 char *kwnames[] = {
16747 (char *) "self",(char *) "bmp", NULL
16748 };
16749
16750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
16751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16753 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16754 SWIG_POINTER_EXCEPTION | 0)) == -1)
16755 SWIG_fail;
16756 if (arg2 == NULL) {
16757 PyErr_SetString(PyExc_TypeError,"null reference");
16758 SWIG_fail;
16759 }
16760 {
16761 PyThreadState* __tstate = wxPyBeginAllowThreads();
16762 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
16763
16764 wxPyEndAllowThreads(__tstate);
16765 if (PyErr_Occurred()) SWIG_fail;
16766 }
16767 Py_INCREF(Py_None); resultobj = Py_None;
16768 return resultobj;
16769 fail:
16770 return NULL;
16771}
16772
16773
16774static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16775 PyObject *resultobj;
16776 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16777 wxBitmap *arg2 = 0 ;
16778 PyObject * obj0 = 0 ;
16779 PyObject * obj1 = 0 ;
16780 char *kwnames[] = {
16781 (char *) "self",(char *) "bmp", NULL
16782 };
16783
16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
16785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16788 SWIG_POINTER_EXCEPTION | 0)) == -1)
16789 SWIG_fail;
16790 if (arg2 == NULL) {
16791 PyErr_SetString(PyExc_TypeError,"null reference");
16792 SWIG_fail;
16793 }
16794 {
16795 PyThreadState* __tstate = wxPyBeginAllowThreads();
16796 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
16797
16798 wxPyEndAllowThreads(__tstate);
16799 if (PyErr_Occurred()) SWIG_fail;
16800 }
16801 Py_INCREF(Py_None); resultobj = Py_None;
16802 return resultobj;
16803 fail:
16804 return NULL;
16805}
16806
16807
16808static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16809 PyObject *resultobj;
16810 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16811 wxString *arg2 = 0 ;
16812 bool temp2 = False ;
16813 PyObject * obj0 = 0 ;
16814 PyObject * obj1 = 0 ;
16815 char *kwnames[] = {
16816 (char *) "self",(char *) "label", NULL
16817 };
16818
16819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16822 {
16823 arg2 = wxString_in_helper(obj1);
16824 if (arg2 == NULL) SWIG_fail;
16825 temp2 = True;
16826 }
16827 {
16828 PyThreadState* __tstate = wxPyBeginAllowThreads();
16829 (arg1)->SetLabel((wxString const &)*arg2);
16830
16831 wxPyEndAllowThreads(__tstate);
16832 if (PyErr_Occurred()) SWIG_fail;
16833 }
16834 Py_INCREF(Py_None); resultobj = Py_None;
16835 {
16836 if (temp2)
16837 delete arg2;
16838 }
16839 return resultobj;
16840 fail:
16841 {
16842 if (temp2)
16843 delete arg2;
16844 }
16845 return NULL;
16846}
16847
16848
16849static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
16850 PyObject *resultobj;
16851 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16852 PyObject * obj0 = 0 ;
16853 char *kwnames[] = {
16854 (char *) "self", NULL
16855 };
16856
16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
16858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16860 {
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
16862 (arg1)->Detach();
16863
16864 wxPyEndAllowThreads(__tstate);
16865 if (PyErr_Occurred()) SWIG_fail;
16866 }
16867 Py_INCREF(Py_None); resultobj = Py_None;
16868 return resultobj;
16869 fail:
16870 return NULL;
16871}
16872
16873
16874static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
16875 PyObject *resultobj;
16876 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16877 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
16878 PyObject * obj0 = 0 ;
16879 PyObject * obj1 = 0 ;
16880 char *kwnames[] = {
16881 (char *) "self",(char *) "tbar", NULL
16882 };
16883
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
16885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16887 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
16888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16889 {
16890 PyThreadState* __tstate = wxPyBeginAllowThreads();
16891 (arg1)->Attach(arg2);
16892
16893 wxPyEndAllowThreads(__tstate);
16894 if (PyErr_Occurred()) SWIG_fail;
16895 }
16896 Py_INCREF(Py_None); resultobj = Py_None;
16897 return resultobj;
16898 fail:
16899 return NULL;
16900}
16901
16902
16903static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16904 PyObject *resultobj;
16905 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16906 PyObject *result;
16907 PyObject * obj0 = 0 ;
16908 char *kwnames[] = {
16909 (char *) "self", NULL
16910 };
16911
16912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
16913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
16917 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
16918
16919 wxPyEndAllowThreads(__tstate);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 resultobj = result;
16923 return resultobj;
16924 fail:
16925 return NULL;
16926}
16927
16928
16929static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16930 PyObject *resultobj;
16931 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16932 PyObject *arg2 = (PyObject *) 0 ;
16933 PyObject * obj0 = 0 ;
16934 PyObject * obj1 = 0 ;
16935 char *kwnames[] = {
16936 (char *) "self",(char *) "clientData", NULL
16937 };
16938
16939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
16940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16942 arg2 = obj1;
16943 {
16944 PyThreadState* __tstate = wxPyBeginAllowThreads();
16945 wxToolBarToolBase_SetClientData(arg1,arg2);
16946
16947 wxPyEndAllowThreads(__tstate);
16948 if (PyErr_Occurred()) SWIG_fail;
16949 }
16950 Py_INCREF(Py_None); resultobj = Py_None;
16951 return resultobj;
16952 fail:
16953 return NULL;
16954}
16955
16956
16957static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
16958 PyObject *obj;
16959 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16960 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
16961 Py_INCREF(obj);
16962 return Py_BuildValue((char *)"");
16963}
16964static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16965 PyObject *resultobj;
16966 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16967 int arg2 ;
16968 wxString *arg3 = 0 ;
16969 wxBitmap *arg4 = 0 ;
16970 wxBitmap const &arg5_defvalue = wxNullBitmap ;
16971 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
16972 int arg6 = (int) wxITEM_NORMAL ;
16973 wxString const &arg7_defvalue = wxPyEmptyString ;
16974 wxString *arg7 = (wxString *) &arg7_defvalue ;
16975 wxString const &arg8_defvalue = wxPyEmptyString ;
16976 wxString *arg8 = (wxString *) &arg8_defvalue ;
16977 PyObject *arg9 = (PyObject *) NULL ;
16978 wxToolBarToolBase *result;
16979 bool temp3 = False ;
16980 bool temp7 = False ;
16981 bool temp8 = False ;
16982 PyObject * obj0 = 0 ;
16983 PyObject * obj1 = 0 ;
16984 PyObject * obj2 = 0 ;
16985 PyObject * obj3 = 0 ;
16986 PyObject * obj4 = 0 ;
16987 PyObject * obj5 = 0 ;
16988 PyObject * obj6 = 0 ;
16989 PyObject * obj7 = 0 ;
16990 PyObject * obj8 = 0 ;
16991 char *kwnames[] = {
16992 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16993 };
16994
16995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16998 arg2 = (int) SWIG_AsInt(obj1);
16999 if (PyErr_Occurred()) SWIG_fail;
17000 {
17001 arg3 = wxString_in_helper(obj2);
17002 if (arg3 == NULL) SWIG_fail;
17003 temp3 = True;
17004 }
17005 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
17006 SWIG_POINTER_EXCEPTION | 0)) == -1)
17007 SWIG_fail;
17008 if (arg4 == NULL) {
17009 PyErr_SetString(PyExc_TypeError,"null reference");
17010 SWIG_fail;
17011 }
17012 if (obj4) {
17013 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17014 SWIG_POINTER_EXCEPTION | 0)) == -1)
17015 SWIG_fail;
17016 if (arg5 == NULL) {
17017 PyErr_SetString(PyExc_TypeError,"null reference");
17018 SWIG_fail;
17019 }
17020 }
17021 if (obj5) {
17022 arg6 = (wxItemKind) SWIG_AsInt(obj5);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 }
17025 if (obj6) {
17026 {
17027 arg7 = wxString_in_helper(obj6);
17028 if (arg7 == NULL) SWIG_fail;
17029 temp7 = True;
17030 }
17031 }
17032 if (obj7) {
17033 {
17034 arg8 = wxString_in_helper(obj7);
17035 if (arg8 == NULL) SWIG_fail;
17036 temp8 = True;
17037 }
17038 }
17039 if (obj8) {
17040 arg9 = obj8;
17041 }
17042 {
17043 PyThreadState* __tstate = wxPyBeginAllowThreads();
17044 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
17045
17046 wxPyEndAllowThreads(__tstate);
17047 if (PyErr_Occurred()) SWIG_fail;
17048 }
17049 {
17050 resultobj = wxPyMake_wxObject(result);
17051 }
17052 {
17053 if (temp3)
17054 delete arg3;
17055 }
17056 {
17057 if (temp7)
17058 delete arg7;
17059 }
17060 {
17061 if (temp8)
17062 delete arg8;
17063 }
17064 return resultobj;
17065 fail:
17066 {
17067 if (temp3)
17068 delete arg3;
17069 }
17070 {
17071 if (temp7)
17072 delete arg7;
17073 }
17074 {
17075 if (temp8)
17076 delete arg8;
17077 }
17078 return NULL;
17079}
17080
17081
17082static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17083 PyObject *resultobj;
17084 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17085 size_t arg2 ;
17086 int arg3 ;
17087 wxString *arg4 = 0 ;
17088 wxBitmap *arg5 = 0 ;
17089 wxBitmap const &arg6_defvalue = wxNullBitmap ;
17090 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
17091 int arg7 = (int) wxITEM_NORMAL ;
17092 wxString const &arg8_defvalue = wxPyEmptyString ;
17093 wxString *arg8 = (wxString *) &arg8_defvalue ;
17094 wxString const &arg9_defvalue = wxPyEmptyString ;
17095 wxString *arg9 = (wxString *) &arg9_defvalue ;
17096 PyObject *arg10 = (PyObject *) NULL ;
17097 wxToolBarToolBase *result;
17098 bool temp4 = False ;
17099 bool temp8 = False ;
17100 bool temp9 = False ;
17101 PyObject * obj0 = 0 ;
17102 PyObject * obj1 = 0 ;
17103 PyObject * obj2 = 0 ;
17104 PyObject * obj3 = 0 ;
17105 PyObject * obj4 = 0 ;
17106 PyObject * obj5 = 0 ;
17107 PyObject * obj6 = 0 ;
17108 PyObject * obj7 = 0 ;
17109 PyObject * obj8 = 0 ;
17110 PyObject * obj9 = 0 ;
17111 char *kwnames[] = {
17112 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17113 };
17114
17115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
17116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17118 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17119 if (PyErr_Occurred()) SWIG_fail;
17120 arg3 = (int) SWIG_AsInt(obj2);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 {
17123 arg4 = wxString_in_helper(obj3);
17124 if (arg4 == NULL) SWIG_fail;
17125 temp4 = True;
17126 }
17127 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
17128 SWIG_POINTER_EXCEPTION | 0)) == -1)
17129 SWIG_fail;
17130 if (arg5 == NULL) {
17131 PyErr_SetString(PyExc_TypeError,"null reference");
17132 SWIG_fail;
17133 }
17134 if (obj5) {
17135 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
17136 SWIG_POINTER_EXCEPTION | 0)) == -1)
17137 SWIG_fail;
17138 if (arg6 == NULL) {
17139 PyErr_SetString(PyExc_TypeError,"null reference");
17140 SWIG_fail;
17141 }
17142 }
17143 if (obj6) {
17144 arg7 = (wxItemKind) SWIG_AsInt(obj6);
17145 if (PyErr_Occurred()) SWIG_fail;
17146 }
17147 if (obj7) {
17148 {
17149 arg8 = wxString_in_helper(obj7);
17150 if (arg8 == NULL) SWIG_fail;
17151 temp8 = True;
17152 }
17153 }
17154 if (obj8) {
17155 {
17156 arg9 = wxString_in_helper(obj8);
17157 if (arg9 == NULL) SWIG_fail;
17158 temp9 = True;
17159 }
17160 }
17161 if (obj9) {
17162 arg10 = obj9;
17163 }
17164 {
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 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);
17167
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 {
17172 resultobj = wxPyMake_wxObject(result);
17173 }
17174 {
17175 if (temp4)
17176 delete arg4;
17177 }
17178 {
17179 if (temp8)
17180 delete arg8;
17181 }
17182 {
17183 if (temp9)
17184 delete arg9;
17185 }
17186 return resultobj;
17187 fail:
17188 {
17189 if (temp4)
17190 delete arg4;
17191 }
17192 {
17193 if (temp8)
17194 delete arg8;
17195 }
17196 {
17197 if (temp9)
17198 delete arg9;
17199 }
17200 return NULL;
17201}
17202
17203
17204static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17205 PyObject *resultobj;
17206 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17207 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
17208 wxToolBarToolBase *result;
17209 PyObject * obj0 = 0 ;
17210 PyObject * obj1 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self",(char *) "tool", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
17216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
17219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17220 {
17221 PyThreadState* __tstate = wxPyBeginAllowThreads();
17222 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
17223
17224 wxPyEndAllowThreads(__tstate);
17225 if (PyErr_Occurred()) SWIG_fail;
17226 }
17227 {
17228 resultobj = wxPyMake_wxObject(result);
17229 }
17230 return resultobj;
17231 fail:
17232 return NULL;
17233}
17234
17235
17236static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17237 PyObject *resultobj;
17238 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17239 size_t arg2 ;
17240 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17241 wxToolBarToolBase *result;
17242 PyObject * obj0 = 0 ;
17243 PyObject * obj1 = 0 ;
17244 PyObject * obj2 = 0 ;
17245 char *kwnames[] = {
17246 (char *) "self",(char *) "pos",(char *) "tool", NULL
17247 };
17248
17249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
17250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17252 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17253 if (PyErr_Occurred()) SWIG_fail;
17254 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17256 {
17257 PyThreadState* __tstate = wxPyBeginAllowThreads();
17258 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17259
17260 wxPyEndAllowThreads(__tstate);
17261 if (PyErr_Occurred()) SWIG_fail;
17262 }
17263 {
17264 resultobj = wxPyMake_wxObject(result);
17265 }
17266 return resultobj;
17267 fail:
17268 return NULL;
17269}
17270
17271
17272static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17273 PyObject *resultobj;
17274 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17275 wxControl *arg2 = (wxControl *) 0 ;
17276 wxToolBarToolBase *result;
17277 PyObject * obj0 = 0 ;
17278 PyObject * obj1 = 0 ;
17279 char *kwnames[] = {
17280 (char *) "self",(char *) "control", NULL
17281 };
17282
17283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17288 {
17289 PyThreadState* __tstate = wxPyBeginAllowThreads();
17290 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17291
17292 wxPyEndAllowThreads(__tstate);
17293 if (PyErr_Occurred()) SWIG_fail;
17294 }
17295 {
17296 resultobj = wxPyMake_wxObject(result);
17297 }
17298 return resultobj;
17299 fail:
17300 return NULL;
17301}
17302
17303
17304static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17305 PyObject *resultobj;
17306 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17307 size_t arg2 ;
17308 wxControl *arg3 = (wxControl *) 0 ;
17309 wxToolBarToolBase *result;
17310 PyObject * obj0 = 0 ;
17311 PyObject * obj1 = 0 ;
17312 PyObject * obj2 = 0 ;
17313 char *kwnames[] = {
17314 (char *) "self",(char *) "pos",(char *) "control", NULL
17315 };
17316
17317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17320 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17321 if (PyErr_Occurred()) SWIG_fail;
17322 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17324 {
17325 PyThreadState* __tstate = wxPyBeginAllowThreads();
17326 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17327
17328 wxPyEndAllowThreads(__tstate);
17329 if (PyErr_Occurred()) SWIG_fail;
17330 }
17331 {
17332 resultobj = wxPyMake_wxObject(result);
17333 }
17334 return resultobj;
17335 fail:
17336 return NULL;
17337}
17338
17339
17340static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17341 PyObject *resultobj;
17342 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17343 int arg2 ;
17344 wxControl *result;
17345 PyObject * obj0 = 0 ;
17346 PyObject * obj1 = 0 ;
17347 char *kwnames[] = {
17348 (char *) "self",(char *) "id", NULL
17349 };
17350
17351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17354 arg2 = (int) SWIG_AsInt(obj1);
17355 if (PyErr_Occurred()) SWIG_fail;
17356 {
17357 PyThreadState* __tstate = wxPyBeginAllowThreads();
17358 result = (wxControl *)(arg1)->FindControl(arg2);
17359
17360 wxPyEndAllowThreads(__tstate);
17361 if (PyErr_Occurred()) SWIG_fail;
17362 }
17363 {
17364 resultobj = wxPyMake_wxObject(result);
17365 }
17366 return resultobj;
17367 fail:
17368 return NULL;
17369}
17370
17371
17372static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17373 PyObject *resultobj;
17374 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17375 wxToolBarToolBase *result;
17376 PyObject * obj0 = 0 ;
17377 char *kwnames[] = {
17378 (char *) "self", NULL
17379 };
17380
17381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17384 {
17385 PyThreadState* __tstate = wxPyBeginAllowThreads();
17386 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17387
17388 wxPyEndAllowThreads(__tstate);
17389 if (PyErr_Occurred()) SWIG_fail;
17390 }
17391 {
17392 resultobj = wxPyMake_wxObject(result);
17393 }
17394 return resultobj;
17395 fail:
17396 return NULL;
17397}
17398
17399
17400static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17401 PyObject *resultobj;
17402 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17403 size_t arg2 ;
17404 wxToolBarToolBase *result;
17405 PyObject * obj0 = 0 ;
17406 PyObject * obj1 = 0 ;
17407 char *kwnames[] = {
17408 (char *) "self",(char *) "pos", NULL
17409 };
17410
17411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17414 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17415 if (PyErr_Occurred()) SWIG_fail;
17416 {
17417 PyThreadState* __tstate = wxPyBeginAllowThreads();
17418 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17419
17420 wxPyEndAllowThreads(__tstate);
17421 if (PyErr_Occurred()) SWIG_fail;
17422 }
17423 {
17424 resultobj = wxPyMake_wxObject(result);
17425 }
17426 return resultobj;
17427 fail:
17428 return NULL;
17429}
17430
17431
17432static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17433 PyObject *resultobj;
17434 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17435 int arg2 ;
17436 wxToolBarToolBase *result;
17437 PyObject * obj0 = 0 ;
17438 PyObject * obj1 = 0 ;
17439 char *kwnames[] = {
17440 (char *) "self",(char *) "id", NULL
17441 };
17442
17443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17446 arg2 = (int) SWIG_AsInt(obj1);
17447 if (PyErr_Occurred()) SWIG_fail;
17448 {
17449 PyThreadState* __tstate = wxPyBeginAllowThreads();
17450 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17451
17452 wxPyEndAllowThreads(__tstate);
17453 if (PyErr_Occurred()) SWIG_fail;
17454 }
17455 {
17456 resultobj = wxPyMake_wxObject(result);
17457 }
17458 return resultobj;
17459 fail:
17460 return NULL;
17461}
17462
17463
17464static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17465 PyObject *resultobj;
17466 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17467 size_t arg2 ;
17468 bool result;
17469 PyObject * obj0 = 0 ;
17470 PyObject * obj1 = 0 ;
17471 char *kwnames[] = {
17472 (char *) "self",(char *) "pos", NULL
17473 };
17474
17475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17478 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17479 if (PyErr_Occurred()) SWIG_fail;
17480 {
17481 PyThreadState* __tstate = wxPyBeginAllowThreads();
17482 result = (bool)(arg1)->DeleteToolByPos(arg2);
17483
17484 wxPyEndAllowThreads(__tstate);
17485 if (PyErr_Occurred()) SWIG_fail;
17486 }
17487 {
17488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17489 }
17490 return resultobj;
17491 fail:
17492 return NULL;
17493}
17494
17495
17496static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17497 PyObject *resultobj;
17498 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17499 int arg2 ;
17500 bool result;
17501 PyObject * obj0 = 0 ;
17502 PyObject * obj1 = 0 ;
17503 char *kwnames[] = {
17504 (char *) "self",(char *) "id", NULL
17505 };
17506
17507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17510 arg2 = (int) SWIG_AsInt(obj1);
17511 if (PyErr_Occurred()) SWIG_fail;
17512 {
17513 PyThreadState* __tstate = wxPyBeginAllowThreads();
17514 result = (bool)(arg1)->DeleteTool(arg2);
17515
17516 wxPyEndAllowThreads(__tstate);
17517 if (PyErr_Occurred()) SWIG_fail;
17518 }
17519 {
17520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17521 }
17522 return resultobj;
17523 fail:
17524 return NULL;
17525}
17526
17527
17528static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
17529 PyObject *resultobj;
17530 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17531 PyObject * obj0 = 0 ;
17532 char *kwnames[] = {
17533 (char *) "self", NULL
17534 };
17535
17536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17539 {
17540 PyThreadState* __tstate = wxPyBeginAllowThreads();
17541 (arg1)->ClearTools();
17542
17543 wxPyEndAllowThreads(__tstate);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
17546 Py_INCREF(Py_None); resultobj = Py_None;
17547 return resultobj;
17548 fail:
17549 return NULL;
17550}
17551
17552
17553static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
17554 PyObject *resultobj;
17555 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17556 bool result;
17557 PyObject * obj0 = 0 ;
17558 char *kwnames[] = {
17559 (char *) "self", NULL
17560 };
17561
17562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17565 {
17566 PyThreadState* __tstate = wxPyBeginAllowThreads();
17567 result = (bool)(arg1)->Realize();
17568
17569 wxPyEndAllowThreads(__tstate);
17570 if (PyErr_Occurred()) SWIG_fail;
17571 }
17572 {
17573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17574 }
17575 return resultobj;
17576 fail:
17577 return NULL;
17578}
17579
17580
17581static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17582 PyObject *resultobj;
17583 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17584 int arg2 ;
17585 bool arg3 ;
17586 PyObject * obj0 = 0 ;
17587 PyObject * obj1 = 0 ;
17588 PyObject * obj2 = 0 ;
17589 char *kwnames[] = {
17590 (char *) "self",(char *) "id",(char *) "enable", NULL
17591 };
17592
17593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17596 arg2 = (int) SWIG_AsInt(obj1);
17597 if (PyErr_Occurred()) SWIG_fail;
17598 arg3 = (bool) SWIG_AsBool(obj2);
17599 if (PyErr_Occurred()) SWIG_fail;
17600 {
17601 PyThreadState* __tstate = wxPyBeginAllowThreads();
17602 (arg1)->EnableTool(arg2,arg3);
17603
17604 wxPyEndAllowThreads(__tstate);
17605 if (PyErr_Occurred()) SWIG_fail;
17606 }
17607 Py_INCREF(Py_None); resultobj = Py_None;
17608 return resultobj;
17609 fail:
17610 return NULL;
17611}
17612
17613
17614static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17615 PyObject *resultobj;
17616 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17617 int arg2 ;
17618 bool arg3 ;
17619 PyObject * obj0 = 0 ;
17620 PyObject * obj1 = 0 ;
17621 PyObject * obj2 = 0 ;
17622 char *kwnames[] = {
17623 (char *) "self",(char *) "id",(char *) "toggle", NULL
17624 };
17625
17626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17629 arg2 = (int) SWIG_AsInt(obj1);
17630 if (PyErr_Occurred()) SWIG_fail;
17631 arg3 = (bool) SWIG_AsBool(obj2);
17632 if (PyErr_Occurred()) SWIG_fail;
17633 {
17634 PyThreadState* __tstate = wxPyBeginAllowThreads();
17635 (arg1)->ToggleTool(arg2,arg3);
17636
17637 wxPyEndAllowThreads(__tstate);
17638 if (PyErr_Occurred()) SWIG_fail;
17639 }
17640 Py_INCREF(Py_None); resultobj = Py_None;
17641 return resultobj;
17642 fail:
17643 return NULL;
17644}
17645
17646
17647static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
17648 PyObject *resultobj;
17649 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17650 int arg2 ;
17651 bool arg3 ;
17652 PyObject * obj0 = 0 ;
17653 PyObject * obj1 = 0 ;
17654 PyObject * obj2 = 0 ;
17655 char *kwnames[] = {
17656 (char *) "self",(char *) "id",(char *) "toggle", NULL
17657 };
17658
17659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
17660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17662 arg2 = (int) SWIG_AsInt(obj1);
17663 if (PyErr_Occurred()) SWIG_fail;
17664 arg3 = (bool) SWIG_AsBool(obj2);
17665 if (PyErr_Occurred()) SWIG_fail;
17666 {
17667 PyThreadState* __tstate = wxPyBeginAllowThreads();
17668 (arg1)->SetToggle(arg2,arg3);
17669
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 Py_INCREF(Py_None); resultobj = Py_None;
17674 return resultobj;
17675 fail:
17676 return NULL;
17677}
17678
17679
17680static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj;
17682 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17683 int arg2 ;
17684 PyObject *result;
17685 PyObject * obj0 = 0 ;
17686 PyObject * obj1 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self",(char *) "id", NULL
17689 };
17690
17691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
17692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17694 arg2 = (int) SWIG_AsInt(obj1);
17695 if (PyErr_Occurred()) SWIG_fail;
17696 {
17697 PyThreadState* __tstate = wxPyBeginAllowThreads();
17698 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
17699
17700 wxPyEndAllowThreads(__tstate);
17701 if (PyErr_Occurred()) SWIG_fail;
17702 }
17703 resultobj = result;
17704 return resultobj;
17705 fail:
17706 return NULL;
17707}
17708
17709
17710static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17711 PyObject *resultobj;
17712 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17713 int arg2 ;
17714 PyObject *arg3 = (PyObject *) 0 ;
17715 PyObject * obj0 = 0 ;
17716 PyObject * obj1 = 0 ;
17717 PyObject * obj2 = 0 ;
17718 char *kwnames[] = {
17719 (char *) "self",(char *) "id",(char *) "clientData", NULL
17720 };
17721
17722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
17723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17725 arg2 = (int) SWIG_AsInt(obj1);
17726 if (PyErr_Occurred()) SWIG_fail;
17727 arg3 = obj2;
17728 {
17729 PyThreadState* __tstate = wxPyBeginAllowThreads();
17730 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
17731
17732 wxPyEndAllowThreads(__tstate);
17733 if (PyErr_Occurred()) SWIG_fail;
17734 }
17735 Py_INCREF(Py_None); resultobj = Py_None;
17736 return resultobj;
17737 fail:
17738 return NULL;
17739}
17740
17741
17742static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17743 PyObject *resultobj;
17744 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17745 int arg2 ;
17746 int result;
17747 PyObject * obj0 = 0 ;
17748 PyObject * obj1 = 0 ;
17749 char *kwnames[] = {
17750 (char *) "self",(char *) "id", NULL
17751 };
17752
17753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
17754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17756 arg2 = (int) SWIG_AsInt(obj1);
17757 if (PyErr_Occurred()) SWIG_fail;
17758 {
17759 PyThreadState* __tstate = wxPyBeginAllowThreads();
17760 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 resultobj = SWIG_FromInt((int)result);
17766 return resultobj;
17767 fail:
17768 return NULL;
17769}
17770
17771
17772static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
17773 PyObject *resultobj;
17774 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17775 int arg2 ;
17776 bool result;
17777 PyObject * obj0 = 0 ;
17778 PyObject * obj1 = 0 ;
17779 char *kwnames[] = {
17780 (char *) "self",(char *) "id", NULL
17781 };
17782
17783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
17784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17786 arg2 = (int) SWIG_AsInt(obj1);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 {
17789 PyThreadState* __tstate = wxPyBeginAllowThreads();
17790 result = (bool)(arg1)->GetToolState(arg2);
17791
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 {
17796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17797 }
17798 return resultobj;
17799 fail:
17800 return NULL;
17801}
17802
17803
17804static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17805 PyObject *resultobj;
17806 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17807 int arg2 ;
17808 bool result;
17809 PyObject * obj0 = 0 ;
17810 PyObject * obj1 = 0 ;
17811 char *kwnames[] = {
17812 (char *) "self",(char *) "id", NULL
17813 };
17814
17815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
17816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17818 arg2 = (int) SWIG_AsInt(obj1);
17819 if (PyErr_Occurred()) SWIG_fail;
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 result = (bool)(arg1)->GetToolEnabled(arg2);
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 {
17828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17829 }
17830 return resultobj;
17831 fail:
17832 return NULL;
17833}
17834
17835
17836static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17837 PyObject *resultobj;
17838 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17839 int arg2 ;
17840 wxString *arg3 = 0 ;
17841 bool temp3 = False ;
17842 PyObject * obj0 = 0 ;
17843 PyObject * obj1 = 0 ;
17844 PyObject * obj2 = 0 ;
17845 char *kwnames[] = {
17846 (char *) "self",(char *) "id",(char *) "helpString", NULL
17847 };
17848
17849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17852 arg2 = (int) SWIG_AsInt(obj1);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 {
17855 arg3 = wxString_in_helper(obj2);
17856 if (arg3 == NULL) SWIG_fail;
17857 temp3 = True;
17858 }
17859 {
17860 PyThreadState* __tstate = wxPyBeginAllowThreads();
17861 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
17862
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
17866 Py_INCREF(Py_None); resultobj = Py_None;
17867 {
17868 if (temp3)
17869 delete arg3;
17870 }
17871 return resultobj;
17872 fail:
17873 {
17874 if (temp3)
17875 delete arg3;
17876 }
17877 return NULL;
17878}
17879
17880
17881static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17882 PyObject *resultobj;
17883 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17884 int arg2 ;
17885 wxString result;
17886 PyObject * obj0 = 0 ;
17887 PyObject * obj1 = 0 ;
17888 char *kwnames[] = {
17889 (char *) "self",(char *) "id", NULL
17890 };
17891
17892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
17893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17895 arg2 = (int) SWIG_AsInt(obj1);
17896 if (PyErr_Occurred()) SWIG_fail;
17897 {
17898 PyThreadState* __tstate = wxPyBeginAllowThreads();
17899 result = (arg1)->GetToolShortHelp(arg2);
17900
17901 wxPyEndAllowThreads(__tstate);
17902 if (PyErr_Occurred()) SWIG_fail;
17903 }
17904 {
17905#if wxUSE_UNICODE
17906 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17907#else
17908 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17909#endif
17910 }
17911 return resultobj;
17912 fail:
17913 return NULL;
17914}
17915
17916
17917static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17918 PyObject *resultobj;
17919 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17920 int arg2 ;
17921 wxString *arg3 = 0 ;
17922 bool temp3 = False ;
17923 PyObject * obj0 = 0 ;
17924 PyObject * obj1 = 0 ;
17925 PyObject * obj2 = 0 ;
17926 char *kwnames[] = {
17927 (char *) "self",(char *) "id",(char *) "helpString", NULL
17928 };
17929
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17933 arg2 = (int) SWIG_AsInt(obj1);
17934 if (PyErr_Occurred()) SWIG_fail;
17935 {
17936 arg3 = wxString_in_helper(obj2);
17937 if (arg3 == NULL) SWIG_fail;
17938 temp3 = True;
17939 }
17940 {
17941 PyThreadState* __tstate = wxPyBeginAllowThreads();
17942 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
17943
17944 wxPyEndAllowThreads(__tstate);
17945 if (PyErr_Occurred()) SWIG_fail;
17946 }
17947 Py_INCREF(Py_None); resultobj = Py_None;
17948 {
17949 if (temp3)
17950 delete arg3;
17951 }
17952 return resultobj;
17953 fail:
17954 {
17955 if (temp3)
17956 delete arg3;
17957 }
17958 return NULL;
17959}
17960
17961
17962static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17963 PyObject *resultobj;
17964 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17965 int arg2 ;
17966 wxString result;
17967 PyObject * obj0 = 0 ;
17968 PyObject * obj1 = 0 ;
17969 char *kwnames[] = {
17970 (char *) "self",(char *) "id", NULL
17971 };
17972
17973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
17974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17976 arg2 = (int) SWIG_AsInt(obj1);
17977 if (PyErr_Occurred()) SWIG_fail;
17978 {
17979 PyThreadState* __tstate = wxPyBeginAllowThreads();
17980 result = (arg1)->GetToolLongHelp(arg2);
17981
17982 wxPyEndAllowThreads(__tstate);
17983 if (PyErr_Occurred()) SWIG_fail;
17984 }
17985 {
17986#if wxUSE_UNICODE
17987 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17988#else
17989 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17990#endif
17991 }
17992 return resultobj;
17993 fail:
17994 return NULL;
17995}
17996
17997
17998static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17999 PyObject *resultobj;
18000 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18001 int arg2 ;
18002 int arg3 ;
18003 PyObject * obj0 = 0 ;
18004 PyObject * obj1 = 0 ;
18005 PyObject * obj2 = 0 ;
18006 char *kwnames[] = {
18007 (char *) "self",(char *) "x",(char *) "y", NULL
18008 };
18009
18010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
18011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18013 arg2 = (int) SWIG_AsInt(obj1);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 arg3 = (int) SWIG_AsInt(obj2);
18016 if (PyErr_Occurred()) SWIG_fail;
18017 {
18018 PyThreadState* __tstate = wxPyBeginAllowThreads();
18019 (arg1)->SetMargins(arg2,arg3);
18020
18021 wxPyEndAllowThreads(__tstate);
18022 if (PyErr_Occurred()) SWIG_fail;
18023 }
18024 Py_INCREF(Py_None); resultobj = Py_None;
18025 return resultobj;
18026 fail:
18027 return NULL;
18028}
18029
18030
18031static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18032 PyObject *resultobj;
18033 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18034 wxSize *arg2 = 0 ;
18035 wxSize temp2 ;
18036 PyObject * obj0 = 0 ;
18037 PyObject * obj1 = 0 ;
18038 char *kwnames[] = {
18039 (char *) "self",(char *) "size", NULL
18040 };
18041
18042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
18043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18045 {
18046 arg2 = &temp2;
18047 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18048 }
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 (arg1)->SetMargins((wxSize const &)*arg2);
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 Py_INCREF(Py_None); resultobj = Py_None;
18057 return resultobj;
18058 fail:
18059 return NULL;
18060}
18061
18062
18063static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
18064 PyObject *resultobj;
18065 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18066 int arg2 ;
18067 PyObject * obj0 = 0 ;
18068 PyObject * obj1 = 0 ;
18069 char *kwnames[] = {
18070 (char *) "self",(char *) "packing", NULL
18071 };
18072
18073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
18074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18076 arg2 = (int) SWIG_AsInt(obj1);
18077 if (PyErr_Occurred()) SWIG_fail;
18078 {
18079 PyThreadState* __tstate = wxPyBeginAllowThreads();
18080 (arg1)->SetToolPacking(arg2);
18081
18082 wxPyEndAllowThreads(__tstate);
18083 if (PyErr_Occurred()) SWIG_fail;
18084 }
18085 Py_INCREF(Py_None); resultobj = Py_None;
18086 return resultobj;
18087 fail:
18088 return NULL;
18089}
18090
18091
18092static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
18093 PyObject *resultobj;
18094 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18095 int arg2 ;
18096 PyObject * obj0 = 0 ;
18097 PyObject * obj1 = 0 ;
18098 char *kwnames[] = {
18099 (char *) "self",(char *) "separation", NULL
18100 };
18101
18102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
18103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18105 arg2 = (int) SWIG_AsInt(obj1);
18106 if (PyErr_Occurred()) SWIG_fail;
18107 {
18108 PyThreadState* __tstate = wxPyBeginAllowThreads();
18109 (arg1)->SetToolSeparation(arg2);
18110
18111 wxPyEndAllowThreads(__tstate);
18112 if (PyErr_Occurred()) SWIG_fail;
18113 }
18114 Py_INCREF(Py_None); resultobj = Py_None;
18115 return resultobj;
18116 fail:
18117 return NULL;
18118}
18119
18120
18121static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj;
18123 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18124 wxSize result;
18125 PyObject * obj0 = 0 ;
18126 char *kwnames[] = {
18127 (char *) "self", NULL
18128 };
18129
18130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
18131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18133 {
18134 PyThreadState* __tstate = wxPyBeginAllowThreads();
18135 result = (arg1)->GetToolMargins();
18136
18137 wxPyEndAllowThreads(__tstate);
18138 if (PyErr_Occurred()) SWIG_fail;
18139 }
18140 {
18141 wxSize * resultptr;
18142 resultptr = new wxSize((wxSize &) result);
18143 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18144 }
18145 return resultobj;
18146 fail:
18147 return NULL;
18148}
18149
18150
18151static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18152 PyObject *resultobj;
18153 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18154 wxSize result;
18155 PyObject * obj0 = 0 ;
18156 char *kwnames[] = {
18157 (char *) "self", NULL
18158 };
18159
18160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
18161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18163 {
18164 PyThreadState* __tstate = wxPyBeginAllowThreads();
18165 result = (arg1)->GetMargins();
18166
18167 wxPyEndAllowThreads(__tstate);
18168 if (PyErr_Occurred()) SWIG_fail;
18169 }
18170 {
18171 wxSize * resultptr;
18172 resultptr = new wxSize((wxSize &) result);
18173 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18174 }
18175 return resultobj;
18176 fail:
18177 return NULL;
18178}
18179
18180
18181static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
18182 PyObject *resultobj;
18183 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18184 int result;
18185 PyObject * obj0 = 0 ;
18186 char *kwnames[] = {
18187 (char *) "self", NULL
18188 };
18189
18190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
18191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18193 {
18194 PyThreadState* __tstate = wxPyBeginAllowThreads();
18195 result = (int)(arg1)->GetToolPacking();
18196
18197 wxPyEndAllowThreads(__tstate);
18198 if (PyErr_Occurred()) SWIG_fail;
18199 }
18200 resultobj = SWIG_FromInt((int)result);
18201 return resultobj;
18202 fail:
18203 return NULL;
18204}
18205
18206
18207static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
18208 PyObject *resultobj;
18209 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18210 int result;
18211 PyObject * obj0 = 0 ;
18212 char *kwnames[] = {
18213 (char *) "self", NULL
18214 };
18215
18216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
18217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18219 {
18220 PyThreadState* __tstate = wxPyBeginAllowThreads();
18221 result = (int)(arg1)->GetToolSeparation();
18222
18223 wxPyEndAllowThreads(__tstate);
18224 if (PyErr_Occurred()) SWIG_fail;
18225 }
18226 resultobj = SWIG_FromInt((int)result);
18227 return resultobj;
18228 fail:
18229 return NULL;
18230}
18231
18232
18233static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18234 PyObject *resultobj;
18235 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18236 int arg2 ;
18237 PyObject * obj0 = 0 ;
18238 PyObject * obj1 = 0 ;
18239 char *kwnames[] = {
18240 (char *) "self",(char *) "nRows", NULL
18241 };
18242
18243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
18244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18246 arg2 = (int) SWIG_AsInt(obj1);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 {
18249 PyThreadState* __tstate = wxPyBeginAllowThreads();
18250 (arg1)->SetRows(arg2);
18251
18252 wxPyEndAllowThreads(__tstate);
18253 if (PyErr_Occurred()) SWIG_fail;
18254 }
18255 Py_INCREF(Py_None); resultobj = Py_None;
18256 return resultobj;
18257 fail:
18258 return NULL;
18259}
18260
18261
18262static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18263 PyObject *resultobj;
18264 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18265 int arg2 ;
18266 int arg3 ;
18267 PyObject * obj0 = 0 ;
18268 PyObject * obj1 = 0 ;
18269 PyObject * obj2 = 0 ;
18270 char *kwnames[] = {
18271 (char *) "self",(char *) "rows",(char *) "cols", NULL
18272 };
18273
18274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18277 arg2 = (int) SWIG_AsInt(obj1);
18278 if (PyErr_Occurred()) SWIG_fail;
18279 arg3 = (int) SWIG_AsInt(obj2);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 {
18282 PyThreadState* __tstate = wxPyBeginAllowThreads();
18283 (arg1)->SetMaxRowsCols(arg2,arg3);
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_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18296 PyObject *resultobj;
18297 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18298 int result;
18299 PyObject * obj0 = 0 ;
18300 char *kwnames[] = {
18301 (char *) "self", NULL
18302 };
18303
18304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
18305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18307 {
18308 PyThreadState* __tstate = wxPyBeginAllowThreads();
18309 result = (int)(arg1)->GetMaxRows();
18310
18311 wxPyEndAllowThreads(__tstate);
18312 if (PyErr_Occurred()) SWIG_fail;
18313 }
18314 resultobj = SWIG_FromInt((int)result);
18315 return resultobj;
18316 fail:
18317 return NULL;
18318}
18319
18320
18321static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18322 PyObject *resultobj;
18323 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18324 int result;
18325 PyObject * obj0 = 0 ;
18326 char *kwnames[] = {
18327 (char *) "self", NULL
18328 };
18329
18330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18333 {
18334 PyThreadState* __tstate = wxPyBeginAllowThreads();
18335 result = (int)(arg1)->GetMaxCols();
18336
18337 wxPyEndAllowThreads(__tstate);
18338 if (PyErr_Occurred()) SWIG_fail;
18339 }
18340 resultobj = SWIG_FromInt((int)result);
18341 return resultobj;
18342 fail:
18343 return NULL;
18344}
18345
18346
18347static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18348 PyObject *resultobj;
18349 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18350 wxSize *arg2 = 0 ;
18351 wxSize temp2 ;
18352 PyObject * obj0 = 0 ;
18353 PyObject * obj1 = 0 ;
18354 char *kwnames[] = {
18355 (char *) "self",(char *) "size", NULL
18356 };
18357
18358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18361 {
18362 arg2 = &temp2;
18363 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18364 }
18365 {
18366 PyThreadState* __tstate = wxPyBeginAllowThreads();
18367 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18368
18369 wxPyEndAllowThreads(__tstate);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 }
18372 Py_INCREF(Py_None); resultobj = Py_None;
18373 return resultobj;
18374 fail:
18375 return NULL;
18376}
18377
18378
18379static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18380 PyObject *resultobj;
18381 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18382 wxSize result;
18383 PyObject * obj0 = 0 ;
18384 char *kwnames[] = {
18385 (char *) "self", NULL
18386 };
18387
18388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18391 {
18392 PyThreadState* __tstate = wxPyBeginAllowThreads();
18393 result = (arg1)->GetToolBitmapSize();
18394
18395 wxPyEndAllowThreads(__tstate);
18396 if (PyErr_Occurred()) SWIG_fail;
18397 }
18398 {
18399 wxSize * resultptr;
18400 resultptr = new wxSize((wxSize &) result);
18401 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18402 }
18403 return resultobj;
18404 fail:
18405 return NULL;
18406}
18407
18408
18409static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18410 PyObject *resultobj;
18411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18412 wxSize result;
18413 PyObject * obj0 = 0 ;
18414 char *kwnames[] = {
18415 (char *) "self", NULL
18416 };
18417
18418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18421 {
18422 PyThreadState* __tstate = wxPyBeginAllowThreads();
18423 result = (arg1)->GetToolSize();
18424
18425 wxPyEndAllowThreads(__tstate);
18426 if (PyErr_Occurred()) SWIG_fail;
18427 }
18428 {
18429 wxSize * resultptr;
18430 resultptr = new wxSize((wxSize &) result);
18431 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18432 }
18433 return resultobj;
18434 fail:
18435 return NULL;
18436}
18437
18438
18439static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18440 PyObject *resultobj;
18441 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18442 int arg2 ;
18443 int arg3 ;
18444 wxToolBarToolBase *result;
18445 PyObject * obj0 = 0 ;
18446 PyObject * obj1 = 0 ;
18447 PyObject * obj2 = 0 ;
18448 char *kwnames[] = {
18449 (char *) "self",(char *) "x",(char *) "y", NULL
18450 };
18451
18452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18455 arg2 = (int) SWIG_AsInt(obj1);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 arg3 = (int) SWIG_AsInt(obj2);
18458 if (PyErr_Occurred()) SWIG_fail;
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18462
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 {
18467 resultobj = wxPyMake_wxObject(result);
18468 }
18469 return resultobj;
18470 fail:
18471 return NULL;
18472}
18473
18474
18475static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
18476 PyObject *resultobj;
18477 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18478 int arg2 ;
18479 wxToolBarToolBase *result;
18480 PyObject * obj0 = 0 ;
18481 PyObject * obj1 = 0 ;
18482 char *kwnames[] = {
18483 (char *) "self",(char *) "toolid", NULL
18484 };
18485
18486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18489 arg2 = (int) SWIG_AsInt(obj1);
18490 if (PyErr_Occurred()) SWIG_fail;
18491 {
18492 PyThreadState* __tstate = wxPyBeginAllowThreads();
18493 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
18498 {
18499 resultobj = wxPyMake_wxObject(result);
18500 }
18501 return resultobj;
18502 fail:
18503 return NULL;
18504}
18505
18506
18507static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
18508 PyObject *resultobj;
18509 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18510 bool result;
18511 PyObject * obj0 = 0 ;
18512 char *kwnames[] = {
18513 (char *) "self", NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 result = (bool)(arg1)->IsVertical();
18522
18523 wxPyEndAllowThreads(__tstate);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 }
18526 {
18527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18528 }
18529 return resultobj;
18530 fail:
18531 return NULL;
18532}
18533
18534
18535static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
18536 PyObject *obj;
18537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18538 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18539 Py_INCREF(obj);
18540 return Py_BuildValue((char *)"");
18541}
18542static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj;
18544 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 18545 int arg2 = (int) -1 ;
d55e5bfc
RD
18546 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18547 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18548 wxSize const &arg4_defvalue = wxDefaultSize ;
18549 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18550 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18551 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18552 wxString *arg6 = (wxString *) &arg6_defvalue ;
18553 wxToolBar *result;
18554 wxPoint temp3 ;
18555 wxSize temp4 ;
18556 bool temp6 = False ;
18557 PyObject * obj0 = 0 ;
18558 PyObject * obj1 = 0 ;
18559 PyObject * obj2 = 0 ;
18560 PyObject * obj3 = 0 ;
18561 PyObject * obj4 = 0 ;
18562 PyObject * obj5 = 0 ;
18563 char *kwnames[] = {
18564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18565 };
18566
248ed943 18567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d55e5bfc
RD
18568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
18570 if (obj1) {
18571 arg2 = (int) SWIG_AsInt(obj1);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 }
d55e5bfc
RD
18574 if (obj2) {
18575 {
18576 arg3 = &temp3;
18577 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18578 }
18579 }
18580 if (obj3) {
18581 {
18582 arg4 = &temp4;
18583 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18584 }
18585 }
18586 if (obj4) {
18587 arg5 = (long) SWIG_AsLong(obj4);
18588 if (PyErr_Occurred()) SWIG_fail;
18589 }
18590 if (obj5) {
18591 {
18592 arg6 = wxString_in_helper(obj5);
18593 if (arg6 == NULL) SWIG_fail;
18594 temp6 = True;
18595 }
18596 }
18597 {
0439c23b 18598 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18599 PyThreadState* __tstate = wxPyBeginAllowThreads();
18600 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18601
18602 wxPyEndAllowThreads(__tstate);
0439c23b 18603 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18604 }
18605 {
18606 resultobj = wxPyMake_wxObject(result);
18607 }
18608 {
18609 if (temp6)
18610 delete arg6;
18611 }
18612 return resultobj;
18613 fail:
18614 {
18615 if (temp6)
18616 delete arg6;
18617 }
18618 return NULL;
18619}
18620
18621
18622static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18623 PyObject *resultobj;
18624 wxToolBar *result;
18625 char *kwnames[] = {
18626 NULL
18627 };
18628
18629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18630 {
0439c23b 18631 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 result = (wxToolBar *)new wxToolBar();
18634
18635 wxPyEndAllowThreads(__tstate);
0439c23b 18636 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
18637 }
18638 {
18639 resultobj = wxPyMake_wxObject(result);
18640 }
18641 return resultobj;
18642 fail:
18643 return NULL;
18644}
18645
18646
18647static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18648 PyObject *resultobj;
18649 wxToolBar *arg1 = (wxToolBar *) 0 ;
18650 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 18651 int arg3 = (int) -1 ;
d55e5bfc
RD
18652 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18653 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18654 wxSize const &arg5_defvalue = wxDefaultSize ;
18655 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18656 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18657 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18658 wxString *arg7 = (wxString *) &arg7_defvalue ;
18659 bool result;
18660 wxPoint temp4 ;
18661 wxSize temp5 ;
18662 bool temp7 = False ;
18663 PyObject * obj0 = 0 ;
18664 PyObject * obj1 = 0 ;
18665 PyObject * obj2 = 0 ;
18666 PyObject * obj3 = 0 ;
18667 PyObject * obj4 = 0 ;
18668 PyObject * obj5 = 0 ;
18669 PyObject * obj6 = 0 ;
18670 char *kwnames[] = {
18671 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18672 };
18673
248ed943 18674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
18675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18677 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
18679 if (obj2) {
18680 arg3 = (int) SWIG_AsInt(obj2);
18681 if (PyErr_Occurred()) SWIG_fail;
18682 }
d55e5bfc
RD
18683 if (obj3) {
18684 {
18685 arg4 = &temp4;
18686 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18687 }
18688 }
18689 if (obj4) {
18690 {
18691 arg5 = &temp5;
18692 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18693 }
18694 }
18695 if (obj5) {
18696 arg6 = (long) SWIG_AsLong(obj5);
18697 if (PyErr_Occurred()) SWIG_fail;
18698 }
18699 if (obj6) {
18700 {
18701 arg7 = wxString_in_helper(obj6);
18702 if (arg7 == NULL) SWIG_fail;
18703 temp7 = True;
18704 }
18705 }
18706 {
18707 PyThreadState* __tstate = wxPyBeginAllowThreads();
18708 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18709
18710 wxPyEndAllowThreads(__tstate);
18711 if (PyErr_Occurred()) SWIG_fail;
18712 }
18713 {
18714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18715 }
18716 {
18717 if (temp7)
18718 delete arg7;
18719 }
18720 return resultobj;
18721 fail:
18722 {
18723 if (temp7)
18724 delete arg7;
18725 }
18726 return NULL;
18727}
18728
18729
18730static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18731 PyObject *resultobj;
18732 wxToolBar *arg1 = (wxToolBar *) 0 ;
18733 int arg2 ;
18734 int arg3 ;
18735 wxToolBarToolBase *result;
18736 PyObject * obj0 = 0 ;
18737 PyObject * obj1 = 0 ;
18738 PyObject * obj2 = 0 ;
18739 char *kwnames[] = {
18740 (char *) "self",(char *) "x",(char *) "y", NULL
18741 };
18742
18743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18746 arg2 = (int) SWIG_AsInt(obj1);
18747 if (PyErr_Occurred()) SWIG_fail;
18748 arg3 = (int) SWIG_AsInt(obj2);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18753
18754 wxPyEndAllowThreads(__tstate);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
18757 {
18758 resultobj = wxPyMake_wxObject(result);
18759 }
18760 return resultobj;
18761 fail:
18762 return NULL;
18763}
18764
18765
f20a2e1f
RD
18766static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18767 PyObject *resultobj;
18768 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
18769 wxVisualAttributes result;
18770 PyObject * obj0 = 0 ;
18771 char *kwnames[] = {
18772 (char *) "variant", NULL
18773 };
18774
18775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
18776 if (obj0) {
18777 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
18778 if (PyErr_Occurred()) SWIG_fail;
18779 }
18780 {
0439c23b 18781 if (!wxPyCheckForApp()) SWIG_fail;
f20a2e1f
RD
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
18784
18785 wxPyEndAllowThreads(__tstate);
0439c23b 18786 if (PyErr_Occurred()) SWIG_fail;
f20a2e1f
RD
18787 }
18788 {
18789 wxVisualAttributes * resultptr;
18790 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18791 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18792 }
18793 return resultobj;
18794 fail:
18795 return NULL;
18796}
18797
18798
d55e5bfc
RD
18799static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
18800 PyObject *obj;
18801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18802 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
18803 Py_INCREF(obj);
18804 return Py_BuildValue((char *)"");
18805}
18806static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
18807 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
18808 return 1;
18809}
18810
18811
18812static PyObject *_wrap_ListCtrlNameStr_get() {
18813 PyObject *pyobj;
18814
18815 {
18816#if wxUSE_UNICODE
18817 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18818#else
18819 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18820#endif
18821 }
18822 return pyobj;
18823}
18824
18825
18826static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
18827 PyObject *resultobj;
18828 wxColour const &arg1_defvalue = wxNullColour ;
18829 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
18830 wxColour const &arg2_defvalue = wxNullColour ;
18831 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
18832 wxFont const &arg3_defvalue = wxNullFont ;
18833 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
18834 wxListItemAttr *result;
18835 wxColour temp1 ;
18836 wxColour temp2 ;
18837 PyObject * obj0 = 0 ;
18838 PyObject * obj1 = 0 ;
18839 PyObject * obj2 = 0 ;
18840 char *kwnames[] = {
18841 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18842 };
18843
18844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
18845 if (obj0) {
18846 {
18847 arg1 = &temp1;
18848 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
18849 }
18850 }
18851 if (obj1) {
18852 {
18853 arg2 = &temp2;
18854 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18855 }
18856 }
18857 if (obj2) {
18858 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
18859 SWIG_POINTER_EXCEPTION | 0)) == -1)
18860 SWIG_fail;
18861 if (arg3 == NULL) {
18862 PyErr_SetString(PyExc_TypeError,"null reference");
18863 SWIG_fail;
18864 }
18865 }
18866 {
18867 PyThreadState* __tstate = wxPyBeginAllowThreads();
18868 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
18869
18870 wxPyEndAllowThreads(__tstate);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
18874 return resultobj;
18875 fail:
18876 return NULL;
18877}
18878
18879
18880static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18881 PyObject *resultobj;
18882 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18883 wxColour *arg2 = 0 ;
18884 wxColour temp2 ;
18885 PyObject * obj0 = 0 ;
18886 PyObject * obj1 = 0 ;
18887 char *kwnames[] = {
18888 (char *) "self",(char *) "colText", NULL
18889 };
18890
18891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18894 {
18895 arg2 = &temp2;
18896 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18897 }
18898 {
18899 PyThreadState* __tstate = wxPyBeginAllowThreads();
18900 (arg1)->SetTextColour((wxColour const &)*arg2);
18901
18902 wxPyEndAllowThreads(__tstate);
18903 if (PyErr_Occurred()) SWIG_fail;
18904 }
18905 Py_INCREF(Py_None); resultobj = Py_None;
18906 return resultobj;
18907 fail:
18908 return NULL;
18909}
18910
18911
18912static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18913 PyObject *resultobj;
18914 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18915 wxColour *arg2 = 0 ;
18916 wxColour temp2 ;
18917 PyObject * obj0 = 0 ;
18918 PyObject * obj1 = 0 ;
18919 char *kwnames[] = {
18920 (char *) "self",(char *) "colBack", NULL
18921 };
18922
18923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18926 {
18927 arg2 = &temp2;
18928 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18929 }
18930 {
18931 PyThreadState* __tstate = wxPyBeginAllowThreads();
18932 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18933
18934 wxPyEndAllowThreads(__tstate);
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 Py_INCREF(Py_None); resultobj = Py_None;
18938 return resultobj;
18939 fail:
18940 return NULL;
18941}
18942
18943
18944static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18945 PyObject *resultobj;
18946 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18947 wxFont *arg2 = 0 ;
18948 PyObject * obj0 = 0 ;
18949 PyObject * obj1 = 0 ;
18950 char *kwnames[] = {
18951 (char *) "self",(char *) "font", NULL
18952 };
18953
18954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
18955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18957 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18958 SWIG_POINTER_EXCEPTION | 0)) == -1)
18959 SWIG_fail;
18960 if (arg2 == NULL) {
18961 PyErr_SetString(PyExc_TypeError,"null reference");
18962 SWIG_fail;
18963 }
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 (arg1)->SetFont((wxFont const &)*arg2);
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 Py_INCREF(Py_None); resultobj = Py_None;
18972 return resultobj;
18973 fail:
18974 return NULL;
18975}
18976
18977
18978static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18979 PyObject *resultobj;
18980 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18981 bool result;
18982 PyObject * obj0 = 0 ;
18983 char *kwnames[] = {
18984 (char *) "self", NULL
18985 };
18986
18987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
18988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18990 {
18991 PyThreadState* __tstate = wxPyBeginAllowThreads();
18992 result = (bool)(arg1)->HasTextColour();
18993
18994 wxPyEndAllowThreads(__tstate);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
18997 {
18998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18999 }
19000 return resultobj;
19001 fail:
19002 return NULL;
19003}
19004
19005
19006static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19007 PyObject *resultobj;
19008 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19009 bool result;
19010 PyObject * obj0 = 0 ;
19011 char *kwnames[] = {
19012 (char *) "self", NULL
19013 };
19014
19015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
19016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19018 {
19019 PyThreadState* __tstate = wxPyBeginAllowThreads();
19020 result = (bool)(arg1)->HasBackgroundColour();
19021
19022 wxPyEndAllowThreads(__tstate);
19023 if (PyErr_Occurred()) SWIG_fail;
19024 }
19025 {
19026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19027 }
19028 return resultobj;
19029 fail:
19030 return NULL;
19031}
19032
19033
19034static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19035 PyObject *resultobj;
19036 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19037 bool result;
19038 PyObject * obj0 = 0 ;
19039 char *kwnames[] = {
19040 (char *) "self", NULL
19041 };
19042
19043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
19044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19046 {
19047 PyThreadState* __tstate = wxPyBeginAllowThreads();
19048 result = (bool)(arg1)->HasFont();
19049
19050 wxPyEndAllowThreads(__tstate);
19051 if (PyErr_Occurred()) SWIG_fail;
19052 }
19053 {
19054 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19055 }
19056 return resultobj;
19057 fail:
19058 return NULL;
19059}
19060
19061
19062static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19063 PyObject *resultobj;
19064 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19065 wxColour result;
19066 PyObject * obj0 = 0 ;
19067 char *kwnames[] = {
19068 (char *) "self", NULL
19069 };
19070
19071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
19072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19074 {
19075 PyThreadState* __tstate = wxPyBeginAllowThreads();
19076 result = (arg1)->GetTextColour();
19077
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
19081 {
19082 wxColour * resultptr;
19083 resultptr = new wxColour((wxColour &) result);
19084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19085 }
19086 return resultobj;
19087 fail:
19088 return NULL;
19089}
19090
19091
19092static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19093 PyObject *resultobj;
19094 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19095 wxColour result;
19096 PyObject * obj0 = 0 ;
19097 char *kwnames[] = {
19098 (char *) "self", NULL
19099 };
19100
19101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
19102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19104 {
19105 PyThreadState* __tstate = wxPyBeginAllowThreads();
19106 result = (arg1)->GetBackgroundColour();
19107
19108 wxPyEndAllowThreads(__tstate);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 }
19111 {
19112 wxColour * resultptr;
19113 resultptr = new wxColour((wxColour &) result);
19114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19115 }
19116 return resultobj;
19117 fail:
19118 return NULL;
19119}
19120
19121
19122static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19123 PyObject *resultobj;
19124 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19125 wxFont result;
19126 PyObject * obj0 = 0 ;
19127 char *kwnames[] = {
19128 (char *) "self", NULL
19129 };
19130
19131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
19132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19134 {
19135 PyThreadState* __tstate = wxPyBeginAllowThreads();
19136 result = (arg1)->GetFont();
19137
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
19141 {
19142 wxFont * resultptr;
19143 resultptr = new wxFont((wxFont &) result);
19144 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19145 }
19146 return resultobj;
19147 fail:
19148 return NULL;
19149}
19150
19151
19152static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19153 PyObject *resultobj;
19154 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
19155 PyObject * obj0 = 0 ;
19156 char *kwnames[] = {
19157 (char *) "self", NULL
19158 };
19159
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
19161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
19162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 wxListItemAttr_Destroy(arg1);
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
19170 Py_INCREF(Py_None); resultobj = Py_None;
19171 return resultobj;
19172 fail:
19173 return NULL;
19174}
19175
19176
19177static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
19178 PyObject *obj;
19179 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19180 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
19181 Py_INCREF(obj);
19182 return Py_BuildValue((char *)"");
19183}
19184static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19185 PyObject *resultobj;
19186 wxListItem *result;
19187 char *kwnames[] = {
19188 NULL
19189 };
19190
19191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
19192 {
19193 PyThreadState* __tstate = wxPyBeginAllowThreads();
19194 result = (wxListItem *)new wxListItem();
19195
19196 wxPyEndAllowThreads(__tstate);
19197 if (PyErr_Occurred()) SWIG_fail;
19198 }
19199 {
19200 resultobj = wxPyMake_wxObject(result);
19201 }
19202 return resultobj;
19203 fail:
19204 return NULL;
19205}
19206
19207
19208static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19209 PyObject *resultobj;
19210 wxListItem *arg1 = (wxListItem *) 0 ;
19211 PyObject * obj0 = 0 ;
19212 char *kwnames[] = {
19213 (char *) "self", NULL
19214 };
19215
19216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
19217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19219 {
19220 PyThreadState* __tstate = wxPyBeginAllowThreads();
19221 delete arg1;
19222
19223 wxPyEndAllowThreads(__tstate);
19224 if (PyErr_Occurred()) SWIG_fail;
19225 }
19226 Py_INCREF(Py_None); resultobj = Py_None;
19227 return resultobj;
19228 fail:
19229 return NULL;
19230}
19231
19232
19233static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
19234 PyObject *resultobj;
19235 wxListItem *arg1 = (wxListItem *) 0 ;
19236 PyObject * obj0 = 0 ;
19237 char *kwnames[] = {
19238 (char *) "self", NULL
19239 };
19240
19241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
19242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19244 {
19245 PyThreadState* __tstate = wxPyBeginAllowThreads();
19246 (arg1)->Clear();
19247
19248 wxPyEndAllowThreads(__tstate);
19249 if (PyErr_Occurred()) SWIG_fail;
19250 }
19251 Py_INCREF(Py_None); resultobj = Py_None;
19252 return resultobj;
19253 fail:
19254 return NULL;
19255}
19256
19257
19258static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19259 PyObject *resultobj;
19260 wxListItem *arg1 = (wxListItem *) 0 ;
19261 PyObject * obj0 = 0 ;
19262 char *kwnames[] = {
19263 (char *) "self", NULL
19264 };
19265
19266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
19271 (arg1)->ClearAttributes();
19272
19273 wxPyEndAllowThreads(__tstate);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 Py_INCREF(Py_None); resultobj = Py_None;
19277 return resultobj;
19278 fail:
19279 return NULL;
19280}
19281
19282
19283static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19284 PyObject *resultobj;
19285 wxListItem *arg1 = (wxListItem *) 0 ;
19286 long arg2 ;
19287 PyObject * obj0 = 0 ;
19288 PyObject * obj1 = 0 ;
19289 char *kwnames[] = {
19290 (char *) "self",(char *) "mask", NULL
19291 };
19292
19293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19296 arg2 = (long) SWIG_AsLong(obj1);
19297 if (PyErr_Occurred()) SWIG_fail;
19298 {
19299 PyThreadState* __tstate = wxPyBeginAllowThreads();
19300 (arg1)->SetMask(arg2);
19301
19302 wxPyEndAllowThreads(__tstate);
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
19305 Py_INCREF(Py_None); resultobj = Py_None;
19306 return resultobj;
19307 fail:
19308 return NULL;
19309}
19310
19311
19312static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19313 PyObject *resultobj;
19314 wxListItem *arg1 = (wxListItem *) 0 ;
19315 long arg2 ;
19316 PyObject * obj0 = 0 ;
19317 PyObject * obj1 = 0 ;
19318 char *kwnames[] = {
19319 (char *) "self",(char *) "id", NULL
19320 };
19321
19322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19325 arg2 = (long) SWIG_AsLong(obj1);
19326 if (PyErr_Occurred()) SWIG_fail;
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 (arg1)->SetId(arg2);
19330
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 Py_INCREF(Py_None); resultobj = Py_None;
19335 return resultobj;
19336 fail:
19337 return NULL;
19338}
19339
19340
19341static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19342 PyObject *resultobj;
19343 wxListItem *arg1 = (wxListItem *) 0 ;
19344 int arg2 ;
19345 PyObject * obj0 = 0 ;
19346 PyObject * obj1 = 0 ;
19347 char *kwnames[] = {
19348 (char *) "self",(char *) "col", NULL
19349 };
19350
19351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19354 arg2 = (int) SWIG_AsInt(obj1);
19355 if (PyErr_Occurred()) SWIG_fail;
19356 {
19357 PyThreadState* __tstate = wxPyBeginAllowThreads();
19358 (arg1)->SetColumn(arg2);
19359
19360 wxPyEndAllowThreads(__tstate);
19361 if (PyErr_Occurred()) SWIG_fail;
19362 }
19363 Py_INCREF(Py_None); resultobj = Py_None;
19364 return resultobj;
19365 fail:
19366 return NULL;
19367}
19368
19369
19370static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19371 PyObject *resultobj;
19372 wxListItem *arg1 = (wxListItem *) 0 ;
19373 long arg2 ;
19374 PyObject * obj0 = 0 ;
19375 PyObject * obj1 = 0 ;
19376 char *kwnames[] = {
19377 (char *) "self",(char *) "state", NULL
19378 };
19379
19380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19383 arg2 = (long) SWIG_AsLong(obj1);
19384 if (PyErr_Occurred()) SWIG_fail;
19385 {
19386 PyThreadState* __tstate = wxPyBeginAllowThreads();
19387 (arg1)->SetState(arg2);
19388
19389 wxPyEndAllowThreads(__tstate);
19390 if (PyErr_Occurred()) SWIG_fail;
19391 }
19392 Py_INCREF(Py_None); resultobj = Py_None;
19393 return resultobj;
19394 fail:
19395 return NULL;
19396}
19397
19398
19399static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19400 PyObject *resultobj;
19401 wxListItem *arg1 = (wxListItem *) 0 ;
19402 long arg2 ;
19403 PyObject * obj0 = 0 ;
19404 PyObject * obj1 = 0 ;
19405 char *kwnames[] = {
19406 (char *) "self",(char *) "stateMask", NULL
19407 };
19408
19409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19412 arg2 = (long) SWIG_AsLong(obj1);
19413 if (PyErr_Occurred()) SWIG_fail;
19414 {
19415 PyThreadState* __tstate = wxPyBeginAllowThreads();
19416 (arg1)->SetStateMask(arg2);
19417
19418 wxPyEndAllowThreads(__tstate);
19419 if (PyErr_Occurred()) SWIG_fail;
19420 }
19421 Py_INCREF(Py_None); resultobj = Py_None;
19422 return resultobj;
19423 fail:
19424 return NULL;
19425}
19426
19427
19428static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19429 PyObject *resultobj;
19430 wxListItem *arg1 = (wxListItem *) 0 ;
19431 wxString *arg2 = 0 ;
19432 bool temp2 = False ;
19433 PyObject * obj0 = 0 ;
19434 PyObject * obj1 = 0 ;
19435 char *kwnames[] = {
19436 (char *) "self",(char *) "text", NULL
19437 };
19438
19439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19442 {
19443 arg2 = wxString_in_helper(obj1);
19444 if (arg2 == NULL) SWIG_fail;
19445 temp2 = True;
19446 }
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 (arg1)->SetText((wxString const &)*arg2);
19450
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 Py_INCREF(Py_None); resultobj = Py_None;
19455 {
19456 if (temp2)
19457 delete arg2;
19458 }
19459 return resultobj;
19460 fail:
19461 {
19462 if (temp2)
19463 delete arg2;
19464 }
19465 return NULL;
19466}
19467
19468
19469static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19470 PyObject *resultobj;
19471 wxListItem *arg1 = (wxListItem *) 0 ;
19472 int arg2 ;
19473 PyObject * obj0 = 0 ;
19474 PyObject * obj1 = 0 ;
19475 char *kwnames[] = {
19476 (char *) "self",(char *) "image", NULL
19477 };
19478
19479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19482 arg2 = (int) SWIG_AsInt(obj1);
19483 if (PyErr_Occurred()) SWIG_fail;
19484 {
19485 PyThreadState* __tstate = wxPyBeginAllowThreads();
19486 (arg1)->SetImage(arg2);
19487
19488 wxPyEndAllowThreads(__tstate);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 }
19491 Py_INCREF(Py_None); resultobj = Py_None;
19492 return resultobj;
19493 fail:
19494 return NULL;
19495}
19496
19497
19498static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19499 PyObject *resultobj;
19500 wxListItem *arg1 = (wxListItem *) 0 ;
19501 long arg2 ;
19502 PyObject * obj0 = 0 ;
19503 PyObject * obj1 = 0 ;
19504 char *kwnames[] = {
19505 (char *) "self",(char *) "data", NULL
19506 };
19507
19508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19511 arg2 = (long) SWIG_AsLong(obj1);
19512 if (PyErr_Occurred()) SWIG_fail;
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 (arg1)->SetData(arg2);
19516
19517 wxPyEndAllowThreads(__tstate);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 }
19520 Py_INCREF(Py_None); resultobj = Py_None;
19521 return resultobj;
19522 fail:
19523 return NULL;
19524}
19525
19526
19527static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19528 PyObject *resultobj;
19529 wxListItem *arg1 = (wxListItem *) 0 ;
19530 int arg2 ;
19531 PyObject * obj0 = 0 ;
19532 PyObject * obj1 = 0 ;
19533 char *kwnames[] = {
19534 (char *) "self",(char *) "width", NULL
19535 };
19536
19537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19540 arg2 = (int) SWIG_AsInt(obj1);
19541 if (PyErr_Occurred()) SWIG_fail;
19542 {
19543 PyThreadState* __tstate = wxPyBeginAllowThreads();
19544 (arg1)->SetWidth(arg2);
19545
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
19549 Py_INCREF(Py_None); resultobj = Py_None;
19550 return resultobj;
19551 fail:
19552 return NULL;
19553}
19554
19555
19556static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19557 PyObject *resultobj;
19558 wxListItem *arg1 = (wxListItem *) 0 ;
19559 int arg2 ;
19560 PyObject * obj0 = 0 ;
19561 PyObject * obj1 = 0 ;
19562 char *kwnames[] = {
19563 (char *) "self",(char *) "align", NULL
19564 };
19565
19566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19569 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
19570 if (PyErr_Occurred()) SWIG_fail;
19571 {
19572 PyThreadState* __tstate = wxPyBeginAllowThreads();
19573 (arg1)->SetAlign((wxListColumnFormat )arg2);
19574
19575 wxPyEndAllowThreads(__tstate);
19576 if (PyErr_Occurred()) SWIG_fail;
19577 }
19578 Py_INCREF(Py_None); resultobj = Py_None;
19579 return resultobj;
19580 fail:
19581 return NULL;
19582}
19583
19584
19585static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19586 PyObject *resultobj;
19587 wxListItem *arg1 = (wxListItem *) 0 ;
19588 wxColour *arg2 = 0 ;
19589 wxColour temp2 ;
19590 PyObject * obj0 = 0 ;
19591 PyObject * obj1 = 0 ;
19592 char *kwnames[] = {
19593 (char *) "self",(char *) "colText", NULL
19594 };
19595
19596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19599 {
19600 arg2 = &temp2;
19601 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19602 }
19603 {
19604 PyThreadState* __tstate = wxPyBeginAllowThreads();
19605 (arg1)->SetTextColour((wxColour const &)*arg2);
19606
19607 wxPyEndAllowThreads(__tstate);
19608 if (PyErr_Occurred()) SWIG_fail;
19609 }
19610 Py_INCREF(Py_None); resultobj = Py_None;
19611 return resultobj;
19612 fail:
19613 return NULL;
19614}
19615
19616
19617static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19618 PyObject *resultobj;
19619 wxListItem *arg1 = (wxListItem *) 0 ;
19620 wxColour *arg2 = 0 ;
19621 wxColour temp2 ;
19622 PyObject * obj0 = 0 ;
19623 PyObject * obj1 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self",(char *) "colBack", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19631 {
19632 arg2 = &temp2;
19633 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19634 }
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19638
19639 wxPyEndAllowThreads(__tstate);
19640 if (PyErr_Occurred()) SWIG_fail;
19641 }
19642 Py_INCREF(Py_None); resultobj = Py_None;
19643 return resultobj;
19644 fail:
19645 return NULL;
19646}
19647
19648
19649static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19650 PyObject *resultobj;
19651 wxListItem *arg1 = (wxListItem *) 0 ;
19652 wxFont *arg2 = 0 ;
19653 PyObject * obj0 = 0 ;
19654 PyObject * obj1 = 0 ;
19655 char *kwnames[] = {
19656 (char *) "self",(char *) "font", NULL
19657 };
19658
19659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
19660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19663 SWIG_POINTER_EXCEPTION | 0)) == -1)
19664 SWIG_fail;
19665 if (arg2 == NULL) {
19666 PyErr_SetString(PyExc_TypeError,"null reference");
19667 SWIG_fail;
19668 }
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 (arg1)->SetFont((wxFont const &)*arg2);
19672
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 Py_INCREF(Py_None); resultobj = Py_None;
19677 return resultobj;
19678 fail:
19679 return NULL;
19680}
19681
19682
19683static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19684 PyObject *resultobj;
19685 wxListItem *arg1 = (wxListItem *) 0 ;
19686 long result;
19687 PyObject * obj0 = 0 ;
19688 char *kwnames[] = {
19689 (char *) "self", NULL
19690 };
19691
19692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
19693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
19697 result = (long)(arg1)->GetMask();
19698
19699 wxPyEndAllowThreads(__tstate);
19700 if (PyErr_Occurred()) SWIG_fail;
19701 }
19702 resultobj = SWIG_FromLong((long)result);
19703 return resultobj;
19704 fail:
19705 return NULL;
19706}
19707
19708
19709static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxListItem *arg1 = (wxListItem *) 0 ;
19712 long result;
19713 PyObject * obj0 = 0 ;
19714 char *kwnames[] = {
19715 (char *) "self", NULL
19716 };
19717
19718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
19719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19721 {
19722 PyThreadState* __tstate = wxPyBeginAllowThreads();
19723 result = (long)(arg1)->GetId();
19724
19725 wxPyEndAllowThreads(__tstate);
19726 if (PyErr_Occurred()) SWIG_fail;
19727 }
19728 resultobj = SWIG_FromLong((long)result);
19729 return resultobj;
19730 fail:
19731 return NULL;
19732}
19733
19734
19735static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19736 PyObject *resultobj;
19737 wxListItem *arg1 = (wxListItem *) 0 ;
19738 int result;
19739 PyObject * obj0 = 0 ;
19740 char *kwnames[] = {
19741 (char *) "self", NULL
19742 };
19743
19744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
19745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19747 {
19748 PyThreadState* __tstate = wxPyBeginAllowThreads();
19749 result = (int)(arg1)->GetColumn();
19750
19751 wxPyEndAllowThreads(__tstate);
19752 if (PyErr_Occurred()) SWIG_fail;
19753 }
19754 resultobj = SWIG_FromInt((int)result);
19755 return resultobj;
19756 fail:
19757 return NULL;
19758}
19759
19760
19761static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19762 PyObject *resultobj;
19763 wxListItem *arg1 = (wxListItem *) 0 ;
19764 long result;
19765 PyObject * obj0 = 0 ;
19766 char *kwnames[] = {
19767 (char *) "self", NULL
19768 };
19769
19770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
19771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19773 {
19774 PyThreadState* __tstate = wxPyBeginAllowThreads();
19775 result = (long)(arg1)->GetState();
19776
19777 wxPyEndAllowThreads(__tstate);
19778 if (PyErr_Occurred()) SWIG_fail;
19779 }
19780 resultobj = SWIG_FromLong((long)result);
19781 return resultobj;
19782 fail:
19783 return NULL;
19784}
19785
19786
19787static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19788 PyObject *resultobj;
19789 wxListItem *arg1 = (wxListItem *) 0 ;
19790 wxString *result;
19791 PyObject * obj0 = 0 ;
19792 char *kwnames[] = {
19793 (char *) "self", NULL
19794 };
19795
19796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
19797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19799 {
19800 PyThreadState* __tstate = wxPyBeginAllowThreads();
19801 {
19802 wxString const &_result_ref = (arg1)->GetText();
19803 result = (wxString *) &_result_ref;
19804 }
19805
19806 wxPyEndAllowThreads(__tstate);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 {
19810#if wxUSE_UNICODE
19811 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19812#else
19813 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19814#endif
19815 }
19816 return resultobj;
19817 fail:
19818 return NULL;
19819}
19820
19821
19822static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19823 PyObject *resultobj;
19824 wxListItem *arg1 = (wxListItem *) 0 ;
19825 int result;
19826 PyObject * obj0 = 0 ;
19827 char *kwnames[] = {
19828 (char *) "self", NULL
19829 };
19830
19831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
19832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19834 {
19835 PyThreadState* __tstate = wxPyBeginAllowThreads();
19836 result = (int)(arg1)->GetImage();
19837
19838 wxPyEndAllowThreads(__tstate);
19839 if (PyErr_Occurred()) SWIG_fail;
19840 }
19841 resultobj = SWIG_FromInt((int)result);
19842 return resultobj;
19843 fail:
19844 return NULL;
19845}
19846
19847
19848static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19849 PyObject *resultobj;
19850 wxListItem *arg1 = (wxListItem *) 0 ;
19851 long result;
19852 PyObject * obj0 = 0 ;
19853 char *kwnames[] = {
19854 (char *) "self", NULL
19855 };
19856
19857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
19858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19860 {
19861 PyThreadState* __tstate = wxPyBeginAllowThreads();
19862 result = (long)(arg1)->GetData();
19863
19864 wxPyEndAllowThreads(__tstate);
19865 if (PyErr_Occurred()) SWIG_fail;
19866 }
19867 resultobj = SWIG_FromLong((long)result);
19868 return resultobj;
19869 fail:
19870 return NULL;
19871}
19872
19873
19874static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19875 PyObject *resultobj;
19876 wxListItem *arg1 = (wxListItem *) 0 ;
19877 int result;
19878 PyObject * obj0 = 0 ;
19879 char *kwnames[] = {
19880 (char *) "self", NULL
19881 };
19882
19883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
19884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19886 {
19887 PyThreadState* __tstate = wxPyBeginAllowThreads();
19888 result = (int)(arg1)->GetWidth();
19889
19890 wxPyEndAllowThreads(__tstate);
19891 if (PyErr_Occurred()) SWIG_fail;
19892 }
19893 resultobj = SWIG_FromInt((int)result);
19894 return resultobj;
19895 fail:
19896 return NULL;
19897}
19898
19899
19900static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19901 PyObject *resultobj;
19902 wxListItem *arg1 = (wxListItem *) 0 ;
19903 int result;
19904 PyObject * obj0 = 0 ;
19905 char *kwnames[] = {
19906 (char *) "self", NULL
19907 };
19908
19909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
19910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19912 {
19913 PyThreadState* __tstate = wxPyBeginAllowThreads();
19914 result = (int)(arg1)->GetAlign();
19915
19916 wxPyEndAllowThreads(__tstate);
19917 if (PyErr_Occurred()) SWIG_fail;
19918 }
19919 resultobj = SWIG_FromInt((int)result);
19920 return resultobj;
19921 fail:
19922 return NULL;
19923}
19924
19925
19926static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19927 PyObject *resultobj;
19928 wxListItem *arg1 = (wxListItem *) 0 ;
19929 wxListItemAttr *result;
19930 PyObject * obj0 = 0 ;
19931 char *kwnames[] = {
19932 (char *) "self", NULL
19933 };
19934
19935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
19936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19938 {
19939 PyThreadState* __tstate = wxPyBeginAllowThreads();
19940 result = (wxListItemAttr *)(arg1)->GetAttributes();
19941
19942 wxPyEndAllowThreads(__tstate);
19943 if (PyErr_Occurred()) SWIG_fail;
19944 }
19945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
19946 return resultobj;
19947 fail:
19948 return NULL;
19949}
19950
19951
19952static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19953 PyObject *resultobj;
19954 wxListItem *arg1 = (wxListItem *) 0 ;
19955 bool result;
19956 PyObject * obj0 = 0 ;
19957 char *kwnames[] = {
19958 (char *) "self", NULL
19959 };
19960
19961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
19962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 result = (bool)(arg1)->HasAttributes();
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 {
19972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19973 }
19974 return resultobj;
19975 fail:
19976 return NULL;
19977}
19978
19979
19980static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19981 PyObject *resultobj;
19982 wxListItem *arg1 = (wxListItem *) 0 ;
19983 wxColour result;
19984 PyObject * obj0 = 0 ;
19985 char *kwnames[] = {
19986 (char *) "self", NULL
19987 };
19988
19989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
19990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19992 {
19993 PyThreadState* __tstate = wxPyBeginAllowThreads();
19994 result = ((wxListItem const *)arg1)->GetTextColour();
19995
19996 wxPyEndAllowThreads(__tstate);
19997 if (PyErr_Occurred()) SWIG_fail;
19998 }
19999 {
20000 wxColour * resultptr;
20001 resultptr = new wxColour((wxColour &) result);
20002 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20003 }
20004 return resultobj;
20005 fail:
20006 return NULL;
20007}
20008
20009
20010static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20011 PyObject *resultobj;
20012 wxListItem *arg1 = (wxListItem *) 0 ;
20013 wxColour result;
20014 PyObject * obj0 = 0 ;
20015 char *kwnames[] = {
20016 (char *) "self", NULL
20017 };
20018
20019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
20020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20022 {
20023 PyThreadState* __tstate = wxPyBeginAllowThreads();
20024 result = ((wxListItem const *)arg1)->GetBackgroundColour();
20025
20026 wxPyEndAllowThreads(__tstate);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 }
20029 {
20030 wxColour * resultptr;
20031 resultptr = new wxColour((wxColour &) result);
20032 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
20033 }
20034 return resultobj;
20035 fail:
20036 return NULL;
20037}
20038
20039
20040static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
20041 PyObject *resultobj;
20042 wxListItem *arg1 = (wxListItem *) 0 ;
20043 wxFont result;
20044 PyObject * obj0 = 0 ;
20045 char *kwnames[] = {
20046 (char *) "self", NULL
20047 };
20048
20049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
20050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20052 {
20053 PyThreadState* __tstate = wxPyBeginAllowThreads();
20054 result = ((wxListItem const *)arg1)->GetFont();
20055
20056 wxPyEndAllowThreads(__tstate);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 {
20060 wxFont * resultptr;
20061 resultptr = new wxFont((wxFont &) result);
20062 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
20063 }
20064 return resultobj;
20065 fail:
20066 return NULL;
20067}
20068
20069
20070static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20071 PyObject *resultobj;
20072 wxListItem *arg1 = (wxListItem *) 0 ;
20073 long arg2 ;
20074 PyObject * obj0 = 0 ;
20075 PyObject * obj1 = 0 ;
20076 char *kwnames[] = {
20077 (char *) "self",(char *) "m_mask", NULL
20078 };
20079
20080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
20081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20083 arg2 = (long) SWIG_AsLong(obj1);
20084 if (PyErr_Occurred()) SWIG_fail;
20085 if (arg1) (arg1)->m_mask = arg2;
20086
20087 Py_INCREF(Py_None); resultobj = Py_None;
20088 return resultobj;
20089 fail:
20090 return NULL;
20091}
20092
20093
20094static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxListItem *arg1 = (wxListItem *) 0 ;
20097 long result;
20098 PyObject * obj0 = 0 ;
20099 char *kwnames[] = {
20100 (char *) "self", NULL
20101 };
20102
20103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
20104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20106 result = (long) ((arg1)->m_mask);
20107
20108 resultobj = SWIG_FromLong((long)result);
20109 return resultobj;
20110 fail:
20111 return NULL;
20112}
20113
20114
20115static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj;
20117 wxListItem *arg1 = (wxListItem *) 0 ;
20118 long arg2 ;
20119 PyObject * obj0 = 0 ;
20120 PyObject * obj1 = 0 ;
20121 char *kwnames[] = {
20122 (char *) "self",(char *) "m_itemId", NULL
20123 };
20124
20125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
20126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20128 arg2 = (long) SWIG_AsLong(obj1);
20129 if (PyErr_Occurred()) SWIG_fail;
20130 if (arg1) (arg1)->m_itemId = arg2;
20131
20132 Py_INCREF(Py_None); resultobj = Py_None;
20133 return resultobj;
20134 fail:
20135 return NULL;
20136}
20137
20138
20139static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20140 PyObject *resultobj;
20141 wxListItem *arg1 = (wxListItem *) 0 ;
20142 long result;
20143 PyObject * obj0 = 0 ;
20144 char *kwnames[] = {
20145 (char *) "self", NULL
20146 };
20147
20148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
20149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20151 result = (long) ((arg1)->m_itemId);
20152
20153 resultobj = SWIG_FromLong((long)result);
20154 return resultobj;
20155 fail:
20156 return NULL;
20157}
20158
20159
20160static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20161 PyObject *resultobj;
20162 wxListItem *arg1 = (wxListItem *) 0 ;
20163 int arg2 ;
20164 PyObject * obj0 = 0 ;
20165 PyObject * obj1 = 0 ;
20166 char *kwnames[] = {
20167 (char *) "self",(char *) "m_col", NULL
20168 };
20169
20170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20173 arg2 = (int) SWIG_AsInt(obj1);
20174 if (PyErr_Occurred()) SWIG_fail;
20175 if (arg1) (arg1)->m_col = arg2;
20176
20177 Py_INCREF(Py_None); resultobj = Py_None;
20178 return resultobj;
20179 fail:
20180 return NULL;
20181}
20182
20183
20184static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20185 PyObject *resultobj;
20186 wxListItem *arg1 = (wxListItem *) 0 ;
20187 int result;
20188 PyObject * obj0 = 0 ;
20189 char *kwnames[] = {
20190 (char *) "self", NULL
20191 };
20192
20193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
20194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20196 result = (int) ((arg1)->m_col);
20197
20198 resultobj = SWIG_FromInt((int)result);
20199 return resultobj;
20200 fail:
20201 return NULL;
20202}
20203
20204
20205static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxListItem *arg1 = (wxListItem *) 0 ;
20208 long arg2 ;
20209 PyObject * obj0 = 0 ;
20210 PyObject * obj1 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self",(char *) "m_state", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20218 arg2 = (long) SWIG_AsLong(obj1);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 if (arg1) (arg1)->m_state = arg2;
20221
20222 Py_INCREF(Py_None); resultobj = Py_None;
20223 return resultobj;
20224 fail:
20225 return NULL;
20226}
20227
20228
20229static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20230 PyObject *resultobj;
20231 wxListItem *arg1 = (wxListItem *) 0 ;
20232 long result;
20233 PyObject * obj0 = 0 ;
20234 char *kwnames[] = {
20235 (char *) "self", NULL
20236 };
20237
20238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
20239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20241 result = (long) ((arg1)->m_state);
20242
20243 resultobj = SWIG_FromLong((long)result);
20244 return resultobj;
20245 fail:
20246 return NULL;
20247}
20248
20249
20250static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20251 PyObject *resultobj;
20252 wxListItem *arg1 = (wxListItem *) 0 ;
20253 long arg2 ;
20254 PyObject * obj0 = 0 ;
20255 PyObject * obj1 = 0 ;
20256 char *kwnames[] = {
20257 (char *) "self",(char *) "m_stateMask", NULL
20258 };
20259
20260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
20261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20263 arg2 = (long) SWIG_AsLong(obj1);
20264 if (PyErr_Occurred()) SWIG_fail;
20265 if (arg1) (arg1)->m_stateMask = arg2;
20266
20267 Py_INCREF(Py_None); resultobj = Py_None;
20268 return resultobj;
20269 fail:
20270 return NULL;
20271}
20272
20273
20274static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20275 PyObject *resultobj;
20276 wxListItem *arg1 = (wxListItem *) 0 ;
20277 long result;
20278 PyObject * obj0 = 0 ;
20279 char *kwnames[] = {
20280 (char *) "self", NULL
20281 };
20282
20283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
20284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20286 result = (long) ((arg1)->m_stateMask);
20287
20288 resultobj = SWIG_FromLong((long)result);
20289 return resultobj;
20290 fail:
20291 return NULL;
20292}
20293
20294
20295static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20296 PyObject *resultobj;
20297 wxListItem *arg1 = (wxListItem *) 0 ;
20298 wxString *arg2 = (wxString *) 0 ;
20299 bool temp2 = False ;
20300 PyObject * obj0 = 0 ;
20301 PyObject * obj1 = 0 ;
20302 char *kwnames[] = {
20303 (char *) "self",(char *) "m_text", NULL
20304 };
20305
20306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20309 {
20310 arg2 = wxString_in_helper(obj1);
20311 if (arg2 == NULL) SWIG_fail;
20312 temp2 = True;
20313 }
20314 if (arg1) (arg1)->m_text = *arg2;
20315
20316 Py_INCREF(Py_None); resultobj = Py_None;
20317 {
20318 if (temp2)
20319 delete arg2;
20320 }
20321 return resultobj;
20322 fail:
20323 {
20324 if (temp2)
20325 delete arg2;
20326 }
20327 return NULL;
20328}
20329
20330
20331static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20332 PyObject *resultobj;
20333 wxListItem *arg1 = (wxListItem *) 0 ;
20334 wxString *result;
20335 PyObject * obj0 = 0 ;
20336 char *kwnames[] = {
20337 (char *) "self", NULL
20338 };
20339
20340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
20341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20343 result = (wxString *)& ((arg1)->m_text);
20344
20345 {
20346#if wxUSE_UNICODE
20347 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20348#else
20349 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20350#endif
20351 }
20352 return resultobj;
20353 fail:
20354 return NULL;
20355}
20356
20357
20358static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20359 PyObject *resultobj;
20360 wxListItem *arg1 = (wxListItem *) 0 ;
20361 int arg2 ;
20362 PyObject * obj0 = 0 ;
20363 PyObject * obj1 = 0 ;
20364 char *kwnames[] = {
20365 (char *) "self",(char *) "m_image", NULL
20366 };
20367
20368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20371 arg2 = (int) SWIG_AsInt(obj1);
20372 if (PyErr_Occurred()) SWIG_fail;
20373 if (arg1) (arg1)->m_image = arg2;
20374
20375 Py_INCREF(Py_None); resultobj = Py_None;
20376 return resultobj;
20377 fail:
20378 return NULL;
20379}
20380
20381
20382static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20383 PyObject *resultobj;
20384 wxListItem *arg1 = (wxListItem *) 0 ;
20385 int result;
20386 PyObject * obj0 = 0 ;
20387 char *kwnames[] = {
20388 (char *) "self", NULL
20389 };
20390
20391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20394 result = (int) ((arg1)->m_image);
20395
20396 resultobj = SWIG_FromInt((int)result);
20397 return resultobj;
20398 fail:
20399 return NULL;
20400}
20401
20402
20403static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20404 PyObject *resultobj;
20405 wxListItem *arg1 = (wxListItem *) 0 ;
20406 long arg2 ;
20407 PyObject * obj0 = 0 ;
20408 PyObject * obj1 = 0 ;
20409 char *kwnames[] = {
20410 (char *) "self",(char *) "m_data", NULL
20411 };
20412
20413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20416 arg2 = (long) SWIG_AsLong(obj1);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 if (arg1) (arg1)->m_data = arg2;
20419
20420 Py_INCREF(Py_None); resultobj = Py_None;
20421 return resultobj;
20422 fail:
20423 return NULL;
20424}
20425
20426
20427static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20428 PyObject *resultobj;
20429 wxListItem *arg1 = (wxListItem *) 0 ;
20430 long result;
20431 PyObject * obj0 = 0 ;
20432 char *kwnames[] = {
20433 (char *) "self", NULL
20434 };
20435
20436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20439 result = (long) ((arg1)->m_data);
20440
20441 resultobj = SWIG_FromLong((long)result);
20442 return resultobj;
20443 fail:
20444 return NULL;
20445}
20446
20447
20448static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20449 PyObject *resultobj;
20450 wxListItem *arg1 = (wxListItem *) 0 ;
20451 int arg2 ;
20452 PyObject * obj0 = 0 ;
20453 PyObject * obj1 = 0 ;
20454 char *kwnames[] = {
20455 (char *) "self",(char *) "m_format", NULL
20456 };
20457
20458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20461 arg2 = (int) SWIG_AsInt(obj1);
20462 if (PyErr_Occurred()) SWIG_fail;
20463 if (arg1) (arg1)->m_format = arg2;
20464
20465 Py_INCREF(Py_None); resultobj = Py_None;
20466 return resultobj;
20467 fail:
20468 return NULL;
20469}
20470
20471
20472static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20473 PyObject *resultobj;
20474 wxListItem *arg1 = (wxListItem *) 0 ;
20475 int result;
20476 PyObject * obj0 = 0 ;
20477 char *kwnames[] = {
20478 (char *) "self", NULL
20479 };
20480
20481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20484 result = (int) ((arg1)->m_format);
20485
20486 resultobj = SWIG_FromInt((int)result);
20487 return resultobj;
20488 fail:
20489 return NULL;
20490}
20491
20492
20493static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20494 PyObject *resultobj;
20495 wxListItem *arg1 = (wxListItem *) 0 ;
20496 int arg2 ;
20497 PyObject * obj0 = 0 ;
20498 PyObject * obj1 = 0 ;
20499 char *kwnames[] = {
20500 (char *) "self",(char *) "m_width", NULL
20501 };
20502
20503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20506 arg2 = (int) SWIG_AsInt(obj1);
20507 if (PyErr_Occurred()) SWIG_fail;
20508 if (arg1) (arg1)->m_width = arg2;
20509
20510 Py_INCREF(Py_None); resultobj = Py_None;
20511 return resultobj;
20512 fail:
20513 return NULL;
20514}
20515
20516
20517static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 wxListItem *arg1 = (wxListItem *) 0 ;
20520 int result;
20521 PyObject * obj0 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "self", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20529 result = (int) ((arg1)->m_width);
20530
20531 resultobj = SWIG_FromInt((int)result);
20532 return resultobj;
20533 fail:
20534 return NULL;
20535}
20536
20537
20538static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
20539 PyObject *obj;
20540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20541 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20542 Py_INCREF(obj);
20543 return Py_BuildValue((char *)"");
20544}
20545static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj;
20547 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20548 int arg2 = (int) 0 ;
20549 wxListEvent *result;
20550 PyObject * obj0 = 0 ;
20551 PyObject * obj1 = 0 ;
20552 char *kwnames[] = {
20553 (char *) "commandType",(char *) "id", NULL
20554 };
20555
20556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20557 if (obj0) {
20558 arg1 = (wxEventType) SWIG_AsInt(obj0);
20559 if (PyErr_Occurred()) SWIG_fail;
20560 }
20561 if (obj1) {
20562 arg2 = (int) SWIG_AsInt(obj1);
20563 if (PyErr_Occurred()) SWIG_fail;
20564 }
20565 {
20566 PyThreadState* __tstate = wxPyBeginAllowThreads();
20567 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20568
20569 wxPyEndAllowThreads(__tstate);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 }
20572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20573 return resultobj;
20574 fail:
20575 return NULL;
20576}
20577
20578
20579static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20580 PyObject *resultobj;
20581 wxListEvent *arg1 = (wxListEvent *) 0 ;
20582 int arg2 ;
20583 PyObject * obj0 = 0 ;
20584 PyObject * obj1 = 0 ;
20585 char *kwnames[] = {
20586 (char *) "self",(char *) "m_code", NULL
20587 };
20588
20589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20592 arg2 = (int) SWIG_AsInt(obj1);
20593 if (PyErr_Occurred()) SWIG_fail;
20594 if (arg1) (arg1)->m_code = arg2;
20595
20596 Py_INCREF(Py_None); resultobj = Py_None;
20597 return resultobj;
20598 fail:
20599 return NULL;
20600}
20601
20602
20603static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20604 PyObject *resultobj;
20605 wxListEvent *arg1 = (wxListEvent *) 0 ;
20606 int result;
20607 PyObject * obj0 = 0 ;
20608 char *kwnames[] = {
20609 (char *) "self", NULL
20610 };
20611
20612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
20613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20615 result = (int) ((arg1)->m_code);
20616
20617 resultobj = SWIG_FromInt((int)result);
20618 return resultobj;
20619 fail:
20620 return NULL;
20621}
20622
20623
20624static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20625 PyObject *resultobj;
20626 wxListEvent *arg1 = (wxListEvent *) 0 ;
20627 long arg2 ;
20628 PyObject * obj0 = 0 ;
20629 PyObject * obj1 = 0 ;
20630 char *kwnames[] = {
20631 (char *) "self",(char *) "m_oldItemIndex", NULL
20632 };
20633
20634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20637 arg2 = (long) SWIG_AsLong(obj1);
20638 if (PyErr_Occurred()) SWIG_fail;
20639 if (arg1) (arg1)->m_oldItemIndex = arg2;
20640
20641 Py_INCREF(Py_None); resultobj = Py_None;
20642 return resultobj;
20643 fail:
20644 return NULL;
20645}
20646
20647
20648static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20649 PyObject *resultobj;
20650 wxListEvent *arg1 = (wxListEvent *) 0 ;
20651 long result;
20652 PyObject * obj0 = 0 ;
20653 char *kwnames[] = {
20654 (char *) "self", NULL
20655 };
20656
20657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
20658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20660 result = (long) ((arg1)->m_oldItemIndex);
20661
20662 resultobj = SWIG_FromLong((long)result);
20663 return resultobj;
20664 fail:
20665 return NULL;
20666}
20667
20668
20669static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20670 PyObject *resultobj;
20671 wxListEvent *arg1 = (wxListEvent *) 0 ;
20672 long arg2 ;
20673 PyObject * obj0 = 0 ;
20674 PyObject * obj1 = 0 ;
20675 char *kwnames[] = {
20676 (char *) "self",(char *) "m_itemIndex", NULL
20677 };
20678
20679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20682 arg2 = (long) SWIG_AsLong(obj1);
20683 if (PyErr_Occurred()) SWIG_fail;
20684 if (arg1) (arg1)->m_itemIndex = arg2;
20685
20686 Py_INCREF(Py_None); resultobj = Py_None;
20687 return resultobj;
20688 fail:
20689 return NULL;
20690}
20691
20692
20693static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20694 PyObject *resultobj;
20695 wxListEvent *arg1 = (wxListEvent *) 0 ;
20696 long result;
20697 PyObject * obj0 = 0 ;
20698 char *kwnames[] = {
20699 (char *) "self", NULL
20700 };
20701
20702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
20703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20705 result = (long) ((arg1)->m_itemIndex);
20706
20707 resultobj = SWIG_FromLong((long)result);
20708 return resultobj;
20709 fail:
20710 return NULL;
20711}
20712
20713
20714static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20715 PyObject *resultobj;
20716 wxListEvent *arg1 = (wxListEvent *) 0 ;
20717 int arg2 ;
20718 PyObject * obj0 = 0 ;
20719 PyObject * obj1 = 0 ;
20720 char *kwnames[] = {
20721 (char *) "self",(char *) "m_col", NULL
20722 };
20723
20724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20727 arg2 = (int) SWIG_AsInt(obj1);
20728 if (PyErr_Occurred()) SWIG_fail;
20729 if (arg1) (arg1)->m_col = arg2;
20730
20731 Py_INCREF(Py_None); resultobj = Py_None;
20732 return resultobj;
20733 fail:
20734 return NULL;
20735}
20736
20737
20738static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20739 PyObject *resultobj;
20740 wxListEvent *arg1 = (wxListEvent *) 0 ;
20741 int result;
20742 PyObject * obj0 = 0 ;
20743 char *kwnames[] = {
20744 (char *) "self", NULL
20745 };
20746
20747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
20748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20750 result = (int) ((arg1)->m_col);
20751
20752 resultobj = SWIG_FromInt((int)result);
20753 return resultobj;
20754 fail:
20755 return NULL;
20756}
20757
20758
20759static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20760 PyObject *resultobj;
20761 wxListEvent *arg1 = (wxListEvent *) 0 ;
20762 wxPoint *arg2 = (wxPoint *) 0 ;
20763 PyObject * obj0 = 0 ;
20764 PyObject * obj1 = 0 ;
20765 char *kwnames[] = {
20766 (char *) "self",(char *) "m_pointDrag", NULL
20767 };
20768
20769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
20770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
20773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20774 if (arg1) (arg1)->m_pointDrag = *arg2;
20775
20776 Py_INCREF(Py_None); resultobj = Py_None;
20777 return resultobj;
20778 fail:
20779 return NULL;
20780}
20781
20782
20783static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20784 PyObject *resultobj;
20785 wxListEvent *arg1 = (wxListEvent *) 0 ;
20786 wxPoint *result;
20787 PyObject * obj0 = 0 ;
20788 char *kwnames[] = {
20789 (char *) "self", NULL
20790 };
20791
20792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
20793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20795 result = (wxPoint *)& ((arg1)->m_pointDrag);
20796
20797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
20798 return resultobj;
20799 fail:
20800 return NULL;
20801}
20802
20803
20804static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20805 PyObject *resultobj;
20806 wxListEvent *arg1 = (wxListEvent *) 0 ;
20807 wxListItem *result;
20808 PyObject * obj0 = 0 ;
20809 char *kwnames[] = {
20810 (char *) "self", NULL
20811 };
20812
20813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
20814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20816 result = (wxListItem *)& ((arg1)->m_item);
20817
20818 {
20819 resultobj = wxPyMake_wxObject(result);
20820 }
20821 return resultobj;
20822 fail:
20823 return NULL;
20824}
20825
20826
20827static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20828 PyObject *resultobj;
20829 wxListEvent *arg1 = (wxListEvent *) 0 ;
20830 int result;
20831 PyObject * obj0 = 0 ;
20832 char *kwnames[] = {
20833 (char *) "self", NULL
20834 };
20835
20836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20839 {
20840 PyThreadState* __tstate = wxPyBeginAllowThreads();
20841 result = (int)(arg1)->GetKeyCode();
20842
20843 wxPyEndAllowThreads(__tstate);
20844 if (PyErr_Occurred()) SWIG_fail;
20845 }
20846 resultobj = SWIG_FromInt((int)result);
20847 return resultobj;
20848 fail:
20849 return NULL;
20850}
20851
20852
20853static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
20854 PyObject *resultobj;
20855 wxListEvent *arg1 = (wxListEvent *) 0 ;
20856 long result;
20857 PyObject * obj0 = 0 ;
20858 char *kwnames[] = {
20859 (char *) "self", NULL
20860 };
20861
20862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
20863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 result = (long)(arg1)->GetIndex();
20868
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 resultobj = SWIG_FromLong((long)result);
20873 return resultobj;
20874 fail:
20875 return NULL;
20876}
20877
20878
20879static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20880 PyObject *resultobj;
20881 wxListEvent *arg1 = (wxListEvent *) 0 ;
20882 int result;
20883 PyObject * obj0 = 0 ;
20884 char *kwnames[] = {
20885 (char *) "self", NULL
20886 };
20887
20888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
20889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20891 {
20892 PyThreadState* __tstate = wxPyBeginAllowThreads();
20893 result = (int)(arg1)->GetColumn();
20894
20895 wxPyEndAllowThreads(__tstate);
20896 if (PyErr_Occurred()) SWIG_fail;
20897 }
20898 resultobj = SWIG_FromInt((int)result);
20899 return resultobj;
20900 fail:
20901 return NULL;
20902}
20903
20904
20905static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20906 PyObject *resultobj;
20907 wxListEvent *arg1 = (wxListEvent *) 0 ;
20908 wxPoint result;
20909 PyObject * obj0 = 0 ;
20910 char *kwnames[] = {
20911 (char *) "self", NULL
20912 };
20913
20914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
20915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20917 {
20918 PyThreadState* __tstate = wxPyBeginAllowThreads();
20919 result = (arg1)->GetPoint();
20920
20921 wxPyEndAllowThreads(__tstate);
20922 if (PyErr_Occurred()) SWIG_fail;
20923 }
20924 {
20925 wxPoint * resultptr;
20926 resultptr = new wxPoint((wxPoint &) result);
20927 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20928 }
20929 return resultobj;
20930 fail:
20931 return NULL;
20932}
20933
20934
20935static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20936 PyObject *resultobj;
20937 wxListEvent *arg1 = (wxListEvent *) 0 ;
20938 wxString *result;
20939 PyObject * obj0 = 0 ;
20940 char *kwnames[] = {
20941 (char *) "self", NULL
20942 };
20943
20944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
20945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20947 {
20948 PyThreadState* __tstate = wxPyBeginAllowThreads();
20949 {
20950 wxString const &_result_ref = (arg1)->GetLabel();
20951 result = (wxString *) &_result_ref;
20952 }
20953
20954 wxPyEndAllowThreads(__tstate);
20955 if (PyErr_Occurred()) SWIG_fail;
20956 }
20957 {
20958#if wxUSE_UNICODE
20959 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20960#else
20961 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20962#endif
20963 }
20964 return resultobj;
20965 fail:
20966 return NULL;
20967}
20968
20969
20970static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
20971 PyObject *resultobj;
20972 wxListEvent *arg1 = (wxListEvent *) 0 ;
20973 wxString *result;
20974 PyObject * obj0 = 0 ;
20975 char *kwnames[] = {
20976 (char *) "self", NULL
20977 };
20978
20979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
20980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20982 {
20983 PyThreadState* __tstate = wxPyBeginAllowThreads();
20984 {
20985 wxString const &_result_ref = (arg1)->GetText();
20986 result = (wxString *) &_result_ref;
20987 }
20988
20989 wxPyEndAllowThreads(__tstate);
20990 if (PyErr_Occurred()) SWIG_fail;
20991 }
20992 {
20993#if wxUSE_UNICODE
20994 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20995#else
20996 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20997#endif
20998 }
20999 return resultobj;
21000 fail:
21001 return NULL;
21002}
21003
21004
21005static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21006 PyObject *resultobj;
21007 wxListEvent *arg1 = (wxListEvent *) 0 ;
21008 int result;
21009 PyObject * obj0 = 0 ;
21010 char *kwnames[] = {
21011 (char *) "self", NULL
21012 };
21013
21014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
21015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21017 {
21018 PyThreadState* __tstate = wxPyBeginAllowThreads();
21019 result = (int)(arg1)->GetImage();
21020
21021 wxPyEndAllowThreads(__tstate);
21022 if (PyErr_Occurred()) SWIG_fail;
21023 }
21024 resultobj = SWIG_FromInt((int)result);
21025 return resultobj;
21026 fail:
21027 return NULL;
21028}
21029
21030
21031static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
21032 PyObject *resultobj;
21033 wxListEvent *arg1 = (wxListEvent *) 0 ;
21034 long result;
21035 PyObject * obj0 = 0 ;
21036 char *kwnames[] = {
21037 (char *) "self", NULL
21038 };
21039
21040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
21041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21043 {
21044 PyThreadState* __tstate = wxPyBeginAllowThreads();
21045 result = (long)(arg1)->GetData();
21046
21047 wxPyEndAllowThreads(__tstate);
21048 if (PyErr_Occurred()) SWIG_fail;
21049 }
21050 resultobj = SWIG_FromLong((long)result);
21051 return resultobj;
21052 fail:
21053 return NULL;
21054}
21055
21056
21057static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
21058 PyObject *resultobj;
21059 wxListEvent *arg1 = (wxListEvent *) 0 ;
21060 long result;
21061 PyObject * obj0 = 0 ;
21062 char *kwnames[] = {
21063 (char *) "self", NULL
21064 };
21065
21066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
21067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21069 {
21070 PyThreadState* __tstate = wxPyBeginAllowThreads();
21071 result = (long)(arg1)->GetMask();
21072
21073 wxPyEndAllowThreads(__tstate);
21074 if (PyErr_Occurred()) SWIG_fail;
21075 }
21076 resultobj = SWIG_FromLong((long)result);
21077 return resultobj;
21078 fail:
21079 return NULL;
21080}
21081
21082
21083static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21084 PyObject *resultobj;
21085 wxListEvent *arg1 = (wxListEvent *) 0 ;
21086 wxListItem *result;
21087 PyObject * obj0 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
21093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21095 {
21096 PyThreadState* __tstate = wxPyBeginAllowThreads();
21097 {
21098 wxListItem const &_result_ref = (arg1)->GetItem();
21099 result = (wxListItem *) &_result_ref;
21100 }
21101
21102 wxPyEndAllowThreads(__tstate);
21103 if (PyErr_Occurred()) SWIG_fail;
21104 }
21105 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
21106 return resultobj;
21107 fail:
21108 return NULL;
21109}
21110
21111
21112static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
21113 PyObject *resultobj;
21114 wxListEvent *arg1 = (wxListEvent *) 0 ;
21115 long result;
21116 PyObject * obj0 = 0 ;
21117 char *kwnames[] = {
21118 (char *) "self", NULL
21119 };
21120
21121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
21122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21124 {
21125 PyThreadState* __tstate = wxPyBeginAllowThreads();
21126 result = (long)(arg1)->GetCacheFrom();
21127
21128 wxPyEndAllowThreads(__tstate);
21129 if (PyErr_Occurred()) SWIG_fail;
21130 }
21131 resultobj = SWIG_FromLong((long)result);
21132 return resultobj;
21133 fail:
21134 return NULL;
21135}
21136
21137
21138static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
21139 PyObject *resultobj;
21140 wxListEvent *arg1 = (wxListEvent *) 0 ;
21141 long result;
21142 PyObject * obj0 = 0 ;
21143 char *kwnames[] = {
21144 (char *) "self", NULL
21145 };
21146
21147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
21148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21150 {
21151 PyThreadState* __tstate = wxPyBeginAllowThreads();
21152 result = (long)(arg1)->GetCacheTo();
21153
21154 wxPyEndAllowThreads(__tstate);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 resultobj = SWIG_FromLong((long)result);
21158 return resultobj;
21159 fail:
21160 return NULL;
21161}
21162
21163
21164static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
21165 PyObject *resultobj;
21166 wxListEvent *arg1 = (wxListEvent *) 0 ;
21167 bool result;
21168 PyObject * obj0 = 0 ;
21169 char *kwnames[] = {
21170 (char *) "self", NULL
21171 };
21172
21173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21176 {
21177 PyThreadState* __tstate = wxPyBeginAllowThreads();
21178 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
21179
21180 wxPyEndAllowThreads(__tstate);
21181 if (PyErr_Occurred()) SWIG_fail;
21182 }
21183 {
21184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21185 }
21186 return resultobj;
21187 fail:
21188 return NULL;
21189}
21190
21191
21192static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
21193 PyObject *resultobj;
21194 wxListEvent *arg1 = (wxListEvent *) 0 ;
21195 bool arg2 ;
21196 PyObject * obj0 = 0 ;
21197 PyObject * obj1 = 0 ;
21198 char *kwnames[] = {
21199 (char *) "self",(char *) "editCancelled", NULL
21200 };
21201
21202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
21204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21205 arg2 = (bool) SWIG_AsBool(obj1);
21206 if (PyErr_Occurred()) SWIG_fail;
21207 {
21208 PyThreadState* __tstate = wxPyBeginAllowThreads();
21209 (arg1)->SetEditCanceled(arg2);
21210
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 Py_INCREF(Py_None); resultobj = Py_None;
21215 return resultobj;
21216 fail:
21217 return NULL;
21218}
21219
21220
21221static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
21222 PyObject *obj;
21223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21224 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
21225 Py_INCREF(obj);
21226 return Py_BuildValue((char *)"");
21227}
21228static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21229 PyObject *resultobj;
21230 wxWindow *arg1 = (wxWindow *) 0 ;
21231 int arg2 = (int) -1 ;
21232 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21233 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21234 wxSize const &arg4_defvalue = wxDefaultSize ;
21235 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21236 long arg5 = (long) wxLC_ICON ;
21237 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21238 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21239 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21240 wxString *arg7 = (wxString *) &arg7_defvalue ;
21241 wxPyListCtrl *result;
21242 wxPoint temp3 ;
21243 wxSize temp4 ;
21244 bool temp7 = False ;
21245 PyObject * obj0 = 0 ;
21246 PyObject * obj1 = 0 ;
21247 PyObject * obj2 = 0 ;
21248 PyObject * obj3 = 0 ;
21249 PyObject * obj4 = 0 ;
21250 PyObject * obj5 = 0 ;
21251 PyObject * obj6 = 0 ;
21252 char *kwnames[] = {
21253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21254 };
21255
21256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21259 if (obj1) {
21260 arg2 = (int) SWIG_AsInt(obj1);
21261 if (PyErr_Occurred()) SWIG_fail;
21262 }
21263 if (obj2) {
21264 {
21265 arg3 = &temp3;
21266 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21267 }
21268 }
21269 if (obj3) {
21270 {
21271 arg4 = &temp4;
21272 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21273 }
21274 }
21275 if (obj4) {
21276 arg5 = (long) SWIG_AsLong(obj4);
21277 if (PyErr_Occurred()) SWIG_fail;
21278 }
21279 if (obj5) {
21280 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21281 SWIG_POINTER_EXCEPTION | 0)) == -1)
21282 SWIG_fail;
21283 if (arg6 == NULL) {
21284 PyErr_SetString(PyExc_TypeError,"null reference");
21285 SWIG_fail;
21286 }
21287 }
21288 if (obj6) {
21289 {
21290 arg7 = wxString_in_helper(obj6);
21291 if (arg7 == NULL) SWIG_fail;
21292 temp7 = True;
21293 }
21294 }
21295 {
0439c23b 21296 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21297 PyThreadState* __tstate = wxPyBeginAllowThreads();
21298 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21299
21300 wxPyEndAllowThreads(__tstate);
0439c23b 21301 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21302 }
21303 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21304 {
21305 if (temp7)
21306 delete arg7;
21307 }
21308 return resultobj;
21309 fail:
21310 {
21311 if (temp7)
21312 delete arg7;
21313 }
21314 return NULL;
21315}
21316
21317
21318static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21319 PyObject *resultobj;
21320 wxPyListCtrl *result;
21321 char *kwnames[] = {
21322 NULL
21323 };
21324
21325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21326 {
0439c23b 21327 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
21328 PyThreadState* __tstate = wxPyBeginAllowThreads();
21329 result = (wxPyListCtrl *)new wxPyListCtrl();
21330
21331 wxPyEndAllowThreads(__tstate);
0439c23b 21332 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
21333 }
21334 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21335 return resultobj;
21336 fail:
21337 return NULL;
21338}
21339
21340
21341static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21342 PyObject *resultobj;
21343 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21344 wxWindow *arg2 = (wxWindow *) 0 ;
21345 int arg3 = (int) -1 ;
21346 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21347 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21348 wxSize const &arg5_defvalue = wxDefaultSize ;
21349 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21350 long arg6 = (long) wxLC_ICON ;
21351 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21352 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21353 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21354 wxString *arg8 = (wxString *) &arg8_defvalue ;
21355 bool result;
21356 wxPoint temp4 ;
21357 wxSize temp5 ;
21358 bool temp8 = False ;
21359 PyObject * obj0 = 0 ;
21360 PyObject * obj1 = 0 ;
21361 PyObject * obj2 = 0 ;
21362 PyObject * obj3 = 0 ;
21363 PyObject * obj4 = 0 ;
21364 PyObject * obj5 = 0 ;
21365 PyObject * obj6 = 0 ;
21366 PyObject * obj7 = 0 ;
21367 char *kwnames[] = {
21368 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21369 };
21370
21371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21374 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21376 if (obj2) {
21377 arg3 = (int) SWIG_AsInt(obj2);
21378 if (PyErr_Occurred()) SWIG_fail;
21379 }
21380 if (obj3) {
21381 {
21382 arg4 = &temp4;
21383 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21384 }
21385 }
21386 if (obj4) {
21387 {
21388 arg5 = &temp5;
21389 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21390 }
21391 }
21392 if (obj5) {
21393 arg6 = (long) SWIG_AsLong(obj5);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 if (obj6) {
21397 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21398 SWIG_POINTER_EXCEPTION | 0)) == -1)
21399 SWIG_fail;
21400 if (arg7 == NULL) {
21401 PyErr_SetString(PyExc_TypeError,"null reference");
21402 SWIG_fail;
21403 }
21404 }
21405 if (obj7) {
21406 {
21407 arg8 = wxString_in_helper(obj7);
21408 if (arg8 == NULL) SWIG_fail;
21409 temp8 = True;
21410 }
21411 }
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 {
21420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21421 }
21422 {
21423 if (temp8)
21424 delete arg8;
21425 }
21426 return resultobj;
21427 fail:
21428 {
21429 if (temp8)
21430 delete arg8;
21431 }
21432 return NULL;
21433}
21434
21435
21436static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21437 PyObject *resultobj;
21438 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21439 PyObject *arg2 = (PyObject *) 0 ;
21440 PyObject *arg3 = (PyObject *) 0 ;
21441 PyObject * obj0 = 0 ;
21442 PyObject * obj1 = 0 ;
21443 PyObject * obj2 = 0 ;
21444 char *kwnames[] = {
21445 (char *) "self",(char *) "self",(char *) "_class", NULL
21446 };
21447
21448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21451 arg2 = obj1;
21452 arg3 = obj2;
21453 {
21454 PyThreadState* __tstate = wxPyBeginAllowThreads();
21455 (arg1)->_setCallbackInfo(arg2,arg3);
21456
21457 wxPyEndAllowThreads(__tstate);
21458 if (PyErr_Occurred()) SWIG_fail;
21459 }
21460 Py_INCREF(Py_None); resultobj = Py_None;
21461 return resultobj;
21462 fail:
21463 return NULL;
21464}
21465
21466
21467static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21468 PyObject *resultobj;
21469 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21470 wxColour *arg2 = 0 ;
21471 bool result;
21472 wxColour temp2 ;
21473 PyObject * obj0 = 0 ;
21474 PyObject * obj1 = 0 ;
21475 char *kwnames[] = {
21476 (char *) "self",(char *) "col", NULL
21477 };
21478
21479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21482 {
21483 arg2 = &temp2;
21484 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21485 }
21486 {
21487 PyThreadState* __tstate = wxPyBeginAllowThreads();
21488 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21489
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 {
21494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21495 }
21496 return resultobj;
21497 fail:
21498 return NULL;
21499}
21500
21501
21502static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21503 PyObject *resultobj;
21504 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21505 wxColour *arg2 = 0 ;
21506 bool result;
21507 wxColour temp2 ;
21508 PyObject * obj0 = 0 ;
21509 PyObject * obj1 = 0 ;
21510 char *kwnames[] = {
21511 (char *) "self",(char *) "col", NULL
21512 };
21513
21514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21517 {
21518 arg2 = &temp2;
21519 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21520 }
21521 {
21522 PyThreadState* __tstate = wxPyBeginAllowThreads();
21523 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21524
21525 wxPyEndAllowThreads(__tstate);
21526 if (PyErr_Occurred()) SWIG_fail;
21527 }
21528 {
21529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21530 }
21531 return resultobj;
21532 fail:
21533 return NULL;
21534}
21535
21536
21537static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21540 int arg2 ;
21541 wxListItem *result;
21542 PyObject * obj0 = 0 ;
21543 PyObject * obj1 = 0 ;
21544 char *kwnames[] = {
21545 (char *) "self",(char *) "col", NULL
21546 };
21547
21548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21551 arg2 = (int) SWIG_AsInt(obj1);
21552 if (PyErr_Occurred()) SWIG_fail;
21553 {
21554 PyThreadState* __tstate = wxPyBeginAllowThreads();
21555 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21556
21557 wxPyEndAllowThreads(__tstate);
21558 if (PyErr_Occurred()) SWIG_fail;
21559 }
21560 {
21561 resultobj = wxPyMake_wxObject(result);
21562 }
21563 return resultobj;
21564 fail:
21565 return NULL;
21566}
21567
21568
21569static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21570 PyObject *resultobj;
21571 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21572 int arg2 ;
21573 wxListItem *arg3 = 0 ;
21574 bool result;
21575 PyObject * obj0 = 0 ;
21576 PyObject * obj1 = 0 ;
21577 PyObject * obj2 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self",(char *) "col",(char *) "item", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21585 arg2 = (int) SWIG_AsInt(obj1);
21586 if (PyErr_Occurred()) SWIG_fail;
21587 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21588 SWIG_POINTER_EXCEPTION | 0)) == -1)
21589 SWIG_fail;
21590 if (arg3 == NULL) {
21591 PyErr_SetString(PyExc_TypeError,"null reference");
21592 SWIG_fail;
21593 }
21594 {
21595 PyThreadState* __tstate = wxPyBeginAllowThreads();
21596 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21597
21598 wxPyEndAllowThreads(__tstate);
21599 if (PyErr_Occurred()) SWIG_fail;
21600 }
21601 {
21602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21603 }
21604 return resultobj;
21605 fail:
21606 return NULL;
21607}
21608
21609
21610static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj;
21612 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21613 int arg2 ;
21614 int result;
21615 PyObject * obj0 = 0 ;
21616 PyObject * obj1 = 0 ;
21617 char *kwnames[] = {
21618 (char *) "self",(char *) "col", NULL
21619 };
21620
21621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
21622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21624 arg2 = (int) SWIG_AsInt(obj1);
21625 if (PyErr_Occurred()) SWIG_fail;
21626 {
21627 PyThreadState* __tstate = wxPyBeginAllowThreads();
21628 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21629
21630 wxPyEndAllowThreads(__tstate);
21631 if (PyErr_Occurred()) SWIG_fail;
21632 }
21633 resultobj = SWIG_FromInt((int)result);
21634 return resultobj;
21635 fail:
21636 return NULL;
21637}
21638
21639
21640static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21641 PyObject *resultobj;
21642 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21643 int arg2 ;
21644 int arg3 ;
21645 bool result;
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 PyObject * obj2 = 0 ;
21649 char *kwnames[] = {
21650 (char *) "self",(char *) "col",(char *) "width", NULL
21651 };
21652
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21656 arg2 = (int) SWIG_AsInt(obj1);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 arg3 = (int) SWIG_AsInt(obj2);
21659 if (PyErr_Occurred()) SWIG_fail;
21660 {
21661 PyThreadState* __tstate = wxPyBeginAllowThreads();
21662 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21663
21664 wxPyEndAllowThreads(__tstate);
21665 if (PyErr_Occurred()) SWIG_fail;
21666 }
21667 {
21668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21669 }
21670 return resultobj;
21671 fail:
21672 return NULL;
21673}
21674
21675
21676static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21677 PyObject *resultobj;
21678 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21679 int result;
21680 PyObject * obj0 = 0 ;
21681 char *kwnames[] = {
21682 (char *) "self", NULL
21683 };
21684
21685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
21686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21688 {
21689 PyThreadState* __tstate = wxPyBeginAllowThreads();
21690 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21691
21692 wxPyEndAllowThreads(__tstate);
21693 if (PyErr_Occurred()) SWIG_fail;
21694 }
21695 resultobj = SWIG_FromInt((int)result);
21696 return resultobj;
21697 fail:
21698 return NULL;
21699}
21700
21701
21702static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21703 PyObject *resultobj;
21704 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21705 wxRect result;
21706 PyObject * obj0 = 0 ;
21707 char *kwnames[] = {
21708 (char *) "self", NULL
21709 };
21710
21711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
21712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21714 {
21715 PyThreadState* __tstate = wxPyBeginAllowThreads();
21716 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
21717
21718 wxPyEndAllowThreads(__tstate);
21719 if (PyErr_Occurred()) SWIG_fail;
21720 }
21721 {
21722 wxRect * resultptr;
21723 resultptr = new wxRect((wxRect &) result);
21724 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21725 }
21726 return resultobj;
21727 fail:
21728 return NULL;
21729}
21730
21731
21732static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21733 PyObject *resultobj;
21734 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21735 wxTextCtrl *result;
21736 PyObject * obj0 = 0 ;
21737 char *kwnames[] = {
21738 (char *) "self", NULL
21739 };
21740
21741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
21742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21744 {
21745 PyThreadState* __tstate = wxPyBeginAllowThreads();
21746 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
21747
21748 wxPyEndAllowThreads(__tstate);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 }
21751 {
21752 resultobj = wxPyMake_wxObject(result);
21753 }
21754 return resultobj;
21755 fail:
21756 return NULL;
21757}
21758
21759
21760static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21761 PyObject *resultobj;
21762 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21763 long arg2 ;
21764 int arg3 = (int) 0 ;
21765 wxListItem *result;
21766 PyObject * obj0 = 0 ;
21767 PyObject * obj1 = 0 ;
21768 PyObject * obj2 = 0 ;
21769 char *kwnames[] = {
21770 (char *) "self",(char *) "itemId",(char *) "col", NULL
21771 };
21772
21773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21776 arg2 = (long) SWIG_AsLong(obj1);
21777 if (PyErr_Occurred()) SWIG_fail;
21778 if (obj2) {
21779 arg3 = (int) SWIG_AsInt(obj2);
21780 if (PyErr_Occurred()) SWIG_fail;
21781 }
21782 {
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
21785
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 {
21790 resultobj = wxPyMake_wxObject(result);
21791 }
21792 return resultobj;
21793 fail:
21794 return NULL;
21795}
21796
21797
21798static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21799 PyObject *resultobj;
21800 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21801 wxListItem *arg2 = 0 ;
21802 bool result;
21803 PyObject * obj0 = 0 ;
21804 PyObject * obj1 = 0 ;
21805 char *kwnames[] = {
21806 (char *) "self",(char *) "info", NULL
21807 };
21808
21809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
21810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21813 SWIG_POINTER_EXCEPTION | 0)) == -1)
21814 SWIG_fail;
21815 if (arg2 == NULL) {
21816 PyErr_SetString(PyExc_TypeError,"null reference");
21817 SWIG_fail;
21818 }
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 result = (bool)(arg1)->SetItem(*arg2);
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 {
21827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21828 }
21829 return resultobj;
21830 fail:
21831 return NULL;
21832}
21833
21834
21835static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21836 PyObject *resultobj;
21837 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21838 long arg2 ;
21839 int arg3 ;
21840 wxString *arg4 = 0 ;
21841 int arg5 = (int) -1 ;
21842 long result;
21843 bool temp4 = False ;
21844 PyObject * obj0 = 0 ;
21845 PyObject * obj1 = 0 ;
21846 PyObject * obj2 = 0 ;
21847 PyObject * obj3 = 0 ;
21848 PyObject * obj4 = 0 ;
21849 char *kwnames[] = {
21850 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21851 };
21852
21853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21856 arg2 = (long) SWIG_AsLong(obj1);
21857 if (PyErr_Occurred()) SWIG_fail;
21858 arg3 = (int) SWIG_AsInt(obj2);
21859 if (PyErr_Occurred()) SWIG_fail;
21860 {
21861 arg4 = wxString_in_helper(obj3);
21862 if (arg4 == NULL) SWIG_fail;
21863 temp4 = True;
21864 }
21865 if (obj4) {
21866 arg5 = (int) SWIG_AsInt(obj4);
21867 if (PyErr_Occurred()) SWIG_fail;
21868 }
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
21871 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 resultobj = SWIG_FromLong((long)result);
21877 {
21878 if (temp4)
21879 delete arg4;
21880 }
21881 return resultobj;
21882 fail:
21883 {
21884 if (temp4)
21885 delete arg4;
21886 }
21887 return NULL;
21888}
21889
21890
21891static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21892 PyObject *resultobj;
21893 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21894 long arg2 ;
21895 long arg3 ;
21896 int result;
21897 PyObject * obj0 = 0 ;
21898 PyObject * obj1 = 0 ;
21899 PyObject * obj2 = 0 ;
21900 char *kwnames[] = {
21901 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21902 };
21903
21904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
21905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21907 arg2 = (long) SWIG_AsLong(obj1);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 arg3 = (long) SWIG_AsLong(obj2);
21910 if (PyErr_Occurred()) SWIG_fail;
21911 {
21912 PyThreadState* __tstate = wxPyBeginAllowThreads();
21913 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
21914
21915 wxPyEndAllowThreads(__tstate);
21916 if (PyErr_Occurred()) SWIG_fail;
21917 }
21918 resultobj = SWIG_FromInt((int)result);
21919 return resultobj;
21920 fail:
21921 return NULL;
21922}
21923
21924
21925static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21926 PyObject *resultobj;
21927 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21928 long arg2 ;
21929 long arg3 ;
21930 long arg4 ;
21931 bool result;
21932 PyObject * obj0 = 0 ;
21933 PyObject * obj1 = 0 ;
21934 PyObject * obj2 = 0 ;
21935 PyObject * obj3 = 0 ;
21936 char *kwnames[] = {
21937 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21938 };
21939
21940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21943 arg2 = (long) SWIG_AsLong(obj1);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 arg3 = (long) SWIG_AsLong(obj2);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 arg4 = (long) SWIG_AsLong(obj3);
21948 if (PyErr_Occurred()) SWIG_fail;
21949 {
21950 PyThreadState* __tstate = wxPyBeginAllowThreads();
21951 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
21952
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 {
21957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21958 }
21959 return resultobj;
21960 fail:
21961 return NULL;
21962}
21963
21964
21965static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21966 PyObject *resultobj;
21967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21968 long arg2 ;
21969 int arg3 ;
21970 int arg4 ;
21971 bool result;
21972 PyObject * obj0 = 0 ;
21973 PyObject * obj1 = 0 ;
21974 PyObject * obj2 = 0 ;
21975 PyObject * obj3 = 0 ;
21976 char *kwnames[] = {
21977 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21978 };
21979
21980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21983 arg2 = (long) SWIG_AsLong(obj1);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 arg3 = (int) SWIG_AsInt(obj2);
21986 if (PyErr_Occurred()) SWIG_fail;
21987 arg4 = (int) SWIG_AsInt(obj3);
21988 if (PyErr_Occurred()) SWIG_fail;
21989 {
21990 PyThreadState* __tstate = wxPyBeginAllowThreads();
21991 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
21992
21993 wxPyEndAllowThreads(__tstate);
21994 if (PyErr_Occurred()) SWIG_fail;
21995 }
21996 {
21997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21998 }
21999 return resultobj;
22000 fail:
22001 return NULL;
22002}
22003
22004
22005static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
22006 PyObject *resultobj;
22007 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22008 long arg2 ;
22009 wxString result;
22010 PyObject * obj0 = 0 ;
22011 PyObject * obj1 = 0 ;
22012 char *kwnames[] = {
22013 (char *) "self",(char *) "item", NULL
22014 };
22015
22016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
22017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22019 arg2 = (long) SWIG_AsLong(obj1);
22020 if (PyErr_Occurred()) SWIG_fail;
22021 {
22022 PyThreadState* __tstate = wxPyBeginAllowThreads();
22023 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
22024
22025 wxPyEndAllowThreads(__tstate);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 }
22028 {
22029#if wxUSE_UNICODE
22030 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22031#else
22032 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22033#endif
22034 }
22035 return resultobj;
22036 fail:
22037 return NULL;
22038}
22039
22040
22041static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
22042 PyObject *resultobj;
22043 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22044 long arg2 ;
22045 wxString *arg3 = 0 ;
22046 bool temp3 = False ;
22047 PyObject * obj0 = 0 ;
22048 PyObject * obj1 = 0 ;
22049 PyObject * obj2 = 0 ;
22050 char *kwnames[] = {
22051 (char *) "self",(char *) "item",(char *) "str", NULL
22052 };
22053
22054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
22055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22057 arg2 = (long) SWIG_AsLong(obj1);
22058 if (PyErr_Occurred()) SWIG_fail;
22059 {
22060 arg3 = wxString_in_helper(obj2);
22061 if (arg3 == NULL) SWIG_fail;
22062 temp3 = True;
22063 }
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 Py_INCREF(Py_None); resultobj = Py_None;
22072 {
22073 if (temp3)
22074 delete arg3;
22075 }
22076 return resultobj;
22077 fail:
22078 {
22079 if (temp3)
22080 delete arg3;
22081 }
22082 return NULL;
22083}
22084
22085
22086static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22087 PyObject *resultobj;
22088 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22089 long arg2 ;
22090 long result;
22091 PyObject * obj0 = 0 ;
22092 PyObject * obj1 = 0 ;
22093 char *kwnames[] = {
22094 (char *) "self",(char *) "item", NULL
22095 };
22096
22097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
22098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22100 arg2 = (long) SWIG_AsLong(obj1);
22101 if (PyErr_Occurred()) SWIG_fail;
22102 {
22103 PyThreadState* __tstate = wxPyBeginAllowThreads();
22104 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
22105
22106 wxPyEndAllowThreads(__tstate);
22107 if (PyErr_Occurred()) SWIG_fail;
22108 }
22109 resultobj = SWIG_FromLong((long)result);
22110 return resultobj;
22111 fail:
22112 return NULL;
22113}
22114
22115
22116static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22117 PyObject *resultobj;
22118 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22119 long arg2 ;
22120 long arg3 ;
22121 bool result;
22122 PyObject * obj0 = 0 ;
22123 PyObject * obj1 = 0 ;
22124 PyObject * obj2 = 0 ;
22125 char *kwnames[] = {
22126 (char *) "self",(char *) "item",(char *) "data", NULL
22127 };
22128
22129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22132 arg2 = (long) SWIG_AsLong(obj1);
22133 if (PyErr_Occurred()) SWIG_fail;
22134 arg3 = (long) SWIG_AsLong(obj2);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 result = (bool)(arg1)->SetItemData(arg2,arg3);
22139
22140 wxPyEndAllowThreads(__tstate);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
22143 {
22144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22145 }
22146 return resultobj;
22147 fail:
22148 return NULL;
22149}
22150
22151
22152static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22153 PyObject *resultobj;
22154 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22155 long arg2 ;
22156 wxPoint result;
22157 PyObject * obj0 = 0 ;
22158 PyObject * obj1 = 0 ;
22159 char *kwnames[] = {
22160 (char *) "self",(char *) "item", NULL
22161 };
22162
22163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
22164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22166 arg2 = (long) SWIG_AsLong(obj1);
22167 if (PyErr_Occurred()) SWIG_fail;
22168 {
22169 PyThreadState* __tstate = wxPyBeginAllowThreads();
22170 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
22171
22172 wxPyEndAllowThreads(__tstate);
22173 if (PyErr_Occurred()) SWIG_fail;
22174 }
22175 {
22176 wxPoint * resultptr;
22177 resultptr = new wxPoint((wxPoint &) result);
22178 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
22179 }
22180 return resultobj;
22181 fail:
22182 return NULL;
22183}
22184
22185
22186static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22187 PyObject *resultobj;
22188 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22189 long arg2 ;
22190 int arg3 = (int) wxLIST_RECT_BOUNDS ;
22191 wxRect result;
22192 PyObject * obj0 = 0 ;
22193 PyObject * obj1 = 0 ;
22194 PyObject * obj2 = 0 ;
22195 char *kwnames[] = {
22196 (char *) "self",(char *) "item",(char *) "code", NULL
22197 };
22198
22199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22202 arg2 = (long) SWIG_AsLong(obj1);
22203 if (PyErr_Occurred()) SWIG_fail;
22204 if (obj2) {
22205 arg3 = (int) SWIG_AsInt(obj2);
22206 if (PyErr_Occurred()) SWIG_fail;
22207 }
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
22211
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 {
22216 wxRect * resultptr;
22217 resultptr = new wxRect((wxRect &) result);
22218 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
22219 }
22220 return resultobj;
22221 fail:
22222 return NULL;
22223}
22224
22225
22226static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22227 PyObject *resultobj;
22228 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22229 long arg2 ;
22230 wxPoint *arg3 = 0 ;
22231 bool result;
22232 wxPoint temp3 ;
22233 PyObject * obj0 = 0 ;
22234 PyObject * obj1 = 0 ;
22235 PyObject * obj2 = 0 ;
22236 char *kwnames[] = {
22237 (char *) "self",(char *) "item",(char *) "pos", NULL
22238 };
22239
22240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22243 arg2 = (long) SWIG_AsLong(obj1);
22244 if (PyErr_Occurred()) SWIG_fail;
22245 {
22246 arg3 = &temp3;
22247 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22248 }
22249 {
22250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22251 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22252
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 {
22257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22258 }
22259 return resultobj;
22260 fail:
22261 return NULL;
22262}
22263
22264
22265static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22266 PyObject *resultobj;
22267 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22268 int result;
22269 PyObject * obj0 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
22275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22277 {
22278 PyThreadState* __tstate = wxPyBeginAllowThreads();
22279 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22280
22281 wxPyEndAllowThreads(__tstate);
22282 if (PyErr_Occurred()) SWIG_fail;
22283 }
22284 resultobj = SWIG_FromInt((int)result);
22285 return resultobj;
22286 fail:
22287 return NULL;
22288}
22289
22290
22291static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22292 PyObject *resultobj;
22293 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22294 int result;
22295 PyObject * obj0 = 0 ;
22296 char *kwnames[] = {
22297 (char *) "self", NULL
22298 };
22299
22300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22303 {
22304 PyThreadState* __tstate = wxPyBeginAllowThreads();
22305 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22306
22307 wxPyEndAllowThreads(__tstate);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 resultobj = SWIG_FromInt((int)result);
22311 return resultobj;
22312 fail:
22313 return NULL;
22314}
22315
22316
22317static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22318 PyObject *resultobj;
22319 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22320 wxSize result;
22321 PyObject * obj0 = 0 ;
22322 char *kwnames[] = {
22323 (char *) "self", NULL
22324 };
22325
22326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22329 {
22330 PyThreadState* __tstate = wxPyBeginAllowThreads();
22331 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22332
22333 wxPyEndAllowThreads(__tstate);
22334 if (PyErr_Occurred()) SWIG_fail;
22335 }
22336 {
22337 wxSize * resultptr;
22338 resultptr = new wxSize((wxSize &) result);
22339 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22340 }
22341 return resultobj;
22342 fail:
22343 return NULL;
22344}
22345
22346
22347static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22348 PyObject *resultobj;
22349 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22350 int result;
22351 PyObject * obj0 = 0 ;
22352 char *kwnames[] = {
22353 (char *) "self", NULL
22354 };
22355
22356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22359 {
22360 PyThreadState* __tstate = wxPyBeginAllowThreads();
22361 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22362
22363 wxPyEndAllowThreads(__tstate);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 resultobj = SWIG_FromInt((int)result);
22367 return resultobj;
22368 fail:
22369 return NULL;
22370}
22371
22372
22373static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22374 PyObject *resultobj;
22375 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22376 wxColour result;
22377 PyObject * obj0 = 0 ;
22378 char *kwnames[] = {
22379 (char *) "self", NULL
22380 };
22381
22382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 {
22393 wxColour * resultptr;
22394 resultptr = new wxColour((wxColour &) result);
22395 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22396 }
22397 return resultobj;
22398 fail:
22399 return NULL;
22400}
22401
22402
22403static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22404 PyObject *resultobj;
22405 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22406 wxColour *arg2 = 0 ;
22407 wxColour temp2 ;
22408 PyObject * obj0 = 0 ;
22409 PyObject * obj1 = 0 ;
22410 char *kwnames[] = {
22411 (char *) "self",(char *) "col", NULL
22412 };
22413
22414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22417 {
22418 arg2 = &temp2;
22419 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22420 }
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 (arg1)->SetTextColour((wxColour const &)*arg2);
22424
22425 wxPyEndAllowThreads(__tstate);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 }
22428 Py_INCREF(Py_None); resultobj = Py_None;
22429 return resultobj;
22430 fail:
22431 return NULL;
22432}
22433
22434
22435static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22436 PyObject *resultobj;
22437 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22438 long result;
22439 PyObject * obj0 = 0 ;
22440 char *kwnames[] = {
22441 (char *) "self", NULL
22442 };
22443
22444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22447 {
22448 PyThreadState* __tstate = wxPyBeginAllowThreads();
22449 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22450
22451 wxPyEndAllowThreads(__tstate);
22452 if (PyErr_Occurred()) SWIG_fail;
22453 }
22454 resultobj = SWIG_FromLong((long)result);
22455 return resultobj;
22456 fail:
22457 return NULL;
22458}
22459
22460
22461static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22462 PyObject *resultobj;
22463 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22464 long arg2 ;
22465 bool arg3 = (bool) True ;
22466 PyObject * obj0 = 0 ;
22467 PyObject * obj1 = 0 ;
22468 PyObject * obj2 = 0 ;
22469 char *kwnames[] = {
22470 (char *) "self",(char *) "style",(char *) "add", NULL
22471 };
22472
22473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22476 arg2 = (long) SWIG_AsLong(obj1);
22477 if (PyErr_Occurred()) SWIG_fail;
22478 if (obj2) {
22479 arg3 = (bool) SWIG_AsBool(obj2);
22480 if (PyErr_Occurred()) SWIG_fail;
22481 }
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 (arg1)->SetSingleStyle(arg2,arg3);
22485
22486 wxPyEndAllowThreads(__tstate);
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 Py_INCREF(Py_None); resultobj = Py_None;
22490 return resultobj;
22491 fail:
22492 return NULL;
22493}
22494
22495
22496static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22497 PyObject *resultobj;
22498 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22499 long arg2 ;
22500 PyObject * obj0 = 0 ;
22501 PyObject * obj1 = 0 ;
22502 char *kwnames[] = {
22503 (char *) "self",(char *) "style", NULL
22504 };
22505
22506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22509 arg2 = (long) SWIG_AsLong(obj1);
22510 if (PyErr_Occurred()) SWIG_fail;
22511 {
22512 PyThreadState* __tstate = wxPyBeginAllowThreads();
22513 (arg1)->SetWindowStyleFlag(arg2);
22514
22515 wxPyEndAllowThreads(__tstate);
22516 if (PyErr_Occurred()) SWIG_fail;
22517 }
22518 Py_INCREF(Py_None); resultobj = Py_None;
22519 return resultobj;
22520 fail:
22521 return NULL;
22522}
22523
22524
22525static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22526 PyObject *resultobj;
22527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22528 long arg2 ;
22529 int arg3 = (int) wxLIST_NEXT_ALL ;
22530 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22531 long result;
22532 PyObject * obj0 = 0 ;
22533 PyObject * obj1 = 0 ;
22534 PyObject * obj2 = 0 ;
22535 PyObject * obj3 = 0 ;
22536 char *kwnames[] = {
22537 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22538 };
22539
22540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22543 arg2 = (long) SWIG_AsLong(obj1);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 if (obj2) {
22546 arg3 = (int) SWIG_AsInt(obj2);
22547 if (PyErr_Occurred()) SWIG_fail;
22548 }
22549 if (obj3) {
22550 arg4 = (int) SWIG_AsInt(obj3);
22551 if (PyErr_Occurred()) SWIG_fail;
22552 }
22553 {
22554 PyThreadState* __tstate = wxPyBeginAllowThreads();
22555 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22556
22557 wxPyEndAllowThreads(__tstate);
22558 if (PyErr_Occurred()) SWIG_fail;
22559 }
22560 resultobj = SWIG_FromLong((long)result);
22561 return resultobj;
22562 fail:
22563 return NULL;
22564}
22565
22566
22567static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22568 PyObject *resultobj;
22569 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22570 int arg2 ;
22571 wxImageList *result;
22572 PyObject * obj0 = 0 ;
22573 PyObject * obj1 = 0 ;
22574 char *kwnames[] = {
22575 (char *) "self",(char *) "which", NULL
22576 };
22577
22578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22581 arg2 = (int) SWIG_AsInt(obj1);
22582 if (PyErr_Occurred()) SWIG_fail;
22583 {
22584 PyThreadState* __tstate = wxPyBeginAllowThreads();
22585 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22586
22587 wxPyEndAllowThreads(__tstate);
22588 if (PyErr_Occurred()) SWIG_fail;
22589 }
22590 {
22591 resultobj = wxPyMake_wxObject(result);
22592 }
22593 return resultobj;
22594 fail:
22595 return NULL;
22596}
22597
22598
22599static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22600 PyObject *resultobj;
22601 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22602 wxImageList *arg2 = (wxImageList *) 0 ;
22603 int arg3 ;
22604 PyObject * obj0 = 0 ;
22605 PyObject * obj1 = 0 ;
22606 PyObject * obj2 = 0 ;
22607 char *kwnames[] = {
22608 (char *) "self",(char *) "imageList",(char *) "which", NULL
22609 };
22610
22611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22616 arg3 = (int) SWIG_AsInt(obj2);
22617 if (PyErr_Occurred()) SWIG_fail;
22618 {
22619 PyThreadState* __tstate = wxPyBeginAllowThreads();
22620 (arg1)->SetImageList(arg2,arg3);
22621
22622 wxPyEndAllowThreads(__tstate);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 }
22625 Py_INCREF(Py_None); resultobj = Py_None;
22626 return resultobj;
22627 fail:
22628 return NULL;
22629}
22630
22631
22632static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22633 PyObject *resultobj;
22634 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22635 wxImageList *arg2 = (wxImageList *) 0 ;
22636 int arg3 ;
22637 PyObject * obj0 = 0 ;
22638 PyObject * obj1 = 0 ;
22639 PyObject * obj2 = 0 ;
22640 char *kwnames[] = {
22641 (char *) "self",(char *) "imageList",(char *) "which", NULL
22642 };
22643
22644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22647 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22648 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22649 arg3 = (int) SWIG_AsInt(obj2);
22650 if (PyErr_Occurred()) SWIG_fail;
22651 {
22652 PyThreadState* __tstate = wxPyBeginAllowThreads();
22653 (arg1)->AssignImageList(arg2,arg3);
22654
22655 wxPyEndAllowThreads(__tstate);
22656 if (PyErr_Occurred()) SWIG_fail;
22657 }
22658 Py_INCREF(Py_None); resultobj = Py_None;
22659 return resultobj;
22660 fail:
22661 return NULL;
22662}
22663
22664
22665static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
22666 PyObject *resultobj;
22667 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22668 bool result;
22669 PyObject * obj0 = 0 ;
22670 char *kwnames[] = {
22671 (char *) "self", NULL
22672 };
22673
22674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22677 {
22678 PyThreadState* __tstate = wxPyBeginAllowThreads();
22679 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22680
22681 wxPyEndAllowThreads(__tstate);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 }
22684 {
22685 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22686 }
22687 return resultobj;
22688 fail:
22689 return NULL;
22690}
22691
22692
22693static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
22694 PyObject *resultobj;
22695 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22696 bool result;
22697 PyObject * obj0 = 0 ;
22698 char *kwnames[] = {
22699 (char *) "self", NULL
22700 };
22701
22702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
22703 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22704 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
22708
22709 wxPyEndAllowThreads(__tstate);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 {
22713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22714 }
22715 return resultobj;
22716 fail:
22717 return NULL;
22718}
22719
22720
22721static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22722 PyObject *resultobj;
22723 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22724 long arg2 ;
22725 PyObject * obj0 = 0 ;
22726 PyObject * obj1 = 0 ;
22727 char *kwnames[] = {
22728 (char *) "self",(char *) "item", NULL
22729 };
22730
22731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
22732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22734 arg2 = (long) SWIG_AsLong(obj1);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 {
22737 PyThreadState* __tstate = wxPyBeginAllowThreads();
22738 (arg1)->RefreshItem(arg2);
22739
22740 wxPyEndAllowThreads(__tstate);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 }
22743 Py_INCREF(Py_None); resultobj = Py_None;
22744 return resultobj;
22745 fail:
22746 return NULL;
22747}
22748
22749
22750static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22751 PyObject *resultobj;
22752 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22753 long arg2 ;
22754 long arg3 ;
22755 PyObject * obj0 = 0 ;
22756 PyObject * obj1 = 0 ;
22757 PyObject * obj2 = 0 ;
22758 char *kwnames[] = {
22759 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22760 };
22761
22762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
22763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22765 arg2 = (long) SWIG_AsLong(obj1);
22766 if (PyErr_Occurred()) SWIG_fail;
22767 arg3 = (long) SWIG_AsLong(obj2);
22768 if (PyErr_Occurred()) SWIG_fail;
22769 {
22770 PyThreadState* __tstate = wxPyBeginAllowThreads();
22771 (arg1)->RefreshItems(arg2,arg3);
22772
22773 wxPyEndAllowThreads(__tstate);
22774 if (PyErr_Occurred()) SWIG_fail;
22775 }
22776 Py_INCREF(Py_None); resultobj = Py_None;
22777 return resultobj;
22778 fail:
22779 return NULL;
22780}
22781
22782
22783static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
22784 PyObject *resultobj;
22785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22786 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
22787 bool result;
22788 PyObject * obj0 = 0 ;
22789 PyObject * obj1 = 0 ;
22790 char *kwnames[] = {
22791 (char *) "self",(char *) "flag", NULL
22792 };
22793
22794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
22795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22797 if (obj1) {
22798 arg2 = (int) SWIG_AsInt(obj1);
22799 if (PyErr_Occurred()) SWIG_fail;
22800 }
22801 {
22802 PyThreadState* __tstate = wxPyBeginAllowThreads();
22803 result = (bool)(arg1)->Arrange(arg2);
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 {
22809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22810 }
22811 return resultobj;
22812 fail:
22813 return NULL;
22814}
22815
22816
22817static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22818 PyObject *resultobj;
22819 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22820 long arg2 ;
22821 bool result;
22822 PyObject * obj0 = 0 ;
22823 PyObject * obj1 = 0 ;
22824 char *kwnames[] = {
22825 (char *) "self",(char *) "item", NULL
22826 };
22827
22828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
22829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22831 arg2 = (long) SWIG_AsLong(obj1);
22832 if (PyErr_Occurred()) SWIG_fail;
22833 {
22834 PyThreadState* __tstate = wxPyBeginAllowThreads();
22835 result = (bool)(arg1)->DeleteItem(arg2);
22836
22837 wxPyEndAllowThreads(__tstate);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 }
22840 {
22841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22842 }
22843 return resultobj;
22844 fail:
22845 return NULL;
22846}
22847
22848
22849static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22852 bool result;
22853 PyObject * obj0 = 0 ;
22854 char *kwnames[] = {
22855 (char *) "self", NULL
22856 };
22857
22858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 result = (bool)(arg1)->DeleteAllItems();
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 {
22869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22870 }
22871 return resultobj;
22872 fail:
22873 return NULL;
22874}
22875
22876
22877static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22878 PyObject *resultobj;
22879 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22880 int arg2 ;
22881 bool result;
22882 PyObject * obj0 = 0 ;
22883 PyObject * obj1 = 0 ;
22884 char *kwnames[] = {
22885 (char *) "self",(char *) "col", NULL
22886 };
22887
22888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
22889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22891 arg2 = (int) SWIG_AsInt(obj1);
22892 if (PyErr_Occurred()) SWIG_fail;
22893 {
22894 PyThreadState* __tstate = wxPyBeginAllowThreads();
22895 result = (bool)(arg1)->DeleteColumn(arg2);
22896
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 {
22901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22902 }
22903 return resultobj;
22904 fail:
22905 return NULL;
22906}
22907
22908
22909static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
22910 PyObject *resultobj;
22911 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22912 bool result;
22913 PyObject * obj0 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
22919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22921 {
22922 PyThreadState* __tstate = wxPyBeginAllowThreads();
22923 result = (bool)(arg1)->DeleteAllColumns();
22924
22925 wxPyEndAllowThreads(__tstate);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
22928 {
22929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22930 }
22931 return resultobj;
22932 fail:
22933 return NULL;
22934}
22935
22936
22937static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22938 PyObject *resultobj;
22939 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22940 PyObject * obj0 = 0 ;
22941 char *kwnames[] = {
22942 (char *) "self", NULL
22943 };
22944
22945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
22946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22948 {
22949 PyThreadState* __tstate = wxPyBeginAllowThreads();
22950 (arg1)->ClearAll();
22951
22952 wxPyEndAllowThreads(__tstate);
22953 if (PyErr_Occurred()) SWIG_fail;
22954 }
22955 Py_INCREF(Py_None); resultobj = Py_None;
22956 return resultobj;
22957 fail:
22958 return NULL;
22959}
22960
22961
22962static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22965 long arg2 ;
22966 wxTextCtrl *result;
22967 PyObject * obj0 = 0 ;
22968 PyObject * obj1 = 0 ;
22969 char *kwnames[] = {
22970 (char *) "self",(char *) "item", NULL
22971 };
22972
22973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22976 arg2 = (long) SWIG_AsLong(obj1);
22977 if (PyErr_Occurred()) SWIG_fail;
22978 {
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
22981
22982 wxPyEndAllowThreads(__tstate);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 }
22985 {
22986 resultobj = wxPyMake_wxObject(result);
22987 }
22988 return resultobj;
22989 fail:
22990 return NULL;
22991}
22992
22993
22994static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22995 PyObject *resultobj;
22996 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22997 bool arg2 ;
22998 bool result;
22999 PyObject * obj0 = 0 ;
23000 PyObject * obj1 = 0 ;
23001 char *kwnames[] = {
23002 (char *) "self",(char *) "cancel", NULL
23003 };
23004
23005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
23006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23008 arg2 = (bool) SWIG_AsBool(obj1);
23009 if (PyErr_Occurred()) SWIG_fail;
23010 {
23011 PyThreadState* __tstate = wxPyBeginAllowThreads();
23012 result = (bool)(arg1)->EndEditLabel(arg2);
23013
23014 wxPyEndAllowThreads(__tstate);
23015 if (PyErr_Occurred()) SWIG_fail;
23016 }
23017 {
23018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23019 }
23020 return resultobj;
23021 fail:
23022 return NULL;
23023}
23024
23025
23026static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23027 PyObject *resultobj;
23028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23029 long arg2 ;
23030 bool result;
23031 PyObject * obj0 = 0 ;
23032 PyObject * obj1 = 0 ;
23033 char *kwnames[] = {
23034 (char *) "self",(char *) "item", NULL
23035 };
23036
23037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23040 arg2 = (long) SWIG_AsLong(obj1);
23041 if (PyErr_Occurred()) SWIG_fail;
23042 {
23043 PyThreadState* __tstate = wxPyBeginAllowThreads();
23044 result = (bool)(arg1)->EnsureVisible(arg2);
23045
23046 wxPyEndAllowThreads(__tstate);
23047 if (PyErr_Occurred()) SWIG_fail;
23048 }
23049 {
23050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23051 }
23052 return resultobj;
23053 fail:
23054 return NULL;
23055}
23056
23057
23058static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23059 PyObject *resultobj;
23060 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23061 long arg2 ;
23062 wxString *arg3 = 0 ;
23063 bool arg4 = (bool) False ;
23064 long result;
23065 bool temp3 = False ;
23066 PyObject * obj0 = 0 ;
23067 PyObject * obj1 = 0 ;
23068 PyObject * obj2 = 0 ;
23069 PyObject * obj3 = 0 ;
23070 char *kwnames[] = {
23071 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23072 };
23073
23074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23077 arg2 = (long) SWIG_AsLong(obj1);
23078 if (PyErr_Occurred()) SWIG_fail;
23079 {
23080 arg3 = wxString_in_helper(obj2);
23081 if (arg3 == NULL) SWIG_fail;
23082 temp3 = True;
23083 }
23084 if (obj3) {
23085 arg4 = (bool) SWIG_AsBool(obj3);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 }
23088 {
23089 PyThreadState* __tstate = wxPyBeginAllowThreads();
23090 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
23091
23092 wxPyEndAllowThreads(__tstate);
23093 if (PyErr_Occurred()) SWIG_fail;
23094 }
23095 resultobj = SWIG_FromLong((long)result);
23096 {
23097 if (temp3)
23098 delete arg3;
23099 }
23100 return resultobj;
23101 fail:
23102 {
23103 if (temp3)
23104 delete arg3;
23105 }
23106 return NULL;
23107}
23108
23109
23110static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23111 PyObject *resultobj;
23112 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23113 long arg2 ;
23114 long arg3 ;
23115 long result;
23116 PyObject * obj0 = 0 ;
23117 PyObject * obj1 = 0 ;
23118 PyObject * obj2 = 0 ;
23119 char *kwnames[] = {
23120 (char *) "self",(char *) "start",(char *) "data", NULL
23121 };
23122
23123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
23124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23126 arg2 = (long) SWIG_AsLong(obj1);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 arg3 = (long) SWIG_AsLong(obj2);
23129 if (PyErr_Occurred()) SWIG_fail;
23130 {
23131 PyThreadState* __tstate = wxPyBeginAllowThreads();
23132 result = (long)(arg1)->FindItem(arg2,arg3);
23133
23134 wxPyEndAllowThreads(__tstate);
23135 if (PyErr_Occurred()) SWIG_fail;
23136 }
23137 resultobj = SWIG_FromLong((long)result);
23138 return resultobj;
23139 fail:
23140 return NULL;
23141}
23142
23143
23144static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
23145 PyObject *resultobj;
23146 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23147 long arg2 ;
23148 wxPoint *arg3 = 0 ;
23149 int arg4 ;
23150 long result;
23151 wxPoint temp3 ;
23152 PyObject * obj0 = 0 ;
23153 PyObject * obj1 = 0 ;
23154 PyObject * obj2 = 0 ;
23155 PyObject * obj3 = 0 ;
23156 char *kwnames[] = {
23157 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23158 };
23159
23160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23163 arg2 = (long) SWIG_AsLong(obj1);
23164 if (PyErr_Occurred()) SWIG_fail;
23165 {
23166 arg3 = &temp3;
23167 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23168 }
23169 arg4 = (int) SWIG_AsInt(obj3);
23170 if (PyErr_Occurred()) SWIG_fail;
23171 {
23172 PyThreadState* __tstate = wxPyBeginAllowThreads();
23173 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
23174
23175 wxPyEndAllowThreads(__tstate);
23176 if (PyErr_Occurred()) SWIG_fail;
23177 }
23178 resultobj = SWIG_FromLong((long)result);
23179 return resultobj;
23180 fail:
23181 return NULL;
23182}
23183
23184
23185static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23186 PyObject *resultobj;
23187 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23188 wxPoint *arg2 = 0 ;
23189 int *arg3 = 0 ;
23190 long result;
23191 wxPoint temp2 ;
23192 int temp3 ;
23193 PyObject * obj0 = 0 ;
23194 PyObject * obj1 = 0 ;
23195 char *kwnames[] = {
23196 (char *) "self",(char *) "point", NULL
23197 };
23198
23199 arg3 = &temp3;
23200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23203 {
23204 arg2 = &temp2;
23205 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23206 }
23207 {
23208 PyThreadState* __tstate = wxPyBeginAllowThreads();
23209 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23210
23211 wxPyEndAllowThreads(__tstate);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 }
23214 resultobj = SWIG_FromLong((long)result);
23215 {
23216 PyObject *o = PyInt_FromLong((long) (*arg3));
23217 resultobj = t_output_helper(resultobj,o);
23218 }
23219 return resultobj;
23220 fail:
23221 return NULL;
23222}
23223
23224
23225static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23226 PyObject *resultobj;
23227 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23228 wxListItem *arg2 = 0 ;
23229 long result;
23230 PyObject * obj0 = 0 ;
23231 PyObject * obj1 = 0 ;
23232 char *kwnames[] = {
23233 (char *) "self",(char *) "info", NULL
23234 };
23235
23236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
23237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23240 SWIG_POINTER_EXCEPTION | 0)) == -1)
23241 SWIG_fail;
23242 if (arg2 == NULL) {
23243 PyErr_SetString(PyExc_TypeError,"null reference");
23244 SWIG_fail;
23245 }
23246 {
23247 PyThreadState* __tstate = wxPyBeginAllowThreads();
23248 result = (long)(arg1)->InsertItem(*arg2);
23249
23250 wxPyEndAllowThreads(__tstate);
23251 if (PyErr_Occurred()) SWIG_fail;
23252 }
23253 resultobj = SWIG_FromLong((long)result);
23254 return resultobj;
23255 fail:
23256 return NULL;
23257}
23258
23259
23260static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23261 PyObject *resultobj;
23262 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23263 long arg2 ;
23264 wxString *arg3 = 0 ;
23265 long result;
23266 bool temp3 = False ;
23267 PyObject * obj0 = 0 ;
23268 PyObject * obj1 = 0 ;
23269 PyObject * obj2 = 0 ;
23270 char *kwnames[] = {
23271 (char *) "self",(char *) "index",(char *) "label", NULL
23272 };
23273
23274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23277 arg2 = (long) SWIG_AsLong(obj1);
23278 if (PyErr_Occurred()) SWIG_fail;
23279 {
23280 arg3 = wxString_in_helper(obj2);
23281 if (arg3 == NULL) SWIG_fail;
23282 temp3 = True;
23283 }
23284 {
23285 PyThreadState* __tstate = wxPyBeginAllowThreads();
23286 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23287
23288 wxPyEndAllowThreads(__tstate);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 }
23291 resultobj = SWIG_FromLong((long)result);
23292 {
23293 if (temp3)
23294 delete arg3;
23295 }
23296 return resultobj;
23297 fail:
23298 {
23299 if (temp3)
23300 delete arg3;
23301 }
23302 return NULL;
23303}
23304
23305
23306static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23307 PyObject *resultobj;
23308 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23309 long arg2 ;
23310 int arg3 ;
23311 long result;
23312 PyObject * obj0 = 0 ;
23313 PyObject * obj1 = 0 ;
23314 PyObject * obj2 = 0 ;
23315 char *kwnames[] = {
23316 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23317 };
23318
23319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23322 arg2 = (long) SWIG_AsLong(obj1);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 arg3 = (int) SWIG_AsInt(obj2);
23325 if (PyErr_Occurred()) SWIG_fail;
23326 {
23327 PyThreadState* __tstate = wxPyBeginAllowThreads();
23328 result = (long)(arg1)->InsertItem(arg2,arg3);
23329
23330 wxPyEndAllowThreads(__tstate);
23331 if (PyErr_Occurred()) SWIG_fail;
23332 }
23333 resultobj = SWIG_FromLong((long)result);
23334 return resultobj;
23335 fail:
23336 return NULL;
23337}
23338
23339
23340static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23341 PyObject *resultobj;
23342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23343 long arg2 ;
23344 wxString *arg3 = 0 ;
23345 int arg4 ;
23346 long result;
23347 bool temp3 = False ;
23348 PyObject * obj0 = 0 ;
23349 PyObject * obj1 = 0 ;
23350 PyObject * obj2 = 0 ;
23351 PyObject * obj3 = 0 ;
23352 char *kwnames[] = {
23353 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23354 };
23355
23356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23359 arg2 = (long) SWIG_AsLong(obj1);
23360 if (PyErr_Occurred()) SWIG_fail;
23361 {
23362 arg3 = wxString_in_helper(obj2);
23363 if (arg3 == NULL) SWIG_fail;
23364 temp3 = True;
23365 }
23366 arg4 = (int) SWIG_AsInt(obj3);
23367 if (PyErr_Occurred()) SWIG_fail;
23368 {
23369 PyThreadState* __tstate = wxPyBeginAllowThreads();
23370 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23371
23372 wxPyEndAllowThreads(__tstate);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
23375 resultobj = SWIG_FromLong((long)result);
23376 {
23377 if (temp3)
23378 delete arg3;
23379 }
23380 return resultobj;
23381 fail:
23382 {
23383 if (temp3)
23384 delete arg3;
23385 }
23386 return NULL;
23387}
23388
23389
23390static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23391 PyObject *resultobj;
23392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23393 long arg2 ;
23394 wxListItem *arg3 = 0 ;
23395 long result;
23396 PyObject * obj0 = 0 ;
23397 PyObject * obj1 = 0 ;
23398 PyObject * obj2 = 0 ;
23399 char *kwnames[] = {
23400 (char *) "self",(char *) "col",(char *) "info", NULL
23401 };
23402
23403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23406 arg2 = (long) SWIG_AsLong(obj1);
23407 if (PyErr_Occurred()) SWIG_fail;
23408 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23409 SWIG_POINTER_EXCEPTION | 0)) == -1)
23410 SWIG_fail;
23411 if (arg3 == NULL) {
23412 PyErr_SetString(PyExc_TypeError,"null reference");
23413 SWIG_fail;
23414 }
23415 {
23416 PyThreadState* __tstate = wxPyBeginAllowThreads();
23417 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23418
23419 wxPyEndAllowThreads(__tstate);
23420 if (PyErr_Occurred()) SWIG_fail;
23421 }
23422 resultobj = SWIG_FromLong((long)result);
23423 return resultobj;
23424 fail:
23425 return NULL;
23426}
23427
23428
23429static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
23430 PyObject *resultobj;
23431 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23432 long arg2 ;
23433 wxString *arg3 = 0 ;
23434 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23435 int arg5 = (int) -1 ;
23436 long result;
23437 bool temp3 = False ;
23438 PyObject * obj0 = 0 ;
23439 PyObject * obj1 = 0 ;
23440 PyObject * obj2 = 0 ;
23441 PyObject * obj3 = 0 ;
23442 PyObject * obj4 = 0 ;
23443 char *kwnames[] = {
23444 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23450 arg2 = (long) SWIG_AsLong(obj1);
23451 if (PyErr_Occurred()) SWIG_fail;
23452 {
23453 arg3 = wxString_in_helper(obj2);
23454 if (arg3 == NULL) SWIG_fail;
23455 temp3 = True;
23456 }
23457 if (obj3) {
23458 arg4 = (int) SWIG_AsInt(obj3);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 if (obj4) {
23462 arg5 = (int) SWIG_AsInt(obj4);
23463 if (PyErr_Occurred()) SWIG_fail;
23464 }
23465 {
23466 PyThreadState* __tstate = wxPyBeginAllowThreads();
23467 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23468
23469 wxPyEndAllowThreads(__tstate);
23470 if (PyErr_Occurred()) SWIG_fail;
23471 }
23472 resultobj = SWIG_FromLong((long)result);
23473 {
23474 if (temp3)
23475 delete arg3;
23476 }
23477 return resultobj;
23478 fail:
23479 {
23480 if (temp3)
23481 delete arg3;
23482 }
23483 return NULL;
23484}
23485
23486
23487static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23488 PyObject *resultobj;
23489 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23490 long arg2 ;
23491 PyObject * obj0 = 0 ;
23492 PyObject * obj1 = 0 ;
23493 char *kwnames[] = {
23494 (char *) "self",(char *) "count", NULL
23495 };
23496
23497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23500 arg2 = (long) SWIG_AsLong(obj1);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 {
23503 PyThreadState* __tstate = wxPyBeginAllowThreads();
23504 (arg1)->SetItemCount(arg2);
23505
23506 wxPyEndAllowThreads(__tstate);
23507 if (PyErr_Occurred()) SWIG_fail;
23508 }
23509 Py_INCREF(Py_None); resultobj = Py_None;
23510 return resultobj;
23511 fail:
23512 return NULL;
23513}
23514
23515
23516static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
23517 PyObject *resultobj;
23518 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23519 int arg2 ;
23520 int arg3 ;
23521 bool result;
23522 PyObject * obj0 = 0 ;
23523 PyObject * obj1 = 0 ;
23524 PyObject * obj2 = 0 ;
23525 char *kwnames[] = {
23526 (char *) "self",(char *) "dx",(char *) "dy", NULL
23527 };
23528
23529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23532 arg2 = (int) SWIG_AsInt(obj1);
23533 if (PyErr_Occurred()) SWIG_fail;
23534 arg3 = (int) SWIG_AsInt(obj2);
23535 if (PyErr_Occurred()) SWIG_fail;
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 result = (bool)(arg1)->ScrollList(arg2,arg3);
23539
23540 wxPyEndAllowThreads(__tstate);
23541 if (PyErr_Occurred()) SWIG_fail;
23542 }
23543 {
23544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23545 }
23546 return resultobj;
23547 fail:
23548 return NULL;
23549}
23550
23551
23552static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23553 PyObject *resultobj;
23554 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23555 long arg2 ;
23556 wxColour *arg3 = 0 ;
23557 wxColour temp3 ;
23558 PyObject * obj0 = 0 ;
23559 PyObject * obj1 = 0 ;
23560 PyObject * obj2 = 0 ;
23561 char *kwnames[] = {
23562 (char *) "self",(char *) "item",(char *) "col", NULL
23563 };
23564
23565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23568 arg2 = (long) SWIG_AsLong(obj1);
23569 if (PyErr_Occurred()) SWIG_fail;
23570 {
23571 arg3 = &temp3;
23572 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23573 }
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 Py_INCREF(Py_None); resultobj = Py_None;
23582 return resultobj;
23583 fail:
23584 return NULL;
23585}
23586
23587
23588static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23589 PyObject *resultobj;
23590 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23591 long arg2 ;
23592 wxColour result;
23593 PyObject * obj0 = 0 ;
23594 PyObject * obj1 = 0 ;
23595 char *kwnames[] = {
23596 (char *) "self",(char *) "item", NULL
23597 };
23598
23599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23602 arg2 = (long) SWIG_AsLong(obj1);
23603 if (PyErr_Occurred()) SWIG_fail;
23604 {
23605 PyThreadState* __tstate = wxPyBeginAllowThreads();
23606 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23607
23608 wxPyEndAllowThreads(__tstate);
23609 if (PyErr_Occurred()) SWIG_fail;
23610 }
23611 {
23612 wxColour * resultptr;
23613 resultptr = new wxColour((wxColour &) result);
23614 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23615 }
23616 return resultobj;
23617 fail:
23618 return NULL;
23619}
23620
23621
23622static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23623 PyObject *resultobj;
23624 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23625 long arg2 ;
23626 wxColour *arg3 = 0 ;
23627 wxColour temp3 ;
23628 PyObject * obj0 = 0 ;
23629 PyObject * obj1 = 0 ;
23630 PyObject * obj2 = 0 ;
23631 char *kwnames[] = {
23632 (char *) "self",(char *) "item",(char *) "col", NULL
23633 };
23634
23635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23638 arg2 = (long) SWIG_AsLong(obj1);
23639 if (PyErr_Occurred()) SWIG_fail;
23640 {
23641 arg3 = &temp3;
23642 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23643 }
23644 {
23645 PyThreadState* __tstate = wxPyBeginAllowThreads();
23646 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23647
23648 wxPyEndAllowThreads(__tstate);
23649 if (PyErr_Occurred()) SWIG_fail;
23650 }
23651 Py_INCREF(Py_None); resultobj = Py_None;
23652 return resultobj;
23653 fail:
23654 return NULL;
23655}
23656
23657
23658static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23659 PyObject *resultobj;
23660 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23661 long arg2 ;
23662 wxColour result;
23663 PyObject * obj0 = 0 ;
23664 PyObject * obj1 = 0 ;
23665 char *kwnames[] = {
23666 (char *) "self",(char *) "item", NULL
23667 };
23668
23669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23672 arg2 = (long) SWIG_AsLong(obj1);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 {
23682 wxColour * resultptr;
23683 resultptr = new wxColour((wxColour &) result);
23684 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23685 }
23686 return resultobj;
23687 fail:
23688 return NULL;
23689}
23690
23691
23692static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23693 PyObject *resultobj;
23694 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23695 PyObject *arg2 = (PyObject *) 0 ;
23696 bool result;
23697 PyObject * obj0 = 0 ;
23698 PyObject * obj1 = 0 ;
23699 char *kwnames[] = {
23700 (char *) "self",(char *) "func", NULL
23701 };
23702
23703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
23704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23706 arg2 = obj1;
23707 {
23708 PyThreadState* __tstate = wxPyBeginAllowThreads();
23709 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23710
23711 wxPyEndAllowThreads(__tstate);
23712 if (PyErr_Occurred()) SWIG_fail;
23713 }
23714 {
23715 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23716 }
23717 return resultobj;
23718 fail:
23719 return NULL;
23720}
23721
23722
23723static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23724 PyObject *resultobj;
23725 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23726 wxWindow *result;
23727 PyObject * obj0 = 0 ;
23728 char *kwnames[] = {
23729 (char *) "self", NULL
23730 };
23731
23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
23733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23735 {
23736 PyThreadState* __tstate = wxPyBeginAllowThreads();
23737 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
23738
23739 wxPyEndAllowThreads(__tstate);
23740 if (PyErr_Occurred()) SWIG_fail;
23741 }
23742 {
23743 resultobj = wxPyMake_wxObject(result);
23744 }
23745 return resultobj;
23746 fail:
23747 return NULL;
23748}
23749
23750
23751static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
23752 PyObject *resultobj;
23753 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
23754 wxVisualAttributes result;
23755 PyObject * obj0 = 0 ;
23756 char *kwnames[] = {
23757 (char *) "variant", NULL
23758 };
23759
23760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
23761 if (obj0) {
23762 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
23763 if (PyErr_Occurred()) SWIG_fail;
23764 }
23765 {
0439c23b 23766 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23767 PyThreadState* __tstate = wxPyBeginAllowThreads();
23768 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
23769
23770 wxPyEndAllowThreads(__tstate);
0439c23b 23771 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23772 }
23773 {
23774 wxVisualAttributes * resultptr;
23775 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
23776 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
23777 }
23778 return resultobj;
23779 fail:
23780 return NULL;
23781}
23782
23783
23784static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
23785 PyObject *obj;
23786 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23787 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
23788 Py_INCREF(obj);
23789 return Py_BuildValue((char *)"");
23790}
23791static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23792 PyObject *resultobj;
23793 wxWindow *arg1 = (wxWindow *) 0 ;
23794 int arg2 = (int) -1 ;
23795 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23796 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23797 wxSize const &arg4_defvalue = wxDefaultSize ;
23798 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23799 long arg5 = (long) wxLC_REPORT ;
23800 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23801 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23802 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23803 wxString *arg7 = (wxString *) &arg7_defvalue ;
23804 wxListView *result;
23805 wxPoint temp3 ;
23806 wxSize temp4 ;
23807 bool temp7 = False ;
23808 PyObject * obj0 = 0 ;
23809 PyObject * obj1 = 0 ;
23810 PyObject * obj2 = 0 ;
23811 PyObject * obj3 = 0 ;
23812 PyObject * obj4 = 0 ;
23813 PyObject * obj5 = 0 ;
23814 PyObject * obj6 = 0 ;
23815 char *kwnames[] = {
23816 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23817 };
23818
23819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23822 if (obj1) {
23823 arg2 = (int) SWIG_AsInt(obj1);
23824 if (PyErr_Occurred()) SWIG_fail;
23825 }
23826 if (obj2) {
23827 {
23828 arg3 = &temp3;
23829 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23830 }
23831 }
23832 if (obj3) {
23833 {
23834 arg4 = &temp4;
23835 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23836 }
23837 }
23838 if (obj4) {
23839 arg5 = (long) SWIG_AsLong(obj4);
23840 if (PyErr_Occurred()) SWIG_fail;
23841 }
23842 if (obj5) {
23843 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23844 SWIG_POINTER_EXCEPTION | 0)) == -1)
23845 SWIG_fail;
23846 if (arg6 == NULL) {
23847 PyErr_SetString(PyExc_TypeError,"null reference");
23848 SWIG_fail;
23849 }
23850 }
23851 if (obj6) {
23852 {
23853 arg7 = wxString_in_helper(obj6);
23854 if (arg7 == NULL) SWIG_fail;
23855 temp7 = True;
23856 }
23857 }
23858 {
0439c23b 23859 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23860 PyThreadState* __tstate = wxPyBeginAllowThreads();
23861 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23862
23863 wxPyEndAllowThreads(__tstate);
0439c23b 23864 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23865 }
23866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23867 {
23868 if (temp7)
23869 delete arg7;
23870 }
23871 return resultobj;
23872 fail:
23873 {
23874 if (temp7)
23875 delete arg7;
23876 }
23877 return NULL;
23878}
23879
23880
23881static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23882 PyObject *resultobj;
23883 wxListView *result;
23884 char *kwnames[] = {
23885 NULL
23886 };
23887
23888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
23889 {
0439c23b 23890 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
23891 PyThreadState* __tstate = wxPyBeginAllowThreads();
23892 result = (wxListView *)new wxListView();
23893
23894 wxPyEndAllowThreads(__tstate);
0439c23b 23895 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
23896 }
23897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23898 return resultobj;
23899 fail:
23900 return NULL;
23901}
23902
23903
23904static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23905 PyObject *resultobj;
23906 wxListView *arg1 = (wxListView *) 0 ;
23907 wxWindow *arg2 = (wxWindow *) 0 ;
23908 int arg3 = (int) -1 ;
23909 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23910 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23911 wxSize const &arg5_defvalue = wxDefaultSize ;
23912 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23913 long arg6 = (long) wxLC_REPORT ;
23914 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23915 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23916 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23917 wxString *arg8 = (wxString *) &arg8_defvalue ;
23918 bool result;
23919 wxPoint temp4 ;
23920 wxSize temp5 ;
23921 bool temp8 = False ;
23922 PyObject * obj0 = 0 ;
23923 PyObject * obj1 = 0 ;
23924 PyObject * obj2 = 0 ;
23925 PyObject * obj3 = 0 ;
23926 PyObject * obj4 = 0 ;
23927 PyObject * obj5 = 0 ;
23928 PyObject * obj6 = 0 ;
23929 PyObject * obj7 = 0 ;
23930 char *kwnames[] = {
23931 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23932 };
23933
23934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23937 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23939 if (obj2) {
23940 arg3 = (int) SWIG_AsInt(obj2);
23941 if (PyErr_Occurred()) SWIG_fail;
23942 }
23943 if (obj3) {
23944 {
23945 arg4 = &temp4;
23946 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23947 }
23948 }
23949 if (obj4) {
23950 {
23951 arg5 = &temp5;
23952 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23953 }
23954 }
23955 if (obj5) {
23956 arg6 = (long) SWIG_AsLong(obj5);
23957 if (PyErr_Occurred()) SWIG_fail;
23958 }
23959 if (obj6) {
23960 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23961 SWIG_POINTER_EXCEPTION | 0)) == -1)
23962 SWIG_fail;
23963 if (arg7 == NULL) {
23964 PyErr_SetString(PyExc_TypeError,"null reference");
23965 SWIG_fail;
23966 }
23967 }
23968 if (obj7) {
23969 {
23970 arg8 = wxString_in_helper(obj7);
23971 if (arg8 == NULL) SWIG_fail;
23972 temp8 = True;
23973 }
23974 }
23975 {
23976 PyThreadState* __tstate = wxPyBeginAllowThreads();
23977 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23978
23979 wxPyEndAllowThreads(__tstate);
23980 if (PyErr_Occurred()) SWIG_fail;
23981 }
23982 {
23983 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23984 }
23985 {
23986 if (temp8)
23987 delete arg8;
23988 }
23989 return resultobj;
23990 fail:
23991 {
23992 if (temp8)
23993 delete arg8;
23994 }
23995 return NULL;
23996}
23997
23998
23999static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
24000 PyObject *resultobj;
24001 wxListView *arg1 = (wxListView *) 0 ;
24002 long arg2 ;
24003 bool arg3 = (bool) True ;
24004 PyObject * obj0 = 0 ;
24005 PyObject * obj1 = 0 ;
24006 PyObject * obj2 = 0 ;
24007 char *kwnames[] = {
24008 (char *) "self",(char *) "n",(char *) "on", NULL
24009 };
24010
24011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
24012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24014 arg2 = (long) SWIG_AsLong(obj1);
24015 if (PyErr_Occurred()) SWIG_fail;
24016 if (obj2) {
24017 arg3 = (bool) SWIG_AsBool(obj2);
24018 if (PyErr_Occurred()) SWIG_fail;
24019 }
24020 {
24021 PyThreadState* __tstate = wxPyBeginAllowThreads();
24022 (arg1)->Select(arg2,arg3);
24023
24024 wxPyEndAllowThreads(__tstate);
24025 if (PyErr_Occurred()) SWIG_fail;
24026 }
24027 Py_INCREF(Py_None); resultobj = Py_None;
24028 return resultobj;
24029 fail:
24030 return NULL;
24031}
24032
24033
24034static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
24035 PyObject *resultobj;
24036 wxListView *arg1 = (wxListView *) 0 ;
24037 long arg2 ;
24038 PyObject * obj0 = 0 ;
24039 PyObject * obj1 = 0 ;
24040 char *kwnames[] = {
24041 (char *) "self",(char *) "index", NULL
24042 };
24043
24044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
24045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24047 arg2 = (long) SWIG_AsLong(obj1);
24048 if (PyErr_Occurred()) SWIG_fail;
24049 {
24050 PyThreadState* __tstate = wxPyBeginAllowThreads();
24051 (arg1)->Focus(arg2);
24052
24053 wxPyEndAllowThreads(__tstate);
24054 if (PyErr_Occurred()) SWIG_fail;
24055 }
24056 Py_INCREF(Py_None); resultobj = Py_None;
24057 return resultobj;
24058 fail:
24059 return NULL;
24060}
24061
24062
24063static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24064 PyObject *resultobj;
24065 wxListView *arg1 = (wxListView *) 0 ;
24066 long result;
24067 PyObject * obj0 = 0 ;
24068 char *kwnames[] = {
24069 (char *) "self", NULL
24070 };
24071
24072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
24073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24075 {
24076 PyThreadState* __tstate = wxPyBeginAllowThreads();
24077 result = (long)((wxListView const *)arg1)->GetFocusedItem();
24078
24079 wxPyEndAllowThreads(__tstate);
24080 if (PyErr_Occurred()) SWIG_fail;
24081 }
24082 resultobj = SWIG_FromLong((long)result);
24083 return resultobj;
24084 fail:
24085 return NULL;
24086}
24087
24088
24089static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24090 PyObject *resultobj;
24091 wxListView *arg1 = (wxListView *) 0 ;
24092 long arg2 ;
24093 long result;
24094 PyObject * obj0 = 0 ;
24095 PyObject * obj1 = 0 ;
24096 char *kwnames[] = {
24097 (char *) "self",(char *) "item", NULL
24098 };
24099
24100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
24101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24103 arg2 = (long) SWIG_AsLong(obj1);
24104 if (PyErr_Occurred()) SWIG_fail;
24105 {
24106 PyThreadState* __tstate = wxPyBeginAllowThreads();
24107 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
24108
24109 wxPyEndAllowThreads(__tstate);
24110 if (PyErr_Occurred()) SWIG_fail;
24111 }
24112 resultobj = SWIG_FromLong((long)result);
24113 return resultobj;
24114 fail:
24115 return NULL;
24116}
24117
24118
24119static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24120 PyObject *resultobj;
24121 wxListView *arg1 = (wxListView *) 0 ;
24122 long result;
24123 PyObject * obj0 = 0 ;
24124 char *kwnames[] = {
24125 (char *) "self", NULL
24126 };
24127
24128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
24129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24131 {
24132 PyThreadState* __tstate = wxPyBeginAllowThreads();
24133 result = (long)((wxListView const *)arg1)->GetFirstSelected();
24134
24135 wxPyEndAllowThreads(__tstate);
24136 if (PyErr_Occurred()) SWIG_fail;
24137 }
24138 resultobj = SWIG_FromLong((long)result);
24139 return resultobj;
24140 fail:
24141 return NULL;
24142}
24143
24144
24145static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24146 PyObject *resultobj;
24147 wxListView *arg1 = (wxListView *) 0 ;
24148 long arg2 ;
24149 bool result;
24150 PyObject * obj0 = 0 ;
24151 PyObject * obj1 = 0 ;
24152 char *kwnames[] = {
24153 (char *) "self",(char *) "index", NULL
24154 };
24155
24156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24159 arg2 = (long) SWIG_AsLong(obj1);
24160 if (PyErr_Occurred()) SWIG_fail;
24161 {
24162 PyThreadState* __tstate = wxPyBeginAllowThreads();
24163 result = (bool)(arg1)->IsSelected(arg2);
24164
24165 wxPyEndAllowThreads(__tstate);
24166 if (PyErr_Occurred()) SWIG_fail;
24167 }
24168 {
24169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24170 }
24171 return resultobj;
24172 fail:
24173 return NULL;
24174}
24175
24176
24177static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24178 PyObject *resultobj;
24179 wxListView *arg1 = (wxListView *) 0 ;
24180 int arg2 ;
24181 int arg3 ;
24182 PyObject * obj0 = 0 ;
24183 PyObject * obj1 = 0 ;
24184 PyObject * obj2 = 0 ;
24185 char *kwnames[] = {
24186 (char *) "self",(char *) "col",(char *) "image", NULL
24187 };
24188
24189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24192 arg2 = (int) SWIG_AsInt(obj1);
24193 if (PyErr_Occurred()) SWIG_fail;
24194 arg3 = (int) SWIG_AsInt(obj2);
24195 if (PyErr_Occurred()) SWIG_fail;
24196 {
24197 PyThreadState* __tstate = wxPyBeginAllowThreads();
24198 (arg1)->SetColumnImage(arg2,arg3);
24199
24200 wxPyEndAllowThreads(__tstate);
24201 if (PyErr_Occurred()) SWIG_fail;
24202 }
24203 Py_INCREF(Py_None); resultobj = Py_None;
24204 return resultobj;
24205 fail:
24206 return NULL;
24207}
24208
24209
24210static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24211 PyObject *resultobj;
24212 wxListView *arg1 = (wxListView *) 0 ;
24213 int arg2 ;
24214 PyObject * obj0 = 0 ;
24215 PyObject * obj1 = 0 ;
24216 char *kwnames[] = {
24217 (char *) "self",(char *) "col", NULL
24218 };
24219
24220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
24221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
24222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24223 arg2 = (int) SWIG_AsInt(obj1);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 {
24226 PyThreadState* __tstate = wxPyBeginAllowThreads();
24227 (arg1)->ClearColumnImage(arg2);
24228
24229 wxPyEndAllowThreads(__tstate);
24230 if (PyErr_Occurred()) SWIG_fail;
24231 }
24232 Py_INCREF(Py_None); resultobj = Py_None;
24233 return resultobj;
24234 fail:
24235 return NULL;
24236}
24237
24238
24239static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
24240 PyObject *obj;
24241 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24242 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24243 Py_INCREF(obj);
24244 return Py_BuildValue((char *)"");
24245}
24246static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
24247 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24248 return 1;
24249}
24250
24251
24252static PyObject *_wrap_TreeCtrlNameStr_get() {
24253 PyObject *pyobj;
24254
24255 {
24256#if wxUSE_UNICODE
24257 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24258#else
24259 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24260#endif
24261 }
24262 return pyobj;
24263}
24264
24265
24266static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24267 PyObject *resultobj;
24268 wxTreeItemId *result;
24269 char *kwnames[] = {
24270 NULL
24271 };
24272
24273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24274 {
24275 PyThreadState* __tstate = wxPyBeginAllowThreads();
24276 result = (wxTreeItemId *)new wxTreeItemId();
24277
24278 wxPyEndAllowThreads(__tstate);
24279 if (PyErr_Occurred()) SWIG_fail;
24280 }
24281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
24282 return resultobj;
24283 fail:
24284 return NULL;
24285}
24286
24287
24288static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24289 PyObject *resultobj;
24290 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24291 PyObject * obj0 = 0 ;
24292 char *kwnames[] = {
24293 (char *) "self", NULL
24294 };
24295
24296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24299 {
24300 PyThreadState* __tstate = wxPyBeginAllowThreads();
24301 delete arg1;
24302
24303 wxPyEndAllowThreads(__tstate);
24304 if (PyErr_Occurred()) SWIG_fail;
24305 }
24306 Py_INCREF(Py_None); resultobj = Py_None;
24307 return resultobj;
24308 fail:
24309 return NULL;
24310}
24311
24312
24313static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
24314 PyObject *resultobj;
24315 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24316 bool result;
24317 PyObject * obj0 = 0 ;
24318 char *kwnames[] = {
24319 (char *) "self", NULL
24320 };
24321
24322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24325 {
24326 PyThreadState* __tstate = wxPyBeginAllowThreads();
24327 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24328
24329 wxPyEndAllowThreads(__tstate);
24330 if (PyErr_Occurred()) SWIG_fail;
24331 }
24332 {
24333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24334 }
24335 return resultobj;
24336 fail:
24337 return NULL;
24338}
24339
24340
24341static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
24342 PyObject *resultobj;
24343 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24344 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24345 bool result;
24346 PyObject * obj0 = 0 ;
24347 PyObject * obj1 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self",(char *) "other", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24357 {
24358 PyThreadState* __tstate = wxPyBeginAllowThreads();
24359 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24360
24361 wxPyEndAllowThreads(__tstate);
24362 if (PyErr_Occurred()) SWIG_fail;
24363 }
24364 {
24365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24366 }
24367 return resultobj;
24368 fail:
24369 return NULL;
24370}
24371
24372
24373static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
24374 PyObject *resultobj;
24375 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24376 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24377 bool result;
24378 PyObject * obj0 = 0 ;
24379 PyObject * obj1 = 0 ;
24380 char *kwnames[] = {
24381 (char *) "self",(char *) "other", NULL
24382 };
24383
24384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24392
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 {
24397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24398 }
24399 return resultobj;
24400 fail:
24401 return NULL;
24402}
24403
24404
24405static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
24406 PyObject *resultobj;
24407 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24408 void *arg2 = (void *) 0 ;
24409 PyObject * obj0 = 0 ;
24410 PyObject * obj1 = 0 ;
24411 char *kwnames[] = {
24412 (char *) "self",(char *) "m_pItem", NULL
24413 };
24414
24415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24418 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24419 if (arg1) (arg1)->m_pItem = arg2;
24420
24421 Py_INCREF(Py_None); resultobj = Py_None;
24422 return resultobj;
24423 fail:
24424 return NULL;
24425}
24426
24427
24428static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
24429 PyObject *resultobj;
24430 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24431 void *result;
24432 PyObject * obj0 = 0 ;
24433 char *kwnames[] = {
24434 (char *) "self", NULL
24435 };
24436
24437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24440 result = (void *) ((arg1)->m_pItem);
24441
24442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24443 return resultobj;
24444 fail:
24445 return NULL;
24446}
24447
24448
24449static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
24450 PyObject *obj;
24451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24452 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24453 Py_INCREF(obj);
24454 return Py_BuildValue((char *)"");
24455}
24456static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24457 PyObject *resultobj;
24458 PyObject *arg1 = (PyObject *) NULL ;
24459 wxPyTreeItemData *result;
24460 PyObject * obj0 = 0 ;
24461 char *kwnames[] = {
24462 (char *) "obj", NULL
24463 };
24464
24465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24466 if (obj0) {
24467 arg1 = obj0;
24468 }
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24472
24473 wxPyEndAllowThreads(__tstate);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
24476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24477 return resultobj;
24478 fail:
24479 return NULL;
24480}
24481
24482
24483static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24484 PyObject *resultobj;
24485 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24486 PyObject *result;
24487 PyObject * obj0 = 0 ;
24488 char *kwnames[] = {
24489 (char *) "self", NULL
24490 };
24491
24492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24495 {
24496 PyThreadState* __tstate = wxPyBeginAllowThreads();
24497 result = (PyObject *)(arg1)->GetData();
24498
24499 wxPyEndAllowThreads(__tstate);
24500 if (PyErr_Occurred()) SWIG_fail;
24501 }
24502 resultobj = result;
24503 return resultobj;
24504 fail:
24505 return NULL;
24506}
24507
24508
24509static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24510 PyObject *resultobj;
24511 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24512 PyObject *arg2 = (PyObject *) 0 ;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 char *kwnames[] = {
24516 (char *) "self",(char *) "obj", NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24522 arg2 = obj1;
24523 {
24524 PyThreadState* __tstate = wxPyBeginAllowThreads();
24525 (arg1)->SetData(arg2);
24526
24527 wxPyEndAllowThreads(__tstate);
24528 if (PyErr_Occurred()) SWIG_fail;
24529 }
24530 Py_INCREF(Py_None); resultobj = Py_None;
24531 return resultobj;
24532 fail:
24533 return NULL;
24534}
24535
24536
24537static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24538 PyObject *resultobj;
24539 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24540 wxTreeItemId *result;
24541 PyObject * obj0 = 0 ;
24542 char *kwnames[] = {
24543 (char *) "self", NULL
24544 };
24545
24546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24549 {
24550 PyThreadState* __tstate = wxPyBeginAllowThreads();
24551 {
24552 wxTreeItemId const &_result_ref = (arg1)->GetId();
24553 result = (wxTreeItemId *) &_result_ref;
24554 }
24555
24556 wxPyEndAllowThreads(__tstate);
24557 if (PyErr_Occurred()) SWIG_fail;
24558 }
24559 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24560 return resultobj;
24561 fail:
24562 return NULL;
24563}
24564
24565
24566static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24567 PyObject *resultobj;
24568 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24569 wxTreeItemId *arg2 = 0 ;
24570 PyObject * obj0 = 0 ;
24571 PyObject * obj1 = 0 ;
24572 char *kwnames[] = {
24573 (char *) "self",(char *) "id", NULL
24574 };
24575
24576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24580 SWIG_POINTER_EXCEPTION | 0)) == -1)
24581 SWIG_fail;
24582 if (arg2 == NULL) {
24583 PyErr_SetString(PyExc_TypeError,"null reference");
24584 SWIG_fail;
24585 }
24586 {
24587 PyThreadState* __tstate = wxPyBeginAllowThreads();
24588 (arg1)->SetId((wxTreeItemId const &)*arg2);
24589
24590 wxPyEndAllowThreads(__tstate);
24591 if (PyErr_Occurred()) SWIG_fail;
24592 }
24593 Py_INCREF(Py_None); resultobj = Py_None;
24594 return resultobj;
24595 fail:
24596 return NULL;
24597}
24598
24599
24600static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24601 PyObject *resultobj;
24602 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24603 PyObject * obj0 = 0 ;
24604 char *kwnames[] = {
24605 (char *) "self", NULL
24606 };
24607
24608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
24609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24611 {
24612 PyThreadState* __tstate = wxPyBeginAllowThreads();
24613 wxPyTreeItemData_Destroy(arg1);
24614
24615 wxPyEndAllowThreads(__tstate);
24616 if (PyErr_Occurred()) SWIG_fail;
24617 }
24618 Py_INCREF(Py_None); resultobj = Py_None;
24619 return resultobj;
24620 fail:
24621 return NULL;
24622}
24623
24624
24625static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
24626 PyObject *obj;
24627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24628 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24629 Py_INCREF(obj);
24630 return Py_BuildValue((char *)"");
24631}
24632static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24633 PyObject *resultobj;
24634 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24635 int arg2 = (int) 0 ;
24636 wxTreeEvent *result;
24637 PyObject * obj0 = 0 ;
24638 PyObject * obj1 = 0 ;
24639 char *kwnames[] = {
24640 (char *) "commandType",(char *) "id", NULL
24641 };
24642
24643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24644 if (obj0) {
24645 arg1 = (wxEventType) SWIG_AsInt(obj0);
24646 if (PyErr_Occurred()) SWIG_fail;
24647 }
24648 if (obj1) {
24649 arg2 = (int) SWIG_AsInt(obj1);
24650 if (PyErr_Occurred()) SWIG_fail;
24651 }
24652 {
24653 PyThreadState* __tstate = wxPyBeginAllowThreads();
24654 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24655
24656 wxPyEndAllowThreads(__tstate);
24657 if (PyErr_Occurred()) SWIG_fail;
24658 }
24659 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
24660 return resultobj;
24661 fail:
24662 return NULL;
24663}
24664
24665
24666static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24667 PyObject *resultobj;
24668 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24669 wxTreeItemId result;
24670 PyObject * obj0 = 0 ;
24671 char *kwnames[] = {
24672 (char *) "self", NULL
24673 };
24674
24675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
24676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24678 {
24679 PyThreadState* __tstate = wxPyBeginAllowThreads();
24680 result = ((wxTreeEvent const *)arg1)->GetItem();
24681
24682 wxPyEndAllowThreads(__tstate);
24683 if (PyErr_Occurred()) SWIG_fail;
24684 }
24685 {
24686 wxTreeItemId * resultptr;
24687 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24688 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24689 }
24690 return resultobj;
24691 fail:
24692 return NULL;
24693}
24694
24695
24696static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24697 PyObject *resultobj;
24698 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24699 wxTreeItemId *arg2 = 0 ;
24700 PyObject * obj0 = 0 ;
24701 PyObject * obj1 = 0 ;
24702 char *kwnames[] = {
24703 (char *) "self",(char *) "item", NULL
24704 };
24705
24706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
24707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24709 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24710 SWIG_POINTER_EXCEPTION | 0)) == -1)
24711 SWIG_fail;
24712 if (arg2 == NULL) {
24713 PyErr_SetString(PyExc_TypeError,"null reference");
24714 SWIG_fail;
24715 }
24716 {
24717 PyThreadState* __tstate = wxPyBeginAllowThreads();
24718 (arg1)->SetItem((wxTreeItemId const &)*arg2);
24719
24720 wxPyEndAllowThreads(__tstate);
24721 if (PyErr_Occurred()) SWIG_fail;
24722 }
24723 Py_INCREF(Py_None); resultobj = Py_None;
24724 return resultobj;
24725 fail:
24726 return NULL;
24727}
24728
24729
24730static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24731 PyObject *resultobj;
24732 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24733 wxTreeItemId result;
24734 PyObject * obj0 = 0 ;
24735 char *kwnames[] = {
24736 (char *) "self", NULL
24737 };
24738
24739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
24740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24742 {
24743 PyThreadState* __tstate = wxPyBeginAllowThreads();
24744 result = ((wxTreeEvent const *)arg1)->GetOldItem();
24745
24746 wxPyEndAllowThreads(__tstate);
24747 if (PyErr_Occurred()) SWIG_fail;
24748 }
24749 {
24750 wxTreeItemId * resultptr;
24751 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24752 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24753 }
24754 return resultobj;
24755 fail:
24756 return NULL;
24757}
24758
24759
24760static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24761 PyObject *resultobj;
24762 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24763 wxTreeItemId *arg2 = 0 ;
24764 PyObject * obj0 = 0 ;
24765 PyObject * obj1 = 0 ;
24766 char *kwnames[] = {
24767 (char *) "self",(char *) "item", NULL
24768 };
24769
24770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
24771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24774 SWIG_POINTER_EXCEPTION | 0)) == -1)
24775 SWIG_fail;
24776 if (arg2 == NULL) {
24777 PyErr_SetString(PyExc_TypeError,"null reference");
24778 SWIG_fail;
24779 }
24780 {
24781 PyThreadState* __tstate = wxPyBeginAllowThreads();
24782 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
24783
24784 wxPyEndAllowThreads(__tstate);
24785 if (PyErr_Occurred()) SWIG_fail;
24786 }
24787 Py_INCREF(Py_None); resultobj = Py_None;
24788 return resultobj;
24789 fail:
24790 return NULL;
24791}
24792
24793
24794static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24795 PyObject *resultobj;
24796 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24797 wxPoint result;
24798 PyObject * obj0 = 0 ;
24799 char *kwnames[] = {
24800 (char *) "self", NULL
24801 };
24802
24803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
24804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24806 {
24807 PyThreadState* __tstate = wxPyBeginAllowThreads();
24808 result = ((wxTreeEvent const *)arg1)->GetPoint();
24809
24810 wxPyEndAllowThreads(__tstate);
24811 if (PyErr_Occurred()) SWIG_fail;
24812 }
24813 {
24814 wxPoint * resultptr;
24815 resultptr = new wxPoint((wxPoint &) result);
24816 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24817 }
24818 return resultobj;
24819 fail:
24820 return NULL;
24821}
24822
24823
24824static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24825 PyObject *resultobj;
24826 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24827 wxPoint *arg2 = 0 ;
24828 wxPoint temp2 ;
24829 PyObject * obj0 = 0 ;
24830 PyObject * obj1 = 0 ;
24831 char *kwnames[] = {
24832 (char *) "self",(char *) "pt", NULL
24833 };
24834
24835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
24836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24838 {
24839 arg2 = &temp2;
24840 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24841 }
24842 {
24843 PyThreadState* __tstate = wxPyBeginAllowThreads();
24844 (arg1)->SetPoint((wxPoint const &)*arg2);
24845
24846 wxPyEndAllowThreads(__tstate);
24847 if (PyErr_Occurred()) SWIG_fail;
24848 }
24849 Py_INCREF(Py_None); resultobj = Py_None;
24850 return resultobj;
24851 fail:
24852 return NULL;
24853}
24854
24855
24856static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24857 PyObject *resultobj;
24858 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24859 wxKeyEvent *result;
24860 PyObject * obj0 = 0 ;
24861 char *kwnames[] = {
24862 (char *) "self", NULL
24863 };
24864
24865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
24866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24868 {
24869 PyThreadState* __tstate = wxPyBeginAllowThreads();
24870 {
24871 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
24872 result = (wxKeyEvent *) &_result_ref;
24873 }
24874
24875 wxPyEndAllowThreads(__tstate);
24876 if (PyErr_Occurred()) SWIG_fail;
24877 }
24878 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
24879 return resultobj;
24880 fail:
24881 return NULL;
24882}
24883
24884
24885static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
24886 PyObject *resultobj;
24887 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24888 int result;
24889 PyObject * obj0 = 0 ;
24890 char *kwnames[] = {
24891 (char *) "self", NULL
24892 };
24893
24894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
24895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24897 {
24898 PyThreadState* __tstate = wxPyBeginAllowThreads();
24899 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
24900
24901 wxPyEndAllowThreads(__tstate);
24902 if (PyErr_Occurred()) SWIG_fail;
24903 }
24904 resultobj = SWIG_FromInt((int)result);
24905 return resultobj;
24906 fail:
24907 return NULL;
24908}
24909
24910
24911static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24912 PyObject *resultobj;
24913 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24914 wxKeyEvent *arg2 = 0 ;
24915 PyObject * obj0 = 0 ;
24916 PyObject * obj1 = 0 ;
24917 char *kwnames[] = {
24918 (char *) "self",(char *) "evt", NULL
24919 };
24920
24921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
24922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24924 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
24925 SWIG_POINTER_EXCEPTION | 0)) == -1)
24926 SWIG_fail;
24927 if (arg2 == NULL) {
24928 PyErr_SetString(PyExc_TypeError,"null reference");
24929 SWIG_fail;
24930 }
24931 {
24932 PyThreadState* __tstate = wxPyBeginAllowThreads();
24933 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
24934
24935 wxPyEndAllowThreads(__tstate);
24936 if (PyErr_Occurred()) SWIG_fail;
24937 }
24938 Py_INCREF(Py_None); resultobj = Py_None;
24939 return resultobj;
24940 fail:
24941 return NULL;
24942}
24943
24944
24945static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24946 PyObject *resultobj;
24947 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24948 wxString *result;
24949 PyObject * obj0 = 0 ;
24950 char *kwnames[] = {
24951 (char *) "self", NULL
24952 };
24953
24954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
24955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24957 {
24958 PyThreadState* __tstate = wxPyBeginAllowThreads();
24959 {
24960 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
24961 result = (wxString *) &_result_ref;
24962 }
24963
24964 wxPyEndAllowThreads(__tstate);
24965 if (PyErr_Occurred()) SWIG_fail;
24966 }
24967 {
24968#if wxUSE_UNICODE
24969 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24970#else
24971 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24972#endif
24973 }
24974 return resultobj;
24975 fail:
24976 return NULL;
24977}
24978
24979
24980static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24981 PyObject *resultobj;
24982 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24983 wxString *arg2 = 0 ;
24984 bool temp2 = False ;
24985 PyObject * obj0 = 0 ;
24986 PyObject * obj1 = 0 ;
24987 char *kwnames[] = {
24988 (char *) "self",(char *) "label", NULL
24989 };
24990
24991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
24992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24994 {
24995 arg2 = wxString_in_helper(obj1);
24996 if (arg2 == NULL) SWIG_fail;
24997 temp2 = True;
24998 }
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
25001 (arg1)->SetLabel((wxString const &)*arg2);
25002
25003 wxPyEndAllowThreads(__tstate);
25004 if (PyErr_Occurred()) SWIG_fail;
25005 }
25006 Py_INCREF(Py_None); resultobj = Py_None;
25007 {
25008 if (temp2)
25009 delete arg2;
25010 }
25011 return resultobj;
25012 fail:
25013 {
25014 if (temp2)
25015 delete arg2;
25016 }
25017 return NULL;
25018}
25019
25020
25021static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
25022 PyObject *resultobj;
25023 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25024 bool result;
25025 PyObject * obj0 = 0 ;
25026 char *kwnames[] = {
25027 (char *) "self", NULL
25028 };
25029
25030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
25031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25033 {
25034 PyThreadState* __tstate = wxPyBeginAllowThreads();
25035 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
25036
25037 wxPyEndAllowThreads(__tstate);
25038 if (PyErr_Occurred()) SWIG_fail;
25039 }
25040 {
25041 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25042 }
25043 return resultobj;
25044 fail:
25045 return NULL;
25046}
25047
25048
25049static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
25050 PyObject *resultobj;
25051 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25052 bool arg2 ;
25053 PyObject * obj0 = 0 ;
25054 PyObject * obj1 = 0 ;
25055 char *kwnames[] = {
25056 (char *) "self",(char *) "editCancelled", NULL
25057 };
25058
25059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
25060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25062 arg2 = (bool) SWIG_AsBool(obj1);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 {
25065 PyThreadState* __tstate = wxPyBeginAllowThreads();
25066 (arg1)->SetEditCanceled(arg2);
25067
25068 wxPyEndAllowThreads(__tstate);
25069 if (PyErr_Occurred()) SWIG_fail;
25070 }
25071 Py_INCREF(Py_None); resultobj = Py_None;
25072 return resultobj;
25073 fail:
25074 return NULL;
25075}
25076
25077
25078static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
25079 PyObject *resultobj;
25080 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
25081 wxString *arg2 = 0 ;
25082 bool temp2 = False ;
25083 PyObject * obj0 = 0 ;
25084 PyObject * obj1 = 0 ;
25085 char *kwnames[] = {
25086 (char *) "self",(char *) "toolTip", NULL
25087 };
25088
25089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
25090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
25091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25092 {
25093 arg2 = wxString_in_helper(obj1);
25094 if (arg2 == NULL) SWIG_fail;
25095 temp2 = True;
25096 }
25097 {
25098 PyThreadState* __tstate = wxPyBeginAllowThreads();
25099 (arg1)->SetToolTip((wxString const &)*arg2);
25100
25101 wxPyEndAllowThreads(__tstate);
25102 if (PyErr_Occurred()) SWIG_fail;
25103 }
25104 Py_INCREF(Py_None); resultobj = Py_None;
25105 {
25106 if (temp2)
25107 delete arg2;
25108 }
25109 return resultobj;
25110 fail:
25111 {
25112 if (temp2)
25113 delete arg2;
25114 }
25115 return NULL;
25116}
25117
25118
25119static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
25120 PyObject *obj;
25121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25122 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
25123 Py_INCREF(obj);
25124 return Py_BuildValue((char *)"");
25125}
25126static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
25127 PyObject *resultobj;
25128 wxWindow *arg1 = (wxWindow *) 0 ;
25129 int arg2 = (int) -1 ;
25130 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25131 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25132 wxSize const &arg4_defvalue = wxDefaultSize ;
25133 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25134 long arg5 = (long) wxTR_DEFAULT_STYLE ;
25135 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25136 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25137 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
25138 wxString *arg7 = (wxString *) &arg7_defvalue ;
25139 wxPyTreeCtrl *result;
25140 wxPoint temp3 ;
25141 wxSize temp4 ;
25142 bool temp7 = False ;
25143 PyObject * obj0 = 0 ;
25144 PyObject * obj1 = 0 ;
25145 PyObject * obj2 = 0 ;
25146 PyObject * obj3 = 0 ;
25147 PyObject * obj4 = 0 ;
25148 PyObject * obj5 = 0 ;
25149 PyObject * obj6 = 0 ;
25150 char *kwnames[] = {
25151 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25152 };
25153
25154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25157 if (obj1) {
25158 arg2 = (int) SWIG_AsInt(obj1);
25159 if (PyErr_Occurred()) SWIG_fail;
25160 }
25161 if (obj2) {
25162 {
25163 arg3 = &temp3;
25164 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25165 }
25166 }
25167 if (obj3) {
25168 {
25169 arg4 = &temp4;
25170 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25171 }
25172 }
25173 if (obj4) {
25174 arg5 = (long) SWIG_AsLong(obj4);
25175 if (PyErr_Occurred()) SWIG_fail;
25176 }
25177 if (obj5) {
25178 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
25179 SWIG_POINTER_EXCEPTION | 0)) == -1)
25180 SWIG_fail;
25181 if (arg6 == NULL) {
25182 PyErr_SetString(PyExc_TypeError,"null reference");
25183 SWIG_fail;
25184 }
25185 }
25186 if (obj6) {
25187 {
25188 arg7 = wxString_in_helper(obj6);
25189 if (arg7 == NULL) SWIG_fail;
25190 temp7 = True;
25191 }
25192 }
25193 {
0439c23b 25194 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25195 PyThreadState* __tstate = wxPyBeginAllowThreads();
25196 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25197
25198 wxPyEndAllowThreads(__tstate);
0439c23b 25199 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25200 }
25201 {
25202 resultobj = wxPyMake_wxObject(result);
25203 }
25204 {
25205 if (temp7)
25206 delete arg7;
25207 }
25208 return resultobj;
25209 fail:
25210 {
25211 if (temp7)
25212 delete arg7;
25213 }
25214 return NULL;
25215}
25216
25217
25218static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
25219 PyObject *resultobj;
25220 wxPyTreeCtrl *result;
25221 char *kwnames[] = {
25222 NULL
25223 };
25224
25225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
25226 {
0439c23b 25227 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
25228 PyThreadState* __tstate = wxPyBeginAllowThreads();
25229 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
25230
25231 wxPyEndAllowThreads(__tstate);
0439c23b 25232 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
25233 }
25234 {
25235 resultobj = wxPyMake_wxObject(result);
25236 }
25237 return resultobj;
25238 fail:
25239 return NULL;
25240}
25241
25242
25243static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
25244 PyObject *resultobj;
25245 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25246 wxWindow *arg2 = (wxWindow *) 0 ;
25247 int arg3 = (int) -1 ;
25248 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25249 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25250 wxSize const &arg5_defvalue = wxDefaultSize ;
25251 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25252 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25253 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25254 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25255 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
25256 wxString *arg8 = (wxString *) &arg8_defvalue ;
25257 bool result;
25258 wxPoint temp4 ;
25259 wxSize temp5 ;
25260 bool temp8 = False ;
25261 PyObject * obj0 = 0 ;
25262 PyObject * obj1 = 0 ;
25263 PyObject * obj2 = 0 ;
25264 PyObject * obj3 = 0 ;
25265 PyObject * obj4 = 0 ;
25266 PyObject * obj5 = 0 ;
25267 PyObject * obj6 = 0 ;
25268 PyObject * obj7 = 0 ;
25269 char *kwnames[] = {
25270 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25271 };
25272
25273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25276 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25278 if (obj2) {
25279 arg3 = (int) SWIG_AsInt(obj2);
25280 if (PyErr_Occurred()) SWIG_fail;
25281 }
25282 if (obj3) {
25283 {
25284 arg4 = &temp4;
25285 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25286 }
25287 }
25288 if (obj4) {
25289 {
25290 arg5 = &temp5;
25291 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25292 }
25293 }
25294 if (obj5) {
25295 arg6 = (long) SWIG_AsLong(obj5);
25296 if (PyErr_Occurred()) SWIG_fail;
25297 }
25298 if (obj6) {
25299 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25300 SWIG_POINTER_EXCEPTION | 0)) == -1)
25301 SWIG_fail;
25302 if (arg7 == NULL) {
25303 PyErr_SetString(PyExc_TypeError,"null reference");
25304 SWIG_fail;
25305 }
25306 }
25307 if (obj7) {
25308 {
25309 arg8 = wxString_in_helper(obj7);
25310 if (arg8 == NULL) SWIG_fail;
25311 temp8 = True;
25312 }
25313 }
25314 {
25315 PyThreadState* __tstate = wxPyBeginAllowThreads();
25316 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25317
25318 wxPyEndAllowThreads(__tstate);
25319 if (PyErr_Occurred()) SWIG_fail;
25320 }
25321 {
25322 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25323 }
25324 {
25325 if (temp8)
25326 delete arg8;
25327 }
25328 return resultobj;
25329 fail:
25330 {
25331 if (temp8)
25332 delete arg8;
25333 }
25334 return NULL;
25335}
25336
25337
25338static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25339 PyObject *resultobj;
25340 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25341 PyObject *arg2 = (PyObject *) 0 ;
25342 PyObject *arg3 = (PyObject *) 0 ;
25343 PyObject * obj0 = 0 ;
25344 PyObject * obj1 = 0 ;
25345 PyObject * obj2 = 0 ;
25346 char *kwnames[] = {
25347 (char *) "self",(char *) "self",(char *) "_class", NULL
25348 };
25349
25350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25353 arg2 = obj1;
25354 arg3 = obj2;
25355 {
25356 PyThreadState* __tstate = wxPyBeginAllowThreads();
25357 (arg1)->_setCallbackInfo(arg2,arg3);
25358
25359 wxPyEndAllowThreads(__tstate);
25360 if (PyErr_Occurred()) SWIG_fail;
25361 }
25362 Py_INCREF(Py_None); resultobj = Py_None;
25363 return resultobj;
25364 fail:
25365 return NULL;
25366}
25367
25368
25369static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25370 PyObject *resultobj;
25371 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25372 size_t result;
25373 PyObject * obj0 = 0 ;
25374 char *kwnames[] = {
25375 (char *) "self", NULL
25376 };
25377
25378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25381 {
25382 PyThreadState* __tstate = wxPyBeginAllowThreads();
25383 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25384
25385 wxPyEndAllowThreads(__tstate);
25386 if (PyErr_Occurred()) SWIG_fail;
25387 }
25388 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25389 return resultobj;
25390 fail:
25391 return NULL;
25392}
25393
25394
25395static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25396 PyObject *resultobj;
25397 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25398 unsigned int result;
25399 PyObject * obj0 = 0 ;
25400 char *kwnames[] = {
25401 (char *) "self", NULL
25402 };
25403
25404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25407 {
25408 PyThreadState* __tstate = wxPyBeginAllowThreads();
25409 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25410
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
25414 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25415 return resultobj;
25416 fail:
25417 return NULL;
25418}
25419
25420
25421static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25422 PyObject *resultobj;
25423 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25424 unsigned int arg2 ;
25425 PyObject * obj0 = 0 ;
25426 PyObject * obj1 = 0 ;
25427 char *kwnames[] = {
25428 (char *) "self",(char *) "indent", NULL
25429 };
25430
25431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25434 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25435 if (PyErr_Occurred()) SWIG_fail;
25436 {
25437 PyThreadState* __tstate = wxPyBeginAllowThreads();
25438 (arg1)->SetIndent(arg2);
25439
25440 wxPyEndAllowThreads(__tstate);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 Py_INCREF(Py_None); resultobj = Py_None;
25444 return resultobj;
25445 fail:
25446 return NULL;
25447}
25448
25449
25450static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25451 PyObject *resultobj;
25452 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25453 unsigned int result;
25454 PyObject * obj0 = 0 ;
25455 char *kwnames[] = {
25456 (char *) "self", NULL
25457 };
25458
25459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25462 {
25463 PyThreadState* __tstate = wxPyBeginAllowThreads();
25464 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25465
25466 wxPyEndAllowThreads(__tstate);
25467 if (PyErr_Occurred()) SWIG_fail;
25468 }
25469 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25470 return resultobj;
25471 fail:
25472 return NULL;
25473}
25474
25475
25476static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25477 PyObject *resultobj;
25478 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25479 unsigned int arg2 ;
25480 PyObject * obj0 = 0 ;
25481 PyObject * obj1 = 0 ;
25482 char *kwnames[] = {
25483 (char *) "self",(char *) "spacing", NULL
25484 };
25485
25486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25489 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25490 if (PyErr_Occurred()) SWIG_fail;
25491 {
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 (arg1)->SetSpacing(arg2);
25494
25495 wxPyEndAllowThreads(__tstate);
25496 if (PyErr_Occurred()) SWIG_fail;
25497 }
25498 Py_INCREF(Py_None); resultobj = Py_None;
25499 return resultobj;
25500 fail:
25501 return NULL;
25502}
25503
25504
25505static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25506 PyObject *resultobj;
25507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25508 wxImageList *result;
25509 PyObject * obj0 = 0 ;
25510 char *kwnames[] = {
25511 (char *) "self", NULL
25512 };
25513
25514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25517 {
25518 PyThreadState* __tstate = wxPyBeginAllowThreads();
25519 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25520
25521 wxPyEndAllowThreads(__tstate);
25522 if (PyErr_Occurred()) SWIG_fail;
25523 }
25524 {
25525 resultobj = wxPyMake_wxObject(result);
25526 }
25527 return resultobj;
25528 fail:
25529 return NULL;
25530}
25531
25532
25533static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25534 PyObject *resultobj;
25535 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25536 wxImageList *result;
25537 PyObject * obj0 = 0 ;
25538 char *kwnames[] = {
25539 (char *) "self", NULL
25540 };
25541
25542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
25543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25545 {
25546 PyThreadState* __tstate = wxPyBeginAllowThreads();
25547 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25548
25549 wxPyEndAllowThreads(__tstate);
25550 if (PyErr_Occurred()) SWIG_fail;
25551 }
25552 {
25553 resultobj = wxPyMake_wxObject(result);
25554 }
25555 return resultobj;
25556 fail:
25557 return NULL;
25558}
25559
25560
25561static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25562 PyObject *resultobj;
25563 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25564 wxImageList *arg2 = (wxImageList *) 0 ;
25565 PyObject * obj0 = 0 ;
25566 PyObject * obj1 = 0 ;
25567 char *kwnames[] = {
25568 (char *) "self",(char *) "imageList", NULL
25569 };
25570
25571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
25572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25574 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25576 {
25577 PyThreadState* __tstate = wxPyBeginAllowThreads();
25578 (arg1)->SetImageList(arg2);
25579
25580 wxPyEndAllowThreads(__tstate);
25581 if (PyErr_Occurred()) SWIG_fail;
25582 }
25583 Py_INCREF(Py_None); resultobj = Py_None;
25584 return resultobj;
25585 fail:
25586 return NULL;
25587}
25588
25589
25590static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25591 PyObject *resultobj;
25592 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25593 wxImageList *arg2 = (wxImageList *) 0 ;
25594 PyObject * obj0 = 0 ;
25595 PyObject * obj1 = 0 ;
25596 char *kwnames[] = {
25597 (char *) "self",(char *) "imageList", NULL
25598 };
25599
25600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
25601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25603 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25605 {
25606 PyThreadState* __tstate = wxPyBeginAllowThreads();
25607 (arg1)->SetStateImageList(arg2);
25608
25609 wxPyEndAllowThreads(__tstate);
25610 if (PyErr_Occurred()) SWIG_fail;
25611 }
25612 Py_INCREF(Py_None); resultobj = Py_None;
25613 return resultobj;
25614 fail:
25615 return NULL;
25616}
25617
25618
25619static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25620 PyObject *resultobj;
25621 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25622 wxImageList *arg2 = (wxImageList *) 0 ;
25623 PyObject * obj0 = 0 ;
25624 PyObject * obj1 = 0 ;
25625 char *kwnames[] = {
25626 (char *) "self",(char *) "imageList", NULL
25627 };
25628
25629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
25630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25633 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25634 {
25635 PyThreadState* __tstate = wxPyBeginAllowThreads();
25636 (arg1)->AssignImageList(arg2);
25637
25638 wxPyEndAllowThreads(__tstate);
25639 if (PyErr_Occurred()) SWIG_fail;
25640 }
25641 Py_INCREF(Py_None); resultobj = Py_None;
25642 return resultobj;
25643 fail:
25644 return NULL;
25645}
25646
25647
25648static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25649 PyObject *resultobj;
25650 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25651 wxImageList *arg2 = (wxImageList *) 0 ;
25652 PyObject * obj0 = 0 ;
25653 PyObject * obj1 = 0 ;
25654 char *kwnames[] = {
25655 (char *) "self",(char *) "imageList", NULL
25656 };
25657
25658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
25659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25662 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25663 {
25664 PyThreadState* __tstate = wxPyBeginAllowThreads();
25665 (arg1)->AssignStateImageList(arg2);
25666
25667 wxPyEndAllowThreads(__tstate);
25668 if (PyErr_Occurred()) SWIG_fail;
25669 }
25670 Py_INCREF(Py_None); resultobj = Py_None;
25671 return resultobj;
25672 fail:
25673 return NULL;
25674}
25675
25676
25677static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25678 PyObject *resultobj;
25679 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25680 wxTreeItemId *arg2 = 0 ;
25681 wxString result;
25682 PyObject * obj0 = 0 ;
25683 PyObject * obj1 = 0 ;
25684 char *kwnames[] = {
25685 (char *) "self",(char *) "item", NULL
25686 };
25687
25688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25691 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25692 SWIG_POINTER_EXCEPTION | 0)) == -1)
25693 SWIG_fail;
25694 if (arg2 == NULL) {
25695 PyErr_SetString(PyExc_TypeError,"null reference");
25696 SWIG_fail;
25697 }
25698 {
25699 PyThreadState* __tstate = wxPyBeginAllowThreads();
25700 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25701
25702 wxPyEndAllowThreads(__tstate);
25703 if (PyErr_Occurred()) SWIG_fail;
25704 }
25705 {
25706#if wxUSE_UNICODE
25707 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25708#else
25709 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25710#endif
25711 }
25712 return resultobj;
25713 fail:
25714 return NULL;
25715}
25716
25717
25718static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25719 PyObject *resultobj;
25720 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25721 wxTreeItemId *arg2 = 0 ;
25722 int arg3 = (int) wxTreeItemIcon_Normal ;
25723 int result;
25724 PyObject * obj0 = 0 ;
25725 PyObject * obj1 = 0 ;
25726 PyObject * obj2 = 0 ;
25727 char *kwnames[] = {
25728 (char *) "self",(char *) "item",(char *) "which", NULL
25729 };
25730
25731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25734 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25735 SWIG_POINTER_EXCEPTION | 0)) == -1)
25736 SWIG_fail;
25737 if (arg2 == NULL) {
25738 PyErr_SetString(PyExc_TypeError,"null reference");
25739 SWIG_fail;
25740 }
25741 if (obj2) {
25742 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
25743 if (PyErr_Occurred()) SWIG_fail;
25744 }
25745 {
25746 PyThreadState* __tstate = wxPyBeginAllowThreads();
25747 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
25748
25749 wxPyEndAllowThreads(__tstate);
25750 if (PyErr_Occurred()) SWIG_fail;
25751 }
25752 resultobj = SWIG_FromInt((int)result);
25753 return resultobj;
25754 fail:
25755 return NULL;
25756}
25757
25758
25759static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25760 PyObject *resultobj;
25761 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25762 wxTreeItemId *arg2 = 0 ;
25763 wxPyTreeItemData *result;
25764 PyObject * obj0 = 0 ;
25765 PyObject * obj1 = 0 ;
25766 char *kwnames[] = {
25767 (char *) "self",(char *) "item", NULL
25768 };
25769
25770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
25771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25773 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25774 SWIG_POINTER_EXCEPTION | 0)) == -1)
25775 SWIG_fail;
25776 if (arg2 == NULL) {
25777 PyErr_SetString(PyExc_TypeError,"null reference");
25778 SWIG_fail;
25779 }
25780 {
25781 PyThreadState* __tstate = wxPyBeginAllowThreads();
25782 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
25783
25784 wxPyEndAllowThreads(__tstate);
25785 if (PyErr_Occurred()) SWIG_fail;
25786 }
25787 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
25788 return resultobj;
25789 fail:
25790 return NULL;
25791}
25792
25793
25794static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25795 PyObject *resultobj;
25796 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25797 wxTreeItemId *arg2 = 0 ;
25798 PyObject *result;
25799 PyObject * obj0 = 0 ;
25800 PyObject * obj1 = 0 ;
25801 char *kwnames[] = {
25802 (char *) "self",(char *) "item", NULL
25803 };
25804
25805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
25806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25808 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25809 SWIG_POINTER_EXCEPTION | 0)) == -1)
25810 SWIG_fail;
25811 if (arg2 == NULL) {
25812 PyErr_SetString(PyExc_TypeError,"null reference");
25813 SWIG_fail;
25814 }
25815 {
25816 PyThreadState* __tstate = wxPyBeginAllowThreads();
25817 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
25818
25819 wxPyEndAllowThreads(__tstate);
25820 if (PyErr_Occurred()) SWIG_fail;
25821 }
25822 resultobj = result;
25823 return resultobj;
25824 fail:
25825 return NULL;
25826}
25827
25828
25829static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25830 PyObject *resultobj;
25831 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25832 wxTreeItemId *arg2 = 0 ;
25833 wxColour result;
25834 PyObject * obj0 = 0 ;
25835 PyObject * obj1 = 0 ;
25836 char *kwnames[] = {
25837 (char *) "self",(char *) "item", NULL
25838 };
25839
25840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
25841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25844 SWIG_POINTER_EXCEPTION | 0)) == -1)
25845 SWIG_fail;
25846 if (arg2 == NULL) {
25847 PyErr_SetString(PyExc_TypeError,"null reference");
25848 SWIG_fail;
25849 }
25850 {
25851 PyThreadState* __tstate = wxPyBeginAllowThreads();
25852 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
25853
25854 wxPyEndAllowThreads(__tstate);
25855 if (PyErr_Occurred()) SWIG_fail;
25856 }
25857 {
25858 wxColour * resultptr;
25859 resultptr = new wxColour((wxColour &) result);
25860 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25861 }
25862 return resultobj;
25863 fail:
25864 return NULL;
25865}
25866
25867
25868static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25869 PyObject *resultobj;
25870 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25871 wxTreeItemId *arg2 = 0 ;
25872 wxColour result;
25873 PyObject * obj0 = 0 ;
25874 PyObject * obj1 = 0 ;
25875 char *kwnames[] = {
25876 (char *) "self",(char *) "item", NULL
25877 };
25878
25879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25882 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25883 SWIG_POINTER_EXCEPTION | 0)) == -1)
25884 SWIG_fail;
25885 if (arg2 == NULL) {
25886 PyErr_SetString(PyExc_TypeError,"null reference");
25887 SWIG_fail;
25888 }
25889 {
25890 PyThreadState* __tstate = wxPyBeginAllowThreads();
25891 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
25892
25893 wxPyEndAllowThreads(__tstate);
25894 if (PyErr_Occurred()) SWIG_fail;
25895 }
25896 {
25897 wxColour * resultptr;
25898 resultptr = new wxColour((wxColour &) result);
25899 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25900 }
25901 return resultobj;
25902 fail:
25903 return NULL;
25904}
25905
25906
25907static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25908 PyObject *resultobj;
25909 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25910 wxTreeItemId *arg2 = 0 ;
25911 wxFont result;
25912 PyObject * obj0 = 0 ;
25913 PyObject * obj1 = 0 ;
25914 char *kwnames[] = {
25915 (char *) "self",(char *) "item", NULL
25916 };
25917
25918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
25919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25922 SWIG_POINTER_EXCEPTION | 0)) == -1)
25923 SWIG_fail;
25924 if (arg2 == NULL) {
25925 PyErr_SetString(PyExc_TypeError,"null reference");
25926 SWIG_fail;
25927 }
25928 {
25929 PyThreadState* __tstate = wxPyBeginAllowThreads();
25930 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
25931
25932 wxPyEndAllowThreads(__tstate);
25933 if (PyErr_Occurred()) SWIG_fail;
25934 }
25935 {
25936 wxFont * resultptr;
25937 resultptr = new wxFont((wxFont &) result);
25938 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
25939 }
25940 return resultobj;
25941 fail:
25942 return NULL;
25943}
25944
25945
25946static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25947 PyObject *resultobj;
25948 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25949 wxTreeItemId *arg2 = 0 ;
25950 wxString *arg3 = 0 ;
25951 bool temp3 = False ;
25952 PyObject * obj0 = 0 ;
25953 PyObject * obj1 = 0 ;
25954 PyObject * obj2 = 0 ;
25955 char *kwnames[] = {
25956 (char *) "self",(char *) "item",(char *) "text", NULL
25957 };
25958
25959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
25960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25963 SWIG_POINTER_EXCEPTION | 0)) == -1)
25964 SWIG_fail;
25965 if (arg2 == NULL) {
25966 PyErr_SetString(PyExc_TypeError,"null reference");
25967 SWIG_fail;
25968 }
25969 {
25970 arg3 = wxString_in_helper(obj2);
25971 if (arg3 == NULL) SWIG_fail;
25972 temp3 = True;
25973 }
25974 {
25975 PyThreadState* __tstate = wxPyBeginAllowThreads();
25976 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
25977
25978 wxPyEndAllowThreads(__tstate);
25979 if (PyErr_Occurred()) SWIG_fail;
25980 }
25981 Py_INCREF(Py_None); resultobj = Py_None;
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_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25997 PyObject *resultobj;
25998 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25999 wxTreeItemId *arg2 = 0 ;
26000 int arg3 ;
26001 int arg4 = (int) wxTreeItemIcon_Normal ;
26002 PyObject * obj0 = 0 ;
26003 PyObject * obj1 = 0 ;
26004 PyObject * obj2 = 0 ;
26005 PyObject * obj3 = 0 ;
26006 char *kwnames[] = {
26007 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26008 };
26009
26010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26013 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26014 SWIG_POINTER_EXCEPTION | 0)) == -1)
26015 SWIG_fail;
26016 if (arg2 == NULL) {
26017 PyErr_SetString(PyExc_TypeError,"null reference");
26018 SWIG_fail;
26019 }
26020 arg3 = (int) SWIG_AsInt(obj2);
26021 if (PyErr_Occurred()) SWIG_fail;
26022 if (obj3) {
26023 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
26024 if (PyErr_Occurred()) SWIG_fail;
26025 }
26026 {
26027 PyThreadState* __tstate = wxPyBeginAllowThreads();
26028 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
26029
26030 wxPyEndAllowThreads(__tstate);
26031 if (PyErr_Occurred()) SWIG_fail;
26032 }
26033 Py_INCREF(Py_None); resultobj = Py_None;
26034 return resultobj;
26035 fail:
26036 return NULL;
26037}
26038
26039
26040static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
26041 PyObject *resultobj;
26042 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26043 wxTreeItemId *arg2 = 0 ;
26044 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
26045 PyObject * obj0 = 0 ;
26046 PyObject * obj1 = 0 ;
26047 PyObject * obj2 = 0 ;
26048 char *kwnames[] = {
26049 (char *) "self",(char *) "item",(char *) "data", NULL
26050 };
26051
26052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26055 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26056 SWIG_POINTER_EXCEPTION | 0)) == -1)
26057 SWIG_fail;
26058 if (arg2 == NULL) {
26059 PyErr_SetString(PyExc_TypeError,"null reference");
26060 SWIG_fail;
26061 }
26062 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
26063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26064 {
26065 PyThreadState* __tstate = wxPyBeginAllowThreads();
26066 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
26067
26068 wxPyEndAllowThreads(__tstate);
26069 if (PyErr_Occurred()) SWIG_fail;
26070 }
26071 Py_INCREF(Py_None); resultobj = Py_None;
26072 return resultobj;
26073 fail:
26074 return NULL;
26075}
26076
26077
26078static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
26079 PyObject *resultobj;
26080 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26081 wxTreeItemId *arg2 = 0 ;
26082 PyObject *arg3 = (PyObject *) 0 ;
26083 PyObject * obj0 = 0 ;
26084 PyObject * obj1 = 0 ;
26085 PyObject * obj2 = 0 ;
26086 char *kwnames[] = {
26087 (char *) "self",(char *) "item",(char *) "obj", NULL
26088 };
26089
26090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
26091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26093 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26094 SWIG_POINTER_EXCEPTION | 0)) == -1)
26095 SWIG_fail;
26096 if (arg2 == NULL) {
26097 PyErr_SetString(PyExc_TypeError,"null reference");
26098 SWIG_fail;
26099 }
26100 arg3 = obj2;
26101 {
26102 PyThreadState* __tstate = wxPyBeginAllowThreads();
26103 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
26104
26105 wxPyEndAllowThreads(__tstate);
26106 if (PyErr_Occurred()) SWIG_fail;
26107 }
26108 Py_INCREF(Py_None); resultobj = Py_None;
26109 return resultobj;
26110 fail:
26111 return NULL;
26112}
26113
26114
26115static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26116 PyObject *resultobj;
26117 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26118 wxTreeItemId *arg2 = 0 ;
26119 bool arg3 = (bool) True ;
26120 PyObject * obj0 = 0 ;
26121 PyObject * obj1 = 0 ;
26122 PyObject * obj2 = 0 ;
26123 char *kwnames[] = {
26124 (char *) "self",(char *) "item",(char *) "has", NULL
26125 };
26126
26127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
26128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26131 SWIG_POINTER_EXCEPTION | 0)) == -1)
26132 SWIG_fail;
26133 if (arg2 == NULL) {
26134 PyErr_SetString(PyExc_TypeError,"null reference");
26135 SWIG_fail;
26136 }
26137 if (obj2) {
26138 arg3 = (bool) SWIG_AsBool(obj2);
26139 if (PyErr_Occurred()) SWIG_fail;
26140 }
26141 {
26142 PyThreadState* __tstate = wxPyBeginAllowThreads();
26143 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
26144
26145 wxPyEndAllowThreads(__tstate);
26146 if (PyErr_Occurred()) SWIG_fail;
26147 }
26148 Py_INCREF(Py_None); resultobj = Py_None;
26149 return resultobj;
26150 fail:
26151 return NULL;
26152}
26153
26154
26155static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26156 PyObject *resultobj;
26157 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26158 wxTreeItemId *arg2 = 0 ;
26159 bool arg3 = (bool) True ;
26160 PyObject * obj0 = 0 ;
26161 PyObject * obj1 = 0 ;
26162 PyObject * obj2 = 0 ;
26163 char *kwnames[] = {
26164 (char *) "self",(char *) "item",(char *) "bold", NULL
26165 };
26166
26167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
26168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26171 SWIG_POINTER_EXCEPTION | 0)) == -1)
26172 SWIG_fail;
26173 if (arg2 == NULL) {
26174 PyErr_SetString(PyExc_TypeError,"null reference");
26175 SWIG_fail;
26176 }
26177 if (obj2) {
26178 arg3 = (bool) SWIG_AsBool(obj2);
26179 if (PyErr_Occurred()) SWIG_fail;
26180 }
26181 {
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
26184
26185 wxPyEndAllowThreads(__tstate);
26186 if (PyErr_Occurred()) SWIG_fail;
26187 }
26188 Py_INCREF(Py_None); resultobj = Py_None;
26189 return resultobj;
26190 fail:
26191 return NULL;
26192}
26193
26194
26195static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
26196 PyObject *resultobj;
26197 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26198 wxTreeItemId *arg2 = 0 ;
26199 bool arg3 = (bool) True ;
26200 PyObject * obj0 = 0 ;
26201 PyObject * obj1 = 0 ;
26202 PyObject * obj2 = 0 ;
26203 char *kwnames[] = {
26204 (char *) "self",(char *) "item",(char *) "highlight", NULL
26205 };
26206
26207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
26208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26210 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26211 SWIG_POINTER_EXCEPTION | 0)) == -1)
26212 SWIG_fail;
26213 if (arg2 == NULL) {
26214 PyErr_SetString(PyExc_TypeError,"null reference");
26215 SWIG_fail;
26216 }
26217 if (obj2) {
26218 arg3 = (bool) SWIG_AsBool(obj2);
26219 if (PyErr_Occurred()) SWIG_fail;
26220 }
26221 {
26222 PyThreadState* __tstate = wxPyBeginAllowThreads();
26223 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
26224
26225 wxPyEndAllowThreads(__tstate);
26226 if (PyErr_Occurred()) SWIG_fail;
26227 }
26228 Py_INCREF(Py_None); resultobj = Py_None;
26229 return resultobj;
26230 fail:
26231 return NULL;
26232}
26233
26234
26235static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26236 PyObject *resultobj;
26237 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26238 wxTreeItemId *arg2 = 0 ;
26239 wxColour *arg3 = 0 ;
26240 wxColour temp3 ;
26241 PyObject * obj0 = 0 ;
26242 PyObject * obj1 = 0 ;
26243 PyObject * obj2 = 0 ;
26244 char *kwnames[] = {
26245 (char *) "self",(char *) "item",(char *) "col", NULL
26246 };
26247
26248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26251 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26252 SWIG_POINTER_EXCEPTION | 0)) == -1)
26253 SWIG_fail;
26254 if (arg2 == NULL) {
26255 PyErr_SetString(PyExc_TypeError,"null reference");
26256 SWIG_fail;
26257 }
26258 {
26259 arg3 = &temp3;
26260 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26261 }
26262 {
26263 PyThreadState* __tstate = wxPyBeginAllowThreads();
26264 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26265
26266 wxPyEndAllowThreads(__tstate);
26267 if (PyErr_Occurred()) SWIG_fail;
26268 }
26269 Py_INCREF(Py_None); resultobj = Py_None;
26270 return resultobj;
26271 fail:
26272 return NULL;
26273}
26274
26275
26276static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26277 PyObject *resultobj;
26278 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26279 wxTreeItemId *arg2 = 0 ;
26280 wxColour *arg3 = 0 ;
26281 wxColour temp3 ;
26282 PyObject * obj0 = 0 ;
26283 PyObject * obj1 = 0 ;
26284 PyObject * obj2 = 0 ;
26285 char *kwnames[] = {
26286 (char *) "self",(char *) "item",(char *) "col", NULL
26287 };
26288
26289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26292 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26293 SWIG_POINTER_EXCEPTION | 0)) == -1)
26294 SWIG_fail;
26295 if (arg2 == NULL) {
26296 PyErr_SetString(PyExc_TypeError,"null reference");
26297 SWIG_fail;
26298 }
26299 {
26300 arg3 = &temp3;
26301 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26302 }
26303 {
26304 PyThreadState* __tstate = wxPyBeginAllowThreads();
26305 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26306
26307 wxPyEndAllowThreads(__tstate);
26308 if (PyErr_Occurred()) SWIG_fail;
26309 }
26310 Py_INCREF(Py_None); resultobj = Py_None;
26311 return resultobj;
26312 fail:
26313 return NULL;
26314}
26315
26316
26317static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26318 PyObject *resultobj;
26319 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26320 wxTreeItemId *arg2 = 0 ;
26321 wxFont *arg3 = 0 ;
26322 PyObject * obj0 = 0 ;
26323 PyObject * obj1 = 0 ;
26324 PyObject * obj2 = 0 ;
26325 char *kwnames[] = {
26326 (char *) "self",(char *) "item",(char *) "font", NULL
26327 };
26328
26329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26332 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26333 SWIG_POINTER_EXCEPTION | 0)) == -1)
26334 SWIG_fail;
26335 if (arg2 == NULL) {
26336 PyErr_SetString(PyExc_TypeError,"null reference");
26337 SWIG_fail;
26338 }
26339 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26340 SWIG_POINTER_EXCEPTION | 0)) == -1)
26341 SWIG_fail;
26342 if (arg3 == NULL) {
26343 PyErr_SetString(PyExc_TypeError,"null reference");
26344 SWIG_fail;
26345 }
26346 {
26347 PyThreadState* __tstate = wxPyBeginAllowThreads();
26348 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26349
26350 wxPyEndAllowThreads(__tstate);
26351 if (PyErr_Occurred()) SWIG_fail;
26352 }
26353 Py_INCREF(Py_None); resultobj = Py_None;
26354 return resultobj;
26355 fail:
26356 return NULL;
26357}
26358
26359
26360static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26361 PyObject *resultobj;
26362 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26363 wxTreeItemId *arg2 = 0 ;
26364 bool result;
26365 PyObject * obj0 = 0 ;
26366 PyObject * obj1 = 0 ;
26367 char *kwnames[] = {
26368 (char *) "self",(char *) "item", NULL
26369 };
26370
26371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
26372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26374 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26375 SWIG_POINTER_EXCEPTION | 0)) == -1)
26376 SWIG_fail;
26377 if (arg2 == NULL) {
26378 PyErr_SetString(PyExc_TypeError,"null reference");
26379 SWIG_fail;
26380 }
26381 {
26382 PyThreadState* __tstate = wxPyBeginAllowThreads();
26383 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26384
26385 wxPyEndAllowThreads(__tstate);
26386 if (PyErr_Occurred()) SWIG_fail;
26387 }
26388 {
26389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26390 }
26391 return resultobj;
26392 fail:
26393 return NULL;
26394}
26395
26396
26397static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26398 PyObject *resultobj;
26399 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26400 wxTreeItemId *arg2 = 0 ;
26401 bool result;
26402 PyObject * obj0 = 0 ;
26403 PyObject * obj1 = 0 ;
26404 char *kwnames[] = {
26405 (char *) "self",(char *) "item", NULL
26406 };
26407
26408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26411 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26412 SWIG_POINTER_EXCEPTION | 0)) == -1)
26413 SWIG_fail;
26414 if (arg2 == NULL) {
26415 PyErr_SetString(PyExc_TypeError,"null reference");
26416 SWIG_fail;
26417 }
26418 {
26419 PyThreadState* __tstate = wxPyBeginAllowThreads();
26420 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26421
26422 wxPyEndAllowThreads(__tstate);
26423 if (PyErr_Occurred()) SWIG_fail;
26424 }
26425 {
26426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26427 }
26428 return resultobj;
26429 fail:
26430 return NULL;
26431}
26432
26433
26434static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
26435 PyObject *resultobj;
26436 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26437 wxTreeItemId *arg2 = 0 ;
26438 bool result;
26439 PyObject * obj0 = 0 ;
26440 PyObject * obj1 = 0 ;
26441 char *kwnames[] = {
26442 (char *) "self",(char *) "item", NULL
26443 };
26444
26445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
26446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26448 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26449 SWIG_POINTER_EXCEPTION | 0)) == -1)
26450 SWIG_fail;
26451 if (arg2 == NULL) {
26452 PyErr_SetString(PyExc_TypeError,"null reference");
26453 SWIG_fail;
26454 }
26455 {
26456 PyThreadState* __tstate = wxPyBeginAllowThreads();
26457 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26458
26459 wxPyEndAllowThreads(__tstate);
26460 if (PyErr_Occurred()) SWIG_fail;
26461 }
26462 {
26463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26464 }
26465 return resultobj;
26466 fail:
26467 return NULL;
26468}
26469
26470
26471static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
26472 PyObject *resultobj;
26473 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26474 wxTreeItemId *arg2 = 0 ;
26475 bool result;
26476 PyObject * obj0 = 0 ;
26477 PyObject * obj1 = 0 ;
26478 char *kwnames[] = {
26479 (char *) "self",(char *) "item", NULL
26480 };
26481
26482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26485 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26486 SWIG_POINTER_EXCEPTION | 0)) == -1)
26487 SWIG_fail;
26488 if (arg2 == NULL) {
26489 PyErr_SetString(PyExc_TypeError,"null reference");
26490 SWIG_fail;
26491 }
26492 {
26493 PyThreadState* __tstate = wxPyBeginAllowThreads();
26494 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26495
26496 wxPyEndAllowThreads(__tstate);
26497 if (PyErr_Occurred()) SWIG_fail;
26498 }
26499 {
26500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26501 }
26502 return resultobj;
26503 fail:
26504 return NULL;
26505}
26506
26507
26508static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26509 PyObject *resultobj;
26510 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26511 wxTreeItemId *arg2 = 0 ;
26512 bool result;
26513 PyObject * obj0 = 0 ;
26514 PyObject * obj1 = 0 ;
26515 char *kwnames[] = {
26516 (char *) "self",(char *) "item", NULL
26517 };
26518
26519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26522 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26523 SWIG_POINTER_EXCEPTION | 0)) == -1)
26524 SWIG_fail;
26525 if (arg2 == NULL) {
26526 PyErr_SetString(PyExc_TypeError,"null reference");
26527 SWIG_fail;
26528 }
26529 {
26530 PyThreadState* __tstate = wxPyBeginAllowThreads();
26531 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26532
26533 wxPyEndAllowThreads(__tstate);
26534 if (PyErr_Occurred()) SWIG_fail;
26535 }
26536 {
26537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26538 }
26539 return resultobj;
26540 fail:
26541 return NULL;
26542}
26543
26544
26545static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26546 PyObject *resultobj;
26547 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26548 wxTreeItemId *arg2 = 0 ;
26549 bool arg3 = (bool) True ;
26550 size_t result;
26551 PyObject * obj0 = 0 ;
26552 PyObject * obj1 = 0 ;
26553 PyObject * obj2 = 0 ;
26554 char *kwnames[] = {
26555 (char *) "self",(char *) "item",(char *) "recursively", NULL
26556 };
26557
26558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26561 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26562 SWIG_POINTER_EXCEPTION | 0)) == -1)
26563 SWIG_fail;
26564 if (arg2 == NULL) {
26565 PyErr_SetString(PyExc_TypeError,"null reference");
26566 SWIG_fail;
26567 }
26568 if (obj2) {
26569 arg3 = (bool) SWIG_AsBool(obj2);
26570 if (PyErr_Occurred()) SWIG_fail;
26571 }
26572 {
26573 PyThreadState* __tstate = wxPyBeginAllowThreads();
26574 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26575
26576 wxPyEndAllowThreads(__tstate);
26577 if (PyErr_Occurred()) SWIG_fail;
26578 }
26579 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
26580 return resultobj;
26581 fail:
26582 return NULL;
26583}
26584
26585
26586static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26587 PyObject *resultobj;
26588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26589 wxTreeItemId result;
26590 PyObject * obj0 = 0 ;
26591 char *kwnames[] = {
26592 (char *) "self", NULL
26593 };
26594
26595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26598 {
26599 PyThreadState* __tstate = wxPyBeginAllowThreads();
26600 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26601
26602 wxPyEndAllowThreads(__tstate);
26603 if (PyErr_Occurred()) SWIG_fail;
26604 }
26605 {
26606 wxTreeItemId * resultptr;
26607 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26608 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26609 }
26610 return resultobj;
26611 fail:
26612 return NULL;
26613}
26614
26615
26616static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26617 PyObject *resultobj;
26618 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26619 wxTreeItemId result;
26620 PyObject * obj0 = 0 ;
26621 char *kwnames[] = {
26622 (char *) "self", NULL
26623 };
26624
26625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
26626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26628 {
26629 PyThreadState* __tstate = wxPyBeginAllowThreads();
26630 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26631
26632 wxPyEndAllowThreads(__tstate);
26633 if (PyErr_Occurred()) SWIG_fail;
26634 }
26635 {
26636 wxTreeItemId * resultptr;
26637 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26638 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26639 }
26640 return resultobj;
26641 fail:
26642 return NULL;
26643}
26644
26645
26646static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
26647 PyObject *resultobj;
26648 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26649 PyObject *result;
26650 PyObject * obj0 = 0 ;
26651 char *kwnames[] = {
26652 (char *) "self", NULL
26653 };
26654
26655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
26656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26658 {
26659 PyThreadState* __tstate = wxPyBeginAllowThreads();
26660 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26661
26662 wxPyEndAllowThreads(__tstate);
26663 if (PyErr_Occurred()) SWIG_fail;
26664 }
26665 resultobj = result;
26666 return resultobj;
26667 fail:
26668 return NULL;
26669}
26670
26671
26672static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26673 PyObject *resultobj;
26674 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26675 wxTreeItemId *arg2 = 0 ;
26676 wxTreeItemId result;
26677 PyObject * obj0 = 0 ;
26678 PyObject * obj1 = 0 ;
26679 char *kwnames[] = {
26680 (char *) "self",(char *) "item", NULL
26681 };
26682
26683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
26684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26687 SWIG_POINTER_EXCEPTION | 0)) == -1)
26688 SWIG_fail;
26689 if (arg2 == NULL) {
26690 PyErr_SetString(PyExc_TypeError,"null reference");
26691 SWIG_fail;
26692 }
26693 {
26694 PyThreadState* __tstate = wxPyBeginAllowThreads();
26695 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26696
26697 wxPyEndAllowThreads(__tstate);
26698 if (PyErr_Occurred()) SWIG_fail;
26699 }
26700 {
26701 wxTreeItemId * resultptr;
26702 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26704 }
26705 return resultobj;
26706 fail:
26707 return NULL;
26708}
26709
26710
26711static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26712 PyObject *resultobj;
26713 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26714 wxTreeItemId *arg2 = 0 ;
26715 PyObject *result;
26716 PyObject * obj0 = 0 ;
26717 PyObject * obj1 = 0 ;
26718 char *kwnames[] = {
26719 (char *) "self",(char *) "item", NULL
26720 };
26721
26722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
26723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26726 SWIG_POINTER_EXCEPTION | 0)) == -1)
26727 SWIG_fail;
26728 if (arg2 == NULL) {
26729 PyErr_SetString(PyExc_TypeError,"null reference");
26730 SWIG_fail;
26731 }
26732 {
26733 PyThreadState* __tstate = wxPyBeginAllowThreads();
26734 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26735
26736 wxPyEndAllowThreads(__tstate);
26737 if (PyErr_Occurred()) SWIG_fail;
26738 }
26739 resultobj = result;
26740 return resultobj;
26741 fail:
26742 return NULL;
26743}
26744
26745
26746static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26747 PyObject *resultobj;
26748 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26749 wxTreeItemId *arg2 = 0 ;
26750 void *arg3 = (void *) 0 ;
26751 PyObject *result;
26752 PyObject * obj0 = 0 ;
26753 PyObject * obj1 = 0 ;
26754 PyObject * obj2 = 0 ;
26755 char *kwnames[] = {
26756 (char *) "self",(char *) "item",(char *) "cookie", NULL
26757 };
26758
26759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26762 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26763 SWIG_POINTER_EXCEPTION | 0)) == -1)
26764 SWIG_fail;
26765 if (arg2 == NULL) {
26766 PyErr_SetString(PyExc_TypeError,"null reference");
26767 SWIG_fail;
26768 }
26769 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26770 {
26771 PyThreadState* __tstate = wxPyBeginAllowThreads();
26772 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
26773
26774 wxPyEndAllowThreads(__tstate);
26775 if (PyErr_Occurred()) SWIG_fail;
26776 }
26777 resultobj = result;
26778 return resultobj;
26779 fail:
26780 return NULL;
26781}
26782
26783
26784static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26785 PyObject *resultobj;
26786 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26787 wxTreeItemId *arg2 = 0 ;
26788 wxTreeItemId result;
26789 PyObject * obj0 = 0 ;
26790 PyObject * obj1 = 0 ;
26791 char *kwnames[] = {
26792 (char *) "self",(char *) "item", NULL
26793 };
26794
26795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
26796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26799 SWIG_POINTER_EXCEPTION | 0)) == -1)
26800 SWIG_fail;
26801 if (arg2 == NULL) {
26802 PyErr_SetString(PyExc_TypeError,"null reference");
26803 SWIG_fail;
26804 }
26805 {
26806 PyThreadState* __tstate = wxPyBeginAllowThreads();
26807 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
26808
26809 wxPyEndAllowThreads(__tstate);
26810 if (PyErr_Occurred()) SWIG_fail;
26811 }
26812 {
26813 wxTreeItemId * resultptr;
26814 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26815 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26816 }
26817 return resultobj;
26818 fail:
26819 return NULL;
26820}
26821
26822
26823static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26824 PyObject *resultobj;
26825 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26826 wxTreeItemId *arg2 = 0 ;
26827 wxTreeItemId result;
26828 PyObject * obj0 = 0 ;
26829 PyObject * obj1 = 0 ;
26830 char *kwnames[] = {
26831 (char *) "self",(char *) "item", NULL
26832 };
26833
26834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
26835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26837 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26838 SWIG_POINTER_EXCEPTION | 0)) == -1)
26839 SWIG_fail;
26840 if (arg2 == NULL) {
26841 PyErr_SetString(PyExc_TypeError,"null reference");
26842 SWIG_fail;
26843 }
26844 {
26845 PyThreadState* __tstate = wxPyBeginAllowThreads();
26846 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
26847
26848 wxPyEndAllowThreads(__tstate);
26849 if (PyErr_Occurred()) SWIG_fail;
26850 }
26851 {
26852 wxTreeItemId * resultptr;
26853 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26854 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26855 }
26856 return resultobj;
26857 fail:
26858 return NULL;
26859}
26860
26861
26862static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26863 PyObject *resultobj;
26864 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26865 wxTreeItemId *arg2 = 0 ;
26866 wxTreeItemId result;
26867 PyObject * obj0 = 0 ;
26868 PyObject * obj1 = 0 ;
26869 char *kwnames[] = {
26870 (char *) "self",(char *) "item", NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
26874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26876 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26877 SWIG_POINTER_EXCEPTION | 0)) == -1)
26878 SWIG_fail;
26879 if (arg2 == NULL) {
26880 PyErr_SetString(PyExc_TypeError,"null reference");
26881 SWIG_fail;
26882 }
26883 {
26884 PyThreadState* __tstate = wxPyBeginAllowThreads();
26885 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
26886
26887 wxPyEndAllowThreads(__tstate);
26888 if (PyErr_Occurred()) SWIG_fail;
26889 }
26890 {
26891 wxTreeItemId * resultptr;
26892 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26893 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26894 }
26895 return resultobj;
26896 fail:
26897 return NULL;
26898}
26899
26900
26901static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26902 PyObject *resultobj;
26903 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26904 wxTreeItemId result;
26905 PyObject * obj0 = 0 ;
26906 char *kwnames[] = {
26907 (char *) "self", NULL
26908 };
26909
26910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
26911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26913 {
26914 PyThreadState* __tstate = wxPyBeginAllowThreads();
26915 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
26916
26917 wxPyEndAllowThreads(__tstate);
26918 if (PyErr_Occurred()) SWIG_fail;
26919 }
26920 {
26921 wxTreeItemId * resultptr;
26922 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26923 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26924 }
26925 return resultobj;
26926 fail:
26927 return NULL;
26928}
26929
26930
26931static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26932 PyObject *resultobj;
26933 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26934 wxTreeItemId *arg2 = 0 ;
26935 wxTreeItemId result;
26936 PyObject * obj0 = 0 ;
26937 PyObject * obj1 = 0 ;
26938 char *kwnames[] = {
26939 (char *) "self",(char *) "item", NULL
26940 };
26941
26942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
26943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26946 SWIG_POINTER_EXCEPTION | 0)) == -1)
26947 SWIG_fail;
26948 if (arg2 == NULL) {
26949 PyErr_SetString(PyExc_TypeError,"null reference");
26950 SWIG_fail;
26951 }
26952 {
26953 PyThreadState* __tstate = wxPyBeginAllowThreads();
26954 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
26955
26956 wxPyEndAllowThreads(__tstate);
26957 if (PyErr_Occurred()) SWIG_fail;
26958 }
26959 {
26960 wxTreeItemId * resultptr;
26961 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26962 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26963 }
26964 return resultobj;
26965 fail:
26966 return NULL;
26967}
26968
26969
26970static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26971 PyObject *resultobj;
26972 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26973 wxTreeItemId *arg2 = 0 ;
26974 wxTreeItemId result;
26975 PyObject * obj0 = 0 ;
26976 PyObject * obj1 = 0 ;
26977 char *kwnames[] = {
26978 (char *) "self",(char *) "item", NULL
26979 };
26980
26981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
26982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26984 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26985 SWIG_POINTER_EXCEPTION | 0)) == -1)
26986 SWIG_fail;
26987 if (arg2 == NULL) {
26988 PyErr_SetString(PyExc_TypeError,"null reference");
26989 SWIG_fail;
26990 }
26991 {
26992 PyThreadState* __tstate = wxPyBeginAllowThreads();
26993 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
26994
26995 wxPyEndAllowThreads(__tstate);
26996 if (PyErr_Occurred()) SWIG_fail;
26997 }
26998 {
26999 wxTreeItemId * resultptr;
27000 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27002 }
27003 return resultobj;
27004 fail:
27005 return NULL;
27006}
27007
27008
27009static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
27010 PyObject *resultobj;
27011 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27012 wxString *arg2 = 0 ;
27013 int arg3 = (int) -1 ;
27014 int arg4 = (int) -1 ;
27015 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
27016 wxTreeItemId result;
27017 bool temp2 = False ;
27018 PyObject * obj0 = 0 ;
27019 PyObject * obj1 = 0 ;
27020 PyObject * obj2 = 0 ;
27021 PyObject * obj3 = 0 ;
27022 PyObject * obj4 = 0 ;
27023 char *kwnames[] = {
27024 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27025 };
27026
27027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27030 {
27031 arg2 = wxString_in_helper(obj1);
27032 if (arg2 == NULL) SWIG_fail;
27033 temp2 = True;
27034 }
27035 if (obj2) {
27036 arg3 = (int) SWIG_AsInt(obj2);
27037 if (PyErr_Occurred()) SWIG_fail;
27038 }
27039 if (obj3) {
27040 arg4 = (int) SWIG_AsInt(obj3);
27041 if (PyErr_Occurred()) SWIG_fail;
27042 }
27043 if (obj4) {
27044 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
27045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27046 }
27047 {
27048 PyThreadState* __tstate = wxPyBeginAllowThreads();
27049 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
27050
27051 wxPyEndAllowThreads(__tstate);
27052 if (PyErr_Occurred()) SWIG_fail;
27053 }
27054 {
27055 wxTreeItemId * resultptr;
27056 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27057 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27058 }
27059 {
27060 if (temp2)
27061 delete arg2;
27062 }
27063 return resultobj;
27064 fail:
27065 {
27066 if (temp2)
27067 delete arg2;
27068 }
27069 return NULL;
27070}
27071
27072
27073static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27074 PyObject *resultobj;
27075 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27076 wxTreeItemId *arg2 = 0 ;
27077 wxString *arg3 = 0 ;
27078 int arg4 = (int) -1 ;
27079 int arg5 = (int) -1 ;
27080 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27081 wxTreeItemId result;
27082 bool temp3 = False ;
27083 PyObject * obj0 = 0 ;
27084 PyObject * obj1 = 0 ;
27085 PyObject * obj2 = 0 ;
27086 PyObject * obj3 = 0 ;
27087 PyObject * obj4 = 0 ;
27088 PyObject * obj5 = 0 ;
27089 char *kwnames[] = {
27090 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27091 };
27092
27093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27096 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27097 SWIG_POINTER_EXCEPTION | 0)) == -1)
27098 SWIG_fail;
27099 if (arg2 == NULL) {
27100 PyErr_SetString(PyExc_TypeError,"null reference");
27101 SWIG_fail;
27102 }
27103 {
27104 arg3 = wxString_in_helper(obj2);
27105 if (arg3 == NULL) SWIG_fail;
27106 temp3 = True;
27107 }
27108 if (obj3) {
27109 arg4 = (int) SWIG_AsInt(obj3);
27110 if (PyErr_Occurred()) SWIG_fail;
27111 }
27112 if (obj4) {
27113 arg5 = (int) SWIG_AsInt(obj4);
27114 if (PyErr_Occurred()) SWIG_fail;
27115 }
27116 if (obj5) {
27117 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27119 }
27120 {
27121 PyThreadState* __tstate = wxPyBeginAllowThreads();
27122 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27123
27124 wxPyEndAllowThreads(__tstate);
27125 if (PyErr_Occurred()) SWIG_fail;
27126 }
27127 {
27128 wxTreeItemId * resultptr;
27129 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27130 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27131 }
27132 {
27133 if (temp3)
27134 delete arg3;
27135 }
27136 return resultobj;
27137 fail:
27138 {
27139 if (temp3)
27140 delete arg3;
27141 }
27142 return NULL;
27143}
27144
27145
27146static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27147 PyObject *resultobj;
27148 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27149 wxTreeItemId *arg2 = 0 ;
27150 wxTreeItemId *arg3 = 0 ;
27151 wxString *arg4 = 0 ;
27152 int arg5 = (int) -1 ;
27153 int arg6 = (int) -1 ;
27154 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27155 wxTreeItemId result;
27156 bool temp4 = False ;
27157 PyObject * obj0 = 0 ;
27158 PyObject * obj1 = 0 ;
27159 PyObject * obj2 = 0 ;
27160 PyObject * obj3 = 0 ;
27161 PyObject * obj4 = 0 ;
27162 PyObject * obj5 = 0 ;
27163 PyObject * obj6 = 0 ;
27164 char *kwnames[] = {
27165 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27166 };
27167
27168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27171 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27172 SWIG_POINTER_EXCEPTION | 0)) == -1)
27173 SWIG_fail;
27174 if (arg2 == NULL) {
27175 PyErr_SetString(PyExc_TypeError,"null reference");
27176 SWIG_fail;
27177 }
27178 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
27179 SWIG_POINTER_EXCEPTION | 0)) == -1)
27180 SWIG_fail;
27181 if (arg3 == NULL) {
27182 PyErr_SetString(PyExc_TypeError,"null reference");
27183 SWIG_fail;
27184 }
27185 {
27186 arg4 = wxString_in_helper(obj3);
27187 if (arg4 == NULL) SWIG_fail;
27188 temp4 = True;
27189 }
27190 if (obj4) {
27191 arg5 = (int) SWIG_AsInt(obj4);
27192 if (PyErr_Occurred()) SWIG_fail;
27193 }
27194 if (obj5) {
27195 arg6 = (int) SWIG_AsInt(obj5);
27196 if (PyErr_Occurred()) SWIG_fail;
27197 }
27198 if (obj6) {
27199 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27201 }
27202 {
27203 PyThreadState* __tstate = wxPyBeginAllowThreads();
27204 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27205
27206 wxPyEndAllowThreads(__tstate);
27207 if (PyErr_Occurred()) SWIG_fail;
27208 }
27209 {
27210 wxTreeItemId * resultptr;
27211 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27212 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27213 }
27214 {
27215 if (temp4)
27216 delete arg4;
27217 }
27218 return resultobj;
27219 fail:
27220 {
27221 if (temp4)
27222 delete arg4;
27223 }
27224 return NULL;
27225}
27226
27227
27228static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
27229 PyObject *resultobj;
27230 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27231 wxTreeItemId *arg2 = 0 ;
27232 size_t arg3 ;
27233 wxString *arg4 = 0 ;
27234 int arg5 = (int) -1 ;
27235 int arg6 = (int) -1 ;
27236 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
27237 wxTreeItemId result;
27238 bool temp4 = False ;
27239 PyObject * obj0 = 0 ;
27240 PyObject * obj1 = 0 ;
27241 PyObject * obj2 = 0 ;
27242 PyObject * obj3 = 0 ;
27243 PyObject * obj4 = 0 ;
27244 PyObject * obj5 = 0 ;
27245 PyObject * obj6 = 0 ;
27246 char *kwnames[] = {
27247 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27248 };
27249
27250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27254 SWIG_POINTER_EXCEPTION | 0)) == -1)
27255 SWIG_fail;
27256 if (arg2 == NULL) {
27257 PyErr_SetString(PyExc_TypeError,"null reference");
27258 SWIG_fail;
27259 }
27260 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
27261 if (PyErr_Occurred()) SWIG_fail;
27262 {
27263 arg4 = wxString_in_helper(obj3);
27264 if (arg4 == NULL) SWIG_fail;
27265 temp4 = True;
27266 }
27267 if (obj4) {
27268 arg5 = (int) SWIG_AsInt(obj4);
27269 if (PyErr_Occurred()) SWIG_fail;
27270 }
27271 if (obj5) {
27272 arg6 = (int) SWIG_AsInt(obj5);
27273 if (PyErr_Occurred()) SWIG_fail;
27274 }
27275 if (obj6) {
27276 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27278 }
27279 {
27280 PyThreadState* __tstate = wxPyBeginAllowThreads();
27281 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27282
27283 wxPyEndAllowThreads(__tstate);
27284 if (PyErr_Occurred()) SWIG_fail;
27285 }
27286 {
27287 wxTreeItemId * resultptr;
27288 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27289 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27290 }
27291 {
27292 if (temp4)
27293 delete arg4;
27294 }
27295 return resultobj;
27296 fail:
27297 {
27298 if (temp4)
27299 delete arg4;
27300 }
27301 return NULL;
27302}
27303
27304
27305static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27306 PyObject *resultobj;
27307 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27308 wxTreeItemId *arg2 = 0 ;
27309 wxString *arg3 = 0 ;
27310 int arg4 = (int) -1 ;
27311 int arg5 = (int) -1 ;
27312 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27313 wxTreeItemId result;
27314 bool temp3 = False ;
27315 PyObject * obj0 = 0 ;
27316 PyObject * obj1 = 0 ;
27317 PyObject * obj2 = 0 ;
27318 PyObject * obj3 = 0 ;
27319 PyObject * obj4 = 0 ;
27320 PyObject * obj5 = 0 ;
27321 char *kwnames[] = {
27322 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27323 };
27324
27325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27328 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27329 SWIG_POINTER_EXCEPTION | 0)) == -1)
27330 SWIG_fail;
27331 if (arg2 == NULL) {
27332 PyErr_SetString(PyExc_TypeError,"null reference");
27333 SWIG_fail;
27334 }
27335 {
27336 arg3 = wxString_in_helper(obj2);
27337 if (arg3 == NULL) SWIG_fail;
27338 temp3 = True;
27339 }
27340 if (obj3) {
27341 arg4 = (int) SWIG_AsInt(obj3);
27342 if (PyErr_Occurred()) SWIG_fail;
27343 }
27344 if (obj4) {
27345 arg5 = (int) SWIG_AsInt(obj4);
27346 if (PyErr_Occurred()) SWIG_fail;
27347 }
27348 if (obj5) {
27349 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27351 }
27352 {
27353 PyThreadState* __tstate = wxPyBeginAllowThreads();
27354 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27355
27356 wxPyEndAllowThreads(__tstate);
27357 if (PyErr_Occurred()) SWIG_fail;
27358 }
27359 {
27360 wxTreeItemId * resultptr;
27361 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27362 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27363 }
27364 {
27365 if (temp3)
27366 delete arg3;
27367 }
27368 return resultobj;
27369 fail:
27370 {
27371 if (temp3)
27372 delete arg3;
27373 }
27374 return NULL;
27375}
27376
27377
27378static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
27379 PyObject *resultobj;
27380 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27381 wxTreeItemId *arg2 = 0 ;
27382 PyObject * obj0 = 0 ;
27383 PyObject * obj1 = 0 ;
27384 char *kwnames[] = {
27385 (char *) "self",(char *) "item", NULL
27386 };
27387
27388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
27389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27391 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27392 SWIG_POINTER_EXCEPTION | 0)) == -1)
27393 SWIG_fail;
27394 if (arg2 == NULL) {
27395 PyErr_SetString(PyExc_TypeError,"null reference");
27396 SWIG_fail;
27397 }
27398 {
27399 PyThreadState* __tstate = wxPyBeginAllowThreads();
27400 (arg1)->Delete((wxTreeItemId const &)*arg2);
27401
27402 wxPyEndAllowThreads(__tstate);
27403 if (PyErr_Occurred()) SWIG_fail;
27404 }
27405 Py_INCREF(Py_None); resultobj = Py_None;
27406 return resultobj;
27407 fail:
27408 return NULL;
27409}
27410
27411
27412static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27413 PyObject *resultobj;
27414 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27415 wxTreeItemId *arg2 = 0 ;
27416 PyObject * obj0 = 0 ;
27417 PyObject * obj1 = 0 ;
27418 char *kwnames[] = {
27419 (char *) "self",(char *) "item", NULL
27420 };
27421
27422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
27423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27426 SWIG_POINTER_EXCEPTION | 0)) == -1)
27427 SWIG_fail;
27428 if (arg2 == NULL) {
27429 PyErr_SetString(PyExc_TypeError,"null reference");
27430 SWIG_fail;
27431 }
27432 {
27433 PyThreadState* __tstate = wxPyBeginAllowThreads();
27434 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27435
27436 wxPyEndAllowThreads(__tstate);
27437 if (PyErr_Occurred()) SWIG_fail;
27438 }
27439 Py_INCREF(Py_None); resultobj = Py_None;
27440 return resultobj;
27441 fail:
27442 return NULL;
27443}
27444
27445
27446static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
27447 PyObject *resultobj;
27448 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27449 PyObject * obj0 = 0 ;
27450 char *kwnames[] = {
27451 (char *) "self", NULL
27452 };
27453
27454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27457 {
27458 PyThreadState* __tstate = wxPyBeginAllowThreads();
27459 (arg1)->DeleteAllItems();
27460
27461 wxPyEndAllowThreads(__tstate);
27462 if (PyErr_Occurred()) SWIG_fail;
27463 }
27464 Py_INCREF(Py_None); resultobj = Py_None;
27465 return resultobj;
27466 fail:
27467 return NULL;
27468}
27469
27470
27471static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
27472 PyObject *resultobj;
27473 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27474 wxTreeItemId *arg2 = 0 ;
27475 PyObject * obj0 = 0 ;
27476 PyObject * obj1 = 0 ;
27477 char *kwnames[] = {
27478 (char *) "self",(char *) "item", NULL
27479 };
27480
27481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27485 SWIG_POINTER_EXCEPTION | 0)) == -1)
27486 SWIG_fail;
27487 if (arg2 == NULL) {
27488 PyErr_SetString(PyExc_TypeError,"null reference");
27489 SWIG_fail;
27490 }
27491 {
27492 PyThreadState* __tstate = wxPyBeginAllowThreads();
27493 (arg1)->Expand((wxTreeItemId const &)*arg2);
27494
27495 wxPyEndAllowThreads(__tstate);
27496 if (PyErr_Occurred()) SWIG_fail;
27497 }
27498 Py_INCREF(Py_None); resultobj = Py_None;
27499 return resultobj;
27500 fail:
27501 return NULL;
27502}
27503
27504
27505static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
27506 PyObject *resultobj;
27507 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27508 wxTreeItemId *arg2 = 0 ;
27509 PyObject * obj0 = 0 ;
27510 PyObject * obj1 = 0 ;
27511 char *kwnames[] = {
27512 (char *) "self",(char *) "item", NULL
27513 };
27514
27515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
27516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27519 SWIG_POINTER_EXCEPTION | 0)) == -1)
27520 SWIG_fail;
27521 if (arg2 == NULL) {
27522 PyErr_SetString(PyExc_TypeError,"null reference");
27523 SWIG_fail;
27524 }
27525 {
27526 PyThreadState* __tstate = wxPyBeginAllowThreads();
27527 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27528
27529 wxPyEndAllowThreads(__tstate);
27530 if (PyErr_Occurred()) SWIG_fail;
27531 }
27532 Py_INCREF(Py_None); resultobj = Py_None;
27533 return resultobj;
27534 fail:
27535 return NULL;
27536}
27537
27538
27539static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
27540 PyObject *resultobj;
27541 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27542 wxTreeItemId *arg2 = 0 ;
27543 PyObject * obj0 = 0 ;
27544 PyObject * obj1 = 0 ;
27545 char *kwnames[] = {
27546 (char *) "self",(char *) "item", NULL
27547 };
27548
27549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27552 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27553 SWIG_POINTER_EXCEPTION | 0)) == -1)
27554 SWIG_fail;
27555 if (arg2 == NULL) {
27556 PyErr_SetString(PyExc_TypeError,"null reference");
27557 SWIG_fail;
27558 }
27559 {
27560 PyThreadState* __tstate = wxPyBeginAllowThreads();
27561 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27562
27563 wxPyEndAllowThreads(__tstate);
27564 if (PyErr_Occurred()) SWIG_fail;
27565 }
27566 Py_INCREF(Py_None); resultobj = Py_None;
27567 return resultobj;
27568 fail:
27569 return NULL;
27570}
27571
27572
27573static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27574 PyObject *resultobj;
27575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27576 wxTreeItemId *arg2 = 0 ;
27577 PyObject * obj0 = 0 ;
27578 PyObject * obj1 = 0 ;
27579 char *kwnames[] = {
27580 (char *) "self",(char *) "item", NULL
27581 };
27582
27583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27586 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27587 SWIG_POINTER_EXCEPTION | 0)) == -1)
27588 SWIG_fail;
27589 if (arg2 == NULL) {
27590 PyErr_SetString(PyExc_TypeError,"null reference");
27591 SWIG_fail;
27592 }
27593 {
27594 PyThreadState* __tstate = wxPyBeginAllowThreads();
27595 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27596
27597 wxPyEndAllowThreads(__tstate);
27598 if (PyErr_Occurred()) SWIG_fail;
27599 }
27600 Py_INCREF(Py_None); resultobj = Py_None;
27601 return resultobj;
27602 fail:
27603 return NULL;
27604}
27605
27606
27607static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
27608 PyObject *resultobj;
27609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27610 PyObject * obj0 = 0 ;
27611 char *kwnames[] = {
27612 (char *) "self", NULL
27613 };
27614
27615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
27616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27618 {
27619 PyThreadState* __tstate = wxPyBeginAllowThreads();
27620 (arg1)->Unselect();
27621
27622 wxPyEndAllowThreads(__tstate);
27623 if (PyErr_Occurred()) SWIG_fail;
27624 }
27625 Py_INCREF(Py_None); resultobj = Py_None;
27626 return resultobj;
27627 fail:
27628 return NULL;
27629}
27630
27631
27632static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27633 PyObject *resultobj;
27634 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27635 wxTreeItemId *arg2 = 0 ;
27636 PyObject * obj0 = 0 ;
27637 PyObject * obj1 = 0 ;
27638 char *kwnames[] = {
27639 (char *) "self",(char *) "item", NULL
27640 };
27641
27642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
27643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27645 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27646 SWIG_POINTER_EXCEPTION | 0)) == -1)
27647 SWIG_fail;
27648 if (arg2 == NULL) {
27649 PyErr_SetString(PyExc_TypeError,"null reference");
27650 SWIG_fail;
27651 }
27652 {
27653 PyThreadState* __tstate = wxPyBeginAllowThreads();
27654 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27655
27656 wxPyEndAllowThreads(__tstate);
27657 if (PyErr_Occurred()) SWIG_fail;
27658 }
27659 Py_INCREF(Py_None); resultobj = Py_None;
27660 return resultobj;
27661 fail:
27662 return NULL;
27663}
27664
27665
27666static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
27667 PyObject *resultobj;
27668 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27669 PyObject * obj0 = 0 ;
27670 char *kwnames[] = {
27671 (char *) "self", NULL
27672 };
27673
27674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
27675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27677 {
27678 PyThreadState* __tstate = wxPyBeginAllowThreads();
27679 (arg1)->UnselectAll();
27680
27681 wxPyEndAllowThreads(__tstate);
27682 if (PyErr_Occurred()) SWIG_fail;
27683 }
27684 Py_INCREF(Py_None); resultobj = Py_None;
27685 return resultobj;
27686 fail:
27687 return NULL;
27688}
27689
27690
27691static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27692 PyObject *resultobj;
27693 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27694 wxTreeItemId *arg2 = 0 ;
27695 bool arg3 = (bool) True ;
27696 PyObject * obj0 = 0 ;
27697 PyObject * obj1 = 0 ;
27698 PyObject * obj2 = 0 ;
27699 char *kwnames[] = {
27700 (char *) "self",(char *) "item",(char *) "select", NULL
27701 };
27702
27703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27707 SWIG_POINTER_EXCEPTION | 0)) == -1)
27708 SWIG_fail;
27709 if (arg2 == NULL) {
27710 PyErr_SetString(PyExc_TypeError,"null reference");
27711 SWIG_fail;
27712 }
27713 if (obj2) {
27714 arg3 = (bool) SWIG_AsBool(obj2);
27715 if (PyErr_Occurred()) SWIG_fail;
27716 }
27717 {
27718 PyThreadState* __tstate = wxPyBeginAllowThreads();
27719 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27720
27721 wxPyEndAllowThreads(__tstate);
27722 if (PyErr_Occurred()) SWIG_fail;
27723 }
27724 Py_INCREF(Py_None); resultobj = Py_None;
27725 return resultobj;
27726 fail:
27727 return NULL;
27728}
27729
27730
27731static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27732 PyObject *resultobj;
27733 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27734 wxTreeItemId *arg2 = 0 ;
27735 PyObject * obj0 = 0 ;
27736 PyObject * obj1 = 0 ;
27737 char *kwnames[] = {
27738 (char *) "self",(char *) "item", NULL
27739 };
27740
27741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
27742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27744 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27745 SWIG_POINTER_EXCEPTION | 0)) == -1)
27746 SWIG_fail;
27747 if (arg2 == NULL) {
27748 PyErr_SetString(PyExc_TypeError,"null reference");
27749 SWIG_fail;
27750 }
27751 {
27752 PyThreadState* __tstate = wxPyBeginAllowThreads();
27753 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
27754
27755 wxPyEndAllowThreads(__tstate);
27756 if (PyErr_Occurred()) SWIG_fail;
27757 }
27758 Py_INCREF(Py_None); resultobj = Py_None;
27759 return resultobj;
27760 fail:
27761 return NULL;
27762}
27763
27764
27765static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
27766 PyObject *resultobj;
27767 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27768 wxTreeItemId *arg2 = 0 ;
27769 PyObject * obj0 = 0 ;
27770 PyObject * obj1 = 0 ;
27771 char *kwnames[] = {
27772 (char *) "self",(char *) "item", NULL
27773 };
27774
27775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
27776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27779 SWIG_POINTER_EXCEPTION | 0)) == -1)
27780 SWIG_fail;
27781 if (arg2 == NULL) {
27782 PyErr_SetString(PyExc_TypeError,"null reference");
27783 SWIG_fail;
27784 }
27785 {
27786 PyThreadState* __tstate = wxPyBeginAllowThreads();
27787 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
27788
27789 wxPyEndAllowThreads(__tstate);
27790 if (PyErr_Occurred()) SWIG_fail;
27791 }
27792 Py_INCREF(Py_None); resultobj = Py_None;
27793 return resultobj;
27794 fail:
27795 return NULL;
27796}
27797
27798
27799static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27800 PyObject *resultobj;
27801 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27802 wxTreeItemId *arg2 = 0 ;
27803 PyObject * obj0 = 0 ;
27804 PyObject * obj1 = 0 ;
27805 char *kwnames[] = {
27806 (char *) "self",(char *) "item", NULL
27807 };
27808
27809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
27810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27812 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27813 SWIG_POINTER_EXCEPTION | 0)) == -1)
27814 SWIG_fail;
27815 if (arg2 == NULL) {
27816 PyErr_SetString(PyExc_TypeError,"null reference");
27817 SWIG_fail;
27818 }
27819 {
27820 PyThreadState* __tstate = wxPyBeginAllowThreads();
27821 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
27822
27823 wxPyEndAllowThreads(__tstate);
27824 if (PyErr_Occurred()) SWIG_fail;
27825 }
27826 Py_INCREF(Py_None); resultobj = Py_None;
27827 return resultobj;
27828 fail:
27829 return NULL;
27830}
27831
27832
27833static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27834 PyObject *resultobj;
27835 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27836 wxTreeItemId *arg2 = 0 ;
27837 PyObject * obj0 = 0 ;
27838 PyObject * obj1 = 0 ;
27839 char *kwnames[] = {
27840 (char *) "self",(char *) "item", NULL
27841 };
27842
27843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
27844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27846 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27847 SWIG_POINTER_EXCEPTION | 0)) == -1)
27848 SWIG_fail;
27849 if (arg2 == NULL) {
27850 PyErr_SetString(PyExc_TypeError,"null reference");
27851 SWIG_fail;
27852 }
27853 {
27854 PyThreadState* __tstate = wxPyBeginAllowThreads();
27855 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
27856
27857 wxPyEndAllowThreads(__tstate);
27858 if (PyErr_Occurred()) SWIG_fail;
27859 }
27860 Py_INCREF(Py_None); resultobj = Py_None;
27861 return resultobj;
27862 fail:
27863 return NULL;
27864}
27865
27866
27867static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27868 PyObject *resultobj;
27869 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27870 wxTextCtrl *result;
27871 PyObject * obj0 = 0 ;
27872 char *kwnames[] = {
27873 (char *) "self", NULL
27874 };
27875
27876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
27877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27879 {
27880 PyThreadState* __tstate = wxPyBeginAllowThreads();
27881 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
27882
27883 wxPyEndAllowThreads(__tstate);
27884 if (PyErr_Occurred()) SWIG_fail;
27885 }
27886 {
27887 resultobj = wxPyMake_wxObject(result);
27888 }
27889 return resultobj;
27890 fail:
27891 return NULL;
27892}
27893
27894
27895static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27896 PyObject *resultobj;
27897 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27898 wxTreeItemId *arg2 = 0 ;
27899 bool arg3 = (bool) False ;
27900 PyObject * obj0 = 0 ;
27901 PyObject * obj1 = 0 ;
27902 PyObject * obj2 = 0 ;
27903 char *kwnames[] = {
27904 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27905 };
27906
27907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
27908 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27910 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27911 SWIG_POINTER_EXCEPTION | 0)) == -1)
27912 SWIG_fail;
27913 if (arg2 == NULL) {
27914 PyErr_SetString(PyExc_TypeError,"null reference");
27915 SWIG_fail;
27916 }
27917 if (obj2) {
27918 arg3 = (bool) SWIG_AsBool(obj2);
27919 if (PyErr_Occurred()) SWIG_fail;
27920 }
27921 {
27922 PyThreadState* __tstate = wxPyBeginAllowThreads();
27923 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
27924
27925 wxPyEndAllowThreads(__tstate);
27926 if (PyErr_Occurred()) SWIG_fail;
27927 }
27928 Py_INCREF(Py_None); resultobj = Py_None;
27929 return resultobj;
27930 fail:
27931 return NULL;
27932}
27933
27934
27935static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27936 PyObject *resultobj;
27937 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27938 wxTreeItemId *arg2 = 0 ;
27939 PyObject * obj0 = 0 ;
27940 PyObject * obj1 = 0 ;
27941 char *kwnames[] = {
27942 (char *) "self",(char *) "item", NULL
27943 };
27944
27945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
27946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27948 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27949 SWIG_POINTER_EXCEPTION | 0)) == -1)
27950 SWIG_fail;
27951 if (arg2 == NULL) {
27952 PyErr_SetString(PyExc_TypeError,"null reference");
27953 SWIG_fail;
27954 }
27955 {
27956 PyThreadState* __tstate = wxPyBeginAllowThreads();
27957 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
27958
27959 wxPyEndAllowThreads(__tstate);
27960 if (PyErr_Occurred()) SWIG_fail;
27961 }
27962 Py_INCREF(Py_None); resultobj = Py_None;
27963 return resultobj;
27964 fail:
27965 return NULL;
27966}
27967
27968
27969static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
27970 PyObject *resultobj;
27971 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27972 wxPoint *arg2 = 0 ;
27973 int *arg3 = 0 ;
27974 wxTreeItemId result;
27975 wxPoint temp2 ;
27976 int temp3 ;
27977 PyObject * obj0 = 0 ;
27978 PyObject * obj1 = 0 ;
27979 char *kwnames[] = {
27980 (char *) "self",(char *) "point", NULL
27981 };
27982
27983 arg3 = &temp3;
27984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
27985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27987 {
27988 arg2 = &temp2;
27989 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27990 }
27991 {
27992 PyThreadState* __tstate = wxPyBeginAllowThreads();
27993 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27994
27995 wxPyEndAllowThreads(__tstate);
27996 if (PyErr_Occurred()) SWIG_fail;
27997 }
27998 {
27999 wxTreeItemId * resultptr;
28000 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28002 }
28003 {
28004 PyObject *o = PyInt_FromLong((long) (*arg3));
28005 resultobj = t_output_helper(resultobj,o);
28006 }
28007 return resultobj;
28008 fail:
28009 return NULL;
28010}
28011
28012
28013static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
28014 PyObject *resultobj;
28015 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
28016 wxTreeItemId *arg2 = 0 ;
28017 bool arg3 = (bool) False ;
28018 PyObject *result;
28019 PyObject * obj0 = 0 ;
28020 PyObject * obj1 = 0 ;
28021 PyObject * obj2 = 0 ;
28022 char *kwnames[] = {
28023 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28024 };
28025
28026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
28027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
28028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28029 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
28030 SWIG_POINTER_EXCEPTION | 0)) == -1)
28031 SWIG_fail;
28032 if (arg2 == NULL) {
28033 PyErr_SetString(PyExc_TypeError,"null reference");
28034 SWIG_fail;
28035 }
28036 if (obj2) {
28037 arg3 = (bool) SWIG_AsBool(obj2);
28038 if (PyErr_Occurred()) SWIG_fail;
28039 }
28040 {
28041 PyThreadState* __tstate = wxPyBeginAllowThreads();
28042 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
28043
28044 wxPyEndAllowThreads(__tstate);
28045 if (PyErr_Occurred()) SWIG_fail;
28046 }
28047 resultobj = result;
28048 return resultobj;
28049 fail:
28050 return NULL;
28051}
28052
28053
28054static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
28055 PyObject *resultobj;
28056 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
28057 wxVisualAttributes result;
28058 PyObject * obj0 = 0 ;
28059 char *kwnames[] = {
28060 (char *) "variant", NULL
28061 };
28062
28063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
28064 if (obj0) {
28065 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
28066 if (PyErr_Occurred()) SWIG_fail;
28067 }
28068 {
0439c23b 28069 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28070 PyThreadState* __tstate = wxPyBeginAllowThreads();
28071 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
28072
28073 wxPyEndAllowThreads(__tstate);
0439c23b 28074 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28075 }
28076 {
28077 wxVisualAttributes * resultptr;
28078 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
28079 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
28080 }
28081 return resultobj;
28082 fail:
28083 return NULL;
28084}
28085
28086
28087static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
28088 PyObject *obj;
28089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28090 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
28091 Py_INCREF(obj);
28092 return Py_BuildValue((char *)"");
28093}
28094static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
28095 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
28096 return 1;
28097}
28098
28099
28100static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
28101 PyObject *pyobj;
28102
28103 {
28104#if wxUSE_UNICODE
28105 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28106#else
28107 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
28108#endif
28109 }
28110 return pyobj;
28111}
28112
28113
28114static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28115 PyObject *resultobj;
28116 wxWindow *arg1 = (wxWindow *) 0 ;
28117 int arg2 = (int) (int)-1 ;
28118 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
28119 wxString *arg3 = (wxString *) &arg3_defvalue ;
28120 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28121 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28122 wxSize const &arg5_defvalue = wxDefaultSize ;
28123 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28124 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28125 wxString const &arg7_defvalue = wxPyEmptyString ;
28126 wxString *arg7 = (wxString *) &arg7_defvalue ;
28127 int arg8 = (int) 0 ;
28128 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
28129 wxString *arg9 = (wxString *) &arg9_defvalue ;
28130 wxGenericDirCtrl *result;
28131 bool temp3 = False ;
28132 wxPoint temp4 ;
28133 wxSize temp5 ;
28134 bool temp7 = False ;
28135 bool temp9 = False ;
28136 PyObject * obj0 = 0 ;
28137 PyObject * obj1 = 0 ;
28138 PyObject * obj2 = 0 ;
28139 PyObject * obj3 = 0 ;
28140 PyObject * obj4 = 0 ;
28141 PyObject * obj5 = 0 ;
28142 PyObject * obj6 = 0 ;
28143 PyObject * obj7 = 0 ;
28144 PyObject * obj8 = 0 ;
28145 char *kwnames[] = {
28146 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28147 };
28148
28149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
28150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28152 if (obj1) {
28153 arg2 = (int const) SWIG_AsInt(obj1);
28154 if (PyErr_Occurred()) SWIG_fail;
28155 }
28156 if (obj2) {
28157 {
28158 arg3 = wxString_in_helper(obj2);
28159 if (arg3 == NULL) SWIG_fail;
28160 temp3 = True;
28161 }
28162 }
28163 if (obj3) {
28164 {
28165 arg4 = &temp4;
28166 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28167 }
28168 }
28169 if (obj4) {
28170 {
28171 arg5 = &temp5;
28172 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28173 }
28174 }
28175 if (obj5) {
28176 arg6 = (long) SWIG_AsLong(obj5);
28177 if (PyErr_Occurred()) SWIG_fail;
28178 }
28179 if (obj6) {
28180 {
28181 arg7 = wxString_in_helper(obj6);
28182 if (arg7 == NULL) SWIG_fail;
28183 temp7 = True;
28184 }
28185 }
28186 if (obj7) {
28187 arg8 = (int) SWIG_AsInt(obj7);
28188 if (PyErr_Occurred()) SWIG_fail;
28189 }
28190 if (obj8) {
28191 {
28192 arg9 = wxString_in_helper(obj8);
28193 if (arg9 == NULL) SWIG_fail;
28194 temp9 = True;
28195 }
28196 }
28197 {
0439c23b 28198 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28199 PyThreadState* __tstate = wxPyBeginAllowThreads();
28200 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
28201
28202 wxPyEndAllowThreads(__tstate);
0439c23b 28203 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28204 }
28205 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28206 {
28207 if (temp3)
28208 delete arg3;
28209 }
28210 {
28211 if (temp7)
28212 delete arg7;
28213 }
28214 {
28215 if (temp9)
28216 delete arg9;
28217 }
28218 return resultobj;
28219 fail:
28220 {
28221 if (temp3)
28222 delete arg3;
28223 }
28224 {
28225 if (temp7)
28226 delete arg7;
28227 }
28228 {
28229 if (temp9)
28230 delete arg9;
28231 }
28232 return NULL;
28233}
28234
28235
28236static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28237 PyObject *resultobj;
28238 wxGenericDirCtrl *result;
28239 char *kwnames[] = {
28240 NULL
28241 };
28242
28243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
28244 {
0439c23b 28245 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
28246 PyThreadState* __tstate = wxPyBeginAllowThreads();
28247 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
28248
28249 wxPyEndAllowThreads(__tstate);
0439c23b 28250 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
28251 }
28252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28253 return resultobj;
28254 fail:
28255 return NULL;
28256}
28257
28258
28259static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28260 PyObject *resultobj;
28261 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28262 wxWindow *arg2 = (wxWindow *) 0 ;
28263 int arg3 = (int) (int)-1 ;
28264 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
28265 wxString *arg4 = (wxString *) &arg4_defvalue ;
28266 wxPoint const &arg5_defvalue = wxDefaultPosition ;
28267 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
28268 wxSize const &arg6_defvalue = wxDefaultSize ;
28269 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
28270 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28271 wxString const &arg8_defvalue = wxPyEmptyString ;
28272 wxString *arg8 = (wxString *) &arg8_defvalue ;
28273 int arg9 = (int) 0 ;
28274 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
28275 wxString *arg10 = (wxString *) &arg10_defvalue ;
28276 bool result;
28277 bool temp4 = False ;
28278 wxPoint temp5 ;
28279 wxSize temp6 ;
28280 bool temp8 = False ;
28281 bool temp10 = False ;
28282 PyObject * obj0 = 0 ;
28283 PyObject * obj1 = 0 ;
28284 PyObject * obj2 = 0 ;
28285 PyObject * obj3 = 0 ;
28286 PyObject * obj4 = 0 ;
28287 PyObject * obj5 = 0 ;
28288 PyObject * obj6 = 0 ;
28289 PyObject * obj7 = 0 ;
28290 PyObject * obj8 = 0 ;
28291 PyObject * obj9 = 0 ;
28292 char *kwnames[] = {
28293 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28294 };
28295
28296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
28297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28301 if (obj2) {
28302 arg3 = (int const) SWIG_AsInt(obj2);
28303 if (PyErr_Occurred()) SWIG_fail;
28304 }
28305 if (obj3) {
28306 {
28307 arg4 = wxString_in_helper(obj3);
28308 if (arg4 == NULL) SWIG_fail;
28309 temp4 = True;
28310 }
28311 }
28312 if (obj4) {
28313 {
28314 arg5 = &temp5;
28315 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28316 }
28317 }
28318 if (obj5) {
28319 {
28320 arg6 = &temp6;
28321 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28322 }
28323 }
28324 if (obj6) {
28325 arg7 = (long) SWIG_AsLong(obj6);
28326 if (PyErr_Occurred()) SWIG_fail;
28327 }
28328 if (obj7) {
28329 {
28330 arg8 = wxString_in_helper(obj7);
28331 if (arg8 == NULL) SWIG_fail;
28332 temp8 = True;
28333 }
28334 }
28335 if (obj8) {
28336 arg9 = (int) SWIG_AsInt(obj8);
28337 if (PyErr_Occurred()) SWIG_fail;
28338 }
28339 if (obj9) {
28340 {
28341 arg10 = wxString_in_helper(obj9);
28342 if (arg10 == NULL) SWIG_fail;
28343 temp10 = True;
28344 }
28345 }
28346 {
28347 PyThreadState* __tstate = wxPyBeginAllowThreads();
28348 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28349
28350 wxPyEndAllowThreads(__tstate);
28351 if (PyErr_Occurred()) SWIG_fail;
28352 }
28353 {
28354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28355 }
28356 {
28357 if (temp4)
28358 delete arg4;
28359 }
28360 {
28361 if (temp8)
28362 delete arg8;
28363 }
28364 {
28365 if (temp10)
28366 delete arg10;
28367 }
28368 return resultobj;
28369 fail:
28370 {
28371 if (temp4)
28372 delete arg4;
28373 }
28374 {
28375 if (temp8)
28376 delete arg8;
28377 }
28378 {
28379 if (temp10)
28380 delete arg10;
28381 }
28382 return NULL;
28383}
28384
28385
28386static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28387 PyObject *resultobj;
28388 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28389 wxString *arg2 = 0 ;
28390 bool result;
28391 bool temp2 = False ;
28392 PyObject * obj0 = 0 ;
28393 PyObject * obj1 = 0 ;
28394 char *kwnames[] = {
28395 (char *) "self",(char *) "path", NULL
28396 };
28397
28398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28401 {
28402 arg2 = wxString_in_helper(obj1);
28403 if (arg2 == NULL) SWIG_fail;
28404 temp2 = True;
28405 }
28406 {
28407 PyThreadState* __tstate = wxPyBeginAllowThreads();
28408 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28409
28410 wxPyEndAllowThreads(__tstate);
28411 if (PyErr_Occurred()) SWIG_fail;
28412 }
28413 {
28414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28415 }
28416 {
28417 if (temp2)
28418 delete arg2;
28419 }
28420 return resultobj;
28421 fail:
28422 {
28423 if (temp2)
28424 delete arg2;
28425 }
28426 return NULL;
28427}
28428
28429
28430static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28431 PyObject *resultobj;
28432 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28433 wxString result;
28434 PyObject * obj0 = 0 ;
28435 char *kwnames[] = {
28436 (char *) "self", NULL
28437 };
28438
28439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28442 {
28443 PyThreadState* __tstate = wxPyBeginAllowThreads();
28444 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28445
28446 wxPyEndAllowThreads(__tstate);
28447 if (PyErr_Occurred()) SWIG_fail;
28448 }
28449 {
28450#if wxUSE_UNICODE
28451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28452#else
28453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28454#endif
28455 }
28456 return resultobj;
28457 fail:
28458 return NULL;
28459}
28460
28461
28462static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28463 PyObject *resultobj;
28464 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28465 wxString *arg2 = 0 ;
28466 bool temp2 = False ;
28467 PyObject * obj0 = 0 ;
28468 PyObject * obj1 = 0 ;
28469 char *kwnames[] = {
28470 (char *) "self",(char *) "path", NULL
28471 };
28472
28473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28476 {
28477 arg2 = wxString_in_helper(obj1);
28478 if (arg2 == NULL) SWIG_fail;
28479 temp2 = True;
28480 }
28481 {
28482 PyThreadState* __tstate = wxPyBeginAllowThreads();
28483 (arg1)->SetDefaultPath((wxString const &)*arg2);
28484
28485 wxPyEndAllowThreads(__tstate);
28486 if (PyErr_Occurred()) SWIG_fail;
28487 }
28488 Py_INCREF(Py_None); resultobj = Py_None;
28489 {
28490 if (temp2)
28491 delete arg2;
28492 }
28493 return resultobj;
28494 fail:
28495 {
28496 if (temp2)
28497 delete arg2;
28498 }
28499 return NULL;
28500}
28501
28502
28503static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28504 PyObject *resultobj;
28505 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28506 wxString result;
28507 PyObject * obj0 = 0 ;
28508 char *kwnames[] = {
28509 (char *) "self", NULL
28510 };
28511
28512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28515 {
28516 PyThreadState* __tstate = wxPyBeginAllowThreads();
28517 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28518
28519 wxPyEndAllowThreads(__tstate);
28520 if (PyErr_Occurred()) SWIG_fail;
28521 }
28522 {
28523#if wxUSE_UNICODE
28524 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28525#else
28526 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28527#endif
28528 }
28529 return resultobj;
28530 fail:
28531 return NULL;
28532}
28533
28534
28535static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
28536 PyObject *resultobj;
28537 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28538 wxString result;
28539 PyObject * obj0 = 0 ;
28540 char *kwnames[] = {
28541 (char *) "self", NULL
28542 };
28543
28544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
28545 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28547 {
28548 PyThreadState* __tstate = wxPyBeginAllowThreads();
28549 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28550
28551 wxPyEndAllowThreads(__tstate);
28552 if (PyErr_Occurred()) SWIG_fail;
28553 }
28554 {
28555#if wxUSE_UNICODE
28556 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28557#else
28558 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28559#endif
28560 }
28561 return resultobj;
28562 fail:
28563 return NULL;
28564}
28565
28566
28567static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28568 PyObject *resultobj;
28569 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28570 wxString *arg2 = 0 ;
28571 bool temp2 = False ;
28572 PyObject * obj0 = 0 ;
28573 PyObject * obj1 = 0 ;
28574 char *kwnames[] = {
28575 (char *) "self",(char *) "path", NULL
28576 };
28577
28578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
28579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28581 {
28582 arg2 = wxString_in_helper(obj1);
28583 if (arg2 == NULL) SWIG_fail;
28584 temp2 = True;
28585 }
28586 {
28587 PyThreadState* __tstate = wxPyBeginAllowThreads();
28588 (arg1)->SetPath((wxString const &)*arg2);
28589
28590 wxPyEndAllowThreads(__tstate);
28591 if (PyErr_Occurred()) SWIG_fail;
28592 }
28593 Py_INCREF(Py_None); resultobj = Py_None;
28594 {
28595 if (temp2)
28596 delete arg2;
28597 }
28598 return resultobj;
28599 fail:
28600 {
28601 if (temp2)
28602 delete arg2;
28603 }
28604 return NULL;
28605}
28606
28607
28608static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28609 PyObject *resultobj;
28610 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28611 bool arg2 ;
28612 PyObject * obj0 = 0 ;
28613 PyObject * obj1 = 0 ;
28614 char *kwnames[] = {
28615 (char *) "self",(char *) "show", NULL
28616 };
28617
28618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
28619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28621 arg2 = (bool) SWIG_AsBool(obj1);
28622 if (PyErr_Occurred()) SWIG_fail;
28623 {
28624 PyThreadState* __tstate = wxPyBeginAllowThreads();
28625 (arg1)->ShowHidden(arg2);
28626
28627 wxPyEndAllowThreads(__tstate);
28628 if (PyErr_Occurred()) SWIG_fail;
28629 }
28630 Py_INCREF(Py_None); resultobj = Py_None;
28631 return resultobj;
28632 fail:
28633 return NULL;
28634}
28635
28636
28637static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28638 PyObject *resultobj;
28639 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28640 bool result;
28641 PyObject * obj0 = 0 ;
28642 char *kwnames[] = {
28643 (char *) "self", NULL
28644 };
28645
28646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
28647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28649 {
28650 PyThreadState* __tstate = wxPyBeginAllowThreads();
28651 result = (bool)(arg1)->GetShowHidden();
28652
28653 wxPyEndAllowThreads(__tstate);
28654 if (PyErr_Occurred()) SWIG_fail;
28655 }
28656 {
28657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28658 }
28659 return resultobj;
28660 fail:
28661 return NULL;
28662}
28663
28664
28665static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28666 PyObject *resultobj;
28667 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28668 wxString result;
28669 PyObject * obj0 = 0 ;
28670 char *kwnames[] = {
28671 (char *) "self", NULL
28672 };
28673
28674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
28675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28677 {
28678 PyThreadState* __tstate = wxPyBeginAllowThreads();
28679 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28680
28681 wxPyEndAllowThreads(__tstate);
28682 if (PyErr_Occurred()) SWIG_fail;
28683 }
28684 {
28685#if wxUSE_UNICODE
28686 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28687#else
28688 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28689#endif
28690 }
28691 return resultobj;
28692 fail:
28693 return NULL;
28694}
28695
28696
28697static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28698 PyObject *resultobj;
28699 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28700 wxString *arg2 = 0 ;
28701 bool temp2 = False ;
28702 PyObject * obj0 = 0 ;
28703 PyObject * obj1 = 0 ;
28704 char *kwnames[] = {
28705 (char *) "self",(char *) "filter", NULL
28706 };
28707
28708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
28709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28711 {
28712 arg2 = wxString_in_helper(obj1);
28713 if (arg2 == NULL) SWIG_fail;
28714 temp2 = True;
28715 }
28716 {
28717 PyThreadState* __tstate = wxPyBeginAllowThreads();
28718 (arg1)->SetFilter((wxString const &)*arg2);
28719
28720 wxPyEndAllowThreads(__tstate);
28721 if (PyErr_Occurred()) SWIG_fail;
28722 }
28723 Py_INCREF(Py_None); resultobj = Py_None;
28724 {
28725 if (temp2)
28726 delete arg2;
28727 }
28728 return resultobj;
28729 fail:
28730 {
28731 if (temp2)
28732 delete arg2;
28733 }
28734 return NULL;
28735}
28736
28737
28738static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28739 PyObject *resultobj;
28740 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28741 int result;
28742 PyObject * obj0 = 0 ;
28743 char *kwnames[] = {
28744 (char *) "self", NULL
28745 };
28746
28747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
28748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28750 {
28751 PyThreadState* __tstate = wxPyBeginAllowThreads();
28752 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28753
28754 wxPyEndAllowThreads(__tstate);
28755 if (PyErr_Occurred()) SWIG_fail;
28756 }
28757 resultobj = SWIG_FromInt((int)result);
28758 return resultobj;
28759 fail:
28760 return NULL;
28761}
28762
28763
28764static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28765 PyObject *resultobj;
28766 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28767 int arg2 ;
28768 PyObject * obj0 = 0 ;
28769 PyObject * obj1 = 0 ;
28770 char *kwnames[] = {
28771 (char *) "self",(char *) "n", NULL
28772 };
28773
28774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
28775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28777 arg2 = (int) SWIG_AsInt(obj1);
28778 if (PyErr_Occurred()) SWIG_fail;
28779 {
28780 PyThreadState* __tstate = wxPyBeginAllowThreads();
28781 (arg1)->SetFilterIndex(arg2);
28782
28783 wxPyEndAllowThreads(__tstate);
28784 if (PyErr_Occurred()) SWIG_fail;
28785 }
28786 Py_INCREF(Py_None); resultobj = Py_None;
28787 return resultobj;
28788 fail:
28789 return NULL;
28790}
28791
28792
28793static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
28794 PyObject *resultobj;
28795 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28796 wxTreeItemId result;
28797 PyObject * obj0 = 0 ;
28798 char *kwnames[] = {
28799 (char *) "self", NULL
28800 };
28801
28802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
28803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28805 {
28806 PyThreadState* __tstate = wxPyBeginAllowThreads();
28807 result = (arg1)->GetRootId();
28808
28809 wxPyEndAllowThreads(__tstate);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 }
28812 {
28813 wxTreeItemId * resultptr;
28814 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28815 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28816 }
28817 return resultobj;
28818 fail:
28819 return NULL;
28820}
28821
28822
28823static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28824 PyObject *resultobj;
28825 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28826 wxPyTreeCtrl *result;
28827 PyObject * obj0 = 0 ;
28828 char *kwnames[] = {
28829 (char *) "self", NULL
28830 };
28831
28832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
28833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28835 {
28836 PyThreadState* __tstate = wxPyBeginAllowThreads();
28837 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
28838
28839 wxPyEndAllowThreads(__tstate);
28840 if (PyErr_Occurred()) SWIG_fail;
28841 }
28842 {
28843 resultobj = wxPyMake_wxObject(result);
28844 }
28845 return resultobj;
28846 fail:
28847 return NULL;
28848}
28849
28850
28851static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28852 PyObject *resultobj;
28853 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28854 wxDirFilterListCtrl *result;
28855 PyObject * obj0 = 0 ;
28856 char *kwnames[] = {
28857 (char *) "self", NULL
28858 };
28859
28860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
28861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28863 {
28864 PyThreadState* __tstate = wxPyBeginAllowThreads();
28865 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
28866
28867 wxPyEndAllowThreads(__tstate);
28868 if (PyErr_Occurred()) SWIG_fail;
28869 }
28870 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
28871 return resultobj;
28872 fail:
28873 return NULL;
28874}
28875
28876
28877static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28878 PyObject *resultobj;
28879 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28880 wxTreeItemId arg2 ;
28881 wxString *arg3 = 0 ;
28882 bool *arg4 = 0 ;
28883 wxTreeItemId result;
28884 wxTreeItemId *argp2 ;
28885 bool temp3 = False ;
28886 bool temp4 ;
28887 PyObject * obj0 = 0 ;
28888 PyObject * obj1 = 0 ;
28889 PyObject * obj2 = 0 ;
28890 char *kwnames[] = {
28891 (char *) "self",(char *) "parentId",(char *) "path", NULL
28892 };
28893
28894 arg4 = &temp4;
28895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
28896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28898 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
28899 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
28900 arg2 = *argp2;
28901 {
28902 arg3 = wxString_in_helper(obj2);
28903 if (arg3 == NULL) SWIG_fail;
28904 temp3 = True;
28905 }
28906 {
28907 PyThreadState* __tstate = wxPyBeginAllowThreads();
28908 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
28909
28910 wxPyEndAllowThreads(__tstate);
28911 if (PyErr_Occurred()) SWIG_fail;
28912 }
28913 {
28914 wxTreeItemId * resultptr;
28915 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28916 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28917 }
28918 {
28919 PyObject *o = PyInt_FromLong((long) (*arg4));
28920 resultobj = t_output_helper(resultobj,o);
28921 }
28922 {
28923 if (temp3)
28924 delete arg3;
28925 }
28926 return resultobj;
28927 fail:
28928 {
28929 if (temp3)
28930 delete arg3;
28931 }
28932 return NULL;
28933}
28934
28935
28936static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
28937 PyObject *resultobj;
28938 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28939 PyObject * obj0 = 0 ;
28940 char *kwnames[] = {
28941 (char *) "self", NULL
28942 };
28943
28944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
28945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28947 {
28948 PyThreadState* __tstate = wxPyBeginAllowThreads();
28949 (arg1)->DoResize();
28950
28951 wxPyEndAllowThreads(__tstate);
28952 if (PyErr_Occurred()) SWIG_fail;
28953 }
28954 Py_INCREF(Py_None); resultobj = Py_None;
28955 return resultobj;
28956 fail:
28957 return NULL;
28958}
28959
28960
28961static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
28962 PyObject *resultobj;
28963 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28964 PyObject * obj0 = 0 ;
28965 char *kwnames[] = {
28966 (char *) "self", NULL
28967 };
28968
28969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
28970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28972 {
28973 PyThreadState* __tstate = wxPyBeginAllowThreads();
28974 (arg1)->ReCreateTree();
28975
28976 wxPyEndAllowThreads(__tstate);
28977 if (PyErr_Occurred()) SWIG_fail;
28978 }
28979 Py_INCREF(Py_None); resultobj = Py_None;
28980 return resultobj;
28981 fail:
28982 return NULL;
28983}
28984
28985
28986static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
28987 PyObject *obj;
28988 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28989 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
28990 Py_INCREF(obj);
28991 return Py_BuildValue((char *)"");
28992}
28993static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28994 PyObject *resultobj;
28995 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28996 int arg2 = (int) (int)-1 ;
28997 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28998 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28999 wxSize const &arg4_defvalue = wxDefaultSize ;
29000 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29001 long arg5 = (long) 0 ;
29002 wxDirFilterListCtrl *result;
29003 wxPoint temp3 ;
29004 wxSize temp4 ;
29005 PyObject * obj0 = 0 ;
29006 PyObject * obj1 = 0 ;
29007 PyObject * obj2 = 0 ;
29008 PyObject * obj3 = 0 ;
29009 PyObject * obj4 = 0 ;
29010 char *kwnames[] = {
29011 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29012 };
29013
29014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
29016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29017 if (obj1) {
29018 arg2 = (int const) SWIG_AsInt(obj1);
29019 if (PyErr_Occurred()) SWIG_fail;
29020 }
29021 if (obj2) {
29022 {
29023 arg3 = &temp3;
29024 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29025 }
29026 }
29027 if (obj3) {
29028 {
29029 arg4 = &temp4;
29030 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29031 }
29032 }
29033 if (obj4) {
29034 arg5 = (long) SWIG_AsLong(obj4);
29035 if (PyErr_Occurred()) SWIG_fail;
29036 }
29037 {
0439c23b 29038 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29039 PyThreadState* __tstate = wxPyBeginAllowThreads();
29040 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
29041
29042 wxPyEndAllowThreads(__tstate);
0439c23b 29043 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
29044 }
29045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29046 return resultobj;
29047 fail:
29048 return NULL;
29049}
29050
29051
29052static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
29053 PyObject *resultobj;
29054 wxDirFilterListCtrl *result;
29055 char *kwnames[] = {
29056 NULL
29057 };
29058
29059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
29060 {
0439c23b 29061 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29062 PyThreadState* __tstate = wxPyBeginAllowThreads();
29063 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
29064
29065 wxPyEndAllowThreads(__tstate);
0439c23b 29066 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
29067 }
29068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
29069 return resultobj;
29070 fail:
29071 return NULL;
29072}
29073
29074
29075static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
29076 PyObject *resultobj;
29077 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29078 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
29079 int arg3 = (int) (int)-1 ;
29080 wxPoint const &arg4_defvalue = wxDefaultPosition ;
29081 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
29082 wxSize const &arg5_defvalue = wxDefaultSize ;
29083 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
29084 long arg6 = (long) 0 ;
29085 bool result;
29086 wxPoint temp4 ;
29087 wxSize temp5 ;
29088 PyObject * obj0 = 0 ;
29089 PyObject * obj1 = 0 ;
29090 PyObject * obj2 = 0 ;
29091 PyObject * obj3 = 0 ;
29092 PyObject * obj4 = 0 ;
29093 PyObject * obj5 = 0 ;
29094 char *kwnames[] = {
29095 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29096 };
29097
29098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
29102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29103 if (obj2) {
29104 arg3 = (int const) SWIG_AsInt(obj2);
29105 if (PyErr_Occurred()) SWIG_fail;
29106 }
29107 if (obj3) {
29108 {
29109 arg4 = &temp4;
29110 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
29111 }
29112 }
29113 if (obj4) {
29114 {
29115 arg5 = &temp5;
29116 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
29117 }
29118 }
29119 if (obj5) {
29120 arg6 = (long) SWIG_AsLong(obj5);
29121 if (PyErr_Occurred()) SWIG_fail;
29122 }
29123 {
29124 PyThreadState* __tstate = wxPyBeginAllowThreads();
29125 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
29126
29127 wxPyEndAllowThreads(__tstate);
29128 if (PyErr_Occurred()) SWIG_fail;
29129 }
29130 {
29131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29132 }
29133 return resultobj;
29134 fail:
29135 return NULL;
29136}
29137
29138
29139static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
29140 PyObject *resultobj;
29141 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
29142 wxString *arg2 = 0 ;
29143 int arg3 ;
29144 bool temp2 = False ;
29145 PyObject * obj0 = 0 ;
29146 PyObject * obj1 = 0 ;
29147 PyObject * obj2 = 0 ;
29148 char *kwnames[] = {
29149 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29150 };
29151
29152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
29153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
29154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29155 {
29156 arg2 = wxString_in_helper(obj1);
29157 if (arg2 == NULL) SWIG_fail;
29158 temp2 = True;
29159 }
29160 arg3 = (int) SWIG_AsInt(obj2);
29161 if (PyErr_Occurred()) SWIG_fail;
29162 {
29163 PyThreadState* __tstate = wxPyBeginAllowThreads();
29164 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
29165
29166 wxPyEndAllowThreads(__tstate);
29167 if (PyErr_Occurred()) SWIG_fail;
29168 }
29169 Py_INCREF(Py_None); resultobj = Py_None;
29170 {
29171 if (temp2)
29172 delete arg2;
29173 }
29174 return resultobj;
29175 fail:
29176 {
29177 if (temp2)
29178 delete arg2;
29179 }
29180 return NULL;
29181}
29182
29183
29184static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
29185 PyObject *obj;
29186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29187 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
29188 Py_INCREF(obj);
29189 return Py_BuildValue((char *)"");
29190}
29191static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
29192 PyObject *resultobj;
29193 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 29194 int arg2 = (int) (int)-1 ;
d55e5bfc
RD
29195 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29196 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29197 wxSize const &arg4_defvalue = wxDefaultSize ;
29198 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
29199 long arg5 = (long) 0 ;
29200 wxValidator const &arg6_defvalue = wxDefaultValidator ;
29201 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
29202 wxString const &arg7_defvalue = wxPyControlNameStr ;
29203 wxString *arg7 = (wxString *) &arg7_defvalue ;
29204 wxPyControl *result;
29205 wxPoint temp3 ;
29206 wxSize temp4 ;
29207 bool temp7 = False ;
29208 PyObject * obj0 = 0 ;
29209 PyObject * obj1 = 0 ;
29210 PyObject * obj2 = 0 ;
29211 PyObject * obj3 = 0 ;
29212 PyObject * obj4 = 0 ;
29213 PyObject * obj5 = 0 ;
29214 PyObject * obj6 = 0 ;
29215 char *kwnames[] = {
29216 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29217 };
29218
248ed943 29219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d55e5bfc
RD
29220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943
RD
29222 if (obj1) {
29223 arg2 = (int const) SWIG_AsInt(obj1);
29224 if (PyErr_Occurred()) SWIG_fail;
29225 }
d55e5bfc
RD
29226 if (obj2) {
29227 {
29228 arg3 = &temp3;
29229 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29230 }
29231 }
29232 if (obj3) {
29233 {
29234 arg4 = &temp4;
29235 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
29236 }
29237 }
29238 if (obj4) {
29239 arg5 = (long) SWIG_AsLong(obj4);
29240 if (PyErr_Occurred()) SWIG_fail;
29241 }
29242 if (obj5) {
29243 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
29244 SWIG_POINTER_EXCEPTION | 0)) == -1)
29245 SWIG_fail;
29246 if (arg6 == NULL) {
29247 PyErr_SetString(PyExc_TypeError,"null reference");
29248 SWIG_fail;
29249 }
29250 }
29251 if (obj6) {
29252 {
29253 arg7 = wxString_in_helper(obj6);
29254 if (arg7 == NULL) SWIG_fail;
29255 temp7 = True;
29256 }
29257 }
29258 {
0439c23b 29259 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29260 PyThreadState* __tstate = wxPyBeginAllowThreads();
29261 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29262
29263 wxPyEndAllowThreads(__tstate);
0439c23b 29264 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
29265 }
29266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29267 {
29268 if (temp7)
29269 delete arg7;
29270 }
29271 return resultobj;
29272 fail:
29273 {
29274 if (temp7)
29275 delete arg7;
29276 }
29277 return NULL;
29278}
29279
29280
29281static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
29282 PyObject *resultobj;
29283 wxPyControl *result;
29284 char *kwnames[] = {
29285 NULL
29286 };
29287
29288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
29289 {
0439c23b 29290 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
29291 PyThreadState* __tstate = wxPyBeginAllowThreads();
29292 result = (wxPyControl *)new wxPyControl();
29293
29294 wxPyEndAllowThreads(__tstate);
0439c23b 29295 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
29296 }
29297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29298 return resultobj;
29299 fail:
29300 return NULL;
29301}
29302
29303
29304static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29305 PyObject *resultobj;
29306 wxPyControl *arg1 = (wxPyControl *) 0 ;
29307 PyObject *arg2 = (PyObject *) 0 ;
29308 PyObject *arg3 = (PyObject *) 0 ;
29309 PyObject * obj0 = 0 ;
29310 PyObject * obj1 = 0 ;
29311 PyObject * obj2 = 0 ;
29312 char *kwnames[] = {
29313 (char *) "self",(char *) "self",(char *) "_class", NULL
29314 };
29315
29316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29319 arg2 = obj1;
29320 arg3 = obj2;
29321 {
29322 PyThreadState* __tstate = wxPyBeginAllowThreads();
29323 (arg1)->_setCallbackInfo(arg2,arg3);
29324
29325 wxPyEndAllowThreads(__tstate);
29326 if (PyErr_Occurred()) SWIG_fail;
29327 }
29328 Py_INCREF(Py_None); resultobj = Py_None;
29329 return resultobj;
29330 fail:
29331 return NULL;
29332}
29333
29334
caef1a4d
RD
29335static PyObject *_wrap_PyControl_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29336 PyObject *resultobj;
29337 wxPyControl *arg1 = (wxPyControl *) 0 ;
29338 wxSize *arg2 = 0 ;
29339 wxSize temp2 ;
29340 PyObject * obj0 = 0 ;
29341 PyObject * obj1 = 0 ;
29342 char *kwnames[] = {
29343 (char *) "self",(char *) "size", NULL
29344 };
29345
29346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29349 {
29350 arg2 = &temp2;
29351 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29352 }
29353 {
29354 PyThreadState* __tstate = wxPyBeginAllowThreads();
29355 (arg1)->SetBestSize((wxSize const &)*arg2);
29356
29357 wxPyEndAllowThreads(__tstate);
29358 if (PyErr_Occurred()) SWIG_fail;
29359 }
29360 Py_INCREF(Py_None); resultobj = Py_None;
29361 return resultobj;
29362 fail:
29363 return NULL;
29364}
29365
29366
d55e5bfc
RD
29367static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29368 PyObject *resultobj;
29369 wxPyControl *arg1 = (wxPyControl *) 0 ;
29370 int arg2 ;
29371 int arg3 ;
29372 int arg4 ;
29373 int arg5 ;
29374 PyObject * obj0 = 0 ;
29375 PyObject * obj1 = 0 ;
29376 PyObject * obj2 = 0 ;
29377 PyObject * obj3 = 0 ;
29378 PyObject * obj4 = 0 ;
29379 char *kwnames[] = {
29380 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29381 };
29382
29383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29386 arg2 = (int) SWIG_AsInt(obj1);
29387 if (PyErr_Occurred()) SWIG_fail;
29388 arg3 = (int) SWIG_AsInt(obj2);
29389 if (PyErr_Occurred()) SWIG_fail;
29390 arg4 = (int) SWIG_AsInt(obj3);
29391 if (PyErr_Occurred()) SWIG_fail;
29392 arg5 = (int) SWIG_AsInt(obj4);
29393 if (PyErr_Occurred()) SWIG_fail;
29394 {
29395 PyThreadState* __tstate = wxPyBeginAllowThreads();
29396 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29397
29398 wxPyEndAllowThreads(__tstate);
29399 if (PyErr_Occurred()) SWIG_fail;
29400 }
29401 Py_INCREF(Py_None); resultobj = Py_None;
29402 return resultobj;
29403 fail:
29404 return NULL;
29405}
29406
29407
29408static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29409 PyObject *resultobj;
29410 wxPyControl *arg1 = (wxPyControl *) 0 ;
29411 int arg2 ;
29412 int arg3 ;
29413 int arg4 ;
29414 int arg5 ;
29415 int arg6 = (int) wxSIZE_AUTO ;
29416 PyObject * obj0 = 0 ;
29417 PyObject * obj1 = 0 ;
29418 PyObject * obj2 = 0 ;
29419 PyObject * obj3 = 0 ;
29420 PyObject * obj4 = 0 ;
29421 PyObject * obj5 = 0 ;
29422 char *kwnames[] = {
29423 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29424 };
29425
29426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29429 arg2 = (int) SWIG_AsInt(obj1);
29430 if (PyErr_Occurred()) SWIG_fail;
29431 arg3 = (int) SWIG_AsInt(obj2);
29432 if (PyErr_Occurred()) SWIG_fail;
29433 arg4 = (int) SWIG_AsInt(obj3);
29434 if (PyErr_Occurred()) SWIG_fail;
29435 arg5 = (int) SWIG_AsInt(obj4);
29436 if (PyErr_Occurred()) SWIG_fail;
29437 if (obj5) {
29438 arg6 = (int) SWIG_AsInt(obj5);
29439 if (PyErr_Occurred()) SWIG_fail;
29440 }
29441 {
29442 PyThreadState* __tstate = wxPyBeginAllowThreads();
29443 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29444
29445 wxPyEndAllowThreads(__tstate);
29446 if (PyErr_Occurred()) SWIG_fail;
29447 }
29448 Py_INCREF(Py_None); resultobj = Py_None;
29449 return resultobj;
29450 fail:
29451 return NULL;
29452}
29453
29454
29455static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29456 PyObject *resultobj;
29457 wxPyControl *arg1 = (wxPyControl *) 0 ;
29458 int arg2 ;
29459 int arg3 ;
29460 PyObject * obj0 = 0 ;
29461 PyObject * obj1 = 0 ;
29462 PyObject * obj2 = 0 ;
29463 char *kwnames[] = {
29464 (char *) "self",(char *) "width",(char *) "height", NULL
29465 };
29466
29467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29470 arg2 = (int) SWIG_AsInt(obj1);
29471 if (PyErr_Occurred()) SWIG_fail;
29472 arg3 = (int) SWIG_AsInt(obj2);
29473 if (PyErr_Occurred()) SWIG_fail;
29474 {
29475 PyThreadState* __tstate = wxPyBeginAllowThreads();
29476 (arg1)->base_DoSetClientSize(arg2,arg3);
29477
29478 wxPyEndAllowThreads(__tstate);
29479 if (PyErr_Occurred()) SWIG_fail;
29480 }
29481 Py_INCREF(Py_None); resultobj = Py_None;
29482 return resultobj;
29483 fail:
29484 return NULL;
29485}
29486
29487
29488static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29489 PyObject *resultobj;
29490 wxPyControl *arg1 = (wxPyControl *) 0 ;
29491 int arg2 ;
29492 int arg3 ;
29493 PyObject * obj0 = 0 ;
29494 PyObject * obj1 = 0 ;
29495 PyObject * obj2 = 0 ;
29496 char *kwnames[] = {
29497 (char *) "self",(char *) "x",(char *) "y", NULL
29498 };
29499
29500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29503 arg2 = (int) SWIG_AsInt(obj1);
29504 if (PyErr_Occurred()) SWIG_fail;
29505 arg3 = (int) SWIG_AsInt(obj2);
29506 if (PyErr_Occurred()) SWIG_fail;
29507 {
29508 PyThreadState* __tstate = wxPyBeginAllowThreads();
29509 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29510
29511 wxPyEndAllowThreads(__tstate);
29512 if (PyErr_Occurred()) SWIG_fail;
29513 }
29514 Py_INCREF(Py_None); resultobj = Py_None;
29515 return resultobj;
29516 fail:
29517 return NULL;
29518}
29519
29520
29521static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29522 PyObject *resultobj;
29523 wxPyControl *arg1 = (wxPyControl *) 0 ;
29524 int *arg2 = (int *) 0 ;
29525 int *arg3 = (int *) 0 ;
29526 int temp2 ;
29527 int temp3 ;
29528 PyObject * obj0 = 0 ;
29529 char *kwnames[] = {
29530 (char *) "self", NULL
29531 };
29532
29533 arg2 = &temp2;
29534 arg3 = &temp3;
29535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
29536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29538 {
29539 PyThreadState* __tstate = wxPyBeginAllowThreads();
29540 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29541
29542 wxPyEndAllowThreads(__tstate);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 }
29545 Py_INCREF(Py_None); resultobj = Py_None;
29546 {
29547 PyObject *o = PyInt_FromLong((long) (*arg2));
29548 resultobj = t_output_helper(resultobj,o);
29549 }
29550 {
29551 PyObject *o = PyInt_FromLong((long) (*arg3));
29552 resultobj = t_output_helper(resultobj,o);
29553 }
29554 return resultobj;
29555 fail:
29556 return NULL;
29557}
29558
29559
29560static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29561 PyObject *resultobj;
29562 wxPyControl *arg1 = (wxPyControl *) 0 ;
29563 int *arg2 = (int *) 0 ;
29564 int *arg3 = (int *) 0 ;
29565 int temp2 ;
29566 int temp3 ;
29567 PyObject * obj0 = 0 ;
29568 char *kwnames[] = {
29569 (char *) "self", NULL
29570 };
29571
29572 arg2 = &temp2;
29573 arg3 = &temp3;
29574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
29575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29577 {
29578 PyThreadState* __tstate = wxPyBeginAllowThreads();
29579 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29580
29581 wxPyEndAllowThreads(__tstate);
29582 if (PyErr_Occurred()) SWIG_fail;
29583 }
29584 Py_INCREF(Py_None); resultobj = Py_None;
29585 {
29586 PyObject *o = PyInt_FromLong((long) (*arg2));
29587 resultobj = t_output_helper(resultobj,o);
29588 }
29589 {
29590 PyObject *o = PyInt_FromLong((long) (*arg3));
29591 resultobj = t_output_helper(resultobj,o);
29592 }
29593 return resultobj;
29594 fail:
29595 return NULL;
29596}
29597
29598
29599static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29600 PyObject *resultobj;
29601 wxPyControl *arg1 = (wxPyControl *) 0 ;
29602 int *arg2 = (int *) 0 ;
29603 int *arg3 = (int *) 0 ;
29604 int temp2 ;
29605 int temp3 ;
29606 PyObject * obj0 = 0 ;
29607 char *kwnames[] = {
29608 (char *) "self", NULL
29609 };
29610
29611 arg2 = &temp2;
29612 arg3 = &temp3;
29613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
29614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29616 {
29617 PyThreadState* __tstate = wxPyBeginAllowThreads();
29618 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29619
29620 wxPyEndAllowThreads(__tstate);
29621 if (PyErr_Occurred()) SWIG_fail;
29622 }
29623 Py_INCREF(Py_None); resultobj = Py_None;
29624 {
29625 PyObject *o = PyInt_FromLong((long) (*arg2));
29626 resultobj = t_output_helper(resultobj,o);
29627 }
29628 {
29629 PyObject *o = PyInt_FromLong((long) (*arg3));
29630 resultobj = t_output_helper(resultobj,o);
29631 }
29632 return resultobj;
29633 fail:
29634 return NULL;
29635}
29636
29637
29638static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29639 PyObject *resultobj;
29640 wxPyControl *arg1 = (wxPyControl *) 0 ;
29641 wxSize result;
29642 PyObject * obj0 = 0 ;
29643 char *kwnames[] = {
29644 (char *) "self", NULL
29645 };
29646
29647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
29648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29650 {
29651 PyThreadState* __tstate = wxPyBeginAllowThreads();
29652 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29653
29654 wxPyEndAllowThreads(__tstate);
29655 if (PyErr_Occurred()) SWIG_fail;
29656 }
29657 {
29658 wxSize * resultptr;
29659 resultptr = new wxSize((wxSize &) result);
29660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29661 }
29662 return resultobj;
29663 fail:
29664 return NULL;
29665}
29666
29667
29668static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29669 PyObject *resultobj;
29670 wxPyControl *arg1 = (wxPyControl *) 0 ;
29671 wxSize result;
29672 PyObject * obj0 = 0 ;
29673 char *kwnames[] = {
29674 (char *) "self", NULL
29675 };
29676
29677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
29678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29680 {
29681 PyThreadState* __tstate = wxPyBeginAllowThreads();
29682 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29683
29684 wxPyEndAllowThreads(__tstate);
29685 if (PyErr_Occurred()) SWIG_fail;
29686 }
29687 {
29688 wxSize * resultptr;
29689 resultptr = new wxSize((wxSize &) result);
29690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29691 }
29692 return resultobj;
29693 fail:
29694 return NULL;
29695}
29696
29697
29698static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
29699 PyObject *resultobj;
29700 wxPyControl *arg1 = (wxPyControl *) 0 ;
29701 PyObject * obj0 = 0 ;
29702 char *kwnames[] = {
29703 (char *) "self", NULL
29704 };
29705
29706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
29707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29709 {
29710 PyThreadState* __tstate = wxPyBeginAllowThreads();
29711 (arg1)->base_InitDialog();
29712
29713 wxPyEndAllowThreads(__tstate);
29714 if (PyErr_Occurred()) SWIG_fail;
29715 }
29716 Py_INCREF(Py_None); resultobj = Py_None;
29717 return resultobj;
29718 fail:
29719 return NULL;
29720}
29721
29722
29723static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29724 PyObject *resultobj;
29725 wxPyControl *arg1 = (wxPyControl *) 0 ;
29726 bool result;
29727 PyObject * obj0 = 0 ;
29728 char *kwnames[] = {
29729 (char *) "self", NULL
29730 };
29731
29732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
29733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29735 {
29736 PyThreadState* __tstate = wxPyBeginAllowThreads();
29737 result = (bool)(arg1)->base_TransferDataToWindow();
29738
29739 wxPyEndAllowThreads(__tstate);
29740 if (PyErr_Occurred()) SWIG_fail;
29741 }
29742 {
29743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29744 }
29745 return resultobj;
29746 fail:
29747 return NULL;
29748}
29749
29750
29751static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29752 PyObject *resultobj;
29753 wxPyControl *arg1 = (wxPyControl *) 0 ;
29754 bool result;
29755 PyObject * obj0 = 0 ;
29756 char *kwnames[] = {
29757 (char *) "self", NULL
29758 };
29759
29760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
29761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29763 {
29764 PyThreadState* __tstate = wxPyBeginAllowThreads();
29765 result = (bool)(arg1)->base_TransferDataFromWindow();
29766
29767 wxPyEndAllowThreads(__tstate);
29768 if (PyErr_Occurred()) SWIG_fail;
29769 }
29770 {
29771 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29772 }
29773 return resultobj;
29774 fail:
29775 return NULL;
29776}
29777
29778
29779static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
29780 PyObject *resultobj;
29781 wxPyControl *arg1 = (wxPyControl *) 0 ;
29782 bool result;
29783 PyObject * obj0 = 0 ;
29784 char *kwnames[] = {
29785 (char *) "self", NULL
29786 };
29787
29788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
29789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29791 {
29792 PyThreadState* __tstate = wxPyBeginAllowThreads();
29793 result = (bool)(arg1)->base_Validate();
29794
29795 wxPyEndAllowThreads(__tstate);
29796 if (PyErr_Occurred()) SWIG_fail;
29797 }
29798 {
29799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29800 }
29801 return resultobj;
29802 fail:
29803 return NULL;
29804}
29805
29806
29807static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
29808 PyObject *resultobj;
29809 wxPyControl *arg1 = (wxPyControl *) 0 ;
29810 bool result;
29811 PyObject * obj0 = 0 ;
29812 char *kwnames[] = {
29813 (char *) "self", NULL
29814 };
29815
29816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
29817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29819 {
29820 PyThreadState* __tstate = wxPyBeginAllowThreads();
29821 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
29822
29823 wxPyEndAllowThreads(__tstate);
29824 if (PyErr_Occurred()) SWIG_fail;
29825 }
29826 {
29827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29828 }
29829 return resultobj;
29830 fail:
29831 return NULL;
29832}
29833
29834
29835static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
29836 PyObject *resultobj;
29837 wxPyControl *arg1 = (wxPyControl *) 0 ;
29838 bool result;
29839 PyObject * obj0 = 0 ;
29840 char *kwnames[] = {
29841 (char *) "self", NULL
29842 };
29843
29844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
29845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29847 {
29848 PyThreadState* __tstate = wxPyBeginAllowThreads();
29849 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
29850
29851 wxPyEndAllowThreads(__tstate);
29852 if (PyErr_Occurred()) SWIG_fail;
29853 }
29854 {
29855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29856 }
29857 return resultobj;
29858 fail:
29859 return NULL;
29860}
29861
29862
29863static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29864 PyObject *resultobj;
29865 wxPyControl *arg1 = (wxPyControl *) 0 ;
29866 wxSize result;
29867 PyObject * obj0 = 0 ;
29868 char *kwnames[] = {
29869 (char *) "self", NULL
29870 };
29871
29872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
29873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29875 {
29876 PyThreadState* __tstate = wxPyBeginAllowThreads();
29877 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
29878
29879 wxPyEndAllowThreads(__tstate);
29880 if (PyErr_Occurred()) SWIG_fail;
29881 }
29882 {
29883 wxSize * resultptr;
29884 resultptr = new wxSize((wxSize &) result);
29885 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29886 }
29887 return resultobj;
29888 fail:
29889 return NULL;
29890}
29891
29892
29893static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29894 PyObject *resultobj;
29895 wxPyControl *arg1 = (wxPyControl *) 0 ;
29896 wxWindow *arg2 = (wxWindow *) 0 ;
29897 PyObject * obj0 = 0 ;
29898 PyObject * obj1 = 0 ;
29899 char *kwnames[] = {
29900 (char *) "self",(char *) "child", NULL
29901 };
29902
29903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
29904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29908 {
29909 PyThreadState* __tstate = wxPyBeginAllowThreads();
29910 (arg1)->base_AddChild(arg2);
29911
29912 wxPyEndAllowThreads(__tstate);
29913 if (PyErr_Occurred()) SWIG_fail;
29914 }
29915 Py_INCREF(Py_None); resultobj = Py_None;
29916 return resultobj;
29917 fail:
29918 return NULL;
29919}
29920
29921
29922static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29923 PyObject *resultobj;
29924 wxPyControl *arg1 = (wxPyControl *) 0 ;
29925 wxWindow *arg2 = (wxWindow *) 0 ;
29926 PyObject * obj0 = 0 ;
29927 PyObject * obj1 = 0 ;
29928 char *kwnames[] = {
29929 (char *) "self",(char *) "child", NULL
29930 };
29931
29932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
29933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29937 {
29938 PyThreadState* __tstate = wxPyBeginAllowThreads();
29939 (arg1)->base_RemoveChild(arg2);
29940
29941 wxPyEndAllowThreads(__tstate);
29942 if (PyErr_Occurred()) SWIG_fail;
29943 }
29944 Py_INCREF(Py_None); resultobj = Py_None;
29945 return resultobj;
29946 fail:
29947 return NULL;
29948}
29949
29950
29951static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
29952 PyObject *resultobj;
29953 wxPyControl *arg1 = (wxPyControl *) 0 ;
29954 bool result;
29955 PyObject * obj0 = 0 ;
29956 char *kwnames[] = {
29957 (char *) "self", NULL
29958 };
29959
29960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
29961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29963 {
29964 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 29965 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
29966
29967 wxPyEndAllowThreads(__tstate);
29968 if (PyErr_Occurred()) SWIG_fail;
29969 }
29970 {
29971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29972 }
29973 return resultobj;
29974 fail:
29975 return NULL;
29976}
29977
29978
29979static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
29980 PyObject *resultobj;
29981 wxPyControl *arg1 = (wxPyControl *) 0 ;
29982 wxColour *arg2 = 0 ;
29983 wxColour temp2 ;
29984 PyObject * obj0 = 0 ;
29985 PyObject * obj1 = 0 ;
29986 char *kwnames[] = {
29987 (char *) "self",(char *) "c", NULL
29988 };
29989
29990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
29991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29993 {
29994 arg2 = &temp2;
29995 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29996 }
29997 {
29998 PyThreadState* __tstate = wxPyBeginAllowThreads();
29999 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
30000
30001 wxPyEndAllowThreads(__tstate);
30002 if (PyErr_Occurred()) SWIG_fail;
30003 }
30004 Py_INCREF(Py_None); resultobj = Py_None;
30005 return resultobj;
30006 fail:
30007 return NULL;
30008}
30009
30010
caef1a4d
RD
30011static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
30012 PyObject *resultobj;
30013 wxPyControl *arg1 = (wxPyControl *) 0 ;
30014 wxVisualAttributes result;
30015 PyObject * obj0 = 0 ;
30016 char *kwnames[] = {
30017 (char *) "self", NULL
30018 };
30019
30020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
30021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
30022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30023 {
30024 PyThreadState* __tstate = wxPyBeginAllowThreads();
30025 result = (arg1)->base_GetDefaultAttributes();
30026
30027 wxPyEndAllowThreads(__tstate);
30028 if (PyErr_Occurred()) SWIG_fail;
30029 }
30030 {
30031 wxVisualAttributes * resultptr;
30032 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
30033 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
30034 }
30035 return resultobj;
30036 fail:
30037 return NULL;
30038}
30039
30040
d55e5bfc
RD
30041static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
30042 PyObject *obj;
30043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30044 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
30045 Py_INCREF(obj);
30046 return Py_BuildValue((char *)"");
30047}
30048static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
30049 PyObject *resultobj;
30050 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
30051 int arg2 = (int) 0 ;
30052 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30053 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30054 wxHelpEvent *result;
30055 wxPoint temp3 ;
30056 PyObject * obj0 = 0 ;
30057 PyObject * obj1 = 0 ;
30058 PyObject * obj2 = 0 ;
30059 char *kwnames[] = {
30060 (char *) "type",(char *) "winid",(char *) "pt", NULL
30061 };
30062
30063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
30064 if (obj0) {
30065 arg1 = (wxEventType) SWIG_AsInt(obj0);
30066 if (PyErr_Occurred()) SWIG_fail;
30067 }
30068 if (obj1) {
30069 arg2 = (int) SWIG_AsInt(obj1);
30070 if (PyErr_Occurred()) SWIG_fail;
30071 }
30072 if (obj2) {
30073 {
30074 arg3 = &temp3;
30075 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30076 }
30077 }
30078 {
30079 PyThreadState* __tstate = wxPyBeginAllowThreads();
30080 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
30081
30082 wxPyEndAllowThreads(__tstate);
30083 if (PyErr_Occurred()) SWIG_fail;
30084 }
30085 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
30086 return resultobj;
30087 fail:
30088 return NULL;
30089}
30090
30091
30092static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30093 PyObject *resultobj;
30094 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30095 wxPoint result;
30096 PyObject * obj0 = 0 ;
30097 char *kwnames[] = {
30098 (char *) "self", NULL
30099 };
30100
30101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
30102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30104 {
30105 PyThreadState* __tstate = wxPyBeginAllowThreads();
30106 result = ((wxHelpEvent const *)arg1)->GetPosition();
30107
30108 wxPyEndAllowThreads(__tstate);
30109 if (PyErr_Occurred()) SWIG_fail;
30110 }
30111 {
30112 wxPoint * resultptr;
30113 resultptr = new wxPoint((wxPoint &) result);
30114 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
30115 }
30116 return resultobj;
30117 fail:
30118 return NULL;
30119}
30120
30121
30122static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
30123 PyObject *resultobj;
30124 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30125 wxPoint *arg2 = 0 ;
30126 wxPoint temp2 ;
30127 PyObject * obj0 = 0 ;
30128 PyObject * obj1 = 0 ;
30129 char *kwnames[] = {
30130 (char *) "self",(char *) "pos", NULL
30131 };
30132
30133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
30134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30136 {
30137 arg2 = &temp2;
30138 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30139 }
30140 {
30141 PyThreadState* __tstate = wxPyBeginAllowThreads();
30142 (arg1)->SetPosition((wxPoint const &)*arg2);
30143
30144 wxPyEndAllowThreads(__tstate);
30145 if (PyErr_Occurred()) SWIG_fail;
30146 }
30147 Py_INCREF(Py_None); resultobj = Py_None;
30148 return resultobj;
30149 fail:
30150 return NULL;
30151}
30152
30153
30154static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30155 PyObject *resultobj;
30156 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30157 wxString *result;
30158 PyObject * obj0 = 0 ;
30159 char *kwnames[] = {
30160 (char *) "self", NULL
30161 };
30162
30163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
30164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30166 {
30167 PyThreadState* __tstate = wxPyBeginAllowThreads();
30168 {
30169 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
30170 result = (wxString *) &_result_ref;
30171 }
30172
30173 wxPyEndAllowThreads(__tstate);
30174 if (PyErr_Occurred()) SWIG_fail;
30175 }
30176 {
30177#if wxUSE_UNICODE
30178 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30179#else
30180 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30181#endif
30182 }
30183 return resultobj;
30184 fail:
30185 return NULL;
30186}
30187
30188
30189static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
30190 PyObject *resultobj;
30191 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30192 wxString *arg2 = 0 ;
30193 bool temp2 = False ;
30194 PyObject * obj0 = 0 ;
30195 PyObject * obj1 = 0 ;
30196 char *kwnames[] = {
30197 (char *) "self",(char *) "link", NULL
30198 };
30199
30200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
30201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30203 {
30204 arg2 = wxString_in_helper(obj1);
30205 if (arg2 == NULL) SWIG_fail;
30206 temp2 = True;
30207 }
30208 {
30209 PyThreadState* __tstate = wxPyBeginAllowThreads();
30210 (arg1)->SetLink((wxString const &)*arg2);
30211
30212 wxPyEndAllowThreads(__tstate);
30213 if (PyErr_Occurred()) SWIG_fail;
30214 }
30215 Py_INCREF(Py_None); resultobj = Py_None;
30216 {
30217 if (temp2)
30218 delete arg2;
30219 }
30220 return resultobj;
30221 fail:
30222 {
30223 if (temp2)
30224 delete arg2;
30225 }
30226 return NULL;
30227}
30228
30229
30230static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
30231 PyObject *resultobj;
30232 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30233 wxString *result;
30234 PyObject * obj0 = 0 ;
30235 char *kwnames[] = {
30236 (char *) "self", NULL
30237 };
30238
30239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
30240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30242 {
30243 PyThreadState* __tstate = wxPyBeginAllowThreads();
30244 {
30245 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
30246 result = (wxString *) &_result_ref;
30247 }
30248
30249 wxPyEndAllowThreads(__tstate);
30250 if (PyErr_Occurred()) SWIG_fail;
30251 }
30252 {
30253#if wxUSE_UNICODE
30254 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30255#else
30256 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30257#endif
30258 }
30259 return resultobj;
30260 fail:
30261 return NULL;
30262}
30263
30264
30265static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
30266 PyObject *resultobj;
30267 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30268 wxString *arg2 = 0 ;
30269 bool temp2 = False ;
30270 PyObject * obj0 = 0 ;
30271 PyObject * obj1 = 0 ;
30272 char *kwnames[] = {
30273 (char *) "self",(char *) "target", NULL
30274 };
30275
30276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
30277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30279 {
30280 arg2 = wxString_in_helper(obj1);
30281 if (arg2 == NULL) SWIG_fail;
30282 temp2 = True;
30283 }
30284 {
30285 PyThreadState* __tstate = wxPyBeginAllowThreads();
30286 (arg1)->SetTarget((wxString const &)*arg2);
30287
30288 wxPyEndAllowThreads(__tstate);
30289 if (PyErr_Occurred()) SWIG_fail;
30290 }
30291 Py_INCREF(Py_None); resultobj = Py_None;
30292 {
30293 if (temp2)
30294 delete arg2;
30295 }
30296 return resultobj;
30297 fail:
30298 {
30299 if (temp2)
30300 delete arg2;
30301 }
30302 return NULL;
30303}
30304
30305
30306static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
30307 PyObject *obj;
30308 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30309 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30310 Py_INCREF(obj);
30311 return Py_BuildValue((char *)"");
30312}
30313static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30314 PyObject *resultobj;
30315 wxWindow *arg1 = (wxWindow *) NULL ;
30316 bool arg2 = (bool) True ;
30317 wxContextHelp *result;
30318 PyObject * obj0 = 0 ;
30319 PyObject * obj1 = 0 ;
30320 char *kwnames[] = {
30321 (char *) "window",(char *) "doNow", NULL
30322 };
30323
30324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30325 if (obj0) {
30326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30328 }
30329 if (obj1) {
30330 arg2 = (bool) SWIG_AsBool(obj1);
30331 if (PyErr_Occurred()) SWIG_fail;
30332 }
30333 {
0439c23b 30334 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30335 PyThreadState* __tstate = wxPyBeginAllowThreads();
30336 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30337
30338 wxPyEndAllowThreads(__tstate);
0439c23b 30339 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30340 }
30341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
30342 return resultobj;
30343 fail:
30344 return NULL;
30345}
30346
30347
30348static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30349 PyObject *resultobj;
30350 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30351 PyObject * obj0 = 0 ;
30352 char *kwnames[] = {
30353 (char *) "self", NULL
30354 };
30355
30356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
30357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30359 {
30360 PyThreadState* __tstate = wxPyBeginAllowThreads();
30361 delete arg1;
30362
30363 wxPyEndAllowThreads(__tstate);
30364 if (PyErr_Occurred()) SWIG_fail;
30365 }
30366 Py_INCREF(Py_None); resultobj = Py_None;
30367 return resultobj;
30368 fail:
30369 return NULL;
30370}
30371
30372
30373static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30374 PyObject *resultobj;
30375 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30376 wxWindow *arg2 = (wxWindow *) NULL ;
30377 bool result;
30378 PyObject * obj0 = 0 ;
30379 PyObject * obj1 = 0 ;
30380 char *kwnames[] = {
30381 (char *) "self",(char *) "window", NULL
30382 };
30383
30384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30387 if (obj1) {
30388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30390 }
30391 {
30392 PyThreadState* __tstate = wxPyBeginAllowThreads();
30393 result = (bool)(arg1)->BeginContextHelp(arg2);
30394
30395 wxPyEndAllowThreads(__tstate);
30396 if (PyErr_Occurred()) SWIG_fail;
30397 }
30398 {
30399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30400 }
30401 return resultobj;
30402 fail:
30403 return NULL;
30404}
30405
30406
30407static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30408 PyObject *resultobj;
30409 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30410 bool result;
30411 PyObject * obj0 = 0 ;
30412 char *kwnames[] = {
30413 (char *) "self", NULL
30414 };
30415
30416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30419 {
30420 PyThreadState* __tstate = wxPyBeginAllowThreads();
30421 result = (bool)(arg1)->EndContextHelp();
30422
30423 wxPyEndAllowThreads(__tstate);
30424 if (PyErr_Occurred()) SWIG_fail;
30425 }
30426 {
30427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30428 }
30429 return resultobj;
30430 fail:
30431 return NULL;
30432}
30433
30434
30435static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
30436 PyObject *obj;
30437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30438 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30439 Py_INCREF(obj);
30440 return Py_BuildValue((char *)"");
30441}
30442static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
30443 PyObject *resultobj;
30444 wxWindow *arg1 = (wxWindow *) 0 ;
30445 int arg2 = (int) wxID_CONTEXT_HELP ;
30446 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30447 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30448 wxSize const &arg4_defvalue = wxDefaultSize ;
30449 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30450 long arg5 = (long) wxBU_AUTODRAW ;
30451 wxContextHelpButton *result;
30452 wxPoint temp3 ;
30453 wxSize temp4 ;
30454 PyObject * obj0 = 0 ;
30455 PyObject * obj1 = 0 ;
30456 PyObject * obj2 = 0 ;
30457 PyObject * obj3 = 0 ;
30458 PyObject * obj4 = 0 ;
30459 char *kwnames[] = {
30460 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30461 };
30462
30463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30466 if (obj1) {
30467 arg2 = (int) SWIG_AsInt(obj1);
30468 if (PyErr_Occurred()) SWIG_fail;
30469 }
30470 if (obj2) {
30471 {
30472 arg3 = &temp3;
30473 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30474 }
30475 }
30476 if (obj3) {
30477 {
30478 arg4 = &temp4;
30479 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30480 }
30481 }
30482 if (obj4) {
30483 arg5 = (long) SWIG_AsLong(obj4);
30484 if (PyErr_Occurred()) SWIG_fail;
30485 }
30486 {
0439c23b 30487 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30488 PyThreadState* __tstate = wxPyBeginAllowThreads();
30489 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30490
30491 wxPyEndAllowThreads(__tstate);
0439c23b 30492 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30493 }
30494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30495 return resultobj;
30496 fail:
30497 return NULL;
30498}
30499
30500
30501static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
30502 PyObject *obj;
30503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30504 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30505 Py_INCREF(obj);
30506 return Py_BuildValue((char *)"");
30507}
30508static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
30509 PyObject *resultobj;
30510 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30511 wxHelpProvider *result;
30512 PyObject * obj0 = 0 ;
30513 char *kwnames[] = {
30514 (char *) "helpProvider", NULL
30515 };
30516
30517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30520 {
30521 PyThreadState* __tstate = wxPyBeginAllowThreads();
30522 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30523
30524 wxPyEndAllowThreads(__tstate);
30525 if (PyErr_Occurred()) SWIG_fail;
30526 }
30527 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30528 return resultobj;
30529 fail:
30530 return NULL;
30531}
30532
30533
30534static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
30535 PyObject *resultobj;
30536 wxHelpProvider *result;
30537 char *kwnames[] = {
30538 NULL
30539 };
30540
30541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30542 {
30543 PyThreadState* __tstate = wxPyBeginAllowThreads();
30544 result = (wxHelpProvider *)wxHelpProvider::Get();
30545
30546 wxPyEndAllowThreads(__tstate);
30547 if (PyErr_Occurred()) SWIG_fail;
30548 }
30549 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30550 return resultobj;
30551 fail:
30552 return NULL;
30553}
30554
30555
30556static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30557 PyObject *resultobj;
30558 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30559 wxWindow *arg2 = (wxWindow *) 0 ;
30560 wxString result;
30561 PyObject * obj0 = 0 ;
30562 PyObject * obj1 = 0 ;
30563 char *kwnames[] = {
30564 (char *) "self",(char *) "window", NULL
30565 };
30566
30567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
30568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30572 {
30573 PyThreadState* __tstate = wxPyBeginAllowThreads();
30574 result = (arg1)->GetHelp((wxWindow const *)arg2);
30575
30576 wxPyEndAllowThreads(__tstate);
30577 if (PyErr_Occurred()) SWIG_fail;
30578 }
30579 {
30580#if wxUSE_UNICODE
30581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30582#else
30583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30584#endif
30585 }
30586 return resultobj;
30587 fail:
30588 return NULL;
30589}
30590
30591
30592static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30593 PyObject *resultobj;
30594 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30595 wxWindow *arg2 = (wxWindow *) 0 ;
30596 bool result;
30597 PyObject * obj0 = 0 ;
30598 PyObject * obj1 = 0 ;
30599 char *kwnames[] = {
30600 (char *) "self",(char *) "window", NULL
30601 };
30602
30603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
30604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30608 {
30609 PyThreadState* __tstate = wxPyBeginAllowThreads();
30610 result = (bool)(arg1)->ShowHelp(arg2);
30611
30612 wxPyEndAllowThreads(__tstate);
30613 if (PyErr_Occurred()) SWIG_fail;
30614 }
30615 {
30616 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30617 }
30618 return resultobj;
30619 fail:
30620 return NULL;
30621}
30622
30623
30624static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30625 PyObject *resultobj;
30626 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30627 wxWindow *arg2 = (wxWindow *) 0 ;
30628 wxString *arg3 = 0 ;
30629 bool temp3 = False ;
30630 PyObject * obj0 = 0 ;
30631 PyObject * obj1 = 0 ;
30632 PyObject * obj2 = 0 ;
30633 char *kwnames[] = {
30634 (char *) "self",(char *) "window",(char *) "text", NULL
30635 };
30636
30637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
30638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30640 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30642 {
30643 arg3 = wxString_in_helper(obj2);
30644 if (arg3 == NULL) SWIG_fail;
30645 temp3 = True;
30646 }
30647 {
30648 PyThreadState* __tstate = wxPyBeginAllowThreads();
30649 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30650
30651 wxPyEndAllowThreads(__tstate);
30652 if (PyErr_Occurred()) SWIG_fail;
30653 }
30654 Py_INCREF(Py_None); resultobj = Py_None;
30655 {
30656 if (temp3)
30657 delete arg3;
30658 }
30659 return resultobj;
30660 fail:
30661 {
30662 if (temp3)
30663 delete arg3;
30664 }
30665 return NULL;
30666}
30667
30668
30669static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
30670 PyObject *resultobj;
30671 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30672 int arg2 ;
30673 wxString *arg3 = 0 ;
30674 bool temp3 = False ;
30675 PyObject * obj0 = 0 ;
30676 PyObject * obj1 = 0 ;
30677 PyObject * obj2 = 0 ;
30678 char *kwnames[] = {
30679 (char *) "self",(char *) "id",(char *) "text", NULL
30680 };
30681
30682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
30683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30685 arg2 = (int) SWIG_AsInt(obj1);
30686 if (PyErr_Occurred()) SWIG_fail;
30687 {
30688 arg3 = wxString_in_helper(obj2);
30689 if (arg3 == NULL) SWIG_fail;
30690 temp3 = True;
30691 }
30692 {
30693 PyThreadState* __tstate = wxPyBeginAllowThreads();
30694 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30695
30696 wxPyEndAllowThreads(__tstate);
30697 if (PyErr_Occurred()) SWIG_fail;
30698 }
30699 Py_INCREF(Py_None); resultobj = Py_None;
30700 {
30701 if (temp3)
30702 delete arg3;
30703 }
30704 return resultobj;
30705 fail:
30706 {
30707 if (temp3)
30708 delete arg3;
30709 }
30710 return NULL;
30711}
30712
30713
30714static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30715 PyObject *resultobj;
30716 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30717 wxWindow *arg2 = (wxWindow *) 0 ;
30718 PyObject * obj0 = 0 ;
30719 PyObject * obj1 = 0 ;
30720 char *kwnames[] = {
30721 (char *) "self",(char *) "window", NULL
30722 };
30723
30724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30729 {
30730 PyThreadState* __tstate = wxPyBeginAllowThreads();
30731 (arg1)->RemoveHelp(arg2);
30732
30733 wxPyEndAllowThreads(__tstate);
30734 if (PyErr_Occurred()) SWIG_fail;
30735 }
30736 Py_INCREF(Py_None); resultobj = Py_None;
30737 return resultobj;
30738 fail:
30739 return NULL;
30740}
30741
30742
30743static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
30744 PyObject *resultobj;
30745 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30746 PyObject * obj0 = 0 ;
30747 char *kwnames[] = {
30748 (char *) "self", NULL
30749 };
30750
30751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
30752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30754 {
30755 PyThreadState* __tstate = wxPyBeginAllowThreads();
30756 wxHelpProvider_Destroy(arg1);
30757
30758 wxPyEndAllowThreads(__tstate);
30759 if (PyErr_Occurred()) SWIG_fail;
30760 }
30761 Py_INCREF(Py_None); resultobj = Py_None;
30762 return resultobj;
30763 fail:
30764 return NULL;
30765}
30766
30767
30768static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
30769 PyObject *obj;
30770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30771 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30772 Py_INCREF(obj);
30773 return Py_BuildValue((char *)"");
30774}
30775static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
30776 PyObject *resultobj;
30777 wxSimpleHelpProvider *result;
30778 char *kwnames[] = {
30779 NULL
30780 };
30781
30782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30783 {
30784 PyThreadState* __tstate = wxPyBeginAllowThreads();
30785 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30786
30787 wxPyEndAllowThreads(__tstate);
30788 if (PyErr_Occurred()) SWIG_fail;
30789 }
30790 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
30791 return resultobj;
30792 fail:
30793 return NULL;
30794}
30795
30796
30797static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
30798 PyObject *obj;
30799 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30800 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30801 Py_INCREF(obj);
30802 return Py_BuildValue((char *)"");
30803}
30804static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30805 PyObject *resultobj;
30806 wxBitmap *arg1 = 0 ;
30807 wxCursor const &arg2_defvalue = wxNullCursor ;
30808 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30809 wxGenericDragImage *result;
30810 PyObject * obj0 = 0 ;
30811 PyObject * obj1 = 0 ;
30812 char *kwnames[] = {
30813 (char *) "image",(char *) "cursor", NULL
30814 };
30815
30816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
30817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
30818 SWIG_POINTER_EXCEPTION | 0)) == -1)
30819 SWIG_fail;
30820 if (arg1 == NULL) {
30821 PyErr_SetString(PyExc_TypeError,"null reference");
30822 SWIG_fail;
30823 }
30824 if (obj1) {
30825 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30826 SWIG_POINTER_EXCEPTION | 0)) == -1)
30827 SWIG_fail;
30828 if (arg2 == NULL) {
30829 PyErr_SetString(PyExc_TypeError,"null reference");
30830 SWIG_fail;
30831 }
30832 }
30833 {
0439c23b 30834 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30835 PyThreadState* __tstate = wxPyBeginAllowThreads();
30836 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
30837
30838 wxPyEndAllowThreads(__tstate);
0439c23b 30839 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30840 }
30841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30842 return resultobj;
30843 fail:
30844 return NULL;
30845}
30846
30847
30848static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
30849 PyObject *resultobj;
30850 wxIcon *arg1 = 0 ;
30851 wxCursor const &arg2_defvalue = wxNullCursor ;
30852 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30853 wxGenericDragImage *result;
30854 PyObject * obj0 = 0 ;
30855 PyObject * obj1 = 0 ;
30856 char *kwnames[] = {
30857 (char *) "image",(char *) "cursor", NULL
30858 };
30859
30860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
30861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
30862 SWIG_POINTER_EXCEPTION | 0)) == -1)
30863 SWIG_fail;
30864 if (arg1 == NULL) {
30865 PyErr_SetString(PyExc_TypeError,"null reference");
30866 SWIG_fail;
30867 }
30868 if (obj1) {
30869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30870 SWIG_POINTER_EXCEPTION | 0)) == -1)
30871 SWIG_fail;
30872 if (arg2 == NULL) {
30873 PyErr_SetString(PyExc_TypeError,"null reference");
30874 SWIG_fail;
30875 }
30876 }
30877 {
0439c23b 30878 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30879 PyThreadState* __tstate = wxPyBeginAllowThreads();
30880 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
30881
30882 wxPyEndAllowThreads(__tstate);
0439c23b 30883 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30884 }
30885 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30886 return resultobj;
30887 fail:
30888 return NULL;
30889}
30890
30891
30892static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
30893 PyObject *resultobj;
30894 wxString *arg1 = 0 ;
30895 wxCursor const &arg2_defvalue = wxNullCursor ;
30896 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30897 wxGenericDragImage *result;
30898 bool temp1 = False ;
30899 PyObject * obj0 = 0 ;
30900 PyObject * obj1 = 0 ;
30901 char *kwnames[] = {
30902 (char *) "str",(char *) "cursor", NULL
30903 };
30904
30905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
30906 {
30907 arg1 = wxString_in_helper(obj0);
30908 if (arg1 == NULL) SWIG_fail;
30909 temp1 = True;
30910 }
30911 if (obj1) {
30912 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30913 SWIG_POINTER_EXCEPTION | 0)) == -1)
30914 SWIG_fail;
30915 if (arg2 == NULL) {
30916 PyErr_SetString(PyExc_TypeError,"null reference");
30917 SWIG_fail;
30918 }
30919 }
30920 {
0439c23b 30921 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30922 PyThreadState* __tstate = wxPyBeginAllowThreads();
30923 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
30924
30925 wxPyEndAllowThreads(__tstate);
0439c23b 30926 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30927 }
30928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30929 {
30930 if (temp1)
30931 delete arg1;
30932 }
30933 return resultobj;
30934 fail:
30935 {
30936 if (temp1)
30937 delete arg1;
30938 }
30939 return NULL;
30940}
30941
30942
30943static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30944 PyObject *resultobj;
30945 wxPyTreeCtrl *arg1 = 0 ;
30946 wxTreeItemId *arg2 = 0 ;
30947 wxGenericDragImage *result;
30948 PyObject * obj0 = 0 ;
30949 PyObject * obj1 = 0 ;
30950 char *kwnames[] = {
30951 (char *) "treeCtrl",(char *) "id", NULL
30952 };
30953
30954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
30955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
30956 SWIG_POINTER_EXCEPTION | 0)) == -1)
30957 SWIG_fail;
30958 if (arg1 == NULL) {
30959 PyErr_SetString(PyExc_TypeError,"null reference");
30960 SWIG_fail;
30961 }
30962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
30963 SWIG_POINTER_EXCEPTION | 0)) == -1)
30964 SWIG_fail;
30965 if (arg2 == NULL) {
30966 PyErr_SetString(PyExc_TypeError,"null reference");
30967 SWIG_fail;
30968 }
30969 {
0439c23b 30970 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
30971 PyThreadState* __tstate = wxPyBeginAllowThreads();
30972 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
30973
30974 wxPyEndAllowThreads(__tstate);
0439c23b 30975 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
30976 }
30977 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30978 return resultobj;
30979 fail:
30980 return NULL;
30981}
30982
30983
30984static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30985 PyObject *resultobj;
30986 wxPyListCtrl *arg1 = 0 ;
30987 long arg2 ;
30988 wxGenericDragImage *result;
30989 PyObject * obj0 = 0 ;
30990 PyObject * obj1 = 0 ;
30991 char *kwnames[] = {
30992 (char *) "listCtrl",(char *) "id", NULL
30993 };
30994
30995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
30996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
30997 SWIG_POINTER_EXCEPTION | 0)) == -1)
30998 SWIG_fail;
30999 if (arg1 == NULL) {
31000 PyErr_SetString(PyExc_TypeError,"null reference");
31001 SWIG_fail;
31002 }
31003 arg2 = (long) SWIG_AsLong(obj1);
31004 if (PyErr_Occurred()) SWIG_fail;
31005 {
0439c23b 31006 if (!wxPyCheckForApp()) SWIG_fail;
d55e5bfc
RD
31007 PyThreadState* __tstate = wxPyBeginAllowThreads();
31008 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
31009
31010 wxPyEndAllowThreads(__tstate);
0439c23b 31011 if (PyErr_Occurred()) SWIG_fail;
d55e5bfc
RD
31012 }
31013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
31014 return resultobj;
31015 fail:
31016 return NULL;
31017}
31018
31019
31020static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31021 PyObject *resultobj;
31022 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31023 PyObject * obj0 = 0 ;
31024 char *kwnames[] = {
31025 (char *) "self", NULL
31026 };
31027
31028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
31029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31031 {
31032 PyThreadState* __tstate = wxPyBeginAllowThreads();
31033 delete arg1;
31034
31035 wxPyEndAllowThreads(__tstate);
31036 if (PyErr_Occurred()) SWIG_fail;
31037 }
31038 Py_INCREF(Py_None); resultobj = Py_None;
31039 return resultobj;
31040 fail:
31041 return NULL;
31042}
31043
31044
31045static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
31046 PyObject *resultobj;
31047 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31048 wxBitmap *arg2 = (wxBitmap *) 0 ;
31049 PyObject * obj0 = 0 ;
31050 PyObject * obj1 = 0 ;
31051 char *kwnames[] = {
31052 (char *) "self",(char *) "bitmap", NULL
31053 };
31054
31055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
31056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31058 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31060 {
31061 PyThreadState* __tstate = wxPyBeginAllowThreads();
31062 (arg1)->SetBackingBitmap(arg2);
31063
31064 wxPyEndAllowThreads(__tstate);
31065 if (PyErr_Occurred()) SWIG_fail;
31066 }
31067 Py_INCREF(Py_None); resultobj = Py_None;
31068 return resultobj;
31069 fail:
31070 return NULL;
31071}
31072
31073
31074static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
31075 PyObject *resultobj;
31076 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31077 wxPoint *arg2 = 0 ;
31078 wxWindow *arg3 = (wxWindow *) 0 ;
31079 bool arg4 = (bool) False ;
31080 wxRect *arg5 = (wxRect *) NULL ;
31081 bool result;
31082 wxPoint temp2 ;
31083 PyObject * obj0 = 0 ;
31084 PyObject * obj1 = 0 ;
31085 PyObject * obj2 = 0 ;
31086 PyObject * obj3 = 0 ;
31087 PyObject * obj4 = 0 ;
31088 char *kwnames[] = {
31089 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31090 };
31091
31092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31095 {
31096 arg2 = &temp2;
31097 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31098 }
31099 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31101 if (obj3) {
31102 arg4 = (bool) SWIG_AsBool(obj3);
31103 if (PyErr_Occurred()) SWIG_fail;
31104 }
31105 if (obj4) {
31106 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
31107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31108 }
31109 {
31110 PyThreadState* __tstate = wxPyBeginAllowThreads();
31111 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
31112
31113 wxPyEndAllowThreads(__tstate);
31114 if (PyErr_Occurred()) SWIG_fail;
31115 }
31116 {
31117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31118 }
31119 return resultobj;
31120 fail:
31121 return NULL;
31122}
31123
31124
31125static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
31126 PyObject *resultobj;
31127 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31128 wxPoint *arg2 = 0 ;
31129 wxWindow *arg3 = (wxWindow *) 0 ;
31130 wxWindow *arg4 = (wxWindow *) 0 ;
31131 bool result;
31132 wxPoint temp2 ;
31133 PyObject * obj0 = 0 ;
31134 PyObject * obj1 = 0 ;
31135 PyObject * obj2 = 0 ;
31136 PyObject * obj3 = 0 ;
31137 char *kwnames[] = {
31138 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31139 };
31140
31141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
31142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31144 {
31145 arg2 = &temp2;
31146 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31147 }
31148 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
31149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31150 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
31151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31152 {
31153 PyThreadState* __tstate = wxPyBeginAllowThreads();
31154 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
31155
31156 wxPyEndAllowThreads(__tstate);
31157 if (PyErr_Occurred()) SWIG_fail;
31158 }
31159 {
31160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31161 }
31162 return resultobj;
31163 fail:
31164 return NULL;
31165}
31166
31167
31168static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
31169 PyObject *resultobj;
31170 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31171 bool result;
31172 PyObject * obj0 = 0 ;
31173 char *kwnames[] = {
31174 (char *) "self", NULL
31175 };
31176
31177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
31178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31180 {
31181 PyThreadState* __tstate = wxPyBeginAllowThreads();
31182 result = (bool)(arg1)->EndDrag();
31183
31184 wxPyEndAllowThreads(__tstate);
31185 if (PyErr_Occurred()) SWIG_fail;
31186 }
31187 {
31188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31189 }
31190 return resultobj;
31191 fail:
31192 return NULL;
31193}
31194
31195
31196static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
31197 PyObject *resultobj;
31198 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31199 wxPoint *arg2 = 0 ;
31200 bool result;
31201 wxPoint temp2 ;
31202 PyObject * obj0 = 0 ;
31203 PyObject * obj1 = 0 ;
31204 char *kwnames[] = {
31205 (char *) "self",(char *) "pt", NULL
31206 };
31207
31208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
31209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31211 {
31212 arg2 = &temp2;
31213 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31214 }
31215 {
31216 PyThreadState* __tstate = wxPyBeginAllowThreads();
31217 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
31218
31219 wxPyEndAllowThreads(__tstate);
31220 if (PyErr_Occurred()) SWIG_fail;
31221 }
31222 {
31223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31224 }
31225 return resultobj;
31226 fail:
31227 return NULL;
31228}
31229
31230
31231static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
31232 PyObject *resultobj;
31233 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31234 bool result;
31235 PyObject * obj0 = 0 ;
31236 char *kwnames[] = {
31237 (char *) "self", NULL
31238 };
31239
31240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
31241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31243 {
31244 PyThreadState* __tstate = wxPyBeginAllowThreads();
31245 result = (bool)(arg1)->Show();
31246
31247 wxPyEndAllowThreads(__tstate);
31248 if (PyErr_Occurred()) SWIG_fail;
31249 }
31250 {
31251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31252 }
31253 return resultobj;
31254 fail:
31255 return NULL;
31256}
31257
31258
31259static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
31260 PyObject *resultobj;
31261 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31262 bool result;
31263 PyObject * obj0 = 0 ;
31264 char *kwnames[] = {
31265 (char *) "self", NULL
31266 };
31267
31268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
31269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31271 {
31272 PyThreadState* __tstate = wxPyBeginAllowThreads();
31273 result = (bool)(arg1)->Hide();
31274
31275 wxPyEndAllowThreads(__tstate);
31276 if (PyErr_Occurred()) SWIG_fail;
31277 }
31278 {
31279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31280 }
31281 return resultobj;
31282 fail:
31283 return NULL;
31284}
31285
31286
31287static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
31288 PyObject *resultobj;
31289 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31290 wxPoint *arg2 = 0 ;
31291 wxRect result;
31292 wxPoint temp2 ;
31293 PyObject * obj0 = 0 ;
31294 PyObject * obj1 = 0 ;
31295 char *kwnames[] = {
31296 (char *) "self",(char *) "pos", NULL
31297 };
31298
31299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
31300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31302 {
31303 arg2 = &temp2;
31304 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31305 }
31306 {
31307 PyThreadState* __tstate = wxPyBeginAllowThreads();
31308 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31309
31310 wxPyEndAllowThreads(__tstate);
31311 if (PyErr_Occurred()) SWIG_fail;
31312 }
31313 {
31314 wxRect * resultptr;
31315 resultptr = new wxRect((wxRect &) result);
31316 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31317 }
31318 return resultobj;
31319 fail:
31320 return NULL;
31321}
31322
31323
31324static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31325 PyObject *resultobj;
31326 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31327 wxDC *arg2 = 0 ;
31328 wxPoint *arg3 = 0 ;
31329 bool result;
31330 wxPoint temp3 ;
31331 PyObject * obj0 = 0 ;
31332 PyObject * obj1 = 0 ;
31333 PyObject * obj2 = 0 ;
31334 char *kwnames[] = {
31335 (char *) "self",(char *) "dc",(char *) "pos", NULL
31336 };
31337
31338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
31339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31342 SWIG_POINTER_EXCEPTION | 0)) == -1)
31343 SWIG_fail;
31344 if (arg2 == NULL) {
31345 PyErr_SetString(PyExc_TypeError,"null reference");
31346 SWIG_fail;
31347 }
31348 {
31349 arg3 = &temp3;
31350 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31351 }
31352 {
31353 PyThreadState* __tstate = wxPyBeginAllowThreads();
31354 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31355
31356 wxPyEndAllowThreads(__tstate);
31357 if (PyErr_Occurred()) SWIG_fail;
31358 }
31359 {
31360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31361 }
31362 return resultobj;
31363 fail:
31364 return NULL;
31365}
31366
31367
31368static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
31369 PyObject *resultobj;
31370 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31371 wxDC *arg2 = 0 ;
31372 wxMemoryDC *arg3 = 0 ;
31373 wxRect *arg4 = 0 ;
31374 wxRect *arg5 = 0 ;
31375 bool result;
31376 wxRect temp4 ;
31377 wxRect temp5 ;
31378 PyObject * obj0 = 0 ;
31379 PyObject * obj1 = 0 ;
31380 PyObject * obj2 = 0 ;
31381 PyObject * obj3 = 0 ;
31382 PyObject * obj4 = 0 ;
31383 char *kwnames[] = {
31384 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31385 };
31386
31387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31391 SWIG_POINTER_EXCEPTION | 0)) == -1)
31392 SWIG_fail;
31393 if (arg2 == NULL) {
31394 PyErr_SetString(PyExc_TypeError,"null reference");
31395 SWIG_fail;
31396 }
31397 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31398 SWIG_POINTER_EXCEPTION | 0)) == -1)
31399 SWIG_fail;
31400 if (arg3 == NULL) {
31401 PyErr_SetString(PyExc_TypeError,"null reference");
31402 SWIG_fail;
31403 }
31404 {
31405 arg4 = &temp4;
31406 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31407 }
31408 {
31409 arg5 = &temp5;
31410 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31411 }
31412 {
31413 PyThreadState* __tstate = wxPyBeginAllowThreads();
31414 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
31415
31416 wxPyEndAllowThreads(__tstate);
31417 if (PyErr_Occurred()) SWIG_fail;
31418 }
31419 {
31420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31421 }
31422 return resultobj;
31423 fail:
31424 return NULL;
31425}
31426
31427
31428static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31429 PyObject *resultobj;
31430 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31431 wxPoint *arg2 = 0 ;
31432 wxPoint *arg3 = 0 ;
31433 bool arg4 ;
31434 bool arg5 ;
31435 bool result;
31436 wxPoint temp2 ;
31437 wxPoint temp3 ;
31438 PyObject * obj0 = 0 ;
31439 PyObject * obj1 = 0 ;
31440 PyObject * obj2 = 0 ;
31441 PyObject * obj3 = 0 ;
31442 PyObject * obj4 = 0 ;
31443 char *kwnames[] = {
31444 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31445 };
31446
31447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31450 {
31451 arg2 = &temp2;
31452 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31453 }
31454 {
31455 arg3 = &temp3;
31456 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31457 }
31458 arg4 = (bool) SWIG_AsBool(obj3);
31459 if (PyErr_Occurred()) SWIG_fail;
31460 arg5 = (bool) SWIG_AsBool(obj4);
31461 if (PyErr_Occurred()) SWIG_fail;
31462 {
31463 PyThreadState* __tstate = wxPyBeginAllowThreads();
31464 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31465
31466 wxPyEndAllowThreads(__tstate);
31467 if (PyErr_Occurred()) SWIG_fail;
31468 }
31469 {
31470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31471 }
31472 return resultobj;
31473 fail:
31474 return NULL;
31475}
31476
31477
31478static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
31479 PyObject *obj;
31480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31481 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31482 Py_INCREF(obj);
31483 return Py_BuildValue((char *)"");
31484}
31485static PyMethodDef SwigMethods[] = {
31486 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
31487 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
31488 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
31489 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
31490 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31491 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31492 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
31493 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
31494 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
31495 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
31496 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31497 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31498 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31499 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31500 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31501 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31502 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31503 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31504 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
31505 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
31506 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
31507 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
31508 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
31509 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
31510 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
31511 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31512 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31513 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31514 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
31515 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
31516 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
31517 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31518 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31519 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
31520 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
31521 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
31522 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
31523 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
31524 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31525 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31526 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31527 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
31528 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
31529 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
31530 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
31531 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31532 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31533 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
31534 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
31535 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
31536 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31537 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31538 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31539 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
31540 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31541 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
121b9a67
RD
31542 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31543 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31544 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
31545 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31546 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31547 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31548 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
31549 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
31550 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
31551 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
31552 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
31553 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
31554 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
31555 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
31556 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
31557 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31558 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31559 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
31560 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31561 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31562 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
31563 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
31564 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
31565 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31566 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31567 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
31568 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
31569 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
31570 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
31571 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
31572 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31573 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31574 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
31575 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
31576 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
31577 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31578 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31579 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
31580 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
31581 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
31582 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
31583 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31584 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
31585 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31586 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31587 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
31588 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
31589 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
31590 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
31591 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
31592 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
31593 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
31594 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
31595 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31596 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
31597 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
31598 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
31599 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31600 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
31601 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
31602 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
31603 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31604 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
31605 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
31606 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
31607 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31608 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31609 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31610 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
31611 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
31612 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
31613 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
31614 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31615 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
31616 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
31617 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
31618 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
31619 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
31620 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
31621 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
31622 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
31623 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31624 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31625 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31626 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
31627 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
31628 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31629 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
31630 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
31631 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31632 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31633 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31634 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
31635 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
31636 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
31637 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
31638 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
31639 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31640 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31641 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31642 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
31643 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
31644 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
a07a67e6 31645 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction) _wrap_TextAttr_GetLeftSubIndent, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31646 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
31647 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
31648 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
31649 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
31650 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
31651 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
31652 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
31653 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31654 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31655 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31656 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
31657 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
31658 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
31659 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
31660 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
31661 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
31662 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
31663 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
31664 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31665 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31666 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
31667 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
31668 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
31669 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
31670 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
31671 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
31672 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
31673 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
31674 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
31675 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
31676 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
31677 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
31678 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
31679 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31680 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31681 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
31682 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
31683 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
31684 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31685 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
31686 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
31687 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
31688 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
31689 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
31690 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
31691 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
31692 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
31693 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
31694 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
31695 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31696 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31697 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31698 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31699 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31700 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
31701 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
31702 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
31703 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
31704 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
31705 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31706 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31707 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
31708 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
31709 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
31710 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
31711 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
31712 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
31713 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
31714 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
31715 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
31716 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31717 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
31718 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31719 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
31720 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
31721 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31722 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31723 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31724 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
31725 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
31726 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
31727 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
31728 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31729 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
31730 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
31731 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31732 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
31733 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
31734 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
31735 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31736 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31737 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
31738 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
31739 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
31740 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31741 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31742 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31743 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
31744 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
31745 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
31746 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
31747 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31748 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31749 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
31750 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
31751 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31752 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31753 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
31754 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
31755 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
31756 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
31757 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31758 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
31759 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31760 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31761 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
31762 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
31763 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
31764 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
31765 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
31766 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
31767 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31768 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31769 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31770 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31771 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
31772 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
31773 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
31774 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
31775 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31776 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31777 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31778 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
31779 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
31780 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
31781 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
31782 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
31783 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
31784 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
31785 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
31786 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
31787 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
31788 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
31789 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
31790 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31791 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
31792 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31793 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
31794 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
31795 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
31796 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
31797 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
31798 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
31799 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
31800 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
31801 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
31802 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31803 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31804 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
31805 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
31806 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
31807 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
31808 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31809 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31810 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31811 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31812 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
31813 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
31814 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
31815 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31816 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
31817 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
31818 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31819 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31820 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31821 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
31822 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
31823 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31824 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31825 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
31826 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
31827 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
31828 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
31829 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
31830 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31831 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31832 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31833 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
31834 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
31835 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
31836 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
31837 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
31838 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
31839 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
31840 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
31841 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
31842 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
31843 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31844 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
31845 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
31846 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
31847 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31848 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31849 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31850 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
31851 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
31852 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
31853 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
31854 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
31855 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
31856 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
31857 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
31858 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
31859 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
31860 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
31861 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31862 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31863 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
31864 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
31865 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
31866 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31867 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31868 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
31869 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
31870 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
31871 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
31872 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
31873 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
31874 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
31875 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
31876 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
31877 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
31878 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
31879 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
31880 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
31881 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31882 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31883 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31884 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
31885 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
31886 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
31887 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
31888 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
31889 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31890 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
31891 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
31892 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31893 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31894 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
31895 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
31896 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
31897 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
31898 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
31899 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
31900 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
31901 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
31902 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
31903 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
31904 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
31905 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
31906 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
31907 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
31908 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
31909 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
31910 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
31911 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
31912 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
31913 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
31914 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
31915 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
31916 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31917 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
31918 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
31919 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
31920 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
31921 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
31922 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31923 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31924 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31925 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31926 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
31927 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
31928 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
31929 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31930 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
31931 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
31932 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
31933 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31934 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
31935 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
31936 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
31937 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
31938 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31939 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31940 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
31941 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31942 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
31943 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
31944 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
31945 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
31946 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
31947 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
31948 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31949 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31950 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
31951 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
31952 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31953 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31954 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31955 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31956 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31957 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31958 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31959 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31960 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31961 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
31962 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
31963 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
31964 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
31965 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
31966 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
31967 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
31968 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
31969 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
31970 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
31971 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
31972 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
31973 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
31974 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
31975 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
31976 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
31977 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31978 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31979 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
31980 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
31981 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
31982 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
31983 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
31984 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
31985 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
31986 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
31987 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
31988 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
31989 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
31990 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
31991 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31992 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31993 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
31994 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
31995 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
31996 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
31997 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
31998 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
31999 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
32000 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
32001 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
32002 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
32003 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
32004 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
32005 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
32006 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
32007 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
32008 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
32009 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
32010 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
32011 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
32012 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
32013 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
32014 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
32015 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
32016 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
32017 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
32018 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
32019 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
32020 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
32021 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
32022 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
32023 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
32024 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
32025 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
32026 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
32027 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
32028 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
32029 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
32030 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
32031 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
32032 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
32033 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
32034 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
32035 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
32036 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
32037 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
32038 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
32039 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
32040 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
32041 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
32042 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
32043 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
32044 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32045 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32046 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
32047 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32048 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
32049 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
32050 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
32051 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
32052 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
32053 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
32054 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
32055 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
32056 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
32057 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
32058 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
32059 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
32060 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
32061 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
32062 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
32063 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
32064 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
32065 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
32066 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
32067 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
32068 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
32069 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
32070 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
32071 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
32072 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
32073 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
32074 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
32075 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
32076 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
32077 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
32078 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
32079 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
32080 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
32081 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
32082 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
32083 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
32084 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
32085 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
32086 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
32087 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
32088 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
32089 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
32090 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
32091 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
32092 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
32093 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
32094 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
32095 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
32096 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
32097 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
32098 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
32099 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
32100 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
32101 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
32102 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
32103 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
32104 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
32105 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
32106 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
32107 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
32108 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32109 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32110 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
32111 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
32112 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
32113 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
32114 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
32115 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
32116 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
32117 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
32118 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
32119 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
32120 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
32121 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
32122 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
32123 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
32124 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
32125 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
32126 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
32127 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
32128 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
32129 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
32130 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
32131 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
32132 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
32133 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
32134 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
32135 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
32136 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
32137 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
32138 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
32139 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
32140 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
32141 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
32142 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
32143 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
32144 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
32145 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
32146 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
32147 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
32148 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
32149 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
32150 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
32151 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
32152 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
32153 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
32154 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
32155 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
32156 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
32157 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
32158 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
32159 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32160 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
32161 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
32162 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
32163 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
32164 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
32165 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
32166 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
32167 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
32168 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
32169 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
32170 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
32171 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
32172 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
32173 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
32174 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
32175 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
32176 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
32177 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32178 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
32179 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
32180 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
32181 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
32182 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
32183 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
32184 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
32185 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
32186 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
32187 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
32188 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
32189 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
32190 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
32191 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
32192 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
32193 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
32194 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
32195 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
32196 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
32197 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
32198 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
32199 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
32200 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
32201 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
32202 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
32203 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
32204 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
32205 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
32206 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
32207 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
32208 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
32209 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
32210 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
32211 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
32212 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
32213 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
32214 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
32215 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
32216 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
32217 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
32218 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
32219 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
32220 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
32221 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
32222 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
32223 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
32224 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
32225 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
32226 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
32227 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
32228 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
32229 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
32230 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
32231 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
32232 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
32233 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
32234 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
32235 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
32236 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32237 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
32238 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
32239 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
32240 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
32241 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
32242 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
32243 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
32244 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
32245 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
32246 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
32247 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
32248 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
32249 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
32250 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
32251 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32252 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
32253 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
32254 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
32255 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
32256 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32257 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
32258 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
32259 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
32260 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
32261 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
32262 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
32263 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
caef1a4d 32264 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
32265 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
32266 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
32267 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
32268 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
32269 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
32270 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
32271 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
32272 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
32273 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
32274 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
32275 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
32276 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
32277 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
32278 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
32279 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
32280 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
32281 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
32282 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
32283 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
32284 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
caef1a4d 32285 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
32286 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
32287 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
32288 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
32289 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
32290 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
32291 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
32292 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
32293 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
32294 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
32295 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
32296 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
32297 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
32298 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
32299 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
32300 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
32301 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
32302 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
32303 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
32304 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
32305 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
32306 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
32307 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
32308 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
32309 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
32310 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
32311 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
32312 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
32313 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
32314 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
32315 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
32316 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
32317 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
32318 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
32319 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
32320 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
32321 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
32322 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
32323 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
32324 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
32325 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
32326 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
32327 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
32328 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
32329 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
32330 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
32331 { NULL, NULL }
32332};
32333
32334
32335/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32336
32337static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
32338 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32339}
32340static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
32341 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
32342}
32343static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32344 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32345}
32346static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32347 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32348}
32349static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32350 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32351}
32352static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32353 return (void *)((wxSizer *) ((wxGridSizer *) x));
32354}
32355static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32356 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32357}
32358static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32359 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32360}
32361static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32362 return (void *)((wxSizer *) ((wxPySizer *) x));
32363}
32364static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32365 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32366}
32367static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32368 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32369}
32370static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32371 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32372}
32373static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32374 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32375}
32376static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32377 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32378}
32379static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32380 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32381}
32382static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32383 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32384}
32385static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32386 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32387}
32388static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32389 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32390}
32391static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32392 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32393}
32394static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32395 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32396}
32397static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32398 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32399}
32400static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32401 return (void *)((wxEvent *) ((wxPyEvent *) x));
32402}
32403static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32404 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32405}
32406static void *_p_wxListEventTo_p_wxEvent(void *x) {
32407 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32408}
32409static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32410 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32411}
32412static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32413 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32414}
32415static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32416 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32417}
32418static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32419 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32420}
32421static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32422 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32423}
32424static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32425 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32426}
32427static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32428 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32429}
32430static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32431 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32432}
32433static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32434 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32435}
32436static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32437 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32438}
32439static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32440 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32441}
32442static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32443 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32444}
32445static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32446 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32447}
32448static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32449 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32450}
32451static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32452 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32453}
32454static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32455 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32456}
32457static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32458 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32459}
32460static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32461 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32462}
32463static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32464 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32465}
32466static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32467 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32468}
32469static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32470 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32471}
32472static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32473 return (void *)((wxEvent *) ((wxShowEvent *) x));
32474}
32475static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32476 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32477}
32478static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32479 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32480}
32481static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32482 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32483}
32484static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32485 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32486}
32487static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32488 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32489}
32490static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32491 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32492}
32493static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32494 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32495}
32496static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32497 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32498}
32499static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32500 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32501}
32502static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32503 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32504}
32505static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32506 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32507}
32508static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32509 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32510}
32511static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32512 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32513}
32514static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32515 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32516}
32517static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32518 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32519}
32520static void *_p_wxListBoxTo_p_wxControl(void *x) {
32521 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32522}
32523static void *_p_wxChoiceTo_p_wxControl(void *x) {
32524 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32525}
32526static void *_p_wxToolBarTo_p_wxControl(void *x) {
32527 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32528}
32529static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32530 return (void *)((wxControl *) ((wxStaticBitmap *) x));
32531}
32532static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32533 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32534}
32535static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32536 return (void *)((wxControl *) ((wxSpinCtrl *) x));
32537}
32538static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32539 return (void *)((wxControl *) ((wxStaticBox *) x));
32540}
32541static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32542 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32543}
32544static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32545 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
32546}
32547static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32548 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32549}
32550static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32551 return (void *)((wxControl *) ((wxScrollBar *) x));
32552}
32553static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32554 return (void *)((wxControl *) ((wxBookCtrl *) x));
32555}
32556static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32557 return (void *)((wxControl *) ((wxRadioButton *) x));
32558}
32559static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32560 return (void *)((wxControl *) ((wxToggleButton *) x));
32561}
32562static void *_p_wxGaugeTo_p_wxControl(void *x) {
32563 return (void *)((wxControl *) ((wxGauge *) x));
32564}
32565static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32566 return (void *)((wxControl *) ((wxToolBarBase *) x));
32567}
32568static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32569 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32570}
32571static void *_p_wxButtonTo_p_wxControl(void *x) {
32572 return (void *)((wxControl *) ((wxButton *) x));
32573}
32574static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32575 return (void *)((wxControl *) ((wxSpinButton *) x));
32576}
32577static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32578 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32579}
32580static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32581 return (void *)((wxControl *) ((wxControlWithItems *) x));
32582}
32583static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32584 return (void *)((wxControl *) ((wxRadioBox *) x));
32585}
32586static void *_p_wxNotebookTo_p_wxControl(void *x) {
32587 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
32588}
32589static void *_p_wxListbookTo_p_wxControl(void *x) {
32590 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
32591}
32592static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32593 return (void *)((wxControl *) ((wxCheckBox *) x));
32594}
32595static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32596 return (void *)((wxControl *) ((wxTextCtrl *) x));
32597}
32598static void *_p_wxListViewTo_p_wxControl(void *x) {
32599 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32600}
32601static void *_p_wxSliderTo_p_wxControl(void *x) {
32602 return (void *)((wxControl *) ((wxSlider *) x));
32603}
32604static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32605 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
32606}
32607static void *_p_wxPyControlTo_p_wxControl(void *x) {
32608 return (void *)((wxControl *) ((wxPyControl *) x));
32609}
32610static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32611 return (void *)((wxControl *) ((wxStaticLine *) x));
32612}
32613static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32614 return (void *)((wxControl *) ((wxStaticText *) x));
32615}
32616static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32617 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32618}
32619static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
32620 return (void *)((wxChoice *) ((wxComboBox *) x));
32621}
32622static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32623 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32624}
32625static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32626 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32627}
32628static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
32629 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32630}
32631static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32632 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32633}
32634static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32635 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32636}
32637static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32638 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32639}
32640static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32641 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
32642}
32643static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
32644 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32645}
32646static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32647 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32648}
32649static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32650 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32651}
32652static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32653 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32654}
32655static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32656 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32657}
32658static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32659 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32660}
32661static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32662 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32663}
32664static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32665 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32666}
32667static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32668 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32669}
32670static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32671 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32672}
32673static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32674 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32675}
32676static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32677 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32678}
32679static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32680 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32681}
32682static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32683 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32684}
32685static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32686 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32687}
32688static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32689 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32690}
32691static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32692 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32693}
32694static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32695 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32696}
32697static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32698 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32699}
32700static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32701 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32702}
32703static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32704 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32705}
32706static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32707 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32708}
32709static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32710 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32711}
32712static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32713 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32714}
32715static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32716 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32717}
32718static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32719 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32720}
32721static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32722 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32723}
32724static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32725 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32726}
32727static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32728 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32729}
32730static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32731 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32732}
32733static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32734 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32735}
32736static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32737 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32738}
32739static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32740 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32741}
32742static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32743 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32744}
32745static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32746 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32747}
32748static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32749 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32750}
32751static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32752 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32753}
32754static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32755 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32756}
32757static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32758 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32759}
32760static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32761 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32762}
32763static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32764 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32765}
32766static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
32767 return (void *)((wxBookCtrl *) ((wxListbook *) x));
32768}
32769static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
32770 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
32771}
32772static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32773 return (void *)((wxButton *) ((wxBitmapButton *) x));
32774}
32775static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32776 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32777}
32778static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32779 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32780}
32781static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32782 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32783}
32784static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32785 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32786}
32787static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32788 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32789}
32790static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32791 return (void *)((wxObject *) ((wxSizerItem *) x));
32792}
32793static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32794 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32795}
32796static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32797 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32798}
32799static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
32800 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
32801}
32802static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
32803 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32804}
32805static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32806 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32807}
32808static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32809 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32810}
32811static void *_p_wxSizerTo_p_wxObject(void *x) {
32812 return (void *)((wxObject *) ((wxSizer *) x));
32813}
32814static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32815 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32816}
32817static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
32818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
32819}
32820static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
32821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32822}
32823static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32825}
32826static void *_p_wxEventTo_p_wxObject(void *x) {
32827 return (void *)((wxObject *) ((wxEvent *) x));
32828}
32829static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32830 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32831}
32832static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32833 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32834}
32835static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32836 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32837}
32838static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
32839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32840}
32841static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
32842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32843}
32844static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
32845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32846}
32847static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32848 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32849}
32850static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32851 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32852}
32853static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32854 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32855}
32856static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32857 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32858}
32859static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32860 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32861}
32862static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32863 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32864}
32865static void *_p_wxStaticLineTo_p_wxObject(void *x) {
32866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
32867}
32868static void *_p_wxControlTo_p_wxObject(void *x) {
32869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32870}
32871static void *_p_wxPyControlTo_p_wxObject(void *x) {
32872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
32873}
32874static void *_p_wxGaugeTo_p_wxObject(void *x) {
32875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
32876}
32877static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
32878 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
32879}
32880static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
32881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
32882}
32883static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
32884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32885}
32886static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32887 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32888}
32889static void *_p_wxChoiceTo_p_wxObject(void *x) {
32890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32891}
32892static void *_p_wxFSFileTo_p_wxObject(void *x) {
32893 return (void *)((wxObject *) ((wxFSFile *) x));
32894}
32895static void *_p_wxPySizerTo_p_wxObject(void *x) {
32896 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32897}
32898static void *_p_wxListViewTo_p_wxObject(void *x) {
32899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32900}
32901static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
32902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32903}
32904static void *_p_wxNotebookTo_p_wxObject(void *x) {
32905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32906}
32907static void *_p_wxPyEventTo_p_wxObject(void *x) {
32908 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32909}
32910static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32911 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32912}
32913static void *_p_wxListbookTo_p_wxObject(void *x) {
32914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32915}
32916static void *_p_wxShowEventTo_p_wxObject(void *x) {
32917 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32918}
32919static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
32920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32921}
32922static void *_p_wxSliderTo_p_wxObject(void *x) {
32923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
32924}
32925static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32926 return (void *)((wxObject *) ((wxMenuItem *) x));
32927}
32928static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32929 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32930}
32931static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32932 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32933}
32934static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32935 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32936}
32937static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32938 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32939}
32940static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32941 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32942}
32943static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32944 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32945}
32946static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32947 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32948}
32949static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32950 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32951}
32952static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
32953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
32954}
32955static void *_p_wxContextHelpTo_p_wxObject(void *x) {
32956 return (void *)((wxObject *) ((wxContextHelp *) x));
32957}
32958static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32959 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32960}
32961static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32962 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32963}
32964static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32965 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32966}
32967static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32968 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32969}
32970static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32971 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32972}
32973static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32974 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32975}
32976static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32977 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32978}
32979static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32980 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32981}
32982static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32983 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32984}
32985static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32986 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32987}
32988static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32989 return (void *)((wxObject *) ((wxImageHandler *) x));
32990}
32991static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32992 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32993}
32994static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32995 return (void *)((wxObject *) ((wxEvtHandler *) x));
32996}
32997static void *_p_wxListEventTo_p_wxObject(void *x) {
32998 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32999}
33000static void *_p_wxListBoxTo_p_wxObject(void *x) {
33001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33002}
33003static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
33004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33005}
33006static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
33007 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
33008}
33009static void *_p_wxButtonTo_p_wxObject(void *x) {
33010 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
33011}
33012static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
33013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
33014}
33015static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
33016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
33017}
33018static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
33019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33020}
33021static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
33022 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
33023}
33024static void *_p_wxScrollBarTo_p_wxObject(void *x) {
33025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
33026}
33027static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
33028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
33029}
33030static void *_p_wxComboBoxTo_p_wxObject(void *x) {
33031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33032}
33033static void *_p_wxHelpEventTo_p_wxObject(void *x) {
33034 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
33035}
33036static void *_p_wxListItemTo_p_wxObject(void *x) {
33037 return (void *)((wxObject *) ((wxListItem *) x));
33038}
33039static void *_p_wxImageTo_p_wxObject(void *x) {
33040 return (void *)((wxObject *) ((wxImage *) x));
33041}
33042static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
33043 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
33044}
33045static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
33046 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
33047}
33048static void *_p_wxSpinEventTo_p_wxObject(void *x) {
33049 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
33050}
33051static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
33052 return (void *)((wxObject *) ((wxGenericDragImage *) x));
33053}
33054static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
33055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
33056}
33057static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
33058 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33059}
33060static void *_p_wxListbookEventTo_p_wxObject(void *x) {
33061 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33062}
33063static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
33064 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33065}
33066static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
33067 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
33068}
33069static void *_p_wxKeyEventTo_p_wxObject(void *x) {
33070 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
33071}
33072static void *_p_wxWindowTo_p_wxObject(void *x) {
33073 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
33074}
33075static void *_p_wxMenuTo_p_wxObject(void *x) {
33076 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
33077}
33078static void *_p_wxMenuBarTo_p_wxObject(void *x) {
33079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
33080}
33081static void *_p_wxFileSystemTo_p_wxObject(void *x) {
33082 return (void *)((wxObject *) ((wxFileSystem *) x));
33083}
33084static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
33085 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
33086}
33087static void *_p_wxMenuEventTo_p_wxObject(void *x) {
33088 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
33089}
33090static void *_p_wxPyAppTo_p_wxObject(void *x) {
33091 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
33092}
33093static void *_p_wxCloseEventTo_p_wxObject(void *x) {
33094 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
33095}
33096static void *_p_wxMouseEventTo_p_wxObject(void *x) {
33097 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
33098}
33099static void *_p_wxEraseEventTo_p_wxObject(void *x) {
33100 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
33101}
33102static void *_p_wxTreeEventTo_p_wxObject(void *x) {
33103 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
33104}
33105static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
33106 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
33107}
33108static void *_p_wxCommandEventTo_p_wxObject(void *x) {
33109 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
33110}
33111static void *_p_wxStaticTextTo_p_wxObject(void *x) {
33112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
33113}
33114static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
33115 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
33116}
33117static void *_p_wxFocusEventTo_p_wxObject(void *x) {
33118 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
33119}
33120static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
33121 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
33122}
33123static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
33124 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
33125}
33126static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
33127 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
33128}
33129static void *_p_wxToolBarTo_p_wxObject(void *x) {
33130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33131}
33132static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
33133 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
33134}
33135static void *_p_wxValidatorTo_p_wxObject(void *x) {
33136 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
33137}
33138static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
33139 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
33140}
33141static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
33142 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
33143}
33144static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
33145 return (void *)((wxWindow *) ((wxMenuBar *) x));
33146}
33147static void *_p_wxToolBarTo_p_wxWindow(void *x) {
33148 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
33149}
33150static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
33151 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
33152}
33153static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
33154 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
33155}
33156static void *_p_wxPyControlTo_p_wxWindow(void *x) {
33157 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
33158}
33159static void *_p_wxControlTo_p_wxWindow(void *x) {
33160 return (void *)((wxWindow *) ((wxControl *) x));
33161}
33162static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
33163 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
33164}
33165static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
33166 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
33167}
33168static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
33169 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
33170}
33171static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
33172 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
33173}
33174static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
33175 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
33176}
33177static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
33178 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
33179}
33180static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
33181 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
33182}
33183static void *_p_wxGaugeTo_p_wxWindow(void *x) {
33184 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
33185}
33186static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
33187 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
33188}
33189static void *_p_wxListbookTo_p_wxWindow(void *x) {
33190 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
33191}
33192static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
33193 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
33194}
33195static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
33196 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
33197}
33198static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
33199 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
33200}
33201static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
33202 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
33203}
33204static void *_p_wxChoiceTo_p_wxWindow(void *x) {
33205 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
33206}
33207static void *_p_wxListBoxTo_p_wxWindow(void *x) {
33208 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
33209}
33210static void *_p_wxListViewTo_p_wxWindow(void *x) {
33211 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
33212}
33213static void *_p_wxNotebookTo_p_wxWindow(void *x) {
33214 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
33215}
33216static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
33217 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
33218}
33219static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
33220 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
33221}
33222static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
33223 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
33224}
33225static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
33226 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
33227}
33228static void *_p_wxSliderTo_p_wxWindow(void *x) {
33229 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
33230}
33231static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
33232 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
33233}
33234static void *_p_wxButtonTo_p_wxWindow(void *x) {
33235 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
33236}
33237static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
33238 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
33239}
33240static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
33241 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
33242}
33243static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
33244 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
33245}
33246static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
33247 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
33248}
33249static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
33250 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
33251}
33252static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
33253 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
33254}
33255static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
33256 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
33257}
33258static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
33259 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
33260}
33261static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33262 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33263}
33264static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33265 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33266}
33267static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
33268 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33269}
33270static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
33271 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33272}
33273static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
33274 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
33275}
33276static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33277 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33278}
33279static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
33280 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
33281}
33282static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
33283 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
33284}
33285static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
33286 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
33287}
33288static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33289 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33290}
33291static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33292 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33293}
33294static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
33295 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
33296}
33297static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
33298 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
33299}
33300static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
33301 return (void *)((wxControlWithItems *) ((wxChoice *) x));
33302}
33303static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
33304 return (void *)((wxControlWithItems *) ((wxListBox *) x));
33305}
33306static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33307 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33308}
33309static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33310 return (void *)((wxValidator *) ((wxPyValidator *) x));
33311}
33312static 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}};
33313static 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}};
33314static 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}};
33315static 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}};
33316static 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}};
33317static 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}};
33318static 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}};
33319static 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}};
33320static 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}};
33321static 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}};
33322static 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}};
33323static 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}};
33324static 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}};
33325static 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}};
33326static 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}};
33327static 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}};
33328static 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}};
33329static 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}};
33330static 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}};
33331static 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}};
33332static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33333static 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}};
33334static 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}};
33335static 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}};
33336static 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}};
33337static 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}};
33338static 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}};
33339static 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}};
33340static 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}};
33341static 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}};
33342static 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}};
33343static 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}};
33344static 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}};
33345static 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}};
33346static 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}};
33347static 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}};
33348static 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}};
33349static 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}};
33350static 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}};
33351static 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}};
33352static 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}};
33353static 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}};
33354static 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}};
33355static 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}};
33356static 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}};
33357static 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}};
33358static 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}};
33359static 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}};
33360static 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}};
33361static 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}};
33362static 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}};
33363static 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}};
33364static 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}};
33365static 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}};
33366static 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}};
33367static 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}};
33368static 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}};
33369static 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}};
33370static 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}};
33371static 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}};
33372static 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}};
33373static 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}};
33374static 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}};
33375static 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}};
33376static 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}};
33377static 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}};
33378static 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}};
33379static 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}};
33380static 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}};
33381static 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}};
33382static 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}};
33383static 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}};
33384static 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}};
33385static 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}};
33386static 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}};
33387static 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}};
33388static 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}};
33389static 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}};
33390static 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}};
33391static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33392static 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}};
33393static 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}};
33394static 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}};
33395static 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}};
33396static 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}};
33397
33398static swig_type_info *swig_types_initial[] = {
33399_swigt__p_wxTextUrlEvent,
33400_swigt__p_wxBookCtrlEvent,
33401_swigt__p_wxSizer,
33402_swigt__p_wxCheckBox,
33403_swigt__p_wxPyTreeCtrl,
33404_swigt__p_wxEvent,
33405_swigt__p_wxGenericDirCtrl,
33406_swigt__p_bool,
33407_swigt__p_wxPyTreeItemData,
33408_swigt__p_wxItemContainer,
33409_swigt__p_wxPyListCtrl,
33410_swigt__p_wxDirFilterListCtrl,
33411_swigt__p_wxStaticLine,
33412_swigt__p_wxControl,
33413_swigt__p_wxPyControl,
33414_swigt__p_wxGauge,
33415_swigt__p_wxToolBarBase,
33416_swigt__p_wxFont,
33417_swigt__p_wxToggleButton,
33418_swigt__p_wxRadioButton,
33419_swigt__p_wxChoice,
33420_swigt__p_wxMemoryDC,
33421_swigt__p_wxListItemAttr,
33422_swigt__p_void,
33423_swigt__p_int,
33424_swigt__p_wxSize,
33425_swigt__p_wxDC,
33426_swigt__p_wxListView,
33427_swigt__p_wxIcon,
33428_swigt__p_wxVisualAttributes,
33429_swigt__p_wxTextCtrl,
33430_swigt__p_wxNotebook,
33431_swigt__p_wxNotifyEvent,
33432_swigt__p_wxArrayString,
33433_swigt__p_wxListbook,
33434_swigt__p_wxStaticBitmap,
33435_swigt__p_wxSlider,
33436_swigt__p_wxStaticBox,
33437_swigt__p_wxArrayInt,
33438_swigt__p_wxContextHelp,
33439_swigt__p_long,
33440_swigt__p_wxEvtHandler,
33441_swigt__p_wxListEvent,
33442_swigt__p_wxCheckListBox,
33443_swigt__p_wxListBox,
33444_swigt__p_wxBookCtrl,
33445_swigt__p_wxSpinButton,
33446_swigt__p_wxButton,
33447_swigt__p_wxBitmapButton,
33448_swigt__p_wxRect,
33449_swigt__p_wxContextHelpButton,
33450_swigt__p_wxRadioBox,
33451_swigt__p_wxScrollBar,
33452_swigt__p_char,
33453_swigt__p_wxTreeItemId,
33454_swigt__p_wxComboBox,
33455_swigt__p_wxHelpEvent,
33456_swigt__p_wxListItem,
33457_swigt__p_wxNotebookSizer,
33458_swigt__p_wxSpinEvent,
33459_swigt__p_wxGenericDragImage,
33460_swigt__p_wxSpinCtrl,
33461_swigt__p_wxImageList,
33462_swigt__p_wxHelpProvider,
33463_swigt__p_wxTextAttr,
33464_swigt__p_wxSimpleHelpProvider,
33465_swigt__p_wxPoint,
33466_swigt__p_wxListbookEvent,
33467_swigt__p_wxNotebookEvent,
33468_swigt__p_wxObject,
33469_swigt__p_wxCursor,
33470_swigt__p_wxKeyEvent,
33471_swigt__p_wxWindow,
33472_swigt__p_wxString,
33473_swigt__p_wxBitmap,
33474_swigt__p_wxTreeEvent,
33475_swigt__p_wxMouseEvent,
33476_swigt__p_wxCommandEvent,
33477_swigt__p_wxStaticText,
33478_swigt__p_wxControlWithItems,
33479_swigt__p_wxToolBarToolBase,
33480_swigt__p_wxColour,
33481_swigt__p_wxToolBar,
33482_swigt__p_wxBookCtrlSizer,
33483_swigt__p_wxValidator,
334840
33485};
33486
33487
33488/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33489
33490static swig_const_info swig_const_table[] = {
33491{0}};
33492
33493#ifdef __cplusplus
33494}
33495#endif
33496
33497#ifdef __cplusplus
33498extern "C"
33499#endif
33500SWIGEXPORT(void) SWIG_init(void) {
33501 static PyObject *SWIG_globals = 0;
33502 static int typeinit = 0;
33503 PyObject *m, *d;
33504 int i;
33505 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33506 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33507 d = PyModule_GetDict(m);
33508
33509 if (!typeinit) {
33510 for (i = 0; swig_types_initial[i]; i++) {
33511 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33512 }
33513 typeinit = 1;
33514 }
33515 SWIG_InstallConstants(d,swig_const_table);
33516
33517 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33518 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
33519 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
33520 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
33521 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
33522 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
33523 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
33524 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
33525 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
33526 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
33527 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
33528 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33529 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
33530 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
33531 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
33532 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33533 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33534 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
33535 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
33536 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
33537 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
33538 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
33539 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33540 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33541 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33542 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33543 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
33544 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
33545 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
33546 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
33547 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
33548 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
33549 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
33550 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
33551 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
33552 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
33553 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
33554 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
33555 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
33556 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
33557 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
33558 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
33559 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
33560 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
33561 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
33562 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
33563 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
33564 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
33565 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
33566 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
33567 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33568 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
33569 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33570 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
33571 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
33572 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
33573 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
33574 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
33575 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
33576 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
33577 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
33578 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
33579 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
33580 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
33581 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
33582 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
33583 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
33584 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
33585 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33586 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33587 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33588 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
33589 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33590 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33591 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
33592 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
33593 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
33594 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
33595 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
33596 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
33597 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33598 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33599 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33600 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
33601 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
33602 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
33603 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
33604 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
33605 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
33606 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
33607 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
33608 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
33609 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
33610 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
33611 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
33612 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
33613 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33614 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
33615 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
33616 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
33617 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
33618 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
33619 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
33620 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
33621 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33622 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
33623 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
33624 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
33625 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
33626 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
33627 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
33628 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
33629 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
33630 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
33631 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
33632 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
33633 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
33634 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
33635 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
33636 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
33637 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
33638 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
33639 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
33640 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
33641 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
33642 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
33643 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
33644 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
33645 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
33646 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
33647 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
33648 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
33649 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
33650 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
33651 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
33652 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
33653 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
33654 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
33655 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
33656 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
33657 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
33658 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
33659 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
33660 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
33661 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
33662 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
33663 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
33664 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
33665 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
33666 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
33667 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
33668 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
33669 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
33670 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
33671 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
33672 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
33673 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
33674 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
33675 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
33676 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
33677 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
33678 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
33679 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
33680 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
33681 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
33682 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
33683 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
33684 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
33685 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
33686 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
33687 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
33688 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
33689 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
33690 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
33691 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
33692 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
33693 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
33694 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
33695 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
33696 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
33697 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
33698 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
33699 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
33700 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
33701 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
33702 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
33703 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
33704 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
33705 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
33706 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33707 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33708 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33709 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33710 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33711 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33712 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33713 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33714 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33715 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33716 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33717 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33718 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33719 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33720 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33721 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33722 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33723 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33724 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33725 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33726 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33727 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33728
33729 // Map renamed classes back to their common name for OOR
33730 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33731
33732 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
33733 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
33734 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
33735 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
33736 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
33737 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
33738 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
33739 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
33740 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
33741 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
33742 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
33743 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
33744 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
33745 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
33746 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
33747 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
33748 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
33749 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
33750 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
33751 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
33752 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
33753 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
33754 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
33755 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
33756 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
33757 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
33758 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
33759 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
33760 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
33761 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
33762 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
33763 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
33764 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
33765 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
33766 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
33767 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
33768 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
33769 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
33770 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
33771 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
33772 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
33773 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
33774 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
33775 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
33776 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
33777 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
33778 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
33779 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
33780 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
33781 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
33782 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
33783 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
33784 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
33785 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
33786 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
33787 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
33788
33789 // Map renamed classes back to their common name for OOR
33790 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33791 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33792
33793 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
33794 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
33795 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
33796 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
33797 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
33798 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
33799 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
33800 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
33801 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
33802 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
33803
33804 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
33805
33806}
33807