]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/_controls_wrap.cpp
Fix printing?
[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
652
653 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
654void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
655 // Python aware sorting function for wxPyListCtrl
656 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
657 int retval = 0;
658 PyObject* func = (PyObject*)funcPtr;
659 bool blocked = wxPyBeginBlockThreads();
660
661 PyObject* args = Py_BuildValue("(ii)", item1, item2);
662 PyObject* result = PyEval_CallObject(func, args);
663 Py_DECREF(args);
664 if (result) {
665 retval = PyInt_AsLong(result);
666 Py_DECREF(result);
667 }
668
669 wxPyEndBlockThreads(blocked);
670 return retval;
671 }
672
673 // C++ Version of a Python aware class
674class wxPyListCtrl : public wxListCtrl {
675 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
676public:
677 wxPyListCtrl() : wxListCtrl() {}
678 wxPyListCtrl(wxWindow* parent, wxWindowID id,
679 const wxPoint& pos,
680 const wxSize& size,
681 long style,
682 const wxValidator& validator,
683 const wxString& name) :
684 wxListCtrl(parent, id, pos, size, style, validator, name) {}
685
686 bool Create(wxWindow* parent, wxWindowID id,
687 const wxPoint& pos,
688 const wxSize& size,
689 long style,
690 const wxValidator& validator,
691 const wxString& name) {
692 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
693 }
694
695 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
696 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
697 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
698
699 PYPRIVATE;
700};
701
702IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
703
704IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
705IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
706IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
707
708wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
709 wxListItem item;
710 item.SetMask( wxLIST_MASK_STATE |
711 wxLIST_MASK_TEXT |
712 wxLIST_MASK_IMAGE |
713 wxLIST_MASK_DATA |
714 wxLIST_SET_ITEM |
715 wxLIST_MASK_WIDTH |
716 wxLIST_MASK_FORMAT
717 );
718 if (self->GetColumn(col, item))
719 return new wxListItem(item);
720 else
721 return NULL;
722 }
723wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
724 wxListItem* info = new wxListItem;
725 info->m_itemId = itemId;
726 info->m_col = col;
727 info->m_mask = 0xFFFF;
728 self->GetItem(*info);
729 return info;
730 }
731wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
732 wxPoint pos;
733 self->GetItemPosition(item, pos);
734 return pos;
735 }
736wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
737 wxRect rect;
738 self->GetItemRect(item, rect, code);
739 return rect;
740 }
741bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
742 if (!PyCallable_Check(func))
743 return False;
744 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
745 }
746wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
747
748 return self;
749
750
751
752 }
753
754#include <wx/treectrl.h>
755#include "wx/wxPython/pytree.h"
756
757 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
758bool wxTreeItemId___eq__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self == *other) : False; }
759bool wxTreeItemId___ne__(wxTreeItemId *self,wxTreeItemId const *other){ return other ? (*self != *other) : True; }
760void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
761 // C++ version of Python aware wxTreeCtrl
762class wxPyTreeCtrl : public wxTreeCtrl {
763 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
764public:
765 wxPyTreeCtrl() : wxTreeCtrl() {}
766 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
767 const wxPoint& pos,
768 const wxSize& size,
769 long style,
770 const wxValidator& validator,
771 const wxString& name) :
772 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
773
774 bool Create(wxWindow *parent, wxWindowID id,
775 const wxPoint& pos,
776 const wxSize& size,
777 long style,
778 const wxValidator& validator,
779 const wxString& name) {
780 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
781 }
782
783
784 int OnCompareItems(const wxTreeItemId& item1,
785 const wxTreeItemId& item2) {
786 int rval = 0;
787 bool found;
788 bool blocked = wxPyBeginBlockThreads();
789 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
790 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
791 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
792 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
793 Py_DECREF(o1);
794 Py_DECREF(o2);
795 }
796 wxPyEndBlockThreads(blocked);
797 if (! found)
798 rval = wxTreeCtrl::OnCompareItems(item1, item2);
799 return rval;
800 }
801 PYPRIVATE;
802};
803
804IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
805
806
807
808#if UINT_MAX < LONG_MAX
809#define SWIG_FromUnsignedInt SWIG_FromLong
810#else
811#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
812#endif
813
814
815SWIGSTATICINLINE(unsigned long)
816SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
817 unsigned long max_value)
818{
819 if (!PyErr_Occurred()) {
820 if (value > max_value) {
821 PyObject *err =
822 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
823 value, type, max_value);
824 PyErr_SetObject(PyExc_OverflowError, err);
825 Py_DECREF(err);
826 }
827 }
828 return value;
829}
830
831
832#if UINT_MAX != ULONG_MAX
833SWIGSTATICINLINE(unsigned int)
834SWIG_AsUnsignedInt(PyObject *obj)
835{
836 return swig_numeric_cast(unsigned int,
837 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
838 "unsigned int", UINT_MAX));
839}
840#else
841#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
842#endif
843
844
845SWIGSTATICINLINE(int)
846SWIG_CheckUnsignedInt(PyObject* obj)
847{
848 SWIG_AsUnsignedInt(obj);
849 if (PyErr_Occurred()) {
850 PyErr_Clear();
851 return 0;
852 } else {
853 return 1;
854 }
855}
856
857wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
858 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
859 if (data == NULL) {
860 data = new wxPyTreeItemData();
861 data->SetId(item); // set the id
862 self->SetItemData(item, data);
863 }
864 return data;
865 }
866PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
867 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
868 if (data == NULL) {
869 data = new wxPyTreeItemData();
870 data->SetId(item); // set the id
871 self->SetItemData(item, data);
872 }
873 return data->GetData();
874 }
875void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
876 data->SetId(item); // set the id
877 self->SetItemData(item, data);
878 }
879void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
880 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
881 if (data == NULL) {
882 data = new wxPyTreeItemData(obj);
883 data->SetId(item); // set the id
884 self->SetItemData(item, data);
885 } else
886 data->SetData(obj);
887 }
888PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
889 bool blocked = wxPyBeginBlockThreads();
890 PyObject* rval = PyList_New(0);
891 wxArrayTreeItemIds array;
892 size_t num, x;
893 num = self->GetSelections(array);
894 for (x=0; x < num; x++) {
895 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
896 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
897 PyList_Append(rval, item);
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 ;
1043 int arg2 ;
1044 wxString *arg3 = 0 ;
1045 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1046 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1047 wxSize const &arg5_defvalue = wxDefaultSize ;
1048 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1049 long arg6 = (long) 0 ;
1050 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1051 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1052 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1053 wxString *arg8 = (wxString *) &arg8_defvalue ;
1054 wxButton *result;
1055 bool temp3 = False ;
1056 wxPoint temp4 ;
1057 wxSize temp5 ;
1058 bool temp8 = False ;
1059 PyObject * obj0 = 0 ;
1060 PyObject * obj1 = 0 ;
1061 PyObject * obj2 = 0 ;
1062 PyObject * obj3 = 0 ;
1063 PyObject * obj4 = 0 ;
1064 PyObject * obj5 = 0 ;
1065 PyObject * obj6 = 0 ;
1066 PyObject * obj7 = 0 ;
1067 char *kwnames[] = {
1068 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1069 };
1070
1071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1074 arg2 = (int) SWIG_AsInt(obj1);
1075 if (PyErr_Occurred()) SWIG_fail;
1076 {
1077 arg3 = wxString_in_helper(obj2);
1078 if (arg3 == NULL) SWIG_fail;
1079 temp3 = True;
1080 }
1081 if (obj3) {
1082 {
1083 arg4 = &temp4;
1084 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1085 }
1086 }
1087 if (obj4) {
1088 {
1089 arg5 = &temp5;
1090 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1091 }
1092 }
1093 if (obj5) {
1094 arg6 = (long) SWIG_AsLong(obj5);
1095 if (PyErr_Occurred()) SWIG_fail;
1096 }
1097 if (obj6) {
1098 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1099 SWIG_POINTER_EXCEPTION | 0)) == -1)
1100 SWIG_fail;
1101 if (arg7 == NULL) {
1102 PyErr_SetString(PyExc_TypeError,"null reference");
1103 SWIG_fail;
1104 }
1105 }
1106 if (obj7) {
1107 {
1108 arg8 = wxString_in_helper(obj7);
1109 if (arg8 == NULL) SWIG_fail;
1110 temp8 = True;
1111 }
1112 }
1113 {
1114 PyThreadState* __tstate = wxPyBeginAllowThreads();
1115 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1116
1117 wxPyEndAllowThreads(__tstate);
1118 if (PyErr_Occurred()) SWIG_fail;
1119 }
1120 {
1121 resultobj = wxPyMake_wxObject(result);
1122 }
1123 {
1124 if (temp3)
1125 delete arg3;
1126 }
1127 {
1128 if (temp8)
1129 delete arg8;
1130 }
1131 return resultobj;
1132 fail:
1133 {
1134 if (temp3)
1135 delete arg3;
1136 }
1137 {
1138 if (temp8)
1139 delete arg8;
1140 }
1141 return NULL;
1142}
1143
1144
1145static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1146 PyObject *resultobj;
1147 wxButton *result;
1148 char *kwnames[] = {
1149 NULL
1150 };
1151
1152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1153 {
1154 PyThreadState* __tstate = wxPyBeginAllowThreads();
1155 result = (wxButton *)new wxButton();
1156
1157 wxPyEndAllowThreads(__tstate);
1158 if (PyErr_Occurred()) SWIG_fail;
1159 }
1160 {
1161 resultobj = wxPyMake_wxObject(result);
1162 }
1163 return resultobj;
1164 fail:
1165 return NULL;
1166}
1167
1168
1169static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject *resultobj;
1171 wxButton *arg1 = (wxButton *) 0 ;
1172 wxWindow *arg2 = (wxWindow *) 0 ;
1173 int arg3 ;
1174 wxString *arg4 = 0 ;
1175 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1176 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1177 wxSize const &arg6_defvalue = wxDefaultSize ;
1178 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1179 long arg7 = (long) 0 ;
1180 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1181 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1182 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1183 wxString *arg9 = (wxString *) &arg9_defvalue ;
1184 bool result;
1185 bool temp4 = False ;
1186 wxPoint temp5 ;
1187 wxSize temp6 ;
1188 bool temp9 = False ;
1189 PyObject * obj0 = 0 ;
1190 PyObject * obj1 = 0 ;
1191 PyObject * obj2 = 0 ;
1192 PyObject * obj3 = 0 ;
1193 PyObject * obj4 = 0 ;
1194 PyObject * obj5 = 0 ;
1195 PyObject * obj6 = 0 ;
1196 PyObject * obj7 = 0 ;
1197 PyObject * obj8 = 0 ;
1198 char *kwnames[] = {
1199 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1200 };
1201
1202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1207 arg3 = (int) SWIG_AsInt(obj2);
1208 if (PyErr_Occurred()) SWIG_fail;
1209 {
1210 arg4 = wxString_in_helper(obj3);
1211 if (arg4 == NULL) SWIG_fail;
1212 temp4 = True;
1213 }
1214 if (obj4) {
1215 {
1216 arg5 = &temp5;
1217 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1218 }
1219 }
1220 if (obj5) {
1221 {
1222 arg6 = &temp6;
1223 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1224 }
1225 }
1226 if (obj6) {
1227 arg7 = (long) SWIG_AsLong(obj6);
1228 if (PyErr_Occurred()) SWIG_fail;
1229 }
1230 if (obj7) {
1231 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1232 SWIG_POINTER_EXCEPTION | 0)) == -1)
1233 SWIG_fail;
1234 if (arg8 == NULL) {
1235 PyErr_SetString(PyExc_TypeError,"null reference");
1236 SWIG_fail;
1237 }
1238 }
1239 if (obj8) {
1240 {
1241 arg9 = wxString_in_helper(obj8);
1242 if (arg9 == NULL) SWIG_fail;
1243 temp9 = True;
1244 }
1245 }
1246 {
1247 PyThreadState* __tstate = wxPyBeginAllowThreads();
1248 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1249
1250 wxPyEndAllowThreads(__tstate);
1251 if (PyErr_Occurred()) SWIG_fail;
1252 }
1253 {
1254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1255 }
1256 {
1257 if (temp4)
1258 delete arg4;
1259 }
1260 {
1261 if (temp9)
1262 delete arg9;
1263 }
1264 return resultobj;
1265 fail:
1266 {
1267 if (temp4)
1268 delete arg4;
1269 }
1270 {
1271 if (temp9)
1272 delete arg9;
1273 }
1274 return NULL;
1275}
1276
1277
1278static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject *resultobj;
1280 wxButton *arg1 = (wxButton *) 0 ;
1281 PyObject * obj0 = 0 ;
1282 char *kwnames[] = {
1283 (char *) "self", NULL
1284 };
1285
1286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxButton,
1288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1289 {
1290 PyThreadState* __tstate = wxPyBeginAllowThreads();
1291 (arg1)->SetDefault();
1292
1293 wxPyEndAllowThreads(__tstate);
1294 if (PyErr_Occurred()) SWIG_fail;
1295 }
1296 Py_INCREF(Py_None); resultobj = Py_None;
1297 return resultobj;
1298 fail:
1299 return NULL;
1300}
1301
1302
1303static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1304 PyObject *resultobj;
1305 wxSize result;
1306 char *kwnames[] = {
1307 NULL
1308 };
1309
1310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1311 {
1312 PyThreadState* __tstate = wxPyBeginAllowThreads();
1313 result = wxButton::GetDefaultSize();
1314
1315 wxPyEndAllowThreads(__tstate);
1316 if (PyErr_Occurred()) SWIG_fail;
1317 }
1318 {
1319 wxSize * resultptr;
1320 resultptr = new wxSize((wxSize &) result);
1321 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
1322 }
1323 return resultobj;
1324 fail:
1325 return NULL;
1326}
1327
1328
f20a2e1f
RD
1329static PyObject *_wrap_Button_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
1330 PyObject *resultobj;
1331 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
1332 wxVisualAttributes result;
1333 PyObject * obj0 = 0 ;
1334 char *kwnames[] = {
1335 (char *) "variant", NULL
1336 };
1337
1338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Button_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
1339 if (obj0) {
1340 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
1341 if (PyErr_Occurred()) SWIG_fail;
1342 }
1343 {
1344 PyThreadState* __tstate = wxPyBeginAllowThreads();
1345 result = wxButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
1346
1347 wxPyEndAllowThreads(__tstate);
1348 if (PyErr_Occurred()) SWIG_fail;
1349 }
1350 {
1351 wxVisualAttributes * resultptr;
1352 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
1353 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
1354 }
1355 return resultobj;
1356 fail:
1357 return NULL;
1358}
1359
1360
d55e5bfc
RD
1361static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1362 PyObject *obj;
1363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1364 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1365 Py_INCREF(obj);
1366 return Py_BuildValue((char *)"");
1367}
1368static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1369 PyObject *resultobj;
1370 wxWindow *arg1 = (wxWindow *) 0 ;
1371 int arg2 ;
1372 wxBitmap *arg3 = 0 ;
1373 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1374 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1375 wxSize const &arg5_defvalue = wxDefaultSize ;
1376 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1377 long arg6 = (long) wxBU_AUTODRAW ;
1378 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1379 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1380 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1381 wxString *arg8 = (wxString *) &arg8_defvalue ;
1382 wxBitmapButton *result;
1383 wxPoint temp4 ;
1384 wxSize temp5 ;
1385 bool temp8 = False ;
1386 PyObject * obj0 = 0 ;
1387 PyObject * obj1 = 0 ;
1388 PyObject * obj2 = 0 ;
1389 PyObject * obj3 = 0 ;
1390 PyObject * obj4 = 0 ;
1391 PyObject * obj5 = 0 ;
1392 PyObject * obj6 = 0 ;
1393 PyObject * obj7 = 0 ;
1394 char *kwnames[] = {
1395 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1396 };
1397
1398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1401 arg2 = (int) SWIG_AsInt(obj1);
1402 if (PyErr_Occurred()) SWIG_fail;
1403 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
1404 SWIG_POINTER_EXCEPTION | 0)) == -1)
1405 SWIG_fail;
1406 if (arg3 == NULL) {
1407 PyErr_SetString(PyExc_TypeError,"null reference");
1408 SWIG_fail;
1409 }
1410 if (obj3) {
1411 {
1412 arg4 = &temp4;
1413 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1414 }
1415 }
1416 if (obj4) {
1417 {
1418 arg5 = &temp5;
1419 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1420 }
1421 }
1422 if (obj5) {
1423 arg6 = (long) SWIG_AsLong(obj5);
1424 if (PyErr_Occurred()) SWIG_fail;
1425 }
1426 if (obj6) {
1427 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
1428 SWIG_POINTER_EXCEPTION | 0)) == -1)
1429 SWIG_fail;
1430 if (arg7 == NULL) {
1431 PyErr_SetString(PyExc_TypeError,"null reference");
1432 SWIG_fail;
1433 }
1434 }
1435 if (obj7) {
1436 {
1437 arg8 = wxString_in_helper(obj7);
1438 if (arg8 == NULL) SWIG_fail;
1439 temp8 = True;
1440 }
1441 }
1442 {
1443 PyThreadState* __tstate = wxPyBeginAllowThreads();
1444 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1445
1446 wxPyEndAllowThreads(__tstate);
1447 if (PyErr_Occurred()) SWIG_fail;
1448 }
1449 {
1450 resultobj = wxPyMake_wxObject(result);
1451 }
1452 {
1453 if (temp8)
1454 delete arg8;
1455 }
1456 return resultobj;
1457 fail:
1458 {
1459 if (temp8)
1460 delete arg8;
1461 }
1462 return NULL;
1463}
1464
1465
1466static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1467 PyObject *resultobj;
1468 wxBitmapButton *result;
1469 char *kwnames[] = {
1470 NULL
1471 };
1472
1473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1474 {
1475 PyThreadState* __tstate = wxPyBeginAllowThreads();
1476 result = (wxBitmapButton *)new wxBitmapButton();
1477
1478 wxPyEndAllowThreads(__tstate);
1479 if (PyErr_Occurred()) SWIG_fail;
1480 }
1481 {
1482 resultobj = wxPyMake_wxObject(result);
1483 }
1484 return resultobj;
1485 fail:
1486 return NULL;
1487}
1488
1489
1490static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1491 PyObject *resultobj;
1492 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1493 wxWindow *arg2 = (wxWindow *) 0 ;
1494 int arg3 ;
1495 wxBitmap *arg4 = 0 ;
1496 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1497 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1498 wxSize const &arg6_defvalue = wxDefaultSize ;
1499 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1500 long arg7 = (long) wxBU_AUTODRAW ;
1501 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1502 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1503 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1504 wxString *arg9 = (wxString *) &arg9_defvalue ;
1505 bool result;
1506 wxPoint temp5 ;
1507 wxSize temp6 ;
1508 bool temp9 = False ;
1509 PyObject * obj0 = 0 ;
1510 PyObject * obj1 = 0 ;
1511 PyObject * obj2 = 0 ;
1512 PyObject * obj3 = 0 ;
1513 PyObject * obj4 = 0 ;
1514 PyObject * obj5 = 0 ;
1515 PyObject * obj6 = 0 ;
1516 PyObject * obj7 = 0 ;
1517 PyObject * obj8 = 0 ;
1518 char *kwnames[] = {
1519 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1520 };
1521
1522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1525 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
1526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1527 arg3 = (int) SWIG_AsInt(obj2);
1528 if (PyErr_Occurred()) SWIG_fail;
1529 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
1530 SWIG_POINTER_EXCEPTION | 0)) == -1)
1531 SWIG_fail;
1532 if (arg4 == NULL) {
1533 PyErr_SetString(PyExc_TypeError,"null reference");
1534 SWIG_fail;
1535 }
1536 if (obj4) {
1537 {
1538 arg5 = &temp5;
1539 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1540 }
1541 }
1542 if (obj5) {
1543 {
1544 arg6 = &temp6;
1545 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1546 }
1547 }
1548 if (obj6) {
1549 arg7 = (long) SWIG_AsLong(obj6);
1550 if (PyErr_Occurred()) SWIG_fail;
1551 }
1552 if (obj7) {
1553 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
1554 SWIG_POINTER_EXCEPTION | 0)) == -1)
1555 SWIG_fail;
1556 if (arg8 == NULL) {
1557 PyErr_SetString(PyExc_TypeError,"null reference");
1558 SWIG_fail;
1559 }
1560 }
1561 if (obj8) {
1562 {
1563 arg9 = wxString_in_helper(obj8);
1564 if (arg9 == NULL) SWIG_fail;
1565 temp9 = True;
1566 }
1567 }
1568 {
1569 PyThreadState* __tstate = wxPyBeginAllowThreads();
1570 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1571
1572 wxPyEndAllowThreads(__tstate);
1573 if (PyErr_Occurred()) SWIG_fail;
1574 }
1575 {
1576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1577 }
1578 {
1579 if (temp9)
1580 delete arg9;
1581 }
1582 return resultobj;
1583 fail:
1584 {
1585 if (temp9)
1586 delete arg9;
1587 }
1588 return NULL;
1589}
1590
1591
1592static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject *resultobj;
1594 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1595 wxBitmap result;
1596 PyObject * obj0 = 0 ;
1597 char *kwnames[] = {
1598 (char *) "self", NULL
1599 };
1600
1601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1604 {
1605 PyThreadState* __tstate = wxPyBeginAllowThreads();
1606 result = (arg1)->GetBitmapLabel();
1607
1608 wxPyEndAllowThreads(__tstate);
1609 if (PyErr_Occurred()) SWIG_fail;
1610 }
1611 {
1612 wxBitmap * resultptr;
1613 resultptr = new wxBitmap((wxBitmap &) result);
1614 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1615 }
1616 return resultobj;
1617 fail:
1618 return NULL;
1619}
1620
1621
1622static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject *resultobj;
1624 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1625 wxBitmap result;
1626 PyObject * obj0 = 0 ;
1627 char *kwnames[] = {
1628 (char *) "self", NULL
1629 };
1630
1631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1634 {
1635 PyThreadState* __tstate = wxPyBeginAllowThreads();
1636 result = (arg1)->GetBitmapDisabled();
1637
1638 wxPyEndAllowThreads(__tstate);
1639 if (PyErr_Occurred()) SWIG_fail;
1640 }
1641 {
1642 wxBitmap * resultptr;
1643 resultptr = new wxBitmap((wxBitmap &) result);
1644 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1645 }
1646 return resultobj;
1647 fail:
1648 return NULL;
1649}
1650
1651
1652static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1653 PyObject *resultobj;
1654 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1655 wxBitmap result;
1656 PyObject * obj0 = 0 ;
1657 char *kwnames[] = {
1658 (char *) "self", NULL
1659 };
1660
1661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1664 {
1665 PyThreadState* __tstate = wxPyBeginAllowThreads();
1666 result = (arg1)->GetBitmapFocus();
1667
1668 wxPyEndAllowThreads(__tstate);
1669 if (PyErr_Occurred()) SWIG_fail;
1670 }
1671 {
1672 wxBitmap * resultptr;
1673 resultptr = new wxBitmap((wxBitmap &) result);
1674 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1675 }
1676 return resultobj;
1677 fail:
1678 return NULL;
1679}
1680
1681
1682static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1683 PyObject *resultobj;
1684 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1685 wxBitmap result;
1686 PyObject * obj0 = 0 ;
1687 char *kwnames[] = {
1688 (char *) "self", NULL
1689 };
1690
1691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1694 {
1695 PyThreadState* __tstate = wxPyBeginAllowThreads();
1696 result = (arg1)->GetBitmapSelected();
1697
1698 wxPyEndAllowThreads(__tstate);
1699 if (PyErr_Occurred()) SWIG_fail;
1700 }
1701 {
1702 wxBitmap * resultptr;
1703 resultptr = new wxBitmap((wxBitmap &) result);
1704 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
1705 }
1706 return resultobj;
1707 fail:
1708 return NULL;
1709}
1710
1711
1712static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1713 PyObject *resultobj;
1714 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1715 wxBitmap *arg2 = 0 ;
1716 PyObject * obj0 = 0 ;
1717 PyObject * obj1 = 0 ;
1718 char *kwnames[] = {
1719 (char *) "self",(char *) "bitmap", NULL
1720 };
1721
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1726 SWIG_POINTER_EXCEPTION | 0)) == -1)
1727 SWIG_fail;
1728 if (arg2 == NULL) {
1729 PyErr_SetString(PyExc_TypeError,"null reference");
1730 SWIG_fail;
1731 }
1732 {
1733 PyThreadState* __tstate = wxPyBeginAllowThreads();
1734 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1735
1736 wxPyEndAllowThreads(__tstate);
1737 if (PyErr_Occurred()) SWIG_fail;
1738 }
1739 Py_INCREF(Py_None); resultobj = Py_None;
1740 return resultobj;
1741 fail:
1742 return NULL;
1743}
1744
1745
1746static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1747 PyObject *resultobj;
1748 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1749 wxBitmap *arg2 = 0 ;
1750 PyObject * obj0 = 0 ;
1751 PyObject * obj1 = 0 ;
1752 char *kwnames[] = {
1753 (char *) "self",(char *) "bitmap", NULL
1754 };
1755
1756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1760 SWIG_POINTER_EXCEPTION | 0)) == -1)
1761 SWIG_fail;
1762 if (arg2 == NULL) {
1763 PyErr_SetString(PyExc_TypeError,"null reference");
1764 SWIG_fail;
1765 }
1766 {
1767 PyThreadState* __tstate = wxPyBeginAllowThreads();
1768 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1769
1770 wxPyEndAllowThreads(__tstate);
1771 if (PyErr_Occurred()) SWIG_fail;
1772 }
1773 Py_INCREF(Py_None); resultobj = Py_None;
1774 return resultobj;
1775 fail:
1776 return NULL;
1777}
1778
1779
1780static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1781 PyObject *resultobj;
1782 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1783 wxBitmap *arg2 = 0 ;
1784 PyObject * obj0 = 0 ;
1785 PyObject * obj1 = 0 ;
1786 char *kwnames[] = {
1787 (char *) "self",(char *) "bitmap", NULL
1788 };
1789
1790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1793 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1794 SWIG_POINTER_EXCEPTION | 0)) == -1)
1795 SWIG_fail;
1796 if (arg2 == NULL) {
1797 PyErr_SetString(PyExc_TypeError,"null reference");
1798 SWIG_fail;
1799 }
1800 {
1801 PyThreadState* __tstate = wxPyBeginAllowThreads();
1802 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1803
1804 wxPyEndAllowThreads(__tstate);
1805 if (PyErr_Occurred()) SWIG_fail;
1806 }
1807 Py_INCREF(Py_None); resultobj = Py_None;
1808 return resultobj;
1809 fail:
1810 return NULL;
1811}
1812
1813
1814static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject *resultobj;
1816 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1817 wxBitmap *arg2 = 0 ;
1818 PyObject * obj0 = 0 ;
1819 PyObject * obj1 = 0 ;
1820 char *kwnames[] = {
1821 (char *) "self",(char *) "bitmap", NULL
1822 };
1823
1824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1827 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
1828 SWIG_POINTER_EXCEPTION | 0)) == -1)
1829 SWIG_fail;
1830 if (arg2 == NULL) {
1831 PyErr_SetString(PyExc_TypeError,"null reference");
1832 SWIG_fail;
1833 }
1834 {
1835 PyThreadState* __tstate = wxPyBeginAllowThreads();
1836 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1837
1838 wxPyEndAllowThreads(__tstate);
1839 if (PyErr_Occurred()) SWIG_fail;
1840 }
1841 Py_INCREF(Py_None); resultobj = Py_None;
1842 return resultobj;
1843 fail:
1844 return NULL;
1845}
1846
1847
1848static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject *resultobj;
1850 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1851 int arg2 ;
1852 int arg3 ;
1853 PyObject * obj0 = 0 ;
1854 PyObject * obj1 = 0 ;
1855 PyObject * obj2 = 0 ;
1856 char *kwnames[] = {
1857 (char *) "self",(char *) "x",(char *) "y", NULL
1858 };
1859
1860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1863 arg2 = (int) SWIG_AsInt(obj1);
1864 if (PyErr_Occurred()) SWIG_fail;
1865 arg3 = (int) SWIG_AsInt(obj2);
1866 if (PyErr_Occurred()) SWIG_fail;
1867 {
1868 PyThreadState* __tstate = wxPyBeginAllowThreads();
1869 (arg1)->SetMargins(arg2,arg3);
1870
1871 wxPyEndAllowThreads(__tstate);
1872 if (PyErr_Occurred()) SWIG_fail;
1873 }
1874 Py_INCREF(Py_None); resultobj = Py_None;
1875 return resultobj;
1876 fail:
1877 return NULL;
1878}
1879
1880
1881static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1882 PyObject *resultobj;
1883 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1884 int result;
1885 PyObject * obj0 = 0 ;
1886 char *kwnames[] = {
1887 (char *) "self", NULL
1888 };
1889
1890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1893 {
1894 PyThreadState* __tstate = wxPyBeginAllowThreads();
1895 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1896
1897 wxPyEndAllowThreads(__tstate);
1898 if (PyErr_Occurred()) SWIG_fail;
1899 }
1900 resultobj = SWIG_FromInt((int)result);
1901 return resultobj;
1902 fail:
1903 return NULL;
1904}
1905
1906
1907static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1908 PyObject *resultobj;
1909 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1910 int result;
1911 PyObject * obj0 = 0 ;
1912 char *kwnames[] = {
1913 (char *) "self", NULL
1914 };
1915
1916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmapButton,
1918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1919 {
1920 PyThreadState* __tstate = wxPyBeginAllowThreads();
1921 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1922
1923 wxPyEndAllowThreads(__tstate);
1924 if (PyErr_Occurred()) SWIG_fail;
1925 }
1926 resultobj = SWIG_FromInt((int)result);
1927 return resultobj;
1928 fail:
1929 return NULL;
1930}
1931
1932
1933static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1934 PyObject *obj;
1935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1936 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1937 Py_INCREF(obj);
1938 return Py_BuildValue((char *)"");
1939}
1940static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1941 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1942 return 1;
1943}
1944
1945
1946static PyObject *_wrap_CheckBoxNameStr_get() {
1947 PyObject *pyobj;
1948
1949 {
1950#if wxUSE_UNICODE
1951 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1952#else
1953 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1954#endif
1955 }
1956 return pyobj;
1957}
1958
1959
1960static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1961 PyObject *resultobj;
1962 wxWindow *arg1 = (wxWindow *) 0 ;
1963 int arg2 ;
1964 wxString *arg3 = 0 ;
1965 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1966 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1967 wxSize const &arg5_defvalue = wxDefaultSize ;
1968 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1969 long arg6 = (long) 0 ;
1970 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1971 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1972 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1973 wxString *arg8 = (wxString *) &arg8_defvalue ;
1974 wxCheckBox *result;
1975 bool temp3 = False ;
1976 wxPoint temp4 ;
1977 wxSize temp5 ;
1978 bool temp8 = False ;
1979 PyObject * obj0 = 0 ;
1980 PyObject * obj1 = 0 ;
1981 PyObject * obj2 = 0 ;
1982 PyObject * obj3 = 0 ;
1983 PyObject * obj4 = 0 ;
1984 PyObject * obj5 = 0 ;
1985 PyObject * obj6 = 0 ;
1986 PyObject * obj7 = 0 ;
1987 char *kwnames[] = {
1988 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1989 };
1990
1991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
1993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1994 arg2 = (int) SWIG_AsInt(obj1);
1995 if (PyErr_Occurred()) SWIG_fail;
1996 {
1997 arg3 = wxString_in_helper(obj2);
1998 if (arg3 == NULL) SWIG_fail;
1999 temp3 = True;
2000 }
2001 if (obj3) {
2002 {
2003 arg4 = &temp4;
2004 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2005 }
2006 }
2007 if (obj4) {
2008 {
2009 arg5 = &temp5;
2010 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2011 }
2012 }
2013 if (obj5) {
2014 arg6 = (long) SWIG_AsLong(obj5);
2015 if (PyErr_Occurred()) SWIG_fail;
2016 }
2017 if (obj6) {
2018 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2019 SWIG_POINTER_EXCEPTION | 0)) == -1)
2020 SWIG_fail;
2021 if (arg7 == NULL) {
2022 PyErr_SetString(PyExc_TypeError,"null reference");
2023 SWIG_fail;
2024 }
2025 }
2026 if (obj7) {
2027 {
2028 arg8 = wxString_in_helper(obj7);
2029 if (arg8 == NULL) SWIG_fail;
2030 temp8 = True;
2031 }
2032 }
2033 {
2034 PyThreadState* __tstate = wxPyBeginAllowThreads();
2035 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2036
2037 wxPyEndAllowThreads(__tstate);
2038 if (PyErr_Occurred()) SWIG_fail;
2039 }
2040 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2041 {
2042 if (temp3)
2043 delete arg3;
2044 }
2045 {
2046 if (temp8)
2047 delete arg8;
2048 }
2049 return resultobj;
2050 fail:
2051 {
2052 if (temp3)
2053 delete arg3;
2054 }
2055 {
2056 if (temp8)
2057 delete arg8;
2058 }
2059 return NULL;
2060}
2061
2062
2063static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2064 PyObject *resultobj;
2065 wxCheckBox *result;
2066 char *kwnames[] = {
2067 NULL
2068 };
2069
2070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
2071 {
2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
2073 result = (wxCheckBox *)new wxCheckBox();
2074
2075 wxPyEndAllowThreads(__tstate);
2076 if (PyErr_Occurred()) SWIG_fail;
2077 }
2078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckBox, 1);
2079 return resultobj;
2080 fail:
2081 return NULL;
2082}
2083
2084
2085static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2086 PyObject *resultobj;
2087 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2088 wxWindow *arg2 = (wxWindow *) 0 ;
2089 int arg3 ;
2090 wxString *arg4 = 0 ;
2091 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2092 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2093 wxSize const &arg6_defvalue = wxDefaultSize ;
2094 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2095 long arg7 = (long) 0 ;
2096 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2097 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2098 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
2099 wxString *arg9 = (wxString *) &arg9_defvalue ;
2100 bool result;
2101 bool temp4 = False ;
2102 wxPoint temp5 ;
2103 wxSize temp6 ;
2104 bool temp9 = False ;
2105 PyObject * obj0 = 0 ;
2106 PyObject * obj1 = 0 ;
2107 PyObject * obj2 = 0 ;
2108 PyObject * obj3 = 0 ;
2109 PyObject * obj4 = 0 ;
2110 PyObject * obj5 = 0 ;
2111 PyObject * obj6 = 0 ;
2112 PyObject * obj7 = 0 ;
2113 PyObject * obj8 = 0 ;
2114 char *kwnames[] = {
2115 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2116 };
2117
2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2121 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2123 arg3 = (int) SWIG_AsInt(obj2);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 {
2126 arg4 = wxString_in_helper(obj3);
2127 if (arg4 == NULL) SWIG_fail;
2128 temp4 = True;
2129 }
2130 if (obj4) {
2131 {
2132 arg5 = &temp5;
2133 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2134 }
2135 }
2136 if (obj5) {
2137 {
2138 arg6 = &temp6;
2139 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2140 }
2141 }
2142 if (obj6) {
2143 arg7 = (long) SWIG_AsLong(obj6);
2144 if (PyErr_Occurred()) SWIG_fail;
2145 }
2146 if (obj7) {
2147 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2148 SWIG_POINTER_EXCEPTION | 0)) == -1)
2149 SWIG_fail;
2150 if (arg8 == NULL) {
2151 PyErr_SetString(PyExc_TypeError,"null reference");
2152 SWIG_fail;
2153 }
2154 }
2155 if (obj8) {
2156 {
2157 arg9 = wxString_in_helper(obj8);
2158 if (arg9 == NULL) SWIG_fail;
2159 temp9 = True;
2160 }
2161 }
2162 {
2163 PyThreadState* __tstate = wxPyBeginAllowThreads();
2164 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2165
2166 wxPyEndAllowThreads(__tstate);
2167 if (PyErr_Occurred()) SWIG_fail;
2168 }
2169 {
2170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2171 }
2172 {
2173 if (temp4)
2174 delete arg4;
2175 }
2176 {
2177 if (temp9)
2178 delete arg9;
2179 }
2180 return resultobj;
2181 fail:
2182 {
2183 if (temp4)
2184 delete arg4;
2185 }
2186 {
2187 if (temp9)
2188 delete arg9;
2189 }
2190 return NULL;
2191}
2192
2193
2194static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2195 PyObject *resultobj;
2196 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2197 bool result;
2198 PyObject * obj0 = 0 ;
2199 char *kwnames[] = {
2200 (char *) "self", NULL
2201 };
2202
2203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2204 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2205 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2206 {
2207 PyThreadState* __tstate = wxPyBeginAllowThreads();
2208 result = (bool)(arg1)->GetValue();
2209
2210 wxPyEndAllowThreads(__tstate);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 }
2213 {
2214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2215 }
2216 return resultobj;
2217 fail:
2218 return NULL;
2219}
2220
2221
2222static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2223 PyObject *resultobj;
2224 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2225 bool result;
2226 PyObject * obj0 = 0 ;
2227 char *kwnames[] = {
2228 (char *) "self", NULL
2229 };
2230
2231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2234 {
2235 PyThreadState* __tstate = wxPyBeginAllowThreads();
2236 result = (bool)(arg1)->IsChecked();
2237
2238 wxPyEndAllowThreads(__tstate);
2239 if (PyErr_Occurred()) SWIG_fail;
2240 }
2241 {
2242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2243 }
2244 return resultobj;
2245 fail:
2246 return NULL;
2247}
2248
2249
2250static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2251 PyObject *resultobj;
2252 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2253 bool arg2 ;
2254 PyObject * obj0 = 0 ;
2255 PyObject * obj1 = 0 ;
2256 char *kwnames[] = {
2257 (char *) "self",(char *) "state", NULL
2258 };
2259
2260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2263 arg2 = (bool const) SWIG_AsBool(obj1);
2264 if (PyErr_Occurred()) SWIG_fail;
2265 {
2266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2267 (arg1)->SetValue(arg2);
2268
2269 wxPyEndAllowThreads(__tstate);
2270 if (PyErr_Occurred()) SWIG_fail;
2271 }
2272 Py_INCREF(Py_None); resultobj = Py_None;
2273 return resultobj;
2274 fail:
2275 return NULL;
2276}
2277
2278
2279static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2280 PyObject *resultobj;
2281 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2282 int result;
2283 PyObject * obj0 = 0 ;
2284 char *kwnames[] = {
2285 (char *) "self", NULL
2286 };
2287
2288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2291 {
2292 PyThreadState* __tstate = wxPyBeginAllowThreads();
2293 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2294
2295 wxPyEndAllowThreads(__tstate);
2296 if (PyErr_Occurred()) SWIG_fail;
2297 }
2298 resultobj = SWIG_FromInt((int)result);
2299 return resultobj;
2300 fail:
2301 return NULL;
2302}
2303
2304
2305static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2306 PyObject *resultobj;
2307 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2308 int arg2 ;
2309 PyObject * obj0 = 0 ;
2310 PyObject * obj1 = 0 ;
2311 char *kwnames[] = {
2312 (char *) "self",(char *) "state", NULL
2313 };
2314
2315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2318 arg2 = (wxCheckBoxState) SWIG_AsInt(obj1);
2319 if (PyErr_Occurred()) SWIG_fail;
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 }
2327 Py_INCREF(Py_None); resultobj = Py_None;
2328 return resultobj;
2329 fail:
2330 return NULL;
2331}
2332
2333
2334static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2335 PyObject *resultobj;
2336 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2337 bool result;
2338 PyObject * obj0 = 0 ;
2339 char *kwnames[] = {
2340 (char *) "self", NULL
2341 };
2342
2343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2346 {
2347 PyThreadState* __tstate = wxPyBeginAllowThreads();
2348 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2349
2350 wxPyEndAllowThreads(__tstate);
2351 if (PyErr_Occurred()) SWIG_fail;
2352 }
2353 {
2354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2355 }
2356 return resultobj;
2357 fail:
2358 return NULL;
2359}
2360
2361
2362static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2363 PyObject *resultobj;
2364 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2365 bool result;
2366 PyObject * obj0 = 0 ;
2367 char *kwnames[] = {
2368 (char *) "self", NULL
2369 };
2370
2371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckBox,
2373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2374 {
2375 PyThreadState* __tstate = wxPyBeginAllowThreads();
2376 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2377
2378 wxPyEndAllowThreads(__tstate);
2379 if (PyErr_Occurred()) SWIG_fail;
2380 }
2381 {
2382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2383 }
2384 return resultobj;
2385 fail:
2386 return NULL;
2387}
2388
2389
f20a2e1f
RD
2390static PyObject *_wrap_CheckBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2391 PyObject *resultobj;
2392 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2393 wxVisualAttributes result;
2394 PyObject * obj0 = 0 ;
2395 char *kwnames[] = {
2396 (char *) "variant", NULL
2397 };
2398
2399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2400 if (obj0) {
2401 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2402 if (PyErr_Occurred()) SWIG_fail;
2403 }
2404 {
2405 PyThreadState* __tstate = wxPyBeginAllowThreads();
2406 result = wxCheckBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
2407
2408 wxPyEndAllowThreads(__tstate);
2409 if (PyErr_Occurred()) SWIG_fail;
2410 }
2411 {
2412 wxVisualAttributes * resultptr;
2413 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2415 }
2416 return resultobj;
2417 fail:
2418 return NULL;
2419}
2420
2421
d55e5bfc
RD
2422static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2423 PyObject *obj;
2424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2425 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2426 Py_INCREF(obj);
2427 return Py_BuildValue((char *)"");
2428}
2429static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2430 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2431 return 1;
2432}
2433
2434
2435static PyObject *_wrap_ChoiceNameStr_get() {
2436 PyObject *pyobj;
2437
2438 {
2439#if wxUSE_UNICODE
2440 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2441#else
2442 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2443#endif
2444 }
2445 return pyobj;
2446}
2447
2448
2449static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2450 PyObject *resultobj;
2451 wxWindow *arg1 = (wxWindow *) 0 ;
2452 int arg2 = (int) -1 ;
2453 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2454 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2455 wxSize const &arg4_defvalue = wxDefaultSize ;
2456 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2457 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2458 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2459 long arg6 = (long) 0 ;
2460 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2461 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2462 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2463 wxString *arg8 = (wxString *) &arg8_defvalue ;
2464 wxChoice *result;
2465 wxPoint temp3 ;
2466 wxSize temp4 ;
2467 bool temp5 = False ;
2468 bool temp8 = False ;
2469 PyObject * obj0 = 0 ;
2470 PyObject * obj1 = 0 ;
2471 PyObject * obj2 = 0 ;
2472 PyObject * obj3 = 0 ;
2473 PyObject * obj4 = 0 ;
2474 PyObject * obj5 = 0 ;
2475 PyObject * obj6 = 0 ;
2476 PyObject * obj7 = 0 ;
2477 char *kwnames[] = {
2478 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2479 };
2480
2481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2484 if (obj1) {
2485 arg2 = (int) SWIG_AsInt(obj1);
2486 if (PyErr_Occurred()) SWIG_fail;
2487 }
2488 if (obj2) {
2489 {
2490 arg3 = &temp3;
2491 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2492 }
2493 }
2494 if (obj3) {
2495 {
2496 arg4 = &temp4;
2497 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2498 }
2499 }
2500 if (obj4) {
2501 {
2502 if (! PySequence_Check(obj4)) {
2503 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2504 SWIG_fail;
2505 }
2506 arg5 = new wxArrayString;
2507 temp5 = True;
2508 int i, len=PySequence_Length(obj4);
2509 for (i=0; i<len; i++) {
2510 PyObject* item = PySequence_GetItem(obj4, i);
2511#if wxUSE_UNICODE
2512 PyObject* str = PyObject_Unicode(item);
2513#else
2514 PyObject* str = PyObject_Str(item);
2515#endif
2516 if (PyErr_Occurred()) SWIG_fail;
2517 arg5->Add(Py2wxString(str));
2518 Py_DECREF(item);
2519 Py_DECREF(str);
2520 }
2521 }
2522 }
2523 if (obj5) {
2524 arg6 = (long) SWIG_AsLong(obj5);
2525 if (PyErr_Occurred()) SWIG_fail;
2526 }
2527 if (obj6) {
2528 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
2529 SWIG_POINTER_EXCEPTION | 0)) == -1)
2530 SWIG_fail;
2531 if (arg7 == NULL) {
2532 PyErr_SetString(PyExc_TypeError,"null reference");
2533 SWIG_fail;
2534 }
2535 }
2536 if (obj7) {
2537 {
2538 arg8 = wxString_in_helper(obj7);
2539 if (arg8 == NULL) SWIG_fail;
2540 temp8 = True;
2541 }
2542 }
2543 {
2544 PyThreadState* __tstate = wxPyBeginAllowThreads();
2545 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2546
2547 wxPyEndAllowThreads(__tstate);
2548 if (PyErr_Occurred()) SWIG_fail;
2549 }
2550 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2551 {
2552 if (temp5) delete arg5;
2553 }
2554 {
2555 if (temp8)
2556 delete arg8;
2557 }
2558 return resultobj;
2559 fail:
2560 {
2561 if (temp5) delete arg5;
2562 }
2563 {
2564 if (temp8)
2565 delete arg8;
2566 }
2567 return NULL;
2568}
2569
2570
2571static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2572 PyObject *resultobj;
2573 wxChoice *result;
2574 char *kwnames[] = {
2575 NULL
2576 };
2577
2578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2579 {
2580 PyThreadState* __tstate = wxPyBeginAllowThreads();
2581 result = (wxChoice *)new wxChoice();
2582
2583 wxPyEndAllowThreads(__tstate);
2584 if (PyErr_Occurred()) SWIG_fail;
2585 }
2586 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChoice, 1);
2587 return resultobj;
2588 fail:
2589 return NULL;
2590}
2591
2592
2593static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2594 PyObject *resultobj;
2595 wxChoice *arg1 = (wxChoice *) 0 ;
2596 wxWindow *arg2 = (wxWindow *) 0 ;
2597 int arg3 = (int) -1 ;
2598 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2599 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2600 wxSize const &arg5_defvalue = wxDefaultSize ;
2601 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2602 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2603 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2604 long arg7 = (long) 0 ;
2605 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2606 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2607 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2608 wxString *arg9 = (wxString *) &arg9_defvalue ;
2609 bool result;
2610 wxPoint temp4 ;
2611 wxSize temp5 ;
2612 bool temp6 = False ;
2613 bool temp9 = False ;
2614 PyObject * obj0 = 0 ;
2615 PyObject * obj1 = 0 ;
2616 PyObject * obj2 = 0 ;
2617 PyObject * obj3 = 0 ;
2618 PyObject * obj4 = 0 ;
2619 PyObject * obj5 = 0 ;
2620 PyObject * obj6 = 0 ;
2621 PyObject * obj7 = 0 ;
2622 PyObject * obj8 = 0 ;
2623 char *kwnames[] = {
2624 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2625 };
2626
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2630 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
2631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2632 if (obj2) {
2633 arg3 = (int) SWIG_AsInt(obj2);
2634 if (PyErr_Occurred()) SWIG_fail;
2635 }
2636 if (obj3) {
2637 {
2638 arg4 = &temp4;
2639 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2640 }
2641 }
2642 if (obj4) {
2643 {
2644 arg5 = &temp5;
2645 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2646 }
2647 }
2648 if (obj5) {
2649 {
2650 if (! PySequence_Check(obj5)) {
2651 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2652 SWIG_fail;
2653 }
2654 arg6 = new wxArrayString;
2655 temp6 = True;
2656 int i, len=PySequence_Length(obj5);
2657 for (i=0; i<len; i++) {
2658 PyObject* item = PySequence_GetItem(obj5, i);
2659#if wxUSE_UNICODE
2660 PyObject* str = PyObject_Unicode(item);
2661#else
2662 PyObject* str = PyObject_Str(item);
2663#endif
2664 if (PyErr_Occurred()) SWIG_fail;
2665 arg6->Add(Py2wxString(str));
2666 Py_DECREF(item);
2667 Py_DECREF(str);
2668 }
2669 }
2670 }
2671 if (obj6) {
2672 arg7 = (long) SWIG_AsLong(obj6);
2673 if (PyErr_Occurred()) SWIG_fail;
2674 }
2675 if (obj7) {
2676 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2677 SWIG_POINTER_EXCEPTION | 0)) == -1)
2678 SWIG_fail;
2679 if (arg8 == NULL) {
2680 PyErr_SetString(PyExc_TypeError,"null reference");
2681 SWIG_fail;
2682 }
2683 }
2684 if (obj8) {
2685 {
2686 arg9 = wxString_in_helper(obj8);
2687 if (arg9 == NULL) SWIG_fail;
2688 temp9 = True;
2689 }
2690 }
2691 {
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
2693 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 {
2699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2700 }
2701 {
2702 if (temp6) delete arg6;
2703 }
2704 {
2705 if (temp9)
2706 delete arg9;
2707 }
2708 return resultobj;
2709 fail:
2710 {
2711 if (temp6) delete arg6;
2712 }
2713 {
2714 if (temp9)
2715 delete arg9;
2716 }
2717 return NULL;
2718}
2719
2720
2721static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2722 PyObject *resultobj;
2723 wxChoice *arg1 = (wxChoice *) 0 ;
2724 int arg2 ;
2725 PyObject * obj0 = 0 ;
2726 PyObject * obj1 = 0 ;
2727 char *kwnames[] = {
2728 (char *) "self",(char *) "n", NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2734 arg2 = (int const) SWIG_AsInt(obj1);
2735 if (PyErr_Occurred()) SWIG_fail;
2736 {
2737 PyThreadState* __tstate = wxPyBeginAllowThreads();
2738 (arg1)->SetSelection(arg2);
2739
2740 wxPyEndAllowThreads(__tstate);
2741 if (PyErr_Occurred()) SWIG_fail;
2742 }
2743 Py_INCREF(Py_None); resultobj = Py_None;
2744 return resultobj;
2745 fail:
2746 return NULL;
2747}
2748
2749
2750static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2751 PyObject *resultobj;
2752 wxChoice *arg1 = (wxChoice *) 0 ;
2753 wxString *arg2 = 0 ;
121b9a67 2754 bool result;
d55e5bfc
RD
2755 bool temp2 = False ;
2756 PyObject * obj0 = 0 ;
2757 PyObject * obj1 = 0 ;
2758 char *kwnames[] = {
2759 (char *) "self",(char *) "string", NULL
2760 };
2761
2762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2765 {
2766 arg2 = wxString_in_helper(obj1);
2767 if (arg2 == NULL) SWIG_fail;
2768 temp2 = True;
2769 }
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
121b9a67 2772 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
d55e5bfc
RD
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
121b9a67
RD
2777 {
2778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2779 }
d55e5bfc
RD
2780 {
2781 if (temp2)
2782 delete arg2;
2783 }
2784 return resultobj;
2785 fail:
2786 {
2787 if (temp2)
2788 delete arg2;
2789 }
2790 return NULL;
2791}
2792
2793
2794static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2795 PyObject *resultobj;
2796 wxChoice *arg1 = (wxChoice *) 0 ;
2797 int arg2 ;
2798 wxString *arg3 = 0 ;
2799 bool temp3 = False ;
2800 PyObject * obj0 = 0 ;
2801 PyObject * obj1 = 0 ;
2802 PyObject * obj2 = 0 ;
2803 char *kwnames[] = {
2804 (char *) "self",(char *) "n",(char *) "string", NULL
2805 };
2806
2807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChoice,
2809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2810 arg2 = (int) SWIG_AsInt(obj1);
2811 if (PyErr_Occurred()) SWIG_fail;
2812 {
2813 arg3 = wxString_in_helper(obj2);
2814 if (arg3 == NULL) SWIG_fail;
2815 temp3 = True;
2816 }
2817 {
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 (arg1)->SetString(arg2,(wxString const &)*arg3);
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 Py_INCREF(Py_None); resultobj = Py_None;
2825 {
2826 if (temp3)
2827 delete arg3;
2828 }
2829 return resultobj;
2830 fail:
2831 {
2832 if (temp3)
2833 delete arg3;
2834 }
2835 return NULL;
2836}
2837
2838
f20a2e1f
RD
2839static PyObject *_wrap_Choice_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
2840 PyObject *resultobj;
2841 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
2842 wxVisualAttributes result;
2843 PyObject * obj0 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "variant", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
2849 if (obj0) {
2850 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 }
2853 {
2854 PyThreadState* __tstate = wxPyBeginAllowThreads();
2855 result = wxChoice::GetClassDefaultAttributes((wxWindowVariant )arg1);
2856
2857 wxPyEndAllowThreads(__tstate);
2858 if (PyErr_Occurred()) SWIG_fail;
2859 }
2860 {
2861 wxVisualAttributes * resultptr;
2862 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
2863 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
2864 }
2865 return resultobj;
2866 fail:
2867 return NULL;
2868}
2869
2870
d55e5bfc
RD
2871static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2872 PyObject *obj;
2873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2874 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2875 Py_INCREF(obj);
2876 return Py_BuildValue((char *)"");
2877}
2878static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2879 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2880 return 1;
2881}
2882
2883
2884static PyObject *_wrap_ComboBoxNameStr_get() {
2885 PyObject *pyobj;
2886
2887 {
2888#if wxUSE_UNICODE
2889 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2890#else
2891 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2892#endif
2893 }
2894 return pyobj;
2895}
2896
2897
2898static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxWindow *arg1 = (wxWindow *) 0 ;
2901 int arg2 = (int) -1 ;
2902 wxString const &arg3_defvalue = wxPyEmptyString ;
2903 wxString *arg3 = (wxString *) &arg3_defvalue ;
2904 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2905 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2906 wxSize const &arg5_defvalue = wxDefaultSize ;
2907 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2908 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2909 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2910 long arg7 = (long) 0 ;
2911 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2912 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2913 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2914 wxString *arg9 = (wxString *) &arg9_defvalue ;
2915 wxComboBox *result;
2916 bool temp3 = False ;
2917 wxPoint temp4 ;
2918 wxSize temp5 ;
2919 bool temp6 = False ;
2920 bool temp9 = False ;
2921 PyObject * obj0 = 0 ;
2922 PyObject * obj1 = 0 ;
2923 PyObject * obj2 = 0 ;
2924 PyObject * obj3 = 0 ;
2925 PyObject * obj4 = 0 ;
2926 PyObject * obj5 = 0 ;
2927 PyObject * obj6 = 0 ;
2928 PyObject * obj7 = 0 ;
2929 PyObject * obj8 = 0 ;
2930 char *kwnames[] = {
2931 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2932 };
2933
2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
2936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2937 if (obj1) {
2938 arg2 = (int) SWIG_AsInt(obj1);
2939 if (PyErr_Occurred()) SWIG_fail;
2940 }
2941 if (obj2) {
2942 {
2943 arg3 = wxString_in_helper(obj2);
2944 if (arg3 == NULL) SWIG_fail;
2945 temp3 = True;
2946 }
2947 }
2948 if (obj3) {
2949 {
2950 arg4 = &temp4;
2951 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2952 }
2953 }
2954 if (obj4) {
2955 {
2956 arg5 = &temp5;
2957 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2958 }
2959 }
2960 if (obj5) {
2961 {
2962 if (! PySequence_Check(obj5)) {
2963 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2964 SWIG_fail;
2965 }
2966 arg6 = new wxArrayString;
2967 temp6 = True;
2968 int i, len=PySequence_Length(obj5);
2969 for (i=0; i<len; i++) {
2970 PyObject* item = PySequence_GetItem(obj5, i);
2971#if wxUSE_UNICODE
2972 PyObject* str = PyObject_Unicode(item);
2973#else
2974 PyObject* str = PyObject_Str(item);
2975#endif
2976 if (PyErr_Occurred()) SWIG_fail;
2977 arg6->Add(Py2wxString(str));
2978 Py_DECREF(item);
2979 Py_DECREF(str);
2980 }
2981 }
2982 }
2983 if (obj6) {
2984 arg7 = (long) SWIG_AsLong(obj6);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 if (obj7) {
2988 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
2989 SWIG_POINTER_EXCEPTION | 0)) == -1)
2990 SWIG_fail;
2991 if (arg8 == NULL) {
2992 PyErr_SetString(PyExc_TypeError,"null reference");
2993 SWIG_fail;
2994 }
2995 }
2996 if (obj8) {
2997 {
2998 arg9 = wxString_in_helper(obj8);
2999 if (arg9 == NULL) SWIG_fail;
3000 temp9 = True;
3001 }
3002 }
3003 {
3004 PyThreadState* __tstate = wxPyBeginAllowThreads();
3005 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);
3006
3007 wxPyEndAllowThreads(__tstate);
3008 if (PyErr_Occurred()) SWIG_fail;
3009 }
3010 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3011 {
3012 if (temp3)
3013 delete arg3;
3014 }
3015 {
3016 if (temp6) delete arg6;
3017 }
3018 {
3019 if (temp9)
3020 delete arg9;
3021 }
3022 return resultobj;
3023 fail:
3024 {
3025 if (temp3)
3026 delete arg3;
3027 }
3028 {
3029 if (temp6) delete arg6;
3030 }
3031 {
3032 if (temp9)
3033 delete arg9;
3034 }
3035 return NULL;
3036}
3037
3038
3039static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3040 PyObject *resultobj;
3041 wxComboBox *result;
3042 char *kwnames[] = {
3043 NULL
3044 };
3045
3046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
3047 {
3048 PyThreadState* __tstate = wxPyBeginAllowThreads();
3049 result = (wxComboBox *)new wxComboBox();
3050
3051 wxPyEndAllowThreads(__tstate);
3052 if (PyErr_Occurred()) SWIG_fail;
3053 }
3054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxComboBox, 1);
3055 return resultobj;
3056 fail:
3057 return NULL;
3058}
3059
3060
3061static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3062 PyObject *resultobj;
3063 wxComboBox *arg1 = (wxComboBox *) 0 ;
3064 wxWindow *arg2 = (wxWindow *) 0 ;
3065 int arg3 = (int) -1 ;
3066 wxString const &arg4_defvalue = wxPyEmptyString ;
3067 wxString *arg4 = (wxString *) &arg4_defvalue ;
3068 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3069 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3070 wxSize const &arg6_defvalue = wxDefaultSize ;
3071 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3072 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
3073 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
3074 long arg8 = (long) 0 ;
3075 wxValidator const &arg9_defvalue = wxDefaultValidator ;
3076 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
3077 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
3078 wxString *arg10 = (wxString *) &arg10_defvalue ;
3079 bool result;
3080 bool temp4 = False ;
3081 wxPoint temp5 ;
3082 wxSize temp6 ;
3083 bool temp7 = False ;
3084 bool temp10 = False ;
3085 PyObject * obj0 = 0 ;
3086 PyObject * obj1 = 0 ;
3087 PyObject * obj2 = 0 ;
3088 PyObject * obj3 = 0 ;
3089 PyObject * obj4 = 0 ;
3090 PyObject * obj5 = 0 ;
3091 PyObject * obj6 = 0 ;
3092 PyObject * obj7 = 0 ;
3093 PyObject * obj8 = 0 ;
3094 PyObject * obj9 = 0 ;
3095 char *kwnames[] = {
3096 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3097 };
3098
3099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
3100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3102 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3104 if (obj2) {
3105 arg3 = (int) SWIG_AsInt(obj2);
3106 if (PyErr_Occurred()) SWIG_fail;
3107 }
3108 if (obj3) {
3109 {
3110 arg4 = wxString_in_helper(obj3);
3111 if (arg4 == NULL) SWIG_fail;
3112 temp4 = True;
3113 }
3114 }
3115 if (obj4) {
3116 {
3117 arg5 = &temp5;
3118 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3119 }
3120 }
3121 if (obj5) {
3122 {
3123 arg6 = &temp6;
3124 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3125 }
3126 }
3127 if (obj6) {
3128 {
3129 if (! PySequence_Check(obj6)) {
3130 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3131 SWIG_fail;
3132 }
3133 arg7 = new wxArrayString;
3134 temp7 = True;
3135 int i, len=PySequence_Length(obj6);
3136 for (i=0; i<len; i++) {
3137 PyObject* item = PySequence_GetItem(obj6, i);
3138#if wxUSE_UNICODE
3139 PyObject* str = PyObject_Unicode(item);
3140#else
3141 PyObject* str = PyObject_Str(item);
3142#endif
3143 if (PyErr_Occurred()) SWIG_fail;
3144 arg7->Add(Py2wxString(str));
3145 Py_DECREF(item);
3146 Py_DECREF(str);
3147 }
3148 }
3149 }
3150 if (obj7) {
3151 arg8 = (long) SWIG_AsLong(obj7);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 if (obj8) {
3155 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
3156 SWIG_POINTER_EXCEPTION | 0)) == -1)
3157 SWIG_fail;
3158 if (arg9 == NULL) {
3159 PyErr_SetString(PyExc_TypeError,"null reference");
3160 SWIG_fail;
3161 }
3162 }
3163 if (obj9) {
3164 {
3165 arg10 = wxString_in_helper(obj9);
3166 if (arg10 == NULL) SWIG_fail;
3167 temp10 = True;
3168 }
3169 }
3170 {
3171 PyThreadState* __tstate = wxPyBeginAllowThreads();
3172 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);
3173
3174 wxPyEndAllowThreads(__tstate);
3175 if (PyErr_Occurred()) SWIG_fail;
3176 }
3177 {
3178 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3179 }
3180 {
3181 if (temp4)
3182 delete arg4;
3183 }
3184 {
3185 if (temp7) delete arg7;
3186 }
3187 {
3188 if (temp10)
3189 delete arg10;
3190 }
3191 return resultobj;
3192 fail:
3193 {
3194 if (temp4)
3195 delete arg4;
3196 }
3197 {
3198 if (temp7) delete arg7;
3199 }
3200 {
3201 if (temp10)
3202 delete arg10;
3203 }
3204 return NULL;
3205}
3206
3207
3208static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3209 PyObject *resultobj;
3210 wxComboBox *arg1 = (wxComboBox *) 0 ;
3211 wxString result;
3212 PyObject * obj0 = 0 ;
3213 char *kwnames[] = {
3214 (char *) "self", NULL
3215 };
3216
3217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
3218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3220 {
3221 PyThreadState* __tstate = wxPyBeginAllowThreads();
3222 result = ((wxComboBox const *)arg1)->GetValue();
3223
3224 wxPyEndAllowThreads(__tstate);
3225 if (PyErr_Occurred()) SWIG_fail;
3226 }
3227 {
3228#if wxUSE_UNICODE
3229 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3230#else
3231 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3232#endif
3233 }
3234 return resultobj;
3235 fail:
3236 return NULL;
3237}
3238
3239
3240static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3241 PyObject *resultobj;
3242 wxComboBox *arg1 = (wxComboBox *) 0 ;
3243 wxString *arg2 = 0 ;
3244 bool temp2 = False ;
3245 PyObject * obj0 = 0 ;
3246 PyObject * obj1 = 0 ;
3247 char *kwnames[] = {
3248 (char *) "self",(char *) "value", NULL
3249 };
3250
3251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
3252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3254 {
3255 arg2 = wxString_in_helper(obj1);
3256 if (arg2 == NULL) SWIG_fail;
3257 temp2 = True;
3258 }
3259 {
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 (arg1)->SetValue((wxString const &)*arg2);
3262
3263 wxPyEndAllowThreads(__tstate);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 Py_INCREF(Py_None); resultobj = Py_None;
3267 {
3268 if (temp2)
3269 delete arg2;
3270 }
3271 return resultobj;
3272 fail:
3273 {
3274 if (temp2)
3275 delete arg2;
3276 }
3277 return NULL;
3278}
3279
3280
3281static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
3282 PyObject *resultobj;
3283 wxComboBox *arg1 = (wxComboBox *) 0 ;
3284 PyObject * obj0 = 0 ;
3285 char *kwnames[] = {
3286 (char *) "self", NULL
3287 };
3288
3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
3290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 (arg1)->Copy();
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 Py_INCREF(Py_None); resultobj = Py_None;
3300 return resultobj;
3301 fail:
3302 return NULL;
3303}
3304
3305
3306static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxComboBox *arg1 = (wxComboBox *) 0 ;
3309 PyObject * obj0 = 0 ;
3310 char *kwnames[] = {
3311 (char *) "self", NULL
3312 };
3313
3314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3317 {
3318 PyThreadState* __tstate = wxPyBeginAllowThreads();
3319 (arg1)->Cut();
3320
3321 wxPyEndAllowThreads(__tstate);
3322 if (PyErr_Occurred()) SWIG_fail;
3323 }
3324 Py_INCREF(Py_None); resultobj = Py_None;
3325 return resultobj;
3326 fail:
3327 return NULL;
3328}
3329
3330
3331static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3332 PyObject *resultobj;
3333 wxComboBox *arg1 = (wxComboBox *) 0 ;
3334 PyObject * obj0 = 0 ;
3335 char *kwnames[] = {
3336 (char *) "self", NULL
3337 };
3338
3339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3342 {
3343 PyThreadState* __tstate = wxPyBeginAllowThreads();
3344 (arg1)->Paste();
3345
3346 wxPyEndAllowThreads(__tstate);
3347 if (PyErr_Occurred()) SWIG_fail;
3348 }
3349 Py_INCREF(Py_None); resultobj = Py_None;
3350 return resultobj;
3351 fail:
3352 return NULL;
3353}
3354
3355
3356static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3357 PyObject *resultobj;
3358 wxComboBox *arg1 = (wxComboBox *) 0 ;
3359 long arg2 ;
3360 PyObject * obj0 = 0 ;
3361 PyObject * obj1 = 0 ;
3362 char *kwnames[] = {
3363 (char *) "self",(char *) "pos", NULL
3364 };
3365
3366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3369 arg2 = (long) SWIG_AsLong(obj1);
3370 if (PyErr_Occurred()) SWIG_fail;
3371 {
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 (arg1)->SetInsertionPoint(arg2);
3374
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 Py_INCREF(Py_None); resultobj = Py_None;
3379 return resultobj;
3380 fail:
3381 return NULL;
3382}
3383
3384
3385static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3386 PyObject *resultobj;
3387 wxComboBox *arg1 = (wxComboBox *) 0 ;
3388 long result;
3389 PyObject * obj0 = 0 ;
3390 char *kwnames[] = {
3391 (char *) "self", NULL
3392 };
3393
3394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3397 {
3398 PyThreadState* __tstate = wxPyBeginAllowThreads();
3399 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3400
3401 wxPyEndAllowThreads(__tstate);
3402 if (PyErr_Occurred()) SWIG_fail;
3403 }
3404 resultobj = SWIG_FromLong((long)result);
3405 return resultobj;
3406 fail:
3407 return NULL;
3408}
3409
3410
3411static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3412 PyObject *resultobj;
3413 wxComboBox *arg1 = (wxComboBox *) 0 ;
3414 long result;
3415 PyObject * obj0 = 0 ;
3416 char *kwnames[] = {
3417 (char *) "self", NULL
3418 };
3419
3420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3423 {
3424 PyThreadState* __tstate = wxPyBeginAllowThreads();
3425 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3426
3427 wxPyEndAllowThreads(__tstate);
3428 if (PyErr_Occurred()) SWIG_fail;
3429 }
3430 resultobj = SWIG_FromLong((long)result);
3431 return resultobj;
3432 fail:
3433 return NULL;
3434}
3435
3436
3437static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3438 PyObject *resultobj;
3439 wxComboBox *arg1 = (wxComboBox *) 0 ;
3440 long arg2 ;
3441 long arg3 ;
3442 wxString *arg4 = 0 ;
3443 bool temp4 = False ;
3444 PyObject * obj0 = 0 ;
3445 PyObject * obj1 = 0 ;
3446 PyObject * obj2 = 0 ;
3447 PyObject * obj3 = 0 ;
3448 char *kwnames[] = {
3449 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3450 };
3451
3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3455 arg2 = (long) SWIG_AsLong(obj1);
3456 if (PyErr_Occurred()) SWIG_fail;
3457 arg3 = (long) SWIG_AsLong(obj2);
3458 if (PyErr_Occurred()) SWIG_fail;
3459 {
3460 arg4 = wxString_in_helper(obj3);
3461 if (arg4 == NULL) SWIG_fail;
3462 temp4 = True;
3463 }
3464 {
3465 PyThreadState* __tstate = wxPyBeginAllowThreads();
3466 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3467
3468 wxPyEndAllowThreads(__tstate);
3469 if (PyErr_Occurred()) SWIG_fail;
3470 }
3471 Py_INCREF(Py_None); resultobj = Py_None;
3472 {
3473 if (temp4)
3474 delete arg4;
3475 }
3476 return resultobj;
3477 fail:
3478 {
3479 if (temp4)
3480 delete arg4;
3481 }
3482 return NULL;
3483}
3484
3485
3486static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3487 PyObject *resultobj;
3488 wxComboBox *arg1 = (wxComboBox *) 0 ;
3489 int arg2 ;
3490 PyObject * obj0 = 0 ;
3491 PyObject * obj1 = 0 ;
3492 char *kwnames[] = {
3493 (char *) "self",(char *) "n", NULL
3494 };
3495
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3499 arg2 = (int) SWIG_AsInt(obj1);
3500 if (PyErr_Occurred()) SWIG_fail;
3501 {
3502 PyThreadState* __tstate = wxPyBeginAllowThreads();
3503 (arg1)->SetSelection(arg2);
3504
3505 wxPyEndAllowThreads(__tstate);
3506 if (PyErr_Occurred()) SWIG_fail;
3507 }
3508 Py_INCREF(Py_None); resultobj = Py_None;
3509 return resultobj;
3510 fail:
3511 return NULL;
3512}
3513
3514
3515static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3516 PyObject *resultobj;
3517 wxComboBox *arg1 = (wxComboBox *) 0 ;
3518 long arg2 ;
3519 long arg3 ;
3520 PyObject * obj0 = 0 ;
3521 PyObject * obj1 = 0 ;
3522 PyObject * obj2 = 0 ;
3523 char *kwnames[] = {
3524 (char *) "self",(char *) "from",(char *) "to", NULL
3525 };
3526
3527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3530 arg2 = (long) SWIG_AsLong(obj1);
3531 if (PyErr_Occurred()) SWIG_fail;
3532 arg3 = (long) SWIG_AsLong(obj2);
3533 if (PyErr_Occurred()) SWIG_fail;
3534 {
3535 PyThreadState* __tstate = wxPyBeginAllowThreads();
3536 (arg1)->SetSelection(arg2,arg3);
3537
3538 wxPyEndAllowThreads(__tstate);
3539 if (PyErr_Occurred()) SWIG_fail;
3540 }
3541 Py_INCREF(Py_None); resultobj = Py_None;
3542 return resultobj;
3543 fail:
3544 return NULL;
3545}
3546
3547
121b9a67
RD
3548static PyObject *_wrap_ComboBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3549 PyObject *resultobj;
3550 wxComboBox *arg1 = (wxComboBox *) 0 ;
3551 wxString *arg2 = 0 ;
3552 bool result;
3553 bool temp2 = False ;
3554 PyObject * obj0 = 0 ;
3555 PyObject * obj1 = 0 ;
3556 char *kwnames[] = {
3557 (char *) "self",(char *) "string", NULL
3558 };
3559
3560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
3561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3563 {
3564 arg2 = wxString_in_helper(obj1);
3565 if (arg2 == NULL) SWIG_fail;
3566 temp2 = True;
3567 }
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 {
3576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3577 }
3578 {
3579 if (temp2)
3580 delete arg2;
3581 }
3582 return resultobj;
3583 fail:
3584 {
3585 if (temp2)
3586 delete arg2;
3587 }
3588 return NULL;
3589}
3590
3591
3592static PyObject *_wrap_ComboBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxComboBox *arg1 = (wxComboBox *) 0 ;
3595 int arg2 ;
3596 wxString *arg3 = 0 ;
3597 bool temp3 = False ;
3598 PyObject * obj0 = 0 ;
3599 PyObject * obj1 = 0 ;
3600 PyObject * obj2 = 0 ;
3601 char *kwnames[] = {
3602 (char *) "self",(char *) "n",(char *) "string", NULL
3603 };
3604
3605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
3606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3608 arg2 = (int) SWIG_AsInt(obj1);
3609 if (PyErr_Occurred()) SWIG_fail;
3610 {
3611 arg3 = wxString_in_helper(obj2);
3612 if (arg3 == NULL) SWIG_fail;
3613 temp3 = True;
3614 }
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 (arg1)->SetString(arg2,(wxString const &)*arg3);
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
3622 Py_INCREF(Py_None); resultobj = Py_None;
3623 {
3624 if (temp3)
3625 delete arg3;
3626 }
3627 return resultobj;
3628 fail:
3629 {
3630 if (temp3)
3631 delete arg3;
3632 }
3633 return NULL;
3634}
3635
3636
d55e5bfc
RD
3637static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3638 PyObject *resultobj;
3639 wxComboBox *arg1 = (wxComboBox *) 0 ;
3640 bool arg2 ;
3641 PyObject * obj0 = 0 ;
3642 PyObject * obj1 = 0 ;
3643 char *kwnames[] = {
3644 (char *) "self",(char *) "editable", NULL
3645 };
3646
3647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3650 arg2 = (bool) SWIG_AsBool(obj1);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 {
3653 PyThreadState* __tstate = wxPyBeginAllowThreads();
3654 (arg1)->SetEditable(arg2);
3655
3656 wxPyEndAllowThreads(__tstate);
3657 if (PyErr_Occurred()) SWIG_fail;
3658 }
3659 Py_INCREF(Py_None); resultobj = Py_None;
3660 return resultobj;
3661 fail:
3662 return NULL;
3663}
3664
3665
3666static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3667 PyObject *resultobj;
3668 wxComboBox *arg1 = (wxComboBox *) 0 ;
3669 PyObject * obj0 = 0 ;
3670 char *kwnames[] = {
3671 (char *) "self", NULL
3672 };
3673
3674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3677 {
3678 PyThreadState* __tstate = wxPyBeginAllowThreads();
3679 (arg1)->SetInsertionPointEnd();
3680
3681 wxPyEndAllowThreads(__tstate);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 Py_INCREF(Py_None); resultobj = Py_None;
3685 return resultobj;
3686 fail:
3687 return NULL;
3688}
3689
3690
3691static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3692 PyObject *resultobj;
3693 wxComboBox *arg1 = (wxComboBox *) 0 ;
3694 long arg2 ;
3695 long arg3 ;
3696 PyObject * obj0 = 0 ;
3697 PyObject * obj1 = 0 ;
3698 PyObject * obj2 = 0 ;
3699 char *kwnames[] = {
3700 (char *) "self",(char *) "from",(char *) "to", NULL
3701 };
3702
3703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxComboBox,
3705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3706 arg2 = (long) SWIG_AsLong(obj1);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 arg3 = (long) SWIG_AsLong(obj2);
3709 if (PyErr_Occurred()) SWIG_fail;
3710 {
3711 PyThreadState* __tstate = wxPyBeginAllowThreads();
3712 (arg1)->Remove(arg2,arg3);
3713
3714 wxPyEndAllowThreads(__tstate);
3715 if (PyErr_Occurred()) SWIG_fail;
3716 }
3717 Py_INCREF(Py_None); resultobj = Py_None;
3718 return resultobj;
3719 fail:
3720 return NULL;
3721}
3722
3723
f20a2e1f
RD
3724static PyObject *_wrap_ComboBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
3725 PyObject *resultobj;
3726 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
3727 wxVisualAttributes result;
3728 PyObject * obj0 = 0 ;
3729 char *kwnames[] = {
3730 (char *) "variant", NULL
3731 };
3732
3733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
3734 if (obj0) {
3735 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 {
3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
3740 result = wxComboBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
3741
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 }
3745 {
3746 wxVisualAttributes * resultptr;
3747 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
3748 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
3749 }
3750 return resultobj;
3751 fail:
3752 return NULL;
3753}
3754
3755
d55e5bfc
RD
3756static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3757 PyObject *obj;
3758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3759 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3760 Py_INCREF(obj);
3761 return Py_BuildValue((char *)"");
3762}
3763static int _wrap_GaugeNameStr_set(PyObject *_val) {
3764 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3765 return 1;
3766}
3767
3768
3769static PyObject *_wrap_GaugeNameStr_get() {
3770 PyObject *pyobj;
3771
3772 {
3773#if wxUSE_UNICODE
3774 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3775#else
3776 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3777#endif
3778 }
3779 return pyobj;
3780}
3781
3782
3783static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3784 PyObject *resultobj;
3785 wxWindow *arg1 = (wxWindow *) 0 ;
3786 int arg2 ;
3787 int arg3 ;
3788 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3789 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3790 wxSize const &arg5_defvalue = wxDefaultSize ;
3791 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3792 long arg6 = (long) wxGA_HORIZONTAL ;
3793 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3794 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3795 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3796 wxString *arg8 = (wxString *) &arg8_defvalue ;
3797 wxGauge *result;
3798 wxPoint temp4 ;
3799 wxSize temp5 ;
3800 bool temp8 = False ;
3801 PyObject * obj0 = 0 ;
3802 PyObject * obj1 = 0 ;
3803 PyObject * obj2 = 0 ;
3804 PyObject * obj3 = 0 ;
3805 PyObject * obj4 = 0 ;
3806 PyObject * obj5 = 0 ;
3807 PyObject * obj6 = 0 ;
3808 PyObject * obj7 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
3815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3816 arg2 = (int) SWIG_AsInt(obj1);
3817 if (PyErr_Occurred()) SWIG_fail;
3818 arg3 = (int) SWIG_AsInt(obj2);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 if (obj3) {
3821 {
3822 arg4 = &temp4;
3823 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3824 }
3825 }
3826 if (obj4) {
3827 {
3828 arg5 = &temp5;
3829 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3830 }
3831 }
3832 if (obj5) {
3833 arg6 = (long) SWIG_AsLong(obj5);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 if (obj6) {
3837 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
3838 SWIG_POINTER_EXCEPTION | 0)) == -1)
3839 SWIG_fail;
3840 if (arg7 == NULL) {
3841 PyErr_SetString(PyExc_TypeError,"null reference");
3842 SWIG_fail;
3843 }
3844 }
3845 if (obj7) {
3846 {
3847 arg8 = wxString_in_helper(obj7);
3848 if (arg8 == NULL) SWIG_fail;
3849 temp8 = True;
3850 }
3851 }
3852 {
3853 PyThreadState* __tstate = wxPyBeginAllowThreads();
3854 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3855
3856 wxPyEndAllowThreads(__tstate);
3857 if (PyErr_Occurred()) SWIG_fail;
3858 }
3859 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3860 {
3861 if (temp8)
3862 delete arg8;
3863 }
3864 return resultobj;
3865 fail:
3866 {
3867 if (temp8)
3868 delete arg8;
3869 }
3870 return NULL;
3871}
3872
3873
3874static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3875 PyObject *resultobj;
3876 wxGauge *result;
3877 char *kwnames[] = {
3878 NULL
3879 };
3880
3881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3882 {
3883 PyThreadState* __tstate = wxPyBeginAllowThreads();
3884 result = (wxGauge *)new wxGauge();
3885
3886 wxPyEndAllowThreads(__tstate);
3887 if (PyErr_Occurred()) SWIG_fail;
3888 }
3889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGauge, 1);
3890 return resultobj;
3891 fail:
3892 return NULL;
3893}
3894
3895
3896static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3897 PyObject *resultobj;
3898 wxGauge *arg1 = (wxGauge *) 0 ;
3899 wxWindow *arg2 = (wxWindow *) 0 ;
3900 int arg3 ;
3901 int arg4 ;
3902 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3903 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3904 wxSize const &arg6_defvalue = wxDefaultSize ;
3905 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3906 long arg7 = (long) wxGA_HORIZONTAL ;
3907 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3908 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3909 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3910 wxString *arg9 = (wxString *) &arg9_defvalue ;
3911 bool result;
3912 wxPoint temp5 ;
3913 wxSize temp6 ;
3914 bool temp9 = False ;
3915 PyObject * obj0 = 0 ;
3916 PyObject * obj1 = 0 ;
3917 PyObject * obj2 = 0 ;
3918 PyObject * obj3 = 0 ;
3919 PyObject * obj4 = 0 ;
3920 PyObject * obj5 = 0 ;
3921 PyObject * obj6 = 0 ;
3922 PyObject * obj7 = 0 ;
3923 PyObject * obj8 = 0 ;
3924 char *kwnames[] = {
3925 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3926 };
3927
3928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
3930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3931 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
3932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3933 arg3 = (int) SWIG_AsInt(obj2);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 arg4 = (int) SWIG_AsInt(obj3);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 if (obj4) {
3938 {
3939 arg5 = &temp5;
3940 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3941 }
3942 }
3943 if (obj5) {
3944 {
3945 arg6 = &temp6;
3946 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3947 }
3948 }
3949 if (obj6) {
3950 arg7 = (long) SWIG_AsLong(obj6);
3951 if (PyErr_Occurred()) SWIG_fail;
3952 }
3953 if (obj7) {
3954 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
3955 SWIG_POINTER_EXCEPTION | 0)) == -1)
3956 SWIG_fail;
3957 if (arg8 == NULL) {
3958 PyErr_SetString(PyExc_TypeError,"null reference");
3959 SWIG_fail;
3960 }
3961 }
3962 if (obj8) {
3963 {
3964 arg9 = wxString_in_helper(obj8);
3965 if (arg9 == NULL) SWIG_fail;
3966 temp9 = True;
3967 }
3968 }
3969 {
3970 PyThreadState* __tstate = wxPyBeginAllowThreads();
3971 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3972
3973 wxPyEndAllowThreads(__tstate);
3974 if (PyErr_Occurred()) SWIG_fail;
3975 }
3976 {
3977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3978 }
3979 {
3980 if (temp9)
3981 delete arg9;
3982 }
3983 return resultobj;
3984 fail:
3985 {
3986 if (temp9)
3987 delete arg9;
3988 }
3989 return NULL;
3990}
3991
3992
3993static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3994 PyObject *resultobj;
3995 wxGauge *arg1 = (wxGauge *) 0 ;
3996 int arg2 ;
3997 PyObject * obj0 = 0 ;
3998 PyObject * obj1 = 0 ;
3999 char *kwnames[] = {
4000 (char *) "self",(char *) "range", NULL
4001 };
4002
4003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
4004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4006 arg2 = (int) SWIG_AsInt(obj1);
4007 if (PyErr_Occurred()) SWIG_fail;
4008 {
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 (arg1)->SetRange(arg2);
4011
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 Py_INCREF(Py_None); resultobj = Py_None;
4016 return resultobj;
4017 fail:
4018 return NULL;
4019}
4020
4021
4022static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
4023 PyObject *resultobj;
4024 wxGauge *arg1 = (wxGauge *) 0 ;
4025 int result;
4026 PyObject * obj0 = 0 ;
4027 char *kwnames[] = {
4028 (char *) "self", NULL
4029 };
4030
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
4032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4034 {
4035 PyThreadState* __tstate = wxPyBeginAllowThreads();
4036 result = (int)((wxGauge const *)arg1)->GetRange();
4037
4038 wxPyEndAllowThreads(__tstate);
4039 if (PyErr_Occurred()) SWIG_fail;
4040 }
4041 resultobj = SWIG_FromInt((int)result);
4042 return resultobj;
4043 fail:
4044 return NULL;
4045}
4046
4047
4048static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4049 PyObject *resultobj;
4050 wxGauge *arg1 = (wxGauge *) 0 ;
4051 int arg2 ;
4052 PyObject * obj0 = 0 ;
4053 PyObject * obj1 = 0 ;
4054 char *kwnames[] = {
4055 (char *) "self",(char *) "pos", NULL
4056 };
4057
4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
4059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4061 arg2 = (int) SWIG_AsInt(obj1);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 (arg1)->SetValue(arg2);
4066
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 Py_INCREF(Py_None); resultobj = Py_None;
4071 return resultobj;
4072 fail:
4073 return NULL;
4074}
4075
4076
4077static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj;
4079 wxGauge *arg1 = (wxGauge *) 0 ;
4080 int result;
4081 PyObject * obj0 = 0 ;
4082 char *kwnames[] = {
4083 (char *) "self", NULL
4084 };
4085
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
4087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4089 {
4090 PyThreadState* __tstate = wxPyBeginAllowThreads();
4091 result = (int)((wxGauge const *)arg1)->GetValue();
4092
4093 wxPyEndAllowThreads(__tstate);
4094 if (PyErr_Occurred()) SWIG_fail;
4095 }
4096 resultobj = SWIG_FromInt((int)result);
4097 return resultobj;
4098 fail:
4099 return NULL;
4100}
4101
4102
4103static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4104 PyObject *resultobj;
4105 wxGauge *arg1 = (wxGauge *) 0 ;
4106 bool result;
4107 PyObject * obj0 = 0 ;
4108 char *kwnames[] = {
4109 (char *) "self", NULL
4110 };
4111
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
4113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4115 {
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 result = (bool)((wxGauge const *)arg1)->IsVertical();
4118
4119 wxPyEndAllowThreads(__tstate);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 }
4122 {
4123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4124 }
4125 return resultobj;
4126 fail:
4127 return NULL;
4128}
4129
4130
4131static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4132 PyObject *resultobj;
4133 wxGauge *arg1 = (wxGauge *) 0 ;
4134 int arg2 ;
4135 PyObject * obj0 = 0 ;
4136 PyObject * obj1 = 0 ;
4137 char *kwnames[] = {
4138 (char *) "self",(char *) "w", NULL
4139 };
4140
4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
4142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4144 arg2 = (int) SWIG_AsInt(obj1);
4145 if (PyErr_Occurred()) SWIG_fail;
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 (arg1)->SetShadowWidth(arg2);
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 Py_INCREF(Py_None); resultobj = Py_None;
4154 return resultobj;
4155 fail:
4156 return NULL;
4157}
4158
4159
4160static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj;
4162 wxGauge *arg1 = (wxGauge *) 0 ;
4163 int result;
4164 PyObject * obj0 = 0 ;
4165 char *kwnames[] = {
4166 (char *) "self", NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
4170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
4175
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
4179 resultobj = SWIG_FromInt((int)result);
4180 return resultobj;
4181 fail:
4182 return NULL;
4183}
4184
4185
4186static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4187 PyObject *resultobj;
4188 wxGauge *arg1 = (wxGauge *) 0 ;
4189 int arg2 ;
4190 PyObject * obj0 = 0 ;
4191 PyObject * obj1 = 0 ;
4192 char *kwnames[] = {
4193 (char *) "self",(char *) "w", NULL
4194 };
4195
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
4197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4199 arg2 = (int) SWIG_AsInt(obj1);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 {
4202 PyThreadState* __tstate = wxPyBeginAllowThreads();
4203 (arg1)->SetBezelFace(arg2);
4204
4205 wxPyEndAllowThreads(__tstate);
4206 if (PyErr_Occurred()) SWIG_fail;
4207 }
4208 Py_INCREF(Py_None); resultobj = Py_None;
4209 return resultobj;
4210 fail:
4211 return NULL;
4212}
4213
4214
4215static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
4216 PyObject *resultobj;
4217 wxGauge *arg1 = (wxGauge *) 0 ;
4218 int result;
4219 PyObject * obj0 = 0 ;
4220 char *kwnames[] = {
4221 (char *) "self", NULL
4222 };
4223
4224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
4225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGauge,
4226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 result = (int)((wxGauge const *)arg1)->GetBezelFace();
4230
4231 wxPyEndAllowThreads(__tstate);
4232 if (PyErr_Occurred()) SWIG_fail;
4233 }
4234 resultobj = SWIG_FromInt((int)result);
4235 return resultobj;
4236 fail:
4237 return NULL;
4238}
4239
4240
f20a2e1f
RD
4241static PyObject *_wrap_Gauge_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4242 PyObject *resultobj;
4243 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4244 wxVisualAttributes result;
4245 PyObject * obj0 = 0 ;
4246 char *kwnames[] = {
4247 (char *) "variant", NULL
4248 };
4249
4250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4251 if (obj0) {
4252 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 {
4256 PyThreadState* __tstate = wxPyBeginAllowThreads();
4257 result = wxGauge::GetClassDefaultAttributes((wxWindowVariant )arg1);
4258
4259 wxPyEndAllowThreads(__tstate);
4260 if (PyErr_Occurred()) SWIG_fail;
4261 }
4262 {
4263 wxVisualAttributes * resultptr;
4264 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4265 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4266 }
4267 return resultobj;
4268 fail:
4269 return NULL;
4270}
4271
4272
d55e5bfc
RD
4273static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
4274 PyObject *obj;
4275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4276 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
4277 Py_INCREF(obj);
4278 return Py_BuildValue((char *)"");
4279}
4280static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
4281 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
4282 return 1;
4283}
4284
4285
4286static PyObject *_wrap_StaticBitmapNameStr_get() {
4287 PyObject *pyobj;
4288
4289 {
4290#if wxUSE_UNICODE
4291 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4292#else
4293 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
4294#endif
4295 }
4296 return pyobj;
4297}
4298
4299
4300static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
4301 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
4302 return 1;
4303}
4304
4305
4306static PyObject *_wrap_StaticBoxNameStr_get() {
4307 PyObject *pyobj;
4308
4309 {
4310#if wxUSE_UNICODE
4311 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4312#else
4313 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
4314#endif
4315 }
4316 return pyobj;
4317}
4318
4319
4320static int _wrap_StaticTextNameStr_set(PyObject *_val) {
4321 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
4322 return 1;
4323}
4324
4325
4326static PyObject *_wrap_StaticTextNameStr_get() {
4327 PyObject *pyobj;
4328
4329 {
4330#if wxUSE_UNICODE
4331 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4332#else
4333 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
4334#endif
4335 }
4336 return pyobj;
4337}
4338
4339
4340static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4341 PyObject *resultobj;
4342 wxWindow *arg1 = (wxWindow *) 0 ;
4343 int arg2 ;
4344 wxString *arg3 = 0 ;
4345 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4346 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4347 wxSize const &arg5_defvalue = wxDefaultSize ;
4348 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4349 long arg6 = (long) 0 ;
4350 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
4351 wxString *arg7 = (wxString *) &arg7_defvalue ;
4352 wxStaticBox *result;
4353 bool temp3 = False ;
4354 wxPoint temp4 ;
4355 wxSize temp5 ;
4356 bool temp7 = False ;
4357 PyObject * obj0 = 0 ;
4358 PyObject * obj1 = 0 ;
4359 PyObject * obj2 = 0 ;
4360 PyObject * obj3 = 0 ;
4361 PyObject * obj4 = 0 ;
4362 PyObject * obj5 = 0 ;
4363 PyObject * obj6 = 0 ;
4364 char *kwnames[] = {
4365 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4366 };
4367
4368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4371 arg2 = (int) SWIG_AsInt(obj1);
4372 if (PyErr_Occurred()) SWIG_fail;
4373 {
4374 arg3 = wxString_in_helper(obj2);
4375 if (arg3 == NULL) SWIG_fail;
4376 temp3 = True;
4377 }
4378 if (obj3) {
4379 {
4380 arg4 = &temp4;
4381 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4382 }
4383 }
4384 if (obj4) {
4385 {
4386 arg5 = &temp5;
4387 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4388 }
4389 }
4390 if (obj5) {
4391 arg6 = (long) SWIG_AsLong(obj5);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4394 if (obj6) {
4395 {
4396 arg7 = wxString_in_helper(obj6);
4397 if (arg7 == NULL) SWIG_fail;
4398 temp7 = True;
4399 }
4400 }
4401 {
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 {
4409 resultobj = wxPyMake_wxObject(result);
4410 }
4411 {
4412 if (temp3)
4413 delete arg3;
4414 }
4415 {
4416 if (temp7)
4417 delete arg7;
4418 }
4419 return resultobj;
4420 fail:
4421 {
4422 if (temp3)
4423 delete arg3;
4424 }
4425 {
4426 if (temp7)
4427 delete arg7;
4428 }
4429 return NULL;
4430}
4431
4432
4433static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj;
4435 wxStaticBox *result;
4436 char *kwnames[] = {
4437 NULL
4438 };
4439
4440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4441 {
4442 PyThreadState* __tstate = wxPyBeginAllowThreads();
4443 result = (wxStaticBox *)new wxStaticBox();
4444
4445 wxPyEndAllowThreads(__tstate);
4446 if (PyErr_Occurred()) SWIG_fail;
4447 }
4448 {
4449 resultobj = wxPyMake_wxObject(result);
4450 }
4451 return resultobj;
4452 fail:
4453 return NULL;
4454}
4455
4456
4457static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4458 PyObject *resultobj;
4459 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4460 wxWindow *arg2 = (wxWindow *) 0 ;
4461 int arg3 ;
4462 wxString *arg4 = 0 ;
4463 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4464 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4465 wxSize const &arg6_defvalue = wxDefaultSize ;
4466 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4467 long arg7 = (long) 0 ;
4468 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4469 wxString *arg8 = (wxString *) &arg8_defvalue ;
4470 bool result;
4471 bool temp4 = False ;
4472 wxPoint temp5 ;
4473 wxSize temp6 ;
4474 bool temp8 = False ;
4475 PyObject * obj0 = 0 ;
4476 PyObject * obj1 = 0 ;
4477 PyObject * obj2 = 0 ;
4478 PyObject * obj3 = 0 ;
4479 PyObject * obj4 = 0 ;
4480 PyObject * obj5 = 0 ;
4481 PyObject * obj6 = 0 ;
4482 PyObject * obj7 = 0 ;
4483 char *kwnames[] = {
4484 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4485 };
4486
4487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
4489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4492 arg3 = (int) SWIG_AsInt(obj2);
4493 if (PyErr_Occurred()) SWIG_fail;
4494 {
4495 arg4 = wxString_in_helper(obj3);
4496 if (arg4 == NULL) SWIG_fail;
4497 temp4 = True;
4498 }
4499 if (obj4) {
4500 {
4501 arg5 = &temp5;
4502 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4503 }
4504 }
4505 if (obj5) {
4506 {
4507 arg6 = &temp6;
4508 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4509 }
4510 }
4511 if (obj6) {
4512 arg7 = (long) SWIG_AsLong(obj6);
4513 if (PyErr_Occurred()) SWIG_fail;
4514 }
4515 if (obj7) {
4516 {
4517 arg8 = wxString_in_helper(obj7);
4518 if (arg8 == NULL) SWIG_fail;
4519 temp8 = True;
4520 }
4521 }
4522 {
4523 PyThreadState* __tstate = wxPyBeginAllowThreads();
4524 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4525
4526 wxPyEndAllowThreads(__tstate);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 }
4529 {
4530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4531 }
4532 {
4533 if (temp4)
4534 delete arg4;
4535 }
4536 {
4537 if (temp8)
4538 delete arg8;
4539 }
4540 return resultobj;
4541 fail:
4542 {
4543 if (temp4)
4544 delete arg4;
4545 }
4546 {
4547 if (temp8)
4548 delete arg8;
4549 }
4550 return NULL;
4551}
4552
4553
f20a2e1f
RD
4554static PyObject *_wrap_StaticBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4555 PyObject *resultobj;
4556 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4557 wxVisualAttributes result;
4558 PyObject * obj0 = 0 ;
4559 char *kwnames[] = {
4560 (char *) "variant", NULL
4561 };
4562
4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4564 if (obj0) {
4565 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 }
4568 {
4569 PyThreadState* __tstate = wxPyBeginAllowThreads();
4570 result = wxStaticBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
4571
4572 wxPyEndAllowThreads(__tstate);
4573 if (PyErr_Occurred()) SWIG_fail;
4574 }
4575 {
4576 wxVisualAttributes * resultptr;
4577 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4578 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4579 }
4580 return resultobj;
4581 fail:
4582 return NULL;
4583}
4584
4585
d55e5bfc
RD
4586static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4587 PyObject *obj;
4588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4589 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4590 Py_INCREF(obj);
4591 return Py_BuildValue((char *)"");
4592}
4593static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4594 PyObject *resultobj;
4595 wxWindow *arg1 = (wxWindow *) 0 ;
4596 int arg2 ;
4597 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4598 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4599 wxSize const &arg4_defvalue = wxDefaultSize ;
4600 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4601 long arg5 = (long) wxLI_HORIZONTAL ;
4602 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4603 wxString *arg6 = (wxString *) &arg6_defvalue ;
4604 wxStaticLine *result;
4605 wxPoint temp3 ;
4606 wxSize temp4 ;
4607 bool temp6 = False ;
4608 PyObject * obj0 = 0 ;
4609 PyObject * obj1 = 0 ;
4610 PyObject * obj2 = 0 ;
4611 PyObject * obj3 = 0 ;
4612 PyObject * obj4 = 0 ;
4613 PyObject * obj5 = 0 ;
4614 char *kwnames[] = {
4615 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4616 };
4617
4618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4621 arg2 = (int) SWIG_AsInt(obj1);
4622 if (PyErr_Occurred()) SWIG_fail;
4623 if (obj2) {
4624 {
4625 arg3 = &temp3;
4626 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4627 }
4628 }
4629 if (obj3) {
4630 {
4631 arg4 = &temp4;
4632 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4633 }
4634 }
4635 if (obj4) {
4636 arg5 = (long) SWIG_AsLong(obj4);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 if (obj5) {
4640 {
4641 arg6 = wxString_in_helper(obj5);
4642 if (arg6 == NULL) SWIG_fail;
4643 temp6 = True;
4644 }
4645 }
4646 {
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4649
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4654 {
4655 if (temp6)
4656 delete arg6;
4657 }
4658 return resultobj;
4659 fail:
4660 {
4661 if (temp6)
4662 delete arg6;
4663 }
4664 return NULL;
4665}
4666
4667
4668static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4669 PyObject *resultobj;
4670 wxStaticLine *result;
4671 char *kwnames[] = {
4672 NULL
4673 };
4674
4675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4676 {
4677 PyThreadState* __tstate = wxPyBeginAllowThreads();
4678 result = (wxStaticLine *)new wxStaticLine();
4679
4680 wxPyEndAllowThreads(__tstate);
4681 if (PyErr_Occurred()) SWIG_fail;
4682 }
4683 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticLine, 1);
4684 return resultobj;
4685 fail:
4686 return NULL;
4687}
4688
4689
4690static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4691 PyObject *resultobj;
4692 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4693 wxWindow *arg2 = (wxWindow *) 0 ;
4694 int arg3 ;
4695 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4696 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4697 wxSize const &arg5_defvalue = wxDefaultSize ;
4698 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4699 long arg6 = (long) wxLI_HORIZONTAL ;
4700 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4701 wxString *arg7 = (wxString *) &arg7_defvalue ;
4702 bool result;
4703 wxPoint temp4 ;
4704 wxSize temp5 ;
4705 bool temp7 = False ;
4706 PyObject * obj0 = 0 ;
4707 PyObject * obj1 = 0 ;
4708 PyObject * obj2 = 0 ;
4709 PyObject * obj3 = 0 ;
4710 PyObject * obj4 = 0 ;
4711 PyObject * obj5 = 0 ;
4712 PyObject * obj6 = 0 ;
4713 char *kwnames[] = {
4714 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4715 };
4716
4717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
4721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4722 arg3 = (int) SWIG_AsInt(obj2);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 if (obj3) {
4725 {
4726 arg4 = &temp4;
4727 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4728 }
4729 }
4730 if (obj4) {
4731 {
4732 arg5 = &temp5;
4733 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4734 }
4735 }
4736 if (obj5) {
4737 arg6 = (long) SWIG_AsLong(obj5);
4738 if (PyErr_Occurred()) SWIG_fail;
4739 }
4740 if (obj6) {
4741 {
4742 arg7 = wxString_in_helper(obj6);
4743 if (arg7 == NULL) SWIG_fail;
4744 temp7 = True;
4745 }
4746 }
4747 {
4748 PyThreadState* __tstate = wxPyBeginAllowThreads();
4749 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4750
4751 wxPyEndAllowThreads(__tstate);
4752 if (PyErr_Occurred()) SWIG_fail;
4753 }
4754 {
4755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4756 }
4757 {
4758 if (temp7)
4759 delete arg7;
4760 }
4761 return resultobj;
4762 fail:
4763 {
4764 if (temp7)
4765 delete arg7;
4766 }
4767 return NULL;
4768}
4769
4770
4771static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4772 PyObject *resultobj;
4773 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4774 bool result;
4775 PyObject * obj0 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "self", NULL
4778 };
4779
4780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticLine,
4782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 {
4791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4792 }
4793 return resultobj;
4794 fail:
4795 return NULL;
4796}
4797
4798
4799static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 int result;
4802 char *kwnames[] = {
4803 NULL
4804 };
4805
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4807 {
4808 PyThreadState* __tstate = wxPyBeginAllowThreads();
4809 result = (int)wxStaticLine::GetDefaultSize();
4810
4811 wxPyEndAllowThreads(__tstate);
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 resultobj = SWIG_FromInt((int)result);
4815 return resultobj;
4816 fail:
4817 return NULL;
4818}
4819
4820
f20a2e1f
RD
4821static PyObject *_wrap_StaticLine_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject *resultobj;
4823 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
4824 wxVisualAttributes result;
4825 PyObject * obj0 = 0 ;
4826 char *kwnames[] = {
4827 (char *) "variant", NULL
4828 };
4829
4830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
4831 if (obj0) {
4832 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
4833 if (PyErr_Occurred()) SWIG_fail;
4834 }
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
4837 result = wxStaticLine::GetClassDefaultAttributes((wxWindowVariant )arg1);
4838
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 {
4843 wxVisualAttributes * resultptr;
4844 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
4845 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
4846 }
4847 return resultobj;
4848 fail:
4849 return NULL;
4850}
4851
4852
d55e5bfc
RD
4853static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4854 PyObject *obj;
4855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4856 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4857 Py_INCREF(obj);
4858 return Py_BuildValue((char *)"");
4859}
4860static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4861 PyObject *resultobj;
4862 wxWindow *arg1 = (wxWindow *) 0 ;
4863 int arg2 ;
4864 wxString *arg3 = 0 ;
4865 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4866 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4867 wxSize const &arg5_defvalue = wxDefaultSize ;
4868 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4869 long arg6 = (long) 0 ;
4870 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4871 wxString *arg7 = (wxString *) &arg7_defvalue ;
4872 wxStaticText *result;
4873 bool temp3 = False ;
4874 wxPoint temp4 ;
4875 wxSize temp5 ;
4876 bool temp7 = False ;
4877 PyObject * obj0 = 0 ;
4878 PyObject * obj1 = 0 ;
4879 PyObject * obj2 = 0 ;
4880 PyObject * obj3 = 0 ;
4881 PyObject * obj4 = 0 ;
4882 PyObject * obj5 = 0 ;
4883 PyObject * obj6 = 0 ;
4884 char *kwnames[] = {
4885 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4886 };
4887
4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
4890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4891 arg2 = (int) SWIG_AsInt(obj1);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 {
4894 arg3 = wxString_in_helper(obj2);
4895 if (arg3 == NULL) SWIG_fail;
4896 temp3 = True;
4897 }
4898 if (obj3) {
4899 {
4900 arg4 = &temp4;
4901 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4902 }
4903 }
4904 if (obj4) {
4905 {
4906 arg5 = &temp5;
4907 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4908 }
4909 }
4910 if (obj5) {
4911 arg6 = (long) SWIG_AsLong(obj5);
4912 if (PyErr_Occurred()) SWIG_fail;
4913 }
4914 if (obj6) {
4915 {
4916 arg7 = wxString_in_helper(obj6);
4917 if (arg7 == NULL) SWIG_fail;
4918 temp7 = True;
4919 }
4920 }
4921 {
4922 PyThreadState* __tstate = wxPyBeginAllowThreads();
4923 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4924
4925 wxPyEndAllowThreads(__tstate);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4929 {
4930 if (temp3)
4931 delete arg3;
4932 }
4933 {
4934 if (temp7)
4935 delete arg7;
4936 }
4937 return resultobj;
4938 fail:
4939 {
4940 if (temp3)
4941 delete arg3;
4942 }
4943 {
4944 if (temp7)
4945 delete arg7;
4946 }
4947 return NULL;
4948}
4949
4950
4951static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4952 PyObject *resultobj;
4953 wxStaticText *result;
4954 char *kwnames[] = {
4955 NULL
4956 };
4957
4958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4959 {
4960 PyThreadState* __tstate = wxPyBeginAllowThreads();
4961 result = (wxStaticText *)new wxStaticText();
4962
4963 wxPyEndAllowThreads(__tstate);
4964 if (PyErr_Occurred()) SWIG_fail;
4965 }
4966 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticText, 1);
4967 return resultobj;
4968 fail:
4969 return NULL;
4970}
4971
4972
4973static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4974 PyObject *resultobj;
4975 wxStaticText *arg1 = (wxStaticText *) 0 ;
4976 wxWindow *arg2 = (wxWindow *) 0 ;
4977 int arg3 ;
4978 wxString *arg4 = 0 ;
4979 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4980 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4981 wxSize const &arg6_defvalue = wxDefaultSize ;
4982 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4983 long arg7 = (long) 0 ;
4984 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4985 wxString *arg8 = (wxString *) &arg8_defvalue ;
4986 bool result;
4987 bool temp4 = False ;
4988 wxPoint temp5 ;
4989 wxSize temp6 ;
4990 bool temp8 = False ;
4991 PyObject * obj0 = 0 ;
4992 PyObject * obj1 = 0 ;
4993 PyObject * obj2 = 0 ;
4994 PyObject * obj3 = 0 ;
4995 PyObject * obj4 = 0 ;
4996 PyObject * obj5 = 0 ;
4997 PyObject * obj6 = 0 ;
4998 PyObject * obj7 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticText,
5005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5006 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5008 arg3 = (int) SWIG_AsInt(obj2);
5009 if (PyErr_Occurred()) SWIG_fail;
5010 {
5011 arg4 = wxString_in_helper(obj3);
5012 if (arg4 == NULL) SWIG_fail;
5013 temp4 = True;
5014 }
5015 if (obj4) {
5016 {
5017 arg5 = &temp5;
5018 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5019 }
5020 }
5021 if (obj5) {
5022 {
5023 arg6 = &temp6;
5024 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5025 }
5026 }
5027 if (obj6) {
5028 arg7 = (long) SWIG_AsLong(obj6);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
5031 if (obj7) {
5032 {
5033 arg8 = wxString_in_helper(obj7);
5034 if (arg8 == NULL) SWIG_fail;
5035 temp8 = True;
5036 }
5037 }
5038 {
5039 PyThreadState* __tstate = wxPyBeginAllowThreads();
5040 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5041
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 {
5046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5047 }
5048 {
5049 if (temp4)
5050 delete arg4;
5051 }
5052 {
5053 if (temp8)
5054 delete arg8;
5055 }
5056 return resultobj;
5057 fail:
5058 {
5059 if (temp4)
5060 delete arg4;
5061 }
5062 {
5063 if (temp8)
5064 delete arg8;
5065 }
5066 return NULL;
5067}
5068
5069
f20a2e1f
RD
5070static PyObject *_wrap_StaticText_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5071 PyObject *resultobj;
5072 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5073 wxVisualAttributes result;
5074 PyObject * obj0 = 0 ;
5075 char *kwnames[] = {
5076 (char *) "variant", NULL
5077 };
5078
5079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5080 if (obj0) {
5081 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
5084 {
5085 PyThreadState* __tstate = wxPyBeginAllowThreads();
5086 result = wxStaticText::GetClassDefaultAttributes((wxWindowVariant )arg1);
5087
5088 wxPyEndAllowThreads(__tstate);
5089 if (PyErr_Occurred()) SWIG_fail;
5090 }
5091 {
5092 wxVisualAttributes * resultptr;
5093 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5094 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5095 }
5096 return resultobj;
5097 fail:
5098 return NULL;
5099}
5100
5101
d55e5bfc
RD
5102static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
5103 PyObject *obj;
5104 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5105 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
5106 Py_INCREF(obj);
5107 return Py_BuildValue((char *)"");
5108}
5109static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5110 PyObject *resultobj;
5111 wxWindow *arg1 = (wxWindow *) 0 ;
5112 int arg2 ;
5113 wxBitmap *arg3 = 0 ;
5114 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5115 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5116 wxSize const &arg5_defvalue = wxDefaultSize ;
5117 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5118 long arg6 = (long) 0 ;
5119 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
5120 wxString *arg7 = (wxString *) &arg7_defvalue ;
5121 wxStaticBitmap *result;
5122 wxPoint temp4 ;
5123 wxSize temp5 ;
5124 bool temp7 = False ;
5125 PyObject * obj0 = 0 ;
5126 PyObject * obj1 = 0 ;
5127 PyObject * obj2 = 0 ;
5128 PyObject * obj3 = 0 ;
5129 PyObject * obj4 = 0 ;
5130 PyObject * obj5 = 0 ;
5131 PyObject * obj6 = 0 ;
5132 char *kwnames[] = {
5133 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5134 };
5135
5136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5139 arg2 = (int) SWIG_AsInt(obj1);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
5142 SWIG_POINTER_EXCEPTION | 0)) == -1)
5143 SWIG_fail;
5144 if (arg3 == NULL) {
5145 PyErr_SetString(PyExc_TypeError,"null reference");
5146 SWIG_fail;
5147 }
5148 if (obj3) {
5149 {
5150 arg4 = &temp4;
5151 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5152 }
5153 }
5154 if (obj4) {
5155 {
5156 arg5 = &temp5;
5157 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5158 }
5159 }
5160 if (obj5) {
5161 arg6 = (long) SWIG_AsLong(obj5);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
5164 if (obj6) {
5165 {
5166 arg7 = wxString_in_helper(obj6);
5167 if (arg7 == NULL) SWIG_fail;
5168 temp7 = True;
5169 }
5170 }
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5179 {
5180 if (temp7)
5181 delete arg7;
5182 }
5183 return resultobj;
5184 fail:
5185 {
5186 if (temp7)
5187 delete arg7;
5188 }
5189 return NULL;
5190}
5191
5192
5193static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject *resultobj;
5195 wxStaticBitmap *result;
5196 char *kwnames[] = {
5197 NULL
5198 };
5199
5200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 result = (wxStaticBitmap *)new wxStaticBitmap();
5204
5205 wxPyEndAllowThreads(__tstate);
5206 if (PyErr_Occurred()) SWIG_fail;
5207 }
5208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBitmap, 1);
5209 return resultobj;
5210 fail:
5211 return NULL;
5212}
5213
5214
5215static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj;
5217 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5218 wxWindow *arg2 = (wxWindow *) 0 ;
5219 int arg3 ;
5220 wxBitmap *arg4 = 0 ;
5221 wxPoint const &arg5_defvalue = wxDefaultPosition ;
5222 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
5223 wxSize const &arg6_defvalue = wxDefaultSize ;
5224 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
5225 long arg7 = (long) 0 ;
5226 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
5227 wxString *arg8 = (wxString *) &arg8_defvalue ;
5228 bool result;
5229 wxPoint temp5 ;
5230 wxSize temp6 ;
5231 bool temp8 = False ;
5232 PyObject * obj0 = 0 ;
5233 PyObject * obj1 = 0 ;
5234 PyObject * obj2 = 0 ;
5235 PyObject * obj3 = 0 ;
5236 PyObject * obj4 = 0 ;
5237 PyObject * obj5 = 0 ;
5238 PyObject * obj6 = 0 ;
5239 PyObject * obj7 = 0 ;
5240 char *kwnames[] = {
5241 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5242 };
5243
5244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5247 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5249 arg3 = (int) SWIG_AsInt(obj2);
5250 if (PyErr_Occurred()) SWIG_fail;
5251 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
5252 SWIG_POINTER_EXCEPTION | 0)) == -1)
5253 SWIG_fail;
5254 if (arg4 == NULL) {
5255 PyErr_SetString(PyExc_TypeError,"null reference");
5256 SWIG_fail;
5257 }
5258 if (obj4) {
5259 {
5260 arg5 = &temp5;
5261 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
5262 }
5263 }
5264 if (obj5) {
5265 {
5266 arg6 = &temp6;
5267 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
5268 }
5269 }
5270 if (obj6) {
5271 arg7 = (long) SWIG_AsLong(obj6);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 if (obj7) {
5275 {
5276 arg8 = wxString_in_helper(obj7);
5277 if (arg8 == NULL) SWIG_fail;
5278 temp8 = True;
5279 }
5280 }
5281 {
5282 PyThreadState* __tstate = wxPyBeginAllowThreads();
5283 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
5284
5285 wxPyEndAllowThreads(__tstate);
5286 if (PyErr_Occurred()) SWIG_fail;
5287 }
5288 {
5289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5290 }
5291 {
5292 if (temp8)
5293 delete arg8;
5294 }
5295 return resultobj;
5296 fail:
5297 {
5298 if (temp8)
5299 delete arg8;
5300 }
5301 return NULL;
5302}
5303
5304
5305static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5306 PyObject *resultobj;
5307 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5308 wxBitmap result;
5309 PyObject * obj0 = 0 ;
5310 char *kwnames[] = {
5311 (char *) "self", NULL
5312 };
5313
5314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
5315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5317 {
5318 PyThreadState* __tstate = wxPyBeginAllowThreads();
5319 result = (arg1)->GetBitmap();
5320
5321 wxPyEndAllowThreads(__tstate);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 }
5324 {
5325 wxBitmap * resultptr;
5326 resultptr = new wxBitmap((wxBitmap &) result);
5327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
5328 }
5329 return resultobj;
5330 fail:
5331 return NULL;
5332}
5333
5334
5335static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
5336 PyObject *resultobj;
5337 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5338 wxBitmap *arg2 = 0 ;
5339 PyObject * obj0 = 0 ;
5340 PyObject * obj1 = 0 ;
5341 char *kwnames[] = {
5342 (char *) "self",(char *) "bitmap", NULL
5343 };
5344
5345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
5346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5348 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
5349 SWIG_POINTER_EXCEPTION | 0)) == -1)
5350 SWIG_fail;
5351 if (arg2 == NULL) {
5352 PyErr_SetString(PyExc_TypeError,"null reference");
5353 SWIG_fail;
5354 }
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 (arg1)->SetBitmap((wxBitmap const &)*arg2);
5358
5359 wxPyEndAllowThreads(__tstate);
5360 if (PyErr_Occurred()) SWIG_fail;
5361 }
5362 Py_INCREF(Py_None); resultobj = Py_None;
5363 return resultobj;
5364 fail:
5365 return NULL;
5366}
5367
5368
5369static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
5370 PyObject *resultobj;
5371 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
5372 wxIcon *arg2 = 0 ;
5373 PyObject * obj0 = 0 ;
5374 PyObject * obj1 = 0 ;
5375 char *kwnames[] = {
5376 (char *) "self",(char *) "icon", NULL
5377 };
5378
5379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
5380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBitmap,
5381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5382 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxIcon,
5383 SWIG_POINTER_EXCEPTION | 0)) == -1)
5384 SWIG_fail;
5385 if (arg2 == NULL) {
5386 PyErr_SetString(PyExc_TypeError,"null reference");
5387 SWIG_fail;
5388 }
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 (arg1)->SetIcon((wxIcon const &)*arg2);
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 Py_INCREF(Py_None); resultobj = Py_None;
5397 return resultobj;
5398 fail:
5399 return NULL;
5400}
5401
5402
f20a2e1f
RD
5403static PyObject *_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
5404 PyObject *resultobj;
5405 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
5406 wxVisualAttributes result;
5407 PyObject * obj0 = 0 ;
5408 char *kwnames[] = {
5409 (char *) "variant", NULL
5410 };
5411
5412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
5413 if (obj0) {
5414 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant )arg1);
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 {
5425 wxVisualAttributes * resultptr;
5426 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
5427 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
5428 }
5429 return resultobj;
5430 fail:
5431 return NULL;
5432}
5433
5434
d55e5bfc
RD
5435static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
5436 PyObject *obj;
5437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5438 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
5439 Py_INCREF(obj);
5440 return Py_BuildValue((char *)"");
5441}
5442static int _wrap_ListBoxNameStr_set(PyObject *_val) {
5443 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
5444 return 1;
5445}
5446
5447
5448static PyObject *_wrap_ListBoxNameStr_get() {
5449 PyObject *pyobj;
5450
5451 {
5452#if wxUSE_UNICODE
5453 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5454#else
5455 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
5456#endif
5457 }
5458 return pyobj;
5459}
5460
5461
5462static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5463 PyObject *resultobj;
5464 wxWindow *arg1 = (wxWindow *) 0 ;
5465 int arg2 ;
5466 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5467 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5468 wxSize const &arg4_defvalue = wxDefaultSize ;
5469 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5470 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5471 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5472 long arg6 = (long) 0 ;
5473 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5474 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5475 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5476 wxString *arg8 = (wxString *) &arg8_defvalue ;
5477 wxListBox *result;
5478 wxPoint temp3 ;
5479 wxSize temp4 ;
5480 bool temp5 = False ;
5481 bool temp8 = False ;
5482 PyObject * obj0 = 0 ;
5483 PyObject * obj1 = 0 ;
5484 PyObject * obj2 = 0 ;
5485 PyObject * obj3 = 0 ;
5486 PyObject * obj4 = 0 ;
5487 PyObject * obj5 = 0 ;
5488 PyObject * obj6 = 0 ;
5489 PyObject * obj7 = 0 ;
5490 char *kwnames[] = {
5491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5492 };
5493
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
5496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5497 arg2 = (int) SWIG_AsInt(obj1);
5498 if (PyErr_Occurred()) SWIG_fail;
5499 if (obj2) {
5500 {
5501 arg3 = &temp3;
5502 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5503 }
5504 }
5505 if (obj3) {
5506 {
5507 arg4 = &temp4;
5508 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5509 }
5510 }
5511 if (obj4) {
5512 {
5513 if (! PySequence_Check(obj4)) {
5514 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5515 SWIG_fail;
5516 }
5517 arg5 = new wxArrayString;
5518 temp5 = True;
5519 int i, len=PySequence_Length(obj4);
5520 for (i=0; i<len; i++) {
5521 PyObject* item = PySequence_GetItem(obj4, i);
5522#if wxUSE_UNICODE
5523 PyObject* str = PyObject_Unicode(item);
5524#else
5525 PyObject* str = PyObject_Str(item);
5526#endif
5527 if (PyErr_Occurred()) SWIG_fail;
5528 arg5->Add(Py2wxString(str));
5529 Py_DECREF(item);
5530 Py_DECREF(str);
5531 }
5532 }
5533 }
5534 if (obj5) {
5535 arg6 = (long) SWIG_AsLong(obj5);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 if (obj6) {
5539 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
5540 SWIG_POINTER_EXCEPTION | 0)) == -1)
5541 SWIG_fail;
5542 if (arg7 == NULL) {
5543 PyErr_SetString(PyExc_TypeError,"null reference");
5544 SWIG_fail;
5545 }
5546 }
5547 if (obj7) {
5548 {
5549 arg8 = wxString_in_helper(obj7);
5550 if (arg8 == NULL) SWIG_fail;
5551 temp8 = True;
5552 }
5553 }
5554 {
5555 PyThreadState* __tstate = wxPyBeginAllowThreads();
5556 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5557
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5562 {
5563 if (temp5) delete arg5;
5564 }
5565 {
5566 if (temp8)
5567 delete arg8;
5568 }
5569 return resultobj;
5570 fail:
5571 {
5572 if (temp5) delete arg5;
5573 }
5574 {
5575 if (temp8)
5576 delete arg8;
5577 }
5578 return NULL;
5579}
5580
5581
5582static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5583 PyObject *resultobj;
5584 wxListBox *result;
5585 char *kwnames[] = {
5586 NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 result = (wxListBox *)new wxListBox();
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListBox, 1);
5598 return resultobj;
5599 fail:
5600 return NULL;
5601}
5602
5603
5604static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5605 PyObject *resultobj;
5606 wxListBox *arg1 = (wxListBox *) 0 ;
5607 wxWindow *arg2 = (wxWindow *) 0 ;
5608 int arg3 ;
5609 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5610 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5611 wxSize const &arg5_defvalue = wxDefaultSize ;
5612 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5613 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5614 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5615 long arg7 = (long) 0 ;
5616 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5617 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5618 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5619 wxString *arg9 = (wxString *) &arg9_defvalue ;
5620 bool result;
5621 wxPoint temp4 ;
5622 wxSize temp5 ;
5623 bool temp6 = False ;
5624 bool temp9 = False ;
5625 PyObject * obj0 = 0 ;
5626 PyObject * obj1 = 0 ;
5627 PyObject * obj2 = 0 ;
5628 PyObject * obj3 = 0 ;
5629 PyObject * obj4 = 0 ;
5630 PyObject * obj5 = 0 ;
5631 PyObject * obj6 = 0 ;
5632 PyObject * obj7 = 0 ;
5633 PyObject * obj8 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5641 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
5642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5643 arg3 = (int) SWIG_AsInt(obj2);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 if (obj3) {
5646 {
5647 arg4 = &temp4;
5648 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5649 }
5650 }
5651 if (obj4) {
5652 {
5653 arg5 = &temp5;
5654 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5655 }
5656 }
5657 if (obj5) {
5658 {
5659 if (! PySequence_Check(obj5)) {
5660 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5661 SWIG_fail;
5662 }
5663 arg6 = new wxArrayString;
5664 temp6 = True;
5665 int i, len=PySequence_Length(obj5);
5666 for (i=0; i<len; i++) {
5667 PyObject* item = PySequence_GetItem(obj5, i);
5668#if wxUSE_UNICODE
5669 PyObject* str = PyObject_Unicode(item);
5670#else
5671 PyObject* str = PyObject_Str(item);
5672#endif
5673 if (PyErr_Occurred()) SWIG_fail;
5674 arg6->Add(Py2wxString(str));
5675 Py_DECREF(item);
5676 Py_DECREF(str);
5677 }
5678 }
5679 }
5680 if (obj6) {
5681 arg7 = (long) SWIG_AsLong(obj6);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 if (obj7) {
5685 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
5686 SWIG_POINTER_EXCEPTION | 0)) == -1)
5687 SWIG_fail;
5688 if (arg8 == NULL) {
5689 PyErr_SetString(PyExc_TypeError,"null reference");
5690 SWIG_fail;
5691 }
5692 }
5693 if (obj8) {
5694 {
5695 arg9 = wxString_in_helper(obj8);
5696 if (arg9 == NULL) SWIG_fail;
5697 temp9 = True;
5698 }
5699 }
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 {
5708 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5709 }
5710 {
5711 if (temp6) delete arg6;
5712 }
5713 {
5714 if (temp9)
5715 delete arg9;
5716 }
5717 return resultobj;
5718 fail:
5719 {
5720 if (temp6) delete arg6;
5721 }
5722 {
5723 if (temp9)
5724 delete arg9;
5725 }
5726 return NULL;
5727}
5728
5729
5730static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5731 PyObject *resultobj;
5732 wxListBox *arg1 = (wxListBox *) 0 ;
5733 wxString *arg2 = 0 ;
5734 int arg3 ;
5735 PyObject *arg4 = (PyObject *) NULL ;
5736 bool temp2 = False ;
5737 PyObject * obj0 = 0 ;
5738 PyObject * obj1 = 0 ;
5739 PyObject * obj2 = 0 ;
5740 PyObject * obj3 = 0 ;
5741 char *kwnames[] = {
5742 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5743 };
5744
5745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5748 {
5749 arg2 = wxString_in_helper(obj1);
5750 if (arg2 == NULL) SWIG_fail;
5751 temp2 = True;
5752 }
5753 arg3 = (int) SWIG_AsInt(obj2);
5754 if (PyErr_Occurred()) SWIG_fail;
5755 if (obj3) {
5756 arg4 = obj3;
5757 }
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 Py_INCREF(Py_None); resultobj = Py_None;
5766 {
5767 if (temp2)
5768 delete arg2;
5769 }
5770 return resultobj;
5771 fail:
5772 {
5773 if (temp2)
5774 delete arg2;
5775 }
5776 return NULL;
5777}
5778
5779
5780static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5781 PyObject *resultobj;
5782 wxListBox *arg1 = (wxListBox *) 0 ;
5783 wxArrayString *arg2 = 0 ;
5784 int arg3 ;
5785 bool temp2 = False ;
5786 PyObject * obj0 = 0 ;
5787 PyObject * obj1 = 0 ;
5788 PyObject * obj2 = 0 ;
5789 char *kwnames[] = {
5790 (char *) "self",(char *) "items",(char *) "pos", NULL
5791 };
5792
5793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5796 {
5797 if (! PySequence_Check(obj1)) {
5798 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5799 SWIG_fail;
5800 }
5801 arg2 = new wxArrayString;
5802 temp2 = True;
5803 int i, len=PySequence_Length(obj1);
5804 for (i=0; i<len; i++) {
5805 PyObject* item = PySequence_GetItem(obj1, i);
5806#if wxUSE_UNICODE
5807 PyObject* str = PyObject_Unicode(item);
5808#else
5809 PyObject* str = PyObject_Str(item);
5810#endif
5811 if (PyErr_Occurred()) SWIG_fail;
5812 arg2->Add(Py2wxString(str));
5813 Py_DECREF(item);
5814 Py_DECREF(str);
5815 }
5816 }
5817 arg3 = (int) SWIG_AsInt(obj2);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 {
5820 PyThreadState* __tstate = wxPyBeginAllowThreads();
5821 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5822
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 Py_INCREF(Py_None); resultobj = Py_None;
5827 {
5828 if (temp2) delete arg2;
5829 }
5830 return resultobj;
5831 fail:
5832 {
5833 if (temp2) delete arg2;
5834 }
5835 return NULL;
5836}
5837
5838
5839static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5840 PyObject *resultobj;
5841 wxListBox *arg1 = (wxListBox *) 0 ;
5842 wxArrayString *arg2 = 0 ;
5843 bool temp2 = False ;
5844 PyObject * obj0 = 0 ;
5845 PyObject * obj1 = 0 ;
5846 char *kwnames[] = {
5847 (char *) "self",(char *) "items", NULL
5848 };
5849
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5853 {
5854 if (! PySequence_Check(obj1)) {
5855 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5856 SWIG_fail;
5857 }
5858 arg2 = new wxArrayString;
5859 temp2 = True;
5860 int i, len=PySequence_Length(obj1);
5861 for (i=0; i<len; i++) {
5862 PyObject* item = PySequence_GetItem(obj1, i);
5863#if wxUSE_UNICODE
5864 PyObject* str = PyObject_Unicode(item);
5865#else
5866 PyObject* str = PyObject_Str(item);
5867#endif
5868 if (PyErr_Occurred()) SWIG_fail;
5869 arg2->Add(Py2wxString(str));
5870 Py_DECREF(item);
5871 Py_DECREF(str);
5872 }
5873 }
5874 {
5875 PyThreadState* __tstate = wxPyBeginAllowThreads();
5876 (arg1)->Set((wxArrayString const &)*arg2);
5877
5878 wxPyEndAllowThreads(__tstate);
5879 if (PyErr_Occurred()) SWIG_fail;
5880 }
5881 Py_INCREF(Py_None); resultobj = Py_None;
5882 {
5883 if (temp2) delete arg2;
5884 }
5885 return resultobj;
5886 fail:
5887 {
5888 if (temp2) delete arg2;
5889 }
5890 return NULL;
5891}
5892
5893
5894static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5895 PyObject *resultobj;
5896 wxListBox *arg1 = (wxListBox *) 0 ;
5897 int arg2 ;
5898 bool result;
5899 PyObject * obj0 = 0 ;
5900 PyObject * obj1 = 0 ;
5901 char *kwnames[] = {
5902 (char *) "self",(char *) "n", NULL
5903 };
5904
5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5908 arg2 = (int) SWIG_AsInt(obj1);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 {
5911 PyThreadState* __tstate = wxPyBeginAllowThreads();
5912 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5913
5914 wxPyEndAllowThreads(__tstate);
5915 if (PyErr_Occurred()) SWIG_fail;
5916 }
5917 {
5918 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5919 }
5920 return resultobj;
5921 fail:
5922 return NULL;
5923}
5924
5925
5926static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5927 PyObject *resultobj;
5928 wxListBox *arg1 = (wxListBox *) 0 ;
5929 int arg2 ;
5930 bool arg3 = (bool) True ;
5931 PyObject * obj0 = 0 ;
5932 PyObject * obj1 = 0 ;
5933 PyObject * obj2 = 0 ;
5934 char *kwnames[] = {
5935 (char *) "self",(char *) "n",(char *) "select", NULL
5936 };
5937
5938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5941 arg2 = (int) SWIG_AsInt(obj1);
5942 if (PyErr_Occurred()) SWIG_fail;
5943 if (obj2) {
5944 arg3 = (bool) SWIG_AsBool(obj2);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 {
5948 PyThreadState* __tstate = wxPyBeginAllowThreads();
5949 (arg1)->SetSelection(arg2,arg3);
5950
5951 wxPyEndAllowThreads(__tstate);
5952 if (PyErr_Occurred()) SWIG_fail;
5953 }
5954 Py_INCREF(Py_None); resultobj = Py_None;
5955 return resultobj;
5956 fail:
5957 return NULL;
5958}
5959
5960
5961static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5962 PyObject *resultobj;
5963 wxListBox *arg1 = (wxListBox *) 0 ;
5964 int arg2 ;
5965 PyObject * obj0 = 0 ;
5966 PyObject * obj1 = 0 ;
5967 char *kwnames[] = {
5968 (char *) "self",(char *) "n", NULL
5969 };
5970
5971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
5973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5974 arg2 = (int) SWIG_AsInt(obj1);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 (arg1)->Select(arg2);
5979
5980 wxPyEndAllowThreads(__tstate);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 }
5983 Py_INCREF(Py_None); resultobj = Py_None;
5984 return resultobj;
5985 fail:
5986 return NULL;
5987}
5988
5989
5990static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5991 PyObject *resultobj;
5992 wxListBox *arg1 = (wxListBox *) 0 ;
5993 int arg2 ;
5994 PyObject * obj0 = 0 ;
5995 PyObject * obj1 = 0 ;
5996 char *kwnames[] = {
5997 (char *) "self",(char *) "n", NULL
5998 };
5999
6000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
6001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6003 arg2 = (int) SWIG_AsInt(obj1);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 {
6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
6007 (arg1)->Deselect(arg2);
6008
6009 wxPyEndAllowThreads(__tstate);
6010 if (PyErr_Occurred()) SWIG_fail;
6011 }
6012 Py_INCREF(Py_None); resultobj = Py_None;
6013 return resultobj;
6014 fail:
6015 return NULL;
6016}
6017
6018
6019static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
6020 PyObject *resultobj;
6021 wxListBox *arg1 = (wxListBox *) 0 ;
6022 int arg2 = (int) -1 ;
6023 PyObject * obj0 = 0 ;
6024 PyObject * obj1 = 0 ;
6025 char *kwnames[] = {
6026 (char *) "self",(char *) "itemToLeaveSelected", NULL
6027 };
6028
6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
6030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6032 if (obj1) {
6033 arg2 = (int) SWIG_AsInt(obj1);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 (arg1)->DeselectAll(arg2);
6039
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 Py_INCREF(Py_None); resultobj = Py_None;
6044 return resultobj;
6045 fail:
6046 return NULL;
6047}
6048
6049
6050static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6051 PyObject *resultobj;
6052 wxListBox *arg1 = (wxListBox *) 0 ;
6053 wxString *arg2 = 0 ;
6054 bool arg3 = (bool) True ;
6055 bool result;
6056 bool temp2 = False ;
6057 PyObject * obj0 = 0 ;
6058 PyObject * obj1 = 0 ;
6059 PyObject * obj2 = 0 ;
6060 char *kwnames[] = {
6061 (char *) "self",(char *) "s",(char *) "select", NULL
6062 };
6063
6064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
6065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6067 {
6068 arg2 = wxString_in_helper(obj1);
6069 if (arg2 == NULL) SWIG_fail;
6070 temp2 = True;
6071 }
6072 if (obj2) {
6073 arg3 = (bool) SWIG_AsBool(obj2);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 {
6084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6085 }
6086 {
6087 if (temp2)
6088 delete arg2;
6089 }
6090 return resultobj;
6091 fail:
6092 {
6093 if (temp2)
6094 delete arg2;
6095 }
6096 return NULL;
6097}
6098
6099
6100static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
6101 PyObject *resultobj;
6102 wxListBox *arg1 = (wxListBox *) 0 ;
6103 PyObject *result;
6104 PyObject * obj0 = 0 ;
6105 char *kwnames[] = {
6106 (char *) "self", NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
6110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6112 {
6113 PyThreadState* __tstate = wxPyBeginAllowThreads();
6114 result = (PyObject *)wxListBox_GetSelections(arg1);
6115
6116 wxPyEndAllowThreads(__tstate);
6117 if (PyErr_Occurred()) SWIG_fail;
6118 }
6119 resultobj = result;
6120 return resultobj;
6121 fail:
6122 return NULL;
6123}
6124
6125
6126static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
6127 PyObject *resultobj;
6128 wxListBox *arg1 = (wxListBox *) 0 ;
6129 int arg2 ;
6130 PyObject * obj0 = 0 ;
6131 PyObject * obj1 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "self",(char *) "n", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
6137 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6139 arg2 = (int) SWIG_AsInt(obj1);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 {
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 (arg1)->SetFirstItem(arg2);
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 Py_INCREF(Py_None); resultobj = Py_None;
6149 return resultobj;
6150 fail:
6151 return NULL;
6152}
6153
6154
6155static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj;
6157 wxListBox *arg1 = (wxListBox *) 0 ;
6158 wxString *arg2 = 0 ;
6159 bool temp2 = False ;
6160 PyObject * obj0 = 0 ;
6161 PyObject * obj1 = 0 ;
6162 char *kwnames[] = {
6163 (char *) "self",(char *) "s", NULL
6164 };
6165
6166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
6167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6169 {
6170 arg2 = wxString_in_helper(obj1);
6171 if (arg2 == NULL) SWIG_fail;
6172 temp2 = True;
6173 }
6174 {
6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
6176 (arg1)->SetFirstItem((wxString const &)*arg2);
6177
6178 wxPyEndAllowThreads(__tstate);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
6181 Py_INCREF(Py_None); resultobj = Py_None;
6182 {
6183 if (temp2)
6184 delete arg2;
6185 }
6186 return resultobj;
6187 fail:
6188 {
6189 if (temp2)
6190 delete arg2;
6191 }
6192 return NULL;
6193}
6194
6195
6196static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6197 PyObject *resultobj;
6198 wxListBox *arg1 = (wxListBox *) 0 ;
6199 int arg2 ;
6200 PyObject * obj0 = 0 ;
6201 PyObject * obj1 = 0 ;
6202 char *kwnames[] = {
6203 (char *) "self",(char *) "n", NULL
6204 };
6205
6206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6209 arg2 = (int) SWIG_AsInt(obj1);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 {
6212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6213 (arg1)->EnsureVisible(arg2);
6214
6215 wxPyEndAllowThreads(__tstate);
6216 if (PyErr_Occurred()) SWIG_fail;
6217 }
6218 Py_INCREF(Py_None); resultobj = Py_None;
6219 return resultobj;
6220 fail:
6221 return NULL;
6222}
6223
6224
6225static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj;
6227 wxListBox *arg1 = (wxListBox *) 0 ;
6228 wxString *arg2 = 0 ;
6229 bool temp2 = False ;
6230 PyObject * obj0 = 0 ;
6231 PyObject * obj1 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self",(char *) "s", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6239 {
6240 arg2 = wxString_in_helper(obj1);
6241 if (arg2 == NULL) SWIG_fail;
6242 temp2 = True;
6243 }
6244 {
6245 PyThreadState* __tstate = wxPyBeginAllowThreads();
6246 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
6247
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 Py_INCREF(Py_None); resultobj = Py_None;
6252 {
6253 if (temp2)
6254 delete arg2;
6255 }
6256 return resultobj;
6257 fail:
6258 {
6259 if (temp2)
6260 delete arg2;
6261 }
6262 return NULL;
6263}
6264
6265
6266static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj;
6268 wxListBox *arg1 = (wxListBox *) 0 ;
6269 bool result;
6270 PyObject * obj0 = 0 ;
6271 char *kwnames[] = {
6272 (char *) "self", NULL
6273 };
6274
6275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
6276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 result = (bool)((wxListBox const *)arg1)->IsSorted();
6281
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 {
6286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6287 }
6288 return resultobj;
6289 fail:
6290 return NULL;
6291}
6292
6293
6294static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject *resultobj;
6296 wxListBox *arg1 = (wxListBox *) 0 ;
6297 int arg2 ;
6298 wxColour *arg3 = 0 ;
6299 wxColour temp3 ;
6300 PyObject * obj0 = 0 ;
6301 PyObject * obj1 = 0 ;
6302 PyObject * obj2 = 0 ;
6303 char *kwnames[] = {
6304 (char *) "self",(char *) "item",(char *) "c", NULL
6305 };
6306
6307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6310 arg2 = (int) SWIG_AsInt(obj1);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 {
6313 arg3 = &temp3;
6314 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6315 }
6316 {
6317 PyThreadState* __tstate = wxPyBeginAllowThreads();
6318 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
6319
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 Py_INCREF(Py_None); resultobj = Py_None;
6324 return resultobj;
6325 fail:
6326 return NULL;
6327}
6328
6329
6330static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6331 PyObject *resultobj;
6332 wxListBox *arg1 = (wxListBox *) 0 ;
6333 int arg2 ;
6334 wxColour *arg3 = 0 ;
6335 wxColour temp3 ;
6336 PyObject * obj0 = 0 ;
6337 PyObject * obj1 = 0 ;
6338 PyObject * obj2 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self",(char *) "item",(char *) "c", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6346 arg2 = (int) SWIG_AsInt(obj1);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 {
6349 arg3 = &temp3;
6350 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6351 }
6352 {
6353 PyThreadState* __tstate = wxPyBeginAllowThreads();
6354 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
6355
6356 wxPyEndAllowThreads(__tstate);
6357 if (PyErr_Occurred()) SWIG_fail;
6358 }
6359 Py_INCREF(Py_None); resultobj = Py_None;
6360 return resultobj;
6361 fail:
6362 return NULL;
6363}
6364
6365
6366static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6367 PyObject *resultobj;
6368 wxListBox *arg1 = (wxListBox *) 0 ;
6369 int arg2 ;
6370 wxFont *arg3 = 0 ;
6371 PyObject * obj0 = 0 ;
6372 PyObject * obj1 = 0 ;
6373 PyObject * obj2 = 0 ;
6374 char *kwnames[] = {
6375 (char *) "self",(char *) "item",(char *) "f", NULL
6376 };
6377
6378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListBox,
6380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6381 arg2 = (int) SWIG_AsInt(obj1);
6382 if (PyErr_Occurred()) SWIG_fail;
6383 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6384 SWIG_POINTER_EXCEPTION | 0)) == -1)
6385 SWIG_fail;
6386 if (arg3 == NULL) {
6387 PyErr_SetString(PyExc_TypeError,"null reference");
6388 SWIG_fail;
6389 }
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 Py_INCREF(Py_None); resultobj = Py_None;
6398 return resultobj;
6399 fail:
6400 return NULL;
6401}
6402
6403
6404static PyObject *_wrap_ListBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
6405 PyObject *resultobj;
6406 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
6407 wxVisualAttributes result;
6408 PyObject * obj0 = 0 ;
6409 char *kwnames[] = {
6410 (char *) "variant", NULL
6411 };
6412
6413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
6414 if (obj0) {
6415 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
6416 if (PyErr_Occurred()) SWIG_fail;
6417 }
6418 {
6419 PyThreadState* __tstate = wxPyBeginAllowThreads();
6420 result = wxListBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
6421
6422 wxPyEndAllowThreads(__tstate);
6423 if (PyErr_Occurred()) SWIG_fail;
6424 }
6425 {
6426 wxVisualAttributes * resultptr;
6427 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
6428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
6429 }
6430 return resultobj;
6431 fail:
6432 return NULL;
6433}
6434
6435
6436static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
6437 PyObject *obj;
6438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6439 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
6440 Py_INCREF(obj);
6441 return Py_BuildValue((char *)"");
6442}
6443static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6444 PyObject *resultobj;
6445 wxWindow *arg1 = (wxWindow *) 0 ;
6446 int arg2 ;
6447 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6448 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6449 wxSize const &arg4_defvalue = wxDefaultSize ;
6450 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6451 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
6452 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
6453 long arg6 = (long) 0 ;
6454 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6455 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6456 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
6457 wxString *arg8 = (wxString *) &arg8_defvalue ;
6458 wxCheckListBox *result;
6459 wxPoint temp3 ;
6460 wxSize temp4 ;
6461 bool temp5 = False ;
6462 bool temp8 = False ;
6463 PyObject * obj0 = 0 ;
6464 PyObject * obj1 = 0 ;
6465 PyObject * obj2 = 0 ;
6466 PyObject * obj3 = 0 ;
6467 PyObject * obj4 = 0 ;
6468 PyObject * obj5 = 0 ;
6469 PyObject * obj6 = 0 ;
6470 PyObject * obj7 = 0 ;
6471 char *kwnames[] = {
6472 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6473 };
6474
6475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
6477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6478 arg2 = (int) SWIG_AsInt(obj1);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 if (obj2) {
6481 {
6482 arg3 = &temp3;
6483 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6484 }
6485 }
6486 if (obj3) {
6487 {
6488 arg4 = &temp4;
6489 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6490 }
6491 }
6492 if (obj4) {
6493 {
6494 if (! PySequence_Check(obj4)) {
6495 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6496 SWIG_fail;
6497 }
6498 arg5 = new wxArrayString;
6499 temp5 = True;
6500 int i, len=PySequence_Length(obj4);
6501 for (i=0; i<len; i++) {
6502 PyObject* item = PySequence_GetItem(obj4, i);
6503#if wxUSE_UNICODE
6504 PyObject* str = PyObject_Unicode(item);
6505#else
6506 PyObject* str = PyObject_Str(item);
6507#endif
6508 if (PyErr_Occurred()) SWIG_fail;
6509 arg5->Add(Py2wxString(str));
6510 Py_DECREF(item);
6511 Py_DECREF(str);
6512 }
6513 }
6514 }
6515 if (obj5) {
6516 arg6 = (long) SWIG_AsLong(obj5);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 if (obj6) {
6520 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
6521 SWIG_POINTER_EXCEPTION | 0)) == -1)
6522 SWIG_fail;
6523 if (arg7 == NULL) {
6524 PyErr_SetString(PyExc_TypeError,"null reference");
6525 SWIG_fail;
6526 }
6527 }
6528 if (obj7) {
6529 {
6530 arg8 = wxString_in_helper(obj7);
6531 if (arg8 == NULL) SWIG_fail;
6532 temp8 = True;
6533 }
6534 }
6535 {
6536 PyThreadState* __tstate = wxPyBeginAllowThreads();
6537 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6538
6539 wxPyEndAllowThreads(__tstate);
6540 if (PyErr_Occurred()) SWIG_fail;
6541 }
6542 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6543 {
6544 if (temp5) delete arg5;
6545 }
6546 {
6547 if (temp8)
6548 delete arg8;
6549 }
6550 return resultobj;
6551 fail:
6552 {
6553 if (temp5) delete arg5;
6554 }
6555 {
6556 if (temp8)
6557 delete arg8;
6558 }
6559 return NULL;
6560}
6561
6562
6563static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject *resultobj;
6565 wxCheckListBox *result;
6566 char *kwnames[] = {
6567 NULL
6568 };
6569
6570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 result = (wxCheckListBox *)new wxCheckListBox();
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCheckListBox, 1);
6579 return resultobj;
6580 fail:
6581 return NULL;
6582}
6583
6584
6585static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj;
6587 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6588 wxWindow *arg2 = (wxWindow *) 0 ;
6589 int arg3 ;
6590 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6591 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6592 wxSize const &arg5_defvalue = wxDefaultSize ;
6593 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6594 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
6595 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
6596 long arg7 = (long) 0 ;
6597 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6598 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6599 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
6600 wxString *arg9 = (wxString *) &arg9_defvalue ;
6601 bool result;
6602 wxPoint temp4 ;
6603 wxSize temp5 ;
6604 bool temp6 = False ;
6605 bool temp9 = False ;
6606 PyObject * obj0 = 0 ;
6607 PyObject * obj1 = 0 ;
6608 PyObject * obj2 = 0 ;
6609 PyObject * obj3 = 0 ;
6610 PyObject * obj4 = 0 ;
6611 PyObject * obj5 = 0 ;
6612 PyObject * obj6 = 0 ;
6613 PyObject * obj7 = 0 ;
6614 PyObject * obj8 = 0 ;
6615 char *kwnames[] = {
6616 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6617 };
6618
6619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
6623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6624 arg3 = (int) SWIG_AsInt(obj2);
6625 if (PyErr_Occurred()) SWIG_fail;
6626 if (obj3) {
6627 {
6628 arg4 = &temp4;
6629 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6630 }
6631 }
6632 if (obj4) {
6633 {
6634 arg5 = &temp5;
6635 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6636 }
6637 }
6638 if (obj5) {
6639 {
6640 if (! PySequence_Check(obj5)) {
6641 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6642 SWIG_fail;
6643 }
6644 arg6 = new wxArrayString;
6645 temp6 = True;
6646 int i, len=PySequence_Length(obj5);
6647 for (i=0; i<len; i++) {
6648 PyObject* item = PySequence_GetItem(obj5, i);
6649#if wxUSE_UNICODE
6650 PyObject* str = PyObject_Unicode(item);
6651#else
6652 PyObject* str = PyObject_Str(item);
6653#endif
6654 if (PyErr_Occurred()) SWIG_fail;
6655 arg6->Add(Py2wxString(str));
6656 Py_DECREF(item);
6657 Py_DECREF(str);
6658 }
6659 }
6660 }
6661 if (obj6) {
6662 arg7 = (long) SWIG_AsLong(obj6);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 if (obj7) {
6666 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
6667 SWIG_POINTER_EXCEPTION | 0)) == -1)
6668 SWIG_fail;
6669 if (arg8 == NULL) {
6670 PyErr_SetString(PyExc_TypeError,"null reference");
6671 SWIG_fail;
6672 }
6673 }
6674 if (obj8) {
6675 {
6676 arg9 = wxString_in_helper(obj8);
6677 if (arg9 == NULL) SWIG_fail;
6678 temp9 = True;
6679 }
6680 }
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 {
6689 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6690 }
6691 {
6692 if (temp6) delete arg6;
6693 }
6694 {
6695 if (temp9)
6696 delete arg9;
6697 }
6698 return resultobj;
6699 fail:
6700 {
6701 if (temp6) delete arg6;
6702 }
6703 {
6704 if (temp9)
6705 delete arg9;
6706 }
6707 return NULL;
6708}
6709
6710
6711static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6712 PyObject *resultobj;
6713 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6714 int arg2 ;
6715 bool result;
6716 PyObject * obj0 = 0 ;
6717 PyObject * obj1 = 0 ;
6718 char *kwnames[] = {
6719 (char *) "self",(char *) "index", NULL
6720 };
6721
6722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6725 arg2 = (int) SWIG_AsInt(obj1);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 {
6728 PyThreadState* __tstate = wxPyBeginAllowThreads();
6729 result = (bool)(arg1)->IsChecked(arg2);
6730
6731 wxPyEndAllowThreads(__tstate);
6732 if (PyErr_Occurred()) SWIG_fail;
6733 }
6734 {
6735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6736 }
6737 return resultobj;
6738 fail:
6739 return NULL;
6740}
6741
6742
6743static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6744 PyObject *resultobj;
6745 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6746 int arg2 ;
6747 int arg3 = (int) True ;
6748 PyObject * obj0 = 0 ;
6749 PyObject * obj1 = 0 ;
6750 PyObject * obj2 = 0 ;
6751 char *kwnames[] = {
6752 (char *) "self",(char *) "index",(char *) "check", NULL
6753 };
6754
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6758 arg2 = (int) SWIG_AsInt(obj1);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 if (obj2) {
6761 arg3 = (int) SWIG_AsInt(obj2);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 }
6764 {
6765 PyThreadState* __tstate = wxPyBeginAllowThreads();
6766 (arg1)->Check(arg2,arg3);
6767
6768 wxPyEndAllowThreads(__tstate);
6769 if (PyErr_Occurred()) SWIG_fail;
6770 }
6771 Py_INCREF(Py_None); resultobj = Py_None;
6772 return resultobj;
6773 fail:
6774 return NULL;
6775}
6776
6777
6778static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6779 PyObject *resultobj;
6780 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6781 int result;
6782 PyObject * obj0 = 0 ;
6783 char *kwnames[] = {
6784 (char *) "self", NULL
6785 };
6786
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 result = (int)(arg1)->GetItemHeight();
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 resultobj = SWIG_FromInt((int)result);
6798 return resultobj;
6799 fail:
6800 return NULL;
6801}
6802
6803
6804static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6805 PyObject *resultobj;
6806 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6807 wxPoint *arg2 = 0 ;
6808 int result;
6809 wxPoint temp2 ;
6810 PyObject * obj0 = 0 ;
6811 PyObject * obj1 = 0 ;
6812 char *kwnames[] = {
6813 (char *) "self",(char *) "pt", NULL
6814 };
6815
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6819 {
6820 arg2 = &temp2;
6821 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6822 }
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 resultobj = SWIG_FromInt((int)result);
6831 return resultobj;
6832 fail:
6833 return NULL;
6834}
6835
6836
6837static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject *resultobj;
6839 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6840 int arg2 ;
6841 int arg3 ;
6842 int result;
6843 PyObject * obj0 = 0 ;
6844 PyObject * obj1 = 0 ;
6845 PyObject * obj2 = 0 ;
6846 char *kwnames[] = {
6847 (char *) "self",(char *) "x",(char *) "y", NULL
6848 };
6849
6850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCheckListBox,
6852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6853 arg2 = (int) SWIG_AsInt(obj1);
6854 if (PyErr_Occurred()) SWIG_fail;
6855 arg3 = (int) SWIG_AsInt(obj2);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 {
6858 PyThreadState* __tstate = wxPyBeginAllowThreads();
6859 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6860
6861 wxPyEndAllowThreads(__tstate);
6862 if (PyErr_Occurred()) SWIG_fail;
6863 }
6864 resultobj = SWIG_FromInt((int)result);
6865 return resultobj;
6866 fail:
6867 return NULL;
6868}
6869
6870
6871static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6872 PyObject *obj;
6873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6874 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6875 Py_INCREF(obj);
6876 return Py_BuildValue((char *)"");
6877}
6878static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
6879 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6880 return 1;
6881}
6882
6883
6884static PyObject *_wrap_TextCtrlNameStr_get() {
6885 PyObject *pyobj;
6886
6887 {
6888#if wxUSE_UNICODE
6889 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6890#else
6891 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6892#endif
6893 }
6894 return pyobj;
6895}
6896
6897
6898static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6899 PyObject *resultobj;
6900 wxTextAttr *result;
6901
6902 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
6905 result = (wxTextAttr *)new wxTextAttr();
6906
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
6910 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6911 return resultobj;
6912 fail:
6913 return NULL;
6914}
6915
6916
6917static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6918 PyObject *resultobj;
6919 wxColour *arg1 = 0 ;
6920 wxColour const &arg2_defvalue = wxNullColour ;
6921 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6922 wxFont const &arg3_defvalue = wxNullFont ;
6923 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6924 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6925 wxTextAttr *result;
6926 wxColour temp1 ;
6927 wxColour temp2 ;
6928 PyObject * obj0 = 0 ;
6929 PyObject * obj1 = 0 ;
6930 PyObject * obj2 = 0 ;
6931 PyObject * obj3 = 0 ;
6932
6933 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6934 {
6935 arg1 = &temp1;
6936 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6937 }
6938 if (obj1) {
6939 {
6940 arg2 = &temp2;
6941 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6942 }
6943 }
6944 if (obj2) {
6945 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
6946 SWIG_POINTER_EXCEPTION | 0)) == -1)
6947 SWIG_fail;
6948 if (arg3 == NULL) {
6949 PyErr_SetString(PyExc_TypeError,"null reference");
6950 SWIG_fail;
6951 }
6952 }
6953 if (obj3) {
6954 arg4 = (wxTextAttrAlignment) SWIG_AsInt(obj3);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 {
6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
6959 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6960
6961 wxPyEndAllowThreads(__tstate);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 }
6964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 1);
6965 return resultobj;
6966 fail:
6967 return NULL;
6968}
6969
6970
6971static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6972 int argc;
6973 PyObject *argv[5];
6974 int ii;
6975
6976 argc = PyObject_Length(args);
6977 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6978 argv[ii] = PyTuple_GetItem(args,ii);
6979 }
6980 if (argc == 0) {
6981 return _wrap_new_TextAttr__SWIG_0(self,args);
6982 }
6983 if ((argc >= 1) && (argc <= 4)) {
6984 int _v;
6985 {
6986 _v = wxColour_typecheck(argv[0]);
6987 }
6988 if (_v) {
6989 if (argc <= 1) {
6990 return _wrap_new_TextAttr__SWIG_1(self,args);
6991 }
6992 {
6993 _v = wxColour_typecheck(argv[1]);
6994 }
6995 if (_v) {
6996 if (argc <= 2) {
6997 return _wrap_new_TextAttr__SWIG_1(self,args);
6998 }
6999 {
7000 void *ptr;
7001 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
7002 _v = 0;
7003 PyErr_Clear();
7004 } else {
7005 _v = 1;
7006 }
7007 }
7008 if (_v) {
7009 if (argc <= 3) {
7010 return _wrap_new_TextAttr__SWIG_1(self,args);
7011 }
7012 _v = SWIG_CheckInt(argv[3]);
7013 if (_v) {
7014 return _wrap_new_TextAttr__SWIG_1(self,args);
7015 }
7016 }
7017 }
7018 }
7019 }
7020
7021 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
7022 return NULL;
7023}
7024
7025
7026static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj;
7028 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7029 PyObject * obj0 = 0 ;
7030 char *kwnames[] = {
7031 (char *) "self", NULL
7032 };
7033
7034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
7035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 delete arg1;
7040
7041 wxPyEndAllowThreads(__tstate);
7042 if (PyErr_Occurred()) SWIG_fail;
7043 }
7044 Py_INCREF(Py_None); resultobj = Py_None;
7045 return resultobj;
7046 fail:
7047 return NULL;
7048}
7049
7050
7051static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
7052 PyObject *resultobj;
7053 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7054 PyObject * obj0 = 0 ;
7055 char *kwnames[] = {
7056 (char *) "self", NULL
7057 };
7058
7059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
7060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 (arg1)->Init();
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 Py_INCREF(Py_None); resultobj = Py_None;
7070 return resultobj;
7071 fail:
7072 return NULL;
7073}
7074
7075
7076static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7077 PyObject *resultobj;
7078 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7079 wxColour *arg2 = 0 ;
7080 wxColour temp2 ;
7081 PyObject * obj0 = 0 ;
7082 PyObject * obj1 = 0 ;
7083 char *kwnames[] = {
7084 (char *) "self",(char *) "colText", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
7088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7090 {
7091 arg2 = &temp2;
7092 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7093 }
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 (arg1)->SetTextColour((wxColour const &)*arg2);
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 Py_INCREF(Py_None); resultobj = Py_None;
7102 return resultobj;
7103 fail:
7104 return NULL;
7105}
7106
7107
7108static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7109 PyObject *resultobj;
7110 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7111 wxColour *arg2 = 0 ;
7112 wxColour temp2 ;
7113 PyObject * obj0 = 0 ;
7114 PyObject * obj1 = 0 ;
7115 char *kwnames[] = {
7116 (char *) "self",(char *) "colBack", NULL
7117 };
7118
7119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
7120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7122 {
7123 arg2 = &temp2;
7124 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
7125 }
7126 {
7127 PyThreadState* __tstate = wxPyBeginAllowThreads();
7128 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
7129
7130 wxPyEndAllowThreads(__tstate);
7131 if (PyErr_Occurred()) SWIG_fail;
7132 }
7133 Py_INCREF(Py_None); resultobj = Py_None;
7134 return resultobj;
7135 fail:
7136 return NULL;
7137}
7138
7139
7140static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7141 PyObject *resultobj;
7142 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7143 wxFont *arg2 = 0 ;
7144 long arg3 = (long) wxTEXT_ATTR_FONT ;
7145 PyObject * obj0 = 0 ;
7146 PyObject * obj1 = 0 ;
7147 PyObject * obj2 = 0 ;
7148 char *kwnames[] = {
7149 (char *) "self",(char *) "font",(char *) "flags", NULL
7150 };
7151
7152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
7153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7155 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
7156 SWIG_POINTER_EXCEPTION | 0)) == -1)
7157 SWIG_fail;
7158 if (arg2 == NULL) {
7159 PyErr_SetString(PyExc_TypeError,"null reference");
7160 SWIG_fail;
7161 }
7162 if (obj2) {
7163 arg3 = (long) SWIG_AsLong(obj2);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 {
7167 PyThreadState* __tstate = wxPyBeginAllowThreads();
7168 (arg1)->SetFont((wxFont const &)*arg2,arg3);
7169
7170 wxPyEndAllowThreads(__tstate);
7171 if (PyErr_Occurred()) SWIG_fail;
7172 }
7173 Py_INCREF(Py_None); resultobj = Py_None;
7174 return resultobj;
7175 fail:
7176 return NULL;
7177}
7178
7179
7180static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7181 PyObject *resultobj;
7182 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7183 int arg2 ;
7184 PyObject * obj0 = 0 ;
7185 PyObject * obj1 = 0 ;
7186 char *kwnames[] = {
7187 (char *) "self",(char *) "alignment", NULL
7188 };
7189
7190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7193 arg2 = (wxTextAttrAlignment) SWIG_AsInt(obj1);
7194 if (PyErr_Occurred()) SWIG_fail;
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
7198
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 Py_INCREF(Py_None); resultobj = Py_None;
7203 return resultobj;
7204 fail:
7205 return NULL;
7206}
7207
7208
7209static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7210 PyObject *resultobj;
7211 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7212 wxArrayInt *arg2 = 0 ;
7213 bool temp2 = False ;
7214 PyObject * obj0 = 0 ;
7215 PyObject * obj1 = 0 ;
7216 char *kwnames[] = {
7217 (char *) "self",(char *) "tabs", NULL
7218 };
7219
7220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
7221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7223 {
7224 if (! PySequence_Check(obj1)) {
7225 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
7226 SWIG_fail;
7227 }
7228 arg2 = new wxArrayInt;
7229 temp2 = True;
7230 int i, len=PySequence_Length(obj1);
7231 for (i=0; i<len; i++) {
7232 PyObject* item = PySequence_GetItem(obj1, i);
7233 PyObject* number = PyNumber_Int(item);
7234 arg2->Add(PyInt_AS_LONG(number));
7235 Py_DECREF(item);
7236 Py_DECREF(number);
7237 }
7238 }
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 (arg1)->SetTabs((wxArrayInt const &)*arg2);
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 Py_INCREF(Py_None); resultobj = Py_None;
7247 {
7248 if (temp2) delete arg2;
7249 }
7250 return resultobj;
7251 fail:
7252 {
7253 if (temp2) delete arg2;
7254 }
7255 return NULL;
7256}
7257
7258
7259static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj;
7261 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7262 int arg2 ;
7263 PyObject * obj0 = 0 ;
7264 PyObject * obj1 = 0 ;
7265 char *kwnames[] = {
7266 (char *) "self",(char *) "indent", NULL
7267 };
7268
7269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
7270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7272 arg2 = (int) SWIG_AsInt(obj1);
7273 if (PyErr_Occurred()) SWIG_fail;
7274 {
7275 PyThreadState* __tstate = wxPyBeginAllowThreads();
7276 (arg1)->SetLeftIndent(arg2);
7277
7278 wxPyEndAllowThreads(__tstate);
7279 if (PyErr_Occurred()) SWIG_fail;
7280 }
7281 Py_INCREF(Py_None); resultobj = Py_None;
7282 return resultobj;
7283 fail:
7284 return NULL;
7285}
7286
7287
7288static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7289 PyObject *resultobj;
7290 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7291 int arg2 ;
7292 PyObject * obj0 = 0 ;
7293 PyObject * obj1 = 0 ;
7294 char *kwnames[] = {
7295 (char *) "self",(char *) "indent", NULL
7296 };
7297
7298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
7299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7301 arg2 = (int) SWIG_AsInt(obj1);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 {
7304 PyThreadState* __tstate = wxPyBeginAllowThreads();
7305 (arg1)->SetRightIndent(arg2);
7306
7307 wxPyEndAllowThreads(__tstate);
7308 if (PyErr_Occurred()) SWIG_fail;
7309 }
7310 Py_INCREF(Py_None); resultobj = Py_None;
7311 return resultobj;
7312 fail:
7313 return NULL;
7314}
7315
7316
7317static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7318 PyObject *resultobj;
7319 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7320 long arg2 ;
7321 PyObject * obj0 = 0 ;
7322 PyObject * obj1 = 0 ;
7323 char *kwnames[] = {
7324 (char *) "self",(char *) "flags", NULL
7325 };
7326
7327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7330 arg2 = (long) SWIG_AsLong(obj1);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 {
7333 PyThreadState* __tstate = wxPyBeginAllowThreads();
7334 (arg1)->SetFlags(arg2);
7335
7336 wxPyEndAllowThreads(__tstate);
7337 if (PyErr_Occurred()) SWIG_fail;
7338 }
7339 Py_INCREF(Py_None); resultobj = Py_None;
7340 return resultobj;
7341 fail:
7342 return NULL;
7343}
7344
7345
7346static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7347 PyObject *resultobj;
7348 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7349 bool result;
7350 PyObject * obj0 = 0 ;
7351 char *kwnames[] = {
7352 (char *) "self", NULL
7353 };
7354
7355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
7356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 {
7366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7367 }
7368 return resultobj;
7369 fail:
7370 return NULL;
7371}
7372
7373
7374static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7375 PyObject *resultobj;
7376 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7377 bool result;
7378 PyObject * obj0 = 0 ;
7379 char *kwnames[] = {
7380 (char *) "self", NULL
7381 };
7382
7383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
7384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7386 {
7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
7388 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
7389
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
7393 {
7394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7395 }
7396 return resultobj;
7397 fail:
7398 return NULL;
7399}
7400
7401
7402static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7403 PyObject *resultobj;
7404 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7405 bool result;
7406 PyObject * obj0 = 0 ;
7407 char *kwnames[] = {
7408 (char *) "self", NULL
7409 };
7410
7411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
7412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7414 {
7415 PyThreadState* __tstate = wxPyBeginAllowThreads();
7416 result = (bool)((wxTextAttr const *)arg1)->HasFont();
7417
7418 wxPyEndAllowThreads(__tstate);
7419 if (PyErr_Occurred()) SWIG_fail;
7420 }
7421 {
7422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7423 }
7424 return resultobj;
7425 fail:
7426 return NULL;
7427}
7428
7429
7430static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7431 PyObject *resultobj;
7432 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7433 bool result;
7434 PyObject * obj0 = 0 ;
7435 char *kwnames[] = {
7436 (char *) "self", NULL
7437 };
7438
7439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
7440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 {
7450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7451 }
7452 return resultobj;
7453 fail:
7454 return NULL;
7455}
7456
7457
7458static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7459 PyObject *resultobj;
7460 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7461 bool result;
7462 PyObject * obj0 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "self", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
7468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7470 {
7471 PyThreadState* __tstate = wxPyBeginAllowThreads();
7472 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
7473
7474 wxPyEndAllowThreads(__tstate);
7475 if (PyErr_Occurred()) SWIG_fail;
7476 }
7477 {
7478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7479 }
7480 return resultobj;
7481 fail:
7482 return NULL;
7483}
7484
7485
7486static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7487 PyObject *resultobj;
7488 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7489 bool result;
7490 PyObject * obj0 = 0 ;
7491 char *kwnames[] = {
7492 (char *) "self", NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
7496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7498 {
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
7501
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
7505 {
7506 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7507 }
7508 return resultobj;
7509 fail:
7510 return NULL;
7511}
7512
7513
7514static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7515 PyObject *resultobj;
7516 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7517 bool result;
7518 PyObject * obj0 = 0 ;
7519 char *kwnames[] = {
7520 (char *) "self", NULL
7521 };
7522
7523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
7524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7526 {
7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
7528 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
7529
7530 wxPyEndAllowThreads(__tstate);
7531 if (PyErr_Occurred()) SWIG_fail;
7532 }
7533 {
7534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7535 }
7536 return resultobj;
7537 fail:
7538 return NULL;
7539}
7540
7541
7542static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
7543 PyObject *resultobj;
7544 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7545 long arg2 ;
7546 bool result;
7547 PyObject * obj0 = 0 ;
7548 PyObject * obj1 = 0 ;
7549 char *kwnames[] = {
7550 (char *) "self",(char *) "flag", NULL
7551 };
7552
7553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
7554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7556 arg2 = (long) SWIG_AsLong(obj1);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 {
7559 PyThreadState* __tstate = wxPyBeginAllowThreads();
7560 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
7561
7562 wxPyEndAllowThreads(__tstate);
7563 if (PyErr_Occurred()) SWIG_fail;
7564 }
7565 {
7566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7567 }
7568 return resultobj;
7569 fail:
7570 return NULL;
7571}
7572
7573
7574static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7575 PyObject *resultobj;
7576 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7577 wxColour *result;
7578 PyObject * obj0 = 0 ;
7579 char *kwnames[] = {
7580 (char *) "self", NULL
7581 };
7582
7583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
7584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7586 {
7587 PyThreadState* __tstate = wxPyBeginAllowThreads();
7588 {
7589 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
7590 result = (wxColour *) &_result_ref;
7591 }
7592
7593 wxPyEndAllowThreads(__tstate);
7594 if (PyErr_Occurred()) SWIG_fail;
7595 }
7596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7597 return resultobj;
7598 fail:
7599 return NULL;
7600}
7601
7602
7603static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
7604 PyObject *resultobj;
7605 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7606 wxColour *result;
7607 PyObject * obj0 = 0 ;
7608 char *kwnames[] = {
7609 (char *) "self", NULL
7610 };
7611
7612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
7613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7615 {
7616 PyThreadState* __tstate = wxPyBeginAllowThreads();
7617 {
7618 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
7619 result = (wxColour *) &_result_ref;
7620 }
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
7626 return resultobj;
7627 fail:
7628 return NULL;
7629}
7630
7631
7632static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj;
7634 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7635 wxFont *result;
7636 PyObject * obj0 = 0 ;
7637 char *kwnames[] = {
7638 (char *) "self", NULL
7639 };
7640
7641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7644 {
7645 PyThreadState* __tstate = wxPyBeginAllowThreads();
7646 {
7647 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7648 result = (wxFont *) &_result_ref;
7649 }
7650
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 {
7655 wxFont* resultptr = new wxFont(*result);
7656 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
7657 }
7658 return resultobj;
7659 fail:
7660 return NULL;
7661}
7662
7663
7664static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7665 PyObject *resultobj;
7666 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7667 int result;
7668 PyObject * obj0 = 0 ;
7669 char *kwnames[] = {
7670 (char *) "self", NULL
7671 };
7672
7673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7676 {
7677 PyThreadState* __tstate = wxPyBeginAllowThreads();
7678 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7679
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 resultobj = SWIG_FromInt((int)result);
7684 return resultobj;
7685 fail:
7686 return NULL;
7687}
7688
7689
7690static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7691 PyObject *resultobj;
7692 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7693 wxArrayInt *result;
7694 PyObject * obj0 = 0 ;
7695 char *kwnames[] = {
7696 (char *) "self", NULL
7697 };
7698
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 {
7705 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7706 result = (wxArrayInt *) &_result_ref;
7707 }
7708
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
7712 {
7713 resultobj = PyList_New(0);
7714 size_t idx;
7715 for (idx = 0; idx < result->GetCount(); idx += 1) {
7716 PyObject* val = PyInt_FromLong( result->Item(idx) );
7717 PyList_Append(resultobj, val);
7718 Py_DECREF(val);
7719 }
7720 }
7721 return resultobj;
7722 fail:
7723 return NULL;
7724}
7725
7726
7727static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7728 PyObject *resultobj;
7729 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7730 long result;
7731 PyObject * obj0 = 0 ;
7732 char *kwnames[] = {
7733 (char *) "self", NULL
7734 };
7735
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7739 {
7740 PyThreadState* __tstate = wxPyBeginAllowThreads();
7741 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7742
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 resultobj = SWIG_FromLong((long)result);
7747 return resultobj;
7748 fail:
7749 return NULL;
7750}
7751
7752
7753static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7754 PyObject *resultobj;
7755 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7756 long result;
7757 PyObject * obj0 = 0 ;
7758 char *kwnames[] = {
7759 (char *) "self", NULL
7760 };
7761
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7765 {
7766 PyThreadState* __tstate = wxPyBeginAllowThreads();
7767 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7768
7769 wxPyEndAllowThreads(__tstate);
7770 if (PyErr_Occurred()) SWIG_fail;
7771 }
7772 resultobj = SWIG_FromLong((long)result);
7773 return resultobj;
7774 fail:
7775 return NULL;
7776}
7777
7778
7779static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7780 PyObject *resultobj;
7781 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7782 long result;
7783 PyObject * obj0 = 0 ;
7784 char *kwnames[] = {
7785 (char *) "self", NULL
7786 };
7787
7788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7791 {
7792 PyThreadState* __tstate = wxPyBeginAllowThreads();
7793 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7794
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 resultobj = SWIG_FromLong((long)result);
7799 return resultobj;
7800 fail:
7801 return NULL;
7802}
7803
7804
7805static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7808 bool result;
7809 PyObject * obj0 = 0 ;
7810 char *kwnames[] = {
7811 (char *) "self", NULL
7812 };
7813
7814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7817 {
7818 PyThreadState* __tstate = wxPyBeginAllowThreads();
7819 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7820
7821 wxPyEndAllowThreads(__tstate);
7822 if (PyErr_Occurred()) SWIG_fail;
7823 }
7824 {
7825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7826 }
7827 return resultobj;
7828 fail:
7829 return NULL;
7830}
7831
7832
7833static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7834 PyObject *resultobj;
7835 wxTextAttr *arg1 = 0 ;
7836 wxTextAttr *arg2 = 0 ;
7837 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7838 wxTextAttr result;
7839 PyObject * obj0 = 0 ;
7840 PyObject * obj1 = 0 ;
7841 PyObject * obj2 = 0 ;
7842 char *kwnames[] = {
7843 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7844 };
7845
7846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextAttr,
7848 SWIG_POINTER_EXCEPTION | 0)) == -1)
7849 SWIG_fail;
7850 if (arg1 == NULL) {
7851 PyErr_SetString(PyExc_TypeError,"null reference");
7852 SWIG_fail;
7853 }
7854 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
7855 SWIG_POINTER_EXCEPTION | 0)) == -1)
7856 SWIG_fail;
7857 if (arg2 == NULL) {
7858 PyErr_SetString(PyExc_TypeError,"null reference");
7859 SWIG_fail;
7860 }
7861 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextCtrl,
7862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7863 {
7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
7865 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7866
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 {
7871 wxTextAttr * resultptr;
7872 resultptr = new wxTextAttr((wxTextAttr &) result);
7873 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTextAttr, 1);
7874 }
7875 return resultobj;
7876 fail:
7877 return NULL;
7878}
7879
7880
7881static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7882 PyObject *obj;
7883 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7884 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7885 Py_INCREF(obj);
7886 return Py_BuildValue((char *)"");
7887}
7888static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7889 PyObject *resultobj;
7890 wxWindow *arg1 = (wxWindow *) 0 ;
7891 int arg2 ;
7892 wxString const &arg3_defvalue = wxPyEmptyString ;
7893 wxString *arg3 = (wxString *) &arg3_defvalue ;
7894 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7895 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7896 wxSize const &arg5_defvalue = wxDefaultSize ;
7897 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7898 long arg6 = (long) 0 ;
7899 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7900 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7901 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7902 wxString *arg8 = (wxString *) &arg8_defvalue ;
7903 wxTextCtrl *result;
7904 bool temp3 = False ;
7905 wxPoint temp4 ;
7906 wxSize temp5 ;
7907 bool temp8 = False ;
7908 PyObject * obj0 = 0 ;
7909 PyObject * obj1 = 0 ;
7910 PyObject * obj2 = 0 ;
7911 PyObject * obj3 = 0 ;
7912 PyObject * obj4 = 0 ;
7913 PyObject * obj5 = 0 ;
7914 PyObject * obj6 = 0 ;
7915 PyObject * obj7 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
7922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7923 arg2 = (int) SWIG_AsInt(obj1);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 if (obj2) {
7926 {
7927 arg3 = wxString_in_helper(obj2);
7928 if (arg3 == NULL) SWIG_fail;
7929 temp3 = True;
7930 }
7931 }
7932 if (obj3) {
7933 {
7934 arg4 = &temp4;
7935 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7936 }
7937 }
7938 if (obj4) {
7939 {
7940 arg5 = &temp5;
7941 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7942 }
7943 }
7944 if (obj5) {
7945 arg6 = (long) SWIG_AsLong(obj5);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 if (obj6) {
7949 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
7950 SWIG_POINTER_EXCEPTION | 0)) == -1)
7951 SWIG_fail;
7952 if (arg7 == NULL) {
7953 PyErr_SetString(PyExc_TypeError,"null reference");
7954 SWIG_fail;
7955 }
7956 }
7957 if (obj7) {
7958 {
7959 arg8 = wxString_in_helper(obj7);
7960 if (arg8 == NULL) SWIG_fail;
7961 temp8 = True;
7962 }
7963 }
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
7971 {
7972 resultobj = wxPyMake_wxObject(result);
7973 }
7974 {
7975 if (temp3)
7976 delete arg3;
7977 }
7978 {
7979 if (temp8)
7980 delete arg8;
7981 }
7982 return resultobj;
7983 fail:
7984 {
7985 if (temp3)
7986 delete arg3;
7987 }
7988 {
7989 if (temp8)
7990 delete arg8;
7991 }
7992 return NULL;
7993}
7994
7995
7996static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7997 PyObject *resultobj;
7998 wxTextCtrl *result;
7999 char *kwnames[] = {
8000 NULL
8001 };
8002
8003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 result = (wxTextCtrl *)new wxTextCtrl();
8007
8008 wxPyEndAllowThreads(__tstate);
8009 if (PyErr_Occurred()) SWIG_fail;
8010 }
8011 {
8012 resultobj = wxPyMake_wxObject(result);
8013 }
8014 return resultobj;
8015 fail:
8016 return NULL;
8017}
8018
8019
8020static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8021 PyObject *resultobj;
8022 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8023 wxWindow *arg2 = (wxWindow *) 0 ;
8024 int arg3 ;
8025 wxString const &arg4_defvalue = wxPyEmptyString ;
8026 wxString *arg4 = (wxString *) &arg4_defvalue ;
8027 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8028 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8029 wxSize const &arg6_defvalue = wxDefaultSize ;
8030 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8031 long arg7 = (long) 0 ;
8032 wxValidator const &arg8_defvalue = wxDefaultValidator ;
8033 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
8034 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
8035 wxString *arg9 = (wxString *) &arg9_defvalue ;
8036 bool result;
8037 bool temp4 = False ;
8038 wxPoint temp5 ;
8039 wxSize temp6 ;
8040 bool temp9 = False ;
8041 PyObject * obj0 = 0 ;
8042 PyObject * obj1 = 0 ;
8043 PyObject * obj2 = 0 ;
8044 PyObject * obj3 = 0 ;
8045 PyObject * obj4 = 0 ;
8046 PyObject * obj5 = 0 ;
8047 PyObject * obj6 = 0 ;
8048 PyObject * obj7 = 0 ;
8049 PyObject * obj8 = 0 ;
8050 char *kwnames[] = {
8051 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8052 };
8053
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
8055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8057 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
8058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8059 arg3 = (int) SWIG_AsInt(obj2);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 if (obj3) {
8062 {
8063 arg4 = wxString_in_helper(obj3);
8064 if (arg4 == NULL) SWIG_fail;
8065 temp4 = True;
8066 }
8067 }
8068 if (obj4) {
8069 {
8070 arg5 = &temp5;
8071 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8072 }
8073 }
8074 if (obj5) {
8075 {
8076 arg6 = &temp6;
8077 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8078 }
8079 }
8080 if (obj6) {
8081 arg7 = (long) SWIG_AsLong(obj6);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
8084 if (obj7) {
8085 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
8086 SWIG_POINTER_EXCEPTION | 0)) == -1)
8087 SWIG_fail;
8088 if (arg8 == NULL) {
8089 PyErr_SetString(PyExc_TypeError,"null reference");
8090 SWIG_fail;
8091 }
8092 }
8093 if (obj8) {
8094 {
8095 arg9 = wxString_in_helper(obj8);
8096 if (arg9 == NULL) SWIG_fail;
8097 temp9 = True;
8098 }
8099 }
8100 {
8101 PyThreadState* __tstate = wxPyBeginAllowThreads();
8102 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
8103
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
8107 {
8108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8109 }
8110 {
8111 if (temp4)
8112 delete arg4;
8113 }
8114 {
8115 if (temp9)
8116 delete arg9;
8117 }
8118 return resultobj;
8119 fail:
8120 {
8121 if (temp4)
8122 delete arg4;
8123 }
8124 {
8125 if (temp9)
8126 delete arg9;
8127 }
8128 return NULL;
8129}
8130
8131
8132static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8133 PyObject *resultobj;
8134 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8135 wxString result;
8136 PyObject * obj0 = 0 ;
8137 char *kwnames[] = {
8138 (char *) "self", NULL
8139 };
8140
8141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
8142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 result = ((wxTextCtrl const *)arg1)->GetValue();
8147
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 {
8152#if wxUSE_UNICODE
8153 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8154#else
8155 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8156#endif
8157 }
8158 return resultobj;
8159 fail:
8160 return NULL;
8161}
8162
8163
8164static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8165 PyObject *resultobj;
8166 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8167 wxString *arg2 = 0 ;
8168 bool temp2 = False ;
8169 PyObject * obj0 = 0 ;
8170 PyObject * obj1 = 0 ;
8171 char *kwnames[] = {
8172 (char *) "self",(char *) "value", NULL
8173 };
8174
8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
8176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8178 {
8179 arg2 = wxString_in_helper(obj1);
8180 if (arg2 == NULL) SWIG_fail;
8181 temp2 = True;
8182 }
8183 {
8184 PyThreadState* __tstate = wxPyBeginAllowThreads();
8185 (arg1)->SetValue((wxString const &)*arg2);
8186
8187 wxPyEndAllowThreads(__tstate);
8188 if (PyErr_Occurred()) SWIG_fail;
8189 }
8190 Py_INCREF(Py_None); resultobj = Py_None;
8191 {
8192 if (temp2)
8193 delete arg2;
8194 }
8195 return resultobj;
8196 fail:
8197 {
8198 if (temp2)
8199 delete arg2;
8200 }
8201 return NULL;
8202}
8203
8204
8205static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8206 PyObject *resultobj;
8207 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8208 long arg2 ;
8209 long arg3 ;
8210 wxString result;
8211 PyObject * obj0 = 0 ;
8212 PyObject * obj1 = 0 ;
8213 PyObject * obj2 = 0 ;
8214 char *kwnames[] = {
8215 (char *) "self",(char *) "from",(char *) "to", NULL
8216 };
8217
8218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8221 arg2 = (long) SWIG_AsLong(obj1);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 arg3 = (long) SWIG_AsLong(obj2);
8224 if (PyErr_Occurred()) SWIG_fail;
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
8228
8229 wxPyEndAllowThreads(__tstate);
8230 if (PyErr_Occurred()) SWIG_fail;
8231 }
8232 {
8233#if wxUSE_UNICODE
8234 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8235#else
8236 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8237#endif
8238 }
8239 return resultobj;
8240 fail:
8241 return NULL;
8242}
8243
8244
8245static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8246 PyObject *resultobj;
8247 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8248 long arg2 ;
8249 int result;
8250 PyObject * obj0 = 0 ;
8251 PyObject * obj1 = 0 ;
8252 char *kwnames[] = {
8253 (char *) "self",(char *) "lineNo", NULL
8254 };
8255
8256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
8257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8259 arg2 = (long) SWIG_AsLong(obj1);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 {
8262 PyThreadState* __tstate = wxPyBeginAllowThreads();
8263 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
8264
8265 wxPyEndAllowThreads(__tstate);
8266 if (PyErr_Occurred()) SWIG_fail;
8267 }
8268 resultobj = SWIG_FromInt((int)result);
8269 return resultobj;
8270 fail:
8271 return NULL;
8272}
8273
8274
8275static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
8276 PyObject *resultobj;
8277 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8278 long arg2 ;
8279 wxString result;
8280 PyObject * obj0 = 0 ;
8281 PyObject * obj1 = 0 ;
8282 char *kwnames[] = {
8283 (char *) "self",(char *) "lineNo", NULL
8284 };
8285
8286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
8287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8289 arg2 = (long) SWIG_AsLong(obj1);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
8294
8295 wxPyEndAllowThreads(__tstate);
8296 if (PyErr_Occurred()) SWIG_fail;
8297 }
8298 {
8299#if wxUSE_UNICODE
8300 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8301#else
8302 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8303#endif
8304 }
8305 return resultobj;
8306 fail:
8307 return NULL;
8308}
8309
8310
8311static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj;
8313 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8314 int result;
8315 PyObject * obj0 = 0 ;
8316 char *kwnames[] = {
8317 (char *) "self", NULL
8318 };
8319
8320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
8321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8323 {
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
8326
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 resultobj = SWIG_FromInt((int)result);
8331 return resultobj;
8332 fail:
8333 return NULL;
8334}
8335
8336
8337static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
8338 PyObject *resultobj;
8339 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8340 bool result;
8341 PyObject * obj0 = 0 ;
8342 char *kwnames[] = {
8343 (char *) "self", NULL
8344 };
8345
8346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
8347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
8352
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
8356 {
8357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8358 }
8359 return resultobj;
8360 fail:
8361 return NULL;
8362}
8363
8364
8365static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8366 PyObject *resultobj;
8367 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8368 bool result;
8369 PyObject * obj0 = 0 ;
8370 char *kwnames[] = {
8371 (char *) "self", NULL
8372 };
8373
8374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
8375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
8380
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 {
8385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8386 }
8387 return resultobj;
8388 fail:
8389 return NULL;
8390}
8391
8392
8393static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8394 PyObject *resultobj;
8395 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8396 bool result;
8397 PyObject * obj0 = 0 ;
8398 char *kwnames[] = {
8399 (char *) "self", NULL
8400 };
8401
8402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
8403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
8408
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 {
8413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8414 }
8415 return resultobj;
8416 fail:
8417 return NULL;
8418}
8419
8420
8421static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj;
8423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8424 bool result;
8425 PyObject * obj0 = 0 ;
8426 char *kwnames[] = {
8427 (char *) "self", NULL
8428 };
8429
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
8431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 {
8441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8442 }
8443 return resultobj;
8444 fail:
8445 return NULL;
8446}
8447
8448
8449static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8450 PyObject *resultobj;
8451 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8452 long *arg2 = (long *) 0 ;
8453 long *arg3 = (long *) 0 ;
8454 long temp2 ;
8455 long temp3 ;
8456 PyObject * obj0 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self", NULL
8459 };
8460
8461 arg2 = &temp2;
8462 arg3 = &temp3;
8463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
8464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8466 {
8467 PyThreadState* __tstate = wxPyBeginAllowThreads();
8468 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
8469
8470 wxPyEndAllowThreads(__tstate);
8471 if (PyErr_Occurred()) SWIG_fail;
8472 }
8473 Py_INCREF(Py_None); resultobj = Py_None;
8474 {
8475 PyObject *o = PyInt_FromLong((long) (*arg2));
8476 resultobj = t_output_helper(resultobj,o);
8477 }
8478 {
8479 PyObject *o = PyInt_FromLong((long) (*arg3));
8480 resultobj = t_output_helper(resultobj,o);
8481 }
8482 return resultobj;
8483 fail:
8484 return NULL;
8485}
8486
8487
8488static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj;
8490 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8491 wxString result;
8492 PyObject * obj0 = 0 ;
8493 char *kwnames[] = {
8494 (char *) "self", NULL
8495 };
8496
8497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
8498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8500 {
8501 PyThreadState* __tstate = wxPyBeginAllowThreads();
8502 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
8503
8504 wxPyEndAllowThreads(__tstate);
8505 if (PyErr_Occurred()) SWIG_fail;
8506 }
8507 {
8508#if wxUSE_UNICODE
8509 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8510#else
8511 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8512#endif
8513 }
8514 return resultobj;
8515 fail:
8516 return NULL;
8517}
8518
8519
8520static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8521 PyObject *resultobj;
8522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8523 PyObject * obj0 = 0 ;
8524 char *kwnames[] = {
8525 (char *) "self", NULL
8526 };
8527
8528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
8529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 (arg1)->Clear();
8534
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
8538 Py_INCREF(Py_None); resultobj = Py_None;
8539 return resultobj;
8540 fail:
8541 return NULL;
8542}
8543
8544
8545static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
8546 PyObject *resultobj;
8547 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8548 long arg2 ;
8549 long arg3 ;
8550 wxString *arg4 = 0 ;
8551 bool temp4 = False ;
8552 PyObject * obj0 = 0 ;
8553 PyObject * obj1 = 0 ;
8554 PyObject * obj2 = 0 ;
8555 PyObject * obj3 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8558 };
8559
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8563 arg2 = (long) SWIG_AsLong(obj1);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 arg3 = (long) SWIG_AsLong(obj2);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 {
8568 arg4 = wxString_in_helper(obj3);
8569 if (arg4 == NULL) SWIG_fail;
8570 temp4 = True;
8571 }
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
8575
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
8579 Py_INCREF(Py_None); resultobj = Py_None;
8580 {
8581 if (temp4)
8582 delete arg4;
8583 }
8584 return resultobj;
8585 fail:
8586 {
8587 if (temp4)
8588 delete arg4;
8589 }
8590 return NULL;
8591}
8592
8593
8594static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj;
8596 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8597 long arg2 ;
8598 long arg3 ;
8599 PyObject * obj0 = 0 ;
8600 PyObject * obj1 = 0 ;
8601 PyObject * obj2 = 0 ;
8602 char *kwnames[] = {
8603 (char *) "self",(char *) "from",(char *) "to", NULL
8604 };
8605
8606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
8607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8609 arg2 = (long) SWIG_AsLong(obj1);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 arg3 = (long) SWIG_AsLong(obj2);
8612 if (PyErr_Occurred()) SWIG_fail;
8613 {
8614 PyThreadState* __tstate = wxPyBeginAllowThreads();
8615 (arg1)->Remove(arg2,arg3);
8616
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 Py_INCREF(Py_None); resultobj = Py_None;
8621 return resultobj;
8622 fail:
8623 return NULL;
8624}
8625
8626
8627static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8628 PyObject *resultobj;
8629 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8630 wxString *arg2 = 0 ;
8631 bool result;
8632 bool temp2 = False ;
8633 PyObject * obj0 = 0 ;
8634 PyObject * obj1 = 0 ;
8635 char *kwnames[] = {
8636 (char *) "self",(char *) "file", NULL
8637 };
8638
8639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
8640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8642 {
8643 arg2 = wxString_in_helper(obj1);
8644 if (arg2 == NULL) SWIG_fail;
8645 temp2 = True;
8646 }
8647 {
8648 PyThreadState* __tstate = wxPyBeginAllowThreads();
8649 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
8650
8651 wxPyEndAllowThreads(__tstate);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 {
8655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8656 }
8657 {
8658 if (temp2)
8659 delete arg2;
8660 }
8661 return resultobj;
8662 fail:
8663 {
8664 if (temp2)
8665 delete arg2;
8666 }
8667 return NULL;
8668}
8669
8670
8671static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8672 PyObject *resultobj;
8673 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8674 wxString const &arg2_defvalue = wxPyEmptyString ;
8675 wxString *arg2 = (wxString *) &arg2_defvalue ;
8676 bool result;
8677 bool temp2 = False ;
8678 PyObject * obj0 = 0 ;
8679 PyObject * obj1 = 0 ;
8680 char *kwnames[] = {
8681 (char *) "self",(char *) "file", NULL
8682 };
8683
8684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8687 if (obj1) {
8688 {
8689 arg2 = wxString_in_helper(obj1);
8690 if (arg2 == NULL) SWIG_fail;
8691 temp2 = True;
8692 }
8693 }
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 {
8702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8703 }
8704 {
8705 if (temp2)
8706 delete arg2;
8707 }
8708 return resultobj;
8709 fail:
8710 {
8711 if (temp2)
8712 delete arg2;
8713 }
8714 return NULL;
8715}
8716
8717
8718static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8719 PyObject *resultobj;
8720 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8721 PyObject * obj0 = 0 ;
8722 char *kwnames[] = {
8723 (char *) "self", NULL
8724 };
8725
8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 (arg1)->MarkDirty();
8732
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 Py_INCREF(Py_None); resultobj = Py_None;
8737 return resultobj;
8738 fail:
8739 return NULL;
8740}
8741
8742
8743static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8744 PyObject *resultobj;
8745 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8746 PyObject * obj0 = 0 ;
8747 char *kwnames[] = {
8748 (char *) "self", NULL
8749 };
8750
8751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8754 {
8755 PyThreadState* __tstate = wxPyBeginAllowThreads();
8756 (arg1)->DiscardEdits();
8757
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 Py_INCREF(Py_None); resultobj = Py_None;
8762 return resultobj;
8763 fail:
8764 return NULL;
8765}
8766
8767
8768static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8769 PyObject *resultobj;
8770 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8771 unsigned long arg2 ;
8772 PyObject * obj0 = 0 ;
8773 PyObject * obj1 = 0 ;
8774 char *kwnames[] = {
8775 (char *) "self",(char *) "len", NULL
8776 };
8777
8778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8781 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
8782 if (PyErr_Occurred()) SWIG_fail;
8783 {
8784 PyThreadState* __tstate = wxPyBeginAllowThreads();
8785 (arg1)->SetMaxLength(arg2);
8786
8787 wxPyEndAllowThreads(__tstate);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 }
8790 Py_INCREF(Py_None); resultobj = Py_None;
8791 return resultobj;
8792 fail:
8793 return NULL;
8794}
8795
8796
8797static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8798 PyObject *resultobj;
8799 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8800 wxString *arg2 = 0 ;
8801 bool temp2 = False ;
8802 PyObject * obj0 = 0 ;
8803 PyObject * obj1 = 0 ;
8804 char *kwnames[] = {
8805 (char *) "self",(char *) "text", NULL
8806 };
8807
8808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8811 {
8812 arg2 = wxString_in_helper(obj1);
8813 if (arg2 == NULL) SWIG_fail;
8814 temp2 = True;
8815 }
8816 {
8817 PyThreadState* __tstate = wxPyBeginAllowThreads();
8818 (arg1)->WriteText((wxString const &)*arg2);
8819
8820 wxPyEndAllowThreads(__tstate);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 Py_INCREF(Py_None); resultobj = Py_None;
8824 {
8825 if (temp2)
8826 delete arg2;
8827 }
8828 return resultobj;
8829 fail:
8830 {
8831 if (temp2)
8832 delete arg2;
8833 }
8834 return NULL;
8835}
8836
8837
8838static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8839 PyObject *resultobj;
8840 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8841 wxString *arg2 = 0 ;
8842 bool temp2 = False ;
8843 PyObject * obj0 = 0 ;
8844 PyObject * obj1 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "self",(char *) "text", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8852 {
8853 arg2 = wxString_in_helper(obj1);
8854 if (arg2 == NULL) SWIG_fail;
8855 temp2 = True;
8856 }
8857 {
8858 PyThreadState* __tstate = wxPyBeginAllowThreads();
8859 (arg1)->AppendText((wxString const &)*arg2);
8860
8861 wxPyEndAllowThreads(__tstate);
8862 if (PyErr_Occurred()) SWIG_fail;
8863 }
8864 Py_INCREF(Py_None); resultobj = Py_None;
8865 {
8866 if (temp2)
8867 delete arg2;
8868 }
8869 return resultobj;
8870 fail:
8871 {
8872 if (temp2)
8873 delete arg2;
8874 }
8875 return NULL;
8876}
8877
8878
8879static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8880 PyObject *resultobj;
8881 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8882 wxKeyEvent *arg2 = 0 ;
8883 bool result;
8884 PyObject * obj0 = 0 ;
8885 PyObject * obj1 = 0 ;
8886 char *kwnames[] = {
8887 (char *) "self",(char *) "event", NULL
8888 };
8889
8890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8893 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
8894 SWIG_POINTER_EXCEPTION | 0)) == -1)
8895 SWIG_fail;
8896 if (arg2 == NULL) {
8897 PyErr_SetString(PyExc_TypeError,"null reference");
8898 SWIG_fail;
8899 }
8900 {
8901 PyThreadState* __tstate = wxPyBeginAllowThreads();
8902 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8903
8904 wxPyEndAllowThreads(__tstate);
8905 if (PyErr_Occurred()) SWIG_fail;
8906 }
8907 {
8908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8909 }
8910 return resultobj;
8911 fail:
8912 return NULL;
8913}
8914
8915
8916static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8919 long arg2 ;
8920 long arg3 ;
8921 wxTextAttr *arg4 = 0 ;
8922 bool result;
8923 PyObject * obj0 = 0 ;
8924 PyObject * obj1 = 0 ;
8925 PyObject * obj2 = 0 ;
8926 PyObject * obj3 = 0 ;
8927 char *kwnames[] = {
8928 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8929 };
8930
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8934 arg2 = (long) SWIG_AsLong(obj1);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 arg3 = (long) SWIG_AsLong(obj2);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxTextAttr,
8939 SWIG_POINTER_EXCEPTION | 0)) == -1)
8940 SWIG_fail;
8941 if (arg4 == NULL) {
8942 PyErr_SetString(PyExc_TypeError,"null reference");
8943 SWIG_fail;
8944 }
8945 {
8946 PyThreadState* __tstate = wxPyBeginAllowThreads();
8947 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8948
8949 wxPyEndAllowThreads(__tstate);
8950 if (PyErr_Occurred()) SWIG_fail;
8951 }
8952 {
8953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8954 }
8955 return resultobj;
8956 fail:
8957 return NULL;
8958}
8959
8960
8961static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8962 PyObject *resultobj;
8963 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8964 long arg2 ;
8965 wxTextAttr *arg3 = 0 ;
8966 bool result;
8967 PyObject * obj0 = 0 ;
8968 PyObject * obj1 = 0 ;
8969 PyObject * obj2 = 0 ;
8970 char *kwnames[] = {
8971 (char *) "self",(char *) "position",(char *) "style", NULL
8972 };
8973
8974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
8976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8977 arg2 = (long) SWIG_AsLong(obj1);
8978 if (PyErr_Occurred()) SWIG_fail;
8979 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTextAttr,
8980 SWIG_POINTER_EXCEPTION | 0)) == -1)
8981 SWIG_fail;
8982 if (arg3 == NULL) {
8983 PyErr_SetString(PyExc_TypeError,"null reference");
8984 SWIG_fail;
8985 }
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 {
8994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8995 }
8996 return resultobj;
8997 fail:
8998 return NULL;
8999}
9000
9001
9002static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj;
9004 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9005 wxTextAttr *arg2 = 0 ;
9006 bool result;
9007 PyObject * obj0 = 0 ;
9008 PyObject * obj1 = 0 ;
9009 char *kwnames[] = {
9010 (char *) "self",(char *) "style", NULL
9011 };
9012
9013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
9014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTextAttr,
9017 SWIG_POINTER_EXCEPTION | 0)) == -1)
9018 SWIG_fail;
9019 if (arg2 == NULL) {
9020 PyErr_SetString(PyExc_TypeError,"null reference");
9021 SWIG_fail;
9022 }
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
9026
9027 wxPyEndAllowThreads(__tstate);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 }
9030 {
9031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9032 }
9033 return resultobj;
9034 fail:
9035 return NULL;
9036}
9037
9038
9039static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj;
9041 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9042 wxTextAttr *result;
9043 PyObject * obj0 = 0 ;
9044 char *kwnames[] = {
9045 (char *) "self", NULL
9046 };
9047
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
9049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9051 {
9052 PyThreadState* __tstate = wxPyBeginAllowThreads();
9053 {
9054 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
9055 result = (wxTextAttr *) &_result_ref;
9056 }
9057
9058 wxPyEndAllowThreads(__tstate);
9059 if (PyErr_Occurred()) SWIG_fail;
9060 }
9061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextAttr, 0);
9062 return resultobj;
9063 fail:
9064 return NULL;
9065}
9066
9067
9068static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9069 PyObject *resultobj;
9070 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9071 long arg2 ;
9072 long arg3 ;
9073 long result;
9074 PyObject * obj0 = 0 ;
9075 PyObject * obj1 = 0 ;
9076 PyObject * obj2 = 0 ;
9077 char *kwnames[] = {
9078 (char *) "self",(char *) "x",(char *) "y", NULL
9079 };
9080
9081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
9082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9084 arg2 = (long) SWIG_AsLong(obj1);
9085 if (PyErr_Occurred()) SWIG_fail;
9086 arg3 = (long) SWIG_AsLong(obj2);
9087 if (PyErr_Occurred()) SWIG_fail;
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 resultobj = SWIG_FromLong((long)result);
9096 return resultobj;
9097 fail:
9098 return NULL;
9099}
9100
9101
9102static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9103 PyObject *resultobj;
9104 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9105 long arg2 ;
9106 long *arg3 = (long *) 0 ;
9107 long *arg4 = (long *) 0 ;
9108 long temp3 ;
9109 long temp4 ;
9110 PyObject * obj0 = 0 ;
9111 PyObject * obj1 = 0 ;
9112 char *kwnames[] = {
9113 (char *) "self",(char *) "pos", NULL
9114 };
9115
9116 arg3 = &temp3;
9117 arg4 = &temp4;
9118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
9119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9121 arg2 = (long) SWIG_AsLong(obj1);
9122 if (PyErr_Occurred()) SWIG_fail;
9123 {
9124 PyThreadState* __tstate = wxPyBeginAllowThreads();
9125 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
9126
9127 wxPyEndAllowThreads(__tstate);
9128 if (PyErr_Occurred()) SWIG_fail;
9129 }
9130 Py_INCREF(Py_None); resultobj = Py_None;
9131 {
9132 PyObject *o = PyInt_FromLong((long) (*arg3));
9133 resultobj = t_output_helper(resultobj,o);
9134 }
9135 {
9136 PyObject *o = PyInt_FromLong((long) (*arg4));
9137 resultobj = t_output_helper(resultobj,o);
9138 }
9139 return resultobj;
9140 fail:
9141 return NULL;
9142}
9143
9144
9145static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj;
9147 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9148 long arg2 ;
9149 PyObject * obj0 = 0 ;
9150 PyObject * obj1 = 0 ;
9151 char *kwnames[] = {
9152 (char *) "self",(char *) "pos", NULL
9153 };
9154
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
9156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9158 arg2 = (long) SWIG_AsLong(obj1);
9159 if (PyErr_Occurred()) SWIG_fail;
9160 {
9161 PyThreadState* __tstate = wxPyBeginAllowThreads();
9162 (arg1)->ShowPosition(arg2);
9163
9164 wxPyEndAllowThreads(__tstate);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 }
9167 Py_INCREF(Py_None); resultobj = Py_None;
9168 return resultobj;
9169 fail:
9170 return NULL;
9171}
9172
9173
9174static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9175 PyObject *resultobj;
9176 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9177 wxPoint *arg2 = 0 ;
9178 long *arg3 = (long *) 0 ;
9179 long *arg4 = (long *) 0 ;
9180 int result;
9181 wxPoint temp2 ;
9182 long temp3 ;
9183 long temp4 ;
9184 PyObject * obj0 = 0 ;
9185 PyObject * obj1 = 0 ;
9186 char *kwnames[] = {
9187 (char *) "self",(char *) "pt", NULL
9188 };
9189
9190 arg3 = &temp3;
9191 arg4 = &temp4;
9192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
9193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9195 {
9196 arg2 = &temp2;
9197 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9198 }
9199 {
9200 PyThreadState* __tstate = wxPyBeginAllowThreads();
9201 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
9202
9203 wxPyEndAllowThreads(__tstate);
9204 if (PyErr_Occurred()) SWIG_fail;
9205 }
9206 resultobj = SWIG_FromInt((int)result);
9207 {
9208 PyObject *o = PyInt_FromLong((long) (*arg3));
9209 resultobj = t_output_helper(resultobj,o);
9210 }
9211 {
9212 PyObject *o = PyInt_FromLong((long) (*arg4));
9213 resultobj = t_output_helper(resultobj,o);
9214 }
9215 return resultobj;
9216 fail:
9217 return NULL;
9218}
9219
9220
9221static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9222 PyObject *resultobj;
9223 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9224 PyObject * obj0 = 0 ;
9225 char *kwnames[] = {
9226 (char *) "self", NULL
9227 };
9228
9229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
9230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9232 {
9233 PyThreadState* __tstate = wxPyBeginAllowThreads();
9234 (arg1)->Copy();
9235
9236 wxPyEndAllowThreads(__tstate);
9237 if (PyErr_Occurred()) SWIG_fail;
9238 }
9239 Py_INCREF(Py_None); resultobj = Py_None;
9240 return resultobj;
9241 fail:
9242 return NULL;
9243}
9244
9245
9246static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
9247 PyObject *resultobj;
9248 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9249 PyObject * obj0 = 0 ;
9250 char *kwnames[] = {
9251 (char *) "self", NULL
9252 };
9253
9254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
9255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9257 {
9258 PyThreadState* __tstate = wxPyBeginAllowThreads();
9259 (arg1)->Cut();
9260
9261 wxPyEndAllowThreads(__tstate);
9262 if (PyErr_Occurred()) SWIG_fail;
9263 }
9264 Py_INCREF(Py_None); resultobj = Py_None;
9265 return resultobj;
9266 fail:
9267 return NULL;
9268}
9269
9270
9271static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
9272 PyObject *resultobj;
9273 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9274 PyObject * obj0 = 0 ;
9275 char *kwnames[] = {
9276 (char *) "self", NULL
9277 };
9278
9279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
9280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 (arg1)->Paste();
9285
9286 wxPyEndAllowThreads(__tstate);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
9289 Py_INCREF(Py_None); resultobj = Py_None;
9290 return resultobj;
9291 fail:
9292 return NULL;
9293}
9294
9295
9296static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
9297 PyObject *resultobj;
9298 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9299 bool result;
9300 PyObject * obj0 = 0 ;
9301 char *kwnames[] = {
9302 (char *) "self", NULL
9303 };
9304
9305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
9306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9308 {
9309 PyThreadState* __tstate = wxPyBeginAllowThreads();
9310 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
9311
9312 wxPyEndAllowThreads(__tstate);
9313 if (PyErr_Occurred()) SWIG_fail;
9314 }
9315 {
9316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9317 }
9318 return resultobj;
9319 fail:
9320 return NULL;
9321}
9322
9323
9324static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
9325 PyObject *resultobj;
9326 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9327 bool result;
9328 PyObject * obj0 = 0 ;
9329 char *kwnames[] = {
9330 (char *) "self", NULL
9331 };
9332
9333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
9334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
9343 {
9344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9345 }
9346 return resultobj;
9347 fail:
9348 return NULL;
9349}
9350
9351
9352static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
9353 PyObject *resultobj;
9354 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9355 bool result;
9356 PyObject * obj0 = 0 ;
9357 char *kwnames[] = {
9358 (char *) "self", NULL
9359 };
9360
9361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
9362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9364 {
9365 PyThreadState* __tstate = wxPyBeginAllowThreads();
9366 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
9367
9368 wxPyEndAllowThreads(__tstate);
9369 if (PyErr_Occurred()) SWIG_fail;
9370 }
9371 {
9372 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9373 }
9374 return resultobj;
9375 fail:
9376 return NULL;
9377}
9378
9379
9380static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
9381 PyObject *resultobj;
9382 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9383 PyObject * obj0 = 0 ;
9384 char *kwnames[] = {
9385 (char *) "self", NULL
9386 };
9387
9388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
9389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9391 {
9392 PyThreadState* __tstate = wxPyBeginAllowThreads();
9393 (arg1)->Undo();
9394
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 Py_INCREF(Py_None); resultobj = Py_None;
9399 return resultobj;
9400 fail:
9401 return NULL;
9402}
9403
9404
9405static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
9406 PyObject *resultobj;
9407 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9408 PyObject * obj0 = 0 ;
9409 char *kwnames[] = {
9410 (char *) "self", NULL
9411 };
9412
9413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
9414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9416 {
9417 PyThreadState* __tstate = wxPyBeginAllowThreads();
9418 (arg1)->Redo();
9419
9420 wxPyEndAllowThreads(__tstate);
9421 if (PyErr_Occurred()) SWIG_fail;
9422 }
9423 Py_INCREF(Py_None); resultobj = Py_None;
9424 return resultobj;
9425 fail:
9426 return NULL;
9427}
9428
9429
9430static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
9431 PyObject *resultobj;
9432 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9433 bool result;
9434 PyObject * obj0 = 0 ;
9435 char *kwnames[] = {
9436 (char *) "self", NULL
9437 };
9438
9439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
9440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9442 {
9443 PyThreadState* __tstate = wxPyBeginAllowThreads();
9444 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
9445
9446 wxPyEndAllowThreads(__tstate);
9447 if (PyErr_Occurred()) SWIG_fail;
9448 }
9449 {
9450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9451 }
9452 return resultobj;
9453 fail:
9454 return NULL;
9455}
9456
9457
9458static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
9459 PyObject *resultobj;
9460 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9461 bool result;
9462 PyObject * obj0 = 0 ;
9463 char *kwnames[] = {
9464 (char *) "self", NULL
9465 };
9466
9467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
9468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9470 {
9471 PyThreadState* __tstate = wxPyBeginAllowThreads();
9472 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
9473
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
9477 {
9478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9479 }
9480 return resultobj;
9481 fail:
9482 return NULL;
9483}
9484
9485
9486static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9487 PyObject *resultobj;
9488 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9489 long arg2 ;
9490 PyObject * obj0 = 0 ;
9491 PyObject * obj1 = 0 ;
9492 char *kwnames[] = {
9493 (char *) "self",(char *) "pos", NULL
9494 };
9495
9496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
9497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9499 arg2 = (long) SWIG_AsLong(obj1);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 {
9502 PyThreadState* __tstate = wxPyBeginAllowThreads();
9503 (arg1)->SetInsertionPoint(arg2);
9504
9505 wxPyEndAllowThreads(__tstate);
9506 if (PyErr_Occurred()) SWIG_fail;
9507 }
9508 Py_INCREF(Py_None); resultobj = Py_None;
9509 return resultobj;
9510 fail:
9511 return NULL;
9512}
9513
9514
9515static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9516 PyObject *resultobj;
9517 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9518 PyObject * obj0 = 0 ;
9519 char *kwnames[] = {
9520 (char *) "self", NULL
9521 };
9522
9523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
9524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9526 {
9527 PyThreadState* __tstate = wxPyBeginAllowThreads();
9528 (arg1)->SetInsertionPointEnd();
9529
9530 wxPyEndAllowThreads(__tstate);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
9533 Py_INCREF(Py_None); resultobj = Py_None;
9534 return resultobj;
9535 fail:
9536 return NULL;
9537}
9538
9539
9540static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
9541 PyObject *resultobj;
9542 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9543 long result;
9544 PyObject * obj0 = 0 ;
9545 char *kwnames[] = {
9546 (char *) "self", NULL
9547 };
9548
9549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
9550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9552 {
9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
9554 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
9555
9556 wxPyEndAllowThreads(__tstate);
9557 if (PyErr_Occurred()) SWIG_fail;
9558 }
9559 resultobj = SWIG_FromLong((long)result);
9560 return resultobj;
9561 fail:
9562 return NULL;
9563}
9564
9565
9566static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9567 PyObject *resultobj;
9568 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9569 long result;
9570 PyObject * obj0 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "self", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
9576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
9581
9582 wxPyEndAllowThreads(__tstate);
9583 if (PyErr_Occurred()) SWIG_fail;
9584 }
9585 resultobj = SWIG_FromLong((long)result);
9586 return resultobj;
9587 fail:
9588 return NULL;
9589}
9590
9591
9592static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9593 PyObject *resultobj;
9594 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9595 long arg2 ;
9596 long arg3 ;
9597 PyObject * obj0 = 0 ;
9598 PyObject * obj1 = 0 ;
9599 PyObject * obj2 = 0 ;
9600 char *kwnames[] = {
9601 (char *) "self",(char *) "from",(char *) "to", NULL
9602 };
9603
9604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
9605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9607 arg2 = (long) SWIG_AsLong(obj1);
9608 if (PyErr_Occurred()) SWIG_fail;
9609 arg3 = (long) SWIG_AsLong(obj2);
9610 if (PyErr_Occurred()) SWIG_fail;
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 (arg1)->SetSelection(arg2,arg3);
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 Py_INCREF(Py_None); resultobj = Py_None;
9619 return resultobj;
9620 fail:
9621 return NULL;
9622}
9623
9624
9625static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9628 PyObject * obj0 = 0 ;
9629 char *kwnames[] = {
9630 (char *) "self", NULL
9631 };
9632
9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
9634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 (arg1)->SelectAll();
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 Py_INCREF(Py_None); resultobj = Py_None;
9644 return resultobj;
9645 fail:
9646 return NULL;
9647}
9648
9649
9650static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9653 bool arg2 ;
9654 PyObject * obj0 = 0 ;
9655 PyObject * obj1 = 0 ;
9656 char *kwnames[] = {
9657 (char *) "self",(char *) "editable", NULL
9658 };
9659
9660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
9661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9663 arg2 = (bool) SWIG_AsBool(obj1);
9664 if (PyErr_Occurred()) SWIG_fail;
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 (arg1)->SetEditable(arg2);
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 Py_INCREF(Py_None); resultobj = Py_None;
9673 return resultobj;
9674 fail:
9675 return NULL;
9676}
9677
9678
9679static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj;
9681 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9682 bool arg2 = (bool) True ;
9683 bool result;
9684 PyObject * obj0 = 0 ;
9685 PyObject * obj1 = 0 ;
9686 char *kwnames[] = {
9687 (char *) "self",(char *) "show", NULL
9688 };
9689
9690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
9691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9693 if (obj1) {
9694 arg2 = (bool) SWIG_AsBool(obj1);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 }
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 result = (bool)(arg1)->ShowNativeCaret(arg2);
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 {
9705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9706 }
9707 return resultobj;
9708 fail:
9709 return NULL;
9710}
9711
9712
9713static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9714 PyObject *resultobj;
9715 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9716 bool result;
9717 PyObject * obj0 = 0 ;
9718 char *kwnames[] = {
9719 (char *) "self", NULL
9720 };
9721
9722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
9723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9725 {
9726 PyThreadState* __tstate = wxPyBeginAllowThreads();
9727 result = (bool)(arg1)->HideNativeCaret();
9728
9729 wxPyEndAllowThreads(__tstate);
9730 if (PyErr_Occurred()) SWIG_fail;
9731 }
9732 {
9733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9734 }
9735 return resultobj;
9736 fail:
9737 return NULL;
9738}
9739
9740
9741static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9742 PyObject *resultobj;
9743 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9744 wxString *arg2 = 0 ;
9745 bool temp2 = False ;
9746 PyObject * obj0 = 0 ;
9747 PyObject * obj1 = 0 ;
9748 char *kwnames[] = {
9749 (char *) "self",(char *) "text", NULL
9750 };
9751
9752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9755 {
9756 arg2 = wxString_in_helper(obj1);
9757 if (arg2 == NULL) SWIG_fail;
9758 temp2 = True;
9759 }
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9763
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 Py_INCREF(Py_None); resultobj = Py_None;
9768 {
9769 if (temp2)
9770 delete arg2;
9771 }
9772 return resultobj;
9773 fail:
9774 {
9775 if (temp2)
9776 delete arg2;
9777 }
9778 return NULL;
9779}
9780
9781
9782static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9783 PyObject *resultobj;
9784 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9785 long arg2 ;
9786 long arg3 ;
9787 wxString result;
9788 PyObject * obj0 = 0 ;
9789 PyObject * obj1 = 0 ;
9790 PyObject * obj2 = 0 ;
9791 char *kwnames[] = {
9792 (char *) "self",(char *) "from",(char *) "to", NULL
9793 };
9794
9795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextCtrl,
9797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9798 arg2 = (long) SWIG_AsLong(obj1);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 arg3 = (long) SWIG_AsLong(obj2);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 {
9803 PyThreadState* __tstate = wxPyBeginAllowThreads();
9804 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9805
9806 wxPyEndAllowThreads(__tstate);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 }
9809 {
9810#if wxUSE_UNICODE
9811 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9812#else
9813 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9814#endif
9815 }
9816 return resultobj;
9817 fail:
9818 return NULL;
9819}
9820
9821
f20a2e1f
RD
9822static PyObject *_wrap_TextCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
9823 PyObject *resultobj;
9824 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
9825 wxVisualAttributes result;
9826 PyObject * obj0 = 0 ;
9827 char *kwnames[] = {
9828 (char *) "variant", NULL
9829 };
9830
9831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
9832 if (obj0) {
9833 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
9834 if (PyErr_Occurred()) SWIG_fail;
9835 }
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
9838 result = wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
9839
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
9843 {
9844 wxVisualAttributes * resultptr;
9845 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
9846 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
9847 }
9848 return resultobj;
9849 fail:
9850 return NULL;
9851}
9852
9853
d55e5bfc
RD
9854static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9855 PyObject *obj;
9856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9857 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9858 Py_INCREF(obj);
9859 return Py_BuildValue((char *)"");
9860}
9861static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj;
9863 int arg1 ;
9864 wxMouseEvent *arg2 = 0 ;
9865 long arg3 ;
9866 long arg4 ;
9867 wxTextUrlEvent *result;
9868 PyObject * obj0 = 0 ;
9869 PyObject * obj1 = 0 ;
9870 PyObject * obj2 = 0 ;
9871 PyObject * obj3 = 0 ;
9872 char *kwnames[] = {
9873 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9874 };
9875
9876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9877 arg1 = (int) SWIG_AsInt(obj0);
9878 if (PyErr_Occurred()) SWIG_fail;
9879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMouseEvent,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1)
9881 SWIG_fail;
9882 if (arg2 == NULL) {
9883 PyErr_SetString(PyExc_TypeError,"null reference");
9884 SWIG_fail;
9885 }
9886 arg3 = (long) SWIG_AsLong(obj2);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 arg4 = (long) SWIG_AsLong(obj3);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 {
9891 PyThreadState* __tstate = wxPyBeginAllowThreads();
9892 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9893
9894 wxPyEndAllowThreads(__tstate);
9895 if (PyErr_Occurred()) SWIG_fail;
9896 }
9897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTextUrlEvent, 1);
9898 return resultobj;
9899 fail:
9900 return NULL;
9901}
9902
9903
9904static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9905 PyObject *resultobj;
9906 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9907 wxMouseEvent *result;
9908 PyObject * obj0 = 0 ;
9909 char *kwnames[] = {
9910 (char *) "self", NULL
9911 };
9912
9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 {
9919 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9920 result = (wxMouseEvent *) &_result_ref;
9921 }
9922
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
9926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseEvent, 0);
9927 return resultobj;
9928 fail:
9929 return NULL;
9930}
9931
9932
9933static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj;
9935 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9936 long result;
9937 PyObject * obj0 = 0 ;
9938 char *kwnames[] = {
9939 (char *) "self", NULL
9940 };
9941
9942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9945 {
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9948
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
9952 resultobj = SWIG_FromLong((long)result);
9953 return resultobj;
9954 fail:
9955 return NULL;
9956}
9957
9958
9959static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9960 PyObject *resultobj;
9961 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9962 long result;
9963 PyObject * obj0 = 0 ;
9964 char *kwnames[] = {
9965 (char *) "self", NULL
9966 };
9967
9968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTextUrlEvent,
9970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9974
9975 wxPyEndAllowThreads(__tstate);
9976 if (PyErr_Occurred()) SWIG_fail;
9977 }
9978 resultobj = SWIG_FromLong((long)result);
9979 return resultobj;
9980 fail:
9981 return NULL;
9982}
9983
9984
9985static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9986 PyObject *obj;
9987 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9988 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9989 Py_INCREF(obj);
9990 return Py_BuildValue((char *)"");
9991}
9992static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
9993 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9994 return 1;
9995}
9996
9997
9998static PyObject *_wrap_ScrollBarNameStr_get() {
9999 PyObject *pyobj;
10000
10001 {
10002#if wxUSE_UNICODE
10003 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10004#else
10005 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
10006#endif
10007 }
10008 return pyobj;
10009}
10010
10011
10012static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10013 PyObject *resultobj;
10014 wxWindow *arg1 = (wxWindow *) 0 ;
10015 int arg2 = (int) -1 ;
10016 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10017 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10018 wxSize const &arg4_defvalue = wxDefaultSize ;
10019 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10020 long arg5 = (long) wxSB_HORIZONTAL ;
10021 wxValidator const &arg6_defvalue = wxDefaultValidator ;
10022 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
10023 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
10024 wxString *arg7 = (wxString *) &arg7_defvalue ;
10025 wxScrollBar *result;
10026 wxPoint temp3 ;
10027 wxSize temp4 ;
10028 bool temp7 = False ;
10029 PyObject * obj0 = 0 ;
10030 PyObject * obj1 = 0 ;
10031 PyObject * obj2 = 0 ;
10032 PyObject * obj3 = 0 ;
10033 PyObject * obj4 = 0 ;
10034 PyObject * obj5 = 0 ;
10035 PyObject * obj6 = 0 ;
10036 char *kwnames[] = {
10037 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10038 };
10039
10040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10043 if (obj1) {
10044 arg2 = (int) SWIG_AsInt(obj1);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
10047 if (obj2) {
10048 {
10049 arg3 = &temp3;
10050 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10051 }
10052 }
10053 if (obj3) {
10054 {
10055 arg4 = &temp4;
10056 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10057 }
10058 }
10059 if (obj4) {
10060 arg5 = (long) SWIG_AsLong(obj4);
10061 if (PyErr_Occurred()) SWIG_fail;
10062 }
10063 if (obj5) {
10064 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
10065 SWIG_POINTER_EXCEPTION | 0)) == -1)
10066 SWIG_fail;
10067 if (arg6 == NULL) {
10068 PyErr_SetString(PyExc_TypeError,"null reference");
10069 SWIG_fail;
10070 }
10071 }
10072 if (obj6) {
10073 {
10074 arg7 = wxString_in_helper(obj6);
10075 if (arg7 == NULL) SWIG_fail;
10076 temp7 = True;
10077 }
10078 }
10079 {
10080 PyThreadState* __tstate = wxPyBeginAllowThreads();
10081 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
10082
10083 wxPyEndAllowThreads(__tstate);
10084 if (PyErr_Occurred()) SWIG_fail;
10085 }
10086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10087 {
10088 if (temp7)
10089 delete arg7;
10090 }
10091 return resultobj;
10092 fail:
10093 {
10094 if (temp7)
10095 delete arg7;
10096 }
10097 return NULL;
10098}
10099
10100
10101static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
10102 PyObject *resultobj;
10103 wxScrollBar *result;
10104 char *kwnames[] = {
10105 NULL
10106 };
10107
10108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
10109 {
10110 PyThreadState* __tstate = wxPyBeginAllowThreads();
10111 result = (wxScrollBar *)new wxScrollBar();
10112
10113 wxPyEndAllowThreads(__tstate);
10114 if (PyErr_Occurred()) SWIG_fail;
10115 }
10116 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 1);
10117 return resultobj;
10118 fail:
10119 return NULL;
10120}
10121
10122
10123static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10124 PyObject *resultobj;
10125 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10126 wxWindow *arg2 = (wxWindow *) 0 ;
10127 int arg3 = (int) -1 ;
10128 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10129 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10130 wxSize const &arg5_defvalue = wxDefaultSize ;
10131 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10132 long arg6 = (long) wxSB_HORIZONTAL ;
10133 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10134 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10135 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
10136 wxString *arg8 = (wxString *) &arg8_defvalue ;
10137 bool result;
10138 wxPoint temp4 ;
10139 wxSize temp5 ;
10140 bool temp8 = False ;
10141 PyObject * obj0 = 0 ;
10142 PyObject * obj1 = 0 ;
10143 PyObject * obj2 = 0 ;
10144 PyObject * obj3 = 0 ;
10145 PyObject * obj4 = 0 ;
10146 PyObject * obj5 = 0 ;
10147 PyObject * obj6 = 0 ;
10148 PyObject * obj7 = 0 ;
10149 char *kwnames[] = {
10150 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10151 };
10152
10153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
10154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10158 if (obj2) {
10159 arg3 = (int) SWIG_AsInt(obj2);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 if (obj3) {
10163 {
10164 arg4 = &temp4;
10165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10166 }
10167 }
10168 if (obj4) {
10169 {
10170 arg5 = &temp5;
10171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10172 }
10173 }
10174 if (obj5) {
10175 arg6 = (long) SWIG_AsLong(obj5);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 if (obj6) {
10179 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
10180 SWIG_POINTER_EXCEPTION | 0)) == -1)
10181 SWIG_fail;
10182 if (arg7 == NULL) {
10183 PyErr_SetString(PyExc_TypeError,"null reference");
10184 SWIG_fail;
10185 }
10186 }
10187 if (obj7) {
10188 {
10189 arg8 = wxString_in_helper(obj7);
10190 if (arg8 == NULL) SWIG_fail;
10191 temp8 = True;
10192 }
10193 }
10194 {
10195 PyThreadState* __tstate = wxPyBeginAllowThreads();
10196 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10197
10198 wxPyEndAllowThreads(__tstate);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 {
10202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10203 }
10204 {
10205 if (temp8)
10206 delete arg8;
10207 }
10208 return resultobj;
10209 fail:
10210 {
10211 if (temp8)
10212 delete arg8;
10213 }
10214 return NULL;
10215}
10216
10217
10218static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10219 PyObject *resultobj;
10220 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10221 int result;
10222 PyObject * obj0 = 0 ;
10223 char *kwnames[] = {
10224 (char *) "self", NULL
10225 };
10226
10227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
10228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10230 {
10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
10232 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
10233
10234 wxPyEndAllowThreads(__tstate);
10235 if (PyErr_Occurred()) SWIG_fail;
10236 }
10237 resultobj = SWIG_FromInt((int)result);
10238 return resultobj;
10239 fail:
10240 return NULL;
10241}
10242
10243
10244static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj;
10246 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10247 int result;
10248 PyObject * obj0 = 0 ;
10249 char *kwnames[] = {
10250 (char *) "self", NULL
10251 };
10252
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
10254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10256 {
10257 PyThreadState* __tstate = wxPyBeginAllowThreads();
10258 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
10259
10260 wxPyEndAllowThreads(__tstate);
10261 if (PyErr_Occurred()) SWIG_fail;
10262 }
10263 resultobj = SWIG_FromInt((int)result);
10264 return resultobj;
10265 fail:
10266 return NULL;
10267}
10268
10269
10270static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10271 PyObject *resultobj;
10272 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10273 int result;
10274 PyObject * obj0 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
10280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10282 {
10283 PyThreadState* __tstate = wxPyBeginAllowThreads();
10284 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
10285
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 resultobj = SWIG_FromInt((int)result);
10290 return resultobj;
10291 fail:
10292 return NULL;
10293}
10294
10295
10296static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10297 PyObject *resultobj;
10298 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10299 int result;
10300 PyObject * obj0 = 0 ;
10301 char *kwnames[] = {
10302 (char *) "self", NULL
10303 };
10304
10305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
10306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10308 {
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 result = (int)((wxScrollBar const *)arg1)->GetRange();
10311
10312 wxPyEndAllowThreads(__tstate);
10313 if (PyErr_Occurred()) SWIG_fail;
10314 }
10315 resultobj = SWIG_FromInt((int)result);
10316 return resultobj;
10317 fail:
10318 return NULL;
10319}
10320
10321
10322static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj;
10324 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10325 bool result;
10326 PyObject * obj0 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "self", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
10332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 {
10342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10343 }
10344 return resultobj;
10345 fail:
10346 return NULL;
10347}
10348
10349
10350static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj;
10352 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10353 int arg2 ;
10354 PyObject * obj0 = 0 ;
10355 PyObject * obj1 = 0 ;
10356 char *kwnames[] = {
10357 (char *) "self",(char *) "viewStart", NULL
10358 };
10359
10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
10361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10363 arg2 = (int) SWIG_AsInt(obj1);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 (arg1)->SetThumbPosition(arg2);
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 Py_INCREF(Py_None); resultobj = Py_None;
10373 return resultobj;
10374 fail:
10375 return NULL;
10376}
10377
10378
10379static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
10380 PyObject *resultobj;
10381 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
10382 int arg2 ;
10383 int arg3 ;
10384 int arg4 ;
10385 int arg5 ;
10386 bool arg6 = (bool) True ;
10387 PyObject * obj0 = 0 ;
10388 PyObject * obj1 = 0 ;
10389 PyObject * obj2 = 0 ;
10390 PyObject * obj3 = 0 ;
10391 PyObject * obj4 = 0 ;
10392 PyObject * obj5 = 0 ;
10393 char *kwnames[] = {
10394 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10395 };
10396
10397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollBar,
10399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10400 arg2 = (int) SWIG_AsInt(obj1);
10401 if (PyErr_Occurred()) SWIG_fail;
10402 arg3 = (int) SWIG_AsInt(obj2);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 arg4 = (int) SWIG_AsInt(obj3);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 arg5 = (int) SWIG_AsInt(obj4);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 if (obj5) {
10409 arg6 = (bool) SWIG_AsBool(obj5);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 {
10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
10414 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
10415
10416 wxPyEndAllowThreads(__tstate);
10417 if (PyErr_Occurred()) SWIG_fail;
10418 }
10419 Py_INCREF(Py_None); resultobj = Py_None;
10420 return resultobj;
10421 fail:
10422 return NULL;
10423}
10424
10425
f20a2e1f
RD
10426static PyObject *_wrap_ScrollBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
10427 PyObject *resultobj;
10428 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10429 wxVisualAttributes result;
10430 PyObject * obj0 = 0 ;
10431 char *kwnames[] = {
10432 (char *) "variant", NULL
10433 };
10434
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10436 if (obj0) {
10437 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 result = wxScrollBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
10443
10444 wxPyEndAllowThreads(__tstate);
10445 if (PyErr_Occurred()) SWIG_fail;
10446 }
10447 {
10448 wxVisualAttributes * resultptr;
10449 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10450 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
10451 }
10452 return resultobj;
10453 fail:
10454 return NULL;
10455}
10456
10457
d55e5bfc
RD
10458static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
10459 PyObject *obj;
10460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10461 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
10462 Py_INCREF(obj);
10463 return Py_BuildValue((char *)"");
10464}
10465static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
10466 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
10467 return 1;
10468}
10469
10470
10471static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
10472 PyObject *pyobj;
10473
10474 {
10475#if wxUSE_UNICODE
10476 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10477#else
10478 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
10479#endif
10480 }
10481 return pyobj;
10482}
10483
10484
10485static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
10486 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
10487 return 1;
10488}
10489
10490
10491static PyObject *_wrap_SpinCtrlNameStr_get() {
10492 PyObject *pyobj;
10493
10494 {
10495#if wxUSE_UNICODE
10496 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10497#else
10498 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
10499#endif
10500 }
10501 return pyobj;
10502}
10503
10504
10505static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj;
10507 wxWindow *arg1 = (wxWindow *) 0 ;
10508 int arg2 = (int) -1 ;
10509 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10510 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10511 wxSize const &arg4_defvalue = wxDefaultSize ;
10512 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10513 long arg5 = (long) wxSP_HORIZONTAL ;
10514 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
10515 wxString *arg6 = (wxString *) &arg6_defvalue ;
10516 wxSpinButton *result;
10517 wxPoint temp3 ;
10518 wxSize temp4 ;
10519 bool temp6 = False ;
10520 PyObject * obj0 = 0 ;
10521 PyObject * obj1 = 0 ;
10522 PyObject * obj2 = 0 ;
10523 PyObject * obj3 = 0 ;
10524 PyObject * obj4 = 0 ;
10525 PyObject * obj5 = 0 ;
10526 char *kwnames[] = {
10527 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10528 };
10529
10530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
10531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10533 if (obj1) {
10534 arg2 = (int) SWIG_AsInt(obj1);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 if (obj2) {
10538 {
10539 arg3 = &temp3;
10540 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10541 }
10542 }
10543 if (obj3) {
10544 {
10545 arg4 = &temp4;
10546 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10547 }
10548 }
10549 if (obj4) {
10550 arg5 = (long) SWIG_AsLong(obj4);
10551 if (PyErr_Occurred()) SWIG_fail;
10552 }
10553 if (obj5) {
10554 {
10555 arg6 = wxString_in_helper(obj5);
10556 if (arg6 == NULL) SWIG_fail;
10557 temp6 = True;
10558 }
10559 }
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10568 {
10569 if (temp6)
10570 delete arg6;
10571 }
10572 return resultobj;
10573 fail:
10574 {
10575 if (temp6)
10576 delete arg6;
10577 }
10578 return NULL;
10579}
10580
10581
10582static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10583 PyObject *resultobj;
10584 wxSpinButton *result;
10585 char *kwnames[] = {
10586 NULL
10587 };
10588
10589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = (wxSpinButton *)new wxSpinButton();
10593
10594 wxPyEndAllowThreads(__tstate);
10595 if (PyErr_Occurred()) SWIG_fail;
10596 }
10597 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinButton, 1);
10598 return resultobj;
10599 fail:
10600 return NULL;
10601}
10602
10603
10604static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10605 PyObject *resultobj;
10606 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10607 wxWindow *arg2 = (wxWindow *) 0 ;
10608 int arg3 = (int) -1 ;
10609 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10610 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10611 wxSize const &arg5_defvalue = wxDefaultSize ;
10612 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10613 long arg6 = (long) wxSP_HORIZONTAL ;
10614 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
10615 wxString *arg7 = (wxString *) &arg7_defvalue ;
10616 bool result;
10617 wxPoint temp4 ;
10618 wxSize temp5 ;
10619 bool temp7 = False ;
10620 PyObject * obj0 = 0 ;
10621 PyObject * obj1 = 0 ;
10622 PyObject * obj2 = 0 ;
10623 PyObject * obj3 = 0 ;
10624 PyObject * obj4 = 0 ;
10625 PyObject * obj5 = 0 ;
10626 PyObject * obj6 = 0 ;
10627 char *kwnames[] = {
10628 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10629 };
10630
10631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
10635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10636 if (obj2) {
10637 arg3 = (int) SWIG_AsInt(obj2);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 if (obj3) {
10641 {
10642 arg4 = &temp4;
10643 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10644 }
10645 }
10646 if (obj4) {
10647 {
10648 arg5 = &temp5;
10649 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10650 }
10651 }
10652 if (obj5) {
10653 arg6 = (long) SWIG_AsLong(obj5);
10654 if (PyErr_Occurred()) SWIG_fail;
10655 }
10656 if (obj6) {
10657 {
10658 arg7 = wxString_in_helper(obj6);
10659 if (arg7 == NULL) SWIG_fail;
10660 temp7 = True;
10661 }
10662 }
10663 {
10664 PyThreadState* __tstate = wxPyBeginAllowThreads();
10665 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10666
10667 wxPyEndAllowThreads(__tstate);
10668 if (PyErr_Occurred()) SWIG_fail;
10669 }
10670 {
10671 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10672 }
10673 {
10674 if (temp7)
10675 delete arg7;
10676 }
10677 return resultobj;
10678 fail:
10679 {
10680 if (temp7)
10681 delete arg7;
10682 }
10683 return NULL;
10684}
10685
10686
10687static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10690 int result;
10691 PyObject * obj0 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
10697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 result = (int)((wxSpinButton const *)arg1)->GetValue();
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 resultobj = SWIG_FromInt((int)result);
10707 return resultobj;
10708 fail:
10709 return NULL;
10710}
10711
10712
10713static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10714 PyObject *resultobj;
10715 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10716 int result;
10717 PyObject * obj0 = 0 ;
10718 char *kwnames[] = {
10719 (char *) "self", NULL
10720 };
10721
10722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
10723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10725 {
10726 PyThreadState* __tstate = wxPyBeginAllowThreads();
10727 result = (int)((wxSpinButton const *)arg1)->GetMin();
10728
10729 wxPyEndAllowThreads(__tstate);
10730 if (PyErr_Occurred()) SWIG_fail;
10731 }
10732 resultobj = SWIG_FromInt((int)result);
10733 return resultobj;
10734 fail:
10735 return NULL;
10736}
10737
10738
10739static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10740 PyObject *resultobj;
10741 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10742 int result;
10743 PyObject * obj0 = 0 ;
10744 char *kwnames[] = {
10745 (char *) "self", NULL
10746 };
10747
10748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
10749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 result = (int)((wxSpinButton const *)arg1)->GetMax();
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 resultobj = SWIG_FromInt((int)result);
10759 return resultobj;
10760 fail:
10761 return NULL;
10762}
10763
10764
10765static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10766 PyObject *resultobj;
10767 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10768 int arg2 ;
10769 PyObject * obj0 = 0 ;
10770 PyObject * obj1 = 0 ;
10771 char *kwnames[] = {
10772 (char *) "self",(char *) "val", NULL
10773 };
10774
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10778 arg2 = (int) SWIG_AsInt(obj1);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 (arg1)->SetValue(arg2);
10783
10784 wxPyEndAllowThreads(__tstate);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 }
10787 Py_INCREF(Py_None); resultobj = Py_None;
10788 return resultobj;
10789 fail:
10790 return NULL;
10791}
10792
10793
10794static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10795 PyObject *resultobj;
10796 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10797 int arg2 ;
10798 PyObject * obj0 = 0 ;
10799 PyObject * obj1 = 0 ;
10800 char *kwnames[] = {
10801 (char *) "self",(char *) "minVal", NULL
10802 };
10803
10804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10807 arg2 = (int) SWIG_AsInt(obj1);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 (arg1)->SetMin(arg2);
10812
10813 wxPyEndAllowThreads(__tstate);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 Py_INCREF(Py_None); resultobj = Py_None;
10817 return resultobj;
10818 fail:
10819 return NULL;
10820}
10821
10822
10823static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10824 PyObject *resultobj;
10825 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10826 int arg2 ;
10827 PyObject * obj0 = 0 ;
10828 PyObject * obj1 = 0 ;
10829 char *kwnames[] = {
10830 (char *) "self",(char *) "maxVal", NULL
10831 };
10832
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10836 arg2 = (int) SWIG_AsInt(obj1);
10837 if (PyErr_Occurred()) SWIG_fail;
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 (arg1)->SetMax(arg2);
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 Py_INCREF(Py_None); resultobj = Py_None;
10846 return resultobj;
10847 fail:
10848 return NULL;
10849}
10850
10851
10852static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10853 PyObject *resultobj;
10854 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10855 int arg2 ;
10856 int arg3 ;
10857 PyObject * obj0 = 0 ;
10858 PyObject * obj1 = 0 ;
10859 PyObject * obj2 = 0 ;
10860 char *kwnames[] = {
10861 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10862 };
10863
10864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10867 arg2 = (int) SWIG_AsInt(obj1);
10868 if (PyErr_Occurred()) SWIG_fail;
10869 arg3 = (int) SWIG_AsInt(obj2);
10870 if (PyErr_Occurred()) SWIG_fail;
10871 {
10872 PyThreadState* __tstate = wxPyBeginAllowThreads();
10873 (arg1)->SetRange(arg2,arg3);
10874
10875 wxPyEndAllowThreads(__tstate);
10876 if (PyErr_Occurred()) SWIG_fail;
10877 }
f20a2e1f
RD
10878 Py_INCREF(Py_None); resultobj = Py_None;
10879 return resultobj;
10880 fail:
10881 return NULL;
10882}
10883
10884
10885static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10886 PyObject *resultobj;
10887 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10888 bool result;
10889 PyObject * obj0 = 0 ;
10890 char *kwnames[] = {
10891 (char *) "self", NULL
10892 };
10893
10894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinButton,
10896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10897 {
10898 PyThreadState* __tstate = wxPyBeginAllowThreads();
10899 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10900
10901 wxPyEndAllowThreads(__tstate);
10902 if (PyErr_Occurred()) SWIG_fail;
10903 }
10904 {
10905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10906 }
d55e5bfc
RD
10907 return resultobj;
10908 fail:
10909 return NULL;
10910}
10911
10912
f20a2e1f 10913static PyObject *_wrap_SpinButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
d55e5bfc 10914 PyObject *resultobj;
f20a2e1f
RD
10915 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
10916 wxVisualAttributes result;
d55e5bfc
RD
10917 PyObject * obj0 = 0 ;
10918 char *kwnames[] = {
f20a2e1f 10919 (char *) "variant", NULL
d55e5bfc
RD
10920 };
10921
f20a2e1f
RD
10922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
10923 if (obj0) {
10924 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
d55e5bfc
RD
10927 {
10928 PyThreadState* __tstate = wxPyBeginAllowThreads();
f20a2e1f 10929 result = wxSpinButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
d55e5bfc
RD
10930
10931 wxPyEndAllowThreads(__tstate);
10932 if (PyErr_Occurred()) SWIG_fail;
10933 }
10934 {
f20a2e1f
RD
10935 wxVisualAttributes * resultptr;
10936 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
10937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
d55e5bfc
RD
10938 }
10939 return resultobj;
10940 fail:
10941 return NULL;
10942}
10943
10944
10945static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10946 PyObject *obj;
10947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10948 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10949 Py_INCREF(obj);
10950 return Py_BuildValue((char *)"");
10951}
10952static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10953 PyObject *resultobj;
10954 wxWindow *arg1 = (wxWindow *) 0 ;
10955 int arg2 = (int) -1 ;
10956 wxString const &arg3_defvalue = wxPyEmptyString ;
10957 wxString *arg3 = (wxString *) &arg3_defvalue ;
10958 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10959 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10960 wxSize const &arg5_defvalue = wxDefaultSize ;
10961 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10962 long arg6 = (long) wxSP_ARROW_KEYS ;
10963 int arg7 = (int) 0 ;
10964 int arg8 = (int) 100 ;
10965 int arg9 = (int) 0 ;
10966 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10967 wxString *arg10 = (wxString *) &arg10_defvalue ;
10968 wxSpinCtrl *result;
10969 bool temp3 = False ;
10970 wxPoint temp4 ;
10971 wxSize temp5 ;
10972 bool temp10 = False ;
10973 PyObject * obj0 = 0 ;
10974 PyObject * obj1 = 0 ;
10975 PyObject * obj2 = 0 ;
10976 PyObject * obj3 = 0 ;
10977 PyObject * obj4 = 0 ;
10978 PyObject * obj5 = 0 ;
10979 PyObject * obj6 = 0 ;
10980 PyObject * obj7 = 0 ;
10981 PyObject * obj8 = 0 ;
10982 PyObject * obj9 = 0 ;
10983 char *kwnames[] = {
10984 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10985 };
10986
10987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
10989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10990 if (obj1) {
10991 arg2 = (int) SWIG_AsInt(obj1);
10992 if (PyErr_Occurred()) SWIG_fail;
10993 }
10994 if (obj2) {
10995 {
10996 arg3 = wxString_in_helper(obj2);
10997 if (arg3 == NULL) SWIG_fail;
10998 temp3 = True;
10999 }
11000 }
11001 if (obj3) {
11002 {
11003 arg4 = &temp4;
11004 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11005 }
11006 }
11007 if (obj4) {
11008 {
11009 arg5 = &temp5;
11010 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11011 }
11012 }
11013 if (obj5) {
11014 arg6 = (long) SWIG_AsLong(obj5);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 if (obj6) {
11018 arg7 = (int) SWIG_AsInt(obj6);
11019 if (PyErr_Occurred()) SWIG_fail;
11020 }
11021 if (obj7) {
11022 arg8 = (int) SWIG_AsInt(obj7);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 }
11025 if (obj8) {
11026 arg9 = (int) SWIG_AsInt(obj8);
11027 if (PyErr_Occurred()) SWIG_fail;
11028 }
11029 if (obj9) {
11030 {
11031 arg10 = wxString_in_helper(obj9);
11032 if (arg10 == NULL) SWIG_fail;
11033 temp10 = True;
11034 }
11035 }
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11044 {
11045 if (temp3)
11046 delete arg3;
11047 }
11048 {
11049 if (temp10)
11050 delete arg10;
11051 }
11052 return resultobj;
11053 fail:
11054 {
11055 if (temp3)
11056 delete arg3;
11057 }
11058 {
11059 if (temp10)
11060 delete arg10;
11061 }
11062 return NULL;
11063}
11064
11065
11066static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxSpinCtrl *result;
11069 char *kwnames[] = {
11070 NULL
11071 };
11072
11073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
11074 {
11075 PyThreadState* __tstate = wxPyBeginAllowThreads();
11076 result = (wxSpinCtrl *)new wxSpinCtrl();
11077
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinCtrl, 1);
11082 return resultobj;
11083 fail:
11084 return NULL;
11085}
11086
11087
11088static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11089 PyObject *resultobj;
11090 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11091 wxWindow *arg2 = (wxWindow *) 0 ;
11092 int arg3 = (int) -1 ;
11093 wxString const &arg4_defvalue = wxPyEmptyString ;
11094 wxString *arg4 = (wxString *) &arg4_defvalue ;
11095 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11096 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11097 wxSize const &arg6_defvalue = wxDefaultSize ;
11098 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11099 long arg7 = (long) wxSP_ARROW_KEYS ;
11100 int arg8 = (int) 0 ;
11101 int arg9 = (int) 100 ;
11102 int arg10 = (int) 0 ;
11103 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
11104 wxString *arg11 = (wxString *) &arg11_defvalue ;
11105 bool result;
11106 bool temp4 = False ;
11107 wxPoint temp5 ;
11108 wxSize temp6 ;
11109 bool temp11 = False ;
11110 PyObject * obj0 = 0 ;
11111 PyObject * obj1 = 0 ;
11112 PyObject * obj2 = 0 ;
11113 PyObject * obj3 = 0 ;
11114 PyObject * obj4 = 0 ;
11115 PyObject * obj5 = 0 ;
11116 PyObject * obj6 = 0 ;
11117 PyObject * obj7 = 0 ;
11118 PyObject * obj8 = 0 ;
11119 PyObject * obj9 = 0 ;
11120 PyObject * obj10 = 0 ;
11121 char *kwnames[] = {
11122 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11123 };
11124
11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11128 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11130 if (obj2) {
11131 arg3 = (int) SWIG_AsInt(obj2);
11132 if (PyErr_Occurred()) SWIG_fail;
11133 }
11134 if (obj3) {
11135 {
11136 arg4 = wxString_in_helper(obj3);
11137 if (arg4 == NULL) SWIG_fail;
11138 temp4 = True;
11139 }
11140 }
11141 if (obj4) {
11142 {
11143 arg5 = &temp5;
11144 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11145 }
11146 }
11147 if (obj5) {
11148 {
11149 arg6 = &temp6;
11150 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11151 }
11152 }
11153 if (obj6) {
11154 arg7 = (long) SWIG_AsLong(obj6);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 if (obj7) {
11158 arg8 = (int) SWIG_AsInt(obj7);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 if (obj8) {
11162 arg9 = (int) SWIG_AsInt(obj8);
11163 if (PyErr_Occurred()) SWIG_fail;
11164 }
11165 if (obj9) {
11166 arg10 = (int) SWIG_AsInt(obj9);
11167 if (PyErr_Occurred()) SWIG_fail;
11168 }
11169 if (obj10) {
11170 {
11171 arg11 = wxString_in_helper(obj10);
11172 if (arg11 == NULL) SWIG_fail;
11173 temp11 = True;
11174 }
11175 }
11176 {
11177 PyThreadState* __tstate = wxPyBeginAllowThreads();
11178 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
11179
11180 wxPyEndAllowThreads(__tstate);
11181 if (PyErr_Occurred()) SWIG_fail;
11182 }
11183 {
11184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11185 }
11186 {
11187 if (temp4)
11188 delete arg4;
11189 }
11190 {
11191 if (temp11)
11192 delete arg11;
11193 }
11194 return resultobj;
11195 fail:
11196 {
11197 if (temp4)
11198 delete arg4;
11199 }
11200 {
11201 if (temp11)
11202 delete arg11;
11203 }
11204 return NULL;
11205}
11206
11207
11208static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11209 PyObject *resultobj;
11210 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11211 int result;
11212 PyObject * obj0 = 0 ;
11213 char *kwnames[] = {
11214 (char *) "self", NULL
11215 };
11216
11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
11218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
11223
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
11227 resultobj = SWIG_FromInt((int)result);
11228 return resultobj;
11229 fail:
11230 return NULL;
11231}
11232
11233
11234static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11235 PyObject *resultobj;
11236 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11237 int arg2 ;
11238 PyObject * obj0 = 0 ;
11239 PyObject * obj1 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "self",(char *) "value", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
11245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11247 arg2 = (int) SWIG_AsInt(obj1);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 (arg1)->SetValue(arg2);
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
11256 Py_INCREF(Py_None); resultobj = Py_None;
11257 return resultobj;
11258 fail:
11259 return NULL;
11260}
11261
11262
11263static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
11264 PyObject *resultobj;
11265 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11266 wxString *arg2 = 0 ;
11267 bool temp2 = False ;
11268 PyObject * obj0 = 0 ;
11269 PyObject * obj1 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self",(char *) "text", NULL
11272 };
11273
11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
11275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11277 {
11278 arg2 = wxString_in_helper(obj1);
11279 if (arg2 == NULL) SWIG_fail;
11280 temp2 = True;
11281 }
11282 {
11283 PyThreadState* __tstate = wxPyBeginAllowThreads();
11284 (arg1)->SetValue((wxString const &)*arg2);
11285
11286 wxPyEndAllowThreads(__tstate);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 }
11289 Py_INCREF(Py_None); resultobj = Py_None;
11290 {
11291 if (temp2)
11292 delete arg2;
11293 }
11294 return resultobj;
11295 fail:
11296 {
11297 if (temp2)
11298 delete arg2;
11299 }
11300 return NULL;
11301}
11302
11303
11304static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11305 PyObject *resultobj;
11306 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11307 int arg2 ;
11308 int arg3 ;
11309 PyObject * obj0 = 0 ;
11310 PyObject * obj1 = 0 ;
11311 PyObject * obj2 = 0 ;
11312 char *kwnames[] = {
11313 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11314 };
11315
11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
11317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11319 arg2 = (int) SWIG_AsInt(obj1);
11320 if (PyErr_Occurred()) SWIG_fail;
11321 arg3 = (int) SWIG_AsInt(obj2);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 {
11324 PyThreadState* __tstate = wxPyBeginAllowThreads();
11325 (arg1)->SetRange(arg2,arg3);
11326
11327 wxPyEndAllowThreads(__tstate);
11328 if (PyErr_Occurred()) SWIG_fail;
11329 }
11330 Py_INCREF(Py_None); resultobj = Py_None;
11331 return resultobj;
11332 fail:
11333 return NULL;
11334}
11335
11336
11337static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11338 PyObject *resultobj;
11339 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11340 int result;
11341 PyObject * obj0 = 0 ;
11342 char *kwnames[] = {
11343 (char *) "self", NULL
11344 };
11345
11346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
11347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 resultobj = SWIG_FromInt((int)result);
11357 return resultobj;
11358 fail:
11359 return NULL;
11360}
11361
11362
11363static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11364 PyObject *resultobj;
11365 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11366 int result;
11367 PyObject * obj0 = 0 ;
11368 char *kwnames[] = {
11369 (char *) "self", NULL
11370 };
11371
11372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
11373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11375 {
11376 PyThreadState* __tstate = wxPyBeginAllowThreads();
11377 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
11378
11379 wxPyEndAllowThreads(__tstate);
11380 if (PyErr_Occurred()) SWIG_fail;
11381 }
11382 resultobj = SWIG_FromInt((int)result);
11383 return resultobj;
11384 fail:
11385 return NULL;
11386}
11387
11388
11389static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11390 PyObject *resultobj;
11391 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
11392 long arg2 ;
11393 long arg3 ;
11394 PyObject * obj0 = 0 ;
11395 PyObject * obj1 = 0 ;
11396 PyObject * obj2 = 0 ;
11397 char *kwnames[] = {
11398 (char *) "self",(char *) "from",(char *) "to", NULL
11399 };
11400
11401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
11402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinCtrl,
11403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11404 arg2 = (long) SWIG_AsLong(obj1);
11405 if (PyErr_Occurred()) SWIG_fail;
11406 arg3 = (long) SWIG_AsLong(obj2);
11407 if (PyErr_Occurred()) SWIG_fail;
11408 {
11409 PyThreadState* __tstate = wxPyBeginAllowThreads();
11410 (arg1)->SetSelection(arg2,arg3);
11411
11412 wxPyEndAllowThreads(__tstate);
11413 if (PyErr_Occurred()) SWIG_fail;
11414 }
11415 Py_INCREF(Py_None); resultobj = Py_None;
11416 return resultobj;
11417 fail:
11418 return NULL;
11419}
11420
11421
f20a2e1f
RD
11422static PyObject *_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
11423 PyObject *resultobj;
11424 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
11425 wxVisualAttributes result;
11426 PyObject * obj0 = 0 ;
11427 char *kwnames[] = {
11428 (char *) "variant", NULL
11429 };
11430
11431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
11432 if (obj0) {
11433 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
11436 {
11437 PyThreadState* __tstate = wxPyBeginAllowThreads();
11438 result = wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
11439
11440 wxPyEndAllowThreads(__tstate);
11441 if (PyErr_Occurred()) SWIG_fail;
11442 }
11443 {
11444 wxVisualAttributes * resultptr;
11445 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
11446 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
11447 }
11448 return resultobj;
11449 fail:
11450 return NULL;
11451}
11452
11453
d55e5bfc
RD
11454static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
11455 PyObject *obj;
11456 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11457 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
11458 Py_INCREF(obj);
11459 return Py_BuildValue((char *)"");
11460}
11461static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11462 PyObject *resultobj;
11463 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11464 int arg2 = (int) 0 ;
11465 wxSpinEvent *result;
11466 PyObject * obj0 = 0 ;
11467 PyObject * obj1 = 0 ;
11468 char *kwnames[] = {
11469 (char *) "commandType",(char *) "winid", NULL
11470 };
11471
11472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
11473 if (obj0) {
11474 arg1 = (wxEventType) SWIG_AsInt(obj0);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 if (obj1) {
11478 arg2 = (int) SWIG_AsInt(obj1);
11479 if (PyErr_Occurred()) SWIG_fail;
11480 }
11481 {
11482 PyThreadState* __tstate = wxPyBeginAllowThreads();
11483 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
11484
11485 wxPyEndAllowThreads(__tstate);
11486 if (PyErr_Occurred()) SWIG_fail;
11487 }
11488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSpinEvent, 1);
11489 return resultobj;
11490 fail:
11491 return NULL;
11492}
11493
11494
11495static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11496 PyObject *resultobj;
11497 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11498 int result;
11499 PyObject * obj0 = 0 ;
11500 char *kwnames[] = {
11501 (char *) "self", NULL
11502 };
11503
11504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
11505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11507 {
11508 PyThreadState* __tstate = wxPyBeginAllowThreads();
11509 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
11510
11511 wxPyEndAllowThreads(__tstate);
11512 if (PyErr_Occurred()) SWIG_fail;
11513 }
11514 resultobj = SWIG_FromInt((int)result);
11515 return resultobj;
11516 fail:
11517 return NULL;
11518}
11519
11520
11521static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
11522 PyObject *resultobj;
11523 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
11524 int arg2 ;
11525 PyObject * obj0 = 0 ;
11526 PyObject * obj1 = 0 ;
11527 char *kwnames[] = {
11528 (char *) "self",(char *) "pos", NULL
11529 };
11530
11531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
11532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSpinEvent,
11533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11534 arg2 = (int) SWIG_AsInt(obj1);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 {
11537 PyThreadState* __tstate = wxPyBeginAllowThreads();
11538 (arg1)->SetPosition(arg2);
11539
11540 wxPyEndAllowThreads(__tstate);
11541 if (PyErr_Occurred()) SWIG_fail;
11542 }
11543 Py_INCREF(Py_None); resultobj = Py_None;
11544 return resultobj;
11545 fail:
11546 return NULL;
11547}
11548
11549
11550static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
11551 PyObject *obj;
11552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11553 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
11554 Py_INCREF(obj);
11555 return Py_BuildValue((char *)"");
11556}
11557static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
11558 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
11559 return 1;
11560}
11561
11562
11563static PyObject *_wrap_RadioBoxNameStr_get() {
11564 PyObject *pyobj;
11565
11566 {
11567#if wxUSE_UNICODE
11568 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11569#else
11570 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
11571#endif
11572 }
11573 return pyobj;
11574}
11575
11576
11577static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
11578 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
11579 return 1;
11580}
11581
11582
11583static PyObject *_wrap_RadioButtonNameStr_get() {
11584 PyObject *pyobj;
11585
11586 {
11587#if wxUSE_UNICODE
11588 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11589#else
11590 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
11591#endif
11592 }
11593 return pyobj;
11594}
11595
11596
11597static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxWindow *arg1 = (wxWindow *) 0 ;
11600 int arg2 ;
11601 wxString *arg3 = 0 ;
11602 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11603 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11604 wxSize const &arg5_defvalue = wxDefaultSize ;
11605 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11606 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
11607 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
11608 int arg7 = (int) 0 ;
11609 long arg8 = (long) wxRA_HORIZONTAL ;
11610 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11611 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11612 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
11613 wxString *arg10 = (wxString *) &arg10_defvalue ;
11614 wxRadioBox *result;
11615 bool temp3 = False ;
11616 wxPoint temp4 ;
11617 wxSize temp5 ;
11618 bool temp6 = False ;
11619 bool temp10 = False ;
11620 PyObject * obj0 = 0 ;
11621 PyObject * obj1 = 0 ;
11622 PyObject * obj2 = 0 ;
11623 PyObject * obj3 = 0 ;
11624 PyObject * obj4 = 0 ;
11625 PyObject * obj5 = 0 ;
11626 PyObject * obj6 = 0 ;
11627 PyObject * obj7 = 0 ;
11628 PyObject * obj8 = 0 ;
11629 PyObject * obj9 = 0 ;
11630 char *kwnames[] = {
11631 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11632 };
11633
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
11636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11637 arg2 = (int) SWIG_AsInt(obj1);
11638 if (PyErr_Occurred()) SWIG_fail;
11639 {
11640 arg3 = wxString_in_helper(obj2);
11641 if (arg3 == NULL) SWIG_fail;
11642 temp3 = True;
11643 }
11644 if (obj3) {
11645 {
11646 arg4 = &temp4;
11647 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11648 }
11649 }
11650 if (obj4) {
11651 {
11652 arg5 = &temp5;
11653 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11654 }
11655 }
11656 if (obj5) {
11657 {
11658 if (! PySequence_Check(obj5)) {
11659 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11660 SWIG_fail;
11661 }
11662 arg6 = new wxArrayString;
11663 temp6 = True;
11664 int i, len=PySequence_Length(obj5);
11665 for (i=0; i<len; i++) {
11666 PyObject* item = PySequence_GetItem(obj5, i);
11667#if wxUSE_UNICODE
11668 PyObject* str = PyObject_Unicode(item);
11669#else
11670 PyObject* str = PyObject_Str(item);
11671#endif
11672 if (PyErr_Occurred()) SWIG_fail;
11673 arg6->Add(Py2wxString(str));
11674 Py_DECREF(item);
11675 Py_DECREF(str);
11676 }
11677 }
11678 }
11679 if (obj6) {
11680 arg7 = (int) SWIG_AsInt(obj6);
11681 if (PyErr_Occurred()) SWIG_fail;
11682 }
11683 if (obj7) {
11684 arg8 = (long) SWIG_AsLong(obj7);
11685 if (PyErr_Occurred()) SWIG_fail;
11686 }
11687 if (obj8) {
11688 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
11689 SWIG_POINTER_EXCEPTION | 0)) == -1)
11690 SWIG_fail;
11691 if (arg9 == NULL) {
11692 PyErr_SetString(PyExc_TypeError,"null reference");
11693 SWIG_fail;
11694 }
11695 }
11696 if (obj9) {
11697 {
11698 arg10 = wxString_in_helper(obj9);
11699 if (arg10 == NULL) SWIG_fail;
11700 temp10 = True;
11701 }
11702 }
11703 {
11704 PyThreadState* __tstate = wxPyBeginAllowThreads();
11705 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);
11706
11707 wxPyEndAllowThreads(__tstate);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11711 {
11712 if (temp3)
11713 delete arg3;
11714 }
11715 {
11716 if (temp6) delete arg6;
11717 }
11718 {
11719 if (temp10)
11720 delete arg10;
11721 }
11722 return resultobj;
11723 fail:
11724 {
11725 if (temp3)
11726 delete arg3;
11727 }
11728 {
11729 if (temp6) delete arg6;
11730 }
11731 {
11732 if (temp10)
11733 delete arg10;
11734 }
11735 return NULL;
11736}
11737
11738
11739static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
11740 PyObject *resultobj;
11741 wxRadioBox *result;
11742 char *kwnames[] = {
11743 NULL
11744 };
11745
11746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
11747 {
11748 PyThreadState* __tstate = wxPyBeginAllowThreads();
11749 result = (wxRadioBox *)new wxRadioBox();
11750
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
11754 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioBox, 1);
11755 return resultobj;
11756 fail:
11757 return NULL;
11758}
11759
11760
11761static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11762 PyObject *resultobj;
11763 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11764 wxWindow *arg2 = (wxWindow *) 0 ;
11765 int arg3 ;
11766 wxString *arg4 = 0 ;
11767 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11768 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11769 wxSize const &arg6_defvalue = wxDefaultSize ;
11770 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11771 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
11772 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
11773 int arg8 = (int) 0 ;
11774 long arg9 = (long) wxRA_HORIZONTAL ;
11775 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11776 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
11777 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
11778 wxString *arg11 = (wxString *) &arg11_defvalue ;
11779 bool result;
11780 bool temp4 = False ;
11781 wxPoint temp5 ;
11782 wxSize temp6 ;
11783 bool temp7 = False ;
11784 bool temp11 = False ;
11785 PyObject * obj0 = 0 ;
11786 PyObject * obj1 = 0 ;
11787 PyObject * obj2 = 0 ;
11788 PyObject * obj3 = 0 ;
11789 PyObject * obj4 = 0 ;
11790 PyObject * obj5 = 0 ;
11791 PyObject * obj6 = 0 ;
11792 PyObject * obj7 = 0 ;
11793 PyObject * obj8 = 0 ;
11794 PyObject * obj9 = 0 ;
11795 PyObject * obj10 = 0 ;
11796 char *kwnames[] = {
11797 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11798 };
11799
11800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
11801 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11803 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
11804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11805 arg3 = (int) SWIG_AsInt(obj2);
11806 if (PyErr_Occurred()) SWIG_fail;
11807 {
11808 arg4 = wxString_in_helper(obj3);
11809 if (arg4 == NULL) SWIG_fail;
11810 temp4 = True;
11811 }
11812 if (obj4) {
11813 {
11814 arg5 = &temp5;
11815 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11816 }
11817 }
11818 if (obj5) {
11819 {
11820 arg6 = &temp6;
11821 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11822 }
11823 }
11824 if (obj6) {
11825 {
11826 if (! PySequence_Check(obj6)) {
11827 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11828 SWIG_fail;
11829 }
11830 arg7 = new wxArrayString;
11831 temp7 = True;
11832 int i, len=PySequence_Length(obj6);
11833 for (i=0; i<len; i++) {
11834 PyObject* item = PySequence_GetItem(obj6, i);
11835#if wxUSE_UNICODE
11836 PyObject* str = PyObject_Unicode(item);
11837#else
11838 PyObject* str = PyObject_Str(item);
11839#endif
11840 if (PyErr_Occurred()) SWIG_fail;
11841 arg7->Add(Py2wxString(str));
11842 Py_DECREF(item);
11843 Py_DECREF(str);
11844 }
11845 }
11846 }
11847 if (obj7) {
11848 arg8 = (int) SWIG_AsInt(obj7);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 if (obj8) {
11852 arg9 = (long) SWIG_AsLong(obj8);
11853 if (PyErr_Occurred()) SWIG_fail;
11854 }
11855 if (obj9) {
11856 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
11857 SWIG_POINTER_EXCEPTION | 0)) == -1)
11858 SWIG_fail;
11859 if (arg10 == NULL) {
11860 PyErr_SetString(PyExc_TypeError,"null reference");
11861 SWIG_fail;
11862 }
11863 }
11864 if (obj10) {
11865 {
11866 arg11 = wxString_in_helper(obj10);
11867 if (arg11 == NULL) SWIG_fail;
11868 temp11 = True;
11869 }
11870 }
11871 {
11872 PyThreadState* __tstate = wxPyBeginAllowThreads();
11873 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);
11874
11875 wxPyEndAllowThreads(__tstate);
11876 if (PyErr_Occurred()) SWIG_fail;
11877 }
11878 {
11879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11880 }
11881 {
11882 if (temp4)
11883 delete arg4;
11884 }
11885 {
11886 if (temp7) delete arg7;
11887 }
11888 {
11889 if (temp11)
11890 delete arg11;
11891 }
11892 return resultobj;
11893 fail:
11894 {
11895 if (temp4)
11896 delete arg4;
11897 }
11898 {
11899 if (temp7) delete arg7;
11900 }
11901 {
11902 if (temp11)
11903 delete arg11;
11904 }
11905 return NULL;
11906}
11907
11908
11909static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11910 PyObject *resultobj;
11911 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11912 int arg2 ;
11913 PyObject * obj0 = 0 ;
11914 PyObject * obj1 = 0 ;
11915 char *kwnames[] = {
11916 (char *) "self",(char *) "n", NULL
11917 };
11918
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11922 arg2 = (int) SWIG_AsInt(obj1);
11923 if (PyErr_Occurred()) SWIG_fail;
11924 {
11925 PyThreadState* __tstate = wxPyBeginAllowThreads();
11926 (arg1)->SetSelection(arg2);
11927
11928 wxPyEndAllowThreads(__tstate);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 Py_INCREF(Py_None); resultobj = Py_None;
11932 return resultobj;
11933 fail:
11934 return NULL;
11935}
11936
11937
11938static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11939 PyObject *resultobj;
11940 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11941 int result;
11942 PyObject * obj0 = 0 ;
11943 char *kwnames[] = {
11944 (char *) "self", NULL
11945 };
11946
11947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11950 {
11951 PyThreadState* __tstate = wxPyBeginAllowThreads();
11952 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11953
11954 wxPyEndAllowThreads(__tstate);
11955 if (PyErr_Occurred()) SWIG_fail;
11956 }
11957 resultobj = SWIG_FromInt((int)result);
11958 return resultobj;
11959 fail:
11960 return NULL;
11961}
11962
11963
11964static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11965 PyObject *resultobj;
11966 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11967 wxString result;
11968 PyObject * obj0 = 0 ;
11969 char *kwnames[] = {
11970 (char *) "self", NULL
11971 };
11972
11973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
11975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11976 {
11977 PyThreadState* __tstate = wxPyBeginAllowThreads();
11978 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11979
11980 wxPyEndAllowThreads(__tstate);
11981 if (PyErr_Occurred()) SWIG_fail;
11982 }
11983 {
11984#if wxUSE_UNICODE
11985 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11986#else
11987 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11988#endif
11989 }
11990 return resultobj;
11991 fail:
11992 return NULL;
11993}
11994
11995
11996static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11997 PyObject *resultobj;
11998 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11999 wxString *arg2 = 0 ;
12000 bool result;
12001 bool temp2 = False ;
12002 PyObject * obj0 = 0 ;
12003 PyObject * obj1 = 0 ;
12004 char *kwnames[] = {
12005 (char *) "self",(char *) "s", NULL
12006 };
12007
12008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
12009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12011 {
12012 arg2 = wxString_in_helper(obj1);
12013 if (arg2 == NULL) SWIG_fail;
12014 temp2 = True;
12015 }
12016 {
12017 PyThreadState* __tstate = wxPyBeginAllowThreads();
12018 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
12019
12020 wxPyEndAllowThreads(__tstate);
12021 if (PyErr_Occurred()) SWIG_fail;
12022 }
12023 {
12024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12025 }
12026 {
12027 if (temp2)
12028 delete arg2;
12029 }
12030 return resultobj;
12031 fail:
12032 {
12033 if (temp2)
12034 delete arg2;
12035 }
12036 return NULL;
12037}
12038
12039
12040static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12041 PyObject *resultobj;
12042 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12043 int result;
12044 PyObject * obj0 = 0 ;
12045 char *kwnames[] = {
12046 (char *) "self", NULL
12047 };
12048
12049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
12050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12052 {
12053 PyThreadState* __tstate = wxPyBeginAllowThreads();
12054 result = (int)((wxRadioBox const *)arg1)->GetCount();
12055
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 resultobj = SWIG_FromInt((int)result);
12060 return resultobj;
12061 fail:
12062 return NULL;
12063}
12064
12065
12066static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj;
12068 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12069 wxString *arg2 = 0 ;
12070 int result;
12071 bool temp2 = False ;
12072 PyObject * obj0 = 0 ;
12073 PyObject * obj1 = 0 ;
12074 char *kwnames[] = {
12075 (char *) "self",(char *) "s", NULL
12076 };
12077
12078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
12079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12081 {
12082 arg2 = wxString_in_helper(obj1);
12083 if (arg2 == NULL) SWIG_fail;
12084 temp2 = True;
12085 }
12086 {
12087 PyThreadState* __tstate = wxPyBeginAllowThreads();
12088 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
12089
12090 wxPyEndAllowThreads(__tstate);
12091 if (PyErr_Occurred()) SWIG_fail;
12092 }
12093 resultobj = SWIG_FromInt((int)result);
12094 {
12095 if (temp2)
12096 delete arg2;
12097 }
12098 return resultobj;
12099 fail:
12100 {
12101 if (temp2)
12102 delete arg2;
12103 }
12104 return NULL;
12105}
12106
12107
12108static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12111 int arg2 ;
12112 wxString result;
12113 PyObject * obj0 = 0 ;
12114 PyObject * obj1 = 0 ;
12115 char *kwnames[] = {
12116 (char *) "self",(char *) "n", NULL
12117 };
12118
12119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
12120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12122 arg2 = (int) SWIG_AsInt(obj1);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 result = ((wxRadioBox const *)arg1)->GetString(arg2);
12127
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 {
12132#if wxUSE_UNICODE
12133 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12134#else
12135 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12136#endif
12137 }
12138 return resultobj;
12139 fail:
12140 return NULL;
12141}
12142
12143
12144static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12145 PyObject *resultobj;
12146 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12147 int arg2 ;
12148 wxString *arg3 = 0 ;
12149 bool temp3 = False ;
12150 PyObject * obj0 = 0 ;
12151 PyObject * obj1 = 0 ;
12152 PyObject * obj2 = 0 ;
12153 char *kwnames[] = {
12154 (char *) "self",(char *) "n",(char *) "label", NULL
12155 };
12156
12157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
12158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12160 arg2 = (int) SWIG_AsInt(obj1);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 {
12163 arg3 = wxString_in_helper(obj2);
12164 if (arg3 == NULL) SWIG_fail;
12165 temp3 = True;
12166 }
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 (arg1)->SetString(arg2,(wxString const &)*arg3);
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 Py_INCREF(Py_None); resultobj = Py_None;
12175 {
12176 if (temp3)
12177 delete arg3;
12178 }
12179 return resultobj;
12180 fail:
12181 {
12182 if (temp3)
12183 delete arg3;
12184 }
12185 return NULL;
12186}
12187
12188
12189static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12190 PyObject *resultobj;
12191 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12192 int arg2 ;
12193 bool arg3 = (bool) True ;
12194 PyObject * obj0 = 0 ;
12195 PyObject * obj1 = 0 ;
12196 PyObject * obj2 = 0 ;
12197 char *kwnames[] = {
12198 (char *) "self",(char *) "n",(char *) "enable", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12204 arg2 = (int) SWIG_AsInt(obj1);
12205 if (PyErr_Occurred()) SWIG_fail;
12206 if (obj2) {
12207 arg3 = (bool) SWIG_AsBool(obj2);
12208 if (PyErr_Occurred()) SWIG_fail;
12209 }
12210 {
12211 PyThreadState* __tstate = wxPyBeginAllowThreads();
12212 (arg1)->Enable(arg2,arg3);
12213
12214 wxPyEndAllowThreads(__tstate);
12215 if (PyErr_Occurred()) SWIG_fail;
12216 }
12217 Py_INCREF(Py_None); resultobj = Py_None;
12218 return resultobj;
12219 fail:
12220 return NULL;
12221}
12222
12223
12224static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12225 PyObject *resultobj;
12226 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12227 int arg2 ;
12228 bool arg3 = (bool) True ;
12229 PyObject * obj0 = 0 ;
12230 PyObject * obj1 = 0 ;
12231 PyObject * obj2 = 0 ;
12232 char *kwnames[] = {
12233 (char *) "self",(char *) "n",(char *) "show", NULL
12234 };
12235
12236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
12237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12239 arg2 = (int) SWIG_AsInt(obj1);
12240 if (PyErr_Occurred()) SWIG_fail;
12241 if (obj2) {
12242 arg3 = (bool) SWIG_AsBool(obj2);
12243 if (PyErr_Occurred()) SWIG_fail;
12244 }
12245 {
12246 PyThreadState* __tstate = wxPyBeginAllowThreads();
12247 (arg1)->Show(arg2,arg3);
12248
12249 wxPyEndAllowThreads(__tstate);
12250 if (PyErr_Occurred()) SWIG_fail;
12251 }
12252 Py_INCREF(Py_None); resultobj = Py_None;
12253 return resultobj;
12254 fail:
12255 return NULL;
12256}
12257
12258
12259static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12260 PyObject *resultobj;
12261 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12262 int result;
12263 PyObject * obj0 = 0 ;
12264 char *kwnames[] = {
12265 (char *) "self", NULL
12266 };
12267
12268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
12269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12271 {
12272 PyThreadState* __tstate = wxPyBeginAllowThreads();
12273 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
12274
12275 wxPyEndAllowThreads(__tstate);
12276 if (PyErr_Occurred()) SWIG_fail;
12277 }
12278 resultobj = SWIG_FromInt((int)result);
12279 return resultobj;
12280 fail:
12281 return NULL;
12282}
12283
12284
12285static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12286 PyObject *resultobj;
12287 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12288 int result;
12289 PyObject * obj0 = 0 ;
12290 char *kwnames[] = {
12291 (char *) "self", NULL
12292 };
12293
12294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
12295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12297 {
12298 PyThreadState* __tstate = wxPyBeginAllowThreads();
12299 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
12300
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 resultobj = SWIG_FromInt((int)result);
12305 return resultobj;
12306 fail:
12307 return NULL;
12308}
12309
12310
12311static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
12312 PyObject *resultobj;
12313 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
12314 int arg2 ;
12315 int arg3 ;
12316 long arg4 ;
12317 int result;
12318 PyObject * obj0 = 0 ;
12319 PyObject * obj1 = 0 ;
12320 PyObject * obj2 = 0 ;
12321 PyObject * obj3 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioBox,
12328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12329 arg2 = (int) SWIG_AsInt(obj1);
12330 if (PyErr_Occurred()) SWIG_fail;
12331 arg3 = (wxDirection) SWIG_AsInt(obj2);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 arg4 = (long) SWIG_AsLong(obj3);
12334 if (PyErr_Occurred()) SWIG_fail;
12335 {
12336 PyThreadState* __tstate = wxPyBeginAllowThreads();
12337 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
12338
12339 wxPyEndAllowThreads(__tstate);
12340 if (PyErr_Occurred()) SWIG_fail;
12341 }
12342 resultobj = SWIG_FromInt((int)result);
12343 return resultobj;
12344 fail:
12345 return NULL;
12346}
12347
12348
f20a2e1f
RD
12349static PyObject *_wrap_RadioBox_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12350 PyObject *resultobj;
12351 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12352 wxVisualAttributes result;
12353 PyObject * obj0 = 0 ;
12354 char *kwnames[] = {
12355 (char *) "variant", NULL
12356 };
12357
12358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12359 if (obj0) {
12360 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12361 if (PyErr_Occurred()) SWIG_fail;
12362 }
12363 {
12364 PyThreadState* __tstate = wxPyBeginAllowThreads();
12365 result = wxRadioBox::GetClassDefaultAttributes((wxWindowVariant )arg1);
12366
12367 wxPyEndAllowThreads(__tstate);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 }
12370 {
12371 wxVisualAttributes * resultptr;
12372 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12374 }
12375 return resultobj;
12376 fail:
12377 return NULL;
12378}
12379
12380
d55e5bfc
RD
12381static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
12382 PyObject *obj;
12383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12384 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
12385 Py_INCREF(obj);
12386 return Py_BuildValue((char *)"");
12387}
12388static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12389 PyObject *resultobj;
12390 wxWindow *arg1 = (wxWindow *) 0 ;
12391 int arg2 ;
12392 wxString *arg3 = 0 ;
12393 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12394 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12395 wxSize const &arg5_defvalue = wxDefaultSize ;
12396 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12397 long arg6 = (long) 0 ;
12398 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12399 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12400 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
12401 wxString *arg8 = (wxString *) &arg8_defvalue ;
12402 wxRadioButton *result;
12403 bool temp3 = False ;
12404 wxPoint temp4 ;
12405 wxSize temp5 ;
12406 bool temp8 = False ;
12407 PyObject * obj0 = 0 ;
12408 PyObject * obj1 = 0 ;
12409 PyObject * obj2 = 0 ;
12410 PyObject * obj3 = 0 ;
12411 PyObject * obj4 = 0 ;
12412 PyObject * obj5 = 0 ;
12413 PyObject * obj6 = 0 ;
12414 PyObject * obj7 = 0 ;
12415 char *kwnames[] = {
12416 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12417 };
12418
12419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12422 arg2 = (int) SWIG_AsInt(obj1);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 {
12425 arg3 = wxString_in_helper(obj2);
12426 if (arg3 == NULL) SWIG_fail;
12427 temp3 = True;
12428 }
12429 if (obj3) {
12430 {
12431 arg4 = &temp4;
12432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12433 }
12434 }
12435 if (obj4) {
12436 {
12437 arg5 = &temp5;
12438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12439 }
12440 }
12441 if (obj5) {
12442 arg6 = (long) SWIG_AsLong(obj5);
12443 if (PyErr_Occurred()) SWIG_fail;
12444 }
12445 if (obj6) {
12446 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
12447 SWIG_POINTER_EXCEPTION | 0)) == -1)
12448 SWIG_fail;
12449 if (arg7 == NULL) {
12450 PyErr_SetString(PyExc_TypeError,"null reference");
12451 SWIG_fail;
12452 }
12453 }
12454 if (obj7) {
12455 {
12456 arg8 = wxString_in_helper(obj7);
12457 if (arg8 == NULL) SWIG_fail;
12458 temp8 = True;
12459 }
12460 }
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12464
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12469 {
12470 if (temp3)
12471 delete arg3;
12472 }
12473 {
12474 if (temp8)
12475 delete arg8;
12476 }
12477 return resultobj;
12478 fail:
12479 {
12480 if (temp3)
12481 delete arg3;
12482 }
12483 {
12484 if (temp8)
12485 delete arg8;
12486 }
12487 return NULL;
12488}
12489
12490
12491static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12492 PyObject *resultobj;
12493 wxRadioButton *result;
12494 char *kwnames[] = {
12495 NULL
12496 };
12497
12498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
12499 {
12500 PyThreadState* __tstate = wxPyBeginAllowThreads();
12501 result = (wxRadioButton *)new wxRadioButton();
12502
12503 wxPyEndAllowThreads(__tstate);
12504 if (PyErr_Occurred()) SWIG_fail;
12505 }
12506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRadioButton, 1);
12507 return resultobj;
12508 fail:
12509 return NULL;
12510}
12511
12512
12513static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12514 PyObject *resultobj;
12515 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12516 wxWindow *arg2 = (wxWindow *) 0 ;
12517 int arg3 ;
12518 wxString *arg4 = 0 ;
12519 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12520 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12521 wxSize const &arg6_defvalue = wxDefaultSize ;
12522 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12523 long arg7 = (long) 0 ;
12524 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12525 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12526 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
12527 wxString *arg9 = (wxString *) &arg9_defvalue ;
12528 bool result;
12529 bool temp4 = False ;
12530 wxPoint temp5 ;
12531 wxSize temp6 ;
12532 bool temp9 = False ;
12533 PyObject * obj0 = 0 ;
12534 PyObject * obj1 = 0 ;
12535 PyObject * obj2 = 0 ;
12536 PyObject * obj3 = 0 ;
12537 PyObject * obj4 = 0 ;
12538 PyObject * obj5 = 0 ;
12539 PyObject * obj6 = 0 ;
12540 PyObject * obj7 = 0 ;
12541 PyObject * obj8 = 0 ;
12542 char *kwnames[] = {
12543 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12544 };
12545
12546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12549 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12551 arg3 = (int) SWIG_AsInt(obj2);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 {
12554 arg4 = wxString_in_helper(obj3);
12555 if (arg4 == NULL) SWIG_fail;
12556 temp4 = True;
12557 }
12558 if (obj4) {
12559 {
12560 arg5 = &temp5;
12561 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12562 }
12563 }
12564 if (obj5) {
12565 {
12566 arg6 = &temp6;
12567 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12568 }
12569 }
12570 if (obj6) {
12571 arg7 = (long) SWIG_AsLong(obj6);
12572 if (PyErr_Occurred()) SWIG_fail;
12573 }
12574 if (obj7) {
12575 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
12576 SWIG_POINTER_EXCEPTION | 0)) == -1)
12577 SWIG_fail;
12578 if (arg8 == NULL) {
12579 PyErr_SetString(PyExc_TypeError,"null reference");
12580 SWIG_fail;
12581 }
12582 }
12583 if (obj8) {
12584 {
12585 arg9 = wxString_in_helper(obj8);
12586 if (arg9 == NULL) SWIG_fail;
12587 temp9 = True;
12588 }
12589 }
12590 {
12591 PyThreadState* __tstate = wxPyBeginAllowThreads();
12592 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12593
12594 wxPyEndAllowThreads(__tstate);
12595 if (PyErr_Occurred()) SWIG_fail;
12596 }
12597 {
12598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12599 }
12600 {
12601 if (temp4)
12602 delete arg4;
12603 }
12604 {
12605 if (temp9)
12606 delete arg9;
12607 }
12608 return resultobj;
12609 fail:
12610 {
12611 if (temp4)
12612 delete arg4;
12613 }
12614 {
12615 if (temp9)
12616 delete arg9;
12617 }
12618 return NULL;
12619}
12620
12621
12622static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj;
12624 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12625 bool result;
12626 PyObject * obj0 = 0 ;
12627 char *kwnames[] = {
12628 (char *) "self", NULL
12629 };
12630
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
12632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 result = (bool)(arg1)->GetValue();
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 {
12642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12643 }
12644 return resultobj;
12645 fail:
12646 return NULL;
12647}
12648
12649
12650static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj;
12652 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
12653 bool arg2 ;
12654 PyObject * obj0 = 0 ;
12655 PyObject * obj1 = 0 ;
12656 char *kwnames[] = {
12657 (char *) "self",(char *) "value", NULL
12658 };
12659
12660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRadioButton,
12662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12663 arg2 = (bool) SWIG_AsBool(obj1);
12664 if (PyErr_Occurred()) SWIG_fail;
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->SetValue(arg2);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 Py_INCREF(Py_None); resultobj = Py_None;
12673 return resultobj;
12674 fail:
12675 return NULL;
12676}
12677
12678
f20a2e1f
RD
12679static PyObject *_wrap_RadioButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj;
12681 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
12682 wxVisualAttributes result;
12683 PyObject * obj0 = 0 ;
12684 char *kwnames[] = {
12685 (char *) "variant", NULL
12686 };
12687
12688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
12689 if (obj0) {
12690 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 }
12693 {
12694 PyThreadState* __tstate = wxPyBeginAllowThreads();
12695 result = wxRadioButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
12696
12697 wxPyEndAllowThreads(__tstate);
12698 if (PyErr_Occurred()) SWIG_fail;
12699 }
12700 {
12701 wxVisualAttributes * resultptr;
12702 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
12703 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
12704 }
12705 return resultobj;
12706 fail:
12707 return NULL;
12708}
12709
12710
d55e5bfc
RD
12711static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
12712 PyObject *obj;
12713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12714 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
12715 Py_INCREF(obj);
12716 return Py_BuildValue((char *)"");
12717}
12718static int _wrap_SliderNameStr_set(PyObject *_val) {
12719 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
12720 return 1;
12721}
12722
12723
12724static PyObject *_wrap_SliderNameStr_get() {
12725 PyObject *pyobj;
12726
12727 {
12728#if wxUSE_UNICODE
12729 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12730#else
12731 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
12732#endif
12733 }
12734 return pyobj;
12735}
12736
12737
12738static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
12739 PyObject *resultobj;
12740 wxWindow *arg1 = (wxWindow *) 0 ;
12741 int arg2 ;
12742 int arg3 ;
12743 int arg4 ;
12744 int arg5 ;
12745 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12746 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12747 wxSize const &arg7_defvalue = wxDefaultSize ;
12748 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
12749 long arg8 = (long) wxSL_HORIZONTAL ;
12750 wxValidator const &arg9_defvalue = wxDefaultValidator ;
12751 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
12752 wxString const &arg10_defvalue = wxPySliderNameStr ;
12753 wxString *arg10 = (wxString *) &arg10_defvalue ;
12754 wxSlider *result;
12755 wxPoint temp6 ;
12756 wxSize temp7 ;
12757 bool temp10 = False ;
12758 PyObject * obj0 = 0 ;
12759 PyObject * obj1 = 0 ;
12760 PyObject * obj2 = 0 ;
12761 PyObject * obj3 = 0 ;
12762 PyObject * obj4 = 0 ;
12763 PyObject * obj5 = 0 ;
12764 PyObject * obj6 = 0 ;
12765 PyObject * obj7 = 0 ;
12766 PyObject * obj8 = 0 ;
12767 PyObject * obj9 = 0 ;
12768 char *kwnames[] = {
12769 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12770 };
12771
12772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
12773 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
12774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12775 arg2 = (int) SWIG_AsInt(obj1);
12776 if (PyErr_Occurred()) SWIG_fail;
12777 arg3 = (int) SWIG_AsInt(obj2);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 arg4 = (int) SWIG_AsInt(obj3);
12780 if (PyErr_Occurred()) SWIG_fail;
12781 arg5 = (int) SWIG_AsInt(obj4);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 if (obj5) {
12784 {
12785 arg6 = &temp6;
12786 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12787 }
12788 }
12789 if (obj6) {
12790 {
12791 arg7 = &temp7;
12792 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
12793 }
12794 }
12795 if (obj7) {
12796 arg8 = (long) SWIG_AsLong(obj7);
12797 if (PyErr_Occurred()) SWIG_fail;
12798 }
12799 if (obj8) {
12800 if ((SWIG_ConvertPtr(obj8,(void **)(&arg9),SWIGTYPE_p_wxValidator,
12801 SWIG_POINTER_EXCEPTION | 0)) == -1)
12802 SWIG_fail;
12803 if (arg9 == NULL) {
12804 PyErr_SetString(PyExc_TypeError,"null reference");
12805 SWIG_fail;
12806 }
12807 }
12808 if (obj9) {
12809 {
12810 arg10 = wxString_in_helper(obj9);
12811 if (arg10 == NULL) SWIG_fail;
12812 temp10 = True;
12813 }
12814 }
12815 {
12816 PyThreadState* __tstate = wxPyBeginAllowThreads();
12817 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
12818
12819 wxPyEndAllowThreads(__tstate);
12820 if (PyErr_Occurred()) SWIG_fail;
12821 }
12822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12823 {
12824 if (temp10)
12825 delete arg10;
12826 }
12827 return resultobj;
12828 fail:
12829 {
12830 if (temp10)
12831 delete arg10;
12832 }
12833 return NULL;
12834}
12835
12836
12837static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
12838 PyObject *resultobj;
12839 wxSlider *result;
12840 char *kwnames[] = {
12841 NULL
12842 };
12843
12844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
12845 {
12846 PyThreadState* __tstate = wxPyBeginAllowThreads();
12847 result = (wxSlider *)new wxSlider();
12848
12849 wxPyEndAllowThreads(__tstate);
12850 if (PyErr_Occurred()) SWIG_fail;
12851 }
12852 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSlider, 1);
12853 return resultobj;
12854 fail:
12855 return NULL;
12856}
12857
12858
12859static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12860 PyObject *resultobj;
12861 wxSlider *arg1 = (wxSlider *) 0 ;
12862 wxWindow *arg2 = (wxWindow *) 0 ;
12863 int arg3 ;
12864 int arg4 ;
12865 int arg5 ;
12866 int arg6 ;
12867 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12868 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12869 wxSize const &arg8_defvalue = wxDefaultSize ;
12870 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
12871 long arg9 = (long) wxSL_HORIZONTAL ;
12872 wxValidator const &arg10_defvalue = wxDefaultValidator ;
12873 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12874 wxString const &arg11_defvalue = wxPySliderNameStr ;
12875 wxString *arg11 = (wxString *) &arg11_defvalue ;
12876 bool result;
12877 wxPoint temp7 ;
12878 wxSize temp8 ;
12879 bool temp11 = False ;
12880 PyObject * obj0 = 0 ;
12881 PyObject * obj1 = 0 ;
12882 PyObject * obj2 = 0 ;
12883 PyObject * obj3 = 0 ;
12884 PyObject * obj4 = 0 ;
12885 PyObject * obj5 = 0 ;
12886 PyObject * obj6 = 0 ;
12887 PyObject * obj7 = 0 ;
12888 PyObject * obj8 = 0 ;
12889 PyObject * obj9 = 0 ;
12890 PyObject * obj10 = 0 ;
12891 char *kwnames[] = {
12892 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12893 };
12894
12895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
12899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12900 arg3 = (int) SWIG_AsInt(obj2);
12901 if (PyErr_Occurred()) SWIG_fail;
12902 arg4 = (int) SWIG_AsInt(obj3);
12903 if (PyErr_Occurred()) SWIG_fail;
12904 arg5 = (int) SWIG_AsInt(obj4);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 arg6 = (int) SWIG_AsInt(obj5);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 if (obj6) {
12909 {
12910 arg7 = &temp7;
12911 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12912 }
12913 }
12914 if (obj7) {
12915 {
12916 arg8 = &temp8;
12917 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12918 }
12919 }
12920 if (obj8) {
12921 arg9 = (long) SWIG_AsLong(obj8);
12922 if (PyErr_Occurred()) SWIG_fail;
12923 }
12924 if (obj9) {
12925 if ((SWIG_ConvertPtr(obj9,(void **)(&arg10),SWIGTYPE_p_wxValidator,
12926 SWIG_POINTER_EXCEPTION | 0)) == -1)
12927 SWIG_fail;
12928 if (arg10 == NULL) {
12929 PyErr_SetString(PyExc_TypeError,"null reference");
12930 SWIG_fail;
12931 }
12932 }
12933 if (obj10) {
12934 {
12935 arg11 = wxString_in_helper(obj10);
12936 if (arg11 == NULL) SWIG_fail;
12937 temp11 = True;
12938 }
12939 }
12940 {
12941 PyThreadState* __tstate = wxPyBeginAllowThreads();
12942 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12943
12944 wxPyEndAllowThreads(__tstate);
12945 if (PyErr_Occurred()) SWIG_fail;
12946 }
12947 {
12948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12949 }
12950 {
12951 if (temp11)
12952 delete arg11;
12953 }
12954 return resultobj;
12955 fail:
12956 {
12957 if (temp11)
12958 delete arg11;
12959 }
12960 return NULL;
12961}
12962
12963
12964static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12965 PyObject *resultobj;
12966 wxSlider *arg1 = (wxSlider *) 0 ;
12967 int result;
12968 PyObject * obj0 = 0 ;
12969 char *kwnames[] = {
12970 (char *) "self", NULL
12971 };
12972
12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
12975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12976 {
12977 PyThreadState* __tstate = wxPyBeginAllowThreads();
12978 result = (int)((wxSlider const *)arg1)->GetValue();
12979
12980 wxPyEndAllowThreads(__tstate);
12981 if (PyErr_Occurred()) SWIG_fail;
12982 }
12983 resultobj = SWIG_FromInt((int)result);
12984 return resultobj;
12985 fail:
12986 return NULL;
12987}
12988
12989
12990static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12991 PyObject *resultobj;
12992 wxSlider *arg1 = (wxSlider *) 0 ;
12993 int arg2 ;
12994 PyObject * obj0 = 0 ;
12995 PyObject * obj1 = 0 ;
12996 char *kwnames[] = {
12997 (char *) "self",(char *) "value", NULL
12998 };
12999
13000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
13001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13003 arg2 = (int) SWIG_AsInt(obj1);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 {
13006 PyThreadState* __tstate = wxPyBeginAllowThreads();
13007 (arg1)->SetValue(arg2);
13008
13009 wxPyEndAllowThreads(__tstate);
13010 if (PyErr_Occurred()) SWIG_fail;
13011 }
13012 Py_INCREF(Py_None); resultobj = Py_None;
13013 return resultobj;
13014 fail:
13015 return NULL;
13016}
13017
13018
13019static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
13020 PyObject *resultobj;
13021 wxSlider *arg1 = (wxSlider *) 0 ;
13022 int arg2 ;
13023 int arg3 ;
13024 PyObject * obj0 = 0 ;
13025 PyObject * obj1 = 0 ;
13026 PyObject * obj2 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13029 };
13030
13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
13032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13034 arg2 = (int) SWIG_AsInt(obj1);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 arg3 = (int) SWIG_AsInt(obj2);
13037 if (PyErr_Occurred()) SWIG_fail;
13038 {
13039 PyThreadState* __tstate = wxPyBeginAllowThreads();
13040 (arg1)->SetRange(arg2,arg3);
13041
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
13045 Py_INCREF(Py_None); resultobj = Py_None;
13046 return resultobj;
13047 fail:
13048 return NULL;
13049}
13050
13051
13052static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13053 PyObject *resultobj;
13054 wxSlider *arg1 = (wxSlider *) 0 ;
13055 int result;
13056 PyObject * obj0 = 0 ;
13057 char *kwnames[] = {
13058 (char *) "self", NULL
13059 };
13060
13061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
13062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13064 {
13065 PyThreadState* __tstate = wxPyBeginAllowThreads();
13066 result = (int)((wxSlider const *)arg1)->GetMin();
13067
13068 wxPyEndAllowThreads(__tstate);
13069 if (PyErr_Occurred()) SWIG_fail;
13070 }
13071 resultobj = SWIG_FromInt((int)result);
13072 return resultobj;
13073 fail:
13074 return NULL;
13075}
13076
13077
13078static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13079 PyObject *resultobj;
13080 wxSlider *arg1 = (wxSlider *) 0 ;
13081 int result;
13082 PyObject * obj0 = 0 ;
13083 char *kwnames[] = {
13084 (char *) "self", NULL
13085 };
13086
13087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
13088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13090 {
13091 PyThreadState* __tstate = wxPyBeginAllowThreads();
13092 result = (int)((wxSlider const *)arg1)->GetMax();
13093
13094 wxPyEndAllowThreads(__tstate);
13095 if (PyErr_Occurred()) SWIG_fail;
13096 }
13097 resultobj = SWIG_FromInt((int)result);
13098 return resultobj;
13099 fail:
13100 return NULL;
13101}
13102
13103
13104static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13105 PyObject *resultobj;
13106 wxSlider *arg1 = (wxSlider *) 0 ;
13107 int arg2 ;
13108 PyObject * obj0 = 0 ;
13109 PyObject * obj1 = 0 ;
13110 char *kwnames[] = {
13111 (char *) "self",(char *) "minValue", NULL
13112 };
13113
13114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
13115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13117 arg2 = (int) SWIG_AsInt(obj1);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 {
13120 PyThreadState* __tstate = wxPyBeginAllowThreads();
13121 (arg1)->SetMin(arg2);
13122
13123 wxPyEndAllowThreads(__tstate);
13124 if (PyErr_Occurred()) SWIG_fail;
13125 }
13126 Py_INCREF(Py_None); resultobj = Py_None;
13127 return resultobj;
13128 fail:
13129 return NULL;
13130}
13131
13132
13133static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
13134 PyObject *resultobj;
13135 wxSlider *arg1 = (wxSlider *) 0 ;
13136 int arg2 ;
13137 PyObject * obj0 = 0 ;
13138 PyObject * obj1 = 0 ;
13139 char *kwnames[] = {
13140 (char *) "self",(char *) "maxValue", NULL
13141 };
13142
13143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
13144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13146 arg2 = (int) SWIG_AsInt(obj1);
13147 if (PyErr_Occurred()) SWIG_fail;
13148 {
13149 PyThreadState* __tstate = wxPyBeginAllowThreads();
13150 (arg1)->SetMax(arg2);
13151
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 Py_INCREF(Py_None); resultobj = Py_None;
13156 return resultobj;
13157 fail:
13158 return NULL;
13159}
13160
13161
13162static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13163 PyObject *resultobj;
13164 wxSlider *arg1 = (wxSlider *) 0 ;
13165 int arg2 ;
13166 PyObject * obj0 = 0 ;
13167 PyObject * obj1 = 0 ;
13168 char *kwnames[] = {
13169 (char *) "self",(char *) "lineSize", NULL
13170 };
13171
13172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
13173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13175 arg2 = (int) SWIG_AsInt(obj1);
13176 if (PyErr_Occurred()) SWIG_fail;
13177 {
13178 PyThreadState* __tstate = wxPyBeginAllowThreads();
13179 (arg1)->SetLineSize(arg2);
13180
13181 wxPyEndAllowThreads(__tstate);
13182 if (PyErr_Occurred()) SWIG_fail;
13183 }
13184 Py_INCREF(Py_None); resultobj = Py_None;
13185 return resultobj;
13186 fail:
13187 return NULL;
13188}
13189
13190
13191static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13192 PyObject *resultobj;
13193 wxSlider *arg1 = (wxSlider *) 0 ;
13194 int arg2 ;
13195 PyObject * obj0 = 0 ;
13196 PyObject * obj1 = 0 ;
13197 char *kwnames[] = {
13198 (char *) "self",(char *) "pageSize", NULL
13199 };
13200
13201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13204 arg2 = (int) SWIG_AsInt(obj1);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 (arg1)->SetPageSize(arg2);
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 Py_INCREF(Py_None); resultobj = Py_None;
13214 return resultobj;
13215 fail:
13216 return NULL;
13217}
13218
13219
13220static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13221 PyObject *resultobj;
13222 wxSlider *arg1 = (wxSlider *) 0 ;
13223 int result;
13224 PyObject * obj0 = 0 ;
13225 char *kwnames[] = {
13226 (char *) "self", NULL
13227 };
13228
13229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
13230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13232 {
13233 PyThreadState* __tstate = wxPyBeginAllowThreads();
13234 result = (int)((wxSlider const *)arg1)->GetLineSize();
13235
13236 wxPyEndAllowThreads(__tstate);
13237 if (PyErr_Occurred()) SWIG_fail;
13238 }
13239 resultobj = SWIG_FromInt((int)result);
13240 return resultobj;
13241 fail:
13242 return NULL;
13243}
13244
13245
13246static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13247 PyObject *resultobj;
13248 wxSlider *arg1 = (wxSlider *) 0 ;
13249 int result;
13250 PyObject * obj0 = 0 ;
13251 char *kwnames[] = {
13252 (char *) "self", NULL
13253 };
13254
13255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
13256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13258 {
13259 PyThreadState* __tstate = wxPyBeginAllowThreads();
13260 result = (int)((wxSlider const *)arg1)->GetPageSize();
13261
13262 wxPyEndAllowThreads(__tstate);
13263 if (PyErr_Occurred()) SWIG_fail;
13264 }
13265 resultobj = SWIG_FromInt((int)result);
13266 return resultobj;
13267 fail:
13268 return NULL;
13269}
13270
13271
13272static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13273 PyObject *resultobj;
13274 wxSlider *arg1 = (wxSlider *) 0 ;
13275 int arg2 ;
13276 PyObject * obj0 = 0 ;
13277 PyObject * obj1 = 0 ;
13278 char *kwnames[] = {
13279 (char *) "self",(char *) "lenPixels", NULL
13280 };
13281
13282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
13283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13285 arg2 = (int) SWIG_AsInt(obj1);
13286 if (PyErr_Occurred()) SWIG_fail;
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 (arg1)->SetThumbLength(arg2);
13290
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 Py_INCREF(Py_None); resultobj = Py_None;
13295 return resultobj;
13296 fail:
13297 return NULL;
13298}
13299
13300
13301static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
13302 PyObject *resultobj;
13303 wxSlider *arg1 = (wxSlider *) 0 ;
13304 int result;
13305 PyObject * obj0 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "self", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
13311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13313 {
13314 PyThreadState* __tstate = wxPyBeginAllowThreads();
13315 result = (int)((wxSlider const *)arg1)->GetThumbLength();
13316
13317 wxPyEndAllowThreads(__tstate);
13318 if (PyErr_Occurred()) SWIG_fail;
13319 }
13320 resultobj = SWIG_FromInt((int)result);
13321 return resultobj;
13322 fail:
13323 return NULL;
13324}
13325
13326
13327static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13328 PyObject *resultobj;
13329 wxSlider *arg1 = (wxSlider *) 0 ;
13330 int arg2 ;
13331 int arg3 = (int) 1 ;
13332 PyObject * obj0 = 0 ;
13333 PyObject * obj1 = 0 ;
13334 PyObject * obj2 = 0 ;
13335 char *kwnames[] = {
13336 (char *) "self",(char *) "n",(char *) "pos", NULL
13337 };
13338
13339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
13340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13342 arg2 = (int) SWIG_AsInt(obj1);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 if (obj2) {
13345 arg3 = (int) SWIG_AsInt(obj2);
13346 if (PyErr_Occurred()) SWIG_fail;
13347 }
13348 {
13349 PyThreadState* __tstate = wxPyBeginAllowThreads();
13350 (arg1)->SetTickFreq(arg2,arg3);
13351
13352 wxPyEndAllowThreads(__tstate);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 }
13355 Py_INCREF(Py_None); resultobj = Py_None;
13356 return resultobj;
13357 fail:
13358 return NULL;
13359}
13360
13361
13362static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
13363 PyObject *resultobj;
13364 wxSlider *arg1 = (wxSlider *) 0 ;
13365 int result;
13366 PyObject * obj0 = 0 ;
13367 char *kwnames[] = {
13368 (char *) "self", NULL
13369 };
13370
13371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
13372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13374 {
13375 PyThreadState* __tstate = wxPyBeginAllowThreads();
13376 result = (int)((wxSlider const *)arg1)->GetTickFreq();
13377
13378 wxPyEndAllowThreads(__tstate);
13379 if (PyErr_Occurred()) SWIG_fail;
13380 }
13381 resultobj = SWIG_FromInt((int)result);
13382 return resultobj;
13383 fail:
13384 return NULL;
13385}
13386
13387
13388static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
13389 PyObject *resultobj;
13390 wxSlider *arg1 = (wxSlider *) 0 ;
13391 PyObject * obj0 = 0 ;
13392 char *kwnames[] = {
13393 (char *) "self", NULL
13394 };
13395
13396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
13397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13399 {
13400 PyThreadState* __tstate = wxPyBeginAllowThreads();
13401 (arg1)->ClearTicks();
13402
13403 wxPyEndAllowThreads(__tstate);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
13406 Py_INCREF(Py_None); resultobj = Py_None;
13407 return resultobj;
13408 fail:
13409 return NULL;
13410}
13411
13412
13413static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
13414 PyObject *resultobj;
13415 wxSlider *arg1 = (wxSlider *) 0 ;
13416 int arg2 ;
13417 PyObject * obj0 = 0 ;
13418 PyObject * obj1 = 0 ;
13419 char *kwnames[] = {
13420 (char *) "self",(char *) "tickPos", NULL
13421 };
13422
13423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
13424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13426 arg2 = (int) SWIG_AsInt(obj1);
13427 if (PyErr_Occurred()) SWIG_fail;
13428 {
13429 PyThreadState* __tstate = wxPyBeginAllowThreads();
13430 (arg1)->SetTick(arg2);
13431
13432 wxPyEndAllowThreads(__tstate);
13433 if (PyErr_Occurred()) SWIG_fail;
13434 }
13435 Py_INCREF(Py_None); resultobj = Py_None;
13436 return resultobj;
13437 fail:
13438 return NULL;
13439}
13440
13441
13442static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
13443 PyObject *resultobj;
13444 wxSlider *arg1 = (wxSlider *) 0 ;
13445 PyObject * obj0 = 0 ;
13446 char *kwnames[] = {
13447 (char *) "self", NULL
13448 };
13449
13450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
13451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13453 {
13454 PyThreadState* __tstate = wxPyBeginAllowThreads();
13455 (arg1)->ClearSel();
13456
13457 wxPyEndAllowThreads(__tstate);
13458 if (PyErr_Occurred()) SWIG_fail;
13459 }
13460 Py_INCREF(Py_None); resultobj = Py_None;
13461 return resultobj;
13462 fail:
13463 return NULL;
13464}
13465
13466
13467static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
13468 PyObject *resultobj;
13469 wxSlider *arg1 = (wxSlider *) 0 ;
13470 int result;
13471 PyObject * obj0 = 0 ;
13472 char *kwnames[] = {
13473 (char *) "self", NULL
13474 };
13475
13476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
13477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13479 {
13480 PyThreadState* __tstate = wxPyBeginAllowThreads();
13481 result = (int)((wxSlider const *)arg1)->GetSelEnd();
13482
13483 wxPyEndAllowThreads(__tstate);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
13486 resultobj = SWIG_FromInt((int)result);
13487 return resultobj;
13488 fail:
13489 return NULL;
13490}
13491
13492
13493static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
13494 PyObject *resultobj;
13495 wxSlider *arg1 = (wxSlider *) 0 ;
13496 int result;
13497 PyObject * obj0 = 0 ;
13498 char *kwnames[] = {
13499 (char *) "self", NULL
13500 };
13501
13502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
13503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13505 {
13506 PyThreadState* __tstate = wxPyBeginAllowThreads();
13507 result = (int)((wxSlider const *)arg1)->GetSelStart();
13508
13509 wxPyEndAllowThreads(__tstate);
13510 if (PyErr_Occurred()) SWIG_fail;
13511 }
13512 resultobj = SWIG_FromInt((int)result);
13513 return resultobj;
13514 fail:
13515 return NULL;
13516}
13517
13518
13519static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13520 PyObject *resultobj;
13521 wxSlider *arg1 = (wxSlider *) 0 ;
13522 int arg2 ;
13523 int arg3 ;
13524 PyObject * obj0 = 0 ;
13525 PyObject * obj1 = 0 ;
13526 PyObject * obj2 = 0 ;
13527 char *kwnames[] = {
13528 (char *) "self",(char *) "min",(char *) "max", NULL
13529 };
13530
13531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
13532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSlider,
13533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13534 arg2 = (int) SWIG_AsInt(obj1);
13535 if (PyErr_Occurred()) SWIG_fail;
13536 arg3 = (int) SWIG_AsInt(obj2);
13537 if (PyErr_Occurred()) SWIG_fail;
13538 {
13539 PyThreadState* __tstate = wxPyBeginAllowThreads();
13540 (arg1)->SetSelection(arg2,arg3);
13541
13542 wxPyEndAllowThreads(__tstate);
13543 if (PyErr_Occurred()) SWIG_fail;
13544 }
13545 Py_INCREF(Py_None); resultobj = Py_None;
13546 return resultobj;
13547 fail:
13548 return NULL;
13549}
13550
13551
f20a2e1f
RD
13552static PyObject *_wrap_Slider_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13553 PyObject *resultobj;
13554 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13555 wxVisualAttributes result;
13556 PyObject * obj0 = 0 ;
13557 char *kwnames[] = {
13558 (char *) "variant", NULL
13559 };
13560
13561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13562 if (obj0) {
13563 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13564 if (PyErr_Occurred()) SWIG_fail;
13565 }
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 result = wxSlider::GetClassDefaultAttributes((wxWindowVariant )arg1);
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 {
13574 wxVisualAttributes * resultptr;
13575 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13576 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13577 }
13578 return resultobj;
13579 fail:
13580 return NULL;
13581}
13582
13583
d55e5bfc
RD
13584static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
13585 PyObject *obj;
13586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13587 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
13588 Py_INCREF(obj);
13589 return Py_BuildValue((char *)"");
13590}
13591static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
13592 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
13593 return 1;
13594}
13595
13596
13597static PyObject *_wrap_ToggleButtonNameStr_get() {
13598 PyObject *pyobj;
13599
13600 {
13601#if wxUSE_UNICODE
13602 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13603#else
13604 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
13605#endif
13606 }
13607 return pyobj;
13608}
13609
13610
13611static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13612 PyObject *resultobj;
13613 wxWindow *arg1 = (wxWindow *) 0 ;
13614 int arg2 ;
13615 wxString *arg3 = 0 ;
13616 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13617 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13618 wxSize const &arg5_defvalue = wxDefaultSize ;
13619 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13620 long arg6 = (long) 0 ;
13621 wxValidator const &arg7_defvalue = wxDefaultValidator ;
13622 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
13623 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
13624 wxString *arg8 = (wxString *) &arg8_defvalue ;
13625 wxToggleButton *result;
13626 bool temp3 = False ;
13627 wxPoint temp4 ;
13628 wxSize temp5 ;
13629 bool temp8 = False ;
13630 PyObject * obj0 = 0 ;
13631 PyObject * obj1 = 0 ;
13632 PyObject * obj2 = 0 ;
13633 PyObject * obj3 = 0 ;
13634 PyObject * obj4 = 0 ;
13635 PyObject * obj5 = 0 ;
13636 PyObject * obj6 = 0 ;
13637 PyObject * obj7 = 0 ;
13638 char *kwnames[] = {
13639 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13640 };
13641
13642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
13644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13645 arg2 = (int) SWIG_AsInt(obj1);
13646 if (PyErr_Occurred()) SWIG_fail;
13647 {
13648 arg3 = wxString_in_helper(obj2);
13649 if (arg3 == NULL) SWIG_fail;
13650 temp3 = True;
13651 }
13652 if (obj3) {
13653 {
13654 arg4 = &temp4;
13655 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13656 }
13657 }
13658 if (obj4) {
13659 {
13660 arg5 = &temp5;
13661 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13662 }
13663 }
13664 if (obj5) {
13665 arg6 = (long) SWIG_AsLong(obj5);
13666 if (PyErr_Occurred()) SWIG_fail;
13667 }
13668 if (obj6) {
13669 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
13670 SWIG_POINTER_EXCEPTION | 0)) == -1)
13671 SWIG_fail;
13672 if (arg7 == NULL) {
13673 PyErr_SetString(PyExc_TypeError,"null reference");
13674 SWIG_fail;
13675 }
13676 }
13677 if (obj7) {
13678 {
13679 arg8 = wxString_in_helper(obj7);
13680 if (arg8 == NULL) SWIG_fail;
13681 temp8 = True;
13682 }
13683 }
13684 {
13685 PyThreadState* __tstate = wxPyBeginAllowThreads();
13686 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
13687
13688 wxPyEndAllowThreads(__tstate);
13689 if (PyErr_Occurred()) SWIG_fail;
13690 }
13691 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13692 {
13693 if (temp3)
13694 delete arg3;
13695 }
13696 {
13697 if (temp8)
13698 delete arg8;
13699 }
13700 return resultobj;
13701 fail:
13702 {
13703 if (temp3)
13704 delete arg3;
13705 }
13706 {
13707 if (temp8)
13708 delete arg8;
13709 }
13710 return NULL;
13711}
13712
13713
13714static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13715 PyObject *resultobj;
13716 wxToggleButton *result;
13717 char *kwnames[] = {
13718 NULL
13719 };
13720
13721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
13722 {
13723 PyThreadState* __tstate = wxPyBeginAllowThreads();
13724 result = (wxToggleButton *)new wxToggleButton();
13725
13726 wxPyEndAllowThreads(__tstate);
13727 if (PyErr_Occurred()) SWIG_fail;
13728 }
13729 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxToggleButton, 1);
13730 return resultobj;
13731 fail:
13732 return NULL;
13733}
13734
13735
13736static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13737 PyObject *resultobj;
13738 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13739 wxWindow *arg2 = (wxWindow *) 0 ;
13740 int arg3 ;
13741 wxString *arg4 = 0 ;
13742 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13743 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13744 wxSize const &arg6_defvalue = wxDefaultSize ;
13745 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13746 long arg7 = (long) 0 ;
13747 wxValidator const &arg8_defvalue = wxDefaultValidator ;
13748 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
13749 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
13750 wxString *arg9 = (wxString *) &arg9_defvalue ;
13751 bool result;
13752 bool temp4 = False ;
13753 wxPoint temp5 ;
13754 wxSize temp6 ;
13755 bool temp9 = False ;
13756 PyObject * obj0 = 0 ;
13757 PyObject * obj1 = 0 ;
13758 PyObject * obj2 = 0 ;
13759 PyObject * obj3 = 0 ;
13760 PyObject * obj4 = 0 ;
13761 PyObject * obj5 = 0 ;
13762 PyObject * obj6 = 0 ;
13763 PyObject * obj7 = 0 ;
13764 PyObject * obj8 = 0 ;
13765 char *kwnames[] = {
13766 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13767 };
13768
13769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
13770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
13773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13774 arg3 = (int) SWIG_AsInt(obj2);
13775 if (PyErr_Occurred()) SWIG_fail;
13776 {
13777 arg4 = wxString_in_helper(obj3);
13778 if (arg4 == NULL) SWIG_fail;
13779 temp4 = True;
13780 }
13781 if (obj4) {
13782 {
13783 arg5 = &temp5;
13784 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13785 }
13786 }
13787 if (obj5) {
13788 {
13789 arg6 = &temp6;
13790 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13791 }
13792 }
13793 if (obj6) {
13794 arg7 = (long) SWIG_AsLong(obj6);
13795 if (PyErr_Occurred()) SWIG_fail;
13796 }
13797 if (obj7) {
13798 if ((SWIG_ConvertPtr(obj7,(void **)(&arg8),SWIGTYPE_p_wxValidator,
13799 SWIG_POINTER_EXCEPTION | 0)) == -1)
13800 SWIG_fail;
13801 if (arg8 == NULL) {
13802 PyErr_SetString(PyExc_TypeError,"null reference");
13803 SWIG_fail;
13804 }
13805 }
13806 if (obj8) {
13807 {
13808 arg9 = wxString_in_helper(obj8);
13809 if (arg9 == NULL) SWIG_fail;
13810 temp9 = True;
13811 }
13812 }
13813 {
13814 PyThreadState* __tstate = wxPyBeginAllowThreads();
13815 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
13816
13817 wxPyEndAllowThreads(__tstate);
13818 if (PyErr_Occurred()) SWIG_fail;
13819 }
13820 {
13821 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13822 }
13823 {
13824 if (temp4)
13825 delete arg4;
13826 }
13827 {
13828 if (temp9)
13829 delete arg9;
13830 }
13831 return resultobj;
13832 fail:
13833 {
13834 if (temp4)
13835 delete arg4;
13836 }
13837 {
13838 if (temp9)
13839 delete arg9;
13840 }
13841 return NULL;
13842}
13843
13844
13845static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13846 PyObject *resultobj;
13847 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13848 bool arg2 ;
13849 PyObject * obj0 = 0 ;
13850 PyObject * obj1 = 0 ;
13851 char *kwnames[] = {
13852 (char *) "self",(char *) "value", NULL
13853 };
13854
13855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
13856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13858 arg2 = (bool) SWIG_AsBool(obj1);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 {
13861 PyThreadState* __tstate = wxPyBeginAllowThreads();
13862 (arg1)->SetValue(arg2);
13863
13864 wxPyEndAllowThreads(__tstate);
13865 if (PyErr_Occurred()) SWIG_fail;
13866 }
13867 Py_INCREF(Py_None); resultobj = Py_None;
13868 return resultobj;
13869 fail:
13870 return NULL;
13871}
13872
13873
13874static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
13875 PyObject *resultobj;
13876 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13877 bool result;
13878 PyObject * obj0 = 0 ;
13879 char *kwnames[] = {
13880 (char *) "self", NULL
13881 };
13882
13883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
13884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 result = (bool)((wxToggleButton const *)arg1)->GetValue();
13889
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 {
13894 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13895 }
13896 return resultobj;
13897 fail:
13898 return NULL;
13899}
13900
13901
13902static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13903 PyObject *resultobj;
13904 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13905 wxString *arg2 = 0 ;
13906 bool temp2 = False ;
13907 PyObject * obj0 = 0 ;
13908 PyObject * obj1 = 0 ;
13909 char *kwnames[] = {
13910 (char *) "self",(char *) "label", NULL
13911 };
13912
13913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToggleButton,
13915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13916 {
13917 arg2 = wxString_in_helper(obj1);
13918 if (arg2 == NULL) SWIG_fail;
13919 temp2 = True;
13920 }
13921 {
13922 PyThreadState* __tstate = wxPyBeginAllowThreads();
13923 (arg1)->SetLabel((wxString const &)*arg2);
13924
13925 wxPyEndAllowThreads(__tstate);
13926 if (PyErr_Occurred()) SWIG_fail;
13927 }
13928 Py_INCREF(Py_None); resultobj = Py_None;
13929 {
13930 if (temp2)
13931 delete arg2;
13932 }
13933 return resultobj;
13934 fail:
13935 {
13936 if (temp2)
13937 delete arg2;
13938 }
13939 return NULL;
13940}
13941
13942
f20a2e1f
RD
13943static PyObject *_wrap_ToggleButton_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
13944 PyObject *resultobj;
13945 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
13946 wxVisualAttributes result;
13947 PyObject * obj0 = 0 ;
13948 char *kwnames[] = {
13949 (char *) "variant", NULL
13950 };
13951
13952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
13953 if (obj0) {
13954 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
13957 {
13958 PyThreadState* __tstate = wxPyBeginAllowThreads();
13959 result = wxToggleButton::GetClassDefaultAttributes((wxWindowVariant )arg1);
13960
13961 wxPyEndAllowThreads(__tstate);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 {
13965 wxVisualAttributes * resultptr;
13966 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
13967 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
13968 }
13969 return resultobj;
13970 fail:
13971 return NULL;
13972}
13973
13974
d55e5bfc
RD
13975static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13976 PyObject *obj;
13977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13978 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13979 Py_INCREF(obj);
13980 return Py_BuildValue((char *)"");
13981}
13982static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
13983 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13984 return 1;
13985}
13986
13987
13988static PyObject *_wrap_NOTEBOOK_NAME_get() {
13989 PyObject *pyobj;
13990
13991 {
13992#if wxUSE_UNICODE
13993 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13994#else
13995 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13996#endif
13997 }
13998 return pyobj;
13999}
14000
14001
14002static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14003 PyObject *resultobj;
14004 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14005 size_t result;
14006 PyObject * obj0 = 0 ;
14007 char *kwnames[] = {
14008 (char *) "self", NULL
14009 };
14010
14011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
14012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14014 {
14015 PyThreadState* __tstate = wxPyBeginAllowThreads();
14016 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
14017
14018 wxPyEndAllowThreads(__tstate);
14019 if (PyErr_Occurred()) SWIG_fail;
14020 }
14021 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
14022 return resultobj;
14023 fail:
14024 return NULL;
14025}
14026
14027
14028static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14029 PyObject *resultobj;
14030 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14031 size_t arg2 ;
14032 wxWindow *result;
14033 PyObject * obj0 = 0 ;
14034 PyObject * obj1 = 0 ;
14035 char *kwnames[] = {
14036 (char *) "self",(char *) "n", NULL
14037 };
14038
14039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
14040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14042 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14043 if (PyErr_Occurred()) SWIG_fail;
14044 {
14045 PyThreadState* __tstate = wxPyBeginAllowThreads();
14046 result = (wxWindow *)(arg1)->GetPage(arg2);
14047
14048 wxPyEndAllowThreads(__tstate);
14049 if (PyErr_Occurred()) SWIG_fail;
14050 }
14051 {
14052 resultobj = wxPyMake_wxObject(result);
14053 }
14054 return resultobj;
14055 fail:
14056 return NULL;
14057}
14058
14059
14060static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14061 PyObject *resultobj;
14062 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14063 int result;
14064 PyObject * obj0 = 0 ;
14065 char *kwnames[] = {
14066 (char *) "self", NULL
14067 };
14068
14069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
14070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 resultobj = SWIG_FromInt((int)result);
14080 return resultobj;
14081 fail:
14082 return NULL;
14083}
14084
14085
14086static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14087 PyObject *resultobj;
14088 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14089 size_t arg2 ;
14090 wxString *arg3 = 0 ;
14091 bool result;
14092 bool temp3 = False ;
14093 PyObject * obj0 = 0 ;
14094 PyObject * obj1 = 0 ;
14095 PyObject * obj2 = 0 ;
14096 char *kwnames[] = {
14097 (char *) "self",(char *) "n",(char *) "strText", NULL
14098 };
14099
14100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
14101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14103 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 {
14106 arg3 = wxString_in_helper(obj2);
14107 if (arg3 == NULL) SWIG_fail;
14108 temp3 = True;
14109 }
14110 {
14111 PyThreadState* __tstate = wxPyBeginAllowThreads();
14112 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
14113
14114 wxPyEndAllowThreads(__tstate);
14115 if (PyErr_Occurred()) SWIG_fail;
14116 }
14117 {
14118 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14119 }
14120 {
14121 if (temp3)
14122 delete arg3;
14123 }
14124 return resultobj;
14125 fail:
14126 {
14127 if (temp3)
14128 delete arg3;
14129 }
14130 return NULL;
14131}
14132
14133
14134static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
14135 PyObject *resultobj;
14136 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14137 size_t arg2 ;
14138 wxString result;
14139 PyObject * obj0 = 0 ;
14140 PyObject * obj1 = 0 ;
14141 char *kwnames[] = {
14142 (char *) "self",(char *) "n", NULL
14143 };
14144
14145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
14146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14148 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14149 if (PyErr_Occurred()) SWIG_fail;
14150 {
14151 PyThreadState* __tstate = wxPyBeginAllowThreads();
14152 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
14153
14154 wxPyEndAllowThreads(__tstate);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 }
14157 {
14158#if wxUSE_UNICODE
14159 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14160#else
14161 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14162#endif
14163 }
14164 return resultobj;
14165 fail:
14166 return NULL;
14167}
14168
14169
14170static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14171 PyObject *resultobj;
14172 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14173 wxImageList *arg2 = (wxImageList *) 0 ;
14174 PyObject * obj0 = 0 ;
14175 PyObject * obj1 = 0 ;
14176 char *kwnames[] = {
14177 (char *) "self",(char *) "imageList", NULL
14178 };
14179
14180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
14181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14183 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14185 {
14186 PyThreadState* __tstate = wxPyBeginAllowThreads();
14187 (arg1)->SetImageList(arg2);
14188
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 Py_INCREF(Py_None); resultobj = Py_None;
14193 return resultobj;
14194 fail:
14195 return NULL;
14196}
14197
14198
14199static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14200 PyObject *resultobj;
14201 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14202 wxImageList *arg2 = (wxImageList *) 0 ;
14203 PyObject * obj0 = 0 ;
14204 PyObject * obj1 = 0 ;
14205 char *kwnames[] = {
14206 (char *) "self",(char *) "imageList", NULL
14207 };
14208
14209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
14210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14212 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
14213 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 (arg1)->AssignImageList(arg2);
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 Py_INCREF(Py_None); resultobj = Py_None;
14222 return resultobj;
14223 fail:
14224 return NULL;
14225}
14226
14227
14228static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
14229 PyObject *resultobj;
14230 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14231 wxImageList *result;
14232 PyObject * obj0 = 0 ;
14233 char *kwnames[] = {
14234 (char *) "self", NULL
14235 };
14236
14237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
14238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14240 {
14241 PyThreadState* __tstate = wxPyBeginAllowThreads();
14242 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
14243
14244 wxPyEndAllowThreads(__tstate);
14245 if (PyErr_Occurred()) SWIG_fail;
14246 }
14247 {
14248 resultobj = wxPyMake_wxObject(result);
14249 }
14250 return resultobj;
14251 fail:
14252 return NULL;
14253}
14254
14255
14256static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14257 PyObject *resultobj;
14258 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14259 size_t arg2 ;
14260 int result;
14261 PyObject * obj0 = 0 ;
14262 PyObject * obj1 = 0 ;
14263 char *kwnames[] = {
14264 (char *) "self",(char *) "n", NULL
14265 };
14266
14267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
14268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14270 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14271 if (PyErr_Occurred()) SWIG_fail;
14272 {
14273 PyThreadState* __tstate = wxPyBeginAllowThreads();
14274 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
14275
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 resultobj = SWIG_FromInt((int)result);
14280 return resultobj;
14281 fail:
14282 return NULL;
14283}
14284
14285
14286static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
14287 PyObject *resultobj;
14288 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14289 size_t arg2 ;
14290 int arg3 ;
14291 bool result;
14292 PyObject * obj0 = 0 ;
14293 PyObject * obj1 = 0 ;
14294 PyObject * obj2 = 0 ;
14295 char *kwnames[] = {
14296 (char *) "self",(char *) "n",(char *) "imageId", NULL
14297 };
14298
14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
14300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14302 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 arg3 = (int) SWIG_AsInt(obj2);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 {
14307 PyThreadState* __tstate = wxPyBeginAllowThreads();
14308 result = (bool)(arg1)->SetPageImage(arg2,arg3);
14309
14310 wxPyEndAllowThreads(__tstate);
14311 if (PyErr_Occurred()) SWIG_fail;
14312 }
14313 {
14314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14315 }
14316 return resultobj;
14317 fail:
14318 return NULL;
14319}
14320
14321
14322static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14323 PyObject *resultobj;
14324 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14325 wxSize *arg2 = 0 ;
14326 wxSize temp2 ;
14327 PyObject * obj0 = 0 ;
14328 PyObject * obj1 = 0 ;
14329 char *kwnames[] = {
14330 (char *) "self",(char *) "size", NULL
14331 };
14332
14333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
14334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14336 {
14337 arg2 = &temp2;
14338 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14339 }
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 (arg1)->SetPageSize((wxSize const &)*arg2);
14343
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 Py_INCREF(Py_None); resultobj = Py_None;
14348 return resultobj;
14349 fail:
14350 return NULL;
14351}
14352
14353
14354static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14357 wxSize *arg2 = 0 ;
14358 wxSize result;
14359 wxSize temp2 ;
14360 PyObject * obj0 = 0 ;
14361 PyObject * obj1 = 0 ;
14362 char *kwnames[] = {
14363 (char *) "self",(char *) "sizePage", NULL
14364 };
14365
14366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14369 {
14370 arg2 = &temp2;
14371 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14372 }
14373 {
14374 PyThreadState* __tstate = wxPyBeginAllowThreads();
14375 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14376
14377 wxPyEndAllowThreads(__tstate);
14378 if (PyErr_Occurred()) SWIG_fail;
14379 }
14380 {
14381 wxSize * resultptr;
14382 resultptr = new wxSize((wxSize &) result);
14383 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
14384 }
14385 return resultobj;
14386 fail:
14387 return NULL;
14388}
14389
14390
14391static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14392 PyObject *resultobj;
14393 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14394 size_t arg2 ;
14395 bool result;
14396 PyObject * obj0 = 0 ;
14397 PyObject * obj1 = 0 ;
14398 char *kwnames[] = {
14399 (char *) "self",(char *) "n", NULL
14400 };
14401
14402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
14403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14405 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 {
14408 PyThreadState* __tstate = wxPyBeginAllowThreads();
14409 result = (bool)(arg1)->DeletePage(arg2);
14410
14411 wxPyEndAllowThreads(__tstate);
14412 if (PyErr_Occurred()) SWIG_fail;
14413 }
14414 {
14415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14416 }
14417 return resultobj;
14418 fail:
14419 return NULL;
14420}
14421
14422
14423static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
14424 PyObject *resultobj;
14425 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14426 size_t arg2 ;
14427 bool result;
14428 PyObject * obj0 = 0 ;
14429 PyObject * obj1 = 0 ;
14430 char *kwnames[] = {
14431 (char *) "self",(char *) "n", NULL
14432 };
14433
14434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
14435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14437 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14438 if (PyErr_Occurred()) SWIG_fail;
14439 {
14440 PyThreadState* __tstate = wxPyBeginAllowThreads();
14441 result = (bool)(arg1)->RemovePage(arg2);
14442
14443 wxPyEndAllowThreads(__tstate);
14444 if (PyErr_Occurred()) SWIG_fail;
14445 }
14446 {
14447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14448 }
14449 return resultobj;
14450 fail:
14451 return NULL;
14452}
14453
14454
14455static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
14456 PyObject *resultobj;
14457 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14458 bool result;
14459 PyObject * obj0 = 0 ;
14460 char *kwnames[] = {
14461 (char *) "self", NULL
14462 };
14463
14464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
14465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14467 {
14468 PyThreadState* __tstate = wxPyBeginAllowThreads();
14469 result = (bool)(arg1)->DeleteAllPages();
14470
14471 wxPyEndAllowThreads(__tstate);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 }
14474 {
14475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14476 }
14477 return resultobj;
14478 fail:
14479 return NULL;
14480}
14481
14482
14483static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14484 PyObject *resultobj;
14485 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14486 wxWindow *arg2 = (wxWindow *) 0 ;
14487 wxString *arg3 = 0 ;
14488 bool arg4 = (bool) False ;
14489 int arg5 = (int) -1 ;
14490 bool result;
14491 bool temp3 = False ;
14492 PyObject * obj0 = 0 ;
14493 PyObject * obj1 = 0 ;
14494 PyObject * obj2 = 0 ;
14495 PyObject * obj3 = 0 ;
14496 PyObject * obj4 = 0 ;
14497 char *kwnames[] = {
14498 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14499 };
14500
14501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14504 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
14505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14506 {
14507 arg3 = wxString_in_helper(obj2);
14508 if (arg3 == NULL) SWIG_fail;
14509 temp3 = True;
14510 }
14511 if (obj3) {
14512 arg4 = (bool) SWIG_AsBool(obj3);
14513 if (PyErr_Occurred()) SWIG_fail;
14514 }
14515 if (obj4) {
14516 arg5 = (int) SWIG_AsInt(obj4);
14517 if (PyErr_Occurred()) SWIG_fail;
14518 }
14519 {
14520 PyThreadState* __tstate = wxPyBeginAllowThreads();
14521 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
14522
14523 wxPyEndAllowThreads(__tstate);
14524 if (PyErr_Occurred()) SWIG_fail;
14525 }
14526 {
14527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14528 }
14529 {
14530 if (temp3)
14531 delete arg3;
14532 }
14533 return resultobj;
14534 fail:
14535 {
14536 if (temp3)
14537 delete arg3;
14538 }
14539 return NULL;
14540}
14541
14542
14543static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14544 PyObject *resultobj;
14545 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14546 size_t arg2 ;
14547 wxWindow *arg3 = (wxWindow *) 0 ;
14548 wxString *arg4 = 0 ;
14549 bool arg5 = (bool) False ;
14550 int arg6 = (int) -1 ;
14551 bool result;
14552 bool temp4 = False ;
14553 PyObject * obj0 = 0 ;
14554 PyObject * obj1 = 0 ;
14555 PyObject * obj2 = 0 ;
14556 PyObject * obj3 = 0 ;
14557 PyObject * obj4 = 0 ;
14558 PyObject * obj5 = 0 ;
14559 char *kwnames[] = {
14560 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14561 };
14562
14563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14566 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14567 if (PyErr_Occurred()) SWIG_fail;
14568 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
14569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14570 {
14571 arg4 = wxString_in_helper(obj3);
14572 if (arg4 == NULL) SWIG_fail;
14573 temp4 = True;
14574 }
14575 if (obj4) {
14576 arg5 = (bool) SWIG_AsBool(obj4);
14577 if (PyErr_Occurred()) SWIG_fail;
14578 }
14579 if (obj5) {
14580 arg6 = (int) SWIG_AsInt(obj5);
14581 if (PyErr_Occurred()) SWIG_fail;
14582 }
14583 {
14584 PyThreadState* __tstate = wxPyBeginAllowThreads();
14585 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
14586
14587 wxPyEndAllowThreads(__tstate);
14588 if (PyErr_Occurred()) SWIG_fail;
14589 }
14590 {
14591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14592 }
14593 {
14594 if (temp4)
14595 delete arg4;
14596 }
14597 return resultobj;
14598 fail:
14599 {
14600 if (temp4)
14601 delete arg4;
14602 }
14603 return NULL;
14604}
14605
14606
14607static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14608 PyObject *resultobj;
14609 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14610 size_t arg2 ;
14611 int result;
14612 PyObject * obj0 = 0 ;
14613 PyObject * obj1 = 0 ;
14614 char *kwnames[] = {
14615 (char *) "self",(char *) "n", NULL
14616 };
14617
14618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14621 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
14622 if (PyErr_Occurred()) SWIG_fail;
14623 {
14624 PyThreadState* __tstate = wxPyBeginAllowThreads();
14625 result = (int)(arg1)->SetSelection(arg2);
14626
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
14630 resultobj = SWIG_FromInt((int)result);
14631 return resultobj;
14632 fail:
14633 return NULL;
14634}
14635
14636
14637static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14640 bool arg2 = (bool) True ;
14641 PyObject * obj0 = 0 ;
14642 PyObject * obj1 = 0 ;
14643 char *kwnames[] = {
14644 (char *) "self",(char *) "forward", NULL
14645 };
14646
14647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
14648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
14649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14650 if (obj1) {
14651 arg2 = (bool) SWIG_AsBool(obj1);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 }
14654 {
14655 PyThreadState* __tstate = wxPyBeginAllowThreads();
14656 (arg1)->AdvanceSelection(arg2);
14657
14658 wxPyEndAllowThreads(__tstate);
14659 if (PyErr_Occurred()) SWIG_fail;
14660 }
14661 Py_INCREF(Py_None); resultobj = Py_None;
14662 return resultobj;
14663 fail:
14664 return NULL;
14665}
14666
14667
f20a2e1f
RD
14668static PyObject *_wrap_BookCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
14669 PyObject *resultobj;
14670 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
14671 wxVisualAttributes result;
14672 PyObject * obj0 = 0 ;
14673 char *kwnames[] = {
14674 (char *) "variant", NULL
14675 };
14676
14677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
14678 if (obj0) {
14679 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
14680 if (PyErr_Occurred()) SWIG_fail;
14681 }
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 {
14690 wxVisualAttributes * resultptr;
14691 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
14692 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
14693 }
14694 return resultobj;
14695 fail:
14696 return NULL;
14697}
14698
14699
d55e5bfc
RD
14700static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
14701 PyObject *obj;
14702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14703 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
14704 Py_INCREF(obj);
14705 return Py_BuildValue((char *)"");
14706}
14707static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14708 PyObject *resultobj;
14709 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14710 int arg2 = (int) 0 ;
14711 int arg3 = (int) -1 ;
14712 int arg4 = (int) -1 ;
14713 wxBookCtrlEvent *result;
14714 PyObject * obj0 = 0 ;
14715 PyObject * obj1 = 0 ;
14716 PyObject * obj2 = 0 ;
14717 PyObject * obj3 = 0 ;
14718 char *kwnames[] = {
14719 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14720 };
14721
14722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14723 if (obj0) {
14724 arg1 = (wxEventType) SWIG_AsInt(obj0);
14725 if (PyErr_Occurred()) SWIG_fail;
14726 }
14727 if (obj1) {
14728 arg2 = (int) SWIG_AsInt(obj1);
14729 if (PyErr_Occurred()) SWIG_fail;
14730 }
14731 if (obj2) {
14732 arg3 = (int) SWIG_AsInt(obj2);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 if (obj3) {
14736 arg4 = (int) SWIG_AsInt(obj3);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 {
14740 PyThreadState* __tstate = wxPyBeginAllowThreads();
14741 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
14742
14743 wxPyEndAllowThreads(__tstate);
14744 if (PyErr_Occurred()) SWIG_fail;
14745 }
14746 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlEvent, 1);
14747 return resultobj;
14748 fail:
14749 return NULL;
14750}
14751
14752
14753static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14754 PyObject *resultobj;
14755 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14756 int result;
14757 PyObject * obj0 = 0 ;
14758 char *kwnames[] = {
14759 (char *) "self", NULL
14760 };
14761
14762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
14763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14765 {
14766 PyThreadState* __tstate = wxPyBeginAllowThreads();
14767 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
14768
14769 wxPyEndAllowThreads(__tstate);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 resultobj = SWIG_FromInt((int)result);
14773 return resultobj;
14774 fail:
14775 return NULL;
14776}
14777
14778
14779static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14782 int arg2 ;
14783 PyObject * obj0 = 0 ;
14784 PyObject * obj1 = 0 ;
14785 char *kwnames[] = {
14786 (char *) "self",(char *) "nSel", NULL
14787 };
14788
14789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
14790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14792 arg2 = (int) SWIG_AsInt(obj1);
14793 if (PyErr_Occurred()) SWIG_fail;
14794 {
14795 PyThreadState* __tstate = wxPyBeginAllowThreads();
14796 (arg1)->SetSelection(arg2);
14797
14798 wxPyEndAllowThreads(__tstate);
14799 if (PyErr_Occurred()) SWIG_fail;
14800 }
14801 Py_INCREF(Py_None); resultobj = Py_None;
14802 return resultobj;
14803 fail:
14804 return NULL;
14805}
14806
14807
14808static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14809 PyObject *resultobj;
14810 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14811 int result;
14812 PyObject * obj0 = 0 ;
14813 char *kwnames[] = {
14814 (char *) "self", NULL
14815 };
14816
14817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
14818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 resultobj = SWIG_FromInt((int)result);
14828 return resultobj;
14829 fail:
14830 return NULL;
14831}
14832
14833
14834static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
14835 PyObject *resultobj;
14836 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
14837 int arg2 ;
14838 PyObject * obj0 = 0 ;
14839 PyObject * obj1 = 0 ;
14840 char *kwnames[] = {
14841 (char *) "self",(char *) "nOldSel", NULL
14842 };
14843
14844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
14845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlEvent,
14846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14847 arg2 = (int) SWIG_AsInt(obj1);
14848 if (PyErr_Occurred()) SWIG_fail;
14849 {
14850 PyThreadState* __tstate = wxPyBeginAllowThreads();
14851 (arg1)->SetOldSelection(arg2);
14852
14853 wxPyEndAllowThreads(__tstate);
14854 if (PyErr_Occurred()) SWIG_fail;
14855 }
14856 Py_INCREF(Py_None); resultobj = Py_None;
14857 return resultobj;
14858 fail:
14859 return NULL;
14860}
14861
14862
14863static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
14864 PyObject *obj;
14865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14866 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
14867 Py_INCREF(obj);
14868 return Py_BuildValue((char *)"");
14869}
14870static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14871 PyObject *resultobj;
14872 wxWindow *arg1 = (wxWindow *) 0 ;
14873 int arg2 = (int) -1 ;
14874 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14875 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14876 wxSize const &arg4_defvalue = wxDefaultSize ;
14877 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14878 long arg5 = (long) 0 ;
14879 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
14880 wxString *arg6 = (wxString *) &arg6_defvalue ;
14881 wxNotebook *result;
14882 wxPoint temp3 ;
14883 wxSize temp4 ;
14884 bool temp6 = False ;
14885 PyObject * obj0 = 0 ;
14886 PyObject * obj1 = 0 ;
14887 PyObject * obj2 = 0 ;
14888 PyObject * obj3 = 0 ;
14889 PyObject * obj4 = 0 ;
14890 PyObject * obj5 = 0 ;
14891 char *kwnames[] = {
14892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14893 };
14894
14895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
14897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14898 if (obj1) {
14899 arg2 = (int) SWIG_AsInt(obj1);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 if (obj2) {
14903 {
14904 arg3 = &temp3;
14905 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14906 }
14907 }
14908 if (obj3) {
14909 {
14910 arg4 = &temp4;
14911 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14912 }
14913 }
14914 if (obj4) {
14915 arg5 = (long) SWIG_AsLong(obj4);
14916 if (PyErr_Occurred()) SWIG_fail;
14917 }
14918 if (obj5) {
14919 {
14920 arg6 = wxString_in_helper(obj5);
14921 if (arg6 == NULL) SWIG_fail;
14922 temp6 = True;
14923 }
14924 }
14925 {
14926 PyThreadState* __tstate = wxPyBeginAllowThreads();
14927 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14928
14929 wxPyEndAllowThreads(__tstate);
14930 if (PyErr_Occurred()) SWIG_fail;
14931 }
14932 {
14933 resultobj = wxPyMake_wxObject(result);
14934 }
14935 {
14936 if (temp6)
14937 delete arg6;
14938 }
14939 return resultobj;
14940 fail:
14941 {
14942 if (temp6)
14943 delete arg6;
14944 }
14945 return NULL;
14946}
14947
14948
14949static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14950 PyObject *resultobj;
14951 wxNotebook *result;
14952 char *kwnames[] = {
14953 NULL
14954 };
14955
14956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
14957 {
14958 PyThreadState* __tstate = wxPyBeginAllowThreads();
14959 result = (wxNotebook *)new wxNotebook();
14960
14961 wxPyEndAllowThreads(__tstate);
14962 if (PyErr_Occurred()) SWIG_fail;
14963 }
14964 {
14965 resultobj = wxPyMake_wxObject(result);
14966 }
14967 return resultobj;
14968 fail:
14969 return NULL;
14970}
14971
14972
14973static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14974 PyObject *resultobj;
14975 wxNotebook *arg1 = (wxNotebook *) 0 ;
14976 wxWindow *arg2 = (wxWindow *) 0 ;
14977 int arg3 ;
14978 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14979 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14980 wxSize const &arg5_defvalue = wxDefaultSize ;
14981 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14982 long arg6 = (long) 0 ;
14983 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14984 wxString *arg7 = (wxString *) &arg7_defvalue ;
14985 bool result;
14986 wxPoint temp4 ;
14987 wxSize temp5 ;
14988 bool temp7 = False ;
14989 PyObject * obj0 = 0 ;
14990 PyObject * obj1 = 0 ;
14991 PyObject * obj2 = 0 ;
14992 PyObject * obj3 = 0 ;
14993 PyObject * obj4 = 0 ;
14994 PyObject * obj5 = 0 ;
14995 PyObject * obj6 = 0 ;
14996 char *kwnames[] = {
14997 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14998 };
14999
15000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15003 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15005 arg3 = (int) SWIG_AsInt(obj2);
15006 if (PyErr_Occurred()) SWIG_fail;
15007 if (obj3) {
15008 {
15009 arg4 = &temp4;
15010 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15011 }
15012 }
15013 if (obj4) {
15014 {
15015 arg5 = &temp5;
15016 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15017 }
15018 }
15019 if (obj5) {
15020 arg6 = (long) SWIG_AsLong(obj5);
15021 if (PyErr_Occurred()) SWIG_fail;
15022 }
15023 if (obj6) {
15024 {
15025 arg7 = wxString_in_helper(obj6);
15026 if (arg7 == NULL) SWIG_fail;
15027 temp7 = True;
15028 }
15029 }
15030 {
15031 PyThreadState* __tstate = wxPyBeginAllowThreads();
15032 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15033
15034 wxPyEndAllowThreads(__tstate);
15035 if (PyErr_Occurred()) SWIG_fail;
15036 }
15037 {
15038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15039 }
15040 {
15041 if (temp7)
15042 delete arg7;
15043 }
15044 return resultobj;
15045 fail:
15046 {
15047 if (temp7)
15048 delete arg7;
15049 }
15050 return NULL;
15051}
15052
15053
15054static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
15055 PyObject *resultobj;
15056 wxNotebook *arg1 = (wxNotebook *) 0 ;
15057 int result;
15058 PyObject * obj0 = 0 ;
15059 char *kwnames[] = {
15060 (char *) "self", NULL
15061 };
15062
15063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
15064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15066 {
15067 PyThreadState* __tstate = wxPyBeginAllowThreads();
15068 result = (int)((wxNotebook const *)arg1)->GetRowCount();
15069
15070 wxPyEndAllowThreads(__tstate);
15071 if (PyErr_Occurred()) SWIG_fail;
15072 }
15073 resultobj = SWIG_FromInt((int)result);
15074 return resultobj;
15075 fail:
15076 return NULL;
15077}
15078
15079
15080static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
15081 PyObject *resultobj;
15082 wxNotebook *arg1 = (wxNotebook *) 0 ;
15083 wxSize *arg2 = 0 ;
15084 wxSize temp2 ;
15085 PyObject * obj0 = 0 ;
15086 PyObject * obj1 = 0 ;
15087 char *kwnames[] = {
15088 (char *) "self",(char *) "padding", NULL
15089 };
15090
15091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
15092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15094 {
15095 arg2 = &temp2;
15096 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15097 }
15098 {
15099 PyThreadState* __tstate = wxPyBeginAllowThreads();
15100 (arg1)->SetPadding((wxSize const &)*arg2);
15101
15102 wxPyEndAllowThreads(__tstate);
15103 if (PyErr_Occurred()) SWIG_fail;
15104 }
15105 Py_INCREF(Py_None); resultobj = Py_None;
15106 return resultobj;
15107 fail:
15108 return NULL;
15109}
15110
15111
15112static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15113 PyObject *resultobj;
15114 wxNotebook *arg1 = (wxNotebook *) 0 ;
15115 wxSize *arg2 = 0 ;
15116 wxSize temp2 ;
15117 PyObject * obj0 = 0 ;
15118 PyObject * obj1 = 0 ;
15119 char *kwnames[] = {
15120 (char *) "self",(char *) "sz", NULL
15121 };
15122
15123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
15124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15126 {
15127 arg2 = &temp2;
15128 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15129 }
15130 {
15131 PyThreadState* __tstate = wxPyBeginAllowThreads();
15132 (arg1)->SetTabSize((wxSize const &)*arg2);
15133
15134 wxPyEndAllowThreads(__tstate);
15135 if (PyErr_Occurred()) SWIG_fail;
15136 }
15137 Py_INCREF(Py_None); resultobj = Py_None;
15138 return resultobj;
15139 fail:
15140 return NULL;
15141}
15142
15143
15144static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
15145 PyObject *resultobj;
15146 wxNotebook *arg1 = (wxNotebook *) 0 ;
15147 wxPoint *arg2 = 0 ;
15148 long *arg3 = (long *) 0 ;
15149 int result;
15150 wxPoint temp2 ;
15151 long temp3 ;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 char *kwnames[] = {
15155 (char *) "self",(char *) "pt", NULL
15156 };
15157
15158 arg3 = &temp3;
15159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
15160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15162 {
15163 arg2 = &temp2;
15164 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
15165 }
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
15169
15170 wxPyEndAllowThreads(__tstate);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
15173 resultobj = SWIG_FromInt((int)result);
15174 {
15175 PyObject *o = PyInt_FromLong((long) (*arg3));
15176 resultobj = t_output_helper(resultobj,o);
15177 }
15178 return resultobj;
15179 fail:
15180 return NULL;
15181}
15182
15183
15184static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
15185 PyObject *resultobj;
15186 wxNotebook *arg1 = (wxNotebook *) 0 ;
15187 wxSize *arg2 = 0 ;
15188 wxSize result;
15189 wxSize temp2 ;
15190 PyObject * obj0 = 0 ;
15191 PyObject * obj1 = 0 ;
15192 char *kwnames[] = {
15193 (char *) "self",(char *) "sizePage", NULL
15194 };
15195
15196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
15197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15199 {
15200 arg2 = &temp2;
15201 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15202 }
15203 {
15204 PyThreadState* __tstate = wxPyBeginAllowThreads();
15205 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
15206
15207 wxPyEndAllowThreads(__tstate);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 {
15211 wxSize * resultptr;
15212 resultptr = new wxSize((wxSize &) result);
15213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15214 }
15215 return resultobj;
15216 fail:
15217 return NULL;
15218}
15219
15220
15221static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
15222 PyObject *resultobj;
15223 wxNotebook *arg1 = (wxNotebook *) 0 ;
15224 wxWindow *arg2 = (wxWindow *) 0 ;
15225 wxColour *arg3 = 0 ;
15226 wxColour temp3 ;
15227 PyObject * obj0 = 0 ;
15228 PyObject * obj1 = 0 ;
15229 PyObject * obj2 = 0 ;
15230 char *kwnames[] = {
15231 (char *) "self",(char *) "window",(char *) "colour", NULL
15232 };
15233
15234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
15235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15237 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15239 {
15240 arg3 = &temp3;
15241 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
15242 }
15243 {
15244 PyThreadState* __tstate = wxPyBeginAllowThreads();
15245 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
15246
15247 wxPyEndAllowThreads(__tstate);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
15250 Py_INCREF(Py_None); resultobj = Py_None;
15251 return resultobj;
15252 fail:
15253 return NULL;
15254}
15255
15256
f20a2e1f
RD
15257static PyObject *_wrap_Notebook_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15258 PyObject *resultobj;
15259 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
15260 wxVisualAttributes result;
15261 PyObject * obj0 = 0 ;
15262 char *kwnames[] = {
15263 (char *) "variant", NULL
15264 };
15265
15266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
15267 if (obj0) {
15268 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
15269 if (PyErr_Occurred()) SWIG_fail;
15270 }
15271 {
15272 PyThreadState* __tstate = wxPyBeginAllowThreads();
15273 result = wxNotebook::GetClassDefaultAttributes((wxWindowVariant )arg1);
15274
15275 wxPyEndAllowThreads(__tstate);
15276 if (PyErr_Occurred()) SWIG_fail;
15277 }
15278 {
15279 wxVisualAttributes * resultptr;
15280 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
15281 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
15282 }
15283 return resultobj;
15284 fail:
15285 return NULL;
15286}
15287
15288
d55e5bfc
RD
15289static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
15290 PyObject *obj;
15291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15292 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
15293 Py_INCREF(obj);
15294 return Py_BuildValue((char *)"");
15295}
15296static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15297 PyObject *resultobj;
15298 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15299 int arg2 = (int) 0 ;
15300 int arg3 = (int) -1 ;
15301 int arg4 = (int) -1 ;
15302 wxNotebookEvent *result;
15303 PyObject * obj0 = 0 ;
15304 PyObject * obj1 = 0 ;
15305 PyObject * obj2 = 0 ;
15306 PyObject * obj3 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15312 if (obj0) {
15313 arg1 = (wxEventType) SWIG_AsInt(obj0);
15314 if (PyErr_Occurred()) SWIG_fail;
15315 }
15316 if (obj1) {
15317 arg2 = (int) SWIG_AsInt(obj1);
15318 if (PyErr_Occurred()) SWIG_fail;
15319 }
15320 if (obj2) {
15321 arg3 = (int) SWIG_AsInt(obj2);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
15324 if (obj3) {
15325 arg4 = (int) SWIG_AsInt(obj3);
15326 if (PyErr_Occurred()) SWIG_fail;
15327 }
15328 {
15329 PyThreadState* __tstate = wxPyBeginAllowThreads();
15330 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
15331
15332 wxPyEndAllowThreads(__tstate);
15333 if (PyErr_Occurred()) SWIG_fail;
15334 }
15335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookEvent, 1);
15336 return resultobj;
15337 fail:
15338 return NULL;
15339}
15340
15341
15342static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
15343 PyObject *obj;
15344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15345 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
15346 Py_INCREF(obj);
15347 return Py_BuildValue((char *)"");
15348}
15349static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15350 PyObject *resultobj;
15351 wxWindow *arg1 = (wxWindow *) 0 ;
15352 int arg2 = (int) -1 ;
15353 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15354 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15355 wxSize const &arg4_defvalue = wxDefaultSize ;
15356 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15357 long arg5 = (long) 0 ;
15358 wxString const &arg6_defvalue = wxPyEmptyString ;
15359 wxString *arg6 = (wxString *) &arg6_defvalue ;
15360 wxListbook *result;
15361 wxPoint temp3 ;
15362 wxSize temp4 ;
15363 bool temp6 = False ;
15364 PyObject * obj0 = 0 ;
15365 PyObject * obj1 = 0 ;
15366 PyObject * obj2 = 0 ;
15367 PyObject * obj3 = 0 ;
15368 PyObject * obj4 = 0 ;
15369 PyObject * obj5 = 0 ;
15370 char *kwnames[] = {
15371 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15372 };
15373
15374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
15376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15377 if (obj1) {
15378 arg2 = (int) SWIG_AsInt(obj1);
15379 if (PyErr_Occurred()) SWIG_fail;
15380 }
15381 if (obj2) {
15382 {
15383 arg3 = &temp3;
15384 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15385 }
15386 }
15387 if (obj3) {
15388 {
15389 arg4 = &temp4;
15390 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15391 }
15392 }
15393 if (obj4) {
15394 arg5 = (long) SWIG_AsLong(obj4);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 if (obj5) {
15398 {
15399 arg6 = wxString_in_helper(obj5);
15400 if (arg6 == NULL) SWIG_fail;
15401 temp6 = True;
15402 }
15403 }
15404 {
15405 PyThreadState* __tstate = wxPyBeginAllowThreads();
15406 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15407
15408 wxPyEndAllowThreads(__tstate);
15409 if (PyErr_Occurred()) SWIG_fail;
15410 }
15411 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15412 {
15413 if (temp6)
15414 delete arg6;
15415 }
15416 return resultobj;
15417 fail:
15418 {
15419 if (temp6)
15420 delete arg6;
15421 }
15422 return NULL;
15423}
15424
15425
15426static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
15427 PyObject *resultobj;
15428 wxListbook *result;
15429 char *kwnames[] = {
15430 NULL
15431 };
15432
15433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
15434 {
15435 PyThreadState* __tstate = wxPyBeginAllowThreads();
15436 result = (wxListbook *)new wxListbook();
15437
15438 wxPyEndAllowThreads(__tstate);
15439 if (PyErr_Occurred()) SWIG_fail;
15440 }
15441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbook, 1);
15442 return resultobj;
15443 fail:
15444 return NULL;
15445}
15446
15447
15448static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15449 PyObject *resultobj;
15450 wxListbook *arg1 = (wxListbook *) 0 ;
15451 wxWindow *arg2 = (wxWindow *) 0 ;
15452 int arg3 ;
15453 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15454 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15455 wxSize const &arg5_defvalue = wxDefaultSize ;
15456 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15457 long arg6 = (long) 0 ;
15458 wxString const &arg7_defvalue = wxPyEmptyString ;
15459 wxString *arg7 = (wxString *) &arg7_defvalue ;
15460 bool result;
15461 wxPoint temp4 ;
15462 wxSize temp5 ;
15463 bool temp7 = False ;
15464 PyObject * obj0 = 0 ;
15465 PyObject * obj1 = 0 ;
15466 PyObject * obj2 = 0 ;
15467 PyObject * obj3 = 0 ;
15468 PyObject * obj4 = 0 ;
15469 PyObject * obj5 = 0 ;
15470 PyObject * obj6 = 0 ;
15471 char *kwnames[] = {
15472 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15473 };
15474
15475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15478 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
15479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15480 arg3 = (int) SWIG_AsInt(obj2);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 if (obj3) {
15483 {
15484 arg4 = &temp4;
15485 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15486 }
15487 }
15488 if (obj4) {
15489 {
15490 arg5 = &temp5;
15491 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15492 }
15493 }
15494 if (obj5) {
15495 arg6 = (long) SWIG_AsLong(obj5);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
15498 if (obj6) {
15499 {
15500 arg7 = wxString_in_helper(obj6);
15501 if (arg7 == NULL) SWIG_fail;
15502 temp7 = True;
15503 }
15504 }
15505 {
15506 PyThreadState* __tstate = wxPyBeginAllowThreads();
15507 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15508
15509 wxPyEndAllowThreads(__tstate);
15510 if (PyErr_Occurred()) SWIG_fail;
15511 }
15512 {
15513 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15514 }
15515 {
15516 if (temp7)
15517 delete arg7;
15518 }
15519 return resultobj;
15520 fail:
15521 {
15522 if (temp7)
15523 delete arg7;
15524 }
15525 return NULL;
15526}
15527
15528
15529static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15530 PyObject *resultobj;
15531 wxListbook *arg1 = (wxListbook *) 0 ;
15532 bool result;
15533 PyObject * obj0 = 0 ;
15534 char *kwnames[] = {
15535 (char *) "self", NULL
15536 };
15537
15538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
15539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListbook,
15540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15541 {
15542 PyThreadState* __tstate = wxPyBeginAllowThreads();
15543 result = (bool)((wxListbook const *)arg1)->IsVertical();
15544
15545 wxPyEndAllowThreads(__tstate);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
15548 {
15549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15550 }
15551 return resultobj;
15552 fail:
15553 return NULL;
15554}
15555
15556
15557static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
15558 PyObject *obj;
15559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15560 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
15561 Py_INCREF(obj);
15562 return Py_BuildValue((char *)"");
15563}
15564static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15565 PyObject *resultobj;
15566 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15567 int arg2 = (int) 0 ;
15568 int arg3 = (int) -1 ;
15569 int arg4 = (int) -1 ;
15570 wxListbookEvent *result;
15571 PyObject * obj0 = 0 ;
15572 PyObject * obj1 = 0 ;
15573 PyObject * obj2 = 0 ;
15574 PyObject * obj3 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15580 if (obj0) {
15581 arg1 = (wxEventType) SWIG_AsInt(obj0);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 if (obj1) {
15585 arg2 = (int) SWIG_AsInt(obj1);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 if (obj2) {
15589 arg3 = (int) SWIG_AsInt(obj2);
15590 if (PyErr_Occurred()) SWIG_fail;
15591 }
15592 if (obj3) {
15593 arg4 = (int) SWIG_AsInt(obj3);
15594 if (PyErr_Occurred()) SWIG_fail;
15595 }
15596 {
15597 PyThreadState* __tstate = wxPyBeginAllowThreads();
15598 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
15599
15600 wxPyEndAllowThreads(__tstate);
15601 if (PyErr_Occurred()) SWIG_fail;
15602 }
15603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListbookEvent, 1);
15604 return resultobj;
15605 fail:
15606 return NULL;
15607}
15608
15609
15610static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
15611 PyObject *obj;
15612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15613 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
15614 Py_INCREF(obj);
15615 return Py_BuildValue((char *)"");
15616}
15617static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15618 PyObject *resultobj;
15619 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
15620 wxBookCtrlSizer *result;
15621 PyObject * obj0 = 0 ;
15622 char *kwnames[] = {
15623 (char *) "nb", NULL
15624 };
15625
15626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
15627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrl,
15628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15629 {
15630 PyThreadState* __tstate = wxPyBeginAllowThreads();
15631 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
15632
15633 wxPyEndAllowThreads(__tstate);
15634 if (PyErr_Occurred()) SWIG_fail;
15635 }
15636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrlSizer, 1);
15637 return resultobj;
15638 fail:
15639 return NULL;
15640}
15641
15642
15643static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15644 PyObject *resultobj;
15645 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15646 PyObject * obj0 = 0 ;
15647 char *kwnames[] = {
15648 (char *) "self", NULL
15649 };
15650
15651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15654 {
15655 PyThreadState* __tstate = wxPyBeginAllowThreads();
15656 (arg1)->RecalcSizes();
15657
15658 wxPyEndAllowThreads(__tstate);
15659 if (PyErr_Occurred()) SWIG_fail;
15660 }
15661 Py_INCREF(Py_None); resultobj = Py_None;
15662 return resultobj;
15663 fail:
15664 return NULL;
15665}
15666
15667
15668static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15669 PyObject *resultobj;
15670 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15671 wxSize result;
15672 PyObject * obj0 = 0 ;
15673 char *kwnames[] = {
15674 (char *) "self", NULL
15675 };
15676
15677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
15678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15680 {
15681 PyThreadState* __tstate = wxPyBeginAllowThreads();
15682 result = (arg1)->CalcMin();
15683
15684 wxPyEndAllowThreads(__tstate);
15685 if (PyErr_Occurred()) SWIG_fail;
15686 }
15687 {
15688 wxSize * resultptr;
15689 resultptr = new wxSize((wxSize &) result);
15690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15691 }
15692 return resultobj;
15693 fail:
15694 return NULL;
15695}
15696
15697
15698static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15699 PyObject *resultobj;
15700 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
15701 wxBookCtrl *result;
15702 PyObject * obj0 = 0 ;
15703 char *kwnames[] = {
15704 (char *) "self", NULL
15705 };
15706
15707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
15708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBookCtrlSizer,
15709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15710 {
15711 PyThreadState* __tstate = wxPyBeginAllowThreads();
15712 result = (wxBookCtrl *)(arg1)->GetControl();
15713
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBookCtrl, 0);
15718 return resultobj;
15719 fail:
15720 return NULL;
15721}
15722
15723
15724static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
15725 PyObject *obj;
15726 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15727 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
15728 Py_INCREF(obj);
15729 return Py_BuildValue((char *)"");
15730}
15731static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
15732 PyObject *resultobj;
15733 wxNotebook *arg1 = (wxNotebook *) 0 ;
15734 wxNotebookSizer *result;
15735 PyObject * obj0 = 0 ;
15736 char *kwnames[] = {
15737 (char *) "nb", NULL
15738 };
15739
15740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
15741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebook,
15742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15743 {
15744 PyThreadState* __tstate = wxPyBeginAllowThreads();
15745 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
15746
15747 wxPyEndAllowThreads(__tstate);
15748 if (PyErr_Occurred()) SWIG_fail;
15749 }
15750 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotebookSizer, 1);
15751 return resultobj;
15752 fail:
15753 return NULL;
15754}
15755
15756
15757static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
15758 PyObject *resultobj;
15759 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15760 PyObject * obj0 = 0 ;
15761 char *kwnames[] = {
15762 (char *) "self", NULL
15763 };
15764
15765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15768 {
15769 PyThreadState* __tstate = wxPyBeginAllowThreads();
15770 (arg1)->RecalcSizes();
15771
15772 wxPyEndAllowThreads(__tstate);
15773 if (PyErr_Occurred()) SWIG_fail;
15774 }
15775 Py_INCREF(Py_None); resultobj = Py_None;
15776 return resultobj;
15777 fail:
15778 return NULL;
15779}
15780
15781
15782static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
15783 PyObject *resultobj;
15784 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15785 wxSize result;
15786 PyObject * obj0 = 0 ;
15787 char *kwnames[] = {
15788 (char *) "self", NULL
15789 };
15790
15791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
15792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15794 {
15795 PyThreadState* __tstate = wxPyBeginAllowThreads();
15796 result = (arg1)->CalcMin();
15797
15798 wxPyEndAllowThreads(__tstate);
15799 if (PyErr_Occurred()) SWIG_fail;
15800 }
15801 {
15802 wxSize * resultptr;
15803 resultptr = new wxSize((wxSize &) result);
15804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
15805 }
15806 return resultobj;
15807 fail:
15808 return NULL;
15809}
15810
15811
15812static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
15813 PyObject *resultobj;
15814 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
15815 wxNotebook *result;
15816 PyObject * obj0 = 0 ;
15817 char *kwnames[] = {
15818 (char *) "self", NULL
15819 };
15820
15821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
15822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotebookSizer,
15823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 result = (wxNotebook *)(arg1)->GetNotebook();
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 {
15832 resultobj = wxPyMake_wxObject(result);
15833 }
15834 return resultobj;
15835 fail:
15836 return NULL;
15837}
15838
15839
15840static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
15841 PyObject *obj;
15842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15843 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
15844 Py_INCREF(obj);
15845 return Py_BuildValue((char *)"");
15846}
15847static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15848 PyObject *resultobj;
15849 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15850 int result;
15851 PyObject * obj0 = 0 ;
15852 char *kwnames[] = {
15853 (char *) "self", NULL
15854 };
15855
15856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
15857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15859 {
15860 PyThreadState* __tstate = wxPyBeginAllowThreads();
15861 result = (int)(arg1)->GetId();
15862
15863 wxPyEndAllowThreads(__tstate);
15864 if (PyErr_Occurred()) SWIG_fail;
15865 }
15866 resultobj = SWIG_FromInt((int)result);
15867 return resultobj;
15868 fail:
15869 return NULL;
15870}
15871
15872
15873static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15876 wxControl *result;
15877 PyObject * obj0 = 0 ;
15878 char *kwnames[] = {
15879 (char *) "self", NULL
15880 };
15881
15882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
15883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15885 {
15886 PyThreadState* __tstate = wxPyBeginAllowThreads();
15887 result = (wxControl *)(arg1)->GetControl();
15888
15889 wxPyEndAllowThreads(__tstate);
15890 if (PyErr_Occurred()) SWIG_fail;
15891 }
15892 {
15893 resultobj = wxPyMake_wxObject(result);
15894 }
15895 return resultobj;
15896 fail:
15897 return NULL;
15898}
15899
15900
15901static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15904 wxToolBarBase *result;
15905 PyObject * obj0 = 0 ;
15906 char *kwnames[] = {
15907 (char *) "self", NULL
15908 };
15909
15910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
15911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15913 {
15914 PyThreadState* __tstate = wxPyBeginAllowThreads();
15915 result = (wxToolBarBase *)(arg1)->GetToolBar();
15916
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 {
15921 resultobj = wxPyMake_wxObject(result);
15922 }
15923 return resultobj;
15924 fail:
15925 return NULL;
15926}
15927
15928
15929static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15932 int result;
15933 PyObject * obj0 = 0 ;
15934 char *kwnames[] = {
15935 (char *) "self", NULL
15936 };
15937
15938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
15939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15941 {
15942 PyThreadState* __tstate = wxPyBeginAllowThreads();
15943 result = (int)(arg1)->IsButton();
15944
15945 wxPyEndAllowThreads(__tstate);
15946 if (PyErr_Occurred()) SWIG_fail;
15947 }
15948 resultobj = SWIG_FromInt((int)result);
15949 return resultobj;
15950 fail:
15951 return NULL;
15952}
15953
15954
15955static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15956 PyObject *resultobj;
15957 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15958 int result;
15959 PyObject * obj0 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
15965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15967 {
15968 PyThreadState* __tstate = wxPyBeginAllowThreads();
15969 result = (int)(arg1)->IsControl();
15970
15971 wxPyEndAllowThreads(__tstate);
15972 if (PyErr_Occurred()) SWIG_fail;
15973 }
15974 resultobj = SWIG_FromInt((int)result);
15975 return resultobj;
15976 fail:
15977 return NULL;
15978}
15979
15980
15981static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
15982 PyObject *resultobj;
15983 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15984 int result;
15985 PyObject * obj0 = 0 ;
15986 char *kwnames[] = {
15987 (char *) "self", NULL
15988 };
15989
15990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
15991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
15992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15993 {
15994 PyThreadState* __tstate = wxPyBeginAllowThreads();
15995 result = (int)(arg1)->IsSeparator();
15996
15997 wxPyEndAllowThreads(__tstate);
15998 if (PyErr_Occurred()) SWIG_fail;
15999 }
16000 resultobj = SWIG_FromInt((int)result);
16001 return resultobj;
16002 fail:
16003 return NULL;
16004}
16005
16006
16007static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
16008 PyObject *resultobj;
16009 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16010 int result;
16011 PyObject * obj0 = 0 ;
16012 char *kwnames[] = {
16013 (char *) "self", NULL
16014 };
16015
16016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
16017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16019 {
16020 PyThreadState* __tstate = wxPyBeginAllowThreads();
16021 result = (int)(arg1)->GetStyle();
16022
16023 wxPyEndAllowThreads(__tstate);
16024 if (PyErr_Occurred()) SWIG_fail;
16025 }
16026 resultobj = SWIG_FromInt((int)result);
16027 return resultobj;
16028 fail:
16029 return NULL;
16030}
16031
16032
16033static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
16034 PyObject *resultobj;
16035 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16036 int result;
16037 PyObject * obj0 = 0 ;
16038 char *kwnames[] = {
16039 (char *) "self", NULL
16040 };
16041
16042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
16043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16045 {
16046 PyThreadState* __tstate = wxPyBeginAllowThreads();
16047 result = (int)(arg1)->GetKind();
16048
16049 wxPyEndAllowThreads(__tstate);
16050 if (PyErr_Occurred()) SWIG_fail;
16051 }
16052 resultobj = SWIG_FromInt((int)result);
16053 return resultobj;
16054 fail:
16055 return NULL;
16056}
16057
16058
16059static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16060 PyObject *resultobj;
16061 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16062 bool result;
16063 PyObject * obj0 = 0 ;
16064 char *kwnames[] = {
16065 (char *) "self", NULL
16066 };
16067
16068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
16069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16071 {
16072 PyThreadState* __tstate = wxPyBeginAllowThreads();
16073 result = (bool)(arg1)->IsEnabled();
16074
16075 wxPyEndAllowThreads(__tstate);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 }
16078 {
16079 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16080 }
16081 return resultobj;
16082 fail:
16083 return NULL;
16084}
16085
16086
16087static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16090 bool result;
16091 PyObject * obj0 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
16097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16099 {
16100 PyThreadState* __tstate = wxPyBeginAllowThreads();
16101 result = (bool)(arg1)->IsToggled();
16102
16103 wxPyEndAllowThreads(__tstate);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 }
16106 {
16107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16108 }
16109 return resultobj;
16110 fail:
16111 return NULL;
16112}
16113
16114
16115static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj;
16117 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16118 bool result;
16119 PyObject * obj0 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
16125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16127 {
16128 PyThreadState* __tstate = wxPyBeginAllowThreads();
16129 result = (bool)(arg1)->CanBeToggled();
16130
16131 wxPyEndAllowThreads(__tstate);
16132 if (PyErr_Occurred()) SWIG_fail;
16133 }
16134 {
16135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16136 }
16137 return resultobj;
16138 fail:
16139 return NULL;
16140}
16141
16142
16143static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16144 PyObject *resultobj;
16145 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16146 wxBitmap *result;
16147 PyObject * obj0 = 0 ;
16148 char *kwnames[] = {
16149 (char *) "self", NULL
16150 };
16151
16152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
16153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 {
16158 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
16159 result = (wxBitmap *) &_result_ref;
16160 }
16161
16162 wxPyEndAllowThreads(__tstate);
16163 if (PyErr_Occurred()) SWIG_fail;
16164 }
16165 {
16166 wxBitmap* resultptr = new wxBitmap(*result);
16167 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16168 }
16169 return resultobj;
16170 fail:
16171 return NULL;
16172}
16173
16174
16175static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16176 PyObject *resultobj;
16177 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16178 wxBitmap *result;
16179 PyObject * obj0 = 0 ;
16180 char *kwnames[] = {
16181 (char *) "self", NULL
16182 };
16183
16184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
16185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16187 {
16188 PyThreadState* __tstate = wxPyBeginAllowThreads();
16189 {
16190 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
16191 result = (wxBitmap *) &_result_ref;
16192 }
16193
16194 wxPyEndAllowThreads(__tstate);
16195 if (PyErr_Occurred()) SWIG_fail;
16196 }
16197 {
16198 wxBitmap* resultptr = new wxBitmap(*result);
16199 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16200 }
16201 return resultobj;
16202 fail:
16203 return NULL;
16204}
16205
16206
16207static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16208 PyObject *resultobj;
16209 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16210 wxBitmap result;
16211 PyObject * obj0 = 0 ;
16212 char *kwnames[] = {
16213 (char *) "self", NULL
16214 };
16215
16216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
16217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16219 {
16220 PyThreadState* __tstate = wxPyBeginAllowThreads();
16221 result = (arg1)->GetBitmap();
16222
16223 wxPyEndAllowThreads(__tstate);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 }
16226 {
16227 wxBitmap * resultptr;
16228 resultptr = new wxBitmap((wxBitmap &) result);
16229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
16230 }
16231 return resultobj;
16232 fail:
16233 return NULL;
16234}
16235
16236
16237static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16238 PyObject *resultobj;
16239 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16240 wxString result;
16241 PyObject * obj0 = 0 ;
16242 char *kwnames[] = {
16243 (char *) "self", NULL
16244 };
16245
16246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",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 = (arg1)->GetLabel();
16252
16253 wxPyEndAllowThreads(__tstate);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 {
16257#if wxUSE_UNICODE
16258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16259#else
16260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16261#endif
16262 }
16263 return resultobj;
16264 fail:
16265 return NULL;
16266}
16267
16268
16269static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16270 PyObject *resultobj;
16271 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16272 wxString result;
16273 PyObject * obj0 = 0 ;
16274 char *kwnames[] = {
16275 (char *) "self", NULL
16276 };
16277
16278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
16279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16281 {
16282 PyThreadState* __tstate = wxPyBeginAllowThreads();
16283 result = (arg1)->GetShortHelp();
16284
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 {
16289#if wxUSE_UNICODE
16290 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16291#else
16292 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16293#endif
16294 }
16295 return resultobj;
16296 fail:
16297 return NULL;
16298}
16299
16300
16301static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16302 PyObject *resultobj;
16303 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16304 wxString result;
16305 PyObject * obj0 = 0 ;
16306 char *kwnames[] = {
16307 (char *) "self", NULL
16308 };
16309
16310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
16311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16313 {
16314 PyThreadState* __tstate = wxPyBeginAllowThreads();
16315 result = (arg1)->GetLongHelp();
16316
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 {
16321#if wxUSE_UNICODE
16322 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16323#else
16324 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16325#endif
16326 }
16327 return resultobj;
16328 fail:
16329 return NULL;
16330}
16331
16332
16333static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
16334 PyObject *resultobj;
16335 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16336 bool arg2 ;
16337 bool result;
16338 PyObject * obj0 = 0 ;
16339 PyObject * obj1 = 0 ;
16340 char *kwnames[] = {
16341 (char *) "self",(char *) "enable", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
16345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16347 arg2 = (bool) SWIG_AsBool(obj1);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 {
16350 PyThreadState* __tstate = wxPyBeginAllowThreads();
16351 result = (bool)(arg1)->Enable(arg2);
16352
16353 wxPyEndAllowThreads(__tstate);
16354 if (PyErr_Occurred()) SWIG_fail;
16355 }
16356 {
16357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16358 }
16359 return resultobj;
16360 fail:
16361 return NULL;
16362}
16363
16364
16365static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16368 PyObject * obj0 = 0 ;
16369 char *kwnames[] = {
16370 (char *) "self", NULL
16371 };
16372
16373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
16374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16376 {
16377 PyThreadState* __tstate = wxPyBeginAllowThreads();
16378 (arg1)->Toggle();
16379
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 Py_INCREF(Py_None); resultobj = Py_None;
16384 return resultobj;
16385 fail:
16386 return NULL;
16387}
16388
16389
16390static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16391 PyObject *resultobj;
16392 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16393 bool arg2 ;
16394 bool result;
16395 PyObject * obj0 = 0 ;
16396 PyObject * obj1 = 0 ;
16397 char *kwnames[] = {
16398 (char *) "self",(char *) "toggle", NULL
16399 };
16400
16401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
16402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16404 arg2 = (bool) SWIG_AsBool(obj1);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 {
16407 PyThreadState* __tstate = wxPyBeginAllowThreads();
16408 result = (bool)(arg1)->SetToggle(arg2);
16409
16410 wxPyEndAllowThreads(__tstate);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 }
16413 {
16414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16415 }
16416 return resultobj;
16417 fail:
16418 return NULL;
16419}
16420
16421
16422static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16423 PyObject *resultobj;
16424 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16425 wxString *arg2 = 0 ;
16426 bool result;
16427 bool temp2 = False ;
16428 PyObject * obj0 = 0 ;
16429 PyObject * obj1 = 0 ;
16430 char *kwnames[] = {
16431 (char *) "self",(char *) "help", NULL
16432 };
16433
16434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
16435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16437 {
16438 arg2 = wxString_in_helper(obj1);
16439 if (arg2 == NULL) SWIG_fail;
16440 temp2 = True;
16441 }
16442 {
16443 PyThreadState* __tstate = wxPyBeginAllowThreads();
16444 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
16445
16446 wxPyEndAllowThreads(__tstate);
16447 if (PyErr_Occurred()) SWIG_fail;
16448 }
16449 {
16450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16451 }
16452 {
16453 if (temp2)
16454 delete arg2;
16455 }
16456 return resultobj;
16457 fail:
16458 {
16459 if (temp2)
16460 delete arg2;
16461 }
16462 return NULL;
16463}
16464
16465
16466static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16467 PyObject *resultobj;
16468 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16469 wxString *arg2 = 0 ;
16470 bool result;
16471 bool temp2 = False ;
16472 PyObject * obj0 = 0 ;
16473 PyObject * obj1 = 0 ;
16474 char *kwnames[] = {
16475 (char *) "self",(char *) "help", NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
16479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16481 {
16482 arg2 = wxString_in_helper(obj1);
16483 if (arg2 == NULL) SWIG_fail;
16484 temp2 = True;
16485 }
16486 {
16487 PyThreadState* __tstate = wxPyBeginAllowThreads();
16488 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
16489
16490 wxPyEndAllowThreads(__tstate);
16491 if (PyErr_Occurred()) SWIG_fail;
16492 }
16493 {
16494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16495 }
16496 {
16497 if (temp2)
16498 delete arg2;
16499 }
16500 return resultobj;
16501 fail:
16502 {
16503 if (temp2)
16504 delete arg2;
16505 }
16506 return NULL;
16507}
16508
16509
16510static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16511 PyObject *resultobj;
16512 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16513 wxBitmap *arg2 = 0 ;
16514 PyObject * obj0 = 0 ;
16515 PyObject * obj1 = 0 ;
16516 char *kwnames[] = {
16517 (char *) "self",(char *) "bmp", NULL
16518 };
16519
16520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
16521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16523 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16524 SWIG_POINTER_EXCEPTION | 0)) == -1)
16525 SWIG_fail;
16526 if (arg2 == NULL) {
16527 PyErr_SetString(PyExc_TypeError,"null reference");
16528 SWIG_fail;
16529 }
16530 {
16531 PyThreadState* __tstate = wxPyBeginAllowThreads();
16532 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
16533
16534 wxPyEndAllowThreads(__tstate);
16535 if (PyErr_Occurred()) SWIG_fail;
16536 }
16537 Py_INCREF(Py_None); resultobj = Py_None;
16538 return resultobj;
16539 fail:
16540 return NULL;
16541}
16542
16543
16544static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
16545 PyObject *resultobj;
16546 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16547 wxBitmap *arg2 = 0 ;
16548 PyObject * obj0 = 0 ;
16549 PyObject * obj1 = 0 ;
16550 char *kwnames[] = {
16551 (char *) "self",(char *) "bmp", NULL
16552 };
16553
16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
16555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16557 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
16558 SWIG_POINTER_EXCEPTION | 0)) == -1)
16559 SWIG_fail;
16560 if (arg2 == NULL) {
16561 PyErr_SetString(PyExc_TypeError,"null reference");
16562 SWIG_fail;
16563 }
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 Py_INCREF(Py_None); resultobj = Py_None;
16572 return resultobj;
16573 fail:
16574 return NULL;
16575}
16576
16577
16578static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16581 wxString *arg2 = 0 ;
16582 bool temp2 = False ;
16583 PyObject * obj0 = 0 ;
16584 PyObject * obj1 = 0 ;
16585 char *kwnames[] = {
16586 (char *) "self",(char *) "label", NULL
16587 };
16588
16589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
16590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16592 {
16593 arg2 = wxString_in_helper(obj1);
16594 if (arg2 == NULL) SWIG_fail;
16595 temp2 = True;
16596 }
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 (arg1)->SetLabel((wxString const &)*arg2);
16600
16601 wxPyEndAllowThreads(__tstate);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 Py_INCREF(Py_None); resultobj = Py_None;
16605 {
16606 if (temp2)
16607 delete arg2;
16608 }
16609 return resultobj;
16610 fail:
16611 {
16612 if (temp2)
16613 delete arg2;
16614 }
16615 return NULL;
16616}
16617
16618
16619static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
16620 PyObject *resultobj;
16621 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16622 PyObject * obj0 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
16628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16630 {
16631 PyThreadState* __tstate = wxPyBeginAllowThreads();
16632 (arg1)->Detach();
16633
16634 wxPyEndAllowThreads(__tstate);
16635 if (PyErr_Occurred()) SWIG_fail;
16636 }
16637 Py_INCREF(Py_None); resultobj = Py_None;
16638 return resultobj;
16639 fail:
16640 return NULL;
16641}
16642
16643
16644static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
16645 PyObject *resultobj;
16646 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16647 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
16648 PyObject * obj0 = 0 ;
16649 PyObject * obj1 = 0 ;
16650 char *kwnames[] = {
16651 (char *) "self",(char *) "tbar", NULL
16652 };
16653
16654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
16655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16657 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarBase,
16658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16659 {
16660 PyThreadState* __tstate = wxPyBeginAllowThreads();
16661 (arg1)->Attach(arg2);
16662
16663 wxPyEndAllowThreads(__tstate);
16664 if (PyErr_Occurred()) SWIG_fail;
16665 }
16666 Py_INCREF(Py_None); resultobj = Py_None;
16667 return resultobj;
16668 fail:
16669 return NULL;
16670}
16671
16672
16673static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16674 PyObject *resultobj;
16675 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16676 PyObject *result;
16677 PyObject * obj0 = 0 ;
16678 char *kwnames[] = {
16679 (char *) "self", NULL
16680 };
16681
16682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
16683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16685 {
16686 PyThreadState* __tstate = wxPyBeginAllowThreads();
16687 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
16688
16689 wxPyEndAllowThreads(__tstate);
16690 if (PyErr_Occurred()) SWIG_fail;
16691 }
16692 resultobj = result;
16693 return resultobj;
16694 fail:
16695 return NULL;
16696}
16697
16698
16699static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16700 PyObject *resultobj;
16701 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
16702 PyObject *arg2 = (PyObject *) 0 ;
16703 PyObject * obj0 = 0 ;
16704 PyObject * obj1 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "self",(char *) "clientData", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
16710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarToolBase,
16711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16712 arg2 = obj1;
16713 {
16714 PyThreadState* __tstate = wxPyBeginAllowThreads();
16715 wxToolBarToolBase_SetClientData(arg1,arg2);
16716
16717 wxPyEndAllowThreads(__tstate);
16718 if (PyErr_Occurred()) SWIG_fail;
16719 }
16720 Py_INCREF(Py_None); resultobj = Py_None;
16721 return resultobj;
16722 fail:
16723 return NULL;
16724}
16725
16726
16727static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
16728 PyObject *obj;
16729 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16730 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
16731 Py_INCREF(obj);
16732 return Py_BuildValue((char *)"");
16733}
16734static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16735 PyObject *resultobj;
16736 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16737 int arg2 ;
16738 wxString *arg3 = 0 ;
16739 wxBitmap *arg4 = 0 ;
16740 wxBitmap const &arg5_defvalue = wxNullBitmap ;
16741 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
16742 int arg6 = (int) wxITEM_NORMAL ;
16743 wxString const &arg7_defvalue = wxPyEmptyString ;
16744 wxString *arg7 = (wxString *) &arg7_defvalue ;
16745 wxString const &arg8_defvalue = wxPyEmptyString ;
16746 wxString *arg8 = (wxString *) &arg8_defvalue ;
16747 PyObject *arg9 = (PyObject *) NULL ;
16748 wxToolBarToolBase *result;
16749 bool temp3 = False ;
16750 bool temp7 = False ;
16751 bool temp8 = False ;
16752 PyObject * obj0 = 0 ;
16753 PyObject * obj1 = 0 ;
16754 PyObject * obj2 = 0 ;
16755 PyObject * obj3 = 0 ;
16756 PyObject * obj4 = 0 ;
16757 PyObject * obj5 = 0 ;
16758 PyObject * obj6 = 0 ;
16759 PyObject * obj7 = 0 ;
16760 PyObject * obj8 = 0 ;
16761 char *kwnames[] = {
16762 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16763 };
16764
16765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
16766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16768 arg2 = (int) SWIG_AsInt(obj1);
16769 if (PyErr_Occurred()) SWIG_fail;
16770 {
16771 arg3 = wxString_in_helper(obj2);
16772 if (arg3 == NULL) SWIG_fail;
16773 temp3 = True;
16774 }
16775 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxBitmap,
16776 SWIG_POINTER_EXCEPTION | 0)) == -1)
16777 SWIG_fail;
16778 if (arg4 == NULL) {
16779 PyErr_SetString(PyExc_TypeError,"null reference");
16780 SWIG_fail;
16781 }
16782 if (obj4) {
16783 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16784 SWIG_POINTER_EXCEPTION | 0)) == -1)
16785 SWIG_fail;
16786 if (arg5 == NULL) {
16787 PyErr_SetString(PyExc_TypeError,"null reference");
16788 SWIG_fail;
16789 }
16790 }
16791 if (obj5) {
16792 arg6 = (wxItemKind) SWIG_AsInt(obj5);
16793 if (PyErr_Occurred()) SWIG_fail;
16794 }
16795 if (obj6) {
16796 {
16797 arg7 = wxString_in_helper(obj6);
16798 if (arg7 == NULL) SWIG_fail;
16799 temp7 = True;
16800 }
16801 }
16802 if (obj7) {
16803 {
16804 arg8 = wxString_in_helper(obj7);
16805 if (arg8 == NULL) SWIG_fail;
16806 temp8 = True;
16807 }
16808 }
16809 if (obj8) {
16810 arg9 = obj8;
16811 }
16812 {
16813 PyThreadState* __tstate = wxPyBeginAllowThreads();
16814 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
16815
16816 wxPyEndAllowThreads(__tstate);
16817 if (PyErr_Occurred()) SWIG_fail;
16818 }
16819 {
16820 resultobj = wxPyMake_wxObject(result);
16821 }
16822 {
16823 if (temp3)
16824 delete arg3;
16825 }
16826 {
16827 if (temp7)
16828 delete arg7;
16829 }
16830 {
16831 if (temp8)
16832 delete arg8;
16833 }
16834 return resultobj;
16835 fail:
16836 {
16837 if (temp3)
16838 delete arg3;
16839 }
16840 {
16841 if (temp7)
16842 delete arg7;
16843 }
16844 {
16845 if (temp8)
16846 delete arg8;
16847 }
16848 return NULL;
16849}
16850
16851
16852static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16853 PyObject *resultobj;
16854 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16855 size_t arg2 ;
16856 int arg3 ;
16857 wxString *arg4 = 0 ;
16858 wxBitmap *arg5 = 0 ;
16859 wxBitmap const &arg6_defvalue = wxNullBitmap ;
16860 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
16861 int arg7 = (int) wxITEM_NORMAL ;
16862 wxString const &arg8_defvalue = wxPyEmptyString ;
16863 wxString *arg8 = (wxString *) &arg8_defvalue ;
16864 wxString const &arg9_defvalue = wxPyEmptyString ;
16865 wxString *arg9 = (wxString *) &arg9_defvalue ;
16866 PyObject *arg10 = (PyObject *) NULL ;
16867 wxToolBarToolBase *result;
16868 bool temp4 = False ;
16869 bool temp8 = False ;
16870 bool temp9 = False ;
16871 PyObject * obj0 = 0 ;
16872 PyObject * obj1 = 0 ;
16873 PyObject * obj2 = 0 ;
16874 PyObject * obj3 = 0 ;
16875 PyObject * obj4 = 0 ;
16876 PyObject * obj5 = 0 ;
16877 PyObject * obj6 = 0 ;
16878 PyObject * obj7 = 0 ;
16879 PyObject * obj8 = 0 ;
16880 PyObject * obj9 = 0 ;
16881 char *kwnames[] = {
16882 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16883 };
16884
16885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
16886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16888 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
16889 if (PyErr_Occurred()) SWIG_fail;
16890 arg3 = (int) SWIG_AsInt(obj2);
16891 if (PyErr_Occurred()) SWIG_fail;
16892 {
16893 arg4 = wxString_in_helper(obj3);
16894 if (arg4 == NULL) SWIG_fail;
16895 temp4 = True;
16896 }
16897 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxBitmap,
16898 SWIG_POINTER_EXCEPTION | 0)) == -1)
16899 SWIG_fail;
16900 if (arg5 == NULL) {
16901 PyErr_SetString(PyExc_TypeError,"null reference");
16902 SWIG_fail;
16903 }
16904 if (obj5) {
16905 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxBitmap,
16906 SWIG_POINTER_EXCEPTION | 0)) == -1)
16907 SWIG_fail;
16908 if (arg6 == NULL) {
16909 PyErr_SetString(PyExc_TypeError,"null reference");
16910 SWIG_fail;
16911 }
16912 }
16913 if (obj6) {
16914 arg7 = (wxItemKind) SWIG_AsInt(obj6);
16915 if (PyErr_Occurred()) SWIG_fail;
16916 }
16917 if (obj7) {
16918 {
16919 arg8 = wxString_in_helper(obj7);
16920 if (arg8 == NULL) SWIG_fail;
16921 temp8 = True;
16922 }
16923 }
16924 if (obj8) {
16925 {
16926 arg9 = wxString_in_helper(obj8);
16927 if (arg9 == NULL) SWIG_fail;
16928 temp9 = True;
16929 }
16930 }
16931 if (obj9) {
16932 arg10 = obj9;
16933 }
16934 {
16935 PyThreadState* __tstate = wxPyBeginAllowThreads();
16936 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);
16937
16938 wxPyEndAllowThreads(__tstate);
16939 if (PyErr_Occurred()) SWIG_fail;
16940 }
16941 {
16942 resultobj = wxPyMake_wxObject(result);
16943 }
16944 {
16945 if (temp4)
16946 delete arg4;
16947 }
16948 {
16949 if (temp8)
16950 delete arg8;
16951 }
16952 {
16953 if (temp9)
16954 delete arg9;
16955 }
16956 return resultobj;
16957 fail:
16958 {
16959 if (temp4)
16960 delete arg4;
16961 }
16962 {
16963 if (temp8)
16964 delete arg8;
16965 }
16966 {
16967 if (temp9)
16968 delete arg9;
16969 }
16970 return NULL;
16971}
16972
16973
16974static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16975 PyObject *resultobj;
16976 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16977 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
16978 wxToolBarToolBase *result;
16979 PyObject * obj0 = 0 ;
16980 PyObject * obj1 = 0 ;
16981 char *kwnames[] = {
16982 (char *) "self",(char *) "tool", NULL
16983 };
16984
16985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
16986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
16987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16988 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolBarToolBase,
16989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16990 {
16991 PyThreadState* __tstate = wxPyBeginAllowThreads();
16992 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
16993
16994 wxPyEndAllowThreads(__tstate);
16995 if (PyErr_Occurred()) SWIG_fail;
16996 }
16997 {
16998 resultobj = wxPyMake_wxObject(result);
16999 }
17000 return resultobj;
17001 fail:
17002 return NULL;
17003}
17004
17005
17006static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17007 PyObject *resultobj;
17008 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17009 size_t arg2 ;
17010 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
17011 wxToolBarToolBase *result;
17012 PyObject * obj0 = 0 ;
17013 PyObject * obj1 = 0 ;
17014 PyObject * obj2 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "self",(char *) "pos",(char *) "tool", NULL
17017 };
17018
17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
17020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17022 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17023 if (PyErr_Occurred()) SWIG_fail;
17024 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxToolBarToolBase,
17025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17026 {
17027 PyThreadState* __tstate = wxPyBeginAllowThreads();
17028 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
17029
17030 wxPyEndAllowThreads(__tstate);
17031 if (PyErr_Occurred()) SWIG_fail;
17032 }
17033 {
17034 resultobj = wxPyMake_wxObject(result);
17035 }
17036 return resultobj;
17037 fail:
17038 return NULL;
17039}
17040
17041
17042static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj;
17044 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17045 wxControl *arg2 = (wxControl *) 0 ;
17046 wxToolBarToolBase *result;
17047 PyObject * obj0 = 0 ;
17048 PyObject * obj1 = 0 ;
17049 char *kwnames[] = {
17050 (char *) "self",(char *) "control", NULL
17051 };
17052
17053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
17054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17056 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxControl,
17057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17058 {
17059 PyThreadState* __tstate = wxPyBeginAllowThreads();
17060 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
17061
17062 wxPyEndAllowThreads(__tstate);
17063 if (PyErr_Occurred()) SWIG_fail;
17064 }
17065 {
17066 resultobj = wxPyMake_wxObject(result);
17067 }
17068 return resultobj;
17069 fail:
17070 return NULL;
17071}
17072
17073
17074static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17075 PyObject *resultobj;
17076 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17077 size_t arg2 ;
17078 wxControl *arg3 = (wxControl *) 0 ;
17079 wxToolBarToolBase *result;
17080 PyObject * obj0 = 0 ;
17081 PyObject * obj1 = 0 ;
17082 PyObject * obj2 = 0 ;
17083 char *kwnames[] = {
17084 (char *) "self",(char *) "pos",(char *) "control", NULL
17085 };
17086
17087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
17088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17090 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxControl,
17093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17094 {
17095 PyThreadState* __tstate = wxPyBeginAllowThreads();
17096 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
17097
17098 wxPyEndAllowThreads(__tstate);
17099 if (PyErr_Occurred()) SWIG_fail;
17100 }
17101 {
17102 resultobj = wxPyMake_wxObject(result);
17103 }
17104 return resultobj;
17105 fail:
17106 return NULL;
17107}
17108
17109
17110static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17111 PyObject *resultobj;
17112 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17113 int arg2 ;
17114 wxControl *result;
17115 PyObject * obj0 = 0 ;
17116 PyObject * obj1 = 0 ;
17117 char *kwnames[] = {
17118 (char *) "self",(char *) "id", NULL
17119 };
17120
17121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
17122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17124 arg2 = (int) SWIG_AsInt(obj1);
17125 if (PyErr_Occurred()) SWIG_fail;
17126 {
17127 PyThreadState* __tstate = wxPyBeginAllowThreads();
17128 result = (wxControl *)(arg1)->FindControl(arg2);
17129
17130 wxPyEndAllowThreads(__tstate);
17131 if (PyErr_Occurred()) SWIG_fail;
17132 }
17133 {
17134 resultobj = wxPyMake_wxObject(result);
17135 }
17136 return resultobj;
17137 fail:
17138 return NULL;
17139}
17140
17141
17142static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj;
17144 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17145 wxToolBarToolBase *result;
17146 PyObject * obj0 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
17152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17154 {
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
17157
17158 wxPyEndAllowThreads(__tstate);
17159 if (PyErr_Occurred()) SWIG_fail;
17160 }
17161 {
17162 resultobj = wxPyMake_wxObject(result);
17163 }
17164 return resultobj;
17165 fail:
17166 return NULL;
17167}
17168
17169
17170static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
17171 PyObject *resultobj;
17172 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17173 size_t arg2 ;
17174 wxToolBarToolBase *result;
17175 PyObject * obj0 = 0 ;
17176 PyObject * obj1 = 0 ;
17177 char *kwnames[] = {
17178 (char *) "self",(char *) "pos", NULL
17179 };
17180
17181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
17182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17184 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17185 if (PyErr_Occurred()) SWIG_fail;
17186 {
17187 PyThreadState* __tstate = wxPyBeginAllowThreads();
17188 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
17189
17190 wxPyEndAllowThreads(__tstate);
17191 if (PyErr_Occurred()) SWIG_fail;
17192 }
17193 {
17194 resultobj = wxPyMake_wxObject(result);
17195 }
17196 return resultobj;
17197 fail:
17198 return NULL;
17199}
17200
17201
17202static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17203 PyObject *resultobj;
17204 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17205 int arg2 ;
17206 wxToolBarToolBase *result;
17207 PyObject * obj0 = 0 ;
17208 PyObject * obj1 = 0 ;
17209 char *kwnames[] = {
17210 (char *) "self",(char *) "id", NULL
17211 };
17212
17213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
17214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17216 arg2 = (int) SWIG_AsInt(obj1);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 {
17219 PyThreadState* __tstate = wxPyBeginAllowThreads();
17220 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
17221
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
17225 {
17226 resultobj = wxPyMake_wxObject(result);
17227 }
17228 return resultobj;
17229 fail:
17230 return NULL;
17231}
17232
17233
17234static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17235 PyObject *resultobj;
17236 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17237 size_t arg2 ;
17238 bool result;
17239 PyObject * obj0 = 0 ;
17240 PyObject * obj1 = 0 ;
17241 char *kwnames[] = {
17242 (char *) "self",(char *) "pos", NULL
17243 };
17244
17245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
17246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17248 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
17249 if (PyErr_Occurred()) SWIG_fail;
17250 {
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 result = (bool)(arg1)->DeleteToolByPos(arg2);
17253
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 {
17258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17259 }
17260 return resultobj;
17261 fail:
17262 return NULL;
17263}
17264
17265
17266static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17267 PyObject *resultobj;
17268 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17269 int arg2 ;
17270 bool result;
17271 PyObject * obj0 = 0 ;
17272 PyObject * obj1 = 0 ;
17273 char *kwnames[] = {
17274 (char *) "self",(char *) "id", NULL
17275 };
17276
17277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
17278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17280 arg2 = (int) SWIG_AsInt(obj1);
17281 if (PyErr_Occurred()) SWIG_fail;
17282 {
17283 PyThreadState* __tstate = wxPyBeginAllowThreads();
17284 result = (bool)(arg1)->DeleteTool(arg2);
17285
17286 wxPyEndAllowThreads(__tstate);
17287 if (PyErr_Occurred()) SWIG_fail;
17288 }
17289 {
17290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17291 }
17292 return resultobj;
17293 fail:
17294 return NULL;
17295}
17296
17297
17298static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
17299 PyObject *resultobj;
17300 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17301 PyObject * obj0 = 0 ;
17302 char *kwnames[] = {
17303 (char *) "self", NULL
17304 };
17305
17306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
17307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17309 {
17310 PyThreadState* __tstate = wxPyBeginAllowThreads();
17311 (arg1)->ClearTools();
17312
17313 wxPyEndAllowThreads(__tstate);
17314 if (PyErr_Occurred()) SWIG_fail;
17315 }
17316 Py_INCREF(Py_None); resultobj = Py_None;
17317 return resultobj;
17318 fail:
17319 return NULL;
17320}
17321
17322
17323static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
17324 PyObject *resultobj;
17325 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17326 bool result;
17327 PyObject * obj0 = 0 ;
17328 char *kwnames[] = {
17329 (char *) "self", NULL
17330 };
17331
17332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
17333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17335 {
17336 PyThreadState* __tstate = wxPyBeginAllowThreads();
17337 result = (bool)(arg1)->Realize();
17338
17339 wxPyEndAllowThreads(__tstate);
17340 if (PyErr_Occurred()) SWIG_fail;
17341 }
17342 {
17343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17344 }
17345 return resultobj;
17346 fail:
17347 return NULL;
17348}
17349
17350
17351static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17352 PyObject *resultobj;
17353 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17354 int arg2 ;
17355 bool arg3 ;
17356 PyObject * obj0 = 0 ;
17357 PyObject * obj1 = 0 ;
17358 PyObject * obj2 = 0 ;
17359 char *kwnames[] = {
17360 (char *) "self",(char *) "id",(char *) "enable", NULL
17361 };
17362
17363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17366 arg2 = (int) SWIG_AsInt(obj1);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 arg3 = (bool) SWIG_AsBool(obj2);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 {
17371 PyThreadState* __tstate = wxPyBeginAllowThreads();
17372 (arg1)->EnableTool(arg2,arg3);
17373
17374 wxPyEndAllowThreads(__tstate);
17375 if (PyErr_Occurred()) SWIG_fail;
17376 }
17377 Py_INCREF(Py_None); resultobj = Py_None;
17378 return resultobj;
17379 fail:
17380 return NULL;
17381}
17382
17383
17384static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
17385 PyObject *resultobj;
17386 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17387 int arg2 ;
17388 bool arg3 ;
17389 PyObject * obj0 = 0 ;
17390 PyObject * obj1 = 0 ;
17391 PyObject * obj2 = 0 ;
17392 char *kwnames[] = {
17393 (char *) "self",(char *) "id",(char *) "toggle", NULL
17394 };
17395
17396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
17397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17399 arg2 = (int) SWIG_AsInt(obj1);
17400 if (PyErr_Occurred()) SWIG_fail;
17401 arg3 = (bool) SWIG_AsBool(obj2);
17402 if (PyErr_Occurred()) SWIG_fail;
17403 {
17404 PyThreadState* __tstate = wxPyBeginAllowThreads();
17405 (arg1)->ToggleTool(arg2,arg3);
17406
17407 wxPyEndAllowThreads(__tstate);
17408 if (PyErr_Occurred()) SWIG_fail;
17409 }
17410 Py_INCREF(Py_None); resultobj = Py_None;
17411 return resultobj;
17412 fail:
17413 return NULL;
17414}
17415
17416
17417static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
17418 PyObject *resultobj;
17419 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17420 int arg2 ;
17421 bool arg3 ;
17422 PyObject * obj0 = 0 ;
17423 PyObject * obj1 = 0 ;
17424 PyObject * obj2 = 0 ;
17425 char *kwnames[] = {
17426 (char *) "self",(char *) "id",(char *) "toggle", NULL
17427 };
17428
17429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
17430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17432 arg2 = (int) SWIG_AsInt(obj1);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 arg3 = (bool) SWIG_AsBool(obj2);
17435 if (PyErr_Occurred()) SWIG_fail;
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 (arg1)->SetToggle(arg2,arg3);
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 Py_INCREF(Py_None); resultobj = Py_None;
17444 return resultobj;
17445 fail:
17446 return NULL;
17447}
17448
17449
17450static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17451 PyObject *resultobj;
17452 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17453 int arg2 ;
17454 PyObject *result;
17455 PyObject * obj0 = 0 ;
17456 PyObject * obj1 = 0 ;
17457 char *kwnames[] = {
17458 (char *) "self",(char *) "id", NULL
17459 };
17460
17461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
17462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17464 arg2 = (int) SWIG_AsInt(obj1);
17465 if (PyErr_Occurred()) SWIG_fail;
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 resultobj = result;
17474 return resultobj;
17475 fail:
17476 return NULL;
17477}
17478
17479
17480static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17483 int arg2 ;
17484 PyObject *arg3 = (PyObject *) 0 ;
17485 PyObject * obj0 = 0 ;
17486 PyObject * obj1 = 0 ;
17487 PyObject * obj2 = 0 ;
17488 char *kwnames[] = {
17489 (char *) "self",(char *) "id",(char *) "clientData", NULL
17490 };
17491
17492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
17493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17495 arg2 = (int) SWIG_AsInt(obj1);
17496 if (PyErr_Occurred()) SWIG_fail;
17497 arg3 = obj2;
17498 {
17499 PyThreadState* __tstate = wxPyBeginAllowThreads();
17500 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
17501
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
17505 Py_INCREF(Py_None); resultobj = Py_None;
17506 return resultobj;
17507 fail:
17508 return NULL;
17509}
17510
17511
17512static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
17513 PyObject *resultobj;
17514 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17515 int arg2 ;
17516 int result;
17517 PyObject * obj0 = 0 ;
17518 PyObject * obj1 = 0 ;
17519 char *kwnames[] = {
17520 (char *) "self",(char *) "id", NULL
17521 };
17522
17523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
17524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17526 arg2 = (int) SWIG_AsInt(obj1);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 {
17529 PyThreadState* __tstate = wxPyBeginAllowThreads();
17530 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
17531
17532 wxPyEndAllowThreads(__tstate);
17533 if (PyErr_Occurred()) SWIG_fail;
17534 }
17535 resultobj = SWIG_FromInt((int)result);
17536 return resultobj;
17537 fail:
17538 return NULL;
17539}
17540
17541
17542static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
17543 PyObject *resultobj;
17544 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17545 int arg2 ;
17546 bool result;
17547 PyObject * obj0 = 0 ;
17548 PyObject * obj1 = 0 ;
17549 char *kwnames[] = {
17550 (char *) "self",(char *) "id", NULL
17551 };
17552
17553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
17554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17556 arg2 = (int) SWIG_AsInt(obj1);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 {
17559 PyThreadState* __tstate = wxPyBeginAllowThreads();
17560 result = (bool)(arg1)->GetToolState(arg2);
17561
17562 wxPyEndAllowThreads(__tstate);
17563 if (PyErr_Occurred()) SWIG_fail;
17564 }
17565 {
17566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17567 }
17568 return resultobj;
17569 fail:
17570 return NULL;
17571}
17572
17573
17574static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17575 PyObject *resultobj;
17576 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17577 int arg2 ;
17578 bool result;
17579 PyObject * obj0 = 0 ;
17580 PyObject * obj1 = 0 ;
17581 char *kwnames[] = {
17582 (char *) "self",(char *) "id", NULL
17583 };
17584
17585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
17586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17588 arg2 = (int) SWIG_AsInt(obj1);
17589 if (PyErr_Occurred()) SWIG_fail;
17590 {
17591 PyThreadState* __tstate = wxPyBeginAllowThreads();
17592 result = (bool)(arg1)->GetToolEnabled(arg2);
17593
17594 wxPyEndAllowThreads(__tstate);
17595 if (PyErr_Occurred()) SWIG_fail;
17596 }
17597 {
17598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17599 }
17600 return resultobj;
17601 fail:
17602 return NULL;
17603}
17604
17605
17606static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17607 PyObject *resultobj;
17608 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17609 int arg2 ;
17610 wxString *arg3 = 0 ;
17611 bool temp3 = False ;
17612 PyObject * obj0 = 0 ;
17613 PyObject * obj1 = 0 ;
17614 PyObject * obj2 = 0 ;
17615 char *kwnames[] = {
17616 (char *) "self",(char *) "id",(char *) "helpString", NULL
17617 };
17618
17619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17622 arg2 = (int) SWIG_AsInt(obj1);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 {
17625 arg3 = wxString_in_helper(obj2);
17626 if (arg3 == NULL) SWIG_fail;
17627 temp3 = True;
17628 }
17629 {
17630 PyThreadState* __tstate = wxPyBeginAllowThreads();
17631 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
17632
17633 wxPyEndAllowThreads(__tstate);
17634 if (PyErr_Occurred()) SWIG_fail;
17635 }
17636 Py_INCREF(Py_None); resultobj = Py_None;
17637 {
17638 if (temp3)
17639 delete arg3;
17640 }
17641 return resultobj;
17642 fail:
17643 {
17644 if (temp3)
17645 delete arg3;
17646 }
17647 return NULL;
17648}
17649
17650
17651static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17652 PyObject *resultobj;
17653 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17654 int arg2 ;
17655 wxString result;
17656 PyObject * obj0 = 0 ;
17657 PyObject * obj1 = 0 ;
17658 char *kwnames[] = {
17659 (char *) "self",(char *) "id", NULL
17660 };
17661
17662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
17663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17665 arg2 = (int) SWIG_AsInt(obj1);
17666 if (PyErr_Occurred()) SWIG_fail;
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = (arg1)->GetToolShortHelp(arg2);
17670
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 {
17675#if wxUSE_UNICODE
17676 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17677#else
17678 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17679#endif
17680 }
17681 return resultobj;
17682 fail:
17683 return NULL;
17684}
17685
17686
17687static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17688 PyObject *resultobj;
17689 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17690 int arg2 ;
17691 wxString *arg3 = 0 ;
17692 bool temp3 = False ;
17693 PyObject * obj0 = 0 ;
17694 PyObject * obj1 = 0 ;
17695 PyObject * obj2 = 0 ;
17696 char *kwnames[] = {
17697 (char *) "self",(char *) "id",(char *) "helpString", NULL
17698 };
17699
17700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
17701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17703 arg2 = (int) SWIG_AsInt(obj1);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 {
17706 arg3 = wxString_in_helper(obj2);
17707 if (arg3 == NULL) SWIG_fail;
17708 temp3 = True;
17709 }
17710 {
17711 PyThreadState* __tstate = wxPyBeginAllowThreads();
17712 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
17713
17714 wxPyEndAllowThreads(__tstate);
17715 if (PyErr_Occurred()) SWIG_fail;
17716 }
17717 Py_INCREF(Py_None); resultobj = Py_None;
17718 {
17719 if (temp3)
17720 delete arg3;
17721 }
17722 return resultobj;
17723 fail:
17724 {
17725 if (temp3)
17726 delete arg3;
17727 }
17728 return NULL;
17729}
17730
17731
17732static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17733 PyObject *resultobj;
17734 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17735 int arg2 ;
17736 wxString result;
17737 PyObject * obj0 = 0 ;
17738 PyObject * obj1 = 0 ;
17739 char *kwnames[] = {
17740 (char *) "self",(char *) "id", NULL
17741 };
17742
17743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
17744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17746 arg2 = (int) SWIG_AsInt(obj1);
17747 if (PyErr_Occurred()) SWIG_fail;
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 result = (arg1)->GetToolLongHelp(arg2);
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 {
17756#if wxUSE_UNICODE
17757 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17758#else
17759 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17760#endif
17761 }
17762 return resultobj;
17763 fail:
17764 return NULL;
17765}
17766
17767
17768static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
17769 PyObject *resultobj;
17770 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17771 int arg2 ;
17772 int arg3 ;
17773 PyObject * obj0 = 0 ;
17774 PyObject * obj1 = 0 ;
17775 PyObject * obj2 = 0 ;
17776 char *kwnames[] = {
17777 (char *) "self",(char *) "x",(char *) "y", NULL
17778 };
17779
17780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
17781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17783 arg2 = (int) SWIG_AsInt(obj1);
17784 if (PyErr_Occurred()) SWIG_fail;
17785 arg3 = (int) SWIG_AsInt(obj2);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 {
17788 PyThreadState* __tstate = wxPyBeginAllowThreads();
17789 (arg1)->SetMargins(arg2,arg3);
17790
17791 wxPyEndAllowThreads(__tstate);
17792 if (PyErr_Occurred()) SWIG_fail;
17793 }
17794 Py_INCREF(Py_None); resultobj = Py_None;
17795 return resultobj;
17796 fail:
17797 return NULL;
17798}
17799
17800
17801static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17802 PyObject *resultobj;
17803 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17804 wxSize *arg2 = 0 ;
17805 wxSize temp2 ;
17806 PyObject * obj0 = 0 ;
17807 PyObject * obj1 = 0 ;
17808 char *kwnames[] = {
17809 (char *) "self",(char *) "size", NULL
17810 };
17811
17812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
17813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17815 {
17816 arg2 = &temp2;
17817 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17818 }
17819 {
17820 PyThreadState* __tstate = wxPyBeginAllowThreads();
17821 (arg1)->SetMargins((wxSize const &)*arg2);
17822
17823 wxPyEndAllowThreads(__tstate);
17824 if (PyErr_Occurred()) SWIG_fail;
17825 }
17826 Py_INCREF(Py_None); resultobj = Py_None;
17827 return resultobj;
17828 fail:
17829 return NULL;
17830}
17831
17832
17833static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17834 PyObject *resultobj;
17835 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17836 int arg2 ;
17837 PyObject * obj0 = 0 ;
17838 PyObject * obj1 = 0 ;
17839 char *kwnames[] = {
17840 (char *) "self",(char *) "packing", NULL
17841 };
17842
17843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
17844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17846 arg2 = (int) SWIG_AsInt(obj1);
17847 if (PyErr_Occurred()) SWIG_fail;
17848 {
17849 PyThreadState* __tstate = wxPyBeginAllowThreads();
17850 (arg1)->SetToolPacking(arg2);
17851
17852 wxPyEndAllowThreads(__tstate);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 }
17855 Py_INCREF(Py_None); resultobj = Py_None;
17856 return resultobj;
17857 fail:
17858 return NULL;
17859}
17860
17861
17862static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17863 PyObject *resultobj;
17864 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17865 int arg2 ;
17866 PyObject * obj0 = 0 ;
17867 PyObject * obj1 = 0 ;
17868 char *kwnames[] = {
17869 (char *) "self",(char *) "separation", NULL
17870 };
17871
17872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
17873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17875 arg2 = (int) SWIG_AsInt(obj1);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 (arg1)->SetToolSeparation(arg2);
17880
17881 wxPyEndAllowThreads(__tstate);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 }
17884 Py_INCREF(Py_None); resultobj = Py_None;
17885 return resultobj;
17886 fail:
17887 return NULL;
17888}
17889
17890
17891static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17892 PyObject *resultobj;
17893 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17894 wxSize result;
17895 PyObject * obj0 = 0 ;
17896 char *kwnames[] = {
17897 (char *) "self", NULL
17898 };
17899
17900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
17901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17903 {
17904 PyThreadState* __tstate = wxPyBeginAllowThreads();
17905 result = (arg1)->GetToolMargins();
17906
17907 wxPyEndAllowThreads(__tstate);
17908 if (PyErr_Occurred()) SWIG_fail;
17909 }
17910 {
17911 wxSize * resultptr;
17912 resultptr = new wxSize((wxSize &) result);
17913 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17914 }
17915 return resultobj;
17916 fail:
17917 return NULL;
17918}
17919
17920
17921static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17922 PyObject *resultobj;
17923 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17924 wxSize result;
17925 PyObject * obj0 = 0 ;
17926 char *kwnames[] = {
17927 (char *) "self", NULL
17928 };
17929
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
17931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17933 {
17934 PyThreadState* __tstate = wxPyBeginAllowThreads();
17935 result = (arg1)->GetMargins();
17936
17937 wxPyEndAllowThreads(__tstate);
17938 if (PyErr_Occurred()) SWIG_fail;
17939 }
17940 {
17941 wxSize * resultptr;
17942 resultptr = new wxSize((wxSize &) result);
17943 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
17944 }
17945 return resultobj;
17946 fail:
17947 return NULL;
17948}
17949
17950
17951static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
17952 PyObject *resultobj;
17953 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17954 int result;
17955 PyObject * obj0 = 0 ;
17956 char *kwnames[] = {
17957 (char *) "self", NULL
17958 };
17959
17960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
17961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 result = (int)(arg1)->GetToolPacking();
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 resultobj = SWIG_FromInt((int)result);
17971 return resultobj;
17972 fail:
17973 return NULL;
17974}
17975
17976
17977static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17980 int result;
17981 PyObject * obj0 = 0 ;
17982 char *kwnames[] = {
17983 (char *) "self", NULL
17984 };
17985
17986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
17987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
17988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17989 {
17990 PyThreadState* __tstate = wxPyBeginAllowThreads();
17991 result = (int)(arg1)->GetToolSeparation();
17992
17993 wxPyEndAllowThreads(__tstate);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 }
17996 resultobj = SWIG_FromInt((int)result);
17997 return resultobj;
17998 fail:
17999 return NULL;
18000}
18001
18002
18003static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18004 PyObject *resultobj;
18005 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18006 int arg2 ;
18007 PyObject * obj0 = 0 ;
18008 PyObject * obj1 = 0 ;
18009 char *kwnames[] = {
18010 (char *) "self",(char *) "nRows", NULL
18011 };
18012
18013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
18014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18016 arg2 = (int) SWIG_AsInt(obj1);
18017 if (PyErr_Occurred()) SWIG_fail;
18018 {
18019 PyThreadState* __tstate = wxPyBeginAllowThreads();
18020 (arg1)->SetRows(arg2);
18021
18022 wxPyEndAllowThreads(__tstate);
18023 if (PyErr_Occurred()) SWIG_fail;
18024 }
18025 Py_INCREF(Py_None); resultobj = Py_None;
18026 return resultobj;
18027 fail:
18028 return NULL;
18029}
18030
18031
18032static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18033 PyObject *resultobj;
18034 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18035 int arg2 ;
18036 int arg3 ;
18037 PyObject * obj0 = 0 ;
18038 PyObject * obj1 = 0 ;
18039 PyObject * obj2 = 0 ;
18040 char *kwnames[] = {
18041 (char *) "self",(char *) "rows",(char *) "cols", NULL
18042 };
18043
18044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
18045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18047 arg2 = (int) SWIG_AsInt(obj1);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 arg3 = (int) SWIG_AsInt(obj2);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 {
18052 PyThreadState* __tstate = wxPyBeginAllowThreads();
18053 (arg1)->SetMaxRowsCols(arg2,arg3);
18054
18055 wxPyEndAllowThreads(__tstate);
18056 if (PyErr_Occurred()) SWIG_fail;
18057 }
18058 Py_INCREF(Py_None); resultobj = Py_None;
18059 return resultobj;
18060 fail:
18061 return NULL;
18062}
18063
18064
18065static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
18066 PyObject *resultobj;
18067 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18068 int result;
18069 PyObject * obj0 = 0 ;
18070 char *kwnames[] = {
18071 (char *) "self", NULL
18072 };
18073
18074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
18075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18077 {
18078 PyThreadState* __tstate = wxPyBeginAllowThreads();
18079 result = (int)(arg1)->GetMaxRows();
18080
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 resultobj = SWIG_FromInt((int)result);
18085 return resultobj;
18086 fail:
18087 return NULL;
18088}
18089
18090
18091static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18094 int result;
18095 PyObject * obj0 = 0 ;
18096 char *kwnames[] = {
18097 (char *) "self", NULL
18098 };
18099
18100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
18101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = (int)(arg1)->GetMaxCols();
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 resultobj = SWIG_FromInt((int)result);
18111 return resultobj;
18112 fail:
18113 return NULL;
18114}
18115
18116
18117static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18118 PyObject *resultobj;
18119 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18120 wxSize *arg2 = 0 ;
18121 wxSize temp2 ;
18122 PyObject * obj0 = 0 ;
18123 PyObject * obj1 = 0 ;
18124 char *kwnames[] = {
18125 (char *) "self",(char *) "size", NULL
18126 };
18127
18128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
18129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18131 {
18132 arg2 = &temp2;
18133 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18134 }
18135 {
18136 PyThreadState* __tstate = wxPyBeginAllowThreads();
18137 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
18138
18139 wxPyEndAllowThreads(__tstate);
18140 if (PyErr_Occurred()) SWIG_fail;
18141 }
18142 Py_INCREF(Py_None); resultobj = Py_None;
18143 return resultobj;
18144 fail:
18145 return NULL;
18146}
18147
18148
18149static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18150 PyObject *resultobj;
18151 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18152 wxSize result;
18153 PyObject * obj0 = 0 ;
18154 char *kwnames[] = {
18155 (char *) "self", NULL
18156 };
18157
18158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
18159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18161 {
18162 PyThreadState* __tstate = wxPyBeginAllowThreads();
18163 result = (arg1)->GetToolBitmapSize();
18164
18165 wxPyEndAllowThreads(__tstate);
18166 if (PyErr_Occurred()) SWIG_fail;
18167 }
18168 {
18169 wxSize * resultptr;
18170 resultptr = new wxSize((wxSize &) result);
18171 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18172 }
18173 return resultobj;
18174 fail:
18175 return NULL;
18176}
18177
18178
18179static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18180 PyObject *resultobj;
18181 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18182 wxSize result;
18183 PyObject * obj0 = 0 ;
18184 char *kwnames[] = {
18185 (char *) "self", NULL
18186 };
18187
18188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
18189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18191 {
18192 PyThreadState* __tstate = wxPyBeginAllowThreads();
18193 result = (arg1)->GetToolSize();
18194
18195 wxPyEndAllowThreads(__tstate);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 }
18198 {
18199 wxSize * resultptr;
18200 resultptr = new wxSize((wxSize &) result);
18201 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
18202 }
18203 return resultobj;
18204 fail:
18205 return NULL;
18206}
18207
18208
18209static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18210 PyObject *resultobj;
18211 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18212 int arg2 ;
18213 int arg3 ;
18214 wxToolBarToolBase *result;
18215 PyObject * obj0 = 0 ;
18216 PyObject * obj1 = 0 ;
18217 PyObject * obj2 = 0 ;
18218 char *kwnames[] = {
18219 (char *) "self",(char *) "x",(char *) "y", NULL
18220 };
18221
18222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18225 arg2 = (int) SWIG_AsInt(obj1);
18226 if (PyErr_Occurred()) SWIG_fail;
18227 arg3 = (int) SWIG_AsInt(obj2);
18228 if (PyErr_Occurred()) SWIG_fail;
18229 {
18230 PyThreadState* __tstate = wxPyBeginAllowThreads();
18231 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18232
18233 wxPyEndAllowThreads(__tstate);
18234 if (PyErr_Occurred()) SWIG_fail;
18235 }
18236 {
18237 resultobj = wxPyMake_wxObject(result);
18238 }
18239 return resultobj;
18240 fail:
18241 return NULL;
18242}
18243
18244
18245static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
18246 PyObject *resultobj;
18247 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18248 int arg2 ;
18249 wxToolBarToolBase *result;
18250 PyObject * obj0 = 0 ;
18251 PyObject * obj1 = 0 ;
18252 char *kwnames[] = {
18253 (char *) "self",(char *) "toolid", NULL
18254 };
18255
18256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
18257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18259 arg2 = (int) SWIG_AsInt(obj1);
18260 if (PyErr_Occurred()) SWIG_fail;
18261 {
18262 PyThreadState* __tstate = wxPyBeginAllowThreads();
18263 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
18264
18265 wxPyEndAllowThreads(__tstate);
18266 if (PyErr_Occurred()) SWIG_fail;
18267 }
18268 {
18269 resultobj = wxPyMake_wxObject(result);
18270 }
18271 return resultobj;
18272 fail:
18273 return NULL;
18274}
18275
18276
18277static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
18278 PyObject *resultobj;
18279 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
18280 bool result;
18281 PyObject * obj0 = 0 ;
18282 char *kwnames[] = {
18283 (char *) "self", NULL
18284 };
18285
18286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
18287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBarBase,
18288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18289 {
18290 PyThreadState* __tstate = wxPyBeginAllowThreads();
18291 result = (bool)(arg1)->IsVertical();
18292
18293 wxPyEndAllowThreads(__tstate);
18294 if (PyErr_Occurred()) SWIG_fail;
18295 }
18296 {
18297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18298 }
18299 return resultobj;
18300 fail:
18301 return NULL;
18302}
18303
18304
18305static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
18306 PyObject *obj;
18307 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18308 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
18309 Py_INCREF(obj);
18310 return Py_BuildValue((char *)"");
18311}
18312static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18313 PyObject *resultobj;
18314 wxWindow *arg1 = (wxWindow *) 0 ;
18315 int arg2 ;
18316 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18317 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18318 wxSize const &arg4_defvalue = wxDefaultSize ;
18319 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18320 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18321 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
18322 wxString *arg6 = (wxString *) &arg6_defvalue ;
18323 wxToolBar *result;
18324 wxPoint temp3 ;
18325 wxSize temp4 ;
18326 bool temp6 = False ;
18327 PyObject * obj0 = 0 ;
18328 PyObject * obj1 = 0 ;
18329 PyObject * obj2 = 0 ;
18330 PyObject * obj3 = 0 ;
18331 PyObject * obj4 = 0 ;
18332 PyObject * obj5 = 0 ;
18333 char *kwnames[] = {
18334 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18335 };
18336
18337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
18338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18340 arg2 = (int) SWIG_AsInt(obj1);
18341 if (PyErr_Occurred()) SWIG_fail;
18342 if (obj2) {
18343 {
18344 arg3 = &temp3;
18345 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18346 }
18347 }
18348 if (obj3) {
18349 {
18350 arg4 = &temp4;
18351 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18352 }
18353 }
18354 if (obj4) {
18355 arg5 = (long) SWIG_AsLong(obj4);
18356 if (PyErr_Occurred()) SWIG_fail;
18357 }
18358 if (obj5) {
18359 {
18360 arg6 = wxString_in_helper(obj5);
18361 if (arg6 == NULL) SWIG_fail;
18362 temp6 = True;
18363 }
18364 }
18365 {
18366 PyThreadState* __tstate = wxPyBeginAllowThreads();
18367 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18368
18369 wxPyEndAllowThreads(__tstate);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 }
18372 {
18373 resultobj = wxPyMake_wxObject(result);
18374 }
18375 {
18376 if (temp6)
18377 delete arg6;
18378 }
18379 return resultobj;
18380 fail:
18381 {
18382 if (temp6)
18383 delete arg6;
18384 }
18385 return NULL;
18386}
18387
18388
18389static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
18390 PyObject *resultobj;
18391 wxToolBar *result;
18392 char *kwnames[] = {
18393 NULL
18394 };
18395
18396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
18397 {
18398 PyThreadState* __tstate = wxPyBeginAllowThreads();
18399 result = (wxToolBar *)new wxToolBar();
18400
18401 wxPyEndAllowThreads(__tstate);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 {
18405 resultobj = wxPyMake_wxObject(result);
18406 }
18407 return resultobj;
18408 fail:
18409 return NULL;
18410}
18411
18412
18413static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18414 PyObject *resultobj;
18415 wxToolBar *arg1 = (wxToolBar *) 0 ;
18416 wxWindow *arg2 = (wxWindow *) 0 ;
18417 int arg3 ;
18418 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18419 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18420 wxSize const &arg5_defvalue = wxDefaultSize ;
18421 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18422 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
18423 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
18424 wxString *arg7 = (wxString *) &arg7_defvalue ;
18425 bool result;
18426 wxPoint temp4 ;
18427 wxSize temp5 ;
18428 bool temp7 = False ;
18429 PyObject * obj0 = 0 ;
18430 PyObject * obj1 = 0 ;
18431 PyObject * obj2 = 0 ;
18432 PyObject * obj3 = 0 ;
18433 PyObject * obj4 = 0 ;
18434 PyObject * obj5 = 0 ;
18435 PyObject * obj6 = 0 ;
18436 char *kwnames[] = {
18437 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18438 };
18439
18440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
18441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18443 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18445 arg3 = (int) SWIG_AsInt(obj2);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 if (obj3) {
18448 {
18449 arg4 = &temp4;
18450 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18451 }
18452 }
18453 if (obj4) {
18454 {
18455 arg5 = &temp5;
18456 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18457 }
18458 }
18459 if (obj5) {
18460 arg6 = (long) SWIG_AsLong(obj5);
18461 if (PyErr_Occurred()) SWIG_fail;
18462 }
18463 if (obj6) {
18464 {
18465 arg7 = wxString_in_helper(obj6);
18466 if (arg7 == NULL) SWIG_fail;
18467 temp7 = True;
18468 }
18469 }
18470 {
18471 PyThreadState* __tstate = wxPyBeginAllowThreads();
18472 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18473
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 {
18478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18479 }
18480 {
18481 if (temp7)
18482 delete arg7;
18483 }
18484 return resultobj;
18485 fail:
18486 {
18487 if (temp7)
18488 delete arg7;
18489 }
18490 return NULL;
18491}
18492
18493
18494static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18495 PyObject *resultobj;
18496 wxToolBar *arg1 = (wxToolBar *) 0 ;
18497 int arg2 ;
18498 int arg3 ;
18499 wxToolBarToolBase *result;
18500 PyObject * obj0 = 0 ;
18501 PyObject * obj1 = 0 ;
18502 PyObject * obj2 = 0 ;
18503 char *kwnames[] = {
18504 (char *) "self",(char *) "x",(char *) "y", NULL
18505 };
18506
18507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
18508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxToolBar,
18509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18510 arg2 = (int) SWIG_AsInt(obj1);
18511 if (PyErr_Occurred()) SWIG_fail;
18512 arg3 = (int) SWIG_AsInt(obj2);
18513 if (PyErr_Occurred()) SWIG_fail;
18514 {
18515 PyThreadState* __tstate = wxPyBeginAllowThreads();
18516 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
18517
18518 wxPyEndAllowThreads(__tstate);
18519 if (PyErr_Occurred()) SWIG_fail;
18520 }
18521 {
18522 resultobj = wxPyMake_wxObject(result);
18523 }
18524 return resultobj;
18525 fail:
18526 return NULL;
18527}
18528
18529
f20a2e1f
RD
18530static PyObject *_wrap_ToolBar_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18531 PyObject *resultobj;
18532 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
18533 wxVisualAttributes result;
18534 PyObject * obj0 = 0 ;
18535 char *kwnames[] = {
18536 (char *) "variant", NULL
18537 };
18538
18539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
18540 if (obj0) {
18541 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 }
18544 {
18545 PyThreadState* __tstate = wxPyBeginAllowThreads();
18546 result = wxToolBar::GetClassDefaultAttributes((wxWindowVariant )arg1);
18547
18548 wxPyEndAllowThreads(__tstate);
18549 if (PyErr_Occurred()) SWIG_fail;
18550 }
18551 {
18552 wxVisualAttributes * resultptr;
18553 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
18554 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
18555 }
18556 return resultobj;
18557 fail:
18558 return NULL;
18559}
18560
18561
d55e5bfc
RD
18562static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
18563 PyObject *obj;
18564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18565 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
18566 Py_INCREF(obj);
18567 return Py_BuildValue((char *)"");
18568}
18569static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
18570 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
18571 return 1;
18572}
18573
18574
18575static PyObject *_wrap_ListCtrlNameStr_get() {
18576 PyObject *pyobj;
18577
18578 {
18579#if wxUSE_UNICODE
18580 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18581#else
18582 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
18583#endif
18584 }
18585 return pyobj;
18586}
18587
18588
18589static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
18590 PyObject *resultobj;
18591 wxColour const &arg1_defvalue = wxNullColour ;
18592 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
18593 wxColour const &arg2_defvalue = wxNullColour ;
18594 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
18595 wxFont const &arg3_defvalue = wxNullFont ;
18596 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
18597 wxListItemAttr *result;
18598 wxColour temp1 ;
18599 wxColour temp2 ;
18600 PyObject * obj0 = 0 ;
18601 PyObject * obj1 = 0 ;
18602 PyObject * obj2 = 0 ;
18603 char *kwnames[] = {
18604 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18605 };
18606
18607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
18608 if (obj0) {
18609 {
18610 arg1 = &temp1;
18611 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
18612 }
18613 }
18614 if (obj1) {
18615 {
18616 arg2 = &temp2;
18617 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18618 }
18619 }
18620 if (obj2) {
18621 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
18622 SWIG_POINTER_EXCEPTION | 0)) == -1)
18623 SWIG_fail;
18624 if (arg3 == NULL) {
18625 PyErr_SetString(PyExc_TypeError,"null reference");
18626 SWIG_fail;
18627 }
18628 }
18629 {
18630 PyThreadState* __tstate = wxPyBeginAllowThreads();
18631 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
18632
18633 wxPyEndAllowThreads(__tstate);
18634 if (PyErr_Occurred()) SWIG_fail;
18635 }
18636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 1);
18637 return resultobj;
18638 fail:
18639 return NULL;
18640}
18641
18642
18643static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18644 PyObject *resultobj;
18645 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18646 wxColour *arg2 = 0 ;
18647 wxColour temp2 ;
18648 PyObject * obj0 = 0 ;
18649 PyObject * obj1 = 0 ;
18650 char *kwnames[] = {
18651 (char *) "self",(char *) "colText", NULL
18652 };
18653
18654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18657 {
18658 arg2 = &temp2;
18659 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18660 }
18661 {
18662 PyThreadState* __tstate = wxPyBeginAllowThreads();
18663 (arg1)->SetTextColour((wxColour const &)*arg2);
18664
18665 wxPyEndAllowThreads(__tstate);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
18668 Py_INCREF(Py_None); resultobj = Py_None;
18669 return resultobj;
18670 fail:
18671 return NULL;
18672}
18673
18674
18675static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18676 PyObject *resultobj;
18677 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18678 wxColour *arg2 = 0 ;
18679 wxColour temp2 ;
18680 PyObject * obj0 = 0 ;
18681 PyObject * obj1 = 0 ;
18682 char *kwnames[] = {
18683 (char *) "self",(char *) "colBack", NULL
18684 };
18685
18686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18689 {
18690 arg2 = &temp2;
18691 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18692 }
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18696
18697 wxPyEndAllowThreads(__tstate);
18698 if (PyErr_Occurred()) SWIG_fail;
18699 }
18700 Py_INCREF(Py_None); resultobj = Py_None;
18701 return resultobj;
18702 fail:
18703 return NULL;
18704}
18705
18706
18707static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18708 PyObject *resultobj;
18709 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18710 wxFont *arg2 = 0 ;
18711 PyObject * obj0 = 0 ;
18712 PyObject * obj1 = 0 ;
18713 char *kwnames[] = {
18714 (char *) "self",(char *) "font", NULL
18715 };
18716
18717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
18718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
18721 SWIG_POINTER_EXCEPTION | 0)) == -1)
18722 SWIG_fail;
18723 if (arg2 == NULL) {
18724 PyErr_SetString(PyExc_TypeError,"null reference");
18725 SWIG_fail;
18726 }
18727 {
18728 PyThreadState* __tstate = wxPyBeginAllowThreads();
18729 (arg1)->SetFont((wxFont const &)*arg2);
18730
18731 wxPyEndAllowThreads(__tstate);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
18734 Py_INCREF(Py_None); resultobj = Py_None;
18735 return resultobj;
18736 fail:
18737 return NULL;
18738}
18739
18740
18741static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18742 PyObject *resultobj;
18743 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18744 bool result;
18745 PyObject * obj0 = 0 ;
18746 char *kwnames[] = {
18747 (char *) "self", NULL
18748 };
18749
18750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
18751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 result = (bool)(arg1)->HasTextColour();
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 {
18761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18762 }
18763 return resultobj;
18764 fail:
18765 return NULL;
18766}
18767
18768
18769static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18770 PyObject *resultobj;
18771 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18772 bool result;
18773 PyObject * obj0 = 0 ;
18774 char *kwnames[] = {
18775 (char *) "self", NULL
18776 };
18777
18778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
18779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 result = (bool)(arg1)->HasBackgroundColour();
18784
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
18788 {
18789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18790 }
18791 return resultobj;
18792 fail:
18793 return NULL;
18794}
18795
18796
18797static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18798 PyObject *resultobj;
18799 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18800 bool result;
18801 PyObject * obj0 = 0 ;
18802 char *kwnames[] = {
18803 (char *) "self", NULL
18804 };
18805
18806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
18807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18809 {
18810 PyThreadState* __tstate = wxPyBeginAllowThreads();
18811 result = (bool)(arg1)->HasFont();
18812
18813 wxPyEndAllowThreads(__tstate);
18814 if (PyErr_Occurred()) SWIG_fail;
18815 }
18816 {
18817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18818 }
18819 return resultobj;
18820 fail:
18821 return NULL;
18822}
18823
18824
18825static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18826 PyObject *resultobj;
18827 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18828 wxColour result;
18829 PyObject * obj0 = 0 ;
18830 char *kwnames[] = {
18831 (char *) "self", NULL
18832 };
18833
18834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
18835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18837 {
18838 PyThreadState* __tstate = wxPyBeginAllowThreads();
18839 result = (arg1)->GetTextColour();
18840
18841 wxPyEndAllowThreads(__tstate);
18842 if (PyErr_Occurred()) SWIG_fail;
18843 }
18844 {
18845 wxColour * resultptr;
18846 resultptr = new wxColour((wxColour &) result);
18847 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18848 }
18849 return resultobj;
18850 fail:
18851 return NULL;
18852}
18853
18854
18855static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18856 PyObject *resultobj;
18857 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18858 wxColour result;
18859 PyObject * obj0 = 0 ;
18860 char *kwnames[] = {
18861 (char *) "self", NULL
18862 };
18863
18864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
18865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18867 {
18868 PyThreadState* __tstate = wxPyBeginAllowThreads();
18869 result = (arg1)->GetBackgroundColour();
18870
18871 wxPyEndAllowThreads(__tstate);
18872 if (PyErr_Occurred()) SWIG_fail;
18873 }
18874 {
18875 wxColour * resultptr;
18876 resultptr = new wxColour((wxColour &) result);
18877 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
18878 }
18879 return resultobj;
18880 fail:
18881 return NULL;
18882}
18883
18884
18885static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18886 PyObject *resultobj;
18887 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18888 wxFont result;
18889 PyObject * obj0 = 0 ;
18890 char *kwnames[] = {
18891 (char *) "self", NULL
18892 };
18893
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
18895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18897 {
18898 PyThreadState* __tstate = wxPyBeginAllowThreads();
18899 result = (arg1)->GetFont();
18900
18901 wxPyEndAllowThreads(__tstate);
18902 if (PyErr_Occurred()) SWIG_fail;
18903 }
18904 {
18905 wxFont * resultptr;
18906 resultptr = new wxFont((wxFont &) result);
18907 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
18908 }
18909 return resultobj;
18910 fail:
18911 return NULL;
18912}
18913
18914
18915static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
18916 PyObject *resultobj;
18917 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
18918 PyObject * obj0 = 0 ;
18919 char *kwnames[] = {
18920 (char *) "self", NULL
18921 };
18922
18923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
18924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItemAttr,
18925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 wxListItemAttr_Destroy(arg1);
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 Py_INCREF(Py_None); resultobj = Py_None;
18934 return resultobj;
18935 fail:
18936 return NULL;
18937}
18938
18939
18940static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
18941 PyObject *obj;
18942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18943 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
18944 Py_INCREF(obj);
18945 return Py_BuildValue((char *)"");
18946}
18947static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18948 PyObject *resultobj;
18949 wxListItem *result;
18950 char *kwnames[] = {
18951 NULL
18952 };
18953
18954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
18955 {
18956 PyThreadState* __tstate = wxPyBeginAllowThreads();
18957 result = (wxListItem *)new wxListItem();
18958
18959 wxPyEndAllowThreads(__tstate);
18960 if (PyErr_Occurred()) SWIG_fail;
18961 }
18962 {
18963 resultobj = wxPyMake_wxObject(result);
18964 }
18965 return resultobj;
18966 fail:
18967 return NULL;
18968}
18969
18970
18971static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj;
18973 wxListItem *arg1 = (wxListItem *) 0 ;
18974 PyObject * obj0 = 0 ;
18975 char *kwnames[] = {
18976 (char *) "self", NULL
18977 };
18978
18979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
18980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
18981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18982 {
18983 PyThreadState* __tstate = wxPyBeginAllowThreads();
18984 delete arg1;
18985
18986 wxPyEndAllowThreads(__tstate);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 Py_INCREF(Py_None); resultobj = Py_None;
18990 return resultobj;
18991 fail:
18992 return NULL;
18993}
18994
18995
18996static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
18997 PyObject *resultobj;
18998 wxListItem *arg1 = (wxListItem *) 0 ;
18999 PyObject * obj0 = 0 ;
19000 char *kwnames[] = {
19001 (char *) "self", NULL
19002 };
19003
19004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
19005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19007 {
19008 PyThreadState* __tstate = wxPyBeginAllowThreads();
19009 (arg1)->Clear();
19010
19011 wxPyEndAllowThreads(__tstate);
19012 if (PyErr_Occurred()) SWIG_fail;
19013 }
19014 Py_INCREF(Py_None); resultobj = Py_None;
19015 return resultobj;
19016 fail:
19017 return NULL;
19018}
19019
19020
19021static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19022 PyObject *resultobj;
19023 wxListItem *arg1 = (wxListItem *) 0 ;
19024 PyObject * obj0 = 0 ;
19025 char *kwnames[] = {
19026 (char *) "self", NULL
19027 };
19028
19029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
19030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 (arg1)->ClearAttributes();
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 Py_INCREF(Py_None); resultobj = Py_None;
19040 return resultobj;
19041 fail:
19042 return NULL;
19043}
19044
19045
19046static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19047 PyObject *resultobj;
19048 wxListItem *arg1 = (wxListItem *) 0 ;
19049 long arg2 ;
19050 PyObject * obj0 = 0 ;
19051 PyObject * obj1 = 0 ;
19052 char *kwnames[] = {
19053 (char *) "self",(char *) "mask", NULL
19054 };
19055
19056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
19057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19059 arg2 = (long) SWIG_AsLong(obj1);
19060 if (PyErr_Occurred()) SWIG_fail;
19061 {
19062 PyThreadState* __tstate = wxPyBeginAllowThreads();
19063 (arg1)->SetMask(arg2);
19064
19065 wxPyEndAllowThreads(__tstate);
19066 if (PyErr_Occurred()) SWIG_fail;
19067 }
19068 Py_INCREF(Py_None); resultobj = Py_None;
19069 return resultobj;
19070 fail:
19071 return NULL;
19072}
19073
19074
19075static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19076 PyObject *resultobj;
19077 wxListItem *arg1 = (wxListItem *) 0 ;
19078 long arg2 ;
19079 PyObject * obj0 = 0 ;
19080 PyObject * obj1 = 0 ;
19081 char *kwnames[] = {
19082 (char *) "self",(char *) "id", NULL
19083 };
19084
19085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
19086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19088 arg2 = (long) SWIG_AsLong(obj1);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 {
19091 PyThreadState* __tstate = wxPyBeginAllowThreads();
19092 (arg1)->SetId(arg2);
19093
19094 wxPyEndAllowThreads(__tstate);
19095 if (PyErr_Occurred()) SWIG_fail;
19096 }
19097 Py_INCREF(Py_None); resultobj = Py_None;
19098 return resultobj;
19099 fail:
19100 return NULL;
19101}
19102
19103
19104static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19105 PyObject *resultobj;
19106 wxListItem *arg1 = (wxListItem *) 0 ;
19107 int arg2 ;
19108 PyObject * obj0 = 0 ;
19109 PyObject * obj1 = 0 ;
19110 char *kwnames[] = {
19111 (char *) "self",(char *) "col", NULL
19112 };
19113
19114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
19115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19117 arg2 = (int) SWIG_AsInt(obj1);
19118 if (PyErr_Occurred()) SWIG_fail;
19119 {
19120 PyThreadState* __tstate = wxPyBeginAllowThreads();
19121 (arg1)->SetColumn(arg2);
19122
19123 wxPyEndAllowThreads(__tstate);
19124 if (PyErr_Occurred()) SWIG_fail;
19125 }
19126 Py_INCREF(Py_None); resultobj = Py_None;
19127 return resultobj;
19128 fail:
19129 return NULL;
19130}
19131
19132
19133static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19134 PyObject *resultobj;
19135 wxListItem *arg1 = (wxListItem *) 0 ;
19136 long arg2 ;
19137 PyObject * obj0 = 0 ;
19138 PyObject * obj1 = 0 ;
19139 char *kwnames[] = {
19140 (char *) "self",(char *) "state", NULL
19141 };
19142
19143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
19144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19146 arg2 = (long) SWIG_AsLong(obj1);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 {
19149 PyThreadState* __tstate = wxPyBeginAllowThreads();
19150 (arg1)->SetState(arg2);
19151
19152 wxPyEndAllowThreads(__tstate);
19153 if (PyErr_Occurred()) SWIG_fail;
19154 }
19155 Py_INCREF(Py_None); resultobj = Py_None;
19156 return resultobj;
19157 fail:
19158 return NULL;
19159}
19160
19161
19162static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19163 PyObject *resultobj;
19164 wxListItem *arg1 = (wxListItem *) 0 ;
19165 long arg2 ;
19166 PyObject * obj0 = 0 ;
19167 PyObject * obj1 = 0 ;
19168 char *kwnames[] = {
19169 (char *) "self",(char *) "stateMask", NULL
19170 };
19171
19172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
19173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19175 arg2 = (long) SWIG_AsLong(obj1);
19176 if (PyErr_Occurred()) SWIG_fail;
19177 {
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 (arg1)->SetStateMask(arg2);
19180
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 Py_INCREF(Py_None); resultobj = Py_None;
19185 return resultobj;
19186 fail:
19187 return NULL;
19188}
19189
19190
19191static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19192 PyObject *resultobj;
19193 wxListItem *arg1 = (wxListItem *) 0 ;
19194 wxString *arg2 = 0 ;
19195 bool temp2 = False ;
19196 PyObject * obj0 = 0 ;
19197 PyObject * obj1 = 0 ;
19198 char *kwnames[] = {
19199 (char *) "self",(char *) "text", NULL
19200 };
19201
19202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
19203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19205 {
19206 arg2 = wxString_in_helper(obj1);
19207 if (arg2 == NULL) SWIG_fail;
19208 temp2 = True;
19209 }
19210 {
19211 PyThreadState* __tstate = wxPyBeginAllowThreads();
19212 (arg1)->SetText((wxString const &)*arg2);
19213
19214 wxPyEndAllowThreads(__tstate);
19215 if (PyErr_Occurred()) SWIG_fail;
19216 }
19217 Py_INCREF(Py_None); resultobj = Py_None;
19218 {
19219 if (temp2)
19220 delete arg2;
19221 }
19222 return resultobj;
19223 fail:
19224 {
19225 if (temp2)
19226 delete arg2;
19227 }
19228 return NULL;
19229}
19230
19231
19232static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19233 PyObject *resultobj;
19234 wxListItem *arg1 = (wxListItem *) 0 ;
19235 int arg2 ;
19236 PyObject * obj0 = 0 ;
19237 PyObject * obj1 = 0 ;
19238 char *kwnames[] = {
19239 (char *) "self",(char *) "image", NULL
19240 };
19241
19242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
19243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19245 arg2 = (int) SWIG_AsInt(obj1);
19246 if (PyErr_Occurred()) SWIG_fail;
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 (arg1)->SetImage(arg2);
19250
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 Py_INCREF(Py_None); resultobj = Py_None;
19255 return resultobj;
19256 fail:
19257 return NULL;
19258}
19259
19260
19261static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19262 PyObject *resultobj;
19263 wxListItem *arg1 = (wxListItem *) 0 ;
19264 long arg2 ;
19265 PyObject * obj0 = 0 ;
19266 PyObject * obj1 = 0 ;
19267 char *kwnames[] = {
19268 (char *) "self",(char *) "data", NULL
19269 };
19270
19271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
19272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19274 arg2 = (long) SWIG_AsLong(obj1);
19275 if (PyErr_Occurred()) SWIG_fail;
19276 {
19277 PyThreadState* __tstate = wxPyBeginAllowThreads();
19278 (arg1)->SetData(arg2);
19279
19280 wxPyEndAllowThreads(__tstate);
19281 if (PyErr_Occurred()) SWIG_fail;
19282 }
19283 Py_INCREF(Py_None); resultobj = Py_None;
19284 return resultobj;
19285 fail:
19286 return NULL;
19287}
19288
19289
19290static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19291 PyObject *resultobj;
19292 wxListItem *arg1 = (wxListItem *) 0 ;
19293 int arg2 ;
19294 PyObject * obj0 = 0 ;
19295 PyObject * obj1 = 0 ;
19296 char *kwnames[] = {
19297 (char *) "self",(char *) "width", NULL
19298 };
19299
19300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
19301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19303 arg2 = (int) SWIG_AsInt(obj1);
19304 if (PyErr_Occurred()) SWIG_fail;
19305 {
19306 PyThreadState* __tstate = wxPyBeginAllowThreads();
19307 (arg1)->SetWidth(arg2);
19308
19309 wxPyEndAllowThreads(__tstate);
19310 if (PyErr_Occurred()) SWIG_fail;
19311 }
19312 Py_INCREF(Py_None); resultobj = Py_None;
19313 return resultobj;
19314 fail:
19315 return NULL;
19316}
19317
19318
19319static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19320 PyObject *resultobj;
19321 wxListItem *arg1 = (wxListItem *) 0 ;
19322 int arg2 ;
19323 PyObject * obj0 = 0 ;
19324 PyObject * obj1 = 0 ;
19325 char *kwnames[] = {
19326 (char *) "self",(char *) "align", NULL
19327 };
19328
19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
19330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19332 arg2 = (wxListColumnFormat) SWIG_AsInt(obj1);
19333 if (PyErr_Occurred()) SWIG_fail;
19334 {
19335 PyThreadState* __tstate = wxPyBeginAllowThreads();
19336 (arg1)->SetAlign((wxListColumnFormat )arg2);
19337
19338 wxPyEndAllowThreads(__tstate);
19339 if (PyErr_Occurred()) SWIG_fail;
19340 }
19341 Py_INCREF(Py_None); resultobj = Py_None;
19342 return resultobj;
19343 fail:
19344 return NULL;
19345}
19346
19347
19348static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19349 PyObject *resultobj;
19350 wxListItem *arg1 = (wxListItem *) 0 ;
19351 wxColour *arg2 = 0 ;
19352 wxColour temp2 ;
19353 PyObject * obj0 = 0 ;
19354 PyObject * obj1 = 0 ;
19355 char *kwnames[] = {
19356 (char *) "self",(char *) "colText", NULL
19357 };
19358
19359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19362 {
19363 arg2 = &temp2;
19364 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19365 }
19366 {
19367 PyThreadState* __tstate = wxPyBeginAllowThreads();
19368 (arg1)->SetTextColour((wxColour const &)*arg2);
19369
19370 wxPyEndAllowThreads(__tstate);
19371 if (PyErr_Occurred()) SWIG_fail;
19372 }
19373 Py_INCREF(Py_None); resultobj = Py_None;
19374 return resultobj;
19375 fail:
19376 return NULL;
19377}
19378
19379
19380static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19381 PyObject *resultobj;
19382 wxListItem *arg1 = (wxListItem *) 0 ;
19383 wxColour *arg2 = 0 ;
19384 wxColour temp2 ;
19385 PyObject * obj0 = 0 ;
19386 PyObject * obj1 = 0 ;
19387 char *kwnames[] = {
19388 (char *) "self",(char *) "colBack", NULL
19389 };
19390
19391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
19392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19394 {
19395 arg2 = &temp2;
19396 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19397 }
19398 {
19399 PyThreadState* __tstate = wxPyBeginAllowThreads();
19400 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
19401
19402 wxPyEndAllowThreads(__tstate);
19403 if (PyErr_Occurred()) SWIG_fail;
19404 }
19405 Py_INCREF(Py_None); resultobj = Py_None;
19406 return resultobj;
19407 fail:
19408 return NULL;
19409}
19410
19411
19412static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19413 PyObject *resultobj;
19414 wxListItem *arg1 = (wxListItem *) 0 ;
19415 wxFont *arg2 = 0 ;
19416 PyObject * obj0 = 0 ;
19417 PyObject * obj1 = 0 ;
19418 char *kwnames[] = {
19419 (char *) "self",(char *) "font", NULL
19420 };
19421
19422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
19423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19425 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
19426 SWIG_POINTER_EXCEPTION | 0)) == -1)
19427 SWIG_fail;
19428 if (arg2 == NULL) {
19429 PyErr_SetString(PyExc_TypeError,"null reference");
19430 SWIG_fail;
19431 }
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 (arg1)->SetFont((wxFont const &)*arg2);
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 Py_INCREF(Py_None); resultobj = Py_None;
19440 return resultobj;
19441 fail:
19442 return NULL;
19443}
19444
19445
19446static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19447 PyObject *resultobj;
19448 wxListItem *arg1 = (wxListItem *) 0 ;
19449 long result;
19450 PyObject * obj0 = 0 ;
19451 char *kwnames[] = {
19452 (char *) "self", NULL
19453 };
19454
19455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
19456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19458 {
19459 PyThreadState* __tstate = wxPyBeginAllowThreads();
19460 result = (long)(arg1)->GetMask();
19461
19462 wxPyEndAllowThreads(__tstate);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 }
19465 resultobj = SWIG_FromLong((long)result);
19466 return resultobj;
19467 fail:
19468 return NULL;
19469}
19470
19471
19472static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19473 PyObject *resultobj;
19474 wxListItem *arg1 = (wxListItem *) 0 ;
19475 long result;
19476 PyObject * obj0 = 0 ;
19477 char *kwnames[] = {
19478 (char *) "self", NULL
19479 };
19480
19481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
19482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19484 {
19485 PyThreadState* __tstate = wxPyBeginAllowThreads();
19486 result = (long)(arg1)->GetId();
19487
19488 wxPyEndAllowThreads(__tstate);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 }
19491 resultobj = SWIG_FromLong((long)result);
19492 return resultobj;
19493 fail:
19494 return NULL;
19495}
19496
19497
19498static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19499 PyObject *resultobj;
19500 wxListItem *arg1 = (wxListItem *) 0 ;
19501 int result;
19502 PyObject * obj0 = 0 ;
19503 char *kwnames[] = {
19504 (char *) "self", NULL
19505 };
19506
19507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
19508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19510 {
19511 PyThreadState* __tstate = wxPyBeginAllowThreads();
19512 result = (int)(arg1)->GetColumn();
19513
19514 wxPyEndAllowThreads(__tstate);
19515 if (PyErr_Occurred()) SWIG_fail;
19516 }
19517 resultobj = SWIG_FromInt((int)result);
19518 return resultobj;
19519 fail:
19520 return NULL;
19521}
19522
19523
19524static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
19525 PyObject *resultobj;
19526 wxListItem *arg1 = (wxListItem *) 0 ;
19527 long result;
19528 PyObject * obj0 = 0 ;
19529 char *kwnames[] = {
19530 (char *) "self", NULL
19531 };
19532
19533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
19534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19536 {
19537 PyThreadState* __tstate = wxPyBeginAllowThreads();
19538 result = (long)(arg1)->GetState();
19539
19540 wxPyEndAllowThreads(__tstate);
19541 if (PyErr_Occurred()) SWIG_fail;
19542 }
19543 resultobj = SWIG_FromLong((long)result);
19544 return resultobj;
19545 fail:
19546 return NULL;
19547}
19548
19549
19550static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19551 PyObject *resultobj;
19552 wxListItem *arg1 = (wxListItem *) 0 ;
19553 wxString *result;
19554 PyObject * obj0 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self", NULL
19557 };
19558
19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
19560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 {
19565 wxString const &_result_ref = (arg1)->GetText();
19566 result = (wxString *) &_result_ref;
19567 }
19568
19569 wxPyEndAllowThreads(__tstate);
19570 if (PyErr_Occurred()) SWIG_fail;
19571 }
19572 {
19573#if wxUSE_UNICODE
19574 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19575#else
19576 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19577#endif
19578 }
19579 return resultobj;
19580 fail:
19581 return NULL;
19582}
19583
19584
19585static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19586 PyObject *resultobj;
19587 wxListItem *arg1 = (wxListItem *) 0 ;
19588 int result;
19589 PyObject * obj0 = 0 ;
19590 char *kwnames[] = {
19591 (char *) "self", NULL
19592 };
19593
19594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
19595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19597 {
19598 PyThreadState* __tstate = wxPyBeginAllowThreads();
19599 result = (int)(arg1)->GetImage();
19600
19601 wxPyEndAllowThreads(__tstate);
19602 if (PyErr_Occurred()) SWIG_fail;
19603 }
19604 resultobj = SWIG_FromInt((int)result);
19605 return resultobj;
19606 fail:
19607 return NULL;
19608}
19609
19610
19611static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19612 PyObject *resultobj;
19613 wxListItem *arg1 = (wxListItem *) 0 ;
19614 long result;
19615 PyObject * obj0 = 0 ;
19616 char *kwnames[] = {
19617 (char *) "self", NULL
19618 };
19619
19620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
19621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (long)(arg1)->GetData();
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 resultobj = SWIG_FromLong((long)result);
19631 return resultobj;
19632 fail:
19633 return NULL;
19634}
19635
19636
19637static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
19638 PyObject *resultobj;
19639 wxListItem *arg1 = (wxListItem *) 0 ;
19640 int result;
19641 PyObject * obj0 = 0 ;
19642 char *kwnames[] = {
19643 (char *) "self", NULL
19644 };
19645
19646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
19647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19649 {
19650 PyThreadState* __tstate = wxPyBeginAllowThreads();
19651 result = (int)(arg1)->GetWidth();
19652
19653 wxPyEndAllowThreads(__tstate);
19654 if (PyErr_Occurred()) SWIG_fail;
19655 }
19656 resultobj = SWIG_FromInt((int)result);
19657 return resultobj;
19658 fail:
19659 return NULL;
19660}
19661
19662
19663static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
19664 PyObject *resultobj;
19665 wxListItem *arg1 = (wxListItem *) 0 ;
19666 int result;
19667 PyObject * obj0 = 0 ;
19668 char *kwnames[] = {
19669 (char *) "self", NULL
19670 };
19671
19672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
19673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 result = (int)(arg1)->GetAlign();
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 resultobj = SWIG_FromInt((int)result);
19683 return resultobj;
19684 fail:
19685 return NULL;
19686}
19687
19688
19689static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxListItem *arg1 = (wxListItem *) 0 ;
19692 wxListItemAttr *result;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
19699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 result = (wxListItemAttr *)(arg1)->GetAttributes();
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItemAttr, 0);
19709 return resultobj;
19710 fail:
19711 return NULL;
19712}
19713
19714
19715static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
19716 PyObject *resultobj;
19717 wxListItem *arg1 = (wxListItem *) 0 ;
19718 bool result;
19719 PyObject * obj0 = 0 ;
19720 char *kwnames[] = {
19721 (char *) "self", NULL
19722 };
19723
19724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
19725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19727 {
19728 PyThreadState* __tstate = wxPyBeginAllowThreads();
19729 result = (bool)(arg1)->HasAttributes();
19730
19731 wxPyEndAllowThreads(__tstate);
19732 if (PyErr_Occurred()) SWIG_fail;
19733 }
19734 {
19735 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19736 }
19737 return resultobj;
19738 fail:
19739 return NULL;
19740}
19741
19742
19743static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19744 PyObject *resultobj;
19745 wxListItem *arg1 = (wxListItem *) 0 ;
19746 wxColour result;
19747 PyObject * obj0 = 0 ;
19748 char *kwnames[] = {
19749 (char *) "self", NULL
19750 };
19751
19752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
19753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 result = ((wxListItem const *)arg1)->GetTextColour();
19758
19759 wxPyEndAllowThreads(__tstate);
19760 if (PyErr_Occurred()) SWIG_fail;
19761 }
19762 {
19763 wxColour * resultptr;
19764 resultptr = new wxColour((wxColour &) result);
19765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19766 }
19767 return resultobj;
19768 fail:
19769 return NULL;
19770}
19771
19772
19773static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxListItem *arg1 = (wxListItem *) 0 ;
19776 wxColour result;
19777 PyObject * obj0 = 0 ;
19778 char *kwnames[] = {
19779 (char *) "self", NULL
19780 };
19781
19782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
19783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 result = ((wxListItem const *)arg1)->GetBackgroundColour();
19788
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 {
19793 wxColour * resultptr;
19794 resultptr = new wxColour((wxColour &) result);
19795 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
19796 }
19797 return resultobj;
19798 fail:
19799 return NULL;
19800}
19801
19802
19803static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
19804 PyObject *resultobj;
19805 wxListItem *arg1 = (wxListItem *) 0 ;
19806 wxFont result;
19807 PyObject * obj0 = 0 ;
19808 char *kwnames[] = {
19809 (char *) "self", NULL
19810 };
19811
19812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
19813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19815 {
19816 PyThreadState* __tstate = wxPyBeginAllowThreads();
19817 result = ((wxListItem const *)arg1)->GetFont();
19818
19819 wxPyEndAllowThreads(__tstate);
19820 if (PyErr_Occurred()) SWIG_fail;
19821 }
19822 {
19823 wxFont * resultptr;
19824 resultptr = new wxFont((wxFont &) result);
19825 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
19826 }
19827 return resultobj;
19828 fail:
19829 return NULL;
19830}
19831
19832
19833static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj;
19835 wxListItem *arg1 = (wxListItem *) 0 ;
19836 long arg2 ;
19837 PyObject * obj0 = 0 ;
19838 PyObject * obj1 = 0 ;
19839 char *kwnames[] = {
19840 (char *) "self",(char *) "m_mask", NULL
19841 };
19842
19843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
19844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19846 arg2 = (long) SWIG_AsLong(obj1);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 if (arg1) (arg1)->m_mask = arg2;
19849
19850 Py_INCREF(Py_None); resultobj = Py_None;
19851 return resultobj;
19852 fail:
19853 return NULL;
19854}
19855
19856
19857static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19858 PyObject *resultobj;
19859 wxListItem *arg1 = (wxListItem *) 0 ;
19860 long result;
19861 PyObject * obj0 = 0 ;
19862 char *kwnames[] = {
19863 (char *) "self", NULL
19864 };
19865
19866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
19867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19869 result = (long) ((arg1)->m_mask);
19870
19871 resultobj = SWIG_FromLong((long)result);
19872 return resultobj;
19873 fail:
19874 return NULL;
19875}
19876
19877
19878static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19879 PyObject *resultobj;
19880 wxListItem *arg1 = (wxListItem *) 0 ;
19881 long arg2 ;
19882 PyObject * obj0 = 0 ;
19883 PyObject * obj1 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self",(char *) "m_itemId", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
19889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19891 arg2 = (long) SWIG_AsLong(obj1);
19892 if (PyErr_Occurred()) SWIG_fail;
19893 if (arg1) (arg1)->m_itemId = arg2;
19894
19895 Py_INCREF(Py_None); resultobj = Py_None;
19896 return resultobj;
19897 fail:
19898 return NULL;
19899}
19900
19901
19902static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19903 PyObject *resultobj;
19904 wxListItem *arg1 = (wxListItem *) 0 ;
19905 long result;
19906 PyObject * obj0 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
19912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19914 result = (long) ((arg1)->m_itemId);
19915
19916 resultobj = SWIG_FromLong((long)result);
19917 return resultobj;
19918 fail:
19919 return NULL;
19920}
19921
19922
19923static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19924 PyObject *resultobj;
19925 wxListItem *arg1 = (wxListItem *) 0 ;
19926 int arg2 ;
19927 PyObject * obj0 = 0 ;
19928 PyObject * obj1 = 0 ;
19929 char *kwnames[] = {
19930 (char *) "self",(char *) "m_col", NULL
19931 };
19932
19933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19936 arg2 = (int) SWIG_AsInt(obj1);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 if (arg1) (arg1)->m_col = arg2;
19939
19940 Py_INCREF(Py_None); resultobj = Py_None;
19941 return resultobj;
19942 fail:
19943 return NULL;
19944}
19945
19946
19947static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19948 PyObject *resultobj;
19949 wxListItem *arg1 = (wxListItem *) 0 ;
19950 int result;
19951 PyObject * obj0 = 0 ;
19952 char *kwnames[] = {
19953 (char *) "self", NULL
19954 };
19955
19956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
19957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19959 result = (int) ((arg1)->m_col);
19960
19961 resultobj = SWIG_FromInt((int)result);
19962 return resultobj;
19963 fail:
19964 return NULL;
19965}
19966
19967
19968static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19969 PyObject *resultobj;
19970 wxListItem *arg1 = (wxListItem *) 0 ;
19971 long arg2 ;
19972 PyObject * obj0 = 0 ;
19973 PyObject * obj1 = 0 ;
19974 char *kwnames[] = {
19975 (char *) "self",(char *) "m_state", NULL
19976 };
19977
19978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
19979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
19980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19981 arg2 = (long) SWIG_AsLong(obj1);
19982 if (PyErr_Occurred()) SWIG_fail;
19983 if (arg1) (arg1)->m_state = arg2;
19984
19985 Py_INCREF(Py_None); resultobj = Py_None;
19986 return resultobj;
19987 fail:
19988 return NULL;
19989}
19990
19991
19992static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19993 PyObject *resultobj;
19994 wxListItem *arg1 = (wxListItem *) 0 ;
19995 long result;
19996 PyObject * obj0 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
20002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20004 result = (long) ((arg1)->m_state);
20005
20006 resultobj = SWIG_FromLong((long)result);
20007 return resultobj;
20008 fail:
20009 return NULL;
20010}
20011
20012
20013static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20014 PyObject *resultobj;
20015 wxListItem *arg1 = (wxListItem *) 0 ;
20016 long arg2 ;
20017 PyObject * obj0 = 0 ;
20018 PyObject * obj1 = 0 ;
20019 char *kwnames[] = {
20020 (char *) "self",(char *) "m_stateMask", NULL
20021 };
20022
20023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
20024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20026 arg2 = (long) SWIG_AsLong(obj1);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 if (arg1) (arg1)->m_stateMask = arg2;
20029
20030 Py_INCREF(Py_None); resultobj = Py_None;
20031 return resultobj;
20032 fail:
20033 return NULL;
20034}
20035
20036
20037static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj;
20039 wxListItem *arg1 = (wxListItem *) 0 ;
20040 long result;
20041 PyObject * obj0 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "self", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
20047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20049 result = (long) ((arg1)->m_stateMask);
20050
20051 resultobj = SWIG_FromLong((long)result);
20052 return resultobj;
20053 fail:
20054 return NULL;
20055}
20056
20057
20058static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj;
20060 wxListItem *arg1 = (wxListItem *) 0 ;
20061 wxString *arg2 = (wxString *) 0 ;
20062 bool temp2 = False ;
20063 PyObject * obj0 = 0 ;
20064 PyObject * obj1 = 0 ;
20065 char *kwnames[] = {
20066 (char *) "self",(char *) "m_text", NULL
20067 };
20068
20069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
20070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20072 {
20073 arg2 = wxString_in_helper(obj1);
20074 if (arg2 == NULL) SWIG_fail;
20075 temp2 = True;
20076 }
20077 if (arg1) (arg1)->m_text = *arg2;
20078
20079 Py_INCREF(Py_None); resultobj = Py_None;
20080 {
20081 if (temp2)
20082 delete arg2;
20083 }
20084 return resultobj;
20085 fail:
20086 {
20087 if (temp2)
20088 delete arg2;
20089 }
20090 return NULL;
20091}
20092
20093
20094static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxListItem *arg1 = (wxListItem *) 0 ;
20097 wxString *result;
20098 PyObject * obj0 = 0 ;
20099 char *kwnames[] = {
20100 (char *) "self", NULL
20101 };
20102
20103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_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 = (wxString *)& ((arg1)->m_text);
20107
20108 {
20109#if wxUSE_UNICODE
20110 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20111#else
20112 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20113#endif
20114 }
20115 return resultobj;
20116 fail:
20117 return NULL;
20118}
20119
20120
20121static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20122 PyObject *resultobj;
20123 wxListItem *arg1 = (wxListItem *) 0 ;
20124 int arg2 ;
20125 PyObject * obj0 = 0 ;
20126 PyObject * obj1 = 0 ;
20127 char *kwnames[] = {
20128 (char *) "self",(char *) "m_image", NULL
20129 };
20130
20131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
20132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20134 arg2 = (int) SWIG_AsInt(obj1);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 if (arg1) (arg1)->m_image = arg2;
20137
20138 Py_INCREF(Py_None); resultobj = Py_None;
20139 return resultobj;
20140 fail:
20141 return NULL;
20142}
20143
20144
20145static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20146 PyObject *resultobj;
20147 wxListItem *arg1 = (wxListItem *) 0 ;
20148 int result;
20149 PyObject * obj0 = 0 ;
20150 char *kwnames[] = {
20151 (char *) "self", NULL
20152 };
20153
20154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
20155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20157 result = (int) ((arg1)->m_image);
20158
20159 resultobj = SWIG_FromInt((int)result);
20160 return resultobj;
20161 fail:
20162 return NULL;
20163}
20164
20165
20166static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20167 PyObject *resultobj;
20168 wxListItem *arg1 = (wxListItem *) 0 ;
20169 long arg2 ;
20170 PyObject * obj0 = 0 ;
20171 PyObject * obj1 = 0 ;
20172 char *kwnames[] = {
20173 (char *) "self",(char *) "m_data", NULL
20174 };
20175
20176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
20177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20179 arg2 = (long) SWIG_AsLong(obj1);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 if (arg1) (arg1)->m_data = arg2;
20182
20183 Py_INCREF(Py_None); resultobj = Py_None;
20184 return resultobj;
20185 fail:
20186 return NULL;
20187}
20188
20189
20190static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20191 PyObject *resultobj;
20192 wxListItem *arg1 = (wxListItem *) 0 ;
20193 long result;
20194 PyObject * obj0 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "self", NULL
20197 };
20198
20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
20200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20202 result = (long) ((arg1)->m_data);
20203
20204 resultobj = SWIG_FromLong((long)result);
20205 return resultobj;
20206 fail:
20207 return NULL;
20208}
20209
20210
20211static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj;
20213 wxListItem *arg1 = (wxListItem *) 0 ;
20214 int arg2 ;
20215 PyObject * obj0 = 0 ;
20216 PyObject * obj1 = 0 ;
20217 char *kwnames[] = {
20218 (char *) "self",(char *) "m_format", NULL
20219 };
20220
20221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
20222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20224 arg2 = (int) SWIG_AsInt(obj1);
20225 if (PyErr_Occurred()) SWIG_fail;
20226 if (arg1) (arg1)->m_format = arg2;
20227
20228 Py_INCREF(Py_None); resultobj = Py_None;
20229 return resultobj;
20230 fail:
20231 return NULL;
20232}
20233
20234
20235static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20236 PyObject *resultobj;
20237 wxListItem *arg1 = (wxListItem *) 0 ;
20238 int result;
20239 PyObject * obj0 = 0 ;
20240 char *kwnames[] = {
20241 (char *) "self", NULL
20242 };
20243
20244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
20245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20247 result = (int) ((arg1)->m_format);
20248
20249 resultobj = SWIG_FromInt((int)result);
20250 return resultobj;
20251 fail:
20252 return NULL;
20253}
20254
20255
20256static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20257 PyObject *resultobj;
20258 wxListItem *arg1 = (wxListItem *) 0 ;
20259 int arg2 ;
20260 PyObject * obj0 = 0 ;
20261 PyObject * obj1 = 0 ;
20262 char *kwnames[] = {
20263 (char *) "self",(char *) "m_width", NULL
20264 };
20265
20266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
20267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20269 arg2 = (int) SWIG_AsInt(obj1);
20270 if (PyErr_Occurred()) SWIG_fail;
20271 if (arg1) (arg1)->m_width = arg2;
20272
20273 Py_INCREF(Py_None); resultobj = Py_None;
20274 return resultobj;
20275 fail:
20276 return NULL;
20277}
20278
20279
20280static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20281 PyObject *resultobj;
20282 wxListItem *arg1 = (wxListItem *) 0 ;
20283 int result;
20284 PyObject * obj0 = 0 ;
20285 char *kwnames[] = {
20286 (char *) "self", NULL
20287 };
20288
20289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
20290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListItem,
20291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20292 result = (int) ((arg1)->m_width);
20293
20294 resultobj = SWIG_FromInt((int)result);
20295 return resultobj;
20296 fail:
20297 return NULL;
20298}
20299
20300
20301static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
20302 PyObject *obj;
20303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20304 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
20305 Py_INCREF(obj);
20306 return Py_BuildValue((char *)"");
20307}
20308static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20309 PyObject *resultobj;
20310 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20311 int arg2 = (int) 0 ;
20312 wxListEvent *result;
20313 PyObject * obj0 = 0 ;
20314 PyObject * obj1 = 0 ;
20315 char *kwnames[] = {
20316 (char *) "commandType",(char *) "id", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
20320 if (obj0) {
20321 arg1 = (wxEventType) SWIG_AsInt(obj0);
20322 if (PyErr_Occurred()) SWIG_fail;
20323 }
20324 if (obj1) {
20325 arg2 = (int) SWIG_AsInt(obj1);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 result = (wxListEvent *)new wxListEvent(arg1,arg2);
20331
20332 wxPyEndAllowThreads(__tstate);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListEvent, 1);
20336 return resultobj;
20337 fail:
20338 return NULL;
20339}
20340
20341
20342static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20343 PyObject *resultobj;
20344 wxListEvent *arg1 = (wxListEvent *) 0 ;
20345 int arg2 ;
20346 PyObject * obj0 = 0 ;
20347 PyObject * obj1 = 0 ;
20348 char *kwnames[] = {
20349 (char *) "self",(char *) "m_code", NULL
20350 };
20351
20352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
20353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20355 arg2 = (int) SWIG_AsInt(obj1);
20356 if (PyErr_Occurred()) SWIG_fail;
20357 if (arg1) (arg1)->m_code = arg2;
20358
20359 Py_INCREF(Py_None); resultobj = Py_None;
20360 return resultobj;
20361 fail:
20362 return NULL;
20363}
20364
20365
20366static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20367 PyObject *resultobj;
20368 wxListEvent *arg1 = (wxListEvent *) 0 ;
20369 int result;
20370 PyObject * obj0 = 0 ;
20371 char *kwnames[] = {
20372 (char *) "self", NULL
20373 };
20374
20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
20376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20378 result = (int) ((arg1)->m_code);
20379
20380 resultobj = SWIG_FromInt((int)result);
20381 return resultobj;
20382 fail:
20383 return NULL;
20384}
20385
20386
20387static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20388 PyObject *resultobj;
20389 wxListEvent *arg1 = (wxListEvent *) 0 ;
20390 long arg2 ;
20391 PyObject * obj0 = 0 ;
20392 PyObject * obj1 = 0 ;
20393 char *kwnames[] = {
20394 (char *) "self",(char *) "m_oldItemIndex", NULL
20395 };
20396
20397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20400 arg2 = (long) SWIG_AsLong(obj1);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 if (arg1) (arg1)->m_oldItemIndex = arg2;
20403
20404 Py_INCREF(Py_None); resultobj = Py_None;
20405 return resultobj;
20406 fail:
20407 return NULL;
20408}
20409
20410
20411static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj;
20413 wxListEvent *arg1 = (wxListEvent *) 0 ;
20414 long result;
20415 PyObject * obj0 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
20421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20423 result = (long) ((arg1)->m_oldItemIndex);
20424
20425 resultobj = SWIG_FromLong((long)result);
20426 return resultobj;
20427 fail:
20428 return NULL;
20429}
20430
20431
20432static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20433 PyObject *resultobj;
20434 wxListEvent *arg1 = (wxListEvent *) 0 ;
20435 long arg2 ;
20436 PyObject * obj0 = 0 ;
20437 PyObject * obj1 = 0 ;
20438 char *kwnames[] = {
20439 (char *) "self",(char *) "m_itemIndex", NULL
20440 };
20441
20442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
20443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20445 arg2 = (long) SWIG_AsLong(obj1);
20446 if (PyErr_Occurred()) SWIG_fail;
20447 if (arg1) (arg1)->m_itemIndex = arg2;
20448
20449 Py_INCREF(Py_None); resultobj = Py_None;
20450 return resultobj;
20451 fail:
20452 return NULL;
20453}
20454
20455
20456static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20457 PyObject *resultobj;
20458 wxListEvent *arg1 = (wxListEvent *) 0 ;
20459 long result;
20460 PyObject * obj0 = 0 ;
20461 char *kwnames[] = {
20462 (char *) "self", NULL
20463 };
20464
20465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
20466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20468 result = (long) ((arg1)->m_itemIndex);
20469
20470 resultobj = SWIG_FromLong((long)result);
20471 return resultobj;
20472 fail:
20473 return NULL;
20474}
20475
20476
20477static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20478 PyObject *resultobj;
20479 wxListEvent *arg1 = (wxListEvent *) 0 ;
20480 int arg2 ;
20481 PyObject * obj0 = 0 ;
20482 PyObject * obj1 = 0 ;
20483 char *kwnames[] = {
20484 (char *) "self",(char *) "m_col", NULL
20485 };
20486
20487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
20488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20490 arg2 = (int) SWIG_AsInt(obj1);
20491 if (PyErr_Occurred()) SWIG_fail;
20492 if (arg1) (arg1)->m_col = arg2;
20493
20494 Py_INCREF(Py_None); resultobj = Py_None;
20495 return resultobj;
20496 fail:
20497 return NULL;
20498}
20499
20500
20501static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20502 PyObject *resultobj;
20503 wxListEvent *arg1 = (wxListEvent *) 0 ;
20504 int result;
20505 PyObject * obj0 = 0 ;
20506 char *kwnames[] = {
20507 (char *) "self", NULL
20508 };
20509
20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
20511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20513 result = (int) ((arg1)->m_col);
20514
20515 resultobj = SWIG_FromInt((int)result);
20516 return resultobj;
20517 fail:
20518 return NULL;
20519}
20520
20521
20522static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20523 PyObject *resultobj;
20524 wxListEvent *arg1 = (wxListEvent *) 0 ;
20525 wxPoint *arg2 = (wxPoint *) 0 ;
20526 PyObject * obj0 = 0 ;
20527 PyObject * obj1 = 0 ;
20528 char *kwnames[] = {
20529 (char *) "self",(char *) "m_pointDrag", NULL
20530 };
20531
20532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
20533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20535 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
20536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20537 if (arg1) (arg1)->m_pointDrag = *arg2;
20538
20539 Py_INCREF(Py_None); resultobj = Py_None;
20540 return resultobj;
20541 fail:
20542 return NULL;
20543}
20544
20545
20546static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20547 PyObject *resultobj;
20548 wxListEvent *arg1 = (wxListEvent *) 0 ;
20549 wxPoint *result;
20550 PyObject * obj0 = 0 ;
20551 char *kwnames[] = {
20552 (char *) "self", NULL
20553 };
20554
20555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
20556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20558 result = (wxPoint *)& ((arg1)->m_pointDrag);
20559
20560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
20561 return resultobj;
20562 fail:
20563 return NULL;
20564}
20565
20566
20567static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20568 PyObject *resultobj;
20569 wxListEvent *arg1 = (wxListEvent *) 0 ;
20570 wxListItem *result;
20571 PyObject * obj0 = 0 ;
20572 char *kwnames[] = {
20573 (char *) "self", NULL
20574 };
20575
20576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
20577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20579 result = (wxListItem *)& ((arg1)->m_item);
20580
20581 {
20582 resultobj = wxPyMake_wxObject(result);
20583 }
20584 return resultobj;
20585 fail:
20586 return NULL;
20587}
20588
20589
20590static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20591 PyObject *resultobj;
20592 wxListEvent *arg1 = (wxListEvent *) 0 ;
20593 int result;
20594 PyObject * obj0 = 0 ;
20595 char *kwnames[] = {
20596 (char *) "self", NULL
20597 };
20598
20599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20602 {
20603 PyThreadState* __tstate = wxPyBeginAllowThreads();
20604 result = (int)(arg1)->GetKeyCode();
20605
20606 wxPyEndAllowThreads(__tstate);
20607 if (PyErr_Occurred()) SWIG_fail;
20608 }
20609 resultobj = SWIG_FromInt((int)result);
20610 return resultobj;
20611 fail:
20612 return NULL;
20613}
20614
20615
20616static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
20617 PyObject *resultobj;
20618 wxListEvent *arg1 = (wxListEvent *) 0 ;
20619 long result;
20620 PyObject * obj0 = 0 ;
20621 char *kwnames[] = {
20622 (char *) "self", NULL
20623 };
20624
20625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
20626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20628 {
20629 PyThreadState* __tstate = wxPyBeginAllowThreads();
20630 result = (long)(arg1)->GetIndex();
20631
20632 wxPyEndAllowThreads(__tstate);
20633 if (PyErr_Occurred()) SWIG_fail;
20634 }
20635 resultobj = SWIG_FromLong((long)result);
20636 return resultobj;
20637 fail:
20638 return NULL;
20639}
20640
20641
20642static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20643 PyObject *resultobj;
20644 wxListEvent *arg1 = (wxListEvent *) 0 ;
20645 int result;
20646 PyObject * obj0 = 0 ;
20647 char *kwnames[] = {
20648 (char *) "self", NULL
20649 };
20650
20651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
20652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20654 {
20655 PyThreadState* __tstate = wxPyBeginAllowThreads();
20656 result = (int)(arg1)->GetColumn();
20657
20658 wxPyEndAllowThreads(__tstate);
20659 if (PyErr_Occurred()) SWIG_fail;
20660 }
20661 resultobj = SWIG_FromInt((int)result);
20662 return resultobj;
20663 fail:
20664 return NULL;
20665}
20666
20667
20668static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20669 PyObject *resultobj;
20670 wxListEvent *arg1 = (wxListEvent *) 0 ;
20671 wxPoint result;
20672 PyObject * obj0 = 0 ;
20673 char *kwnames[] = {
20674 (char *) "self", NULL
20675 };
20676
20677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
20678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20680 {
20681 PyThreadState* __tstate = wxPyBeginAllowThreads();
20682 result = (arg1)->GetPoint();
20683
20684 wxPyEndAllowThreads(__tstate);
20685 if (PyErr_Occurred()) SWIG_fail;
20686 }
20687 {
20688 wxPoint * resultptr;
20689 resultptr = new wxPoint((wxPoint &) result);
20690 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
20691 }
20692 return resultobj;
20693 fail:
20694 return NULL;
20695}
20696
20697
20698static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20699 PyObject *resultobj;
20700 wxListEvent *arg1 = (wxListEvent *) 0 ;
20701 wxString *result;
20702 PyObject * obj0 = 0 ;
20703 char *kwnames[] = {
20704 (char *) "self", NULL
20705 };
20706
20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
20708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20710 {
20711 PyThreadState* __tstate = wxPyBeginAllowThreads();
20712 {
20713 wxString const &_result_ref = (arg1)->GetLabel();
20714 result = (wxString *) &_result_ref;
20715 }
20716
20717 wxPyEndAllowThreads(__tstate);
20718 if (PyErr_Occurred()) SWIG_fail;
20719 }
20720 {
20721#if wxUSE_UNICODE
20722 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20723#else
20724 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20725#endif
20726 }
20727 return resultobj;
20728 fail:
20729 return NULL;
20730}
20731
20732
20733static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
20734 PyObject *resultobj;
20735 wxListEvent *arg1 = (wxListEvent *) 0 ;
20736 wxString *result;
20737 PyObject * obj0 = 0 ;
20738 char *kwnames[] = {
20739 (char *) "self", NULL
20740 };
20741
20742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
20743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20745 {
20746 PyThreadState* __tstate = wxPyBeginAllowThreads();
20747 {
20748 wxString const &_result_ref = (arg1)->GetText();
20749 result = (wxString *) &_result_ref;
20750 }
20751
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 {
20756#if wxUSE_UNICODE
20757 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20758#else
20759 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20760#endif
20761 }
20762 return resultobj;
20763 fail:
20764 return NULL;
20765}
20766
20767
20768static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20769 PyObject *resultobj;
20770 wxListEvent *arg1 = (wxListEvent *) 0 ;
20771 int result;
20772 PyObject * obj0 = 0 ;
20773 char *kwnames[] = {
20774 (char *) "self", NULL
20775 };
20776
20777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
20778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20780 {
20781 PyThreadState* __tstate = wxPyBeginAllowThreads();
20782 result = (int)(arg1)->GetImage();
20783
20784 wxPyEndAllowThreads(__tstate);
20785 if (PyErr_Occurred()) SWIG_fail;
20786 }
20787 resultobj = SWIG_FromInt((int)result);
20788 return resultobj;
20789 fail:
20790 return NULL;
20791}
20792
20793
20794static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20795 PyObject *resultobj;
20796 wxListEvent *arg1 = (wxListEvent *) 0 ;
20797 long result;
20798 PyObject * obj0 = 0 ;
20799 char *kwnames[] = {
20800 (char *) "self", NULL
20801 };
20802
20803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
20804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20806 {
20807 PyThreadState* __tstate = wxPyBeginAllowThreads();
20808 result = (long)(arg1)->GetData();
20809
20810 wxPyEndAllowThreads(__tstate);
20811 if (PyErr_Occurred()) SWIG_fail;
20812 }
20813 resultobj = SWIG_FromLong((long)result);
20814 return resultobj;
20815 fail:
20816 return NULL;
20817}
20818
20819
20820static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
20821 PyObject *resultobj;
20822 wxListEvent *arg1 = (wxListEvent *) 0 ;
20823 long result;
20824 PyObject * obj0 = 0 ;
20825 char *kwnames[] = {
20826 (char *) "self", NULL
20827 };
20828
20829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
20830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20832 {
20833 PyThreadState* __tstate = wxPyBeginAllowThreads();
20834 result = (long)(arg1)->GetMask();
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
20839 resultobj = SWIG_FromLong((long)result);
20840 return resultobj;
20841 fail:
20842 return NULL;
20843}
20844
20845
20846static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20847 PyObject *resultobj;
20848 wxListEvent *arg1 = (wxListEvent *) 0 ;
20849 wxListItem *result;
20850 PyObject * obj0 = 0 ;
20851 char *kwnames[] = {
20852 (char *) "self", NULL
20853 };
20854
20855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
20856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20858 {
20859 PyThreadState* __tstate = wxPyBeginAllowThreads();
20860 {
20861 wxListItem const &_result_ref = (arg1)->GetItem();
20862 result = (wxListItem *) &_result_ref;
20863 }
20864
20865 wxPyEndAllowThreads(__tstate);
20866 if (PyErr_Occurred()) SWIG_fail;
20867 }
20868 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListItem, 0);
20869 return resultobj;
20870 fail:
20871 return NULL;
20872}
20873
20874
20875static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
20876 PyObject *resultobj;
20877 wxListEvent *arg1 = (wxListEvent *) 0 ;
20878 long result;
20879 PyObject * obj0 = 0 ;
20880 char *kwnames[] = {
20881 (char *) "self", NULL
20882 };
20883
20884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
20885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20887 {
20888 PyThreadState* __tstate = wxPyBeginAllowThreads();
20889 result = (long)(arg1)->GetCacheFrom();
20890
20891 wxPyEndAllowThreads(__tstate);
20892 if (PyErr_Occurred()) SWIG_fail;
20893 }
20894 resultobj = SWIG_FromLong((long)result);
20895 return resultobj;
20896 fail:
20897 return NULL;
20898}
20899
20900
20901static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
20902 PyObject *resultobj;
20903 wxListEvent *arg1 = (wxListEvent *) 0 ;
20904 long result;
20905 PyObject * obj0 = 0 ;
20906 char *kwnames[] = {
20907 (char *) "self", NULL
20908 };
20909
20910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
20911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20913 {
20914 PyThreadState* __tstate = wxPyBeginAllowThreads();
20915 result = (long)(arg1)->GetCacheTo();
20916
20917 wxPyEndAllowThreads(__tstate);
20918 if (PyErr_Occurred()) SWIG_fail;
20919 }
20920 resultobj = SWIG_FromLong((long)result);
20921 return resultobj;
20922 fail:
20923 return NULL;
20924}
20925
20926
20927static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20928 PyObject *resultobj;
20929 wxListEvent *arg1 = (wxListEvent *) 0 ;
20930 bool result;
20931 PyObject * obj0 = 0 ;
20932 char *kwnames[] = {
20933 (char *) "self", NULL
20934 };
20935
20936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20939 {
20940 PyThreadState* __tstate = wxPyBeginAllowThreads();
20941 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
20942
20943 wxPyEndAllowThreads(__tstate);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 }
20946 {
20947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20948 }
20949 return resultobj;
20950 fail:
20951 return NULL;
20952}
20953
20954
20955static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20956 PyObject *resultobj;
20957 wxListEvent *arg1 = (wxListEvent *) 0 ;
20958 bool arg2 ;
20959 PyObject * obj0 = 0 ;
20960 PyObject * obj1 = 0 ;
20961 char *kwnames[] = {
20962 (char *) "self",(char *) "editCancelled", NULL
20963 };
20964
20965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListEvent,
20967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20968 arg2 = (bool) SWIG_AsBool(obj1);
20969 if (PyErr_Occurred()) SWIG_fail;
20970 {
20971 PyThreadState* __tstate = wxPyBeginAllowThreads();
20972 (arg1)->SetEditCanceled(arg2);
20973
20974 wxPyEndAllowThreads(__tstate);
20975 if (PyErr_Occurred()) SWIG_fail;
20976 }
20977 Py_INCREF(Py_None); resultobj = Py_None;
20978 return resultobj;
20979 fail:
20980 return NULL;
20981}
20982
20983
20984static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
20985 PyObject *obj;
20986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20987 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
20988 Py_INCREF(obj);
20989 return Py_BuildValue((char *)"");
20990}
20991static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20992 PyObject *resultobj;
20993 wxWindow *arg1 = (wxWindow *) 0 ;
20994 int arg2 = (int) -1 ;
20995 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20996 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20997 wxSize const &arg4_defvalue = wxDefaultSize ;
20998 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20999 long arg5 = (long) wxLC_ICON ;
21000 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21001 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21002 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
21003 wxString *arg7 = (wxString *) &arg7_defvalue ;
21004 wxPyListCtrl *result;
21005 wxPoint temp3 ;
21006 wxSize temp4 ;
21007 bool temp7 = False ;
21008 PyObject * obj0 = 0 ;
21009 PyObject * obj1 = 0 ;
21010 PyObject * obj2 = 0 ;
21011 PyObject * obj3 = 0 ;
21012 PyObject * obj4 = 0 ;
21013 PyObject * obj5 = 0 ;
21014 PyObject * obj6 = 0 ;
21015 char *kwnames[] = {
21016 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21017 };
21018
21019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21022 if (obj1) {
21023 arg2 = (int) SWIG_AsInt(obj1);
21024 if (PyErr_Occurred()) SWIG_fail;
21025 }
21026 if (obj2) {
21027 {
21028 arg3 = &temp3;
21029 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21030 }
21031 }
21032 if (obj3) {
21033 {
21034 arg4 = &temp4;
21035 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21036 }
21037 }
21038 if (obj4) {
21039 arg5 = (long) SWIG_AsLong(obj4);
21040 if (PyErr_Occurred()) SWIG_fail;
21041 }
21042 if (obj5) {
21043 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
21044 SWIG_POINTER_EXCEPTION | 0)) == -1)
21045 SWIG_fail;
21046 if (arg6 == NULL) {
21047 PyErr_SetString(PyExc_TypeError,"null reference");
21048 SWIG_fail;
21049 }
21050 }
21051 if (obj6) {
21052 {
21053 arg7 = wxString_in_helper(obj6);
21054 if (arg7 == NULL) SWIG_fail;
21055 temp7 = True;
21056 }
21057 }
21058 {
21059 PyThreadState* __tstate = wxPyBeginAllowThreads();
21060 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21061
21062 wxPyEndAllowThreads(__tstate);
21063 if (PyErr_Occurred()) SWIG_fail;
21064 }
21065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21066 {
21067 if (temp7)
21068 delete arg7;
21069 }
21070 return resultobj;
21071 fail:
21072 {
21073 if (temp7)
21074 delete arg7;
21075 }
21076 return NULL;
21077}
21078
21079
21080static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21081 PyObject *resultobj;
21082 wxPyListCtrl *result;
21083 char *kwnames[] = {
21084 NULL
21085 };
21086
21087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
21088 {
21089 PyThreadState* __tstate = wxPyBeginAllowThreads();
21090 result = (wxPyListCtrl *)new wxPyListCtrl();
21091
21092 wxPyEndAllowThreads(__tstate);
21093 if (PyErr_Occurred()) SWIG_fail;
21094 }
21095 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 1);
21096 return resultobj;
21097 fail:
21098 return NULL;
21099}
21100
21101
21102static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21103 PyObject *resultobj;
21104 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21105 wxWindow *arg2 = (wxWindow *) 0 ;
21106 int arg3 = (int) -1 ;
21107 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21108 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21109 wxSize const &arg5_defvalue = wxDefaultSize ;
21110 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21111 long arg6 = (long) wxLC_ICON ;
21112 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21113 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21114 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
21115 wxString *arg8 = (wxString *) &arg8_defvalue ;
21116 bool result;
21117 wxPoint temp4 ;
21118 wxSize temp5 ;
21119 bool temp8 = False ;
21120 PyObject * obj0 = 0 ;
21121 PyObject * obj1 = 0 ;
21122 PyObject * obj2 = 0 ;
21123 PyObject * obj3 = 0 ;
21124 PyObject * obj4 = 0 ;
21125 PyObject * obj5 = 0 ;
21126 PyObject * obj6 = 0 ;
21127 PyObject * obj7 = 0 ;
21128 char *kwnames[] = {
21129 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21130 };
21131
21132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
21133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21137 if (obj2) {
21138 arg3 = (int) SWIG_AsInt(obj2);
21139 if (PyErr_Occurred()) SWIG_fail;
21140 }
21141 if (obj3) {
21142 {
21143 arg4 = &temp4;
21144 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21145 }
21146 }
21147 if (obj4) {
21148 {
21149 arg5 = &temp5;
21150 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21151 }
21152 }
21153 if (obj5) {
21154 arg6 = (long) SWIG_AsLong(obj5);
21155 if (PyErr_Occurred()) SWIG_fail;
21156 }
21157 if (obj6) {
21158 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
21159 SWIG_POINTER_EXCEPTION | 0)) == -1)
21160 SWIG_fail;
21161 if (arg7 == NULL) {
21162 PyErr_SetString(PyExc_TypeError,"null reference");
21163 SWIG_fail;
21164 }
21165 }
21166 if (obj7) {
21167 {
21168 arg8 = wxString_in_helper(obj7);
21169 if (arg8 == NULL) SWIG_fail;
21170 temp8 = True;
21171 }
21172 }
21173 {
21174 PyThreadState* __tstate = wxPyBeginAllowThreads();
21175 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21176
21177 wxPyEndAllowThreads(__tstate);
21178 if (PyErr_Occurred()) SWIG_fail;
21179 }
21180 {
21181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21182 }
21183 {
21184 if (temp8)
21185 delete arg8;
21186 }
21187 return resultobj;
21188 fail:
21189 {
21190 if (temp8)
21191 delete arg8;
21192 }
21193 return NULL;
21194}
21195
21196
21197static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21198 PyObject *resultobj;
21199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21200 PyObject *arg2 = (PyObject *) 0 ;
21201 PyObject *arg3 = (PyObject *) 0 ;
21202 PyObject * obj0 = 0 ;
21203 PyObject * obj1 = 0 ;
21204 PyObject * obj2 = 0 ;
21205 char *kwnames[] = {
21206 (char *) "self",(char *) "self",(char *) "_class", NULL
21207 };
21208
21209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21212 arg2 = obj1;
21213 arg3 = obj2;
21214 {
21215 PyThreadState* __tstate = wxPyBeginAllowThreads();
21216 (arg1)->_setCallbackInfo(arg2,arg3);
21217
21218 wxPyEndAllowThreads(__tstate);
21219 if (PyErr_Occurred()) SWIG_fail;
21220 }
21221 Py_INCREF(Py_None); resultobj = Py_None;
21222 return resultobj;
21223 fail:
21224 return NULL;
21225}
21226
21227
21228static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21229 PyObject *resultobj;
21230 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21231 wxColour *arg2 = 0 ;
21232 bool result;
21233 wxColour temp2 ;
21234 PyObject * obj0 = 0 ;
21235 PyObject * obj1 = 0 ;
21236 char *kwnames[] = {
21237 (char *) "self",(char *) "col", NULL
21238 };
21239
21240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
21241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21243 {
21244 arg2 = &temp2;
21245 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21246 }
21247 {
21248 PyThreadState* __tstate = wxPyBeginAllowThreads();
21249 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
21250
21251 wxPyEndAllowThreads(__tstate);
21252 if (PyErr_Occurred()) SWIG_fail;
21253 }
21254 {
21255 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21256 }
21257 return resultobj;
21258 fail:
21259 return NULL;
21260}
21261
21262
21263static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21264 PyObject *resultobj;
21265 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21266 wxColour *arg2 = 0 ;
21267 bool result;
21268 wxColour temp2 ;
21269 PyObject * obj0 = 0 ;
21270 PyObject * obj1 = 0 ;
21271 char *kwnames[] = {
21272 (char *) "self",(char *) "col", NULL
21273 };
21274
21275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21278 {
21279 arg2 = &temp2;
21280 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21281 }
21282 {
21283 PyThreadState* __tstate = wxPyBeginAllowThreads();
21284 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
21285
21286 wxPyEndAllowThreads(__tstate);
21287 if (PyErr_Occurred()) SWIG_fail;
21288 }
21289 {
21290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21291 }
21292 return resultobj;
21293 fail:
21294 return NULL;
21295}
21296
21297
21298static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21299 PyObject *resultobj;
21300 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21301 int arg2 ;
21302 wxListItem *result;
21303 PyObject * obj0 = 0 ;
21304 PyObject * obj1 = 0 ;
21305 char *kwnames[] = {
21306 (char *) "self",(char *) "col", NULL
21307 };
21308
21309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
21310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21312 arg2 = (int) SWIG_AsInt(obj1);
21313 if (PyErr_Occurred()) SWIG_fail;
21314 {
21315 PyThreadState* __tstate = wxPyBeginAllowThreads();
21316 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
21317
21318 wxPyEndAllowThreads(__tstate);
21319 if (PyErr_Occurred()) SWIG_fail;
21320 }
21321 {
21322 resultobj = wxPyMake_wxObject(result);
21323 }
21324 return resultobj;
21325 fail:
21326 return NULL;
21327}
21328
21329
21330static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21331 PyObject *resultobj;
21332 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21333 int arg2 ;
21334 wxListItem *arg3 = 0 ;
21335 bool result;
21336 PyObject * obj0 = 0 ;
21337 PyObject * obj1 = 0 ;
21338 PyObject * obj2 = 0 ;
21339 char *kwnames[] = {
21340 (char *) "self",(char *) "col",(char *) "item", NULL
21341 };
21342
21343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
21344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21346 arg2 = (int) SWIG_AsInt(obj1);
21347 if (PyErr_Occurred()) SWIG_fail;
21348 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
21349 SWIG_POINTER_EXCEPTION | 0)) == -1)
21350 SWIG_fail;
21351 if (arg3 == NULL) {
21352 PyErr_SetString(PyExc_TypeError,"null reference");
21353 SWIG_fail;
21354 }
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 result = (bool)(arg1)->SetColumn(arg2,*arg3);
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 {
21363 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21364 }
21365 return resultobj;
21366 fail:
21367 return NULL;
21368}
21369
21370
21371static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21372 PyObject *resultobj;
21373 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21374 int arg2 ;
21375 int result;
21376 PyObject * obj0 = 0 ;
21377 PyObject * obj1 = 0 ;
21378 char *kwnames[] = {
21379 (char *) "self",(char *) "col", NULL
21380 };
21381
21382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
21383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21385 arg2 = (int) SWIG_AsInt(obj1);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 {
21388 PyThreadState* __tstate = wxPyBeginAllowThreads();
21389 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
21390
21391 wxPyEndAllowThreads(__tstate);
21392 if (PyErr_Occurred()) SWIG_fail;
21393 }
21394 resultobj = SWIG_FromInt((int)result);
21395 return resultobj;
21396 fail:
21397 return NULL;
21398}
21399
21400
21401static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj;
21403 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21404 int arg2 ;
21405 int arg3 ;
21406 bool result;
21407 PyObject * obj0 = 0 ;
21408 PyObject * obj1 = 0 ;
21409 PyObject * obj2 = 0 ;
21410 char *kwnames[] = {
21411 (char *) "self",(char *) "col",(char *) "width", NULL
21412 };
21413
21414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
21415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21417 arg2 = (int) SWIG_AsInt(obj1);
21418 if (PyErr_Occurred()) SWIG_fail;
21419 arg3 = (int) SWIG_AsInt(obj2);
21420 if (PyErr_Occurred()) SWIG_fail;
21421 {
21422 PyThreadState* __tstate = wxPyBeginAllowThreads();
21423 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
21424
21425 wxPyEndAllowThreads(__tstate);
21426 if (PyErr_Occurred()) SWIG_fail;
21427 }
21428 {
21429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21430 }
21431 return resultobj;
21432 fail:
21433 return NULL;
21434}
21435
21436
21437static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21438 PyObject *resultobj;
21439 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21440 int result;
21441 PyObject * obj0 = 0 ;
21442 char *kwnames[] = {
21443 (char *) "self", NULL
21444 };
21445
21446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
21447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21449 {
21450 PyThreadState* __tstate = wxPyBeginAllowThreads();
21451 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
21452
21453 wxPyEndAllowThreads(__tstate);
21454 if (PyErr_Occurred()) SWIG_fail;
21455 }
21456 resultobj = SWIG_FromInt((int)result);
21457 return resultobj;
21458 fail:
21459 return NULL;
21460}
21461
21462
21463static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21464 PyObject *resultobj;
21465 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21466 wxRect result;
21467 PyObject * obj0 = 0 ;
21468 char *kwnames[] = {
21469 (char *) "self", NULL
21470 };
21471
21472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
21473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21475 {
21476 PyThreadState* __tstate = wxPyBeginAllowThreads();
21477 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
21478
21479 wxPyEndAllowThreads(__tstate);
21480 if (PyErr_Occurred()) SWIG_fail;
21481 }
21482 {
21483 wxRect * resultptr;
21484 resultptr = new wxRect((wxRect &) result);
21485 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21486 }
21487 return resultobj;
21488 fail:
21489 return NULL;
21490}
21491
21492
21493static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21494 PyObject *resultobj;
21495 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21496 wxTextCtrl *result;
21497 PyObject * obj0 = 0 ;
21498 char *kwnames[] = {
21499 (char *) "self", NULL
21500 };
21501
21502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
21503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21505 {
21506 PyThreadState* __tstate = wxPyBeginAllowThreads();
21507 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
21508
21509 wxPyEndAllowThreads(__tstate);
21510 if (PyErr_Occurred()) SWIG_fail;
21511 }
21512 {
21513 resultobj = wxPyMake_wxObject(result);
21514 }
21515 return resultobj;
21516 fail:
21517 return NULL;
21518}
21519
21520
21521static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21522 PyObject *resultobj;
21523 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21524 long arg2 ;
21525 int arg3 = (int) 0 ;
21526 wxListItem *result;
21527 PyObject * obj0 = 0 ;
21528 PyObject * obj1 = 0 ;
21529 PyObject * obj2 = 0 ;
21530 char *kwnames[] = {
21531 (char *) "self",(char *) "itemId",(char *) "col", NULL
21532 };
21533
21534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21537 arg2 = (long) SWIG_AsLong(obj1);
21538 if (PyErr_Occurred()) SWIG_fail;
21539 if (obj2) {
21540 arg3 = (int) SWIG_AsInt(obj2);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 {
21544 PyThreadState* __tstate = wxPyBeginAllowThreads();
21545 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
21546
21547 wxPyEndAllowThreads(__tstate);
21548 if (PyErr_Occurred()) SWIG_fail;
21549 }
21550 {
21551 resultobj = wxPyMake_wxObject(result);
21552 }
21553 return resultobj;
21554 fail:
21555 return NULL;
21556}
21557
21558
21559static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21560 PyObject *resultobj;
21561 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21562 wxListItem *arg2 = 0 ;
21563 bool result;
21564 PyObject * obj0 = 0 ;
21565 PyObject * obj1 = 0 ;
21566 char *kwnames[] = {
21567 (char *) "self",(char *) "info", NULL
21568 };
21569
21570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
21571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21573 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
21574 SWIG_POINTER_EXCEPTION | 0)) == -1)
21575 SWIG_fail;
21576 if (arg2 == NULL) {
21577 PyErr_SetString(PyExc_TypeError,"null reference");
21578 SWIG_fail;
21579 }
21580 {
21581 PyThreadState* __tstate = wxPyBeginAllowThreads();
21582 result = (bool)(arg1)->SetItem(*arg2);
21583
21584 wxPyEndAllowThreads(__tstate);
21585 if (PyErr_Occurred()) SWIG_fail;
21586 }
21587 {
21588 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21589 }
21590 return resultobj;
21591 fail:
21592 return NULL;
21593}
21594
21595
21596static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21597 PyObject *resultobj;
21598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21599 long arg2 ;
21600 int arg3 ;
21601 wxString *arg4 = 0 ;
21602 int arg5 = (int) -1 ;
21603 long result;
21604 bool temp4 = False ;
21605 PyObject * obj0 = 0 ;
21606 PyObject * obj1 = 0 ;
21607 PyObject * obj2 = 0 ;
21608 PyObject * obj3 = 0 ;
21609 PyObject * obj4 = 0 ;
21610 char *kwnames[] = {
21611 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21612 };
21613
21614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
21615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21617 arg2 = (long) SWIG_AsLong(obj1);
21618 if (PyErr_Occurred()) SWIG_fail;
21619 arg3 = (int) SWIG_AsInt(obj2);
21620 if (PyErr_Occurred()) SWIG_fail;
21621 {
21622 arg4 = wxString_in_helper(obj3);
21623 if (arg4 == NULL) SWIG_fail;
21624 temp4 = True;
21625 }
21626 if (obj4) {
21627 arg5 = (int) SWIG_AsInt(obj4);
21628 if (PyErr_Occurred()) SWIG_fail;
21629 }
21630 {
21631 PyThreadState* __tstate = wxPyBeginAllowThreads();
21632 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
21633
21634 wxPyEndAllowThreads(__tstate);
21635 if (PyErr_Occurred()) SWIG_fail;
21636 }
21637 resultobj = SWIG_FromLong((long)result);
21638 {
21639 if (temp4)
21640 delete arg4;
21641 }
21642 return resultobj;
21643 fail:
21644 {
21645 if (temp4)
21646 delete arg4;
21647 }
21648 return NULL;
21649}
21650
21651
21652static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21653 PyObject *resultobj;
21654 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21655 long arg2 ;
21656 long arg3 ;
21657 int result;
21658 PyObject * obj0 = 0 ;
21659 PyObject * obj1 = 0 ;
21660 PyObject * obj2 = 0 ;
21661 char *kwnames[] = {
21662 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21663 };
21664
21665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
21666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21668 arg2 = (long) SWIG_AsLong(obj1);
21669 if (PyErr_Occurred()) SWIG_fail;
21670 arg3 = (long) SWIG_AsLong(obj2);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
21675
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 resultobj = SWIG_FromInt((int)result);
21680 return resultobj;
21681 fail:
21682 return NULL;
21683}
21684
21685
21686static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
21687 PyObject *resultobj;
21688 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21689 long arg2 ;
21690 long arg3 ;
21691 long arg4 ;
21692 bool result;
21693 PyObject * obj0 = 0 ;
21694 PyObject * obj1 = 0 ;
21695 PyObject * obj2 = 0 ;
21696 PyObject * obj3 = 0 ;
21697 char *kwnames[] = {
21698 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21699 };
21700
21701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21704 arg2 = (long) SWIG_AsLong(obj1);
21705 if (PyErr_Occurred()) SWIG_fail;
21706 arg3 = (long) SWIG_AsLong(obj2);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 arg4 = (long) SWIG_AsLong(obj3);
21709 if (PyErr_Occurred()) SWIG_fail;
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 {
21718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21719 }
21720 return resultobj;
21721 fail:
21722 return NULL;
21723}
21724
21725
21726static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21727 PyObject *resultobj;
21728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21729 long arg2 ;
21730 int arg3 ;
21731 int arg4 ;
21732 bool result;
21733 PyObject * obj0 = 0 ;
21734 PyObject * obj1 = 0 ;
21735 PyObject * obj2 = 0 ;
21736 PyObject * obj3 = 0 ;
21737 char *kwnames[] = {
21738 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21739 };
21740
21741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21744 arg2 = (long) SWIG_AsLong(obj1);
21745 if (PyErr_Occurred()) SWIG_fail;
21746 arg3 = (int) SWIG_AsInt(obj2);
21747 if (PyErr_Occurred()) SWIG_fail;
21748 arg4 = (int) SWIG_AsInt(obj3);
21749 if (PyErr_Occurred()) SWIG_fail;
21750 {
21751 PyThreadState* __tstate = wxPyBeginAllowThreads();
21752 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
21753
21754 wxPyEndAllowThreads(__tstate);
21755 if (PyErr_Occurred()) SWIG_fail;
21756 }
21757 {
21758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21759 }
21760 return resultobj;
21761 fail:
21762 return NULL;
21763}
21764
21765
21766static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21767 PyObject *resultobj;
21768 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21769 long arg2 ;
21770 wxString result;
21771 PyObject * obj0 = 0 ;
21772 PyObject * obj1 = 0 ;
21773 char *kwnames[] = {
21774 (char *) "self",(char *) "item", NULL
21775 };
21776
21777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21780 arg2 = (long) SWIG_AsLong(obj1);
21781 if (PyErr_Occurred()) SWIG_fail;
21782 {
21783 PyThreadState* __tstate = wxPyBeginAllowThreads();
21784 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
21785
21786 wxPyEndAllowThreads(__tstate);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 {
21790#if wxUSE_UNICODE
21791 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21792#else
21793 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21794#endif
21795 }
21796 return resultobj;
21797 fail:
21798 return NULL;
21799}
21800
21801
21802static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21803 PyObject *resultobj;
21804 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21805 long arg2 ;
21806 wxString *arg3 = 0 ;
21807 bool temp3 = False ;
21808 PyObject * obj0 = 0 ;
21809 PyObject * obj1 = 0 ;
21810 PyObject * obj2 = 0 ;
21811 char *kwnames[] = {
21812 (char *) "self",(char *) "item",(char *) "str", NULL
21813 };
21814
21815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21818 arg2 = (long) SWIG_AsLong(obj1);
21819 if (PyErr_Occurred()) SWIG_fail;
21820 {
21821 arg3 = wxString_in_helper(obj2);
21822 if (arg3 == NULL) SWIG_fail;
21823 temp3 = True;
21824 }
21825 {
21826 PyThreadState* __tstate = wxPyBeginAllowThreads();
21827 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
21828
21829 wxPyEndAllowThreads(__tstate);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
21832 Py_INCREF(Py_None); resultobj = Py_None;
21833 {
21834 if (temp3)
21835 delete arg3;
21836 }
21837 return resultobj;
21838 fail:
21839 {
21840 if (temp3)
21841 delete arg3;
21842 }
21843 return NULL;
21844}
21845
21846
21847static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21848 PyObject *resultobj;
21849 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21850 long arg2 ;
21851 long result;
21852 PyObject * obj0 = 0 ;
21853 PyObject * obj1 = 0 ;
21854 char *kwnames[] = {
21855 (char *) "self",(char *) "item", NULL
21856 };
21857
21858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21861 arg2 = (long) SWIG_AsLong(obj1);
21862 if (PyErr_Occurred()) SWIG_fail;
21863 {
21864 PyThreadState* __tstate = wxPyBeginAllowThreads();
21865 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
21866
21867 wxPyEndAllowThreads(__tstate);
21868 if (PyErr_Occurred()) SWIG_fail;
21869 }
21870 resultobj = SWIG_FromLong((long)result);
21871 return resultobj;
21872 fail:
21873 return NULL;
21874}
21875
21876
21877static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21878 PyObject *resultobj;
21879 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21880 long arg2 ;
21881 long arg3 ;
21882 bool result;
21883 PyObject * obj0 = 0 ;
21884 PyObject * obj1 = 0 ;
21885 PyObject * obj2 = 0 ;
21886 char *kwnames[] = {
21887 (char *) "self",(char *) "item",(char *) "data", NULL
21888 };
21889
21890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21893 arg2 = (long) SWIG_AsLong(obj1);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 arg3 = (long) SWIG_AsLong(obj2);
21896 if (PyErr_Occurred()) SWIG_fail;
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 result = (bool)(arg1)->SetItemData(arg2,arg3);
21900
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 {
21905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21906 }
21907 return resultobj;
21908 fail:
21909 return NULL;
21910}
21911
21912
21913static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21914 PyObject *resultobj;
21915 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21916 long arg2 ;
21917 wxPoint result;
21918 PyObject * obj0 = 0 ;
21919 PyObject * obj1 = 0 ;
21920 char *kwnames[] = {
21921 (char *) "self",(char *) "item", NULL
21922 };
21923
21924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
21925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21927 arg2 = (long) SWIG_AsLong(obj1);
21928 if (PyErr_Occurred()) SWIG_fail;
21929 {
21930 PyThreadState* __tstate = wxPyBeginAllowThreads();
21931 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
21932
21933 wxPyEndAllowThreads(__tstate);
21934 if (PyErr_Occurred()) SWIG_fail;
21935 }
21936 {
21937 wxPoint * resultptr;
21938 resultptr = new wxPoint((wxPoint &) result);
21939 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
21940 }
21941 return resultobj;
21942 fail:
21943 return NULL;
21944}
21945
21946
21947static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21948 PyObject *resultobj;
21949 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21950 long arg2 ;
21951 int arg3 = (int) wxLIST_RECT_BOUNDS ;
21952 wxRect result;
21953 PyObject * obj0 = 0 ;
21954 PyObject * obj1 = 0 ;
21955 PyObject * obj2 = 0 ;
21956 char *kwnames[] = {
21957 (char *) "self",(char *) "item",(char *) "code", NULL
21958 };
21959
21960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
21961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
21962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21963 arg2 = (long) SWIG_AsLong(obj1);
21964 if (PyErr_Occurred()) SWIG_fail;
21965 if (obj2) {
21966 arg3 = (int) SWIG_AsInt(obj2);
21967 if (PyErr_Occurred()) SWIG_fail;
21968 }
21969 {
21970 PyThreadState* __tstate = wxPyBeginAllowThreads();
21971 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
21972
21973 wxPyEndAllowThreads(__tstate);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 {
21977 wxRect * resultptr;
21978 resultptr = new wxRect((wxRect &) result);
21979 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
21980 }
21981 return resultobj;
21982 fail:
21983 return NULL;
21984}
21985
21986
21987static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21988 PyObject *resultobj;
21989 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21990 long arg2 ;
21991 wxPoint *arg3 = 0 ;
21992 bool result;
21993 wxPoint temp3 ;
21994 PyObject * obj0 = 0 ;
21995 PyObject * obj1 = 0 ;
21996 PyObject * obj2 = 0 ;
21997 char *kwnames[] = {
21998 (char *) "self",(char *) "item",(char *) "pos", NULL
21999 };
22000
22001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
22002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22004 arg2 = (long) SWIG_AsLong(obj1);
22005 if (PyErr_Occurred()) SWIG_fail;
22006 {
22007 arg3 = &temp3;
22008 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22009 }
22010 {
22011 PyThreadState* __tstate = wxPyBeginAllowThreads();
22012 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
22013
22014 wxPyEndAllowThreads(__tstate);
22015 if (PyErr_Occurred()) SWIG_fail;
22016 }
22017 {
22018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22019 }
22020 return resultobj;
22021 fail:
22022 return NULL;
22023}
22024
22025
22026static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22027 PyObject *resultobj;
22028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22029 int result;
22030 PyObject * obj0 = 0 ;
22031 char *kwnames[] = {
22032 (char *) "self", NULL
22033 };
22034
22035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
22036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22038 {
22039 PyThreadState* __tstate = wxPyBeginAllowThreads();
22040 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
22041
22042 wxPyEndAllowThreads(__tstate);
22043 if (PyErr_Occurred()) SWIG_fail;
22044 }
22045 resultobj = SWIG_FromInt((int)result);
22046 return resultobj;
22047 fail:
22048 return NULL;
22049}
22050
22051
22052static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22053 PyObject *resultobj;
22054 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22055 int result;
22056 PyObject * obj0 = 0 ;
22057 char *kwnames[] = {
22058 (char *) "self", NULL
22059 };
22060
22061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
22062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 resultobj = SWIG_FromInt((int)result);
22072 return resultobj;
22073 fail:
22074 return NULL;
22075}
22076
22077
22078static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
22079 PyObject *resultobj;
22080 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22081 wxSize result;
22082 PyObject * obj0 = 0 ;
22083 char *kwnames[] = {
22084 (char *) "self", NULL
22085 };
22086
22087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
22088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
22092 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
22097 {
22098 wxSize * resultptr;
22099 resultptr = new wxSize((wxSize &) result);
22100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
22101 }
22102 return resultobj;
22103 fail:
22104 return NULL;
22105}
22106
22107
22108static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22109 PyObject *resultobj;
22110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22111 int result;
22112 PyObject * obj0 = 0 ;
22113 char *kwnames[] = {
22114 (char *) "self", NULL
22115 };
22116
22117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
22118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22120 {
22121 PyThreadState* __tstate = wxPyBeginAllowThreads();
22122 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
22123
22124 wxPyEndAllowThreads(__tstate);
22125 if (PyErr_Occurred()) SWIG_fail;
22126 }
22127 resultobj = SWIG_FromInt((int)result);
22128 return resultobj;
22129 fail:
22130 return NULL;
22131}
22132
22133
22134static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22135 PyObject *resultobj;
22136 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22137 wxColour result;
22138 PyObject * obj0 = 0 ;
22139 char *kwnames[] = {
22140 (char *) "self", NULL
22141 };
22142
22143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
22144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22146 {
22147 PyThreadState* __tstate = wxPyBeginAllowThreads();
22148 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
22149
22150 wxPyEndAllowThreads(__tstate);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 }
22153 {
22154 wxColour * resultptr;
22155 resultptr = new wxColour((wxColour &) result);
22156 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
22157 }
22158 return resultobj;
22159 fail:
22160 return NULL;
22161}
22162
22163
22164static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22165 PyObject *resultobj;
22166 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22167 wxColour *arg2 = 0 ;
22168 wxColour temp2 ;
22169 PyObject * obj0 = 0 ;
22170 PyObject * obj1 = 0 ;
22171 char *kwnames[] = {
22172 (char *) "self",(char *) "col", NULL
22173 };
22174
22175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
22176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22178 {
22179 arg2 = &temp2;
22180 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
22181 }
22182 {
22183 PyThreadState* __tstate = wxPyBeginAllowThreads();
22184 (arg1)->SetTextColour((wxColour const &)*arg2);
22185
22186 wxPyEndAllowThreads(__tstate);
22187 if (PyErr_Occurred()) SWIG_fail;
22188 }
22189 Py_INCREF(Py_None); resultobj = Py_None;
22190 return resultobj;
22191 fail:
22192 return NULL;
22193}
22194
22195
22196static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22197 PyObject *resultobj;
22198 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22199 long result;
22200 PyObject * obj0 = 0 ;
22201 char *kwnames[] = {
22202 (char *) "self", NULL
22203 };
22204
22205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
22206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
22211
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 resultobj = SWIG_FromLong((long)result);
22216 return resultobj;
22217 fail:
22218 return NULL;
22219}
22220
22221
22222static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
22223 PyObject *resultobj;
22224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22225 long arg2 ;
22226 bool arg3 = (bool) True ;
22227 PyObject * obj0 = 0 ;
22228 PyObject * obj1 = 0 ;
22229 PyObject * obj2 = 0 ;
22230 char *kwnames[] = {
22231 (char *) "self",(char *) "style",(char *) "add", NULL
22232 };
22233
22234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
22235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22237 arg2 = (long) SWIG_AsLong(obj1);
22238 if (PyErr_Occurred()) SWIG_fail;
22239 if (obj2) {
22240 arg3 = (bool) SWIG_AsBool(obj2);
22241 if (PyErr_Occurred()) SWIG_fail;
22242 }
22243 {
22244 PyThreadState* __tstate = wxPyBeginAllowThreads();
22245 (arg1)->SetSingleStyle(arg2,arg3);
22246
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 Py_INCREF(Py_None); resultobj = Py_None;
22251 return resultobj;
22252 fail:
22253 return NULL;
22254}
22255
22256
22257static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
22258 PyObject *resultobj;
22259 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22260 long arg2 ;
22261 PyObject * obj0 = 0 ;
22262 PyObject * obj1 = 0 ;
22263 char *kwnames[] = {
22264 (char *) "self",(char *) "style", NULL
22265 };
22266
22267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
22268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22270 arg2 = (long) SWIG_AsLong(obj1);
22271 if (PyErr_Occurred()) SWIG_fail;
22272 {
22273 PyThreadState* __tstate = wxPyBeginAllowThreads();
22274 (arg1)->SetWindowStyleFlag(arg2);
22275
22276 wxPyEndAllowThreads(__tstate);
22277 if (PyErr_Occurred()) SWIG_fail;
22278 }
22279 Py_INCREF(Py_None); resultobj = Py_None;
22280 return resultobj;
22281 fail:
22282 return NULL;
22283}
22284
22285
22286static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22287 PyObject *resultobj;
22288 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22289 long arg2 ;
22290 int arg3 = (int) wxLIST_NEXT_ALL ;
22291 int arg4 = (int) wxLIST_STATE_DONTCARE ;
22292 long result;
22293 PyObject * obj0 = 0 ;
22294 PyObject * obj1 = 0 ;
22295 PyObject * obj2 = 0 ;
22296 PyObject * obj3 = 0 ;
22297 char *kwnames[] = {
22298 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22299 };
22300
22301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22304 arg2 = (long) SWIG_AsLong(obj1);
22305 if (PyErr_Occurred()) SWIG_fail;
22306 if (obj2) {
22307 arg3 = (int) SWIG_AsInt(obj2);
22308 if (PyErr_Occurred()) SWIG_fail;
22309 }
22310 if (obj3) {
22311 arg4 = (int) SWIG_AsInt(obj3);
22312 if (PyErr_Occurred()) SWIG_fail;
22313 }
22314 {
22315 PyThreadState* __tstate = wxPyBeginAllowThreads();
22316 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
22317
22318 wxPyEndAllowThreads(__tstate);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 }
22321 resultobj = SWIG_FromLong((long)result);
22322 return resultobj;
22323 fail:
22324 return NULL;
22325}
22326
22327
22328static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22329 PyObject *resultobj;
22330 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22331 int arg2 ;
22332 wxImageList *result;
22333 PyObject * obj0 = 0 ;
22334 PyObject * obj1 = 0 ;
22335 char *kwnames[] = {
22336 (char *) "self",(char *) "which", NULL
22337 };
22338
22339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
22340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22342 arg2 = (int) SWIG_AsInt(obj1);
22343 if (PyErr_Occurred()) SWIG_fail;
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
22347
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 {
22352 resultobj = wxPyMake_wxObject(result);
22353 }
22354 return resultobj;
22355 fail:
22356 return NULL;
22357}
22358
22359
22360static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22361 PyObject *resultobj;
22362 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22363 wxImageList *arg2 = (wxImageList *) 0 ;
22364 int arg3 ;
22365 PyObject * obj0 = 0 ;
22366 PyObject * obj1 = 0 ;
22367 PyObject * obj2 = 0 ;
22368 char *kwnames[] = {
22369 (char *) "self",(char *) "imageList",(char *) "which", NULL
22370 };
22371
22372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22375 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22377 arg3 = (int) SWIG_AsInt(obj2);
22378 if (PyErr_Occurred()) SWIG_fail;
22379 {
22380 PyThreadState* __tstate = wxPyBeginAllowThreads();
22381 (arg1)->SetImageList(arg2,arg3);
22382
22383 wxPyEndAllowThreads(__tstate);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 }
22386 Py_INCREF(Py_None); resultobj = Py_None;
22387 return resultobj;
22388 fail:
22389 return NULL;
22390}
22391
22392
22393static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
22394 PyObject *resultobj;
22395 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22396 wxImageList *arg2 = (wxImageList *) 0 ;
22397 int arg3 ;
22398 PyObject * obj0 = 0 ;
22399 PyObject * obj1 = 0 ;
22400 PyObject * obj2 = 0 ;
22401 char *kwnames[] = {
22402 (char *) "self",(char *) "imageList",(char *) "which", NULL
22403 };
22404
22405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22408 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
22409 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
22410 arg3 = (int) SWIG_AsInt(obj2);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 (arg1)->AssignImageList(arg2,arg3);
22415
22416 wxPyEndAllowThreads(__tstate);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 }
22419 Py_INCREF(Py_None); resultobj = Py_None;
22420 return resultobj;
22421 fail:
22422 return NULL;
22423}
22424
22425
22426static PyObject *_wrap_ListCtrl_InReportView(PyObject *self, PyObject *args, PyObject *kwargs) {
22427 PyObject *resultobj;
22428 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22429 bool result;
22430 PyObject * obj0 = 0 ;
22431 char *kwnames[] = {
22432 (char *) "self", NULL
22433 };
22434
22435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_InReportView",kwnames,&obj0)) goto fail;
22436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22438 {
22439 PyThreadState* __tstate = wxPyBeginAllowThreads();
22440 result = (bool)((wxPyListCtrl const *)arg1)->InReportView();
22441
22442 wxPyEndAllowThreads(__tstate);
22443 if (PyErr_Occurred()) SWIG_fail;
22444 }
22445 {
22446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22447 }
22448 return resultobj;
22449 fail:
22450 return NULL;
22451}
22452
22453
22454static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
22455 PyObject *resultobj;
22456 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22457 bool result;
22458 PyObject * obj0 = 0 ;
22459 char *kwnames[] = {
22460 (char *) "self", NULL
22461 };
22462
22463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
22464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22466 {
22467 PyThreadState* __tstate = wxPyBeginAllowThreads();
22468 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
22469
22470 wxPyEndAllowThreads(__tstate);
22471 if (PyErr_Occurred()) SWIG_fail;
22472 }
22473 {
22474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22475 }
22476 return resultobj;
22477 fail:
22478 return NULL;
22479}
22480
22481
22482static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22483 PyObject *resultobj;
22484 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22485 long arg2 ;
22486 PyObject * obj0 = 0 ;
22487 PyObject * obj1 = 0 ;
22488 char *kwnames[] = {
22489 (char *) "self",(char *) "item", NULL
22490 };
22491
22492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
22493 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22495 arg2 = (long) SWIG_AsLong(obj1);
22496 if (PyErr_Occurred()) SWIG_fail;
22497 {
22498 PyThreadState* __tstate = wxPyBeginAllowThreads();
22499 (arg1)->RefreshItem(arg2);
22500
22501 wxPyEndAllowThreads(__tstate);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 }
22504 Py_INCREF(Py_None); resultobj = Py_None;
22505 return resultobj;
22506 fail:
22507 return NULL;
22508}
22509
22510
22511static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22512 PyObject *resultobj;
22513 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22514 long arg2 ;
22515 long arg3 ;
22516 PyObject * obj0 = 0 ;
22517 PyObject * obj1 = 0 ;
22518 PyObject * obj2 = 0 ;
22519 char *kwnames[] = {
22520 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22521 };
22522
22523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
22524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22526 arg2 = (long) SWIG_AsLong(obj1);
22527 if (PyErr_Occurred()) SWIG_fail;
22528 arg3 = (long) SWIG_AsLong(obj2);
22529 if (PyErr_Occurred()) SWIG_fail;
22530 {
22531 PyThreadState* __tstate = wxPyBeginAllowThreads();
22532 (arg1)->RefreshItems(arg2,arg3);
22533
22534 wxPyEndAllowThreads(__tstate);
22535 if (PyErr_Occurred()) SWIG_fail;
22536 }
22537 Py_INCREF(Py_None); resultobj = Py_None;
22538 return resultobj;
22539 fail:
22540 return NULL;
22541}
22542
22543
22544static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
22545 PyObject *resultobj;
22546 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22547 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
22548 bool result;
22549 PyObject * obj0 = 0 ;
22550 PyObject * obj1 = 0 ;
22551 char *kwnames[] = {
22552 (char *) "self",(char *) "flag", NULL
22553 };
22554
22555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
22556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22558 if (obj1) {
22559 arg2 = (int) SWIG_AsInt(obj1);
22560 if (PyErr_Occurred()) SWIG_fail;
22561 }
22562 {
22563 PyThreadState* __tstate = wxPyBeginAllowThreads();
22564 result = (bool)(arg1)->Arrange(arg2);
22565
22566 wxPyEndAllowThreads(__tstate);
22567 if (PyErr_Occurred()) SWIG_fail;
22568 }
22569 {
22570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22571 }
22572 return resultobj;
22573 fail:
22574 return NULL;
22575}
22576
22577
22578static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22579 PyObject *resultobj;
22580 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22581 long arg2 ;
22582 bool result;
22583 PyObject * obj0 = 0 ;
22584 PyObject * obj1 = 0 ;
22585 char *kwnames[] = {
22586 (char *) "self",(char *) "item", NULL
22587 };
22588
22589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
22590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22592 arg2 = (long) SWIG_AsLong(obj1);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 {
22595 PyThreadState* __tstate = wxPyBeginAllowThreads();
22596 result = (bool)(arg1)->DeleteItem(arg2);
22597
22598 wxPyEndAllowThreads(__tstate);
22599 if (PyErr_Occurred()) SWIG_fail;
22600 }
22601 {
22602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22603 }
22604 return resultobj;
22605 fail:
22606 return NULL;
22607}
22608
22609
22610static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22611 PyObject *resultobj;
22612 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22613 bool result;
22614 PyObject * obj0 = 0 ;
22615 char *kwnames[] = {
22616 (char *) "self", NULL
22617 };
22618
22619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22622 {
22623 PyThreadState* __tstate = wxPyBeginAllowThreads();
22624 result = (bool)(arg1)->DeleteAllItems();
22625
22626 wxPyEndAllowThreads(__tstate);
22627 if (PyErr_Occurred()) SWIG_fail;
22628 }
22629 {
22630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22631 }
22632 return resultobj;
22633 fail:
22634 return NULL;
22635}
22636
22637
22638static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22639 PyObject *resultobj;
22640 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22641 int arg2 ;
22642 bool result;
22643 PyObject * obj0 = 0 ;
22644 PyObject * obj1 = 0 ;
22645 char *kwnames[] = {
22646 (char *) "self",(char *) "col", NULL
22647 };
22648
22649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
22650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22652 arg2 = (int) SWIG_AsInt(obj1);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 {
22655 PyThreadState* __tstate = wxPyBeginAllowThreads();
22656 result = (bool)(arg1)->DeleteColumn(arg2);
22657
22658 wxPyEndAllowThreads(__tstate);
22659 if (PyErr_Occurred()) SWIG_fail;
22660 }
22661 {
22662 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22663 }
22664 return resultobj;
22665 fail:
22666 return NULL;
22667}
22668
22669
22670static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
22671 PyObject *resultobj;
22672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22673 bool result;
22674 PyObject * obj0 = 0 ;
22675 char *kwnames[] = {
22676 (char *) "self", NULL
22677 };
22678
22679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
22680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22682 {
22683 PyThreadState* __tstate = wxPyBeginAllowThreads();
22684 result = (bool)(arg1)->DeleteAllColumns();
22685
22686 wxPyEndAllowThreads(__tstate);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 }
22689 {
22690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22691 }
22692 return resultobj;
22693 fail:
22694 return NULL;
22695}
22696
22697
22698static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22699 PyObject *resultobj;
22700 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22701 PyObject * obj0 = 0 ;
22702 char *kwnames[] = {
22703 (char *) "self", NULL
22704 };
22705
22706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
22707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22709 {
22710 PyThreadState* __tstate = wxPyBeginAllowThreads();
22711 (arg1)->ClearAll();
22712
22713 wxPyEndAllowThreads(__tstate);
22714 if (PyErr_Occurred()) SWIG_fail;
22715 }
22716 Py_INCREF(Py_None); resultobj = Py_None;
22717 return resultobj;
22718 fail:
22719 return NULL;
22720}
22721
22722
22723static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22724 PyObject *resultobj;
22725 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22726 long arg2 ;
22727 wxTextCtrl *result;
22728 PyObject * obj0 = 0 ;
22729 PyObject * obj1 = 0 ;
22730 char *kwnames[] = {
22731 (char *) "self",(char *) "item", NULL
22732 };
22733
22734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22737 arg2 = (long) SWIG_AsLong(obj1);
22738 if (PyErr_Occurred()) SWIG_fail;
22739 {
22740 PyThreadState* __tstate = wxPyBeginAllowThreads();
22741 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
22742
22743 wxPyEndAllowThreads(__tstate);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 }
22746 {
22747 resultobj = wxPyMake_wxObject(result);
22748 }
22749 return resultobj;
22750 fail:
22751 return NULL;
22752}
22753
22754
22755static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22756 PyObject *resultobj;
22757 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22758 bool arg2 ;
22759 bool result;
22760 PyObject * obj0 = 0 ;
22761 PyObject * obj1 = 0 ;
22762 char *kwnames[] = {
22763 (char *) "self",(char *) "cancel", NULL
22764 };
22765
22766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
22767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22769 arg2 = (bool) SWIG_AsBool(obj1);
22770 if (PyErr_Occurred()) SWIG_fail;
22771 {
22772 PyThreadState* __tstate = wxPyBeginAllowThreads();
22773 result = (bool)(arg1)->EndEditLabel(arg2);
22774
22775 wxPyEndAllowThreads(__tstate);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 }
22778 {
22779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22780 }
22781 return resultobj;
22782 fail:
22783 return NULL;
22784}
22785
22786
22787static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22788 PyObject *resultobj;
22789 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22790 long arg2 ;
22791 bool result;
22792 PyObject * obj0 = 0 ;
22793 PyObject * obj1 = 0 ;
22794 char *kwnames[] = {
22795 (char *) "self",(char *) "item", NULL
22796 };
22797
22798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22801 arg2 = (long) SWIG_AsLong(obj1);
22802 if (PyErr_Occurred()) SWIG_fail;
22803 {
22804 PyThreadState* __tstate = wxPyBeginAllowThreads();
22805 result = (bool)(arg1)->EnsureVisible(arg2);
22806
22807 wxPyEndAllowThreads(__tstate);
22808 if (PyErr_Occurred()) SWIG_fail;
22809 }
22810 {
22811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22812 }
22813 return resultobj;
22814 fail:
22815 return NULL;
22816}
22817
22818
22819static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22820 PyObject *resultobj;
22821 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22822 long arg2 ;
22823 wxString *arg3 = 0 ;
22824 bool arg4 = (bool) False ;
22825 long result;
22826 bool temp3 = False ;
22827 PyObject * obj0 = 0 ;
22828 PyObject * obj1 = 0 ;
22829 PyObject * obj2 = 0 ;
22830 PyObject * obj3 = 0 ;
22831 char *kwnames[] = {
22832 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
22833 };
22834
22835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22838 arg2 = (long) SWIG_AsLong(obj1);
22839 if (PyErr_Occurred()) SWIG_fail;
22840 {
22841 arg3 = wxString_in_helper(obj2);
22842 if (arg3 == NULL) SWIG_fail;
22843 temp3 = True;
22844 }
22845 if (obj3) {
22846 arg4 = (bool) SWIG_AsBool(obj3);
22847 if (PyErr_Occurred()) SWIG_fail;
22848 }
22849 {
22850 PyThreadState* __tstate = wxPyBeginAllowThreads();
22851 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
22852
22853 wxPyEndAllowThreads(__tstate);
22854 if (PyErr_Occurred()) SWIG_fail;
22855 }
22856 resultobj = SWIG_FromLong((long)result);
22857 {
22858 if (temp3)
22859 delete arg3;
22860 }
22861 return resultobj;
22862 fail:
22863 {
22864 if (temp3)
22865 delete arg3;
22866 }
22867 return NULL;
22868}
22869
22870
22871static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22872 PyObject *resultobj;
22873 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22874 long arg2 ;
22875 long arg3 ;
22876 long result;
22877 PyObject * obj0 = 0 ;
22878 PyObject * obj1 = 0 ;
22879 PyObject * obj2 = 0 ;
22880 char *kwnames[] = {
22881 (char *) "self",(char *) "start",(char *) "data", NULL
22882 };
22883
22884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22887 arg2 = (long) SWIG_AsLong(obj1);
22888 if (PyErr_Occurred()) SWIG_fail;
22889 arg3 = (long) SWIG_AsLong(obj2);
22890 if (PyErr_Occurred()) SWIG_fail;
22891 {
22892 PyThreadState* __tstate = wxPyBeginAllowThreads();
22893 result = (long)(arg1)->FindItem(arg2,arg3);
22894
22895 wxPyEndAllowThreads(__tstate);
22896 if (PyErr_Occurred()) SWIG_fail;
22897 }
22898 resultobj = SWIG_FromLong((long)result);
22899 return resultobj;
22900 fail:
22901 return NULL;
22902}
22903
22904
22905static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
22906 PyObject *resultobj;
22907 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22908 long arg2 ;
22909 wxPoint *arg3 = 0 ;
22910 int arg4 ;
22911 long result;
22912 wxPoint temp3 ;
22913 PyObject * obj0 = 0 ;
22914 PyObject * obj1 = 0 ;
22915 PyObject * obj2 = 0 ;
22916 PyObject * obj3 = 0 ;
22917 char *kwnames[] = {
22918 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
22919 };
22920
22921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
22922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22924 arg2 = (long) SWIG_AsLong(obj1);
22925 if (PyErr_Occurred()) SWIG_fail;
22926 {
22927 arg3 = &temp3;
22928 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22929 }
22930 arg4 = (int) SWIG_AsInt(obj3);
22931 if (PyErr_Occurred()) SWIG_fail;
22932 {
22933 PyThreadState* __tstate = wxPyBeginAllowThreads();
22934 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
22935
22936 wxPyEndAllowThreads(__tstate);
22937 if (PyErr_Occurred()) SWIG_fail;
22938 }
22939 resultobj = SWIG_FromLong((long)result);
22940 return resultobj;
22941 fail:
22942 return NULL;
22943}
22944
22945
22946static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22947 PyObject *resultobj;
22948 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22949 wxPoint *arg2 = 0 ;
22950 int *arg3 = 0 ;
22951 long result;
22952 wxPoint temp2 ;
22953 int temp3 ;
22954 PyObject * obj0 = 0 ;
22955 PyObject * obj1 = 0 ;
22956 char *kwnames[] = {
22957 (char *) "self",(char *) "point", NULL
22958 };
22959
22960 arg3 = &temp3;
22961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22964 {
22965 arg2 = &temp2;
22966 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22967 }
22968 {
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22971
22972 wxPyEndAllowThreads(__tstate);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 }
22975 resultobj = SWIG_FromLong((long)result);
22976 {
22977 PyObject *o = PyInt_FromLong((long) (*arg3));
22978 resultobj = t_output_helper(resultobj,o);
22979 }
22980 return resultobj;
22981 fail:
22982 return NULL;
22983}
22984
22985
22986static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22987 PyObject *resultobj;
22988 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22989 wxListItem *arg2 = 0 ;
22990 long result;
22991 PyObject * obj0 = 0 ;
22992 PyObject * obj1 = 0 ;
22993 char *kwnames[] = {
22994 (char *) "self",(char *) "info", NULL
22995 };
22996
22997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
22998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
22999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23000 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxListItem,
23001 SWIG_POINTER_EXCEPTION | 0)) == -1)
23002 SWIG_fail;
23003 if (arg2 == NULL) {
23004 PyErr_SetString(PyExc_TypeError,"null reference");
23005 SWIG_fail;
23006 }
23007 {
23008 PyThreadState* __tstate = wxPyBeginAllowThreads();
23009 result = (long)(arg1)->InsertItem(*arg2);
23010
23011 wxPyEndAllowThreads(__tstate);
23012 if (PyErr_Occurred()) SWIG_fail;
23013 }
23014 resultobj = SWIG_FromLong((long)result);
23015 return resultobj;
23016 fail:
23017 return NULL;
23018}
23019
23020
23021static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23022 PyObject *resultobj;
23023 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23024 long arg2 ;
23025 wxString *arg3 = 0 ;
23026 long result;
23027 bool temp3 = False ;
23028 PyObject * obj0 = 0 ;
23029 PyObject * obj1 = 0 ;
23030 PyObject * obj2 = 0 ;
23031 char *kwnames[] = {
23032 (char *) "self",(char *) "index",(char *) "label", NULL
23033 };
23034
23035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23038 arg2 = (long) SWIG_AsLong(obj1);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 {
23041 arg3 = wxString_in_helper(obj2);
23042 if (arg3 == NULL) SWIG_fail;
23043 temp3 = True;
23044 }
23045 {
23046 PyThreadState* __tstate = wxPyBeginAllowThreads();
23047 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
23048
23049 wxPyEndAllowThreads(__tstate);
23050 if (PyErr_Occurred()) SWIG_fail;
23051 }
23052 resultobj = SWIG_FromLong((long)result);
23053 {
23054 if (temp3)
23055 delete arg3;
23056 }
23057 return resultobj;
23058 fail:
23059 {
23060 if (temp3)
23061 delete arg3;
23062 }
23063 return NULL;
23064}
23065
23066
23067static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23068 PyObject *resultobj;
23069 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23070 long arg2 ;
23071 int arg3 ;
23072 long result;
23073 PyObject * obj0 = 0 ;
23074 PyObject * obj1 = 0 ;
23075 PyObject * obj2 = 0 ;
23076 char *kwnames[] = {
23077 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23078 };
23079
23080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
23081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23083 arg2 = (long) SWIG_AsLong(obj1);
23084 if (PyErr_Occurred()) SWIG_fail;
23085 arg3 = (int) SWIG_AsInt(obj2);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 {
23088 PyThreadState* __tstate = wxPyBeginAllowThreads();
23089 result = (long)(arg1)->InsertItem(arg2,arg3);
23090
23091 wxPyEndAllowThreads(__tstate);
23092 if (PyErr_Occurred()) SWIG_fail;
23093 }
23094 resultobj = SWIG_FromLong((long)result);
23095 return resultobj;
23096 fail:
23097 return NULL;
23098}
23099
23100
23101static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23102 PyObject *resultobj;
23103 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23104 long arg2 ;
23105 wxString *arg3 = 0 ;
23106 int arg4 ;
23107 long result;
23108 bool temp3 = False ;
23109 PyObject * obj0 = 0 ;
23110 PyObject * obj1 = 0 ;
23111 PyObject * obj2 = 0 ;
23112 PyObject * obj3 = 0 ;
23113 char *kwnames[] = {
23114 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23115 };
23116
23117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
23118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23120 arg2 = (long) SWIG_AsLong(obj1);
23121 if (PyErr_Occurred()) SWIG_fail;
23122 {
23123 arg3 = wxString_in_helper(obj2);
23124 if (arg3 == NULL) SWIG_fail;
23125 temp3 = True;
23126 }
23127 arg4 = (int) SWIG_AsInt(obj3);
23128 if (PyErr_Occurred()) SWIG_fail;
23129 {
23130 PyThreadState* __tstate = wxPyBeginAllowThreads();
23131 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
23132
23133 wxPyEndAllowThreads(__tstate);
23134 if (PyErr_Occurred()) SWIG_fail;
23135 }
23136 resultobj = SWIG_FromLong((long)result);
23137 {
23138 if (temp3)
23139 delete arg3;
23140 }
23141 return resultobj;
23142 fail:
23143 {
23144 if (temp3)
23145 delete arg3;
23146 }
23147 return NULL;
23148}
23149
23150
23151static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23152 PyObject *resultobj;
23153 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23154 long arg2 ;
23155 wxListItem *arg3 = 0 ;
23156 long result;
23157 PyObject * obj0 = 0 ;
23158 PyObject * obj1 = 0 ;
23159 PyObject * obj2 = 0 ;
23160 char *kwnames[] = {
23161 (char *) "self",(char *) "col",(char *) "info", NULL
23162 };
23163
23164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23167 arg2 = (long) SWIG_AsLong(obj1);
23168 if (PyErr_Occurred()) SWIG_fail;
23169 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxListItem,
23170 SWIG_POINTER_EXCEPTION | 0)) == -1)
23171 SWIG_fail;
23172 if (arg3 == NULL) {
23173 PyErr_SetString(PyExc_TypeError,"null reference");
23174 SWIG_fail;
23175 }
23176 {
23177 PyThreadState* __tstate = wxPyBeginAllowThreads();
23178 result = (long)(arg1)->InsertColumn(arg2,*arg3);
23179
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 resultobj = SWIG_FromLong((long)result);
23184 return resultobj;
23185 fail:
23186 return NULL;
23187}
23188
23189
23190static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
23191 PyObject *resultobj;
23192 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23193 long arg2 ;
23194 wxString *arg3 = 0 ;
23195 int arg4 = (int) wxLIST_FORMAT_LEFT ;
23196 int arg5 = (int) -1 ;
23197 long result;
23198 bool temp3 = False ;
23199 PyObject * obj0 = 0 ;
23200 PyObject * obj1 = 0 ;
23201 PyObject * obj2 = 0 ;
23202 PyObject * obj3 = 0 ;
23203 PyObject * obj4 = 0 ;
23204 char *kwnames[] = {
23205 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23206 };
23207
23208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
23209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23211 arg2 = (long) SWIG_AsLong(obj1);
23212 if (PyErr_Occurred()) SWIG_fail;
23213 {
23214 arg3 = wxString_in_helper(obj2);
23215 if (arg3 == NULL) SWIG_fail;
23216 temp3 = True;
23217 }
23218 if (obj3) {
23219 arg4 = (int) SWIG_AsInt(obj3);
23220 if (PyErr_Occurred()) SWIG_fail;
23221 }
23222 if (obj4) {
23223 arg5 = (int) SWIG_AsInt(obj4);
23224 if (PyErr_Occurred()) SWIG_fail;
23225 }
23226 {
23227 PyThreadState* __tstate = wxPyBeginAllowThreads();
23228 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
23229
23230 wxPyEndAllowThreads(__tstate);
23231 if (PyErr_Occurred()) SWIG_fail;
23232 }
23233 resultobj = SWIG_FromLong((long)result);
23234 {
23235 if (temp3)
23236 delete arg3;
23237 }
23238 return resultobj;
23239 fail:
23240 {
23241 if (temp3)
23242 delete arg3;
23243 }
23244 return NULL;
23245}
23246
23247
23248static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23249 PyObject *resultobj;
23250 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23251 long arg2 ;
23252 PyObject * obj0 = 0 ;
23253 PyObject * obj1 = 0 ;
23254 char *kwnames[] = {
23255 (char *) "self",(char *) "count", NULL
23256 };
23257
23258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
23259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23261 arg2 = (long) SWIG_AsLong(obj1);
23262 if (PyErr_Occurred()) SWIG_fail;
23263 {
23264 PyThreadState* __tstate = wxPyBeginAllowThreads();
23265 (arg1)->SetItemCount(arg2);
23266
23267 wxPyEndAllowThreads(__tstate);
23268 if (PyErr_Occurred()) SWIG_fail;
23269 }
23270 Py_INCREF(Py_None); resultobj = Py_None;
23271 return resultobj;
23272 fail:
23273 return NULL;
23274}
23275
23276
23277static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
23278 PyObject *resultobj;
23279 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23280 int arg2 ;
23281 int arg3 ;
23282 bool result;
23283 PyObject * obj0 = 0 ;
23284 PyObject * obj1 = 0 ;
23285 PyObject * obj2 = 0 ;
23286 char *kwnames[] = {
23287 (char *) "self",(char *) "dx",(char *) "dy", NULL
23288 };
23289
23290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
23291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23293 arg2 = (int) SWIG_AsInt(obj1);
23294 if (PyErr_Occurred()) SWIG_fail;
23295 arg3 = (int) SWIG_AsInt(obj2);
23296 if (PyErr_Occurred()) SWIG_fail;
23297 {
23298 PyThreadState* __tstate = wxPyBeginAllowThreads();
23299 result = (bool)(arg1)->ScrollList(arg2,arg3);
23300
23301 wxPyEndAllowThreads(__tstate);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
23304 {
23305 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23306 }
23307 return resultobj;
23308 fail:
23309 return NULL;
23310}
23311
23312
23313static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23314 PyObject *resultobj;
23315 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23316 long arg2 ;
23317 wxColour *arg3 = 0 ;
23318 wxColour temp3 ;
23319 PyObject * obj0 = 0 ;
23320 PyObject * obj1 = 0 ;
23321 PyObject * obj2 = 0 ;
23322 char *kwnames[] = {
23323 (char *) "self",(char *) "item",(char *) "col", NULL
23324 };
23325
23326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23329 arg2 = (long) SWIG_AsLong(obj1);
23330 if (PyErr_Occurred()) SWIG_fail;
23331 {
23332 arg3 = &temp3;
23333 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23334 }
23335 {
23336 PyThreadState* __tstate = wxPyBeginAllowThreads();
23337 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
23338
23339 wxPyEndAllowThreads(__tstate);
23340 if (PyErr_Occurred()) SWIG_fail;
23341 }
23342 Py_INCREF(Py_None); resultobj = Py_None;
23343 return resultobj;
23344 fail:
23345 return NULL;
23346}
23347
23348
23349static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23350 PyObject *resultobj;
23351 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23352 long arg2 ;
23353 wxColour result;
23354 PyObject * obj0 = 0 ;
23355 PyObject * obj1 = 0 ;
23356 char *kwnames[] = {
23357 (char *) "self",(char *) "item", NULL
23358 };
23359
23360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
23361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23363 arg2 = (long) SWIG_AsLong(obj1);
23364 if (PyErr_Occurred()) SWIG_fail;
23365 {
23366 PyThreadState* __tstate = wxPyBeginAllowThreads();
23367 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
23368
23369 wxPyEndAllowThreads(__tstate);
23370 if (PyErr_Occurred()) SWIG_fail;
23371 }
23372 {
23373 wxColour * resultptr;
23374 resultptr = new wxColour((wxColour &) result);
23375 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23376 }
23377 return resultobj;
23378 fail:
23379 return NULL;
23380}
23381
23382
23383static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23384 PyObject *resultobj;
23385 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23386 long arg2 ;
23387 wxColour *arg3 = 0 ;
23388 wxColour temp3 ;
23389 PyObject * obj0 = 0 ;
23390 PyObject * obj1 = 0 ;
23391 PyObject * obj2 = 0 ;
23392 char *kwnames[] = {
23393 (char *) "self",(char *) "item",(char *) "col", NULL
23394 };
23395
23396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
23397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23399 arg2 = (long) SWIG_AsLong(obj1);
23400 if (PyErr_Occurred()) SWIG_fail;
23401 {
23402 arg3 = &temp3;
23403 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
23404 }
23405 {
23406 PyThreadState* __tstate = wxPyBeginAllowThreads();
23407 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
23408
23409 wxPyEndAllowThreads(__tstate);
23410 if (PyErr_Occurred()) SWIG_fail;
23411 }
23412 Py_INCREF(Py_None); resultobj = Py_None;
23413 return resultobj;
23414 fail:
23415 return NULL;
23416}
23417
23418
23419static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
23420 PyObject *resultobj;
23421 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23422 long arg2 ;
23423 wxColour result;
23424 PyObject * obj0 = 0 ;
23425 PyObject * obj1 = 0 ;
23426 char *kwnames[] = {
23427 (char *) "self",(char *) "item", NULL
23428 };
23429
23430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
23431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23433 arg2 = (long) SWIG_AsLong(obj1);
23434 if (PyErr_Occurred()) SWIG_fail;
23435 {
23436 PyThreadState* __tstate = wxPyBeginAllowThreads();
23437 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
23438
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 {
23443 wxColour * resultptr;
23444 resultptr = new wxColour((wxColour &) result);
23445 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
23446 }
23447 return resultobj;
23448 fail:
23449 return NULL;
23450}
23451
23452
23453static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23454 PyObject *resultobj;
23455 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23456 PyObject *arg2 = (PyObject *) 0 ;
23457 bool result;
23458 PyObject * obj0 = 0 ;
23459 PyObject * obj1 = 0 ;
23460 char *kwnames[] = {
23461 (char *) "self",(char *) "func", NULL
23462 };
23463
23464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
23465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23467 arg2 = obj1;
23468 {
23469 PyThreadState* __tstate = wxPyBeginAllowThreads();
23470 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
23471
23472 wxPyEndAllowThreads(__tstate);
23473 if (PyErr_Occurred()) SWIG_fail;
23474 }
23475 {
23476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23477 }
23478 return resultobj;
23479 fail:
23480 return NULL;
23481}
23482
23483
23484static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23485 PyObject *resultobj;
23486 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
23487 wxWindow *result;
23488 PyObject * obj0 = 0 ;
23489 char *kwnames[] = {
23490 (char *) "self", NULL
23491 };
23492
23493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
23494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
23495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23496 {
23497 PyThreadState* __tstate = wxPyBeginAllowThreads();
23498 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
23499
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
23503 {
23504 resultobj = wxPyMake_wxObject(result);
23505 }
23506 return resultobj;
23507 fail:
23508 return NULL;
23509}
23510
23511
23512static PyObject *_wrap_ListCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
23513 PyObject *resultobj;
23514 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
23515 wxVisualAttributes result;
23516 PyObject * obj0 = 0 ;
23517 char *kwnames[] = {
23518 (char *) "variant", NULL
23519 };
23520
23521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
23522 if (obj0) {
23523 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
23524 if (PyErr_Occurred()) SWIG_fail;
23525 }
23526 {
23527 PyThreadState* __tstate = wxPyBeginAllowThreads();
23528 result = wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
23529
23530 wxPyEndAllowThreads(__tstate);
23531 if (PyErr_Occurred()) SWIG_fail;
23532 }
23533 {
23534 wxVisualAttributes * resultptr;
23535 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
23536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
23537 }
23538 return resultobj;
23539 fail:
23540 return NULL;
23541}
23542
23543
23544static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
23545 PyObject *obj;
23546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23547 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
23548 Py_INCREF(obj);
23549 return Py_BuildValue((char *)"");
23550}
23551static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23552 PyObject *resultobj;
23553 wxWindow *arg1 = (wxWindow *) 0 ;
23554 int arg2 = (int) -1 ;
23555 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23556 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23557 wxSize const &arg4_defvalue = wxDefaultSize ;
23558 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23559 long arg5 = (long) wxLC_REPORT ;
23560 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23561 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23562 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
23563 wxString *arg7 = (wxString *) &arg7_defvalue ;
23564 wxListView *result;
23565 wxPoint temp3 ;
23566 wxSize temp4 ;
23567 bool temp7 = False ;
23568 PyObject * obj0 = 0 ;
23569 PyObject * obj1 = 0 ;
23570 PyObject * obj2 = 0 ;
23571 PyObject * obj3 = 0 ;
23572 PyObject * obj4 = 0 ;
23573 PyObject * obj5 = 0 ;
23574 PyObject * obj6 = 0 ;
23575 char *kwnames[] = {
23576 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23577 };
23578
23579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23582 if (obj1) {
23583 arg2 = (int) SWIG_AsInt(obj1);
23584 if (PyErr_Occurred()) SWIG_fail;
23585 }
23586 if (obj2) {
23587 {
23588 arg3 = &temp3;
23589 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23590 }
23591 }
23592 if (obj3) {
23593 {
23594 arg4 = &temp4;
23595 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23596 }
23597 }
23598 if (obj4) {
23599 arg5 = (long) SWIG_AsLong(obj4);
23600 if (PyErr_Occurred()) SWIG_fail;
23601 }
23602 if (obj5) {
23603 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
23604 SWIG_POINTER_EXCEPTION | 0)) == -1)
23605 SWIG_fail;
23606 if (arg6 == NULL) {
23607 PyErr_SetString(PyExc_TypeError,"null reference");
23608 SWIG_fail;
23609 }
23610 }
23611 if (obj6) {
23612 {
23613 arg7 = wxString_in_helper(obj6);
23614 if (arg7 == NULL) SWIG_fail;
23615 temp7 = True;
23616 }
23617 }
23618 {
23619 PyThreadState* __tstate = wxPyBeginAllowThreads();
23620 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23621
23622 wxPyEndAllowThreads(__tstate);
23623 if (PyErr_Occurred()) SWIG_fail;
23624 }
23625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23626 {
23627 if (temp7)
23628 delete arg7;
23629 }
23630 return resultobj;
23631 fail:
23632 {
23633 if (temp7)
23634 delete arg7;
23635 }
23636 return NULL;
23637}
23638
23639
23640static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
23641 PyObject *resultobj;
23642 wxListView *result;
23643 char *kwnames[] = {
23644 NULL
23645 };
23646
23647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
23648 {
23649 PyThreadState* __tstate = wxPyBeginAllowThreads();
23650 result = (wxListView *)new wxListView();
23651
23652 wxPyEndAllowThreads(__tstate);
23653 if (PyErr_Occurred()) SWIG_fail;
23654 }
23655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxListView, 1);
23656 return resultobj;
23657 fail:
23658 return NULL;
23659}
23660
23661
23662static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23663 PyObject *resultobj;
23664 wxListView *arg1 = (wxListView *) 0 ;
23665 wxWindow *arg2 = (wxWindow *) 0 ;
23666 int arg3 = (int) -1 ;
23667 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23668 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23669 wxSize const &arg5_defvalue = wxDefaultSize ;
23670 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23671 long arg6 = (long) wxLC_REPORT ;
23672 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23673 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23674 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
23675 wxString *arg8 = (wxString *) &arg8_defvalue ;
23676 bool result;
23677 wxPoint temp4 ;
23678 wxSize temp5 ;
23679 bool temp8 = False ;
23680 PyObject * obj0 = 0 ;
23681 PyObject * obj1 = 0 ;
23682 PyObject * obj2 = 0 ;
23683 PyObject * obj3 = 0 ;
23684 PyObject * obj4 = 0 ;
23685 PyObject * obj5 = 0 ;
23686 PyObject * obj6 = 0 ;
23687 PyObject * obj7 = 0 ;
23688 char *kwnames[] = {
23689 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23690 };
23691
23692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23695 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23697 if (obj2) {
23698 arg3 = (int) SWIG_AsInt(obj2);
23699 if (PyErr_Occurred()) SWIG_fail;
23700 }
23701 if (obj3) {
23702 {
23703 arg4 = &temp4;
23704 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23705 }
23706 }
23707 if (obj4) {
23708 {
23709 arg5 = &temp5;
23710 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23711 }
23712 }
23713 if (obj5) {
23714 arg6 = (long) SWIG_AsLong(obj5);
23715 if (PyErr_Occurred()) SWIG_fail;
23716 }
23717 if (obj6) {
23718 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
23719 SWIG_POINTER_EXCEPTION | 0)) == -1)
23720 SWIG_fail;
23721 if (arg7 == NULL) {
23722 PyErr_SetString(PyExc_TypeError,"null reference");
23723 SWIG_fail;
23724 }
23725 }
23726 if (obj7) {
23727 {
23728 arg8 = wxString_in_helper(obj7);
23729 if (arg8 == NULL) SWIG_fail;
23730 temp8 = True;
23731 }
23732 }
23733 {
23734 PyThreadState* __tstate = wxPyBeginAllowThreads();
23735 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23736
23737 wxPyEndAllowThreads(__tstate);
23738 if (PyErr_Occurred()) SWIG_fail;
23739 }
23740 {
23741 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23742 }
23743 {
23744 if (temp8)
23745 delete arg8;
23746 }
23747 return resultobj;
23748 fail:
23749 {
23750 if (temp8)
23751 delete arg8;
23752 }
23753 return NULL;
23754}
23755
23756
23757static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
23758 PyObject *resultobj;
23759 wxListView *arg1 = (wxListView *) 0 ;
23760 long arg2 ;
23761 bool arg3 = (bool) True ;
23762 PyObject * obj0 = 0 ;
23763 PyObject * obj1 = 0 ;
23764 PyObject * obj2 = 0 ;
23765 char *kwnames[] = {
23766 (char *) "self",(char *) "n",(char *) "on", NULL
23767 };
23768
23769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
23770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23772 arg2 = (long) SWIG_AsLong(obj1);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 if (obj2) {
23775 arg3 = (bool) SWIG_AsBool(obj2);
23776 if (PyErr_Occurred()) SWIG_fail;
23777 }
23778 {
23779 PyThreadState* __tstate = wxPyBeginAllowThreads();
23780 (arg1)->Select(arg2,arg3);
23781
23782 wxPyEndAllowThreads(__tstate);
23783 if (PyErr_Occurred()) SWIG_fail;
23784 }
23785 Py_INCREF(Py_None); resultobj = Py_None;
23786 return resultobj;
23787 fail:
23788 return NULL;
23789}
23790
23791
23792static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
23793 PyObject *resultobj;
23794 wxListView *arg1 = (wxListView *) 0 ;
23795 long arg2 ;
23796 PyObject * obj0 = 0 ;
23797 PyObject * obj1 = 0 ;
23798 char *kwnames[] = {
23799 (char *) "self",(char *) "index", NULL
23800 };
23801
23802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
23803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23805 arg2 = (long) SWIG_AsLong(obj1);
23806 if (PyErr_Occurred()) SWIG_fail;
23807 {
23808 PyThreadState* __tstate = wxPyBeginAllowThreads();
23809 (arg1)->Focus(arg2);
23810
23811 wxPyEndAllowThreads(__tstate);
23812 if (PyErr_Occurred()) SWIG_fail;
23813 }
23814 Py_INCREF(Py_None); resultobj = Py_None;
23815 return resultobj;
23816 fail:
23817 return NULL;
23818}
23819
23820
23821static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23822 PyObject *resultobj;
23823 wxListView *arg1 = (wxListView *) 0 ;
23824 long result;
23825 PyObject * obj0 = 0 ;
23826 char *kwnames[] = {
23827 (char *) "self", NULL
23828 };
23829
23830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
23831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23833 {
23834 PyThreadState* __tstate = wxPyBeginAllowThreads();
23835 result = (long)((wxListView const *)arg1)->GetFocusedItem();
23836
23837 wxPyEndAllowThreads(__tstate);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 }
23840 resultobj = SWIG_FromLong((long)result);
23841 return resultobj;
23842 fail:
23843 return NULL;
23844}
23845
23846
23847static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23848 PyObject *resultobj;
23849 wxListView *arg1 = (wxListView *) 0 ;
23850 long arg2 ;
23851 long result;
23852 PyObject * obj0 = 0 ;
23853 PyObject * obj1 = 0 ;
23854 char *kwnames[] = {
23855 (char *) "self",(char *) "item", NULL
23856 };
23857
23858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
23859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23861 arg2 = (long) SWIG_AsLong(obj1);
23862 if (PyErr_Occurred()) SWIG_fail;
23863 {
23864 PyThreadState* __tstate = wxPyBeginAllowThreads();
23865 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
23866
23867 wxPyEndAllowThreads(__tstate);
23868 if (PyErr_Occurred()) SWIG_fail;
23869 }
23870 resultobj = SWIG_FromLong((long)result);
23871 return resultobj;
23872 fail:
23873 return NULL;
23874}
23875
23876
23877static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23878 PyObject *resultobj;
23879 wxListView *arg1 = (wxListView *) 0 ;
23880 long result;
23881 PyObject * obj0 = 0 ;
23882 char *kwnames[] = {
23883 (char *) "self", NULL
23884 };
23885
23886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
23887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23889 {
23890 PyThreadState* __tstate = wxPyBeginAllowThreads();
23891 result = (long)((wxListView const *)arg1)->GetFirstSelected();
23892
23893 wxPyEndAllowThreads(__tstate);
23894 if (PyErr_Occurred()) SWIG_fail;
23895 }
23896 resultobj = SWIG_FromLong((long)result);
23897 return resultobj;
23898 fail:
23899 return NULL;
23900}
23901
23902
23903static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
23904 PyObject *resultobj;
23905 wxListView *arg1 = (wxListView *) 0 ;
23906 long arg2 ;
23907 bool result;
23908 PyObject * obj0 = 0 ;
23909 PyObject * obj1 = 0 ;
23910 char *kwnames[] = {
23911 (char *) "self",(char *) "index", NULL
23912 };
23913
23914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
23915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23917 arg2 = (long) SWIG_AsLong(obj1);
23918 if (PyErr_Occurred()) SWIG_fail;
23919 {
23920 PyThreadState* __tstate = wxPyBeginAllowThreads();
23921 result = (bool)(arg1)->IsSelected(arg2);
23922
23923 wxPyEndAllowThreads(__tstate);
23924 if (PyErr_Occurred()) SWIG_fail;
23925 }
23926 {
23927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23928 }
23929 return resultobj;
23930 fail:
23931 return NULL;
23932}
23933
23934
23935static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23936 PyObject *resultobj;
23937 wxListView *arg1 = (wxListView *) 0 ;
23938 int arg2 ;
23939 int arg3 ;
23940 PyObject * obj0 = 0 ;
23941 PyObject * obj1 = 0 ;
23942 PyObject * obj2 = 0 ;
23943 char *kwnames[] = {
23944 (char *) "self",(char *) "col",(char *) "image", NULL
23945 };
23946
23947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
23948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23950 arg2 = (int) SWIG_AsInt(obj1);
23951 if (PyErr_Occurred()) SWIG_fail;
23952 arg3 = (int) SWIG_AsInt(obj2);
23953 if (PyErr_Occurred()) SWIG_fail;
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 (arg1)->SetColumnImage(arg2,arg3);
23957
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 Py_INCREF(Py_None); resultobj = Py_None;
23962 return resultobj;
23963 fail:
23964 return NULL;
23965}
23966
23967
23968static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
23969 PyObject *resultobj;
23970 wxListView *arg1 = (wxListView *) 0 ;
23971 int arg2 ;
23972 PyObject * obj0 = 0 ;
23973 PyObject * obj1 = 0 ;
23974 char *kwnames[] = {
23975 (char *) "self",(char *) "col", NULL
23976 };
23977
23978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
23979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxListView,
23980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23981 arg2 = (int) SWIG_AsInt(obj1);
23982 if (PyErr_Occurred()) SWIG_fail;
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 (arg1)->ClearColumnImage(arg2);
23986
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 Py_INCREF(Py_None); resultobj = Py_None;
23991 return resultobj;
23992 fail:
23993 return NULL;
23994}
23995
23996
23997static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
23998 PyObject *obj;
23999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24000 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
24001 Py_INCREF(obj);
24002 return Py_BuildValue((char *)"");
24003}
24004static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
24005 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
24006 return 1;
24007}
24008
24009
24010static PyObject *_wrap_TreeCtrlNameStr_get() {
24011 PyObject *pyobj;
24012
24013 {
24014#if wxUSE_UNICODE
24015 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24016#else
24017 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
24018#endif
24019 }
24020 return pyobj;
24021}
24022
24023
24024static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24025 PyObject *resultobj;
24026 wxTreeItemId *result;
24027 char *kwnames[] = {
24028 NULL
24029 };
24030
24031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
24032 {
24033 PyThreadState* __tstate = wxPyBeginAllowThreads();
24034 result = (wxTreeItemId *)new wxTreeItemId();
24035
24036 wxPyEndAllowThreads(__tstate);
24037 if (PyErr_Occurred()) SWIG_fail;
24038 }
24039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 1);
24040 return resultobj;
24041 fail:
24042 return NULL;
24043}
24044
24045
24046static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
24047 PyObject *resultobj;
24048 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24049 PyObject * obj0 = 0 ;
24050 char *kwnames[] = {
24051 (char *) "self", NULL
24052 };
24053
24054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
24055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24057 {
24058 PyThreadState* __tstate = wxPyBeginAllowThreads();
24059 delete arg1;
24060
24061 wxPyEndAllowThreads(__tstate);
24062 if (PyErr_Occurred()) SWIG_fail;
24063 }
24064 Py_INCREF(Py_None); resultobj = Py_None;
24065 return resultobj;
24066 fail:
24067 return NULL;
24068}
24069
24070
24071static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
24072 PyObject *resultobj;
24073 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24074 bool result;
24075 PyObject * obj0 = 0 ;
24076 char *kwnames[] = {
24077 (char *) "self", NULL
24078 };
24079
24080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
24081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24083 {
24084 PyThreadState* __tstate = wxPyBeginAllowThreads();
24085 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
24086
24087 wxPyEndAllowThreads(__tstate);
24088 if (PyErr_Occurred()) SWIG_fail;
24089 }
24090 {
24091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24092 }
24093 return resultobj;
24094 fail:
24095 return NULL;
24096}
24097
24098
24099static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
24100 PyObject *resultobj;
24101 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24102 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24103 bool result;
24104 PyObject * obj0 = 0 ;
24105 PyObject * obj1 = 0 ;
24106 char *kwnames[] = {
24107 (char *) "self",(char *) "other", NULL
24108 };
24109
24110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
24111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24115 {
24116 PyThreadState* __tstate = wxPyBeginAllowThreads();
24117 result = (bool)wxTreeItemId___eq__(arg1,(wxTreeItemId const *)arg2);
24118
24119 wxPyEndAllowThreads(__tstate);
24120 if (PyErr_Occurred()) SWIG_fail;
24121 }
24122 {
24123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24124 }
24125 return resultobj;
24126 fail:
24127 return NULL;
24128}
24129
24130
24131static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
24132 PyObject *resultobj;
24133 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24134 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
24135 bool result;
24136 PyObject * obj0 = 0 ;
24137 PyObject * obj1 = 0 ;
24138 char *kwnames[] = {
24139 (char *) "self",(char *) "other", NULL
24140 };
24141
24142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
24143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24145 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24147 {
24148 PyThreadState* __tstate = wxPyBeginAllowThreads();
24149 result = (bool)wxTreeItemId___ne__(arg1,(wxTreeItemId const *)arg2);
24150
24151 wxPyEndAllowThreads(__tstate);
24152 if (PyErr_Occurred()) SWIG_fail;
24153 }
24154 {
24155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24156 }
24157 return resultobj;
24158 fail:
24159 return NULL;
24160}
24161
24162
24163static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
24164 PyObject *resultobj;
24165 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24166 void *arg2 = (void *) 0 ;
24167 PyObject * obj0 = 0 ;
24168 PyObject * obj1 = 0 ;
24169 char *kwnames[] = {
24170 (char *) "self",(char *) "m_pItem", NULL
24171 };
24172
24173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
24174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24176 if ((SWIG_ConvertPtr(obj1,&arg2,0,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
24177 if (arg1) (arg1)->m_pItem = arg2;
24178
24179 Py_INCREF(Py_None); resultobj = Py_None;
24180 return resultobj;
24181 fail:
24182 return NULL;
24183}
24184
24185
24186static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
24187 PyObject *resultobj;
24188 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
24189 void *result;
24190 PyObject * obj0 = 0 ;
24191 char *kwnames[] = {
24192 (char *) "self", NULL
24193 };
24194
24195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
24196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeItemId,
24197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24198 result = (void *) ((arg1)->m_pItem);
24199
24200 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_void, 0);
24201 return resultobj;
24202 fail:
24203 return NULL;
24204}
24205
24206
24207static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
24208 PyObject *obj;
24209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24210 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
24211 Py_INCREF(obj);
24212 return Py_BuildValue((char *)"");
24213}
24214static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24215 PyObject *resultobj;
24216 PyObject *arg1 = (PyObject *) NULL ;
24217 wxPyTreeItemData *result;
24218 PyObject * obj0 = 0 ;
24219 char *kwnames[] = {
24220 (char *) "obj", NULL
24221 };
24222
24223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
24224 if (obj0) {
24225 arg1 = obj0;
24226 }
24227 {
24228 PyThreadState* __tstate = wxPyBeginAllowThreads();
24229 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
24230
24231 wxPyEndAllowThreads(__tstate);
24232 if (PyErr_Occurred()) SWIG_fail;
24233 }
24234 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 1);
24235 return resultobj;
24236 fail:
24237 return NULL;
24238}
24239
24240
24241static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24242 PyObject *resultobj;
24243 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24244 PyObject *result;
24245 PyObject * obj0 = 0 ;
24246 char *kwnames[] = {
24247 (char *) "self", NULL
24248 };
24249
24250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
24251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24253 {
24254 PyThreadState* __tstate = wxPyBeginAllowThreads();
24255 result = (PyObject *)(arg1)->GetData();
24256
24257 wxPyEndAllowThreads(__tstate);
24258 if (PyErr_Occurred()) SWIG_fail;
24259 }
24260 resultobj = result;
24261 return resultobj;
24262 fail:
24263 return NULL;
24264}
24265
24266
24267static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
24268 PyObject *resultobj;
24269 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24270 PyObject *arg2 = (PyObject *) 0 ;
24271 PyObject * obj0 = 0 ;
24272 PyObject * obj1 = 0 ;
24273 char *kwnames[] = {
24274 (char *) "self",(char *) "obj", NULL
24275 };
24276
24277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
24278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24280 arg2 = obj1;
24281 {
24282 PyThreadState* __tstate = wxPyBeginAllowThreads();
24283 (arg1)->SetData(arg2);
24284
24285 wxPyEndAllowThreads(__tstate);
24286 if (PyErr_Occurred()) SWIG_fail;
24287 }
24288 Py_INCREF(Py_None); resultobj = Py_None;
24289 return resultobj;
24290 fail:
24291 return NULL;
24292}
24293
24294
24295static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24296 PyObject *resultobj;
24297 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24298 wxTreeItemId *result;
24299 PyObject * obj0 = 0 ;
24300 char *kwnames[] = {
24301 (char *) "self", NULL
24302 };
24303
24304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
24305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24307 {
24308 PyThreadState* __tstate = wxPyBeginAllowThreads();
24309 {
24310 wxTreeItemId const &_result_ref = (arg1)->GetId();
24311 result = (wxTreeItemId *) &_result_ref;
24312 }
24313
24314 wxPyEndAllowThreads(__tstate);
24315 if (PyErr_Occurred()) SWIG_fail;
24316 }
24317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeItemId, 0);
24318 return resultobj;
24319 fail:
24320 return NULL;
24321}
24322
24323
24324static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
24325 PyObject *resultobj;
24326 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24327 wxTreeItemId *arg2 = 0 ;
24328 PyObject * obj0 = 0 ;
24329 PyObject * obj1 = 0 ;
24330 char *kwnames[] = {
24331 (char *) "self",(char *) "id", NULL
24332 };
24333
24334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
24335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24337 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24338 SWIG_POINTER_EXCEPTION | 0)) == -1)
24339 SWIG_fail;
24340 if (arg2 == NULL) {
24341 PyErr_SetString(PyExc_TypeError,"null reference");
24342 SWIG_fail;
24343 }
24344 {
24345 PyThreadState* __tstate = wxPyBeginAllowThreads();
24346 (arg1)->SetId((wxTreeItemId const &)*arg2);
24347
24348 wxPyEndAllowThreads(__tstate);
24349 if (PyErr_Occurred()) SWIG_fail;
24350 }
24351 Py_INCREF(Py_None); resultobj = Py_None;
24352 return resultobj;
24353 fail:
24354 return NULL;
24355}
24356
24357
24358static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24359 PyObject *resultobj;
24360 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
24361 PyObject * obj0 = 0 ;
24362 char *kwnames[] = {
24363 (char *) "self", NULL
24364 };
24365
24366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
24367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeItemData,
24368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24369 {
24370 PyThreadState* __tstate = wxPyBeginAllowThreads();
24371 wxPyTreeItemData_Destroy(arg1);
24372
24373 wxPyEndAllowThreads(__tstate);
24374 if (PyErr_Occurred()) SWIG_fail;
24375 }
24376 Py_INCREF(Py_None); resultobj = Py_None;
24377 return resultobj;
24378 fail:
24379 return NULL;
24380}
24381
24382
24383static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
24384 PyObject *obj;
24385 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24386 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
24387 Py_INCREF(obj);
24388 return Py_BuildValue((char *)"");
24389}
24390static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24391 PyObject *resultobj;
24392 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24393 int arg2 = (int) 0 ;
24394 wxTreeEvent *result;
24395 PyObject * obj0 = 0 ;
24396 PyObject * obj1 = 0 ;
24397 char *kwnames[] = {
24398 (char *) "commandType",(char *) "id", NULL
24399 };
24400
24401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
24402 if (obj0) {
24403 arg1 = (wxEventType) SWIG_AsInt(obj0);
24404 if (PyErr_Occurred()) SWIG_fail;
24405 }
24406 if (obj1) {
24407 arg2 = (int) SWIG_AsInt(obj1);
24408 if (PyErr_Occurred()) SWIG_fail;
24409 }
24410 {
24411 PyThreadState* __tstate = wxPyBeginAllowThreads();
24412 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
24413
24414 wxPyEndAllowThreads(__tstate);
24415 if (PyErr_Occurred()) SWIG_fail;
24416 }
24417 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeEvent, 1);
24418 return resultobj;
24419 fail:
24420 return NULL;
24421}
24422
24423
24424static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24425 PyObject *resultobj;
24426 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24427 wxTreeItemId result;
24428 PyObject * obj0 = 0 ;
24429 char *kwnames[] = {
24430 (char *) "self", NULL
24431 };
24432
24433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
24434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24436 {
24437 PyThreadState* __tstate = wxPyBeginAllowThreads();
24438 result = ((wxTreeEvent const *)arg1)->GetItem();
24439
24440 wxPyEndAllowThreads(__tstate);
24441 if (PyErr_Occurred()) SWIG_fail;
24442 }
24443 {
24444 wxTreeItemId * resultptr;
24445 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24446 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24447 }
24448 return resultobj;
24449 fail:
24450 return NULL;
24451}
24452
24453
24454static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24455 PyObject *resultobj;
24456 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24457 wxTreeItemId *arg2 = 0 ;
24458 PyObject * obj0 = 0 ;
24459 PyObject * obj1 = 0 ;
24460 char *kwnames[] = {
24461 (char *) "self",(char *) "item", NULL
24462 };
24463
24464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
24465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24468 SWIG_POINTER_EXCEPTION | 0)) == -1)
24469 SWIG_fail;
24470 if (arg2 == NULL) {
24471 PyErr_SetString(PyExc_TypeError,"null reference");
24472 SWIG_fail;
24473 }
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 (arg1)->SetItem((wxTreeItemId const &)*arg2);
24477
24478 wxPyEndAllowThreads(__tstate);
24479 if (PyErr_Occurred()) SWIG_fail;
24480 }
24481 Py_INCREF(Py_None); resultobj = Py_None;
24482 return resultobj;
24483 fail:
24484 return NULL;
24485}
24486
24487
24488static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24489 PyObject *resultobj;
24490 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24491 wxTreeItemId result;
24492 PyObject * obj0 = 0 ;
24493 char *kwnames[] = {
24494 (char *) "self", NULL
24495 };
24496
24497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
24498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24500 {
24501 PyThreadState* __tstate = wxPyBeginAllowThreads();
24502 result = ((wxTreeEvent const *)arg1)->GetOldItem();
24503
24504 wxPyEndAllowThreads(__tstate);
24505 if (PyErr_Occurred()) SWIG_fail;
24506 }
24507 {
24508 wxTreeItemId * resultptr;
24509 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24510 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
24511 }
24512 return resultobj;
24513 fail:
24514 return NULL;
24515}
24516
24517
24518static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
24519 PyObject *resultobj;
24520 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24521 wxTreeItemId *arg2 = 0 ;
24522 PyObject * obj0 = 0 ;
24523 PyObject * obj1 = 0 ;
24524 char *kwnames[] = {
24525 (char *) "self",(char *) "item", NULL
24526 };
24527
24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
24529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24531 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
24532 SWIG_POINTER_EXCEPTION | 0)) == -1)
24533 SWIG_fail;
24534 if (arg2 == NULL) {
24535 PyErr_SetString(PyExc_TypeError,"null reference");
24536 SWIG_fail;
24537 }
24538 {
24539 PyThreadState* __tstate = wxPyBeginAllowThreads();
24540 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
24541
24542 wxPyEndAllowThreads(__tstate);
24543 if (PyErr_Occurred()) SWIG_fail;
24544 }
24545 Py_INCREF(Py_None); resultobj = Py_None;
24546 return resultobj;
24547 fail:
24548 return NULL;
24549}
24550
24551
24552static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24553 PyObject *resultobj;
24554 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24555 wxPoint result;
24556 PyObject * obj0 = 0 ;
24557 char *kwnames[] = {
24558 (char *) "self", NULL
24559 };
24560
24561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
24562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24564 {
24565 PyThreadState* __tstate = wxPyBeginAllowThreads();
24566 result = ((wxTreeEvent const *)arg1)->GetPoint();
24567
24568 wxPyEndAllowThreads(__tstate);
24569 if (PyErr_Occurred()) SWIG_fail;
24570 }
24571 {
24572 wxPoint * resultptr;
24573 resultptr = new wxPoint((wxPoint &) result);
24574 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
24575 }
24576 return resultobj;
24577 fail:
24578 return NULL;
24579}
24580
24581
24582static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24583 PyObject *resultobj;
24584 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24585 wxPoint *arg2 = 0 ;
24586 wxPoint temp2 ;
24587 PyObject * obj0 = 0 ;
24588 PyObject * obj1 = 0 ;
24589 char *kwnames[] = {
24590 (char *) "self",(char *) "pt", NULL
24591 };
24592
24593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
24594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24596 {
24597 arg2 = &temp2;
24598 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24599 }
24600 {
24601 PyThreadState* __tstate = wxPyBeginAllowThreads();
24602 (arg1)->SetPoint((wxPoint const &)*arg2);
24603
24604 wxPyEndAllowThreads(__tstate);
24605 if (PyErr_Occurred()) SWIG_fail;
24606 }
24607 Py_INCREF(Py_None); resultobj = Py_None;
24608 return resultobj;
24609 fail:
24610 return NULL;
24611}
24612
24613
24614static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24615 PyObject *resultobj;
24616 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24617 wxKeyEvent *result;
24618 PyObject * obj0 = 0 ;
24619 char *kwnames[] = {
24620 (char *) "self", NULL
24621 };
24622
24623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
24624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 {
24629 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
24630 result = (wxKeyEvent *) &_result_ref;
24631 }
24632
24633 wxPyEndAllowThreads(__tstate);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 }
24636 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 0);
24637 return resultobj;
24638 fail:
24639 return NULL;
24640}
24641
24642
24643static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
24644 PyObject *resultobj;
24645 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24646 int result;
24647 PyObject * obj0 = 0 ;
24648 char *kwnames[] = {
24649 (char *) "self", NULL
24650 };
24651
24652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
24653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24655 {
24656 PyThreadState* __tstate = wxPyBeginAllowThreads();
24657 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
24658
24659 wxPyEndAllowThreads(__tstate);
24660 if (PyErr_Occurred()) SWIG_fail;
24661 }
24662 resultobj = SWIG_FromInt((int)result);
24663 return resultobj;
24664 fail:
24665 return NULL;
24666}
24667
24668
24669static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24670 PyObject *resultobj;
24671 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24672 wxKeyEvent *arg2 = 0 ;
24673 PyObject * obj0 = 0 ;
24674 PyObject * obj1 = 0 ;
24675 char *kwnames[] = {
24676 (char *) "self",(char *) "evt", NULL
24677 };
24678
24679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
24680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxKeyEvent,
24683 SWIG_POINTER_EXCEPTION | 0)) == -1)
24684 SWIG_fail;
24685 if (arg2 == NULL) {
24686 PyErr_SetString(PyExc_TypeError,"null reference");
24687 SWIG_fail;
24688 }
24689 {
24690 PyThreadState* __tstate = wxPyBeginAllowThreads();
24691 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
24692
24693 wxPyEndAllowThreads(__tstate);
24694 if (PyErr_Occurred()) SWIG_fail;
24695 }
24696 Py_INCREF(Py_None); resultobj = Py_None;
24697 return resultobj;
24698 fail:
24699 return NULL;
24700}
24701
24702
24703static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24704 PyObject *resultobj;
24705 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24706 wxString *result;
24707 PyObject * obj0 = 0 ;
24708 char *kwnames[] = {
24709 (char *) "self", NULL
24710 };
24711
24712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
24713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24715 {
24716 PyThreadState* __tstate = wxPyBeginAllowThreads();
24717 {
24718 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
24719 result = (wxString *) &_result_ref;
24720 }
24721
24722 wxPyEndAllowThreads(__tstate);
24723 if (PyErr_Occurred()) SWIG_fail;
24724 }
24725 {
24726#if wxUSE_UNICODE
24727 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24728#else
24729 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24730#endif
24731 }
24732 return resultobj;
24733 fail:
24734 return NULL;
24735}
24736
24737
24738static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
24739 PyObject *resultobj;
24740 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24741 wxString *arg2 = 0 ;
24742 bool temp2 = False ;
24743 PyObject * obj0 = 0 ;
24744 PyObject * obj1 = 0 ;
24745 char *kwnames[] = {
24746 (char *) "self",(char *) "label", NULL
24747 };
24748
24749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
24750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24752 {
24753 arg2 = wxString_in_helper(obj1);
24754 if (arg2 == NULL) SWIG_fail;
24755 temp2 = True;
24756 }
24757 {
24758 PyThreadState* __tstate = wxPyBeginAllowThreads();
24759 (arg1)->SetLabel((wxString const &)*arg2);
24760
24761 wxPyEndAllowThreads(__tstate);
24762 if (PyErr_Occurred()) SWIG_fail;
24763 }
24764 Py_INCREF(Py_None); resultobj = Py_None;
24765 {
24766 if (temp2)
24767 delete arg2;
24768 }
24769 return resultobj;
24770 fail:
24771 {
24772 if (temp2)
24773 delete arg2;
24774 }
24775 return NULL;
24776}
24777
24778
24779static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
24780 PyObject *resultobj;
24781 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24782 bool result;
24783 PyObject * obj0 = 0 ;
24784 char *kwnames[] = {
24785 (char *) "self", NULL
24786 };
24787
24788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
24789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24791 {
24792 PyThreadState* __tstate = wxPyBeginAllowThreads();
24793 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
24794
24795 wxPyEndAllowThreads(__tstate);
24796 if (PyErr_Occurred()) SWIG_fail;
24797 }
24798 {
24799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24800 }
24801 return resultobj;
24802 fail:
24803 return NULL;
24804}
24805
24806
24807static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
24808 PyObject *resultobj;
24809 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24810 bool arg2 ;
24811 PyObject * obj0 = 0 ;
24812 PyObject * obj1 = 0 ;
24813 char *kwnames[] = {
24814 (char *) "self",(char *) "editCancelled", NULL
24815 };
24816
24817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
24818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24820 arg2 = (bool) SWIG_AsBool(obj1);
24821 if (PyErr_Occurred()) SWIG_fail;
24822 {
24823 PyThreadState* __tstate = wxPyBeginAllowThreads();
24824 (arg1)->SetEditCanceled(arg2);
24825
24826 wxPyEndAllowThreads(__tstate);
24827 if (PyErr_Occurred()) SWIG_fail;
24828 }
24829 Py_INCREF(Py_None); resultobj = Py_None;
24830 return resultobj;
24831 fail:
24832 return NULL;
24833}
24834
24835
24836static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
24837 PyObject *resultobj;
24838 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
24839 wxString *arg2 = 0 ;
24840 bool temp2 = False ;
24841 PyObject * obj0 = 0 ;
24842 PyObject * obj1 = 0 ;
24843 char *kwnames[] = {
24844 (char *) "self",(char *) "toolTip", NULL
24845 };
24846
24847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
24848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxTreeEvent,
24849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24850 {
24851 arg2 = wxString_in_helper(obj1);
24852 if (arg2 == NULL) SWIG_fail;
24853 temp2 = True;
24854 }
24855 {
24856 PyThreadState* __tstate = wxPyBeginAllowThreads();
24857 (arg1)->SetToolTip((wxString const &)*arg2);
24858
24859 wxPyEndAllowThreads(__tstate);
24860 if (PyErr_Occurred()) SWIG_fail;
24861 }
24862 Py_INCREF(Py_None); resultobj = Py_None;
24863 {
24864 if (temp2)
24865 delete arg2;
24866 }
24867 return resultobj;
24868 fail:
24869 {
24870 if (temp2)
24871 delete arg2;
24872 }
24873 return NULL;
24874}
24875
24876
24877static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
24878 PyObject *obj;
24879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24880 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
24881 Py_INCREF(obj);
24882 return Py_BuildValue((char *)"");
24883}
24884static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24885 PyObject *resultobj;
24886 wxWindow *arg1 = (wxWindow *) 0 ;
24887 int arg2 = (int) -1 ;
24888 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24889 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24890 wxSize const &arg4_defvalue = wxDefaultSize ;
24891 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24892 long arg5 = (long) wxTR_DEFAULT_STYLE ;
24893 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24894 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24895 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
24896 wxString *arg7 = (wxString *) &arg7_defvalue ;
24897 wxPyTreeCtrl *result;
24898 wxPoint temp3 ;
24899 wxSize temp4 ;
24900 bool temp7 = False ;
24901 PyObject * obj0 = 0 ;
24902 PyObject * obj1 = 0 ;
24903 PyObject * obj2 = 0 ;
24904 PyObject * obj3 = 0 ;
24905 PyObject * obj4 = 0 ;
24906 PyObject * obj5 = 0 ;
24907 PyObject * obj6 = 0 ;
24908 char *kwnames[] = {
24909 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24910 };
24911
24912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
24913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24915 if (obj1) {
24916 arg2 = (int) SWIG_AsInt(obj1);
24917 if (PyErr_Occurred()) SWIG_fail;
24918 }
24919 if (obj2) {
24920 {
24921 arg3 = &temp3;
24922 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24923 }
24924 }
24925 if (obj3) {
24926 {
24927 arg4 = &temp4;
24928 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24929 }
24930 }
24931 if (obj4) {
24932 arg5 = (long) SWIG_AsLong(obj4);
24933 if (PyErr_Occurred()) SWIG_fail;
24934 }
24935 if (obj5) {
24936 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
24937 SWIG_POINTER_EXCEPTION | 0)) == -1)
24938 SWIG_fail;
24939 if (arg6 == NULL) {
24940 PyErr_SetString(PyExc_TypeError,"null reference");
24941 SWIG_fail;
24942 }
24943 }
24944 if (obj6) {
24945 {
24946 arg7 = wxString_in_helper(obj6);
24947 if (arg7 == NULL) SWIG_fail;
24948 temp7 = True;
24949 }
24950 }
24951 {
24952 PyThreadState* __tstate = wxPyBeginAllowThreads();
24953 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24954
24955 wxPyEndAllowThreads(__tstate);
24956 if (PyErr_Occurred()) SWIG_fail;
24957 }
24958 {
24959 resultobj = wxPyMake_wxObject(result);
24960 }
24961 {
24962 if (temp7)
24963 delete arg7;
24964 }
24965 return resultobj;
24966 fail:
24967 {
24968 if (temp7)
24969 delete arg7;
24970 }
24971 return NULL;
24972}
24973
24974
24975static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24976 PyObject *resultobj;
24977 wxPyTreeCtrl *result;
24978 char *kwnames[] = {
24979 NULL
24980 };
24981
24982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
24983 {
24984 PyThreadState* __tstate = wxPyBeginAllowThreads();
24985 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
24986
24987 wxPyEndAllowThreads(__tstate);
24988 if (PyErr_Occurred()) SWIG_fail;
24989 }
24990 {
24991 resultobj = wxPyMake_wxObject(result);
24992 }
24993 return resultobj;
24994 fail:
24995 return NULL;
24996}
24997
24998
24999static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
25000 PyObject *resultobj;
25001 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25002 wxWindow *arg2 = (wxWindow *) 0 ;
25003 int arg3 = (int) -1 ;
25004 wxPoint const &arg4_defvalue = wxDefaultPosition ;
25005 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
25006 wxSize const &arg5_defvalue = wxDefaultSize ;
25007 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
25008 long arg6 = (long) wxTR_DEFAULT_STYLE ;
25009 wxValidator const &arg7_defvalue = wxDefaultValidator ;
25010 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
25011 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
25012 wxString *arg8 = (wxString *) &arg8_defvalue ;
25013 bool result;
25014 wxPoint temp4 ;
25015 wxSize temp5 ;
25016 bool temp8 = False ;
25017 PyObject * obj0 = 0 ;
25018 PyObject * obj1 = 0 ;
25019 PyObject * obj2 = 0 ;
25020 PyObject * obj3 = 0 ;
25021 PyObject * obj4 = 0 ;
25022 PyObject * obj5 = 0 ;
25023 PyObject * obj6 = 0 ;
25024 PyObject * obj7 = 0 ;
25025 char *kwnames[] = {
25026 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25027 };
25028
25029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
25030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25034 if (obj2) {
25035 arg3 = (int) SWIG_AsInt(obj2);
25036 if (PyErr_Occurred()) SWIG_fail;
25037 }
25038 if (obj3) {
25039 {
25040 arg4 = &temp4;
25041 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
25042 }
25043 }
25044 if (obj4) {
25045 {
25046 arg5 = &temp5;
25047 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
25048 }
25049 }
25050 if (obj5) {
25051 arg6 = (long) SWIG_AsLong(obj5);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
25054 if (obj6) {
25055 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
25056 SWIG_POINTER_EXCEPTION | 0)) == -1)
25057 SWIG_fail;
25058 if (arg7 == NULL) {
25059 PyErr_SetString(PyExc_TypeError,"null reference");
25060 SWIG_fail;
25061 }
25062 }
25063 if (obj7) {
25064 {
25065 arg8 = wxString_in_helper(obj7);
25066 if (arg8 == NULL) SWIG_fail;
25067 temp8 = True;
25068 }
25069 }
25070 {
25071 PyThreadState* __tstate = wxPyBeginAllowThreads();
25072 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
25073
25074 wxPyEndAllowThreads(__tstate);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 }
25077 {
25078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25079 }
25080 {
25081 if (temp8)
25082 delete arg8;
25083 }
25084 return resultobj;
25085 fail:
25086 {
25087 if (temp8)
25088 delete arg8;
25089 }
25090 return NULL;
25091}
25092
25093
25094static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25095 PyObject *resultobj;
25096 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25097 PyObject *arg2 = (PyObject *) 0 ;
25098 PyObject *arg3 = (PyObject *) 0 ;
25099 PyObject * obj0 = 0 ;
25100 PyObject * obj1 = 0 ;
25101 PyObject * obj2 = 0 ;
25102 char *kwnames[] = {
25103 (char *) "self",(char *) "self",(char *) "_class", NULL
25104 };
25105
25106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25109 arg2 = obj1;
25110 arg3 = obj2;
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 (arg1)->_setCallbackInfo(arg2,arg3);
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 Py_INCREF(Py_None); resultobj = Py_None;
25119 return resultobj;
25120 fail:
25121 return NULL;
25122}
25123
25124
25125static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
25126 PyObject *resultobj;
25127 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25128 size_t result;
25129 PyObject * obj0 = 0 ;
25130 char *kwnames[] = {
25131 (char *) "self", NULL
25132 };
25133
25134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
25135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25137 {
25138 PyThreadState* __tstate = wxPyBeginAllowThreads();
25139 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
25140
25141 wxPyEndAllowThreads(__tstate);
25142 if (PyErr_Occurred()) SWIG_fail;
25143 }
25144 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
25145 return resultobj;
25146 fail:
25147 return NULL;
25148}
25149
25150
25151static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25152 PyObject *resultobj;
25153 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25154 unsigned int result;
25155 PyObject * obj0 = 0 ;
25156 char *kwnames[] = {
25157 (char *) "self", NULL
25158 };
25159
25160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
25161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25163 {
25164 PyThreadState* __tstate = wxPyBeginAllowThreads();
25165 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
25166
25167 wxPyEndAllowThreads(__tstate);
25168 if (PyErr_Occurred()) SWIG_fail;
25169 }
25170 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25171 return resultobj;
25172 fail:
25173 return NULL;
25174}
25175
25176
25177static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
25178 PyObject *resultobj;
25179 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25180 unsigned int arg2 ;
25181 PyObject * obj0 = 0 ;
25182 PyObject * obj1 = 0 ;
25183 char *kwnames[] = {
25184 (char *) "self",(char *) "indent", NULL
25185 };
25186
25187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
25188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25190 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25191 if (PyErr_Occurred()) SWIG_fail;
25192 {
25193 PyThreadState* __tstate = wxPyBeginAllowThreads();
25194 (arg1)->SetIndent(arg2);
25195
25196 wxPyEndAllowThreads(__tstate);
25197 if (PyErr_Occurred()) SWIG_fail;
25198 }
25199 Py_INCREF(Py_None); resultobj = Py_None;
25200 return resultobj;
25201 fail:
25202 return NULL;
25203}
25204
25205
25206static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25207 PyObject *resultobj;
25208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25209 unsigned int result;
25210 PyObject * obj0 = 0 ;
25211 char *kwnames[] = {
25212 (char *) "self", NULL
25213 };
25214
25215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
25216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25218 {
25219 PyThreadState* __tstate = wxPyBeginAllowThreads();
25220 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
25221
25222 wxPyEndAllowThreads(__tstate);
25223 if (PyErr_Occurred()) SWIG_fail;
25224 }
25225 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
25226 return resultobj;
25227 fail:
25228 return NULL;
25229}
25230
25231
25232static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
25233 PyObject *resultobj;
25234 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25235 unsigned int arg2 ;
25236 PyObject * obj0 = 0 ;
25237 PyObject * obj1 = 0 ;
25238 char *kwnames[] = {
25239 (char *) "self",(char *) "spacing", NULL
25240 };
25241
25242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
25243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25245 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
25246 if (PyErr_Occurred()) SWIG_fail;
25247 {
25248 PyThreadState* __tstate = wxPyBeginAllowThreads();
25249 (arg1)->SetSpacing(arg2);
25250
25251 wxPyEndAllowThreads(__tstate);
25252 if (PyErr_Occurred()) SWIG_fail;
25253 }
25254 Py_INCREF(Py_None); resultobj = Py_None;
25255 return resultobj;
25256 fail:
25257 return NULL;
25258}
25259
25260
25261static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25262 PyObject *resultobj;
25263 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25264 wxImageList *result;
25265 PyObject * obj0 = 0 ;
25266 char *kwnames[] = {
25267 (char *) "self", NULL
25268 };
25269
25270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
25271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25273 {
25274 PyThreadState* __tstate = wxPyBeginAllowThreads();
25275 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
25276
25277 wxPyEndAllowThreads(__tstate);
25278 if (PyErr_Occurred()) SWIG_fail;
25279 }
25280 {
25281 resultobj = wxPyMake_wxObject(result);
25282 }
25283 return resultobj;
25284 fail:
25285 return NULL;
25286}
25287
25288
25289static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25290 PyObject *resultobj;
25291 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25292 wxImageList *result;
25293 PyObject * obj0 = 0 ;
25294 char *kwnames[] = {
25295 (char *) "self", NULL
25296 };
25297
25298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
25299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25301 {
25302 PyThreadState* __tstate = wxPyBeginAllowThreads();
25303 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
25304
25305 wxPyEndAllowThreads(__tstate);
25306 if (PyErr_Occurred()) SWIG_fail;
25307 }
25308 {
25309 resultobj = wxPyMake_wxObject(result);
25310 }
25311 return resultobj;
25312 fail:
25313 return NULL;
25314}
25315
25316
25317static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25318 PyObject *resultobj;
25319 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25320 wxImageList *arg2 = (wxImageList *) 0 ;
25321 PyObject * obj0 = 0 ;
25322 PyObject * obj1 = 0 ;
25323 char *kwnames[] = {
25324 (char *) "self",(char *) "imageList", NULL
25325 };
25326
25327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
25328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25330 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25332 {
25333 PyThreadState* __tstate = wxPyBeginAllowThreads();
25334 (arg1)->SetImageList(arg2);
25335
25336 wxPyEndAllowThreads(__tstate);
25337 if (PyErr_Occurred()) SWIG_fail;
25338 }
25339 Py_INCREF(Py_None); resultobj = Py_None;
25340 return resultobj;
25341 fail:
25342 return NULL;
25343}
25344
25345
25346static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25347 PyObject *resultobj;
25348 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25349 wxImageList *arg2 = (wxImageList *) 0 ;
25350 PyObject * obj0 = 0 ;
25351 PyObject * obj1 = 0 ;
25352 char *kwnames[] = {
25353 (char *) "self",(char *) "imageList", NULL
25354 };
25355
25356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
25357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25361 {
25362 PyThreadState* __tstate = wxPyBeginAllowThreads();
25363 (arg1)->SetStateImageList(arg2);
25364
25365 wxPyEndAllowThreads(__tstate);
25366 if (PyErr_Occurred()) SWIG_fail;
25367 }
25368 Py_INCREF(Py_None); resultobj = Py_None;
25369 return resultobj;
25370 fail:
25371 return NULL;
25372}
25373
25374
25375static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25376 PyObject *resultobj;
25377 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25378 wxImageList *arg2 = (wxImageList *) 0 ;
25379 PyObject * obj0 = 0 ;
25380 PyObject * obj1 = 0 ;
25381 char *kwnames[] = {
25382 (char *) "self",(char *) "imageList", NULL
25383 };
25384
25385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
25386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25389 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25390 {
25391 PyThreadState* __tstate = wxPyBeginAllowThreads();
25392 (arg1)->AssignImageList(arg2);
25393
25394 wxPyEndAllowThreads(__tstate);
25395 if (PyErr_Occurred()) SWIG_fail;
25396 }
25397 Py_INCREF(Py_None); resultobj = Py_None;
25398 return resultobj;
25399 fail:
25400 return NULL;
25401}
25402
25403
25404static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
25405 PyObject *resultobj;
25406 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25407 wxImageList *arg2 = (wxImageList *) 0 ;
25408 PyObject * obj0 = 0 ;
25409 PyObject * obj1 = 0 ;
25410 char *kwnames[] = {
25411 (char *) "self",(char *) "imageList", NULL
25412 };
25413
25414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
25415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageList,
25418 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
25419 {
25420 PyThreadState* __tstate = wxPyBeginAllowThreads();
25421 (arg1)->AssignStateImageList(arg2);
25422
25423 wxPyEndAllowThreads(__tstate);
25424 if (PyErr_Occurred()) SWIG_fail;
25425 }
25426 Py_INCREF(Py_None); resultobj = Py_None;
25427 return resultobj;
25428 fail:
25429 return NULL;
25430}
25431
25432
25433static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25434 PyObject *resultobj;
25435 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25436 wxTreeItemId *arg2 = 0 ;
25437 wxString result;
25438 PyObject * obj0 = 0 ;
25439 PyObject * obj1 = 0 ;
25440 char *kwnames[] = {
25441 (char *) "self",(char *) "item", NULL
25442 };
25443
25444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
25445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25447 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25448 SWIG_POINTER_EXCEPTION | 0)) == -1)
25449 SWIG_fail;
25450 if (arg2 == NULL) {
25451 PyErr_SetString(PyExc_TypeError,"null reference");
25452 SWIG_fail;
25453 }
25454 {
25455 PyThreadState* __tstate = wxPyBeginAllowThreads();
25456 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
25457
25458 wxPyEndAllowThreads(__tstate);
25459 if (PyErr_Occurred()) SWIG_fail;
25460 }
25461 {
25462#if wxUSE_UNICODE
25463 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25464#else
25465 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25466#endif
25467 }
25468 return resultobj;
25469 fail:
25470 return NULL;
25471}
25472
25473
25474static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25475 PyObject *resultobj;
25476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25477 wxTreeItemId *arg2 = 0 ;
25478 int arg3 = (int) wxTreeItemIcon_Normal ;
25479 int result;
25480 PyObject * obj0 = 0 ;
25481 PyObject * obj1 = 0 ;
25482 PyObject * obj2 = 0 ;
25483 char *kwnames[] = {
25484 (char *) "self",(char *) "item",(char *) "which", NULL
25485 };
25486
25487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25490 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25491 SWIG_POINTER_EXCEPTION | 0)) == -1)
25492 SWIG_fail;
25493 if (arg2 == NULL) {
25494 PyErr_SetString(PyExc_TypeError,"null reference");
25495 SWIG_fail;
25496 }
25497 if (obj2) {
25498 arg3 = (wxTreeItemIcon) SWIG_AsInt(obj2);
25499 if (PyErr_Occurred()) SWIG_fail;
25500 }
25501 {
25502 PyThreadState* __tstate = wxPyBeginAllowThreads();
25503 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
25504
25505 wxPyEndAllowThreads(__tstate);
25506 if (PyErr_Occurred()) SWIG_fail;
25507 }
25508 resultobj = SWIG_FromInt((int)result);
25509 return resultobj;
25510 fail:
25511 return NULL;
25512}
25513
25514
25515static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25516 PyObject *resultobj;
25517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25518 wxTreeItemId *arg2 = 0 ;
25519 wxPyTreeItemData *result;
25520 PyObject * obj0 = 0 ;
25521 PyObject * obj1 = 0 ;
25522 char *kwnames[] = {
25523 (char *) "self",(char *) "item", NULL
25524 };
25525
25526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
25527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25530 SWIG_POINTER_EXCEPTION | 0)) == -1)
25531 SWIG_fail;
25532 if (arg2 == NULL) {
25533 PyErr_SetString(PyExc_TypeError,"null reference");
25534 SWIG_fail;
25535 }
25536 {
25537 PyThreadState* __tstate = wxPyBeginAllowThreads();
25538 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
25539
25540 wxPyEndAllowThreads(__tstate);
25541 if (PyErr_Occurred()) SWIG_fail;
25542 }
25543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
25544 return resultobj;
25545 fail:
25546 return NULL;
25547}
25548
25549
25550static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25551 PyObject *resultobj;
25552 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25553 wxTreeItemId *arg2 = 0 ;
25554 PyObject *result;
25555 PyObject * obj0 = 0 ;
25556 PyObject * obj1 = 0 ;
25557 char *kwnames[] = {
25558 (char *) "self",(char *) "item", NULL
25559 };
25560
25561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
25562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25565 SWIG_POINTER_EXCEPTION | 0)) == -1)
25566 SWIG_fail;
25567 if (arg2 == NULL) {
25568 PyErr_SetString(PyExc_TypeError,"null reference");
25569 SWIG_fail;
25570 }
25571 {
25572 PyThreadState* __tstate = wxPyBeginAllowThreads();
25573 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
25574
25575 wxPyEndAllowThreads(__tstate);
25576 if (PyErr_Occurred()) SWIG_fail;
25577 }
25578 resultobj = result;
25579 return resultobj;
25580 fail:
25581 return NULL;
25582}
25583
25584
25585static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25586 PyObject *resultobj;
25587 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25588 wxTreeItemId *arg2 = 0 ;
25589 wxColour result;
25590 PyObject * obj0 = 0 ;
25591 PyObject * obj1 = 0 ;
25592 char *kwnames[] = {
25593 (char *) "self",(char *) "item", NULL
25594 };
25595
25596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
25597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25599 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25600 SWIG_POINTER_EXCEPTION | 0)) == -1)
25601 SWIG_fail;
25602 if (arg2 == NULL) {
25603 PyErr_SetString(PyExc_TypeError,"null reference");
25604 SWIG_fail;
25605 }
25606 {
25607 PyThreadState* __tstate = wxPyBeginAllowThreads();
25608 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
25609
25610 wxPyEndAllowThreads(__tstate);
25611 if (PyErr_Occurred()) SWIG_fail;
25612 }
25613 {
25614 wxColour * resultptr;
25615 resultptr = new wxColour((wxColour &) result);
25616 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25617 }
25618 return resultobj;
25619 fail:
25620 return NULL;
25621}
25622
25623
25624static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25625 PyObject *resultobj;
25626 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25627 wxTreeItemId *arg2 = 0 ;
25628 wxColour result;
25629 PyObject * obj0 = 0 ;
25630 PyObject * obj1 = 0 ;
25631 char *kwnames[] = {
25632 (char *) "self",(char *) "item", NULL
25633 };
25634
25635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
25636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25638 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25639 SWIG_POINTER_EXCEPTION | 0)) == -1)
25640 SWIG_fail;
25641 if (arg2 == NULL) {
25642 PyErr_SetString(PyExc_TypeError,"null reference");
25643 SWIG_fail;
25644 }
25645 {
25646 PyThreadState* __tstate = wxPyBeginAllowThreads();
25647 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
25648
25649 wxPyEndAllowThreads(__tstate);
25650 if (PyErr_Occurred()) SWIG_fail;
25651 }
25652 {
25653 wxColour * resultptr;
25654 resultptr = new wxColour((wxColour &) result);
25655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
25656 }
25657 return resultobj;
25658 fail:
25659 return NULL;
25660}
25661
25662
25663static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25664 PyObject *resultobj;
25665 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25666 wxTreeItemId *arg2 = 0 ;
25667 wxFont result;
25668 PyObject * obj0 = 0 ;
25669 PyObject * obj1 = 0 ;
25670 char *kwnames[] = {
25671 (char *) "self",(char *) "item", NULL
25672 };
25673
25674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
25675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25677 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25678 SWIG_POINTER_EXCEPTION | 0)) == -1)
25679 SWIG_fail;
25680 if (arg2 == NULL) {
25681 PyErr_SetString(PyExc_TypeError,"null reference");
25682 SWIG_fail;
25683 }
25684 {
25685 PyThreadState* __tstate = wxPyBeginAllowThreads();
25686 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
25687
25688 wxPyEndAllowThreads(__tstate);
25689 if (PyErr_Occurred()) SWIG_fail;
25690 }
25691 {
25692 wxFont * resultptr;
25693 resultptr = new wxFont((wxFont &) result);
25694 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
25695 }
25696 return resultobj;
25697 fail:
25698 return NULL;
25699}
25700
25701
25702static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
25703 PyObject *resultobj;
25704 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25705 wxTreeItemId *arg2 = 0 ;
25706 wxString *arg3 = 0 ;
25707 bool temp3 = False ;
25708 PyObject * obj0 = 0 ;
25709 PyObject * obj1 = 0 ;
25710 PyObject * obj2 = 0 ;
25711 char *kwnames[] = {
25712 (char *) "self",(char *) "item",(char *) "text", NULL
25713 };
25714
25715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
25716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25718 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25719 SWIG_POINTER_EXCEPTION | 0)) == -1)
25720 SWIG_fail;
25721 if (arg2 == NULL) {
25722 PyErr_SetString(PyExc_TypeError,"null reference");
25723 SWIG_fail;
25724 }
25725 {
25726 arg3 = wxString_in_helper(obj2);
25727 if (arg3 == NULL) SWIG_fail;
25728 temp3 = True;
25729 }
25730 {
25731 PyThreadState* __tstate = wxPyBeginAllowThreads();
25732 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
25733
25734 wxPyEndAllowThreads(__tstate);
25735 if (PyErr_Occurred()) SWIG_fail;
25736 }
25737 Py_INCREF(Py_None); resultobj = Py_None;
25738 {
25739 if (temp3)
25740 delete arg3;
25741 }
25742 return resultobj;
25743 fail:
25744 {
25745 if (temp3)
25746 delete arg3;
25747 }
25748 return NULL;
25749}
25750
25751
25752static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25753 PyObject *resultobj;
25754 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25755 wxTreeItemId *arg2 = 0 ;
25756 int arg3 ;
25757 int arg4 = (int) wxTreeItemIcon_Normal ;
25758 PyObject * obj0 = 0 ;
25759 PyObject * obj1 = 0 ;
25760 PyObject * obj2 = 0 ;
25761 PyObject * obj3 = 0 ;
25762 char *kwnames[] = {
25763 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25764 };
25765
25766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25769 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25770 SWIG_POINTER_EXCEPTION | 0)) == -1)
25771 SWIG_fail;
25772 if (arg2 == NULL) {
25773 PyErr_SetString(PyExc_TypeError,"null reference");
25774 SWIG_fail;
25775 }
25776 arg3 = (int) SWIG_AsInt(obj2);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 if (obj3) {
25779 arg4 = (wxTreeItemIcon) SWIG_AsInt(obj3);
25780 if (PyErr_Occurred()) SWIG_fail;
25781 }
25782 {
25783 PyThreadState* __tstate = wxPyBeginAllowThreads();
25784 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
25785
25786 wxPyEndAllowThreads(__tstate);
25787 if (PyErr_Occurred()) SWIG_fail;
25788 }
25789 Py_INCREF(Py_None); resultobj = Py_None;
25790 return resultobj;
25791 fail:
25792 return NULL;
25793}
25794
25795
25796static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
25797 PyObject *resultobj;
25798 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25799 wxTreeItemId *arg2 = 0 ;
25800 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
25801 PyObject * obj0 = 0 ;
25802 PyObject * obj1 = 0 ;
25803 PyObject * obj2 = 0 ;
25804 char *kwnames[] = {
25805 (char *) "self",(char *) "item",(char *) "data", NULL
25806 };
25807
25808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25812 SWIG_POINTER_EXCEPTION | 0)) == -1)
25813 SWIG_fail;
25814 if (arg2 == NULL) {
25815 PyErr_SetString(PyExc_TypeError,"null reference");
25816 SWIG_fail;
25817 }
25818 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxPyTreeItemData,
25819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25820 {
25821 PyThreadState* __tstate = wxPyBeginAllowThreads();
25822 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
25823
25824 wxPyEndAllowThreads(__tstate);
25825 if (PyErr_Occurred()) SWIG_fail;
25826 }
25827 Py_INCREF(Py_None); resultobj = Py_None;
25828 return resultobj;
25829 fail:
25830 return NULL;
25831}
25832
25833
25834static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
25835 PyObject *resultobj;
25836 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25837 wxTreeItemId *arg2 = 0 ;
25838 PyObject *arg3 = (PyObject *) 0 ;
25839 PyObject * obj0 = 0 ;
25840 PyObject * obj1 = 0 ;
25841 PyObject * obj2 = 0 ;
25842 char *kwnames[] = {
25843 (char *) "self",(char *) "item",(char *) "obj", NULL
25844 };
25845
25846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
25847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25850 SWIG_POINTER_EXCEPTION | 0)) == -1)
25851 SWIG_fail;
25852 if (arg2 == NULL) {
25853 PyErr_SetString(PyExc_TypeError,"null reference");
25854 SWIG_fail;
25855 }
25856 arg3 = obj2;
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
25860
25861 wxPyEndAllowThreads(__tstate);
25862 if (PyErr_Occurred()) SWIG_fail;
25863 }
25864 Py_INCREF(Py_None); resultobj = Py_None;
25865 return resultobj;
25866 fail:
25867 return NULL;
25868}
25869
25870
25871static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25872 PyObject *resultobj;
25873 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25874 wxTreeItemId *arg2 = 0 ;
25875 bool arg3 = (bool) True ;
25876 PyObject * obj0 = 0 ;
25877 PyObject * obj1 = 0 ;
25878 PyObject * obj2 = 0 ;
25879 char *kwnames[] = {
25880 (char *) "self",(char *) "item",(char *) "has", NULL
25881 };
25882
25883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
25884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25887 SWIG_POINTER_EXCEPTION | 0)) == -1)
25888 SWIG_fail;
25889 if (arg2 == NULL) {
25890 PyErr_SetString(PyExc_TypeError,"null reference");
25891 SWIG_fail;
25892 }
25893 if (obj2) {
25894 arg3 = (bool) SWIG_AsBool(obj2);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
25897 {
25898 PyThreadState* __tstate = wxPyBeginAllowThreads();
25899 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
25900
25901 wxPyEndAllowThreads(__tstate);
25902 if (PyErr_Occurred()) SWIG_fail;
25903 }
25904 Py_INCREF(Py_None); resultobj = Py_None;
25905 return resultobj;
25906 fail:
25907 return NULL;
25908}
25909
25910
25911static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
25912 PyObject *resultobj;
25913 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25914 wxTreeItemId *arg2 = 0 ;
25915 bool arg3 = (bool) True ;
25916 PyObject * obj0 = 0 ;
25917 PyObject * obj1 = 0 ;
25918 PyObject * obj2 = 0 ;
25919 char *kwnames[] = {
25920 (char *) "self",(char *) "item",(char *) "bold", NULL
25921 };
25922
25923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
25924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25926 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25927 SWIG_POINTER_EXCEPTION | 0)) == -1)
25928 SWIG_fail;
25929 if (arg2 == NULL) {
25930 PyErr_SetString(PyExc_TypeError,"null reference");
25931 SWIG_fail;
25932 }
25933 if (obj2) {
25934 arg3 = (bool) SWIG_AsBool(obj2);
25935 if (PyErr_Occurred()) SWIG_fail;
25936 }
25937 {
25938 PyThreadState* __tstate = wxPyBeginAllowThreads();
25939 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
25940
25941 wxPyEndAllowThreads(__tstate);
25942 if (PyErr_Occurred()) SWIG_fail;
25943 }
25944 Py_INCREF(Py_None); resultobj = Py_None;
25945 return resultobj;
25946 fail:
25947 return NULL;
25948}
25949
25950
25951static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
25952 PyObject *resultobj;
25953 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25954 wxTreeItemId *arg2 = 0 ;
25955 bool arg3 = (bool) True ;
25956 PyObject * obj0 = 0 ;
25957 PyObject * obj1 = 0 ;
25958 PyObject * obj2 = 0 ;
25959 char *kwnames[] = {
25960 (char *) "self",(char *) "item",(char *) "highlight", NULL
25961 };
25962
25963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
25964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
25965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25966 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
25967 SWIG_POINTER_EXCEPTION | 0)) == -1)
25968 SWIG_fail;
25969 if (arg2 == NULL) {
25970 PyErr_SetString(PyExc_TypeError,"null reference");
25971 SWIG_fail;
25972 }
25973 if (obj2) {
25974 arg3 = (bool) SWIG_AsBool(obj2);
25975 if (PyErr_Occurred()) SWIG_fail;
25976 }
25977 {
25978 PyThreadState* __tstate = wxPyBeginAllowThreads();
25979 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
25980
25981 wxPyEndAllowThreads(__tstate);
25982 if (PyErr_Occurred()) SWIG_fail;
25983 }
25984 Py_INCREF(Py_None); resultobj = Py_None;
25985 return resultobj;
25986 fail:
25987 return NULL;
25988}
25989
25990
25991static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25992 PyObject *resultobj;
25993 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25994 wxTreeItemId *arg2 = 0 ;
25995 wxColour *arg3 = 0 ;
25996 wxColour temp3 ;
25997 PyObject * obj0 = 0 ;
25998 PyObject * obj1 = 0 ;
25999 PyObject * obj2 = 0 ;
26000 char *kwnames[] = {
26001 (char *) "self",(char *) "item",(char *) "col", NULL
26002 };
26003
26004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26008 SWIG_POINTER_EXCEPTION | 0)) == -1)
26009 SWIG_fail;
26010 if (arg2 == NULL) {
26011 PyErr_SetString(PyExc_TypeError,"null reference");
26012 SWIG_fail;
26013 }
26014 {
26015 arg3 = &temp3;
26016 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26017 }
26018 {
26019 PyThreadState* __tstate = wxPyBeginAllowThreads();
26020 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26021
26022 wxPyEndAllowThreads(__tstate);
26023 if (PyErr_Occurred()) SWIG_fail;
26024 }
26025 Py_INCREF(Py_None); resultobj = Py_None;
26026 return resultobj;
26027 fail:
26028 return NULL;
26029}
26030
26031
26032static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
26033 PyObject *resultobj;
26034 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26035 wxTreeItemId *arg2 = 0 ;
26036 wxColour *arg3 = 0 ;
26037 wxColour temp3 ;
26038 PyObject * obj0 = 0 ;
26039 PyObject * obj1 = 0 ;
26040 PyObject * obj2 = 0 ;
26041 char *kwnames[] = {
26042 (char *) "self",(char *) "item",(char *) "col", NULL
26043 };
26044
26045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
26046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26048 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26049 SWIG_POINTER_EXCEPTION | 0)) == -1)
26050 SWIG_fail;
26051 if (arg2 == NULL) {
26052 PyErr_SetString(PyExc_TypeError,"null reference");
26053 SWIG_fail;
26054 }
26055 {
26056 arg3 = &temp3;
26057 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
26058 }
26059 {
26060 PyThreadState* __tstate = wxPyBeginAllowThreads();
26061 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
26062
26063 wxPyEndAllowThreads(__tstate);
26064 if (PyErr_Occurred()) SWIG_fail;
26065 }
26066 Py_INCREF(Py_None); resultobj = Py_None;
26067 return resultobj;
26068 fail:
26069 return NULL;
26070}
26071
26072
26073static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
26074 PyObject *resultobj;
26075 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26076 wxTreeItemId *arg2 = 0 ;
26077 wxFont *arg3 = 0 ;
26078 PyObject * obj0 = 0 ;
26079 PyObject * obj1 = 0 ;
26080 PyObject * obj2 = 0 ;
26081 char *kwnames[] = {
26082 (char *) "self",(char *) "item",(char *) "font", NULL
26083 };
26084
26085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
26086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26088 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26089 SWIG_POINTER_EXCEPTION | 0)) == -1)
26090 SWIG_fail;
26091 if (arg2 == NULL) {
26092 PyErr_SetString(PyExc_TypeError,"null reference");
26093 SWIG_fail;
26094 }
26095 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxFont,
26096 SWIG_POINTER_EXCEPTION | 0)) == -1)
26097 SWIG_fail;
26098 if (arg3 == NULL) {
26099 PyErr_SetString(PyExc_TypeError,"null reference");
26100 SWIG_fail;
26101 }
26102 {
26103 PyThreadState* __tstate = wxPyBeginAllowThreads();
26104 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
26105
26106 wxPyEndAllowThreads(__tstate);
26107 if (PyErr_Occurred()) SWIG_fail;
26108 }
26109 Py_INCREF(Py_None); resultobj = Py_None;
26110 return resultobj;
26111 fail:
26112 return NULL;
26113}
26114
26115
26116static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26117 PyObject *resultobj;
26118 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26119 wxTreeItemId *arg2 = 0 ;
26120 bool result;
26121 PyObject * obj0 = 0 ;
26122 PyObject * obj1 = 0 ;
26123 char *kwnames[] = {
26124 (char *) "self",(char *) "item", NULL
26125 };
26126
26127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) 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 {
26138 PyThreadState* __tstate = wxPyBeginAllowThreads();
26139 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
26140
26141 wxPyEndAllowThreads(__tstate);
26142 if (PyErr_Occurred()) SWIG_fail;
26143 }
26144 {
26145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26146 }
26147 return resultobj;
26148 fail:
26149 return NULL;
26150}
26151
26152
26153static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26154 PyObject *resultobj;
26155 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26156 wxTreeItemId *arg2 = 0 ;
26157 bool result;
26158 PyObject * obj0 = 0 ;
26159 PyObject * obj1 = 0 ;
26160 char *kwnames[] = {
26161 (char *) "self",(char *) "item", NULL
26162 };
26163
26164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
26165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26167 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26168 SWIG_POINTER_EXCEPTION | 0)) == -1)
26169 SWIG_fail;
26170 if (arg2 == NULL) {
26171 PyErr_SetString(PyExc_TypeError,"null reference");
26172 SWIG_fail;
26173 }
26174 {
26175 PyThreadState* __tstate = wxPyBeginAllowThreads();
26176 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
26177
26178 wxPyEndAllowThreads(__tstate);
26179 if (PyErr_Occurred()) SWIG_fail;
26180 }
26181 {
26182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26183 }
26184 return resultobj;
26185 fail:
26186 return NULL;
26187}
26188
26189
26190static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
26191 PyObject *resultobj;
26192 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26193 wxTreeItemId *arg2 = 0 ;
26194 bool result;
26195 PyObject * obj0 = 0 ;
26196 PyObject * obj1 = 0 ;
26197 char *kwnames[] = {
26198 (char *) "self",(char *) "item", NULL
26199 };
26200
26201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
26202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26204 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26205 SWIG_POINTER_EXCEPTION | 0)) == -1)
26206 SWIG_fail;
26207 if (arg2 == NULL) {
26208 PyErr_SetString(PyExc_TypeError,"null reference");
26209 SWIG_fail;
26210 }
26211 {
26212 PyThreadState* __tstate = wxPyBeginAllowThreads();
26213 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
26214
26215 wxPyEndAllowThreads(__tstate);
26216 if (PyErr_Occurred()) SWIG_fail;
26217 }
26218 {
26219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26220 }
26221 return resultobj;
26222 fail:
26223 return NULL;
26224}
26225
26226
26227static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
26228 PyObject *resultobj;
26229 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26230 wxTreeItemId *arg2 = 0 ;
26231 bool result;
26232 PyObject * obj0 = 0 ;
26233 PyObject * obj1 = 0 ;
26234 char *kwnames[] = {
26235 (char *) "self",(char *) "item", NULL
26236 };
26237
26238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
26239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26241 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26242 SWIG_POINTER_EXCEPTION | 0)) == -1)
26243 SWIG_fail;
26244 if (arg2 == NULL) {
26245 PyErr_SetString(PyExc_TypeError,"null reference");
26246 SWIG_fail;
26247 }
26248 {
26249 PyThreadState* __tstate = wxPyBeginAllowThreads();
26250 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
26251
26252 wxPyEndAllowThreads(__tstate);
26253 if (PyErr_Occurred()) SWIG_fail;
26254 }
26255 {
26256 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26257 }
26258 return resultobj;
26259 fail:
26260 return NULL;
26261}
26262
26263
26264static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
26265 PyObject *resultobj;
26266 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26267 wxTreeItemId *arg2 = 0 ;
26268 bool result;
26269 PyObject * obj0 = 0 ;
26270 PyObject * obj1 = 0 ;
26271 char *kwnames[] = {
26272 (char *) "self",(char *) "item", NULL
26273 };
26274
26275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
26276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26278 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26279 SWIG_POINTER_EXCEPTION | 0)) == -1)
26280 SWIG_fail;
26281 if (arg2 == NULL) {
26282 PyErr_SetString(PyExc_TypeError,"null reference");
26283 SWIG_fail;
26284 }
26285 {
26286 PyThreadState* __tstate = wxPyBeginAllowThreads();
26287 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
26288
26289 wxPyEndAllowThreads(__tstate);
26290 if (PyErr_Occurred()) SWIG_fail;
26291 }
26292 {
26293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26294 }
26295 return resultobj;
26296 fail:
26297 return NULL;
26298}
26299
26300
26301static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
26302 PyObject *resultobj;
26303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26304 wxTreeItemId *arg2 = 0 ;
26305 bool arg3 = (bool) True ;
26306 size_t result;
26307 PyObject * obj0 = 0 ;
26308 PyObject * obj1 = 0 ;
26309 PyObject * obj2 = 0 ;
26310 char *kwnames[] = {
26311 (char *) "self",(char *) "item",(char *) "recursively", NULL
26312 };
26313
26314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
26315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26318 SWIG_POINTER_EXCEPTION | 0)) == -1)
26319 SWIG_fail;
26320 if (arg2 == NULL) {
26321 PyErr_SetString(PyExc_TypeError,"null reference");
26322 SWIG_fail;
26323 }
26324 if (obj2) {
26325 arg3 = (bool) SWIG_AsBool(obj2);
26326 if (PyErr_Occurred()) SWIG_fail;
26327 }
26328 {
26329 PyThreadState* __tstate = wxPyBeginAllowThreads();
26330 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
26331
26332 wxPyEndAllowThreads(__tstate);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 }
26335 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
26336 return resultobj;
26337 fail:
26338 return NULL;
26339}
26340
26341
26342static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26343 PyObject *resultobj;
26344 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26345 wxTreeItemId result;
26346 PyObject * obj0 = 0 ;
26347 char *kwnames[] = {
26348 (char *) "self", NULL
26349 };
26350
26351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
26352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26354 {
26355 PyThreadState* __tstate = wxPyBeginAllowThreads();
26356 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
26357
26358 wxPyEndAllowThreads(__tstate);
26359 if (PyErr_Occurred()) SWIG_fail;
26360 }
26361 {
26362 wxTreeItemId * resultptr;
26363 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26364 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26365 }
26366 return resultobj;
26367 fail:
26368 return NULL;
26369}
26370
26371
26372static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26373 PyObject *resultobj;
26374 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26375 wxTreeItemId result;
26376 PyObject * obj0 = 0 ;
26377 char *kwnames[] = {
26378 (char *) "self", NULL
26379 };
26380
26381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
26382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26384 {
26385 PyThreadState* __tstate = wxPyBeginAllowThreads();
26386 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
26387
26388 wxPyEndAllowThreads(__tstate);
26389 if (PyErr_Occurred()) SWIG_fail;
26390 }
26391 {
26392 wxTreeItemId * resultptr;
26393 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26394 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26395 }
26396 return resultobj;
26397 fail:
26398 return NULL;
26399}
26400
26401
26402static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
26403 PyObject *resultobj;
26404 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26405 PyObject *result;
26406 PyObject * obj0 = 0 ;
26407 char *kwnames[] = {
26408 (char *) "self", NULL
26409 };
26410
26411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
26412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26414 {
26415 PyThreadState* __tstate = wxPyBeginAllowThreads();
26416 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
26417
26418 wxPyEndAllowThreads(__tstate);
26419 if (PyErr_Occurred()) SWIG_fail;
26420 }
26421 resultobj = result;
26422 return resultobj;
26423 fail:
26424 return NULL;
26425}
26426
26427
26428static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
26429 PyObject *resultobj;
26430 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26431 wxTreeItemId *arg2 = 0 ;
26432 wxTreeItemId result;
26433 PyObject * obj0 = 0 ;
26434 PyObject * obj1 = 0 ;
26435 char *kwnames[] = {
26436 (char *) "self",(char *) "item", NULL
26437 };
26438
26439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
26440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26442 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26443 SWIG_POINTER_EXCEPTION | 0)) == -1)
26444 SWIG_fail;
26445 if (arg2 == NULL) {
26446 PyErr_SetString(PyExc_TypeError,"null reference");
26447 SWIG_fail;
26448 }
26449 {
26450 PyThreadState* __tstate = wxPyBeginAllowThreads();
26451 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
26452
26453 wxPyEndAllowThreads(__tstate);
26454 if (PyErr_Occurred()) SWIG_fail;
26455 }
26456 {
26457 wxTreeItemId * resultptr;
26458 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26459 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26460 }
26461 return resultobj;
26462 fail:
26463 return NULL;
26464}
26465
26466
26467static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26468 PyObject *resultobj;
26469 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26470 wxTreeItemId *arg2 = 0 ;
26471 PyObject *result;
26472 PyObject * obj0 = 0 ;
26473 PyObject * obj1 = 0 ;
26474 char *kwnames[] = {
26475 (char *) "self",(char *) "item", NULL
26476 };
26477
26478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
26479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26482 SWIG_POINTER_EXCEPTION | 0)) == -1)
26483 SWIG_fail;
26484 if (arg2 == NULL) {
26485 PyErr_SetString(PyExc_TypeError,"null reference");
26486 SWIG_fail;
26487 }
26488 {
26489 PyThreadState* __tstate = wxPyBeginAllowThreads();
26490 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
26491
26492 wxPyEndAllowThreads(__tstate);
26493 if (PyErr_Occurred()) SWIG_fail;
26494 }
26495 resultobj = result;
26496 return resultobj;
26497 fail:
26498 return NULL;
26499}
26500
26501
26502static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26503 PyObject *resultobj;
26504 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26505 wxTreeItemId *arg2 = 0 ;
26506 void *arg3 = (void *) 0 ;
26507 PyObject *result;
26508 PyObject * obj0 = 0 ;
26509 PyObject * obj1 = 0 ;
26510 PyObject * obj2 = 0 ;
26511 char *kwnames[] = {
26512 (char *) "self",(char *) "item",(char *) "cookie", NULL
26513 };
26514
26515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
26516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26519 SWIG_POINTER_EXCEPTION | 0)) == -1)
26520 SWIG_fail;
26521 if (arg2 == NULL) {
26522 PyErr_SetString(PyExc_TypeError,"null reference");
26523 SWIG_fail;
26524 }
26525 if ((SWIG_ConvertPtr(obj2,&arg3,0,SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26526 {
26527 PyThreadState* __tstate = wxPyBeginAllowThreads();
26528 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
26529
26530 wxPyEndAllowThreads(__tstate);
26531 if (PyErr_Occurred()) SWIG_fail;
26532 }
26533 resultobj = result;
26534 return resultobj;
26535 fail:
26536 return NULL;
26537}
26538
26539
26540static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
26541 PyObject *resultobj;
26542 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26543 wxTreeItemId *arg2 = 0 ;
26544 wxTreeItemId result;
26545 PyObject * obj0 = 0 ;
26546 PyObject * obj1 = 0 ;
26547 char *kwnames[] = {
26548 (char *) "self",(char *) "item", NULL
26549 };
26550
26551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
26552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26554 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26555 SWIG_POINTER_EXCEPTION | 0)) == -1)
26556 SWIG_fail;
26557 if (arg2 == NULL) {
26558 PyErr_SetString(PyExc_TypeError,"null reference");
26559 SWIG_fail;
26560 }
26561 {
26562 PyThreadState* __tstate = wxPyBeginAllowThreads();
26563 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
26564
26565 wxPyEndAllowThreads(__tstate);
26566 if (PyErr_Occurred()) SWIG_fail;
26567 }
26568 {
26569 wxTreeItemId * resultptr;
26570 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26572 }
26573 return resultobj;
26574 fail:
26575 return NULL;
26576}
26577
26578
26579static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26580 PyObject *resultobj;
26581 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26582 wxTreeItemId *arg2 = 0 ;
26583 wxTreeItemId result;
26584 PyObject * obj0 = 0 ;
26585 PyObject * obj1 = 0 ;
26586 char *kwnames[] = {
26587 (char *) "self",(char *) "item", NULL
26588 };
26589
26590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
26591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26593 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26594 SWIG_POINTER_EXCEPTION | 0)) == -1)
26595 SWIG_fail;
26596 if (arg2 == NULL) {
26597 PyErr_SetString(PyExc_TypeError,"null reference");
26598 SWIG_fail;
26599 }
26600 {
26601 PyThreadState* __tstate = wxPyBeginAllowThreads();
26602 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
26603
26604 wxPyEndAllowThreads(__tstate);
26605 if (PyErr_Occurred()) SWIG_fail;
26606 }
26607 {
26608 wxTreeItemId * resultptr;
26609 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26610 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26611 }
26612 return resultobj;
26613 fail:
26614 return NULL;
26615}
26616
26617
26618static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
26619 PyObject *resultobj;
26620 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26621 wxTreeItemId *arg2 = 0 ;
26622 wxTreeItemId result;
26623 PyObject * obj0 = 0 ;
26624 PyObject * obj1 = 0 ;
26625 char *kwnames[] = {
26626 (char *) "self",(char *) "item", NULL
26627 };
26628
26629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
26630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26633 SWIG_POINTER_EXCEPTION | 0)) == -1)
26634 SWIG_fail;
26635 if (arg2 == NULL) {
26636 PyErr_SetString(PyExc_TypeError,"null reference");
26637 SWIG_fail;
26638 }
26639 {
26640 PyThreadState* __tstate = wxPyBeginAllowThreads();
26641 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
26642
26643 wxPyEndAllowThreads(__tstate);
26644 if (PyErr_Occurred()) SWIG_fail;
26645 }
26646 {
26647 wxTreeItemId * resultptr;
26648 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26650 }
26651 return resultobj;
26652 fail:
26653 return NULL;
26654}
26655
26656
26657static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26658 PyObject *resultobj;
26659 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26660 wxTreeItemId result;
26661 PyObject * obj0 = 0 ;
26662 char *kwnames[] = {
26663 (char *) "self", NULL
26664 };
26665
26666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
26667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26669 {
26670 PyThreadState* __tstate = wxPyBeginAllowThreads();
26671 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
26672
26673 wxPyEndAllowThreads(__tstate);
26674 if (PyErr_Occurred()) SWIG_fail;
26675 }
26676 {
26677 wxTreeItemId * resultptr;
26678 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26680 }
26681 return resultobj;
26682 fail:
26683 return NULL;
26684}
26685
26686
26687static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26688 PyObject *resultobj;
26689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26690 wxTreeItemId *arg2 = 0 ;
26691 wxTreeItemId result;
26692 PyObject * obj0 = 0 ;
26693 PyObject * obj1 = 0 ;
26694 char *kwnames[] = {
26695 (char *) "self",(char *) "item", NULL
26696 };
26697
26698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
26699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26701 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26702 SWIG_POINTER_EXCEPTION | 0)) == -1)
26703 SWIG_fail;
26704 if (arg2 == NULL) {
26705 PyErr_SetString(PyExc_TypeError,"null reference");
26706 SWIG_fail;
26707 }
26708 {
26709 PyThreadState* __tstate = wxPyBeginAllowThreads();
26710 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
26711
26712 wxPyEndAllowThreads(__tstate);
26713 if (PyErr_Occurred()) SWIG_fail;
26714 }
26715 {
26716 wxTreeItemId * resultptr;
26717 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26718 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26719 }
26720 return resultobj;
26721 fail:
26722 return NULL;
26723}
26724
26725
26726static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26727 PyObject *resultobj;
26728 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26729 wxTreeItemId *arg2 = 0 ;
26730 wxTreeItemId result;
26731 PyObject * obj0 = 0 ;
26732 PyObject * obj1 = 0 ;
26733 char *kwnames[] = {
26734 (char *) "self",(char *) "item", NULL
26735 };
26736
26737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
26738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26740 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26741 SWIG_POINTER_EXCEPTION | 0)) == -1)
26742 SWIG_fail;
26743 if (arg2 == NULL) {
26744 PyErr_SetString(PyExc_TypeError,"null reference");
26745 SWIG_fail;
26746 }
26747 {
26748 PyThreadState* __tstate = wxPyBeginAllowThreads();
26749 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
26750
26751 wxPyEndAllowThreads(__tstate);
26752 if (PyErr_Occurred()) SWIG_fail;
26753 }
26754 {
26755 wxTreeItemId * resultptr;
26756 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26758 }
26759 return resultobj;
26760 fail:
26761 return NULL;
26762}
26763
26764
26765static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
26766 PyObject *resultobj;
26767 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26768 wxString *arg2 = 0 ;
26769 int arg3 = (int) -1 ;
26770 int arg4 = (int) -1 ;
26771 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
26772 wxTreeItemId result;
26773 bool temp2 = False ;
26774 PyObject * obj0 = 0 ;
26775 PyObject * obj1 = 0 ;
26776 PyObject * obj2 = 0 ;
26777 PyObject * obj3 = 0 ;
26778 PyObject * obj4 = 0 ;
26779 char *kwnames[] = {
26780 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26781 };
26782
26783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26786 {
26787 arg2 = wxString_in_helper(obj1);
26788 if (arg2 == NULL) SWIG_fail;
26789 temp2 = True;
26790 }
26791 if (obj2) {
26792 arg3 = (int) SWIG_AsInt(obj2);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 if (obj3) {
26796 arg4 = (int) SWIG_AsInt(obj3);
26797 if (PyErr_Occurred()) SWIG_fail;
26798 }
26799 if (obj4) {
26800 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPyTreeItemData,
26801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26802 }
26803 {
26804 PyThreadState* __tstate = wxPyBeginAllowThreads();
26805 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
26806
26807 wxPyEndAllowThreads(__tstate);
26808 if (PyErr_Occurred()) SWIG_fail;
26809 }
26810 {
26811 wxTreeItemId * resultptr;
26812 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26813 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26814 }
26815 {
26816 if (temp2)
26817 delete arg2;
26818 }
26819 return resultobj;
26820 fail:
26821 {
26822 if (temp2)
26823 delete arg2;
26824 }
26825 return NULL;
26826}
26827
26828
26829static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26830 PyObject *resultobj;
26831 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26832 wxTreeItemId *arg2 = 0 ;
26833 wxString *arg3 = 0 ;
26834 int arg4 = (int) -1 ;
26835 int arg5 = (int) -1 ;
26836 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
26837 wxTreeItemId result;
26838 bool temp3 = False ;
26839 PyObject * obj0 = 0 ;
26840 PyObject * obj1 = 0 ;
26841 PyObject * obj2 = 0 ;
26842 PyObject * obj3 = 0 ;
26843 PyObject * obj4 = 0 ;
26844 PyObject * obj5 = 0 ;
26845 char *kwnames[] = {
26846 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26847 };
26848
26849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
26850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26853 SWIG_POINTER_EXCEPTION | 0)) == -1)
26854 SWIG_fail;
26855 if (arg2 == NULL) {
26856 PyErr_SetString(PyExc_TypeError,"null reference");
26857 SWIG_fail;
26858 }
26859 {
26860 arg3 = wxString_in_helper(obj2);
26861 if (arg3 == NULL) SWIG_fail;
26862 temp3 = True;
26863 }
26864 if (obj3) {
26865 arg4 = (int) SWIG_AsInt(obj3);
26866 if (PyErr_Occurred()) SWIG_fail;
26867 }
26868 if (obj4) {
26869 arg5 = (int) SWIG_AsInt(obj4);
26870 if (PyErr_Occurred()) SWIG_fail;
26871 }
26872 if (obj5) {
26873 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
26874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26875 }
26876 {
26877 PyThreadState* __tstate = wxPyBeginAllowThreads();
26878 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
26879
26880 wxPyEndAllowThreads(__tstate);
26881 if (PyErr_Occurred()) SWIG_fail;
26882 }
26883 {
26884 wxTreeItemId * resultptr;
26885 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26886 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26887 }
26888 {
26889 if (temp3)
26890 delete arg3;
26891 }
26892 return resultobj;
26893 fail:
26894 {
26895 if (temp3)
26896 delete arg3;
26897 }
26898 return NULL;
26899}
26900
26901
26902static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26903 PyObject *resultobj;
26904 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26905 wxTreeItemId *arg2 = 0 ;
26906 wxTreeItemId *arg3 = 0 ;
26907 wxString *arg4 = 0 ;
26908 int arg5 = (int) -1 ;
26909 int arg6 = (int) -1 ;
26910 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26911 wxTreeItemId result;
26912 bool temp4 = False ;
26913 PyObject * obj0 = 0 ;
26914 PyObject * obj1 = 0 ;
26915 PyObject * obj2 = 0 ;
26916 PyObject * obj3 = 0 ;
26917 PyObject * obj4 = 0 ;
26918 PyObject * obj5 = 0 ;
26919 PyObject * obj6 = 0 ;
26920 char *kwnames[] = {
26921 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26922 };
26923
26924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
26925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
26926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26927 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
26928 SWIG_POINTER_EXCEPTION | 0)) == -1)
26929 SWIG_fail;
26930 if (arg2 == NULL) {
26931 PyErr_SetString(PyExc_TypeError,"null reference");
26932 SWIG_fail;
26933 }
26934 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxTreeItemId,
26935 SWIG_POINTER_EXCEPTION | 0)) == -1)
26936 SWIG_fail;
26937 if (arg3 == NULL) {
26938 PyErr_SetString(PyExc_TypeError,"null reference");
26939 SWIG_fail;
26940 }
26941 {
26942 arg4 = wxString_in_helper(obj3);
26943 if (arg4 == NULL) SWIG_fail;
26944 temp4 = True;
26945 }
26946 if (obj4) {
26947 arg5 = (int) SWIG_AsInt(obj4);
26948 if (PyErr_Occurred()) SWIG_fail;
26949 }
26950 if (obj5) {
26951 arg6 = (int) SWIG_AsInt(obj5);
26952 if (PyErr_Occurred()) SWIG_fail;
26953 }
26954 if (obj6) {
26955 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
26956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26957 }
26958 {
26959 PyThreadState* __tstate = wxPyBeginAllowThreads();
26960 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
26961
26962 wxPyEndAllowThreads(__tstate);
26963 if (PyErr_Occurred()) SWIG_fail;
26964 }
26965 {
26966 wxTreeItemId * resultptr;
26967 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
26969 }
26970 {
26971 if (temp4)
26972 delete arg4;
26973 }
26974 return resultobj;
26975 fail:
26976 {
26977 if (temp4)
26978 delete arg4;
26979 }
26980 return NULL;
26981}
26982
26983
26984static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
26985 PyObject *resultobj;
26986 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26987 wxTreeItemId *arg2 = 0 ;
26988 size_t arg3 ;
26989 wxString *arg4 = 0 ;
26990 int arg5 = (int) -1 ;
26991 int arg6 = (int) -1 ;
26992 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
26993 wxTreeItemId result;
26994 bool temp4 = False ;
26995 PyObject * obj0 = 0 ;
26996 PyObject * obj1 = 0 ;
26997 PyObject * obj2 = 0 ;
26998 PyObject * obj3 = 0 ;
26999 PyObject * obj4 = 0 ;
27000 PyObject * obj5 = 0 ;
27001 PyObject * obj6 = 0 ;
27002 char *kwnames[] = {
27003 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27004 };
27005
27006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27009 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27010 SWIG_POINTER_EXCEPTION | 0)) == -1)
27011 SWIG_fail;
27012 if (arg2 == NULL) {
27013 PyErr_SetString(PyExc_TypeError,"null reference");
27014 SWIG_fail;
27015 }
27016 arg3 = (size_t) SWIG_AsUnsignedLong(obj2);
27017 if (PyErr_Occurred()) SWIG_fail;
27018 {
27019 arg4 = wxString_in_helper(obj3);
27020 if (arg4 == NULL) SWIG_fail;
27021 temp4 = True;
27022 }
27023 if (obj4) {
27024 arg5 = (int) SWIG_AsInt(obj4);
27025 if (PyErr_Occurred()) SWIG_fail;
27026 }
27027 if (obj5) {
27028 arg6 = (int) SWIG_AsInt(obj5);
27029 if (PyErr_Occurred()) SWIG_fail;
27030 }
27031 if (obj6) {
27032 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxPyTreeItemData,
27033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27034 }
27035 {
27036 PyThreadState* __tstate = wxPyBeginAllowThreads();
27037 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
27038
27039 wxPyEndAllowThreads(__tstate);
27040 if (PyErr_Occurred()) SWIG_fail;
27041 }
27042 {
27043 wxTreeItemId * resultptr;
27044 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27045 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27046 }
27047 {
27048 if (temp4)
27049 delete arg4;
27050 }
27051 return resultobj;
27052 fail:
27053 {
27054 if (temp4)
27055 delete arg4;
27056 }
27057 return NULL;
27058}
27059
27060
27061static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27062 PyObject *resultobj;
27063 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27064 wxTreeItemId *arg2 = 0 ;
27065 wxString *arg3 = 0 ;
27066 int arg4 = (int) -1 ;
27067 int arg5 = (int) -1 ;
27068 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
27069 wxTreeItemId result;
27070 bool temp3 = False ;
27071 PyObject * obj0 = 0 ;
27072 PyObject * obj1 = 0 ;
27073 PyObject * obj2 = 0 ;
27074 PyObject * obj3 = 0 ;
27075 PyObject * obj4 = 0 ;
27076 PyObject * obj5 = 0 ;
27077 char *kwnames[] = {
27078 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27079 };
27080
27081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27084 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27085 SWIG_POINTER_EXCEPTION | 0)) == -1)
27086 SWIG_fail;
27087 if (arg2 == NULL) {
27088 PyErr_SetString(PyExc_TypeError,"null reference");
27089 SWIG_fail;
27090 }
27091 {
27092 arg3 = wxString_in_helper(obj2);
27093 if (arg3 == NULL) SWIG_fail;
27094 temp3 = True;
27095 }
27096 if (obj3) {
27097 arg4 = (int) SWIG_AsInt(obj3);
27098 if (PyErr_Occurred()) SWIG_fail;
27099 }
27100 if (obj4) {
27101 arg5 = (int) SWIG_AsInt(obj4);
27102 if (PyErr_Occurred()) SWIG_fail;
27103 }
27104 if (obj5) {
27105 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxPyTreeItemData,
27106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27107 }
27108 {
27109 PyThreadState* __tstate = wxPyBeginAllowThreads();
27110 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
27111
27112 wxPyEndAllowThreads(__tstate);
27113 if (PyErr_Occurred()) SWIG_fail;
27114 }
27115 {
27116 wxTreeItemId * resultptr;
27117 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27118 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27119 }
27120 {
27121 if (temp3)
27122 delete arg3;
27123 }
27124 return resultobj;
27125 fail:
27126 {
27127 if (temp3)
27128 delete arg3;
27129 }
27130 return NULL;
27131}
27132
27133
27134static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
27135 PyObject *resultobj;
27136 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27137 wxTreeItemId *arg2 = 0 ;
27138 PyObject * obj0 = 0 ;
27139 PyObject * obj1 = 0 ;
27140 char *kwnames[] = {
27141 (char *) "self",(char *) "item", NULL
27142 };
27143
27144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
27145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27147 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27148 SWIG_POINTER_EXCEPTION | 0)) == -1)
27149 SWIG_fail;
27150 if (arg2 == NULL) {
27151 PyErr_SetString(PyExc_TypeError,"null reference");
27152 SWIG_fail;
27153 }
27154 {
27155 PyThreadState* __tstate = wxPyBeginAllowThreads();
27156 (arg1)->Delete((wxTreeItemId const &)*arg2);
27157
27158 wxPyEndAllowThreads(__tstate);
27159 if (PyErr_Occurred()) SWIG_fail;
27160 }
27161 Py_INCREF(Py_None); resultobj = Py_None;
27162 return resultobj;
27163 fail:
27164 return NULL;
27165}
27166
27167
27168static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27169 PyObject *resultobj;
27170 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27171 wxTreeItemId *arg2 = 0 ;
27172 PyObject * obj0 = 0 ;
27173 PyObject * obj1 = 0 ;
27174 char *kwnames[] = {
27175 (char *) "self",(char *) "item", NULL
27176 };
27177
27178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
27179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27182 SWIG_POINTER_EXCEPTION | 0)) == -1)
27183 SWIG_fail;
27184 if (arg2 == NULL) {
27185 PyErr_SetString(PyExc_TypeError,"null reference");
27186 SWIG_fail;
27187 }
27188 {
27189 PyThreadState* __tstate = wxPyBeginAllowThreads();
27190 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
27191
27192 wxPyEndAllowThreads(__tstate);
27193 if (PyErr_Occurred()) SWIG_fail;
27194 }
27195 Py_INCREF(Py_None); resultobj = Py_None;
27196 return resultobj;
27197 fail:
27198 return NULL;
27199}
27200
27201
27202static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
27203 PyObject *resultobj;
27204 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27205 PyObject * obj0 = 0 ;
27206 char *kwnames[] = {
27207 (char *) "self", NULL
27208 };
27209
27210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
27211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27213 {
27214 PyThreadState* __tstate = wxPyBeginAllowThreads();
27215 (arg1)->DeleteAllItems();
27216
27217 wxPyEndAllowThreads(__tstate);
27218 if (PyErr_Occurred()) SWIG_fail;
27219 }
27220 Py_INCREF(Py_None); resultobj = Py_None;
27221 return resultobj;
27222 fail:
27223 return NULL;
27224}
27225
27226
27227static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
27228 PyObject *resultobj;
27229 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27230 wxTreeItemId *arg2 = 0 ;
27231 PyObject * obj0 = 0 ;
27232 PyObject * obj1 = 0 ;
27233 char *kwnames[] = {
27234 (char *) "self",(char *) "item", NULL
27235 };
27236
27237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
27238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27240 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27241 SWIG_POINTER_EXCEPTION | 0)) == -1)
27242 SWIG_fail;
27243 if (arg2 == NULL) {
27244 PyErr_SetString(PyExc_TypeError,"null reference");
27245 SWIG_fail;
27246 }
27247 {
27248 PyThreadState* __tstate = wxPyBeginAllowThreads();
27249 (arg1)->Expand((wxTreeItemId const &)*arg2);
27250
27251 wxPyEndAllowThreads(__tstate);
27252 if (PyErr_Occurred()) SWIG_fail;
27253 }
27254 Py_INCREF(Py_None); resultobj = Py_None;
27255 return resultobj;
27256 fail:
27257 return NULL;
27258}
27259
27260
27261static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
27262 PyObject *resultobj;
27263 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27264 wxTreeItemId *arg2 = 0 ;
27265 PyObject * obj0 = 0 ;
27266 PyObject * obj1 = 0 ;
27267 char *kwnames[] = {
27268 (char *) "self",(char *) "item", NULL
27269 };
27270
27271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
27272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27274 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27275 SWIG_POINTER_EXCEPTION | 0)) == -1)
27276 SWIG_fail;
27277 if (arg2 == NULL) {
27278 PyErr_SetString(PyExc_TypeError,"null reference");
27279 SWIG_fail;
27280 }
27281 {
27282 PyThreadState* __tstate = wxPyBeginAllowThreads();
27283 (arg1)->Collapse((wxTreeItemId const &)*arg2);
27284
27285 wxPyEndAllowThreads(__tstate);
27286 if (PyErr_Occurred()) SWIG_fail;
27287 }
27288 Py_INCREF(Py_None); resultobj = Py_None;
27289 return resultobj;
27290 fail:
27291 return NULL;
27292}
27293
27294
27295static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
27296 PyObject *resultobj;
27297 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27298 wxTreeItemId *arg2 = 0 ;
27299 PyObject * obj0 = 0 ;
27300 PyObject * obj1 = 0 ;
27301 char *kwnames[] = {
27302 (char *) "self",(char *) "item", NULL
27303 };
27304
27305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
27306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27308 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27309 SWIG_POINTER_EXCEPTION | 0)) == -1)
27310 SWIG_fail;
27311 if (arg2 == NULL) {
27312 PyErr_SetString(PyExc_TypeError,"null reference");
27313 SWIG_fail;
27314 }
27315 {
27316 PyThreadState* __tstate = wxPyBeginAllowThreads();
27317 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
27318
27319 wxPyEndAllowThreads(__tstate);
27320 if (PyErr_Occurred()) SWIG_fail;
27321 }
27322 Py_INCREF(Py_None); resultobj = Py_None;
27323 return resultobj;
27324 fail:
27325 return NULL;
27326}
27327
27328
27329static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
27330 PyObject *resultobj;
27331 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27332 wxTreeItemId *arg2 = 0 ;
27333 PyObject * obj0 = 0 ;
27334 PyObject * obj1 = 0 ;
27335 char *kwnames[] = {
27336 (char *) "self",(char *) "item", NULL
27337 };
27338
27339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
27340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27343 SWIG_POINTER_EXCEPTION | 0)) == -1)
27344 SWIG_fail;
27345 if (arg2 == NULL) {
27346 PyErr_SetString(PyExc_TypeError,"null reference");
27347 SWIG_fail;
27348 }
27349 {
27350 PyThreadState* __tstate = wxPyBeginAllowThreads();
27351 (arg1)->Toggle((wxTreeItemId const &)*arg2);
27352
27353 wxPyEndAllowThreads(__tstate);
27354 if (PyErr_Occurred()) SWIG_fail;
27355 }
27356 Py_INCREF(Py_None); resultobj = Py_None;
27357 return resultobj;
27358 fail:
27359 return NULL;
27360}
27361
27362
27363static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
27364 PyObject *resultobj;
27365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27366 PyObject * obj0 = 0 ;
27367 char *kwnames[] = {
27368 (char *) "self", NULL
27369 };
27370
27371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
27372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27374 {
27375 PyThreadState* __tstate = wxPyBeginAllowThreads();
27376 (arg1)->Unselect();
27377
27378 wxPyEndAllowThreads(__tstate);
27379 if (PyErr_Occurred()) SWIG_fail;
27380 }
27381 Py_INCREF(Py_None); resultobj = Py_None;
27382 return resultobj;
27383 fail:
27384 return NULL;
27385}
27386
27387
27388static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27389 PyObject *resultobj;
27390 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27391 wxTreeItemId *arg2 = 0 ;
27392 PyObject * obj0 = 0 ;
27393 PyObject * obj1 = 0 ;
27394 char *kwnames[] = {
27395 (char *) "self",(char *) "item", NULL
27396 };
27397
27398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
27399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27401 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27402 SWIG_POINTER_EXCEPTION | 0)) == -1)
27403 SWIG_fail;
27404 if (arg2 == NULL) {
27405 PyErr_SetString(PyExc_TypeError,"null reference");
27406 SWIG_fail;
27407 }
27408 {
27409 PyThreadState* __tstate = wxPyBeginAllowThreads();
27410 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
27411
27412 wxPyEndAllowThreads(__tstate);
27413 if (PyErr_Occurred()) SWIG_fail;
27414 }
27415 Py_INCREF(Py_None); resultobj = Py_None;
27416 return resultobj;
27417 fail:
27418 return NULL;
27419}
27420
27421
27422static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
27423 PyObject *resultobj;
27424 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27425 PyObject * obj0 = 0 ;
27426 char *kwnames[] = {
27427 (char *) "self", NULL
27428 };
27429
27430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
27431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27433 {
27434 PyThreadState* __tstate = wxPyBeginAllowThreads();
27435 (arg1)->UnselectAll();
27436
27437 wxPyEndAllowThreads(__tstate);
27438 if (PyErr_Occurred()) SWIG_fail;
27439 }
27440 Py_INCREF(Py_None); resultobj = Py_None;
27441 return resultobj;
27442 fail:
27443 return NULL;
27444}
27445
27446
27447static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27448 PyObject *resultobj;
27449 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27450 wxTreeItemId *arg2 = 0 ;
27451 bool arg3 = (bool) True ;
27452 PyObject * obj0 = 0 ;
27453 PyObject * obj1 = 0 ;
27454 PyObject * obj2 = 0 ;
27455 char *kwnames[] = {
27456 (char *) "self",(char *) "item",(char *) "select", NULL
27457 };
27458
27459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
27460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27463 SWIG_POINTER_EXCEPTION | 0)) == -1)
27464 SWIG_fail;
27465 if (arg2 == NULL) {
27466 PyErr_SetString(PyExc_TypeError,"null reference");
27467 SWIG_fail;
27468 }
27469 if (obj2) {
27470 arg3 = (bool) SWIG_AsBool(obj2);
27471 if (PyErr_Occurred()) SWIG_fail;
27472 }
27473 {
27474 PyThreadState* __tstate = wxPyBeginAllowThreads();
27475 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
27476
27477 wxPyEndAllowThreads(__tstate);
27478 if (PyErr_Occurred()) SWIG_fail;
27479 }
27480 Py_INCREF(Py_None); resultobj = Py_None;
27481 return resultobj;
27482 fail:
27483 return NULL;
27484}
27485
27486
27487static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
27488 PyObject *resultobj;
27489 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27490 wxTreeItemId *arg2 = 0 ;
27491 PyObject * obj0 = 0 ;
27492 PyObject * obj1 = 0 ;
27493 char *kwnames[] = {
27494 (char *) "self",(char *) "item", NULL
27495 };
27496
27497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
27498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27501 SWIG_POINTER_EXCEPTION | 0)) == -1)
27502 SWIG_fail;
27503 if (arg2 == NULL) {
27504 PyErr_SetString(PyExc_TypeError,"null reference");
27505 SWIG_fail;
27506 }
27507 {
27508 PyThreadState* __tstate = wxPyBeginAllowThreads();
27509 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
27510
27511 wxPyEndAllowThreads(__tstate);
27512 if (PyErr_Occurred()) SWIG_fail;
27513 }
27514 Py_INCREF(Py_None); resultobj = Py_None;
27515 return resultobj;
27516 fail:
27517 return NULL;
27518}
27519
27520
27521static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
27522 PyObject *resultobj;
27523 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27524 wxTreeItemId *arg2 = 0 ;
27525 PyObject * obj0 = 0 ;
27526 PyObject * obj1 = 0 ;
27527 char *kwnames[] = {
27528 (char *) "self",(char *) "item", NULL
27529 };
27530
27531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
27532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27535 SWIG_POINTER_EXCEPTION | 0)) == -1)
27536 SWIG_fail;
27537 if (arg2 == NULL) {
27538 PyErr_SetString(PyExc_TypeError,"null reference");
27539 SWIG_fail;
27540 }
27541 {
27542 PyThreadState* __tstate = wxPyBeginAllowThreads();
27543 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
27544
27545 wxPyEndAllowThreads(__tstate);
27546 if (PyErr_Occurred()) SWIG_fail;
27547 }
27548 Py_INCREF(Py_None); resultobj = Py_None;
27549 return resultobj;
27550 fail:
27551 return NULL;
27552}
27553
27554
27555static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
27556 PyObject *resultobj;
27557 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27558 wxTreeItemId *arg2 = 0 ;
27559 PyObject * obj0 = 0 ;
27560 PyObject * obj1 = 0 ;
27561 char *kwnames[] = {
27562 (char *) "self",(char *) "item", NULL
27563 };
27564
27565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
27566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27568 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27569 SWIG_POINTER_EXCEPTION | 0)) == -1)
27570 SWIG_fail;
27571 if (arg2 == NULL) {
27572 PyErr_SetString(PyExc_TypeError,"null reference");
27573 SWIG_fail;
27574 }
27575 {
27576 PyThreadState* __tstate = wxPyBeginAllowThreads();
27577 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
27578
27579 wxPyEndAllowThreads(__tstate);
27580 if (PyErr_Occurred()) SWIG_fail;
27581 }
27582 Py_INCREF(Py_None); resultobj = Py_None;
27583 return resultobj;
27584 fail:
27585 return NULL;
27586}
27587
27588
27589static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27590 PyObject *resultobj;
27591 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27592 wxTreeItemId *arg2 = 0 ;
27593 PyObject * obj0 = 0 ;
27594 PyObject * obj1 = 0 ;
27595 char *kwnames[] = {
27596 (char *) "self",(char *) "item", NULL
27597 };
27598
27599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
27600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27603 SWIG_POINTER_EXCEPTION | 0)) == -1)
27604 SWIG_fail;
27605 if (arg2 == NULL) {
27606 PyErr_SetString(PyExc_TypeError,"null reference");
27607 SWIG_fail;
27608 }
27609 {
27610 PyThreadState* __tstate = wxPyBeginAllowThreads();
27611 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
27612
27613 wxPyEndAllowThreads(__tstate);
27614 if (PyErr_Occurred()) SWIG_fail;
27615 }
27616 Py_INCREF(Py_None); resultobj = Py_None;
27617 return resultobj;
27618 fail:
27619 return NULL;
27620}
27621
27622
27623static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27624 PyObject *resultobj;
27625 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27626 wxTextCtrl *result;
27627 PyObject * obj0 = 0 ;
27628 char *kwnames[] = {
27629 (char *) "self", NULL
27630 };
27631
27632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
27633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27635 {
27636 PyThreadState* __tstate = wxPyBeginAllowThreads();
27637 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
27638
27639 wxPyEndAllowThreads(__tstate);
27640 if (PyErr_Occurred()) SWIG_fail;
27641 }
27642 {
27643 resultobj = wxPyMake_wxObject(result);
27644 }
27645 return resultobj;
27646 fail:
27647 return NULL;
27648}
27649
27650
27651static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27652 PyObject *resultobj;
27653 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27654 wxTreeItemId *arg2 = 0 ;
27655 bool arg3 = (bool) False ;
27656 PyObject * obj0 = 0 ;
27657 PyObject * obj1 = 0 ;
27658 PyObject * obj2 = 0 ;
27659 char *kwnames[] = {
27660 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
27661 };
27662
27663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
27664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27667 SWIG_POINTER_EXCEPTION | 0)) == -1)
27668 SWIG_fail;
27669 if (arg2 == NULL) {
27670 PyErr_SetString(PyExc_TypeError,"null reference");
27671 SWIG_fail;
27672 }
27673 if (obj2) {
27674 arg3 = (bool) SWIG_AsBool(obj2);
27675 if (PyErr_Occurred()) SWIG_fail;
27676 }
27677 {
27678 PyThreadState* __tstate = wxPyBeginAllowThreads();
27679 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
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_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
27692 PyObject *resultobj;
27693 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27694 wxTreeItemId *arg2 = 0 ;
27695 PyObject * obj0 = 0 ;
27696 PyObject * obj1 = 0 ;
27697 char *kwnames[] = {
27698 (char *) "self",(char *) "item", NULL
27699 };
27700
27701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
27702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27705 SWIG_POINTER_EXCEPTION | 0)) == -1)
27706 SWIG_fail;
27707 if (arg2 == NULL) {
27708 PyErr_SetString(PyExc_TypeError,"null reference");
27709 SWIG_fail;
27710 }
27711 {
27712 PyThreadState* __tstate = wxPyBeginAllowThreads();
27713 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
27714
27715 wxPyEndAllowThreads(__tstate);
27716 if (PyErr_Occurred()) SWIG_fail;
27717 }
27718 Py_INCREF(Py_None); resultobj = Py_None;
27719 return resultobj;
27720 fail:
27721 return NULL;
27722}
27723
27724
27725static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
27726 PyObject *resultobj;
27727 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27728 wxPoint *arg2 = 0 ;
27729 int *arg3 = 0 ;
27730 wxTreeItemId result;
27731 wxPoint temp2 ;
27732 int temp3 ;
27733 PyObject * obj0 = 0 ;
27734 PyObject * obj1 = 0 ;
27735 char *kwnames[] = {
27736 (char *) "self",(char *) "point", NULL
27737 };
27738
27739 arg3 = &temp3;
27740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
27741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27743 {
27744 arg2 = &temp2;
27745 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27746 }
27747 {
27748 PyThreadState* __tstate = wxPyBeginAllowThreads();
27749 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
27750
27751 wxPyEndAllowThreads(__tstate);
27752 if (PyErr_Occurred()) SWIG_fail;
27753 }
27754 {
27755 wxTreeItemId * resultptr;
27756 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27757 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
27758 }
27759 {
27760 PyObject *o = PyInt_FromLong((long) (*arg3));
27761 resultobj = t_output_helper(resultobj,o);
27762 }
27763 return resultobj;
27764 fail:
27765 return NULL;
27766}
27767
27768
27769static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
27770 PyObject *resultobj;
27771 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
27772 wxTreeItemId *arg2 = 0 ;
27773 bool arg3 = (bool) False ;
27774 PyObject *result;
27775 PyObject * obj0 = 0 ;
27776 PyObject * obj1 = 0 ;
27777 PyObject * obj2 = 0 ;
27778 char *kwnames[] = {
27779 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27780 };
27781
27782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
27783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
27784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27785 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
27786 SWIG_POINTER_EXCEPTION | 0)) == -1)
27787 SWIG_fail;
27788 if (arg2 == NULL) {
27789 PyErr_SetString(PyExc_TypeError,"null reference");
27790 SWIG_fail;
27791 }
27792 if (obj2) {
27793 arg3 = (bool) SWIG_AsBool(obj2);
27794 if (PyErr_Occurred()) SWIG_fail;
27795 }
27796 {
27797 PyThreadState* __tstate = wxPyBeginAllowThreads();
27798 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
27799
27800 wxPyEndAllowThreads(__tstate);
27801 if (PyErr_Occurred()) SWIG_fail;
27802 }
27803 resultobj = result;
27804 return resultobj;
27805 fail:
27806 return NULL;
27807}
27808
27809
27810static PyObject *_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
27811 PyObject *resultobj;
27812 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
27813 wxVisualAttributes result;
27814 PyObject * obj0 = 0 ;
27815 char *kwnames[] = {
27816 (char *) "variant", NULL
27817 };
27818
27819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
27820 if (obj0) {
27821 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
27822 if (PyErr_Occurred()) SWIG_fail;
27823 }
27824 {
27825 PyThreadState* __tstate = wxPyBeginAllowThreads();
27826 result = wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant )arg1);
27827
27828 wxPyEndAllowThreads(__tstate);
27829 if (PyErr_Occurred()) SWIG_fail;
27830 }
27831 {
27832 wxVisualAttributes * resultptr;
27833 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
27834 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
27835 }
27836 return resultobj;
27837 fail:
27838 return NULL;
27839}
27840
27841
27842static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
27843 PyObject *obj;
27844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27845 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
27846 Py_INCREF(obj);
27847 return Py_BuildValue((char *)"");
27848}
27849static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
27850 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
27851 return 1;
27852}
27853
27854
27855static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
27856 PyObject *pyobj;
27857
27858 {
27859#if wxUSE_UNICODE
27860 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27861#else
27862 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
27863#endif
27864 }
27865 return pyobj;
27866}
27867
27868
27869static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27870 PyObject *resultobj;
27871 wxWindow *arg1 = (wxWindow *) 0 ;
27872 int arg2 = (int) (int)-1 ;
27873 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
27874 wxString *arg3 = (wxString *) &arg3_defvalue ;
27875 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27876 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27877 wxSize const &arg5_defvalue = wxDefaultSize ;
27878 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27879 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
27880 wxString const &arg7_defvalue = wxPyEmptyString ;
27881 wxString *arg7 = (wxString *) &arg7_defvalue ;
27882 int arg8 = (int) 0 ;
27883 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
27884 wxString *arg9 = (wxString *) &arg9_defvalue ;
27885 wxGenericDirCtrl *result;
27886 bool temp3 = False ;
27887 wxPoint temp4 ;
27888 wxSize temp5 ;
27889 bool temp7 = False ;
27890 bool temp9 = False ;
27891 PyObject * obj0 = 0 ;
27892 PyObject * obj1 = 0 ;
27893 PyObject * obj2 = 0 ;
27894 PyObject * obj3 = 0 ;
27895 PyObject * obj4 = 0 ;
27896 PyObject * obj5 = 0 ;
27897 PyObject * obj6 = 0 ;
27898 PyObject * obj7 = 0 ;
27899 PyObject * obj8 = 0 ;
27900 char *kwnames[] = {
27901 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
27902 };
27903
27904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
27905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27907 if (obj1) {
27908 arg2 = (int const) SWIG_AsInt(obj1);
27909 if (PyErr_Occurred()) SWIG_fail;
27910 }
27911 if (obj2) {
27912 {
27913 arg3 = wxString_in_helper(obj2);
27914 if (arg3 == NULL) SWIG_fail;
27915 temp3 = True;
27916 }
27917 }
27918 if (obj3) {
27919 {
27920 arg4 = &temp4;
27921 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27922 }
27923 }
27924 if (obj4) {
27925 {
27926 arg5 = &temp5;
27927 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27928 }
27929 }
27930 if (obj5) {
27931 arg6 = (long) SWIG_AsLong(obj5);
27932 if (PyErr_Occurred()) SWIG_fail;
27933 }
27934 if (obj6) {
27935 {
27936 arg7 = wxString_in_helper(obj6);
27937 if (arg7 == NULL) SWIG_fail;
27938 temp7 = True;
27939 }
27940 }
27941 if (obj7) {
27942 arg8 = (int) SWIG_AsInt(obj7);
27943 if (PyErr_Occurred()) SWIG_fail;
27944 }
27945 if (obj8) {
27946 {
27947 arg9 = wxString_in_helper(obj8);
27948 if (arg9 == NULL) SWIG_fail;
27949 temp9 = True;
27950 }
27951 }
27952 {
27953 PyThreadState* __tstate = wxPyBeginAllowThreads();
27954 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
27955
27956 wxPyEndAllowThreads(__tstate);
27957 if (PyErr_Occurred()) SWIG_fail;
27958 }
27959 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
27960 {
27961 if (temp3)
27962 delete arg3;
27963 }
27964 {
27965 if (temp7)
27966 delete arg7;
27967 }
27968 {
27969 if (temp9)
27970 delete arg9;
27971 }
27972 return resultobj;
27973 fail:
27974 {
27975 if (temp3)
27976 delete arg3;
27977 }
27978 {
27979 if (temp7)
27980 delete arg7;
27981 }
27982 {
27983 if (temp9)
27984 delete arg9;
27985 }
27986 return NULL;
27987}
27988
27989
27990static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27991 PyObject *resultobj;
27992 wxGenericDirCtrl *result;
27993 char *kwnames[] = {
27994 NULL
27995 };
27996
27997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
27998 {
27999 PyThreadState* __tstate = wxPyBeginAllowThreads();
28000 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
28001
28002 wxPyEndAllowThreads(__tstate);
28003 if (PyErr_Occurred()) SWIG_fail;
28004 }
28005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDirCtrl, 1);
28006 return resultobj;
28007 fail:
28008 return NULL;
28009}
28010
28011
28012static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28013 PyObject *resultobj;
28014 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28015 wxWindow *arg2 = (wxWindow *) 0 ;
28016 int arg3 = (int) (int)-1 ;
28017 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
28018 wxString *arg4 = (wxString *) &arg4_defvalue ;
28019 wxPoint const &arg5_defvalue = wxDefaultPosition ;
28020 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
28021 wxSize const &arg6_defvalue = wxDefaultSize ;
28022 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
28023 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
28024 wxString const &arg8_defvalue = wxPyEmptyString ;
28025 wxString *arg8 = (wxString *) &arg8_defvalue ;
28026 int arg9 = (int) 0 ;
28027 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
28028 wxString *arg10 = (wxString *) &arg10_defvalue ;
28029 bool result;
28030 bool temp4 = False ;
28031 wxPoint temp5 ;
28032 wxSize temp6 ;
28033 bool temp8 = False ;
28034 bool temp10 = False ;
28035 PyObject * obj0 = 0 ;
28036 PyObject * obj1 = 0 ;
28037 PyObject * obj2 = 0 ;
28038 PyObject * obj3 = 0 ;
28039 PyObject * obj4 = 0 ;
28040 PyObject * obj5 = 0 ;
28041 PyObject * obj6 = 0 ;
28042 PyObject * obj7 = 0 ;
28043 PyObject * obj8 = 0 ;
28044 PyObject * obj9 = 0 ;
28045 char *kwnames[] = {
28046 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28047 };
28048
28049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
28050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28052 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28054 if (obj2) {
28055 arg3 = (int const) SWIG_AsInt(obj2);
28056 if (PyErr_Occurred()) SWIG_fail;
28057 }
28058 if (obj3) {
28059 {
28060 arg4 = wxString_in_helper(obj3);
28061 if (arg4 == NULL) SWIG_fail;
28062 temp4 = True;
28063 }
28064 }
28065 if (obj4) {
28066 {
28067 arg5 = &temp5;
28068 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
28069 }
28070 }
28071 if (obj5) {
28072 {
28073 arg6 = &temp6;
28074 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
28075 }
28076 }
28077 if (obj6) {
28078 arg7 = (long) SWIG_AsLong(obj6);
28079 if (PyErr_Occurred()) SWIG_fail;
28080 }
28081 if (obj7) {
28082 {
28083 arg8 = wxString_in_helper(obj7);
28084 if (arg8 == NULL) SWIG_fail;
28085 temp8 = True;
28086 }
28087 }
28088 if (obj8) {
28089 arg9 = (int) SWIG_AsInt(obj8);
28090 if (PyErr_Occurred()) SWIG_fail;
28091 }
28092 if (obj9) {
28093 {
28094 arg10 = wxString_in_helper(obj9);
28095 if (arg10 == NULL) SWIG_fail;
28096 temp10 = True;
28097 }
28098 }
28099 {
28100 PyThreadState* __tstate = wxPyBeginAllowThreads();
28101 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
28102
28103 wxPyEndAllowThreads(__tstate);
28104 if (PyErr_Occurred()) SWIG_fail;
28105 }
28106 {
28107 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28108 }
28109 {
28110 if (temp4)
28111 delete arg4;
28112 }
28113 {
28114 if (temp8)
28115 delete arg8;
28116 }
28117 {
28118 if (temp10)
28119 delete arg10;
28120 }
28121 return resultobj;
28122 fail:
28123 {
28124 if (temp4)
28125 delete arg4;
28126 }
28127 {
28128 if (temp8)
28129 delete arg8;
28130 }
28131 {
28132 if (temp10)
28133 delete arg10;
28134 }
28135 return NULL;
28136}
28137
28138
28139static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28140 PyObject *resultobj;
28141 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28142 wxString *arg2 = 0 ;
28143 bool result;
28144 bool temp2 = False ;
28145 PyObject * obj0 = 0 ;
28146 PyObject * obj1 = 0 ;
28147 char *kwnames[] = {
28148 (char *) "self",(char *) "path", NULL
28149 };
28150
28151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
28152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28154 {
28155 arg2 = wxString_in_helper(obj1);
28156 if (arg2 == NULL) SWIG_fail;
28157 temp2 = True;
28158 }
28159 {
28160 PyThreadState* __tstate = wxPyBeginAllowThreads();
28161 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
28162
28163 wxPyEndAllowThreads(__tstate);
28164 if (PyErr_Occurred()) SWIG_fail;
28165 }
28166 {
28167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28168 }
28169 {
28170 if (temp2)
28171 delete arg2;
28172 }
28173 return resultobj;
28174 fail:
28175 {
28176 if (temp2)
28177 delete arg2;
28178 }
28179 return NULL;
28180}
28181
28182
28183static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28184 PyObject *resultobj;
28185 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28186 wxString result;
28187 PyObject * obj0 = 0 ;
28188 char *kwnames[] = {
28189 (char *) "self", NULL
28190 };
28191
28192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
28193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28195 {
28196 PyThreadState* __tstate = wxPyBeginAllowThreads();
28197 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
28198
28199 wxPyEndAllowThreads(__tstate);
28200 if (PyErr_Occurred()) SWIG_fail;
28201 }
28202 {
28203#if wxUSE_UNICODE
28204 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28205#else
28206 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28207#endif
28208 }
28209 return resultobj;
28210 fail:
28211 return NULL;
28212}
28213
28214
28215static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28216 PyObject *resultobj;
28217 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28218 wxString *arg2 = 0 ;
28219 bool temp2 = False ;
28220 PyObject * obj0 = 0 ;
28221 PyObject * obj1 = 0 ;
28222 char *kwnames[] = {
28223 (char *) "self",(char *) "path", NULL
28224 };
28225
28226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
28227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28229 {
28230 arg2 = wxString_in_helper(obj1);
28231 if (arg2 == NULL) SWIG_fail;
28232 temp2 = True;
28233 }
28234 {
28235 PyThreadState* __tstate = wxPyBeginAllowThreads();
28236 (arg1)->SetDefaultPath((wxString const &)*arg2);
28237
28238 wxPyEndAllowThreads(__tstate);
28239 if (PyErr_Occurred()) SWIG_fail;
28240 }
28241 Py_INCREF(Py_None); resultobj = Py_None;
28242 {
28243 if (temp2)
28244 delete arg2;
28245 }
28246 return resultobj;
28247 fail:
28248 {
28249 if (temp2)
28250 delete arg2;
28251 }
28252 return NULL;
28253}
28254
28255
28256static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28257 PyObject *resultobj;
28258 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28259 wxString result;
28260 PyObject * obj0 = 0 ;
28261 char *kwnames[] = {
28262 (char *) "self", NULL
28263 };
28264
28265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
28266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28268 {
28269 PyThreadState* __tstate = wxPyBeginAllowThreads();
28270 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
28271
28272 wxPyEndAllowThreads(__tstate);
28273 if (PyErr_Occurred()) SWIG_fail;
28274 }
28275 {
28276#if wxUSE_UNICODE
28277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28278#else
28279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28280#endif
28281 }
28282 return resultobj;
28283 fail:
28284 return NULL;
28285}
28286
28287
28288static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
28289 PyObject *resultobj;
28290 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28291 wxString result;
28292 PyObject * obj0 = 0 ;
28293 char *kwnames[] = {
28294 (char *) "self", NULL
28295 };
28296
28297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
28298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28300 {
28301 PyThreadState* __tstate = wxPyBeginAllowThreads();
28302 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
28303
28304 wxPyEndAllowThreads(__tstate);
28305 if (PyErr_Occurred()) SWIG_fail;
28306 }
28307 {
28308#if wxUSE_UNICODE
28309 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28310#else
28311 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28312#endif
28313 }
28314 return resultobj;
28315 fail:
28316 return NULL;
28317}
28318
28319
28320static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
28321 PyObject *resultobj;
28322 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28323 wxString *arg2 = 0 ;
28324 bool temp2 = False ;
28325 PyObject * obj0 = 0 ;
28326 PyObject * obj1 = 0 ;
28327 char *kwnames[] = {
28328 (char *) "self",(char *) "path", NULL
28329 };
28330
28331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
28332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28334 {
28335 arg2 = wxString_in_helper(obj1);
28336 if (arg2 == NULL) SWIG_fail;
28337 temp2 = True;
28338 }
28339 {
28340 PyThreadState* __tstate = wxPyBeginAllowThreads();
28341 (arg1)->SetPath((wxString const &)*arg2);
28342
28343 wxPyEndAllowThreads(__tstate);
28344 if (PyErr_Occurred()) SWIG_fail;
28345 }
28346 Py_INCREF(Py_None); resultobj = Py_None;
28347 {
28348 if (temp2)
28349 delete arg2;
28350 }
28351 return resultobj;
28352 fail:
28353 {
28354 if (temp2)
28355 delete arg2;
28356 }
28357 return NULL;
28358}
28359
28360
28361static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28362 PyObject *resultobj;
28363 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28364 bool arg2 ;
28365 PyObject * obj0 = 0 ;
28366 PyObject * obj1 = 0 ;
28367 char *kwnames[] = {
28368 (char *) "self",(char *) "show", NULL
28369 };
28370
28371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
28372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28374 arg2 = (bool) SWIG_AsBool(obj1);
28375 if (PyErr_Occurred()) SWIG_fail;
28376 {
28377 PyThreadState* __tstate = wxPyBeginAllowThreads();
28378 (arg1)->ShowHidden(arg2);
28379
28380 wxPyEndAllowThreads(__tstate);
28381 if (PyErr_Occurred()) SWIG_fail;
28382 }
28383 Py_INCREF(Py_None); resultobj = Py_None;
28384 return resultobj;
28385 fail:
28386 return NULL;
28387}
28388
28389
28390static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
28391 PyObject *resultobj;
28392 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28393 bool result;
28394 PyObject * obj0 = 0 ;
28395 char *kwnames[] = {
28396 (char *) "self", NULL
28397 };
28398
28399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
28400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28402 {
28403 PyThreadState* __tstate = wxPyBeginAllowThreads();
28404 result = (bool)(arg1)->GetShowHidden();
28405
28406 wxPyEndAllowThreads(__tstate);
28407 if (PyErr_Occurred()) SWIG_fail;
28408 }
28409 {
28410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28411 }
28412 return resultobj;
28413 fail:
28414 return NULL;
28415}
28416
28417
28418static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28419 PyObject *resultobj;
28420 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28421 wxString result;
28422 PyObject * obj0 = 0 ;
28423 char *kwnames[] = {
28424 (char *) "self", NULL
28425 };
28426
28427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
28428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28430 {
28431 PyThreadState* __tstate = wxPyBeginAllowThreads();
28432 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
28433
28434 wxPyEndAllowThreads(__tstate);
28435 if (PyErr_Occurred()) SWIG_fail;
28436 }
28437 {
28438#if wxUSE_UNICODE
28439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28440#else
28441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28442#endif
28443 }
28444 return resultobj;
28445 fail:
28446 return NULL;
28447}
28448
28449
28450static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
28451 PyObject *resultobj;
28452 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28453 wxString *arg2 = 0 ;
28454 bool temp2 = False ;
28455 PyObject * obj0 = 0 ;
28456 PyObject * obj1 = 0 ;
28457 char *kwnames[] = {
28458 (char *) "self",(char *) "filter", NULL
28459 };
28460
28461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
28462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28464 {
28465 arg2 = wxString_in_helper(obj1);
28466 if (arg2 == NULL) SWIG_fail;
28467 temp2 = True;
28468 }
28469 {
28470 PyThreadState* __tstate = wxPyBeginAllowThreads();
28471 (arg1)->SetFilter((wxString const &)*arg2);
28472
28473 wxPyEndAllowThreads(__tstate);
28474 if (PyErr_Occurred()) SWIG_fail;
28475 }
28476 Py_INCREF(Py_None); resultobj = Py_None;
28477 {
28478 if (temp2)
28479 delete arg2;
28480 }
28481 return resultobj;
28482 fail:
28483 {
28484 if (temp2)
28485 delete arg2;
28486 }
28487 return NULL;
28488}
28489
28490
28491static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28492 PyObject *resultobj;
28493 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28494 int result;
28495 PyObject * obj0 = 0 ;
28496 char *kwnames[] = {
28497 (char *) "self", NULL
28498 };
28499
28500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
28501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28503 {
28504 PyThreadState* __tstate = wxPyBeginAllowThreads();
28505 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
28506
28507 wxPyEndAllowThreads(__tstate);
28508 if (PyErr_Occurred()) SWIG_fail;
28509 }
28510 resultobj = SWIG_FromInt((int)result);
28511 return resultobj;
28512 fail:
28513 return NULL;
28514}
28515
28516
28517static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
28518 PyObject *resultobj;
28519 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28520 int arg2 ;
28521 PyObject * obj0 = 0 ;
28522 PyObject * obj1 = 0 ;
28523 char *kwnames[] = {
28524 (char *) "self",(char *) "n", NULL
28525 };
28526
28527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
28528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28530 arg2 = (int) SWIG_AsInt(obj1);
28531 if (PyErr_Occurred()) SWIG_fail;
28532 {
28533 PyThreadState* __tstate = wxPyBeginAllowThreads();
28534 (arg1)->SetFilterIndex(arg2);
28535
28536 wxPyEndAllowThreads(__tstate);
28537 if (PyErr_Occurred()) SWIG_fail;
28538 }
28539 Py_INCREF(Py_None); resultobj = Py_None;
28540 return resultobj;
28541 fail:
28542 return NULL;
28543}
28544
28545
28546static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
28547 PyObject *resultobj;
28548 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28549 wxTreeItemId result;
28550 PyObject * obj0 = 0 ;
28551 char *kwnames[] = {
28552 (char *) "self", NULL
28553 };
28554
28555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
28556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28558 {
28559 PyThreadState* __tstate = wxPyBeginAllowThreads();
28560 result = (arg1)->GetRootId();
28561
28562 wxPyEndAllowThreads(__tstate);
28563 if (PyErr_Occurred()) SWIG_fail;
28564 }
28565 {
28566 wxTreeItemId * resultptr;
28567 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28568 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28569 }
28570 return resultobj;
28571 fail:
28572 return NULL;
28573}
28574
28575
28576static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28577 PyObject *resultobj;
28578 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28579 wxPyTreeCtrl *result;
28580 PyObject * obj0 = 0 ;
28581 char *kwnames[] = {
28582 (char *) "self", NULL
28583 };
28584
28585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
28586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28588 {
28589 PyThreadState* __tstate = wxPyBeginAllowThreads();
28590 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
28591
28592 wxPyEndAllowThreads(__tstate);
28593 if (PyErr_Occurred()) SWIG_fail;
28594 }
28595 {
28596 resultobj = wxPyMake_wxObject(result);
28597 }
28598 return resultobj;
28599 fail:
28600 return NULL;
28601}
28602
28603
28604static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28605 PyObject *resultobj;
28606 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28607 wxDirFilterListCtrl *result;
28608 PyObject * obj0 = 0 ;
28609 char *kwnames[] = {
28610 (char *) "self", NULL
28611 };
28612
28613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
28614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28616 {
28617 PyThreadState* __tstate = wxPyBeginAllowThreads();
28618 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
28619
28620 wxPyEndAllowThreads(__tstate);
28621 if (PyErr_Occurred()) SWIG_fail;
28622 }
28623 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 0);
28624 return resultobj;
28625 fail:
28626 return NULL;
28627}
28628
28629
28630static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28631 PyObject *resultobj;
28632 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28633 wxTreeItemId arg2 ;
28634 wxString *arg3 = 0 ;
28635 bool *arg4 = 0 ;
28636 wxTreeItemId result;
28637 wxTreeItemId *argp2 ;
28638 bool temp3 = False ;
28639 bool temp4 ;
28640 PyObject * obj0 = 0 ;
28641 PyObject * obj1 = 0 ;
28642 PyObject * obj2 = 0 ;
28643 char *kwnames[] = {
28644 (char *) "self",(char *) "parentId",(char *) "path", NULL
28645 };
28646
28647 arg4 = &temp4;
28648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
28649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28651 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxTreeItemId,
28652 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
28653 arg2 = *argp2;
28654 {
28655 arg3 = wxString_in_helper(obj2);
28656 if (arg3 == NULL) SWIG_fail;
28657 temp3 = True;
28658 }
28659 {
28660 PyThreadState* __tstate = wxPyBeginAllowThreads();
28661 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
28662
28663 wxPyEndAllowThreads(__tstate);
28664 if (PyErr_Occurred()) SWIG_fail;
28665 }
28666 {
28667 wxTreeItemId * resultptr;
28668 resultptr = new wxTreeItemId((wxTreeItemId &) result);
28669 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
28670 }
28671 {
28672 PyObject *o = PyInt_FromLong((long) (*arg4));
28673 resultobj = t_output_helper(resultobj,o);
28674 }
28675 {
28676 if (temp3)
28677 delete arg3;
28678 }
28679 return resultobj;
28680 fail:
28681 {
28682 if (temp3)
28683 delete arg3;
28684 }
28685 return NULL;
28686}
28687
28688
28689static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
28690 PyObject *resultobj;
28691 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28692 PyObject * obj0 = 0 ;
28693 char *kwnames[] = {
28694 (char *) "self", NULL
28695 };
28696
28697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
28698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28700 {
28701 PyThreadState* __tstate = wxPyBeginAllowThreads();
28702 (arg1)->DoResize();
28703
28704 wxPyEndAllowThreads(__tstate);
28705 if (PyErr_Occurred()) SWIG_fail;
28706 }
28707 Py_INCREF(Py_None); resultobj = Py_None;
28708 return resultobj;
28709 fail:
28710 return NULL;
28711}
28712
28713
28714static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
28715 PyObject *resultobj;
28716 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28717 PyObject * obj0 = 0 ;
28718 char *kwnames[] = {
28719 (char *) "self", NULL
28720 };
28721
28722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
28723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28725 {
28726 PyThreadState* __tstate = wxPyBeginAllowThreads();
28727 (arg1)->ReCreateTree();
28728
28729 wxPyEndAllowThreads(__tstate);
28730 if (PyErr_Occurred()) SWIG_fail;
28731 }
28732 Py_INCREF(Py_None); resultobj = Py_None;
28733 return resultobj;
28734 fail:
28735 return NULL;
28736}
28737
28738
28739static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
28740 PyObject *obj;
28741 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28742 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
28743 Py_INCREF(obj);
28744 return Py_BuildValue((char *)"");
28745}
28746static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28747 PyObject *resultobj;
28748 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
28749 int arg2 = (int) (int)-1 ;
28750 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28751 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28752 wxSize const &arg4_defvalue = wxDefaultSize ;
28753 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28754 long arg5 = (long) 0 ;
28755 wxDirFilterListCtrl *result;
28756 wxPoint temp3 ;
28757 wxSize temp4 ;
28758 PyObject * obj0 = 0 ;
28759 PyObject * obj1 = 0 ;
28760 PyObject * obj2 = 0 ;
28761 PyObject * obj3 = 0 ;
28762 PyObject * obj4 = 0 ;
28763 char *kwnames[] = {
28764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28765 };
28766
28767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDirCtrl,
28769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28770 if (obj1) {
28771 arg2 = (int const) SWIG_AsInt(obj1);
28772 if (PyErr_Occurred()) SWIG_fail;
28773 }
28774 if (obj2) {
28775 {
28776 arg3 = &temp3;
28777 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28778 }
28779 }
28780 if (obj3) {
28781 {
28782 arg4 = &temp4;
28783 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28784 }
28785 }
28786 if (obj4) {
28787 arg5 = (long) SWIG_AsLong(obj4);
28788 if (PyErr_Occurred()) SWIG_fail;
28789 }
28790 {
28791 PyThreadState* __tstate = wxPyBeginAllowThreads();
28792 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28793
28794 wxPyEndAllowThreads(__tstate);
28795 if (PyErr_Occurred()) SWIG_fail;
28796 }
28797 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
28798 return resultobj;
28799 fail:
28800 return NULL;
28801}
28802
28803
28804static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
28805 PyObject *resultobj;
28806 wxDirFilterListCtrl *result;
28807 char *kwnames[] = {
28808 NULL
28809 };
28810
28811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
28812 {
28813 PyThreadState* __tstate = wxPyBeginAllowThreads();
28814 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
28815
28816 wxPyEndAllowThreads(__tstate);
28817 if (PyErr_Occurred()) SWIG_fail;
28818 }
28819 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDirFilterListCtrl, 1);
28820 return resultobj;
28821 fail:
28822 return NULL;
28823}
28824
28825
28826static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
28827 PyObject *resultobj;
28828 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28829 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
28830 int arg3 = (int) (int)-1 ;
28831 wxPoint const &arg4_defvalue = wxDefaultPosition ;
28832 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
28833 wxSize const &arg5_defvalue = wxDefaultSize ;
28834 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
28835 long arg6 = (long) 0 ;
28836 bool result;
28837 wxPoint temp4 ;
28838 wxSize temp5 ;
28839 PyObject * obj0 = 0 ;
28840 PyObject * obj1 = 0 ;
28841 PyObject * obj2 = 0 ;
28842 PyObject * obj3 = 0 ;
28843 PyObject * obj4 = 0 ;
28844 PyObject * obj5 = 0 ;
28845 char *kwnames[] = {
28846 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28847 };
28848
28849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
28850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28852 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGenericDirCtrl,
28853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28854 if (obj2) {
28855 arg3 = (int const) SWIG_AsInt(obj2);
28856 if (PyErr_Occurred()) SWIG_fail;
28857 }
28858 if (obj3) {
28859 {
28860 arg4 = &temp4;
28861 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
28862 }
28863 }
28864 if (obj4) {
28865 {
28866 arg5 = &temp5;
28867 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
28868 }
28869 }
28870 if (obj5) {
28871 arg6 = (long) SWIG_AsLong(obj5);
28872 if (PyErr_Occurred()) SWIG_fail;
28873 }
28874 {
28875 PyThreadState* __tstate = wxPyBeginAllowThreads();
28876 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
28877
28878 wxPyEndAllowThreads(__tstate);
28879 if (PyErr_Occurred()) SWIG_fail;
28880 }
28881 {
28882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28883 }
28884 return resultobj;
28885 fail:
28886 return NULL;
28887}
28888
28889
28890static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
28891 PyObject *resultobj;
28892 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
28893 wxString *arg2 = 0 ;
28894 int arg3 ;
28895 bool temp2 = False ;
28896 PyObject * obj0 = 0 ;
28897 PyObject * obj1 = 0 ;
28898 PyObject * obj2 = 0 ;
28899 char *kwnames[] = {
28900 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
28901 };
28902
28903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
28904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDirFilterListCtrl,
28905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28906 {
28907 arg2 = wxString_in_helper(obj1);
28908 if (arg2 == NULL) SWIG_fail;
28909 temp2 = True;
28910 }
28911 arg3 = (int) SWIG_AsInt(obj2);
28912 if (PyErr_Occurred()) SWIG_fail;
28913 {
28914 PyThreadState* __tstate = wxPyBeginAllowThreads();
28915 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
28916
28917 wxPyEndAllowThreads(__tstate);
28918 if (PyErr_Occurred()) SWIG_fail;
28919 }
28920 Py_INCREF(Py_None); resultobj = Py_None;
28921 {
28922 if (temp2)
28923 delete arg2;
28924 }
28925 return resultobj;
28926 fail:
28927 {
28928 if (temp2)
28929 delete arg2;
28930 }
28931 return NULL;
28932}
28933
28934
28935static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
28936 PyObject *obj;
28937 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28938 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
28939 Py_INCREF(obj);
28940 return Py_BuildValue((char *)"");
28941}
28942static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
28943 PyObject *resultobj;
28944 wxWindow *arg1 = (wxWindow *) 0 ;
28945 int arg2 ;
28946 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28947 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28948 wxSize const &arg4_defvalue = wxDefaultSize ;
28949 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28950 long arg5 = (long) 0 ;
28951 wxValidator const &arg6_defvalue = wxDefaultValidator ;
28952 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
28953 wxString const &arg7_defvalue = wxPyControlNameStr ;
28954 wxString *arg7 = (wxString *) &arg7_defvalue ;
28955 wxPyControl *result;
28956 wxPoint temp3 ;
28957 wxSize temp4 ;
28958 bool temp7 = False ;
28959 PyObject * obj0 = 0 ;
28960 PyObject * obj1 = 0 ;
28961 PyObject * obj2 = 0 ;
28962 PyObject * obj3 = 0 ;
28963 PyObject * obj4 = 0 ;
28964 PyObject * obj5 = 0 ;
28965 PyObject * obj6 = 0 ;
28966 char *kwnames[] = {
28967 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28968 };
28969
28970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
28971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28973 arg2 = (int const) SWIG_AsInt(obj1);
28974 if (PyErr_Occurred()) SWIG_fail;
28975 if (obj2) {
28976 {
28977 arg3 = &temp3;
28978 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28979 }
28980 }
28981 if (obj3) {
28982 {
28983 arg4 = &temp4;
28984 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28985 }
28986 }
28987 if (obj4) {
28988 arg5 = (long) SWIG_AsLong(obj4);
28989 if (PyErr_Occurred()) SWIG_fail;
28990 }
28991 if (obj5) {
28992 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
28993 SWIG_POINTER_EXCEPTION | 0)) == -1)
28994 SWIG_fail;
28995 if (arg6 == NULL) {
28996 PyErr_SetString(PyExc_TypeError,"null reference");
28997 SWIG_fail;
28998 }
28999 }
29000 if (obj6) {
29001 {
29002 arg7 = wxString_in_helper(obj6);
29003 if (arg7 == NULL) SWIG_fail;
29004 temp7 = True;
29005 }
29006 }
29007 {
29008 PyThreadState* __tstate = wxPyBeginAllowThreads();
29009 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
29010
29011 wxPyEndAllowThreads(__tstate);
29012 if (PyErr_Occurred()) SWIG_fail;
29013 }
29014 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29015 {
29016 if (temp7)
29017 delete arg7;
29018 }
29019 return resultobj;
29020 fail:
29021 {
29022 if (temp7)
29023 delete arg7;
29024 }
29025 return NULL;
29026}
29027
29028
29029static PyObject *_wrap_new_PrePyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
29030 PyObject *resultobj;
29031 wxPyControl *result;
29032 char *kwnames[] = {
29033 NULL
29034 };
29035
29036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePyControl",kwnames)) goto fail;
29037 {
29038 PyThreadState* __tstate = wxPyBeginAllowThreads();
29039 result = (wxPyControl *)new wxPyControl();
29040
29041 wxPyEndAllowThreads(__tstate);
29042 if (PyErr_Occurred()) SWIG_fail;
29043 }
29044 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyControl, 1);
29045 return resultobj;
29046 fail:
29047 return NULL;
29048}
29049
29050
29051static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
29052 PyObject *resultobj;
29053 wxPyControl *arg1 = (wxPyControl *) 0 ;
29054 PyObject *arg2 = (PyObject *) 0 ;
29055 PyObject *arg3 = (PyObject *) 0 ;
29056 PyObject * obj0 = 0 ;
29057 PyObject * obj1 = 0 ;
29058 PyObject * obj2 = 0 ;
29059 char *kwnames[] = {
29060 (char *) "self",(char *) "self",(char *) "_class", NULL
29061 };
29062
29063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
29064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29066 arg2 = obj1;
29067 arg3 = obj2;
29068 {
29069 PyThreadState* __tstate = wxPyBeginAllowThreads();
29070 (arg1)->_setCallbackInfo(arg2,arg3);
29071
29072 wxPyEndAllowThreads(__tstate);
29073 if (PyErr_Occurred()) SWIG_fail;
29074 }
29075 Py_INCREF(Py_None); resultobj = Py_None;
29076 return resultobj;
29077 fail:
29078 return NULL;
29079}
29080
29081
caef1a4d
RD
29082static PyObject *_wrap_PyControl_SetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29083 PyObject *resultobj;
29084 wxPyControl *arg1 = (wxPyControl *) 0 ;
29085 wxSize *arg2 = 0 ;
29086 wxSize temp2 ;
29087 PyObject * obj0 = 0 ;
29088 PyObject * obj1 = 0 ;
29089 char *kwnames[] = {
29090 (char *) "self",(char *) "size", NULL
29091 };
29092
29093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_SetBestSize",kwnames,&obj0,&obj1)) goto fail;
29094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29096 {
29097 arg2 = &temp2;
29098 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
29099 }
29100 {
29101 PyThreadState* __tstate = wxPyBeginAllowThreads();
29102 (arg1)->SetBestSize((wxSize const &)*arg2);
29103
29104 wxPyEndAllowThreads(__tstate);
29105 if (PyErr_Occurred()) SWIG_fail;
29106 }
29107 Py_INCREF(Py_None); resultobj = Py_None;
29108 return resultobj;
29109 fail:
29110 return NULL;
29111}
29112
29113
d55e5bfc
RD
29114static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29115 PyObject *resultobj;
29116 wxPyControl *arg1 = (wxPyControl *) 0 ;
29117 int arg2 ;
29118 int arg3 ;
29119 int arg4 ;
29120 int arg5 ;
29121 PyObject * obj0 = 0 ;
29122 PyObject * obj1 = 0 ;
29123 PyObject * obj2 = 0 ;
29124 PyObject * obj3 = 0 ;
29125 PyObject * obj4 = 0 ;
29126 char *kwnames[] = {
29127 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29128 };
29129
29130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29133 arg2 = (int) SWIG_AsInt(obj1);
29134 if (PyErr_Occurred()) SWIG_fail;
29135 arg3 = (int) SWIG_AsInt(obj2);
29136 if (PyErr_Occurred()) SWIG_fail;
29137 arg4 = (int) SWIG_AsInt(obj3);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 arg5 = (int) SWIG_AsInt(obj4);
29140 if (PyErr_Occurred()) SWIG_fail;
29141 {
29142 PyThreadState* __tstate = wxPyBeginAllowThreads();
29143 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
29144
29145 wxPyEndAllowThreads(__tstate);
29146 if (PyErr_Occurred()) SWIG_fail;
29147 }
29148 Py_INCREF(Py_None); resultobj = Py_None;
29149 return resultobj;
29150 fail:
29151 return NULL;
29152}
29153
29154
29155static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29156 PyObject *resultobj;
29157 wxPyControl *arg1 = (wxPyControl *) 0 ;
29158 int arg2 ;
29159 int arg3 ;
29160 int arg4 ;
29161 int arg5 ;
29162 int arg6 = (int) wxSIZE_AUTO ;
29163 PyObject * obj0 = 0 ;
29164 PyObject * obj1 = 0 ;
29165 PyObject * obj2 = 0 ;
29166 PyObject * obj3 = 0 ;
29167 PyObject * obj4 = 0 ;
29168 PyObject * obj5 = 0 ;
29169 char *kwnames[] = {
29170 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29171 };
29172
29173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
29174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29176 arg2 = (int) SWIG_AsInt(obj1);
29177 if (PyErr_Occurred()) SWIG_fail;
29178 arg3 = (int) SWIG_AsInt(obj2);
29179 if (PyErr_Occurred()) SWIG_fail;
29180 arg4 = (int) SWIG_AsInt(obj3);
29181 if (PyErr_Occurred()) SWIG_fail;
29182 arg5 = (int) SWIG_AsInt(obj4);
29183 if (PyErr_Occurred()) SWIG_fail;
29184 if (obj5) {
29185 arg6 = (int) SWIG_AsInt(obj5);
29186 if (PyErr_Occurred()) SWIG_fail;
29187 }
29188 {
29189 PyThreadState* __tstate = wxPyBeginAllowThreads();
29190 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
29191
29192 wxPyEndAllowThreads(__tstate);
29193 if (PyErr_Occurred()) SWIG_fail;
29194 }
29195 Py_INCREF(Py_None); resultobj = Py_None;
29196 return resultobj;
29197 fail:
29198 return NULL;
29199}
29200
29201
29202static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29203 PyObject *resultobj;
29204 wxPyControl *arg1 = (wxPyControl *) 0 ;
29205 int arg2 ;
29206 int arg3 ;
29207 PyObject * obj0 = 0 ;
29208 PyObject * obj1 = 0 ;
29209 PyObject * obj2 = 0 ;
29210 char *kwnames[] = {
29211 (char *) "self",(char *) "width",(char *) "height", NULL
29212 };
29213
29214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29217 arg2 = (int) SWIG_AsInt(obj1);
29218 if (PyErr_Occurred()) SWIG_fail;
29219 arg3 = (int) SWIG_AsInt(obj2);
29220 if (PyErr_Occurred()) SWIG_fail;
29221 {
29222 PyThreadState* __tstate = wxPyBeginAllowThreads();
29223 (arg1)->base_DoSetClientSize(arg2,arg3);
29224
29225 wxPyEndAllowThreads(__tstate);
29226 if (PyErr_Occurred()) SWIG_fail;
29227 }
29228 Py_INCREF(Py_None); resultobj = Py_None;
29229 return resultobj;
29230 fail:
29231 return NULL;
29232}
29233
29234
29235static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29236 PyObject *resultobj;
29237 wxPyControl *arg1 = (wxPyControl *) 0 ;
29238 int arg2 ;
29239 int arg3 ;
29240 PyObject * obj0 = 0 ;
29241 PyObject * obj1 = 0 ;
29242 PyObject * obj2 = 0 ;
29243 char *kwnames[] = {
29244 (char *) "self",(char *) "x",(char *) "y", NULL
29245 };
29246
29247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
29248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29250 arg2 = (int) SWIG_AsInt(obj1);
29251 if (PyErr_Occurred()) SWIG_fail;
29252 arg3 = (int) SWIG_AsInt(obj2);
29253 if (PyErr_Occurred()) SWIG_fail;
29254 {
29255 PyThreadState* __tstate = wxPyBeginAllowThreads();
29256 (arg1)->base_DoSetVirtualSize(arg2,arg3);
29257
29258 wxPyEndAllowThreads(__tstate);
29259 if (PyErr_Occurred()) SWIG_fail;
29260 }
29261 Py_INCREF(Py_None); resultobj = Py_None;
29262 return resultobj;
29263 fail:
29264 return NULL;
29265}
29266
29267
29268static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29269 PyObject *resultobj;
29270 wxPyControl *arg1 = (wxPyControl *) 0 ;
29271 int *arg2 = (int *) 0 ;
29272 int *arg3 = (int *) 0 ;
29273 int temp2 ;
29274 int temp3 ;
29275 PyObject * obj0 = 0 ;
29276 char *kwnames[] = {
29277 (char *) "self", NULL
29278 };
29279
29280 arg2 = &temp2;
29281 arg3 = &temp3;
29282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
29283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29285 {
29286 PyThreadState* __tstate = wxPyBeginAllowThreads();
29287 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
29288
29289 wxPyEndAllowThreads(__tstate);
29290 if (PyErr_Occurred()) SWIG_fail;
29291 }
29292 Py_INCREF(Py_None); resultobj = Py_None;
29293 {
29294 PyObject *o = PyInt_FromLong((long) (*arg2));
29295 resultobj = t_output_helper(resultobj,o);
29296 }
29297 {
29298 PyObject *o = PyInt_FromLong((long) (*arg3));
29299 resultobj = t_output_helper(resultobj,o);
29300 }
29301 return resultobj;
29302 fail:
29303 return NULL;
29304}
29305
29306
29307static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29308 PyObject *resultobj;
29309 wxPyControl *arg1 = (wxPyControl *) 0 ;
29310 int *arg2 = (int *) 0 ;
29311 int *arg3 = (int *) 0 ;
29312 int temp2 ;
29313 int temp3 ;
29314 PyObject * obj0 = 0 ;
29315 char *kwnames[] = {
29316 (char *) "self", NULL
29317 };
29318
29319 arg2 = &temp2;
29320 arg3 = &temp3;
29321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
29322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29324 {
29325 PyThreadState* __tstate = wxPyBeginAllowThreads();
29326 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
29327
29328 wxPyEndAllowThreads(__tstate);
29329 if (PyErr_Occurred()) SWIG_fail;
29330 }
29331 Py_INCREF(Py_None); resultobj = Py_None;
29332 {
29333 PyObject *o = PyInt_FromLong((long) (*arg2));
29334 resultobj = t_output_helper(resultobj,o);
29335 }
29336 {
29337 PyObject *o = PyInt_FromLong((long) (*arg3));
29338 resultobj = t_output_helper(resultobj,o);
29339 }
29340 return resultobj;
29341 fail:
29342 return NULL;
29343}
29344
29345
29346static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29347 PyObject *resultobj;
29348 wxPyControl *arg1 = (wxPyControl *) 0 ;
29349 int *arg2 = (int *) 0 ;
29350 int *arg3 = (int *) 0 ;
29351 int temp2 ;
29352 int temp3 ;
29353 PyObject * obj0 = 0 ;
29354 char *kwnames[] = {
29355 (char *) "self", NULL
29356 };
29357
29358 arg2 = &temp2;
29359 arg3 = &temp3;
29360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
29361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29363 {
29364 PyThreadState* __tstate = wxPyBeginAllowThreads();
29365 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
29366
29367 wxPyEndAllowThreads(__tstate);
29368 if (PyErr_Occurred()) SWIG_fail;
29369 }
29370 Py_INCREF(Py_None); resultobj = Py_None;
29371 {
29372 PyObject *o = PyInt_FromLong((long) (*arg2));
29373 resultobj = t_output_helper(resultobj,o);
29374 }
29375 {
29376 PyObject *o = PyInt_FromLong((long) (*arg3));
29377 resultobj = t_output_helper(resultobj,o);
29378 }
29379 return resultobj;
29380 fail:
29381 return NULL;
29382}
29383
29384
29385static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29386 PyObject *resultobj;
29387 wxPyControl *arg1 = (wxPyControl *) 0 ;
29388 wxSize result;
29389 PyObject * obj0 = 0 ;
29390 char *kwnames[] = {
29391 (char *) "self", NULL
29392 };
29393
29394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
29395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29397 {
29398 PyThreadState* __tstate = wxPyBeginAllowThreads();
29399 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
29400
29401 wxPyEndAllowThreads(__tstate);
29402 if (PyErr_Occurred()) SWIG_fail;
29403 }
29404 {
29405 wxSize * resultptr;
29406 resultptr = new wxSize((wxSize &) result);
29407 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29408 }
29409 return resultobj;
29410 fail:
29411 return NULL;
29412}
29413
29414
29415static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29416 PyObject *resultobj;
29417 wxPyControl *arg1 = (wxPyControl *) 0 ;
29418 wxSize result;
29419 PyObject * obj0 = 0 ;
29420 char *kwnames[] = {
29421 (char *) "self", NULL
29422 };
29423
29424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
29425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29427 {
29428 PyThreadState* __tstate = wxPyBeginAllowThreads();
29429 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
29430
29431 wxPyEndAllowThreads(__tstate);
29432 if (PyErr_Occurred()) SWIG_fail;
29433 }
29434 {
29435 wxSize * resultptr;
29436 resultptr = new wxSize((wxSize &) result);
29437 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29438 }
29439 return resultobj;
29440 fail:
29441 return NULL;
29442}
29443
29444
29445static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
29446 PyObject *resultobj;
29447 wxPyControl *arg1 = (wxPyControl *) 0 ;
29448 PyObject * obj0 = 0 ;
29449 char *kwnames[] = {
29450 (char *) "self", NULL
29451 };
29452
29453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
29454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29456 {
29457 PyThreadState* __tstate = wxPyBeginAllowThreads();
29458 (arg1)->base_InitDialog();
29459
29460 wxPyEndAllowThreads(__tstate);
29461 if (PyErr_Occurred()) SWIG_fail;
29462 }
29463 Py_INCREF(Py_None); resultobj = Py_None;
29464 return resultobj;
29465 fail:
29466 return NULL;
29467}
29468
29469
29470static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29471 PyObject *resultobj;
29472 wxPyControl *arg1 = (wxPyControl *) 0 ;
29473 bool result;
29474 PyObject * obj0 = 0 ;
29475 char *kwnames[] = {
29476 (char *) "self", NULL
29477 };
29478
29479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
29480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29482 {
29483 PyThreadState* __tstate = wxPyBeginAllowThreads();
29484 result = (bool)(arg1)->base_TransferDataToWindow();
29485
29486 wxPyEndAllowThreads(__tstate);
29487 if (PyErr_Occurred()) SWIG_fail;
29488 }
29489 {
29490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29491 }
29492 return resultobj;
29493 fail:
29494 return NULL;
29495}
29496
29497
29498static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29499 PyObject *resultobj;
29500 wxPyControl *arg1 = (wxPyControl *) 0 ;
29501 bool result;
29502 PyObject * obj0 = 0 ;
29503 char *kwnames[] = {
29504 (char *) "self", NULL
29505 };
29506
29507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
29508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29510 {
29511 PyThreadState* __tstate = wxPyBeginAllowThreads();
29512 result = (bool)(arg1)->base_TransferDataFromWindow();
29513
29514 wxPyEndAllowThreads(__tstate);
29515 if (PyErr_Occurred()) SWIG_fail;
29516 }
29517 {
29518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29519 }
29520 return resultobj;
29521 fail:
29522 return NULL;
29523}
29524
29525
29526static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
29527 PyObject *resultobj;
29528 wxPyControl *arg1 = (wxPyControl *) 0 ;
29529 bool result;
29530 PyObject * obj0 = 0 ;
29531 char *kwnames[] = {
29532 (char *) "self", NULL
29533 };
29534
29535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",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 result = (bool)(arg1)->base_Validate();
29541
29542 wxPyEndAllowThreads(__tstate);
29543 if (PyErr_Occurred()) SWIG_fail;
29544 }
29545 {
29546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29547 }
29548 return resultobj;
29549 fail:
29550 return NULL;
29551}
29552
29553
29554static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
29555 PyObject *resultobj;
29556 wxPyControl *arg1 = (wxPyControl *) 0 ;
29557 bool result;
29558 PyObject * obj0 = 0 ;
29559 char *kwnames[] = {
29560 (char *) "self", NULL
29561 };
29562
29563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
29564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29566 {
29567 PyThreadState* __tstate = wxPyBeginAllowThreads();
29568 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
29569
29570 wxPyEndAllowThreads(__tstate);
29571 if (PyErr_Occurred()) SWIG_fail;
29572 }
29573 {
29574 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29575 }
29576 return resultobj;
29577 fail:
29578 return NULL;
29579}
29580
29581
29582static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
29583 PyObject *resultobj;
29584 wxPyControl *arg1 = (wxPyControl *) 0 ;
29585 bool result;
29586 PyObject * obj0 = 0 ;
29587 char *kwnames[] = {
29588 (char *) "self", NULL
29589 };
29590
29591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
29592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29594 {
29595 PyThreadState* __tstate = wxPyBeginAllowThreads();
29596 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
29597
29598 wxPyEndAllowThreads(__tstate);
29599 if (PyErr_Occurred()) SWIG_fail;
29600 }
29601 {
29602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29603 }
29604 return resultobj;
29605 fail:
29606 return NULL;
29607}
29608
29609
29610static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
29611 PyObject *resultobj;
29612 wxPyControl *arg1 = (wxPyControl *) 0 ;
29613 wxSize result;
29614 PyObject * obj0 = 0 ;
29615 char *kwnames[] = {
29616 (char *) "self", NULL
29617 };
29618
29619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
29620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29622 {
29623 PyThreadState* __tstate = wxPyBeginAllowThreads();
29624 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
29625
29626 wxPyEndAllowThreads(__tstate);
29627 if (PyErr_Occurred()) SWIG_fail;
29628 }
29629 {
29630 wxSize * resultptr;
29631 resultptr = new wxSize((wxSize &) result);
29632 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
29633 }
29634 return resultobj;
29635 fail:
29636 return NULL;
29637}
29638
29639
29640static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29641 PyObject *resultobj;
29642 wxPyControl *arg1 = (wxPyControl *) 0 ;
29643 wxWindow *arg2 = (wxWindow *) 0 ;
29644 PyObject * obj0 = 0 ;
29645 PyObject * obj1 = 0 ;
29646 char *kwnames[] = {
29647 (char *) "self",(char *) "child", NULL
29648 };
29649
29650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
29651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29655 {
29656 PyThreadState* __tstate = wxPyBeginAllowThreads();
29657 (arg1)->base_AddChild(arg2);
29658
29659 wxPyEndAllowThreads(__tstate);
29660 if (PyErr_Occurred()) SWIG_fail;
29661 }
29662 Py_INCREF(Py_None); resultobj = Py_None;
29663 return resultobj;
29664 fail:
29665 return NULL;
29666}
29667
29668
29669static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
29670 PyObject *resultobj;
29671 wxPyControl *arg1 = (wxPyControl *) 0 ;
29672 wxWindow *arg2 = (wxWindow *) 0 ;
29673 PyObject * obj0 = 0 ;
29674 PyObject * obj1 = 0 ;
29675 char *kwnames[] = {
29676 (char *) "self",(char *) "child", NULL
29677 };
29678
29679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
29680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29684 {
29685 PyThreadState* __tstate = wxPyBeginAllowThreads();
29686 (arg1)->base_RemoveChild(arg2);
29687
29688 wxPyEndAllowThreads(__tstate);
29689 if (PyErr_Occurred()) SWIG_fail;
29690 }
29691 Py_INCREF(Py_None); resultobj = Py_None;
29692 return resultobj;
29693 fail:
29694 return NULL;
29695}
29696
29697
29698static PyObject *_wrap_PyControl_base_ShouldInheritColours(PyObject *self, PyObject *args, PyObject *kwargs) {
29699 PyObject *resultobj;
29700 wxPyControl *arg1 = (wxPyControl *) 0 ;
29701 bool result;
29702 PyObject * obj0 = 0 ;
29703 char *kwnames[] = {
29704 (char *) "self", NULL
29705 };
29706
29707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_ShouldInheritColours",kwnames,&obj0)) goto fail;
29708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29710 {
29711 PyThreadState* __tstate = wxPyBeginAllowThreads();
caef1a4d 29712 result = (bool)((wxPyControl const *)arg1)->base_ShouldInheritColours();
d55e5bfc
RD
29713
29714 wxPyEndAllowThreads(__tstate);
29715 if (PyErr_Occurred()) SWIG_fail;
29716 }
29717 {
29718 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29719 }
29720 return resultobj;
29721 fail:
29722 return NULL;
29723}
29724
29725
29726static PyObject *_wrap_PyControl_base_ApplyParentThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
29727 PyObject *resultobj;
29728 wxPyControl *arg1 = (wxPyControl *) 0 ;
29729 wxColour *arg2 = 0 ;
29730 wxColour temp2 ;
29731 PyObject * obj0 = 0 ;
29732 PyObject * obj1 = 0 ;
29733 char *kwnames[] = {
29734 (char *) "self",(char *) "c", NULL
29735 };
29736
29737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames,&obj0,&obj1)) goto fail;
29738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29740 {
29741 arg2 = &temp2;
29742 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
29743 }
29744 {
29745 PyThreadState* __tstate = wxPyBeginAllowThreads();
29746 (arg1)->base_ApplyParentThemeBackground((wxColour const &)*arg2);
29747
29748 wxPyEndAllowThreads(__tstate);
29749 if (PyErr_Occurred()) SWIG_fail;
29750 }
29751 Py_INCREF(Py_None); resultobj = Py_None;
29752 return resultobj;
29753 fail:
29754 return NULL;
29755}
29756
29757
caef1a4d
RD
29758static PyObject *_wrap_PyControl_base_GetDefaultAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
29759 PyObject *resultobj;
29760 wxPyControl *arg1 = (wxPyControl *) 0 ;
29761 wxVisualAttributes result;
29762 PyObject * obj0 = 0 ;
29763 char *kwnames[] = {
29764 (char *) "self", NULL
29765 };
29766
29767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames,&obj0)) goto fail;
29768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyControl,
29769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29770 {
29771 PyThreadState* __tstate = wxPyBeginAllowThreads();
29772 result = (arg1)->base_GetDefaultAttributes();
29773
29774 wxPyEndAllowThreads(__tstate);
29775 if (PyErr_Occurred()) SWIG_fail;
29776 }
29777 {
29778 wxVisualAttributes * resultptr;
29779 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
29780 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
29781 }
29782 return resultobj;
29783 fail:
29784 return NULL;
29785}
29786
29787
d55e5bfc
RD
29788static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
29789 PyObject *obj;
29790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29791 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
29792 Py_INCREF(obj);
29793 return Py_BuildValue((char *)"");
29794}
29795static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
29796 PyObject *resultobj;
29797 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
29798 int arg2 = (int) 0 ;
29799 wxPoint const &arg3_defvalue = wxDefaultPosition ;
29800 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
29801 wxHelpEvent *result;
29802 wxPoint temp3 ;
29803 PyObject * obj0 = 0 ;
29804 PyObject * obj1 = 0 ;
29805 PyObject * obj2 = 0 ;
29806 char *kwnames[] = {
29807 (char *) "type",(char *) "winid",(char *) "pt", NULL
29808 };
29809
29810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
29811 if (obj0) {
29812 arg1 = (wxEventType) SWIG_AsInt(obj0);
29813 if (PyErr_Occurred()) SWIG_fail;
29814 }
29815 if (obj1) {
29816 arg2 = (int) SWIG_AsInt(obj1);
29817 if (PyErr_Occurred()) SWIG_fail;
29818 }
29819 if (obj2) {
29820 {
29821 arg3 = &temp3;
29822 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29823 }
29824 }
29825 {
29826 PyThreadState* __tstate = wxPyBeginAllowThreads();
29827 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
29828
29829 wxPyEndAllowThreads(__tstate);
29830 if (PyErr_Occurred()) SWIG_fail;
29831 }
29832 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpEvent, 1);
29833 return resultobj;
29834 fail:
29835 return NULL;
29836}
29837
29838
29839static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29840 PyObject *resultobj;
29841 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29842 wxPoint result;
29843 PyObject * obj0 = 0 ;
29844 char *kwnames[] = {
29845 (char *) "self", NULL
29846 };
29847
29848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
29849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29851 {
29852 PyThreadState* __tstate = wxPyBeginAllowThreads();
29853 result = ((wxHelpEvent const *)arg1)->GetPosition();
29854
29855 wxPyEndAllowThreads(__tstate);
29856 if (PyErr_Occurred()) SWIG_fail;
29857 }
29858 {
29859 wxPoint * resultptr;
29860 resultptr = new wxPoint((wxPoint &) result);
29861 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
29862 }
29863 return resultobj;
29864 fail:
29865 return NULL;
29866}
29867
29868
29869static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29870 PyObject *resultobj;
29871 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29872 wxPoint *arg2 = 0 ;
29873 wxPoint temp2 ;
29874 PyObject * obj0 = 0 ;
29875 PyObject * obj1 = 0 ;
29876 char *kwnames[] = {
29877 (char *) "self",(char *) "pos", NULL
29878 };
29879
29880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
29881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29883 {
29884 arg2 = &temp2;
29885 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29886 }
29887 {
29888 PyThreadState* __tstate = wxPyBeginAllowThreads();
29889 (arg1)->SetPosition((wxPoint const &)*arg2);
29890
29891 wxPyEndAllowThreads(__tstate);
29892 if (PyErr_Occurred()) SWIG_fail;
29893 }
29894 Py_INCREF(Py_None); resultobj = Py_None;
29895 return resultobj;
29896 fail:
29897 return NULL;
29898}
29899
29900
29901static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29902 PyObject *resultobj;
29903 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29904 wxString *result;
29905 PyObject * obj0 = 0 ;
29906 char *kwnames[] = {
29907 (char *) "self", NULL
29908 };
29909
29910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
29911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29913 {
29914 PyThreadState* __tstate = wxPyBeginAllowThreads();
29915 {
29916 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
29917 result = (wxString *) &_result_ref;
29918 }
29919
29920 wxPyEndAllowThreads(__tstate);
29921 if (PyErr_Occurred()) SWIG_fail;
29922 }
29923 {
29924#if wxUSE_UNICODE
29925 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
29926#else
29927 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
29928#endif
29929 }
29930 return resultobj;
29931 fail:
29932 return NULL;
29933}
29934
29935
29936static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
29937 PyObject *resultobj;
29938 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29939 wxString *arg2 = 0 ;
29940 bool temp2 = False ;
29941 PyObject * obj0 = 0 ;
29942 PyObject * obj1 = 0 ;
29943 char *kwnames[] = {
29944 (char *) "self",(char *) "link", NULL
29945 };
29946
29947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
29948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29950 {
29951 arg2 = wxString_in_helper(obj1);
29952 if (arg2 == NULL) SWIG_fail;
29953 temp2 = True;
29954 }
29955 {
29956 PyThreadState* __tstate = wxPyBeginAllowThreads();
29957 (arg1)->SetLink((wxString const &)*arg2);
29958
29959 wxPyEndAllowThreads(__tstate);
29960 if (PyErr_Occurred()) SWIG_fail;
29961 }
29962 Py_INCREF(Py_None); resultobj = Py_None;
29963 {
29964 if (temp2)
29965 delete arg2;
29966 }
29967 return resultobj;
29968 fail:
29969 {
29970 if (temp2)
29971 delete arg2;
29972 }
29973 return NULL;
29974}
29975
29976
29977static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
29978 PyObject *resultobj;
29979 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
29980 wxString *result;
29981 PyObject * obj0 = 0 ;
29982 char *kwnames[] = {
29983 (char *) "self", NULL
29984 };
29985
29986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
29987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
29988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29989 {
29990 PyThreadState* __tstate = wxPyBeginAllowThreads();
29991 {
29992 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
29993 result = (wxString *) &_result_ref;
29994 }
29995
29996 wxPyEndAllowThreads(__tstate);
29997 if (PyErr_Occurred()) SWIG_fail;
29998 }
29999 {
30000#if wxUSE_UNICODE
30001 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30002#else
30003 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30004#endif
30005 }
30006 return resultobj;
30007 fail:
30008 return NULL;
30009}
30010
30011
30012static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
30013 PyObject *resultobj;
30014 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
30015 wxString *arg2 = 0 ;
30016 bool temp2 = False ;
30017 PyObject * obj0 = 0 ;
30018 PyObject * obj1 = 0 ;
30019 char *kwnames[] = {
30020 (char *) "self",(char *) "target", NULL
30021 };
30022
30023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
30024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpEvent,
30025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30026 {
30027 arg2 = wxString_in_helper(obj1);
30028 if (arg2 == NULL) SWIG_fail;
30029 temp2 = True;
30030 }
30031 {
30032 PyThreadState* __tstate = wxPyBeginAllowThreads();
30033 (arg1)->SetTarget((wxString const &)*arg2);
30034
30035 wxPyEndAllowThreads(__tstate);
30036 if (PyErr_Occurred()) SWIG_fail;
30037 }
30038 Py_INCREF(Py_None); resultobj = Py_None;
30039 {
30040 if (temp2)
30041 delete arg2;
30042 }
30043 return resultobj;
30044 fail:
30045 {
30046 if (temp2)
30047 delete arg2;
30048 }
30049 return NULL;
30050}
30051
30052
30053static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
30054 PyObject *obj;
30055 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30056 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
30057 Py_INCREF(obj);
30058 return Py_BuildValue((char *)"");
30059}
30060static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30061 PyObject *resultobj;
30062 wxWindow *arg1 = (wxWindow *) NULL ;
30063 bool arg2 = (bool) True ;
30064 wxContextHelp *result;
30065 PyObject * obj0 = 0 ;
30066 PyObject * obj1 = 0 ;
30067 char *kwnames[] = {
30068 (char *) "window",(char *) "doNow", NULL
30069 };
30070
30071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
30072 if (obj0) {
30073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30075 }
30076 if (obj1) {
30077 arg2 = (bool) SWIG_AsBool(obj1);
30078 if (PyErr_Occurred()) SWIG_fail;
30079 }
30080 {
30081 PyThreadState* __tstate = wxPyBeginAllowThreads();
30082 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
30083
30084 wxPyEndAllowThreads(__tstate);
30085 if (PyErr_Occurred()) SWIG_fail;
30086 }
30087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelp, 1);
30088 return resultobj;
30089 fail:
30090 return NULL;
30091}
30092
30093
30094static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30095 PyObject *resultobj;
30096 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30097 PyObject * obj0 = 0 ;
30098 char *kwnames[] = {
30099 (char *) "self", NULL
30100 };
30101
30102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
30103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30105 {
30106 PyThreadState* __tstate = wxPyBeginAllowThreads();
30107 delete arg1;
30108
30109 wxPyEndAllowThreads(__tstate);
30110 if (PyErr_Occurred()) SWIG_fail;
30111 }
30112 Py_INCREF(Py_None); resultobj = Py_None;
30113 return resultobj;
30114 fail:
30115 return NULL;
30116}
30117
30118
30119static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30120 PyObject *resultobj;
30121 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30122 wxWindow *arg2 = (wxWindow *) NULL ;
30123 bool result;
30124 PyObject * obj0 = 0 ;
30125 PyObject * obj1 = 0 ;
30126 char *kwnames[] = {
30127 (char *) "self",(char *) "window", NULL
30128 };
30129
30130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
30131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30133 if (obj1) {
30134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30136 }
30137 {
30138 PyThreadState* __tstate = wxPyBeginAllowThreads();
30139 result = (bool)(arg1)->BeginContextHelp(arg2);
30140
30141 wxPyEndAllowThreads(__tstate);
30142 if (PyErr_Occurred()) SWIG_fail;
30143 }
30144 {
30145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30146 }
30147 return resultobj;
30148 fail:
30149 return NULL;
30150}
30151
30152
30153static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30154 PyObject *resultobj;
30155 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
30156 bool result;
30157 PyObject * obj0 = 0 ;
30158 char *kwnames[] = {
30159 (char *) "self", NULL
30160 };
30161
30162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
30163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextHelp,
30164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30165 {
30166 PyThreadState* __tstate = wxPyBeginAllowThreads();
30167 result = (bool)(arg1)->EndContextHelp();
30168
30169 wxPyEndAllowThreads(__tstate);
30170 if (PyErr_Occurred()) SWIG_fail;
30171 }
30172 {
30173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30174 }
30175 return resultobj;
30176 fail:
30177 return NULL;
30178}
30179
30180
30181static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
30182 PyObject *obj;
30183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30184 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
30185 Py_INCREF(obj);
30186 return Py_BuildValue((char *)"");
30187}
30188static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
30189 PyObject *resultobj;
30190 wxWindow *arg1 = (wxWindow *) 0 ;
30191 int arg2 = (int) wxID_CONTEXT_HELP ;
30192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
30193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
30194 wxSize const &arg4_defvalue = wxDefaultSize ;
30195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
30196 long arg5 = (long) wxBU_AUTODRAW ;
30197 wxContextHelpButton *result;
30198 wxPoint temp3 ;
30199 wxSize temp4 ;
30200 PyObject * obj0 = 0 ;
30201 PyObject * obj1 = 0 ;
30202 PyObject * obj2 = 0 ;
30203 PyObject * obj3 = 0 ;
30204 PyObject * obj4 = 0 ;
30205 char *kwnames[] = {
30206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30207 };
30208
30209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
30211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30212 if (obj1) {
30213 arg2 = (int) SWIG_AsInt(obj1);
30214 if (PyErr_Occurred()) SWIG_fail;
30215 }
30216 if (obj2) {
30217 {
30218 arg3 = &temp3;
30219 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
30220 }
30221 }
30222 if (obj3) {
30223 {
30224 arg4 = &temp4;
30225 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
30226 }
30227 }
30228 if (obj4) {
30229 arg5 = (long) SWIG_AsLong(obj4);
30230 if (PyErr_Occurred()) SWIG_fail;
30231 }
30232 {
30233 PyThreadState* __tstate = wxPyBeginAllowThreads();
30234 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
30235
30236 wxPyEndAllowThreads(__tstate);
30237 if (PyErr_Occurred()) SWIG_fail;
30238 }
30239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextHelpButton, 1);
30240 return resultobj;
30241 fail:
30242 return NULL;
30243}
30244
30245
30246static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
30247 PyObject *obj;
30248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30249 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
30250 Py_INCREF(obj);
30251 return Py_BuildValue((char *)"");
30252}
30253static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
30254 PyObject *resultobj;
30255 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30256 wxHelpProvider *result;
30257 PyObject * obj0 = 0 ;
30258 char *kwnames[] = {
30259 (char *) "helpProvider", NULL
30260 };
30261
30262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
30263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30265 {
30266 PyThreadState* __tstate = wxPyBeginAllowThreads();
30267 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
30268
30269 wxPyEndAllowThreads(__tstate);
30270 if (PyErr_Occurred()) SWIG_fail;
30271 }
30272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30273 return resultobj;
30274 fail:
30275 return NULL;
30276}
30277
30278
30279static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
30280 PyObject *resultobj;
30281 wxHelpProvider *result;
30282 char *kwnames[] = {
30283 NULL
30284 };
30285
30286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
30287 {
30288 PyThreadState* __tstate = wxPyBeginAllowThreads();
30289 result = (wxHelpProvider *)wxHelpProvider::Get();
30290
30291 wxPyEndAllowThreads(__tstate);
30292 if (PyErr_Occurred()) SWIG_fail;
30293 }
30294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxHelpProvider, 0);
30295 return resultobj;
30296 fail:
30297 return NULL;
30298}
30299
30300
30301static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30302 PyObject *resultobj;
30303 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30304 wxWindow *arg2 = (wxWindow *) 0 ;
30305 wxString result;
30306 PyObject * obj0 = 0 ;
30307 PyObject * obj1 = 0 ;
30308 char *kwnames[] = {
30309 (char *) "self",(char *) "window", NULL
30310 };
30311
30312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
30313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30317 {
30318 PyThreadState* __tstate = wxPyBeginAllowThreads();
30319 result = (arg1)->GetHelp((wxWindow const *)arg2);
30320
30321 wxPyEndAllowThreads(__tstate);
30322 if (PyErr_Occurred()) SWIG_fail;
30323 }
30324 {
30325#if wxUSE_UNICODE
30326 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30327#else
30328 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30329#endif
30330 }
30331 return resultobj;
30332 fail:
30333 return NULL;
30334}
30335
30336
30337static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30338 PyObject *resultobj;
30339 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30340 wxWindow *arg2 = (wxWindow *) 0 ;
30341 bool result;
30342 PyObject * obj0 = 0 ;
30343 PyObject * obj1 = 0 ;
30344 char *kwnames[] = {
30345 (char *) "self",(char *) "window", NULL
30346 };
30347
30348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
30349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30353 {
30354 PyThreadState* __tstate = wxPyBeginAllowThreads();
30355 result = (bool)(arg1)->ShowHelp(arg2);
30356
30357 wxPyEndAllowThreads(__tstate);
30358 if (PyErr_Occurred()) SWIG_fail;
30359 }
30360 {
30361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30362 }
30363 return resultobj;
30364 fail:
30365 return NULL;
30366}
30367
30368
30369static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30370 PyObject *resultobj;
30371 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30372 wxWindow *arg2 = (wxWindow *) 0 ;
30373 wxString *arg3 = 0 ;
30374 bool temp3 = False ;
30375 PyObject * obj0 = 0 ;
30376 PyObject * obj1 = 0 ;
30377 PyObject * obj2 = 0 ;
30378 char *kwnames[] = {
30379 (char *) "self",(char *) "window",(char *) "text", NULL
30380 };
30381
30382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
30383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30385 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30387 {
30388 arg3 = wxString_in_helper(obj2);
30389 if (arg3 == NULL) SWIG_fail;
30390 temp3 = True;
30391 }
30392 {
30393 PyThreadState* __tstate = wxPyBeginAllowThreads();
30394 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30395
30396 wxPyEndAllowThreads(__tstate);
30397 if (PyErr_Occurred()) SWIG_fail;
30398 }
30399 Py_INCREF(Py_None); resultobj = Py_None;
30400 {
30401 if (temp3)
30402 delete arg3;
30403 }
30404 return resultobj;
30405 fail:
30406 {
30407 if (temp3)
30408 delete arg3;
30409 }
30410 return NULL;
30411}
30412
30413
30414static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
30415 PyObject *resultobj;
30416 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30417 int arg2 ;
30418 wxString *arg3 = 0 ;
30419 bool temp3 = False ;
30420 PyObject * obj0 = 0 ;
30421 PyObject * obj1 = 0 ;
30422 PyObject * obj2 = 0 ;
30423 char *kwnames[] = {
30424 (char *) "self",(char *) "id",(char *) "text", NULL
30425 };
30426
30427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
30428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30430 arg2 = (int) SWIG_AsInt(obj1);
30431 if (PyErr_Occurred()) SWIG_fail;
30432 {
30433 arg3 = wxString_in_helper(obj2);
30434 if (arg3 == NULL) SWIG_fail;
30435 temp3 = True;
30436 }
30437 {
30438 PyThreadState* __tstate = wxPyBeginAllowThreads();
30439 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
30440
30441 wxPyEndAllowThreads(__tstate);
30442 if (PyErr_Occurred()) SWIG_fail;
30443 }
30444 Py_INCREF(Py_None); resultobj = Py_None;
30445 {
30446 if (temp3)
30447 delete arg3;
30448 }
30449 return resultobj;
30450 fail:
30451 {
30452 if (temp3)
30453 delete arg3;
30454 }
30455 return NULL;
30456}
30457
30458
30459static PyObject *_wrap_HelpProvider_RemoveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
30460 PyObject *resultobj;
30461 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30462 wxWindow *arg2 = (wxWindow *) 0 ;
30463 PyObject * obj0 = 0 ;
30464 PyObject * obj1 = 0 ;
30465 char *kwnames[] = {
30466 (char *) "self",(char *) "window", NULL
30467 };
30468
30469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_RemoveHelp",kwnames,&obj0,&obj1)) goto fail;
30470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30474 {
30475 PyThreadState* __tstate = wxPyBeginAllowThreads();
30476 (arg1)->RemoveHelp(arg2);
30477
30478 wxPyEndAllowThreads(__tstate);
30479 if (PyErr_Occurred()) SWIG_fail;
30480 }
30481 Py_INCREF(Py_None); resultobj = Py_None;
30482 return resultobj;
30483 fail:
30484 return NULL;
30485}
30486
30487
30488static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
30489 PyObject *resultobj;
30490 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
30491 PyObject * obj0 = 0 ;
30492 char *kwnames[] = {
30493 (char *) "self", NULL
30494 };
30495
30496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
30497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxHelpProvider,
30498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30499 {
30500 PyThreadState* __tstate = wxPyBeginAllowThreads();
30501 wxHelpProvider_Destroy(arg1);
30502
30503 wxPyEndAllowThreads(__tstate);
30504 if (PyErr_Occurred()) SWIG_fail;
30505 }
30506 Py_INCREF(Py_None); resultobj = Py_None;
30507 return resultobj;
30508 fail:
30509 return NULL;
30510}
30511
30512
30513static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
30514 PyObject *obj;
30515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30516 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
30517 Py_INCREF(obj);
30518 return Py_BuildValue((char *)"");
30519}
30520static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
30521 PyObject *resultobj;
30522 wxSimpleHelpProvider *result;
30523 char *kwnames[] = {
30524 NULL
30525 };
30526
30527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
30528 {
30529 PyThreadState* __tstate = wxPyBeginAllowThreads();
30530 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
30531
30532 wxPyEndAllowThreads(__tstate);
30533 if (PyErr_Occurred()) SWIG_fail;
30534 }
30535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSimpleHelpProvider, 1);
30536 return resultobj;
30537 fail:
30538 return NULL;
30539}
30540
30541
30542static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
30543 PyObject *obj;
30544 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30545 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
30546 Py_INCREF(obj);
30547 return Py_BuildValue((char *)"");
30548}
30549static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30550 PyObject *resultobj;
30551 wxBitmap *arg1 = 0 ;
30552 wxCursor const &arg2_defvalue = wxNullCursor ;
30553 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30554 wxGenericDragImage *result;
30555 PyObject * obj0 = 0 ;
30556 PyObject * obj1 = 0 ;
30557 char *kwnames[] = {
30558 (char *) "image",(char *) "cursor", NULL
30559 };
30560
30561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
30562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
30563 SWIG_POINTER_EXCEPTION | 0)) == -1)
30564 SWIG_fail;
30565 if (arg1 == NULL) {
30566 PyErr_SetString(PyExc_TypeError,"null reference");
30567 SWIG_fail;
30568 }
30569 if (obj1) {
30570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30571 SWIG_POINTER_EXCEPTION | 0)) == -1)
30572 SWIG_fail;
30573 if (arg2 == NULL) {
30574 PyErr_SetString(PyExc_TypeError,"null reference");
30575 SWIG_fail;
30576 }
30577 }
30578 {
30579 PyThreadState* __tstate = wxPyBeginAllowThreads();
30580 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
30581
30582 wxPyEndAllowThreads(__tstate);
30583 if (PyErr_Occurred()) SWIG_fail;
30584 }
30585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30586 return resultobj;
30587 fail:
30588 return NULL;
30589}
30590
30591
30592static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
30593 PyObject *resultobj;
30594 wxIcon *arg1 = 0 ;
30595 wxCursor const &arg2_defvalue = wxNullCursor ;
30596 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30597 wxGenericDragImage *result;
30598 PyObject * obj0 = 0 ;
30599 PyObject * obj1 = 0 ;
30600 char *kwnames[] = {
30601 (char *) "image",(char *) "cursor", NULL
30602 };
30603
30604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
30605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIcon,
30606 SWIG_POINTER_EXCEPTION | 0)) == -1)
30607 SWIG_fail;
30608 if (arg1 == NULL) {
30609 PyErr_SetString(PyExc_TypeError,"null reference");
30610 SWIG_fail;
30611 }
30612 if (obj1) {
30613 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30614 SWIG_POINTER_EXCEPTION | 0)) == -1)
30615 SWIG_fail;
30616 if (arg2 == NULL) {
30617 PyErr_SetString(PyExc_TypeError,"null reference");
30618 SWIG_fail;
30619 }
30620 }
30621 {
30622 PyThreadState* __tstate = wxPyBeginAllowThreads();
30623 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
30624
30625 wxPyEndAllowThreads(__tstate);
30626 if (PyErr_Occurred()) SWIG_fail;
30627 }
30628 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30629 return resultobj;
30630 fail:
30631 return NULL;
30632}
30633
30634
30635static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
30636 PyObject *resultobj;
30637 wxString *arg1 = 0 ;
30638 wxCursor const &arg2_defvalue = wxNullCursor ;
30639 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
30640 wxGenericDragImage *result;
30641 bool temp1 = False ;
30642 PyObject * obj0 = 0 ;
30643 PyObject * obj1 = 0 ;
30644 char *kwnames[] = {
30645 (char *) "str",(char *) "cursor", NULL
30646 };
30647
30648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
30649 {
30650 arg1 = wxString_in_helper(obj0);
30651 if (arg1 == NULL) SWIG_fail;
30652 temp1 = True;
30653 }
30654 if (obj1) {
30655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
30656 SWIG_POINTER_EXCEPTION | 0)) == -1)
30657 SWIG_fail;
30658 if (arg2 == NULL) {
30659 PyErr_SetString(PyExc_TypeError,"null reference");
30660 SWIG_fail;
30661 }
30662 }
30663 {
30664 PyThreadState* __tstate = wxPyBeginAllowThreads();
30665 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
30666
30667 wxPyEndAllowThreads(__tstate);
30668 if (PyErr_Occurred()) SWIG_fail;
30669 }
30670 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30671 {
30672 if (temp1)
30673 delete arg1;
30674 }
30675 return resultobj;
30676 fail:
30677 {
30678 if (temp1)
30679 delete arg1;
30680 }
30681 return NULL;
30682}
30683
30684
30685static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30686 PyObject *resultobj;
30687 wxPyTreeCtrl *arg1 = 0 ;
30688 wxTreeItemId *arg2 = 0 ;
30689 wxGenericDragImage *result;
30690 PyObject * obj0 = 0 ;
30691 PyObject * obj1 = 0 ;
30692 char *kwnames[] = {
30693 (char *) "treeCtrl",(char *) "id", NULL
30694 };
30695
30696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
30697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyTreeCtrl,
30698 SWIG_POINTER_EXCEPTION | 0)) == -1)
30699 SWIG_fail;
30700 if (arg1 == NULL) {
30701 PyErr_SetString(PyExc_TypeError,"null reference");
30702 SWIG_fail;
30703 }
30704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxTreeItemId,
30705 SWIG_POINTER_EXCEPTION | 0)) == -1)
30706 SWIG_fail;
30707 if (arg2 == NULL) {
30708 PyErr_SetString(PyExc_TypeError,"null reference");
30709 SWIG_fail;
30710 }
30711 {
30712 PyThreadState* __tstate = wxPyBeginAllowThreads();
30713 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
30714
30715 wxPyEndAllowThreads(__tstate);
30716 if (PyErr_Occurred()) SWIG_fail;
30717 }
30718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30719 return resultobj;
30720 fail:
30721 return NULL;
30722}
30723
30724
30725static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30726 PyObject *resultobj;
30727 wxPyListCtrl *arg1 = 0 ;
30728 long arg2 ;
30729 wxGenericDragImage *result;
30730 PyObject * obj0 = 0 ;
30731 PyObject * obj1 = 0 ;
30732 char *kwnames[] = {
30733 (char *) "listCtrl",(char *) "id", NULL
30734 };
30735
30736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
30737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyListCtrl,
30738 SWIG_POINTER_EXCEPTION | 0)) == -1)
30739 SWIG_fail;
30740 if (arg1 == NULL) {
30741 PyErr_SetString(PyExc_TypeError,"null reference");
30742 SWIG_fail;
30743 }
30744 arg2 = (long) SWIG_AsLong(obj1);
30745 if (PyErr_Occurred()) SWIG_fail;
30746 {
30747 PyThreadState* __tstate = wxPyBeginAllowThreads();
30748 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
30749
30750 wxPyEndAllowThreads(__tstate);
30751 if (PyErr_Occurred()) SWIG_fail;
30752 }
30753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGenericDragImage, 1);
30754 return resultobj;
30755 fail:
30756 return NULL;
30757}
30758
30759
30760static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
30761 PyObject *resultobj;
30762 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30763 PyObject * obj0 = 0 ;
30764 char *kwnames[] = {
30765 (char *) "self", NULL
30766 };
30767
30768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
30769 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30770 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30771 {
30772 PyThreadState* __tstate = wxPyBeginAllowThreads();
30773 delete arg1;
30774
30775 wxPyEndAllowThreads(__tstate);
30776 if (PyErr_Occurred()) SWIG_fail;
30777 }
30778 Py_INCREF(Py_None); resultobj = Py_None;
30779 return resultobj;
30780 fail:
30781 return NULL;
30782}
30783
30784
30785static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
30786 PyObject *resultobj;
30787 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30788 wxBitmap *arg2 = (wxBitmap *) 0 ;
30789 PyObject * obj0 = 0 ;
30790 PyObject * obj1 = 0 ;
30791 char *kwnames[] = {
30792 (char *) "self",(char *) "bitmap", NULL
30793 };
30794
30795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
30796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30798 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
30799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30800 {
30801 PyThreadState* __tstate = wxPyBeginAllowThreads();
30802 (arg1)->SetBackingBitmap(arg2);
30803
30804 wxPyEndAllowThreads(__tstate);
30805 if (PyErr_Occurred()) SWIG_fail;
30806 }
30807 Py_INCREF(Py_None); resultobj = Py_None;
30808 return resultobj;
30809 fail:
30810 return NULL;
30811}
30812
30813
30814static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30815 PyObject *resultobj;
30816 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30817 wxPoint *arg2 = 0 ;
30818 wxWindow *arg3 = (wxWindow *) 0 ;
30819 bool arg4 = (bool) False ;
30820 wxRect *arg5 = (wxRect *) NULL ;
30821 bool result;
30822 wxPoint temp2 ;
30823 PyObject * obj0 = 0 ;
30824 PyObject * obj1 = 0 ;
30825 PyObject * obj2 = 0 ;
30826 PyObject * obj3 = 0 ;
30827 PyObject * obj4 = 0 ;
30828 char *kwnames[] = {
30829 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30830 };
30831
30832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
30833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30835 {
30836 arg2 = &temp2;
30837 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30838 }
30839 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30841 if (obj3) {
30842 arg4 = (bool) SWIG_AsBool(obj3);
30843 if (PyErr_Occurred()) SWIG_fail;
30844 }
30845 if (obj4) {
30846 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxRect,
30847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30848 }
30849 {
30850 PyThreadState* __tstate = wxPyBeginAllowThreads();
30851 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
30852
30853 wxPyEndAllowThreads(__tstate);
30854 if (PyErr_Occurred()) SWIG_fail;
30855 }
30856 {
30857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30858 }
30859 return resultobj;
30860 fail:
30861 return NULL;
30862}
30863
30864
30865static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
30866 PyObject *resultobj;
30867 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30868 wxPoint *arg2 = 0 ;
30869 wxWindow *arg3 = (wxWindow *) 0 ;
30870 wxWindow *arg4 = (wxWindow *) 0 ;
30871 bool result;
30872 wxPoint temp2 ;
30873 PyObject * obj0 = 0 ;
30874 PyObject * obj1 = 0 ;
30875 PyObject * obj2 = 0 ;
30876 PyObject * obj3 = 0 ;
30877 char *kwnames[] = {
30878 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30879 };
30880
30881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
30882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30884 {
30885 arg2 = &temp2;
30886 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30887 }
30888 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
30889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30890 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
30891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30892 {
30893 PyThreadState* __tstate = wxPyBeginAllowThreads();
30894 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
30895
30896 wxPyEndAllowThreads(__tstate);
30897 if (PyErr_Occurred()) SWIG_fail;
30898 }
30899 {
30900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30901 }
30902 return resultobj;
30903 fail:
30904 return NULL;
30905}
30906
30907
30908static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
30909 PyObject *resultobj;
30910 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30911 bool result;
30912 PyObject * obj0 = 0 ;
30913 char *kwnames[] = {
30914 (char *) "self", NULL
30915 };
30916
30917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
30918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30920 {
30921 PyThreadState* __tstate = wxPyBeginAllowThreads();
30922 result = (bool)(arg1)->EndDrag();
30923
30924 wxPyEndAllowThreads(__tstate);
30925 if (PyErr_Occurred()) SWIG_fail;
30926 }
30927 {
30928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30929 }
30930 return resultobj;
30931 fail:
30932 return NULL;
30933}
30934
30935
30936static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
30937 PyObject *resultobj;
30938 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30939 wxPoint *arg2 = 0 ;
30940 bool result;
30941 wxPoint temp2 ;
30942 PyObject * obj0 = 0 ;
30943 PyObject * obj1 = 0 ;
30944 char *kwnames[] = {
30945 (char *) "self",(char *) "pt", NULL
30946 };
30947
30948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
30949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30951 {
30952 arg2 = &temp2;
30953 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
30954 }
30955 {
30956 PyThreadState* __tstate = wxPyBeginAllowThreads();
30957 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
30958
30959 wxPyEndAllowThreads(__tstate);
30960 if (PyErr_Occurred()) SWIG_fail;
30961 }
30962 {
30963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30964 }
30965 return resultobj;
30966 fail:
30967 return NULL;
30968}
30969
30970
30971static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
30972 PyObject *resultobj;
30973 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
30974 bool result;
30975 PyObject * obj0 = 0 ;
30976 char *kwnames[] = {
30977 (char *) "self", NULL
30978 };
30979
30980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
30981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
30982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30983 {
30984 PyThreadState* __tstate = wxPyBeginAllowThreads();
30985 result = (bool)(arg1)->Show();
30986
30987 wxPyEndAllowThreads(__tstate);
30988 if (PyErr_Occurred()) SWIG_fail;
30989 }
30990 {
30991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30992 }
30993 return resultobj;
30994 fail:
30995 return NULL;
30996}
30997
30998
30999static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
31000 PyObject *resultobj;
31001 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31002 bool result;
31003 PyObject * obj0 = 0 ;
31004 char *kwnames[] = {
31005 (char *) "self", NULL
31006 };
31007
31008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
31009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31011 {
31012 PyThreadState* __tstate = wxPyBeginAllowThreads();
31013 result = (bool)(arg1)->Hide();
31014
31015 wxPyEndAllowThreads(__tstate);
31016 if (PyErr_Occurred()) SWIG_fail;
31017 }
31018 {
31019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31020 }
31021 return resultobj;
31022 fail:
31023 return NULL;
31024}
31025
31026
31027static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
31028 PyObject *resultobj;
31029 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31030 wxPoint *arg2 = 0 ;
31031 wxRect result;
31032 wxPoint temp2 ;
31033 PyObject * obj0 = 0 ;
31034 PyObject * obj1 = 0 ;
31035 char *kwnames[] = {
31036 (char *) "self",(char *) "pos", NULL
31037 };
31038
31039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
31040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31042 {
31043 arg2 = &temp2;
31044 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31045 }
31046 {
31047 PyThreadState* __tstate = wxPyBeginAllowThreads();
31048 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
31049
31050 wxPyEndAllowThreads(__tstate);
31051 if (PyErr_Occurred()) SWIG_fail;
31052 }
31053 {
31054 wxRect * resultptr;
31055 resultptr = new wxRect((wxRect &) result);
31056 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
31057 }
31058 return resultobj;
31059 fail:
31060 return NULL;
31061}
31062
31063
31064static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31065 PyObject *resultobj;
31066 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31067 wxDC *arg2 = 0 ;
31068 wxPoint *arg3 = 0 ;
31069 bool result;
31070 wxPoint temp3 ;
31071 PyObject * obj0 = 0 ;
31072 PyObject * obj1 = 0 ;
31073 PyObject * obj2 = 0 ;
31074 char *kwnames[] = {
31075 (char *) "self",(char *) "dc",(char *) "pos", NULL
31076 };
31077
31078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
31079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31082 SWIG_POINTER_EXCEPTION | 0)) == -1)
31083 SWIG_fail;
31084 if (arg2 == NULL) {
31085 PyErr_SetString(PyExc_TypeError,"null reference");
31086 SWIG_fail;
31087 }
31088 {
31089 arg3 = &temp3;
31090 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31091 }
31092 {
31093 PyThreadState* __tstate = wxPyBeginAllowThreads();
31094 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
31095
31096 wxPyEndAllowThreads(__tstate);
31097 if (PyErr_Occurred()) SWIG_fail;
31098 }
31099 {
31100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31101 }
31102 return resultobj;
31103 fail:
31104 return NULL;
31105}
31106
31107
31108static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
31109 PyObject *resultobj;
31110 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31111 wxDC *arg2 = 0 ;
31112 wxMemoryDC *arg3 = 0 ;
31113 wxRect *arg4 = 0 ;
31114 wxRect *arg5 = 0 ;
31115 bool result;
31116 wxRect temp4 ;
31117 wxRect temp5 ;
31118 PyObject * obj0 = 0 ;
31119 PyObject * obj1 = 0 ;
31120 PyObject * obj2 = 0 ;
31121 PyObject * obj3 = 0 ;
31122 PyObject * obj4 = 0 ;
31123 char *kwnames[] = {
31124 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31125 };
31126
31127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31130 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
31131 SWIG_POINTER_EXCEPTION | 0)) == -1)
31132 SWIG_fail;
31133 if (arg2 == NULL) {
31134 PyErr_SetString(PyExc_TypeError,"null reference");
31135 SWIG_fail;
31136 }
31137 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMemoryDC,
31138 SWIG_POINTER_EXCEPTION | 0)) == -1)
31139 SWIG_fail;
31140 if (arg3 == NULL) {
31141 PyErr_SetString(PyExc_TypeError,"null reference");
31142 SWIG_fail;
31143 }
31144 {
31145 arg4 = &temp4;
31146 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
31147 }
31148 {
31149 arg5 = &temp5;
31150 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
31151 }
31152 {
31153 PyThreadState* __tstate = wxPyBeginAllowThreads();
31154 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
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_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
31169 PyObject *resultobj;
31170 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
31171 wxPoint *arg2 = 0 ;
31172 wxPoint *arg3 = 0 ;
31173 bool arg4 ;
31174 bool arg5 ;
31175 bool result;
31176 wxPoint temp2 ;
31177 wxPoint temp3 ;
31178 PyObject * obj0 = 0 ;
31179 PyObject * obj1 = 0 ;
31180 PyObject * obj2 = 0 ;
31181 PyObject * obj3 = 0 ;
31182 PyObject * obj4 = 0 ;
31183 char *kwnames[] = {
31184 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31185 };
31186
31187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
31188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGenericDragImage,
31189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31190 {
31191 arg2 = &temp2;
31192 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
31193 }
31194 {
31195 arg3 = &temp3;
31196 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31197 }
31198 arg4 = (bool) SWIG_AsBool(obj3);
31199 if (PyErr_Occurred()) SWIG_fail;
31200 arg5 = (bool) SWIG_AsBool(obj4);
31201 if (PyErr_Occurred()) SWIG_fail;
31202 {
31203 PyThreadState* __tstate = wxPyBeginAllowThreads();
31204 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
31205
31206 wxPyEndAllowThreads(__tstate);
31207 if (PyErr_Occurred()) SWIG_fail;
31208 }
31209 {
31210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31211 }
31212 return resultobj;
31213 fail:
31214 return NULL;
31215}
31216
31217
31218static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
31219 PyObject *obj;
31220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31221 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
31222 Py_INCREF(obj);
31223 return Py_BuildValue((char *)"");
31224}
31225static PyMethodDef SwigMethods[] = {
31226 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
31227 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
31228 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
31229 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
31230 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31231 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction) _wrap_Button_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31232 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
31233 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
31234 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
31235 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
31236 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31237 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31238 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31239 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31240 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
31241 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
31242 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
31243 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
31244 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
31245 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
31246 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
31247 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
31248 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
31249 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
31250 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
31251 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31252 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31253 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31254 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
31255 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
31256 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
31257 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31258 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction) _wrap_CheckBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31259 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
31260 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
31261 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
31262 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
31263 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
31264 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31265 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31266 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction) _wrap_Choice_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31267 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
31268 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
31269 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
31270 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
31271 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
31272 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
31273 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
31274 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
31275 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
31276 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31277 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31278 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31279 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
31280 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31281 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
121b9a67
RD
31282 { (char *)"ComboBox_SetStringSelection", (PyCFunction) _wrap_ComboBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31283 { (char *)"ComboBox_SetString", (PyCFunction) _wrap_ComboBox_SetString, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31284 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
31285 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31286 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31287 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ComboBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31288 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
31289 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
31290 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
31291 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
31292 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
31293 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
31294 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
31295 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
31296 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
31297 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31298 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
31299 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
31300 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31301 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction) _wrap_Gauge_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31302 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
31303 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
31304 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
31305 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31306 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31307 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
31308 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
31309 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
31310 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
31311 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
31312 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31313 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticLine_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31314 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
31315 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
31316 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
31317 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31318 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticText_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31319 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
31320 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
31321 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
31322 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
31323 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31324 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
31325 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31326 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction) _wrap_StaticBitmap_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31327 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
31328 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
31329 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
31330 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
31331 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
31332 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
31333 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
31334 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
31335 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31336 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
31337 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
31338 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
31339 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31340 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
31341 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
31342 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
31343 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31344 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
31345 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
31346 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
31347 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31348 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31349 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction) _wrap_ListBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31350 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
31351 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
31352 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
31353 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
31354 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
31355 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
31356 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
31357 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
31358 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
31359 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
31360 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
31361 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
31362 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
31363 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31364 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31365 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31366 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
31367 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
31368 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31369 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
31370 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
31371 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31372 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31373 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31374 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
31375 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
31376 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
31377 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
31378 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
31379 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31380 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31381 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31382 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
31383 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
31384 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
31385 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
31386 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
31387 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
31388 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
31389 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
31390 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
31391 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
31392 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31393 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31394 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31395 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
31396 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
31397 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
31398 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
31399 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
31400 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
31401 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
31402 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
31403 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31404 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31405 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
31406 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
31407 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
31408 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
31409 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
31410 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
31411 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
31412 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
31413 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
31414 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
31415 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
31416 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
31417 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
31418 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31419 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
31420 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
31421 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
31422 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
31423 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31424 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
31425 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
31426 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
31427 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
31428 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
31429 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
31430 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
31431 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
31432 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
31433 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
31434 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31435 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
31436 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
31437 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
31438 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31439 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
31440 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
31441 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
31442 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
31443 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
31444 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31445 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TextCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31446 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
31447 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
31448 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
31449 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
31450 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
31451 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
31452 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
31453 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
31454 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
31455 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31456 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
31457 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31458 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
31459 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
31460 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
31461 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31462 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ScrollBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31463 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
31464 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
31465 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
31466 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
31467 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31468 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
31469 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
31470 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31471 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
31472 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
31473 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
31474 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31475 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31476 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
31477 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
31478 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
31479 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31480 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
31481 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
31482 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
31483 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
31484 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
31485 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
31486 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31487 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_SpinCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31488 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
31489 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
31490 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
31491 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
31492 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
31493 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
31494 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
31495 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
31496 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
31497 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
31498 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
31499 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
31500 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
31501 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
31502 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
31503 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
31504 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
31505 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
31506 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31507 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31508 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31509 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioBox_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31510 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
31511 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
31512 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
31513 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
31514 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31515 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31516 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction) _wrap_RadioButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31517 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
31518 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
31519 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
31520 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
31521 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
31522 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
31523 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
31524 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
31525 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
31526 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
31527 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
31528 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
31529 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31530 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
31531 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
31532 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
31533 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
31534 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
31535 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
31536 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
31537 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
31538 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
31539 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
31540 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
31541 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31542 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction) _wrap_Slider_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31543 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
31544 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
31545 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
31546 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
31547 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
31548 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
31549 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31550 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction) _wrap_ToggleButton_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31551 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
31552 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
31553 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
31554 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31555 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
31556 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
31557 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31558 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31559 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31560 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
31561 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
31562 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
31563 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31564 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
31565 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
31566 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
31567 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
31568 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
31569 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
31570 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31571 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_BookCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31572 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
31573 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
31574 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
31575 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
31576 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
31577 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
31578 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
31579 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
31580 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
31581 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
31582 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
31583 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
31584 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
31585 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
31586 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
31587 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31588 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction) _wrap_Notebook_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31589 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
31590 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
31591 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
31592 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
31593 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
31594 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
31595 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
31596 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
31597 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
31598 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
31599 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
31600 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31601 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31602 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
31603 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
31604 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
31605 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
31606 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
31607 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
31608 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
31609 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
31610 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
31611 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
31612 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
31613 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
31614 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
31615 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
31616 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
31617 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
31618 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
31619 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
31620 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31621 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31622 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
31623 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
31624 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
31625 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
31626 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
31627 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
31628 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31629 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
31630 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
31631 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
31632 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
31633 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
31634 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
31635 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
31636 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
31637 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
31638 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
31639 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
31640 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
31641 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
31642 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
31643 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
31644 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
31645 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
31646 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
31647 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
31648 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
31649 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
31650 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
31651 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
31652 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
31653 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
31654 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
31655 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
31656 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
31657 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
31658 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
31659 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
31660 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
31661 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31662 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
31663 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31664 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
31665 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
31666 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
31667 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
31668 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31669 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
31670 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
31671 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
31672 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
31673 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
31674 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
31675 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
31676 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
31677 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31678 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
31679 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
31680 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
31681 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
31682 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
31683 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
31684 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
31685 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
31686 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
31687 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
f20a2e1f 31688 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction) _wrap_ToolBar_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
31689 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
31690 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
31691 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31692 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31693 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
31694 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
31695 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31696 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
31697 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31698 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31699 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
31700 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
31701 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
31702 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
31703 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
31704 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
31705 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
31706 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
31707 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
31708 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
31709 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
31710 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
31711 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
31712 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
31713 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
31714 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
31715 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
31716 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31717 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31718 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
31719 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
31720 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
31721 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
31722 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
31723 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
31724 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
31725 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
31726 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
31727 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
31728 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
31729 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
31730 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31731 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31732 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
31733 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
31734 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
31735 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
31736 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
31737 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
31738 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
31739 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
31740 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
31741 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
31742 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
31743 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
31744 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
31745 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
31746 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
31747 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
31748 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
31749 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
31750 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
31751 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
31752 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
31753 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
31754 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
31755 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
31756 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
31757 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
31758 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
31759 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
31760 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
31761 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
31762 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
31763 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
31764 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
31765 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
31766 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31767 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
31768 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
31769 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31770 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31771 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
31772 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
31773 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
31774 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
31775 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31776 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
31777 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
31778 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31779 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31780 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
31781 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
31782 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
31783 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31784 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31785 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
31786 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31787 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
31788 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
31789 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31790 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
31791 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
31792 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
31793 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
31794 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
31795 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
31796 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
31797 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
31798 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
31799 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31800 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31801 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31802 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31803 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31804 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
31805 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
31806 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
31807 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
31808 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
31809 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
31810 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
31811 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
31812 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
31813 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
31814 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
31815 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
31816 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
31817 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31818 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31819 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31820 { (char *)"ListCtrl_InReportView", (PyCFunction) _wrap_ListCtrl_InReportView, METH_VARARGS | METH_KEYWORDS },
31821 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
31822 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
31823 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
31824 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
31825 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
31826 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31827 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
31828 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
31829 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
31830 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31831 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
31832 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31833 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
31834 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
31835 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
31836 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31837 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31838 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
31839 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
31840 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
31841 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
31842 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
31843 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
31844 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
31845 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31846 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31847 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31848 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31849 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
31850 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
31851 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_ListCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31852 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
31853 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
31854 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
31855 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
31856 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
31857 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
31858 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
31859 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
31860 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
31861 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
31862 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
31863 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
31864 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
31865 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31866 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
31867 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
31868 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
31869 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
31870 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
31871 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
31872 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
31873 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
31874 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
31875 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
31876 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
31877 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
31878 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
31879 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
31880 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
31881 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
31882 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
31883 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
31884 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
31885 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
31886 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
31887 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31888 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
31889 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
31890 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
31891 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
31892 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
31893 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
31894 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
31895 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
31896 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
31897 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31898 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31899 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
31900 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
31901 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
31902 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
31903 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
31904 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
31905 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
31906 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
31907 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
31908 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
31909 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
31910 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
31911 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
31912 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
31913 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
31914 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
31915 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31916 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31917 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
31918 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
31919 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
31920 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
31921 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
31922 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31923 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
31924 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
31925 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
31926 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
31927 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
31928 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
31929 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
31930 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
31931 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
31932 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
31933 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
31934 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
31935 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
31936 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
31937 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
31938 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
31939 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
31940 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
31941 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
31942 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
31943 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
31944 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
31945 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
31946 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
31947 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
31948 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
31949 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
31950 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
31951 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
31952 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
31953 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
31954 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
31955 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
31956 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
31957 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
31958 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
31959 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
31960 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
31961 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
31962 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
31963 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
31964 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
31965 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
31966 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
31967 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
31968 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
31969 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
31970 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
31971 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction) _wrap_TreeCtrl_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
31972 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
31973 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31974 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
31975 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31976 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
31977 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31978 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
31979 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
31980 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
31981 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
31982 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
31983 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
31984 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
31985 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
31986 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31987 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
31988 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
31989 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
31990 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31991 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
31992 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
31993 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
31994 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
31995 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31996 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
31997 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
31998 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
31999 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
32000 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
32001 { (char *)"new_PrePyControl", (PyCFunction) _wrap_new_PrePyControl, METH_VARARGS | METH_KEYWORDS },
32002 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
caef1a4d 32003 { (char *)"PyControl_SetBestSize", (PyCFunction) _wrap_PyControl_SetBestSize, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
32004 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
32005 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
32006 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
32007 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
32008 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
32009 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
32010 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
32011 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
32012 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
32013 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
32014 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
32015 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
32016 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
32017 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
32018 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
32019 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
32020 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
32021 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
32022 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction) _wrap_PyControl_base_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS },
32023 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction) _wrap_PyControl_base_ApplyParentThemeBackground, METH_VARARGS | METH_KEYWORDS },
caef1a4d 32024 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction) _wrap_PyControl_base_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS },
d55e5bfc
RD
32025 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
32026 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
32027 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
32028 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
32029 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
32030 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
32031 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
32032 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
32033 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
32034 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
32035 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
32036 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
32037 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
32038 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
32039 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
32040 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
32041 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
32042 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
32043 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
32044 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
32045 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
32046 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
32047 { (char *)"HelpProvider_RemoveHelp", (PyCFunction) _wrap_HelpProvider_RemoveHelp, METH_VARARGS | METH_KEYWORDS },
32048 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
32049 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
32050 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
32051 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
32052 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
32053 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
32054 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
32055 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
32056 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
32057 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
32058 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
32059 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
32060 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
32061 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
32062 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
32063 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
32064 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
32065 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
32066 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
32067 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
32068 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
32069 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
32070 { NULL, NULL }
32071};
32072
32073
32074/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32075
32076static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
32077 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32078}
32079static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
32080 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
32081}
32082static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
32083 return (void *)((wxSizer *) ((wxBoxSizer *) x));
32084}
32085static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
32086 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
32087}
32088static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
32089 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32090}
32091static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
32092 return (void *)((wxSizer *) ((wxGridSizer *) x));
32093}
32094static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
32095 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
32096}
32097static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
32098 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
32099}
32100static void *_p_wxPySizerTo_p_wxSizer(void *x) {
32101 return (void *)((wxSizer *) ((wxPySizer *) x));
32102}
32103static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
32104 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
32105}
32106static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
32107 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
32108}
32109static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
32110 return (void *)((wxEvent *) ((wxMenuEvent *) x));
32111}
32112static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
32113 return (void *)((wxEvent *) ((wxCloseEvent *) x));
32114}
32115static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
32116 return (void *)((wxEvent *) ((wxMouseEvent *) x));
32117}
32118static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
32119 return (void *)((wxEvent *) ((wxEraseEvent *) x));
32120}
32121static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
32122 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32123}
32124static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
32125 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
32126}
32127static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
32128 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
32129}
32130static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
32131 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
32132}
32133static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
32134 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
32135}
32136static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
32137 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32138}
32139static void *_p_wxPyEventTo_p_wxEvent(void *x) {
32140 return (void *)((wxEvent *) ((wxPyEvent *) x));
32141}
32142static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
32143 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
32144}
32145static void *_p_wxListEventTo_p_wxEvent(void *x) {
32146 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32147}
32148static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
32149 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32150}
32151static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
32152 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32153}
32154static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
32155 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
32156}
32157static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
32158 return (void *)((wxEvent *) ((wxIdleEvent *) x));
32159}
32160static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
32161 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
32162}
32163static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
32164 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
32165}
32166static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
32167 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
32168}
32169static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
32170 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
32171}
32172static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
32173 return (void *)((wxEvent *) ((wxActivateEvent *) x));
32174}
32175static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
32176 return (void *)((wxEvent *) ((wxSizeEvent *) x));
32177}
32178static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
32179 return (void *)((wxEvent *) ((wxMoveEvent *) x));
32180}
32181static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
32182 return (void *)((wxEvent *) ((wxPaintEvent *) x));
32183}
32184static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
32185 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
32186}
32187static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
32188 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
32189}
32190static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
32191 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
32192}
32193static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
32194 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
32195}
32196static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
32197 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32198}
32199static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
32200 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
32201}
32202static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
32203 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
32204}
32205static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
32206 return (void *)((wxEvent *) ((wxFocusEvent *) x));
32207}
32208static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
32209 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
32210}
32211static void *_p_wxShowEventTo_p_wxEvent(void *x) {
32212 return (void *)((wxEvent *) ((wxShowEvent *) x));
32213}
32214static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
32215 return (void *)((wxEvent *) ((wxCommandEvent *) x));
32216}
32217static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
32218 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
32219}
32220static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
32221 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32222}
32223static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
32224 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
32225}
32226static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
32227 return (void *)((wxEvent *) ((wxKeyEvent *) x));
32228}
32229static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
32230 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
32231}
32232static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
32233 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32234}
32235static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
32236 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32237}
32238static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
32239 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32240}
32241static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
32242 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
32243}
32244static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
32245 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
32246}
32247static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
32248 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
32249}
32250static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
32251 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32252}
32253static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
32254 return (void *)((wxPyListCtrl *) ((wxListView *) x));
32255}
32256static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
32257 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32258}
32259static void *_p_wxListBoxTo_p_wxControl(void *x) {
32260 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
32261}
32262static void *_p_wxChoiceTo_p_wxControl(void *x) {
32263 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
32264}
32265static void *_p_wxToolBarTo_p_wxControl(void *x) {
32266 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
32267}
32268static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
32269 return (void *)((wxControl *) ((wxStaticBitmap *) x));
32270}
32271static void *_p_wxComboBoxTo_p_wxControl(void *x) {
32272 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32273}
32274static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
32275 return (void *)((wxControl *) ((wxSpinCtrl *) x));
32276}
32277static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
32278 return (void *)((wxControl *) ((wxStaticBox *) x));
32279}
32280static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
32281 return (void *)((wxControl *) ((wxPyListCtrl *) x));
32282}
32283static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
32284 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
32285}
32286static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
32287 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32288}
32289static void *_p_wxScrollBarTo_p_wxControl(void *x) {
32290 return (void *)((wxControl *) ((wxScrollBar *) x));
32291}
32292static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
32293 return (void *)((wxControl *) ((wxBookCtrl *) x));
32294}
32295static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
32296 return (void *)((wxControl *) ((wxRadioButton *) x));
32297}
32298static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
32299 return (void *)((wxControl *) ((wxToggleButton *) x));
32300}
32301static void *_p_wxGaugeTo_p_wxControl(void *x) {
32302 return (void *)((wxControl *) ((wxGauge *) x));
32303}
32304static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
32305 return (void *)((wxControl *) ((wxToolBarBase *) x));
32306}
32307static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
32308 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
32309}
32310static void *_p_wxButtonTo_p_wxControl(void *x) {
32311 return (void *)((wxControl *) ((wxButton *) x));
32312}
32313static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
32314 return (void *)((wxControl *) ((wxSpinButton *) x));
32315}
32316static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
32317 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32318}
32319static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
32320 return (void *)((wxControl *) ((wxControlWithItems *) x));
32321}
32322static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
32323 return (void *)((wxControl *) ((wxRadioBox *) x));
32324}
32325static void *_p_wxNotebookTo_p_wxControl(void *x) {
32326 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
32327}
32328static void *_p_wxListbookTo_p_wxControl(void *x) {
32329 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
32330}
32331static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
32332 return (void *)((wxControl *) ((wxCheckBox *) x));
32333}
32334static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
32335 return (void *)((wxControl *) ((wxTextCtrl *) x));
32336}
32337static void *_p_wxListViewTo_p_wxControl(void *x) {
32338 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
32339}
32340static void *_p_wxSliderTo_p_wxControl(void *x) {
32341 return (void *)((wxControl *) ((wxSlider *) x));
32342}
32343static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
32344 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
32345}
32346static void *_p_wxPyControlTo_p_wxControl(void *x) {
32347 return (void *)((wxControl *) ((wxPyControl *) x));
32348}
32349static void *_p_wxStaticLineTo_p_wxControl(void *x) {
32350 return (void *)((wxControl *) ((wxStaticLine *) x));
32351}
32352static void *_p_wxStaticTextTo_p_wxControl(void *x) {
32353 return (void *)((wxControl *) ((wxStaticText *) x));
32354}
32355static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
32356 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
32357}
32358static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
32359 return (void *)((wxChoice *) ((wxComboBox *) x));
32360}
32361static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
32362 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
32363}
32364static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
32365 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
32366}
32367static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
32368 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32369}
32370static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
32371 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
32372}
32373static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
32374 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
32375}
32376static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
32377 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32378}
32379static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
32380 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
32381}
32382static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
32383 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32384}
32385static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
32386 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
32387}
32388static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
32389 return (void *)((wxEvtHandler *) ((wxValidator *) x));
32390}
32391static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
32392 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
32393}
32394static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
32395 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32396}
32397static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
32398 return (void *)((wxEvtHandler *) ((wxMenu *) x));
32399}
32400static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
32401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
32402}
32403static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
32404 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
32405}
32406static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
32407 return (void *)((wxEvtHandler *) ((wxWindow *) x));
32408}
32409static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
32410 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
32411}
32412static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
32413 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32414}
32415static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
32416 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32417}
32418static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
32419 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32420}
32421static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
32422 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32423}
32424static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
32425 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
32426}
32427static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
32428 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
32429}
32430static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
32431 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32432}
32433static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
32434 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
32435}
32436static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
32437 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32438}
32439static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
32440 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
32441}
32442static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
32443 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
32444}
32445static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
32446 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32447}
32448static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
32449 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32450}
32451static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
32452 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
32453}
32454static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
32455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
32456}
32457static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
32458 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32459}
32460static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
32461 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32462}
32463static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
32464 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32465}
32466static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
32467 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32468}
32469static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
32470 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32471}
32472static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
32473 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32474}
32475static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
32476 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32477}
32478static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
32479 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
32480}
32481static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
32482 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
32483}
32484static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
32485 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
32486}
32487static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
32488 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
32489}
32490static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
32491 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
32492}
32493static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
32494 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32495}
32496static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
32497 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32498}
32499static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
32500 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32501}
32502static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
32503 return (void *)((wxListBox *) ((wxCheckListBox *) x));
32504}
32505static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
32506 return (void *)((wxBookCtrl *) ((wxListbook *) x));
32507}
32508static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
32509 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
32510}
32511static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
32512 return (void *)((wxButton *) ((wxBitmapButton *) x));
32513}
32514static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
32515 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
32516}
32517static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
32518 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
32519}
32520static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
32521 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
32522}
32523static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
32524 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
32525}
32526static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
32527 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
32528}
32529static void *_p_wxSizerItemTo_p_wxObject(void *x) {
32530 return (void *)((wxObject *) ((wxSizerItem *) x));
32531}
32532static void *_p_wxScrollEventTo_p_wxObject(void *x) {
32533 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
32534}
32535static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
32536 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
32537}
32538static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
32539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
32540}
32541static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
32542 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32543}
32544static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
32545 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
32546}
32547static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
32548 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
32549}
32550static void *_p_wxSizerTo_p_wxObject(void *x) {
32551 return (void *)((wxObject *) ((wxSizer *) x));
32552}
32553static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
32554 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
32555}
32556static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
32557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
32558}
32559static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
32560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
32561}
32562static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
32563 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
32564}
32565static void *_p_wxEventTo_p_wxObject(void *x) {
32566 return (void *)((wxObject *) ((wxEvent *) x));
32567}
32568static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
32569 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
32570}
32571static void *_p_wxGridSizerTo_p_wxObject(void *x) {
32572 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
32573}
32574static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
32575 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
32576}
32577static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
32578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
32579}
32580static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
32581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
32582}
32583static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
32584 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32585}
32586static void *_p_wxPaintEventTo_p_wxObject(void *x) {
32587 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
32588}
32589static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
32590 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
32591}
32592static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
32593 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
32594}
32595static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
32596 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
32597}
32598static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
32599 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
32600}
32601static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
32602 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
32603}
32604static void *_p_wxStaticLineTo_p_wxObject(void *x) {
32605 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
32606}
32607static void *_p_wxControlTo_p_wxObject(void *x) {
32608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
32609}
32610static void *_p_wxPyControlTo_p_wxObject(void *x) {
32611 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
32612}
32613static void *_p_wxGaugeTo_p_wxObject(void *x) {
32614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
32615}
32616static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
32617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
32618}
32619static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
32620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
32621}
32622static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
32623 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
32624}
32625static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
32626 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
32627}
32628static void *_p_wxChoiceTo_p_wxObject(void *x) {
32629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32630}
32631static void *_p_wxFSFileTo_p_wxObject(void *x) {
32632 return (void *)((wxObject *) ((wxFSFile *) x));
32633}
32634static void *_p_wxPySizerTo_p_wxObject(void *x) {
32635 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
32636}
32637static void *_p_wxListViewTo_p_wxObject(void *x) {
32638 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32639}
32640static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
32641 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
32642}
32643static void *_p_wxNotebookTo_p_wxObject(void *x) {
32644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32645}
32646static void *_p_wxPyEventTo_p_wxObject(void *x) {
32647 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
32648}
32649static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
32650 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
32651}
32652static void *_p_wxListbookTo_p_wxObject(void *x) {
32653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32654}
32655static void *_p_wxShowEventTo_p_wxObject(void *x) {
32656 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
32657}
32658static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
32659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
32660}
32661static void *_p_wxSliderTo_p_wxObject(void *x) {
32662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
32663}
32664static void *_p_wxMenuItemTo_p_wxObject(void *x) {
32665 return (void *)((wxObject *) ((wxMenuItem *) x));
32666}
32667static void *_p_wxIdleEventTo_p_wxObject(void *x) {
32668 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
32669}
32670static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
32671 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
32672}
32673static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
32674 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
32675}
32676static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
32677 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
32678}
32679static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
32680 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
32681}
32682static void *_p_wxSizeEventTo_p_wxObject(void *x) {
32683 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
32684}
32685static void *_p_wxMoveEventTo_p_wxObject(void *x) {
32686 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
32687}
32688static void *_p_wxActivateEventTo_p_wxObject(void *x) {
32689 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
32690}
32691static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
32692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
32693}
32694static void *_p_wxContextHelpTo_p_wxObject(void *x) {
32695 return (void *)((wxObject *) ((wxContextHelp *) x));
32696}
32697static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
32698 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
32699}
32700static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
32701 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
32702}
32703static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
32704 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
32705}
32706static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
32707 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
32708}
32709static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
32710 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
32711}
32712static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
32713 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
32714}
32715static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
32716 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
32717}
32718static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
32719 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
32720}
32721static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
32722 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
32723}
32724static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
32725 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
32726}
32727static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
32728 return (void *)((wxObject *) ((wxImageHandler *) x));
32729}
32730static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
32731 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
32732}
32733static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
32734 return (void *)((wxObject *) ((wxEvtHandler *) x));
32735}
32736static void *_p_wxListEventTo_p_wxObject(void *x) {
32737 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
32738}
32739static void *_p_wxListBoxTo_p_wxObject(void *x) {
32740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32741}
32742static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
32743 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32744}
32745static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
32746 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
32747}
32748static void *_p_wxButtonTo_p_wxObject(void *x) {
32749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
32750}
32751static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
32752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
32753}
32754static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
32755 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
32756}
32757static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
32758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32759}
32760static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
32761 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
32762}
32763static void *_p_wxScrollBarTo_p_wxObject(void *x) {
32764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
32765}
32766static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
32767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
32768}
32769static void *_p_wxComboBoxTo_p_wxObject(void *x) {
32770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32771}
32772static void *_p_wxHelpEventTo_p_wxObject(void *x) {
32773 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
32774}
32775static void *_p_wxListItemTo_p_wxObject(void *x) {
32776 return (void *)((wxObject *) ((wxListItem *) x));
32777}
32778static void *_p_wxImageTo_p_wxObject(void *x) {
32779 return (void *)((wxObject *) ((wxImage *) x));
32780}
32781static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
32782 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
32783}
32784static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
32785 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
32786}
32787static void *_p_wxSpinEventTo_p_wxObject(void *x) {
32788 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
32789}
32790static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
32791 return (void *)((wxObject *) ((wxGenericDragImage *) x));
32792}
32793static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
32794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
32795}
32796static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
32797 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
32798}
32799static void *_p_wxListbookEventTo_p_wxObject(void *x) {
32800 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
32801}
32802static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
32803 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32804}
32805static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
32806 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
32807}
32808static void *_p_wxKeyEventTo_p_wxObject(void *x) {
32809 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
32810}
32811static void *_p_wxWindowTo_p_wxObject(void *x) {
32812 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
32813}
32814static void *_p_wxMenuTo_p_wxObject(void *x) {
32815 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
32816}
32817static void *_p_wxMenuBarTo_p_wxObject(void *x) {
32818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
32819}
32820static void *_p_wxFileSystemTo_p_wxObject(void *x) {
32821 return (void *)((wxObject *) ((wxFileSystem *) x));
32822}
32823static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
32824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
32825}
32826static void *_p_wxMenuEventTo_p_wxObject(void *x) {
32827 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
32828}
32829static void *_p_wxPyAppTo_p_wxObject(void *x) {
32830 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
32831}
32832static void *_p_wxCloseEventTo_p_wxObject(void *x) {
32833 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
32834}
32835static void *_p_wxMouseEventTo_p_wxObject(void *x) {
32836 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
32837}
32838static void *_p_wxEraseEventTo_p_wxObject(void *x) {
32839 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
32840}
32841static void *_p_wxTreeEventTo_p_wxObject(void *x) {
32842 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
32843}
32844static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
32845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
32846}
32847static void *_p_wxCommandEventTo_p_wxObject(void *x) {
32848 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
32849}
32850static void *_p_wxStaticTextTo_p_wxObject(void *x) {
32851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
32852}
32853static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
32854 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
32855}
32856static void *_p_wxFocusEventTo_p_wxObject(void *x) {
32857 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
32858}
32859static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
32860 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
32861}
32862static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
32863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
32864}
32865static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
32866 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
32867}
32868static void *_p_wxToolBarTo_p_wxObject(void *x) {
32869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32870}
32871static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
32872 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
32873}
32874static void *_p_wxValidatorTo_p_wxObject(void *x) {
32875 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
32876}
32877static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
32878 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
32879}
32880static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
32881 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
32882}
32883static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
32884 return (void *)((wxWindow *) ((wxMenuBar *) x));
32885}
32886static void *_p_wxToolBarTo_p_wxWindow(void *x) {
32887 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
32888}
32889static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
32890 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
32891}
32892static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
32893 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
32894}
32895static void *_p_wxPyControlTo_p_wxWindow(void *x) {
32896 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
32897}
32898static void *_p_wxControlTo_p_wxWindow(void *x) {
32899 return (void *)((wxWindow *) ((wxControl *) x));
32900}
32901static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
32902 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
32903}
32904static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
32905 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
32906}
32907static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
32908 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
32909}
32910static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
32911 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
32912}
32913static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
32914 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
32915}
32916static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
32917 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
32918}
32919static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
32920 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
32921}
32922static void *_p_wxGaugeTo_p_wxWindow(void *x) {
32923 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
32924}
32925static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
32926 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
32927}
32928static void *_p_wxListbookTo_p_wxWindow(void *x) {
32929 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
32930}
32931static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
32932 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
32933}
32934static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
32935 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
32936}
32937static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
32938 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
32939}
32940static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
32941 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
32942}
32943static void *_p_wxChoiceTo_p_wxWindow(void *x) {
32944 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
32945}
32946static void *_p_wxListBoxTo_p_wxWindow(void *x) {
32947 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
32948}
32949static void *_p_wxListViewTo_p_wxWindow(void *x) {
32950 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
32951}
32952static void *_p_wxNotebookTo_p_wxWindow(void *x) {
32953 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
32954}
32955static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
32956 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
32957}
32958static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
32959 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
32960}
32961static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
32962 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
32963}
32964static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
32965 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
32966}
32967static void *_p_wxSliderTo_p_wxWindow(void *x) {
32968 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
32969}
32970static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
32971 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
32972}
32973static void *_p_wxButtonTo_p_wxWindow(void *x) {
32974 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
32975}
32976static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
32977 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
32978}
32979static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
32980 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
32981}
32982static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
32983 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
32984}
32985static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
32986 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
32987}
32988static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
32989 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
32990}
32991static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
32992 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
32993}
32994static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
32995 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
32996}
32997static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
32998 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
32999}
33000static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
33001 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
33002}
33003static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
33004 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
33005}
33006static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
33007 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
33008}
33009static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
33010 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
33011}
33012static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
33013 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
33014}
33015static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
33016 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
33017}
33018static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
33019 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
33020}
33021static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
33022 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
33023}
33024static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
33025 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
33026}
33027static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
33028 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
33029}
33030static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
33031 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
33032}
33033static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
33034 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
33035}
33036static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
33037 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
33038}
33039static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
33040 return (void *)((wxControlWithItems *) ((wxChoice *) x));
33041}
33042static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
33043 return (void *)((wxControlWithItems *) ((wxListBox *) x));
33044}
33045static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
33046 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
33047}
33048static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
33049 return (void *)((wxValidator *) ((wxPyValidator *) x));
33050}
33051static 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}};
33052static 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}};
33053static 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}};
33054static 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}};
33055static 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}};
33056static 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}};
33057static 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}};
33058static 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}};
33059static 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}};
33060static 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}};
33061static 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}};
33062static 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}};
33063static 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}};
33064static 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}};
33065static 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}};
33066static 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}};
33067static 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}};
33068static 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}};
33069static 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}};
33070static 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}};
33071static 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}};
33072static 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}};
33073static 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}};
33074static 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}};
33075static 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}};
33076static 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}};
33077static 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}};
33078static 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}};
33079static 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}};
33080static 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}};
33081static 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}};
33082static 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}};
33083static 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}};
33084static 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}};
33085static 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}};
33086static 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}};
33087static 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}};
33088static 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}};
33089static 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}};
33090static 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}};
33091static 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}};
33092static 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}};
33093static 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}};
33094static 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}};
33095static 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}};
33096static 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}};
33097static 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}};
33098static 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}};
33099static 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}};
33100static 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}};
33101static 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}};
33102static 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}};
33103static 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}};
33104static 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}};
33105static 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}};
33106static 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}};
33107static 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}};
33108static 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}};
33109static 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}};
33110static 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}};
33111static 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}};
33112static 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}};
33113static 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}};
33114static 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}};
33115static 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}};
33116static 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}};
33117static 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}};
33118static 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}};
33119static 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}};
33120static 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}};
33121static 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}};
33122static 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}};
33123static 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}};
33124static 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}};
33125static 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}};
33126static 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}};
33127static 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}};
33128static 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}};
33129static 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}};
33130static 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}};
33131static 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}};
33132static 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}};
33133static 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}};
33134static 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}};
33135static 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}};
33136
33137static swig_type_info *swig_types_initial[] = {
33138_swigt__p_wxTextUrlEvent,
33139_swigt__p_wxBookCtrlEvent,
33140_swigt__p_wxSizer,
33141_swigt__p_wxCheckBox,
33142_swigt__p_wxPyTreeCtrl,
33143_swigt__p_wxEvent,
33144_swigt__p_wxGenericDirCtrl,
33145_swigt__p_bool,
33146_swigt__p_wxPyTreeItemData,
33147_swigt__p_wxItemContainer,
33148_swigt__p_wxPyListCtrl,
33149_swigt__p_wxDirFilterListCtrl,
33150_swigt__p_wxStaticLine,
33151_swigt__p_wxControl,
33152_swigt__p_wxPyControl,
33153_swigt__p_wxGauge,
33154_swigt__p_wxToolBarBase,
33155_swigt__p_wxFont,
33156_swigt__p_wxToggleButton,
33157_swigt__p_wxRadioButton,
33158_swigt__p_wxChoice,
33159_swigt__p_wxMemoryDC,
33160_swigt__p_wxListItemAttr,
33161_swigt__p_void,
33162_swigt__p_int,
33163_swigt__p_wxSize,
33164_swigt__p_wxDC,
33165_swigt__p_wxListView,
33166_swigt__p_wxIcon,
33167_swigt__p_wxVisualAttributes,
33168_swigt__p_wxTextCtrl,
33169_swigt__p_wxNotebook,
33170_swigt__p_wxNotifyEvent,
33171_swigt__p_wxArrayString,
33172_swigt__p_wxListbook,
33173_swigt__p_wxStaticBitmap,
33174_swigt__p_wxSlider,
33175_swigt__p_wxStaticBox,
33176_swigt__p_wxArrayInt,
33177_swigt__p_wxContextHelp,
33178_swigt__p_long,
33179_swigt__p_wxEvtHandler,
33180_swigt__p_wxListEvent,
33181_swigt__p_wxCheckListBox,
33182_swigt__p_wxListBox,
33183_swigt__p_wxBookCtrl,
33184_swigt__p_wxSpinButton,
33185_swigt__p_wxButton,
33186_swigt__p_wxBitmapButton,
33187_swigt__p_wxRect,
33188_swigt__p_wxContextHelpButton,
33189_swigt__p_wxRadioBox,
33190_swigt__p_wxScrollBar,
33191_swigt__p_char,
33192_swigt__p_wxTreeItemId,
33193_swigt__p_wxComboBox,
33194_swigt__p_wxHelpEvent,
33195_swigt__p_wxListItem,
33196_swigt__p_wxNotebookSizer,
33197_swigt__p_wxSpinEvent,
33198_swigt__p_wxGenericDragImage,
33199_swigt__p_wxSpinCtrl,
33200_swigt__p_wxImageList,
33201_swigt__p_wxHelpProvider,
33202_swigt__p_wxTextAttr,
33203_swigt__p_wxSimpleHelpProvider,
33204_swigt__p_wxPoint,
33205_swigt__p_wxListbookEvent,
33206_swigt__p_wxNotebookEvent,
33207_swigt__p_wxObject,
33208_swigt__p_wxCursor,
33209_swigt__p_wxKeyEvent,
33210_swigt__p_wxWindow,
33211_swigt__p_wxString,
33212_swigt__p_wxBitmap,
33213_swigt__p_wxTreeEvent,
33214_swigt__p_wxMouseEvent,
33215_swigt__p_wxCommandEvent,
33216_swigt__p_wxStaticText,
33217_swigt__p_wxControlWithItems,
33218_swigt__p_wxToolBarToolBase,
33219_swigt__p_wxColour,
33220_swigt__p_wxToolBar,
33221_swigt__p_wxBookCtrlSizer,
33222_swigt__p_wxValidator,
332230
33224};
33225
33226
33227/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33228
33229static swig_const_info swig_const_table[] = {
33230{0}};
33231
33232#ifdef __cplusplus
33233}
33234#endif
33235
33236#ifdef __cplusplus
33237extern "C"
33238#endif
33239SWIGEXPORT(void) SWIG_init(void) {
33240 static PyObject *SWIG_globals = 0;
33241 static int typeinit = 0;
33242 PyObject *m, *d;
33243 int i;
33244 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
33245 m = Py_InitModule((char *) SWIG_name, SwigMethods);
33246 d = PyModule_GetDict(m);
33247
33248 if (!typeinit) {
33249 for (i = 0; swig_types_initial[i]; i++) {
33250 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
33251 }
33252 typeinit = 1;
33253 }
33254 SWIG_InstallConstants(d,swig_const_table);
33255
33256 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
33257 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
33258 PyDict_SetItemString(d,"BU_LEFT", SWIG_FromInt((int)wxBU_LEFT));
33259 PyDict_SetItemString(d,"BU_TOP", SWIG_FromInt((int)wxBU_TOP));
33260 PyDict_SetItemString(d,"BU_RIGHT", SWIG_FromInt((int)wxBU_RIGHT));
33261 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_FromInt((int)wxBU_BOTTOM));
33262 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_FromInt((int)wxBU_EXACTFIT));
33263 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_FromInt((int)wxBU_AUTODRAW));
33264 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
33265 PyDict_SetItemString(d,"CHK_2STATE", SWIG_FromInt((int)wxCHK_2STATE));
33266 PyDict_SetItemString(d,"CHK_3STATE", SWIG_FromInt((int)wxCHK_3STATE));
33267 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
33268 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_FromInt((int)wxCHK_UNCHECKED));
33269 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_FromInt((int)wxCHK_CHECKED));
33270 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_FromInt((int)wxCHK_UNDETERMINED));
33271 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
33272 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
33273 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
33274 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_FromInt((int)wxGA_HORIZONTAL));
33275 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_FromInt((int)wxGA_VERTICAL));
33276 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_FromInt((int)wxGA_SMOOTH));
33277 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_FromInt((int)wxGA_PROGRESSBAR));
33278 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
33279 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
33280 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
33281 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
33282 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
33283 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_FromInt((int)wxTE_NO_VSCROLL));
33284 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_FromInt((int)wxTE_AUTO_SCROLL));
33285 PyDict_SetItemString(d,"TE_READONLY", SWIG_FromInt((int)wxTE_READONLY));
33286 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_FromInt((int)wxTE_MULTILINE));
33287 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_FromInt((int)wxTE_PROCESS_TAB));
33288 PyDict_SetItemString(d,"TE_LEFT", SWIG_FromInt((int)wxTE_LEFT));
33289 PyDict_SetItemString(d,"TE_CENTER", SWIG_FromInt((int)wxTE_CENTER));
33290 PyDict_SetItemString(d,"TE_RIGHT", SWIG_FromInt((int)wxTE_RIGHT));
33291 PyDict_SetItemString(d,"TE_CENTRE", SWIG_FromInt((int)wxTE_CENTRE));
33292 PyDict_SetItemString(d,"TE_RICH", SWIG_FromInt((int)wxTE_RICH));
33293 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_FromInt((int)wxTE_PROCESS_ENTER));
33294 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_FromInt((int)wxTE_PASSWORD));
33295 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_FromInt((int)wxTE_AUTO_URL));
33296 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_FromInt((int)wxTE_NOHIDESEL));
33297 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_FromInt((int)wxTE_DONTWRAP));
33298 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_FromInt((int)wxTE_LINEWRAP));
33299 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_FromInt((int)wxTE_WORDWRAP));
33300 PyDict_SetItemString(d,"TE_RICH2", SWIG_FromInt((int)wxTE_RICH2));
33301 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
33302 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
33303 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
33304 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
33305 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
33306 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
33307 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
33308 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
33309 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_FACE));
33310 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
33311 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
33312 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
33313 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
33314 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_FromInt((int)wxTEXT_ATTR_FONT));
33315 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
33316 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
33317 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
33318 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_FromInt((int)wxTEXT_ATTR_TABS));
33319 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_FromInt((int)wxTE_HT_UNKNOWN));
33320 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_FromInt((int)wxTE_HT_BEFORE));
33321 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_FromInt((int)wxTE_HT_ON_TEXT));
33322 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_FromInt((int)wxTE_HT_BELOW));
33323 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_FromInt((int)wxTE_HT_BEYOND));
33324 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
33325 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
33326 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
33327 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
33328 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
33329 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
33330 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
33331 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_FromInt((int)wxSP_HORIZONTAL));
33332 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_FromInt((int)wxSP_VERTICAL));
33333 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_FromInt((int)wxSP_ARROW_KEYS));
33334 PyDict_SetItemString(d,"SP_WRAP", SWIG_FromInt((int)wxSP_WRAP));
33335 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
33336 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
33337 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
33338 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
33339 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
33340 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
33341 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
33342 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_FromInt((int)wxNB_FIXEDWIDTH));
33343 PyDict_SetItemString(d,"NB_TOP", SWIG_FromInt((int)wxNB_TOP));
33344 PyDict_SetItemString(d,"NB_LEFT", SWIG_FromInt((int)wxNB_LEFT));
33345 PyDict_SetItemString(d,"NB_RIGHT", SWIG_FromInt((int)wxNB_RIGHT));
33346 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_FromInt((int)wxNB_BOTTOM));
33347 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_FromInt((int)wxNB_MULTILINE));
33348 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_FromInt((int)wxNB_HITTEST_NOWHERE));
33349 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_FromInt((int)wxNB_HITTEST_ONICON));
33350 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_FromInt((int)wxNB_HITTEST_ONLABEL));
33351 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_FromInt((int)wxNB_HITTEST_ONITEM));
33352 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
33353 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
33354 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_FromInt((int)wxLB_DEFAULT));
33355 PyDict_SetItemString(d,"LB_TOP", SWIG_FromInt((int)wxLB_TOP));
33356 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_FromInt((int)wxLB_BOTTOM));
33357 PyDict_SetItemString(d,"LB_LEFT", SWIG_FromInt((int)wxLB_LEFT));
33358 PyDict_SetItemString(d,"LB_RIGHT", SWIG_FromInt((int)wxLB_RIGHT));
33359 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_FromInt((int)wxLB_ALIGN_MASK));
33360 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
33361 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
33362 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_FromInt((int)wxTOOL_STYLE_BUTTON));
33363 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_FromInt((int)wxTOOL_STYLE_SEPARATOR));
33364 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_FromInt((int)wxTOOL_STYLE_CONTROL));
33365 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_FromInt((int)wxTB_HORIZONTAL));
33366 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_FromInt((int)wxTB_VERTICAL));
33367 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_FromInt((int)wxTB_3DBUTTONS));
33368 PyDict_SetItemString(d,"TB_FLAT", SWIG_FromInt((int)wxTB_FLAT));
33369 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_FromInt((int)wxTB_DOCKABLE));
33370 PyDict_SetItemString(d,"TB_NOICONS", SWIG_FromInt((int)wxTB_NOICONS));
33371 PyDict_SetItemString(d,"TB_TEXT", SWIG_FromInt((int)wxTB_TEXT));
33372 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_FromInt((int)wxTB_NODIVIDER));
33373 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_FromInt((int)wxTB_NOALIGN));
33374 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_FromInt((int)wxTB_HORZ_LAYOUT));
33375 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_FromInt((int)wxTB_HORZ_TEXT));
33376 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
33377 PyDict_SetItemString(d,"LC_VRULES", SWIG_FromInt((int)wxLC_VRULES));
33378 PyDict_SetItemString(d,"LC_HRULES", SWIG_FromInt((int)wxLC_HRULES));
33379 PyDict_SetItemString(d,"LC_ICON", SWIG_FromInt((int)wxLC_ICON));
33380 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_FromInt((int)wxLC_SMALL_ICON));
33381 PyDict_SetItemString(d,"LC_LIST", SWIG_FromInt((int)wxLC_LIST));
33382 PyDict_SetItemString(d,"LC_REPORT", SWIG_FromInt((int)wxLC_REPORT));
33383 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_FromInt((int)wxLC_ALIGN_TOP));
33384 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_FromInt((int)wxLC_ALIGN_LEFT));
33385 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_FromInt((int)wxLC_AUTOARRANGE));
33386 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_FromInt((int)wxLC_VIRTUAL));
33387 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_FromInt((int)wxLC_EDIT_LABELS));
33388 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_FromInt((int)wxLC_NO_HEADER));
33389 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_FromInt((int)wxLC_NO_SORT_HEADER));
33390 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_FromInt((int)wxLC_SINGLE_SEL));
33391 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_FromInt((int)wxLC_SORT_ASCENDING));
33392 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_FromInt((int)wxLC_SORT_DESCENDING));
33393 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_FromInt((int)wxLC_MASK_TYPE));
33394 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_FromInt((int)wxLC_MASK_ALIGN));
33395 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_FromInt((int)wxLC_MASK_SORT));
33396 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_FromInt((int)wxLIST_MASK_STATE));
33397 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_FromInt((int)wxLIST_MASK_TEXT));
33398 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_FromInt((int)wxLIST_MASK_IMAGE));
33399 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_FromInt((int)wxLIST_MASK_DATA));
33400 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_FromInt((int)wxLIST_SET_ITEM));
33401 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_FromInt((int)wxLIST_MASK_WIDTH));
33402 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_FromInt((int)wxLIST_MASK_FORMAT));
33403 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_FromInt((int)wxLIST_STATE_DONTCARE));
33404 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_FromInt((int)wxLIST_STATE_DROPHILITED));
33405 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_FromInt((int)wxLIST_STATE_FOCUSED));
33406 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_FromInt((int)wxLIST_STATE_SELECTED));
33407 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_FromInt((int)wxLIST_STATE_CUT));
33408 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_FromInt((int)wxLIST_STATE_DISABLED));
33409 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_FromInt((int)wxLIST_STATE_FILTERED));
33410 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_FromInt((int)wxLIST_STATE_INUSE));
33411 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_FromInt((int)wxLIST_STATE_PICKED));
33412 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_FromInt((int)wxLIST_STATE_SOURCE));
33413 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_FromInt((int)wxLIST_HITTEST_ABOVE));
33414 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_FromInt((int)wxLIST_HITTEST_BELOW));
33415 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_FromInt((int)wxLIST_HITTEST_NOWHERE));
33416 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMICON));
33417 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
33418 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
33419 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
33420 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_FromInt((int)wxLIST_HITTEST_TOLEFT));
33421 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_FromInt((int)wxLIST_HITTEST_TORIGHT));
33422 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_FromInt((int)wxLIST_HITTEST_ONITEM));
33423 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_FromInt((int)wxLIST_NEXT_ABOVE));
33424 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_FromInt((int)wxLIST_NEXT_ALL));
33425 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_FromInt((int)wxLIST_NEXT_BELOW));
33426 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_FromInt((int)wxLIST_NEXT_LEFT));
33427 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_FromInt((int)wxLIST_NEXT_RIGHT));
33428 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_FromInt((int)wxLIST_ALIGN_DEFAULT));
33429 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_FromInt((int)wxLIST_ALIGN_LEFT));
33430 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_FromInt((int)wxLIST_ALIGN_TOP));
33431 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
33432 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_FromInt((int)wxLIST_FORMAT_LEFT));
33433 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_FromInt((int)wxLIST_FORMAT_RIGHT));
33434 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_FromInt((int)wxLIST_FORMAT_CENTRE));
33435 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_FromInt((int)wxLIST_FORMAT_CENTER));
33436 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_FromInt((int)wxLIST_AUTOSIZE));
33437 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
33438 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_FromInt((int)wxLIST_RECT_BOUNDS));
33439 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_FromInt((int)wxLIST_RECT_ICON));
33440 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_FromInt((int)wxLIST_RECT_LABEL));
33441 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_FromInt((int)wxLIST_FIND_UP));
33442 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_FromInt((int)wxLIST_FIND_DOWN));
33443 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_FromInt((int)wxLIST_FIND_LEFT));
33444 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_FromInt((int)wxLIST_FIND_RIGHT));
33445 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
33446 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
33447 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
33448 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
33449 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
33450 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
33451 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
33452 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
33453 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
33454 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
33455 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
33456 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
33457 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
33458 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
33459 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
33460 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
33461 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
33462 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
33463 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
33464 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
33465 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
33466 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
33467
33468 // Map renamed classes back to their common name for OOR
33469 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33470
33471 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
33472 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_FromInt((int)wxTR_NO_BUTTONS));
33473 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_FromInt((int)wxTR_HAS_BUTTONS));
33474 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_FromInt((int)wxTR_NO_LINES));
33475 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_FromInt((int)wxTR_LINES_AT_ROOT));
33476 PyDict_SetItemString(d,"TR_SINGLE", SWIG_FromInt((int)wxTR_SINGLE));
33477 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_FromInt((int)wxTR_MULTIPLE));
33478 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_FromInt((int)wxTR_EXTENDED));
33479 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
33480 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_FromInt((int)wxTR_EDIT_LABELS));
33481 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_FromInt((int)wxTR_HIDE_ROOT));
33482 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_FromInt((int)wxTR_ROW_LINES));
33483 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
33484 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_FromInt((int)wxTR_DEFAULT_STYLE));
33485 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_FromInt((int)wxTR_TWIST_BUTTONS));
33486 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_FromInt((int)wxTR_MAC_BUTTONS));
33487 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_FromInt((int)wxTR_AQUA_BUTTONS));
33488 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_FromInt((int)wxTreeItemIcon_Normal));
33489 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_FromInt((int)wxTreeItemIcon_Selected));
33490 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_FromInt((int)wxTreeItemIcon_Expanded));
33491 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_FromInt((int)wxTreeItemIcon_SelectedExpanded));
33492 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_FromInt((int)wxTreeItemIcon_Max));
33493 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_FromInt((int)wxTREE_HITTEST_ABOVE));
33494 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_FromInt((int)wxTREE_HITTEST_BELOW));
33495 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_FromInt((int)wxTREE_HITTEST_NOWHERE));
33496 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
33497 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMICON));
33498 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
33499 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
33500 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
33501 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
33502 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_FromInt((int)wxTREE_HITTEST_TOLEFT));
33503 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_FromInt((int)wxTREE_HITTEST_TORIGHT));
33504 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
33505 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
33506 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_FromInt((int)wxTREE_HITTEST_ONITEM));
33507 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
33508 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
33509 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
33510 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
33511 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
33512 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
33513 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
33514 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
33515 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
33516 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
33517 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
33518 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
33519 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
33520 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
33521 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
33522 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
33523 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
33524 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
33525 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
33526 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
33527
33528 // Map renamed classes back to their common name for OOR
33529 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33530 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33531
33532 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
33533 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_FromInt((int)wxDIRCTRL_DIR_ONLY));
33534 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_FromInt((int)wxDIRCTRL_SELECT_FIRST));
33535 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
33536 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_FromInt((int)wxDIRCTRL_3D_INTERNAL));
33537 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_FromInt((int)wxDIRCTRL_EDIT_LABELS));
33538 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_FromInt((int)wxFRAME_EX_CONTEXTHELP));
33539 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
33540 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
33541 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
33542
33543 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
33544
33545}
33546