]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/msw/controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / controls_wrap.cpp
... / ...
CommitLineData
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/***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137#include "Python.h"
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198/* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201/* basic types */
202/*
203 utilities
204*/
205SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221/* Contract support */
222
223#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225#ifdef __cplusplus
226}
227#endif
228
229
230
231/* -------- TYPES TABLE (BEGIN) -------- */
232
233#define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
234#define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
235#define SWIGTYPE_p_wxSizer swig_types[2]
236#define SWIGTYPE_p_wxCheckBox swig_types[3]
237#define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
238#define SWIGTYPE_p_wxEvent swig_types[5]
239#define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
240#define SWIGTYPE_p_bool swig_types[7]
241#define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
242#define SWIGTYPE_p_wxItemContainer swig_types[9]
243#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
244#define SWIGTYPE_p_wxPyListCtrl swig_types[11]
245#define SWIGTYPE_p_wxStaticLine swig_types[12]
246#define SWIGTYPE_p_wxControl swig_types[13]
247#define SWIGTYPE_p_wxPyControl swig_types[14]
248#define SWIGTYPE_p_wxGauge swig_types[15]
249#define SWIGTYPE_p_wxToolBarBase swig_types[16]
250#define SWIGTYPE_p_wxFont swig_types[17]
251#define SWIGTYPE_p_wxToggleButton swig_types[18]
252#define SWIGTYPE_p_wxRadioButton swig_types[19]
253#define SWIGTYPE_p_wxChoice swig_types[20]
254#define SWIGTYPE_p_wxMemoryDC swig_types[21]
255#define SWIGTYPE_p_wxListItemAttr swig_types[22]
256#define SWIGTYPE_p_void swig_types[23]
257#define SWIGTYPE_p_int swig_types[24]
258#define SWIGTYPE_p_wxSize swig_types[25]
259#define SWIGTYPE_p_wxDC swig_types[26]
260#define SWIGTYPE_p_wxListView swig_types[27]
261#define SWIGTYPE_p_wxIcon swig_types[28]
262#define SWIGTYPE_p_wxTextCtrl swig_types[29]
263#define SWIGTYPE_p_wxNotebook swig_types[30]
264#define SWIGTYPE_p_wxNotifyEvent swig_types[31]
265#define SWIGTYPE_p_wxArrayString swig_types[32]
266#define SWIGTYPE_p_wxListbook swig_types[33]
267#define SWIGTYPE_p_wxStaticBitmap swig_types[34]
268#define SWIGTYPE_p_wxSlider swig_types[35]
269#define SWIGTYPE_p_wxStaticBox swig_types[36]
270#define SWIGTYPE_p_wxArrayInt swig_types[37]
271#define SWIGTYPE_p_wxContextHelp swig_types[38]
272#define SWIGTYPE_p_long swig_types[39]
273#define SWIGTYPE_p_wxEvtHandler swig_types[40]
274#define SWIGTYPE_p_wxListEvent swig_types[41]
275#define SWIGTYPE_p_wxListBox swig_types[42]
276#define SWIGTYPE_p_wxCheckListBox swig_types[43]
277#define SWIGTYPE_p_wxBookCtrl swig_types[44]
278#define SWIGTYPE_p_wxSpinButton swig_types[45]
279#define SWIGTYPE_p_wxButton swig_types[46]
280#define SWIGTYPE_p_wxBitmapButton swig_types[47]
281#define SWIGTYPE_p_wxRect swig_types[48]
282#define SWIGTYPE_p_wxContextHelpButton swig_types[49]
283#define SWIGTYPE_p_wxRadioBox swig_types[50]
284#define SWIGTYPE_p_wxScrollBar swig_types[51]
285#define SWIGTYPE_p_char swig_types[52]
286#define SWIGTYPE_p_wxTreeItemId swig_types[53]
287#define SWIGTYPE_p_wxComboBox swig_types[54]
288#define SWIGTYPE_p_wxHelpEvent swig_types[55]
289#define SWIGTYPE_p_wxListItem swig_types[56]
290#define SWIGTYPE_p_wxNotebookSizer swig_types[57]
291#define SWIGTYPE_p_wxSpinEvent swig_types[58]
292#define SWIGTYPE_p_wxGenericDragImage swig_types[59]
293#define SWIGTYPE_p_wxSpinCtrl swig_types[60]
294#define SWIGTYPE_p_wxImageList swig_types[61]
295#define SWIGTYPE_p_wxHelpProvider swig_types[62]
296#define SWIGTYPE_p_wxTextAttr swig_types[63]
297#define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
298#define SWIGTYPE_p_wxPoint swig_types[65]
299#define SWIGTYPE_p_wxListbookEvent swig_types[66]
300#define SWIGTYPE_p_wxNotebookEvent swig_types[67]
301#define SWIGTYPE_p_wxObject swig_types[68]
302#define SWIGTYPE_p_wxCursor swig_types[69]
303#define SWIGTYPE_p_wxKeyEvent swig_types[70]
304#define SWIGTYPE_p_wxWindow swig_types[71]
305#define SWIGTYPE_p_wxString swig_types[72]
306#define SWIGTYPE_p_wxBitmap swig_types[73]
307#define SWIGTYPE_p_wxTreeEvent swig_types[74]
308#define SWIGTYPE_p_wxMouseEvent swig_types[75]
309#define SWIGTYPE_p_wxCommandEvent swig_types[76]
310#define SWIGTYPE_p_wxStaticText swig_types[77]
311#define SWIGTYPE_p_wxControlWithItems swig_types[78]
312#define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
313#define SWIGTYPE_p_wxColour swig_types[80]
314#define SWIGTYPE_p_wxToolBar swig_types[81]
315#define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
316#define SWIGTYPE_p_wxValidator swig_types[83]
317static swig_type_info *swig_types[85];
318
319/* -------- TYPES TABLE (END) -------- */
320
321
322/*-----------------------------------------------
323 @(target):= _controls.so
324 ------------------------------------------------*/
325#define SWIG_init init_controls
326
327#define SWIG_name "_controls"
328
329#include <limits.h>
330#include <float.h>
331#include <string.h>
332
333#ifndef SWIGSTATIC
334#ifdef __cplusplus
335#define SWIGSTATIC(a) static inline a
336#else
337#define SWIGSTATIC(a) static a
338#endif
339#endif
340
341#ifndef numeric_cast
342#ifdef __cplusplus
343#ifdef HAVE_NUMERIC_CAST
344#define numeric_cast(type,a) numeric_cast<type>(a)
345#else
346#define numeric_cast(type,a) static_cast<type>(a)
347#endif
348#else
349#define numeric_cast(type,a) (type)(a)
350#endif
351#endif
352
353
354
355#define SWIG_PyObj_FromSignedChar PyInt_FromLong
356#define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357#define SWIG_PyObj_FromShort PyInt_FromLong
358#define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359#define SWIG_PyObj_FromInt PyInt_FromLong
360#define SWIG_PyObj_FromLong PyInt_FromLong
361#define SWIG_PyObj_FromFloat PyFloat_FromDouble
362#define SWIG_PyObj_FromDouble PyFloat_FromDouble
363#define SWIG_PyObj_FromFloat PyFloat_FromDouble
364#define SWIG_PyObj_FromDouble PyFloat_FromDouble
365
366
367#include "wx/wxPython/wxPython.h"
368#include "wx/wxPython/pyclasses.h"
369
370 static const wxString wxPyPanelNameStr(wxPanelNameStr);
371 static const wxString wxPyEmptyString(wxEmptyString);
372 static const wxString wxPyControlNameStr(wxControlNameStr);
373
374 const wxArrayString wxPyEmptyStringArray;
375
376 static const wxString wxPyButtonNameStr(wxButtonNameStr);
377
378SWIGSTATIC(int)
379SWIG_PyObj_AsInt(PyObject *obj)
380{
381 return numeric_cast(int,
382 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
383}
384
385
386SWIGSTATIC(long)
387SWIG_PyObj_AsLong(PyObject * obj)
388{
389 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
390}
391
392 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
393
394SWIGSTATIC(bool)
395SWIG_PyObj_AsBool(PyObject *obj)
396{
397 return PyObject_IsTrue(obj) ? true : false;
398}
399
400 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
401 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
402 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
403 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
404 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
405 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
406
407#include <wx/checklst.h>
408
409
410 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
411void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
412 if (clientData) {
413 wxPyClientData* data = new wxPyClientData(clientData);
414 self->Insert(item, pos, data);
415 } else
416 self->Insert(item, pos);
417 }
418PyObject *wxListBox_GetSelections(wxListBox *self){
419 wxArrayInt lst;
420 self->GetSelections(lst);
421 PyObject *tup = PyTuple_New(lst.GetCount());
422 for(size_t i=0; i<lst.GetCount(); i++) {
423 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
424 }
425 return tup;
426 }
427void wxListBox_SetItemForegroundColour(wxListBox *self,int item,wxColour const &c){
428 #ifdef __WXMSW__
429 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
430 self->GetItem(item)->SetTextColour(c);
431 #endif
432 }
433void wxListBox_SetItemBackgroundColour(wxListBox *self,int item,wxColour const &c){
434 #ifdef __WXMSW__
435 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
436 self->GetItem(item)->SetBackgroundColour(c);
437 #endif
438 }
439void wxListBox_SetItemFont(wxListBox *self,int item,wxFont const &f){
440 #ifdef __WXMSW__
441 if (self->GetWindowStyle() & wxLB_OWNERDRAW)
442 self->GetItem(item)->SetFont(f);
443 #endif
444 }
445 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
446
447static PyObject* t_output_helper(PyObject* target, PyObject* o) {
448 PyObject* o2;
449 PyObject* o3;
450
451 if (!target) {
452 target = o;
453 } else if (target == Py_None) {
454 Py_DECREF(Py_None);
455 target = o;
456 } else {
457 if (!PyTuple_Check(target)) {
458 o2 = target;
459 target = PyTuple_New(1);
460 PyTuple_SetItem(target, 0, o2);
461 }
462 o3 = PyTuple_New(1);
463 PyTuple_SetItem(o3, 0, o);
464
465 o2 = target;
466 target = PySequence_Concat(o2, o3);
467 Py_DECREF(o2);
468 Py_DECREF(o3);
469 }
470 return target;
471}
472
473void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
474 self->AppendText(text);
475 }
476wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
477 return self->GetValue().Mid(from, to - from);
478 }
479 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
480 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
481 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
482 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
483 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
484
485#include <wx/slider.h>
486
487
488 static const wxString wxPySliderNameStr(wxSliderNameStr);
489 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
490
491#if defined(__WXMAC__) || defined(__WXX11__)
492// implement dummy classes and such for wxMac
493
494#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
495
496class wxToggleButton : public wxControl
497{
498public:
499 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
500 const wxPoint&, const wxSize&, long,
501 const wxValidator&, const wxString&)
502 { wxPyRaiseNotImplemented(); }
503
504 wxToggleButton()
505 { wxPyRaiseNotImplemented(); }
506};
507#endif
508
509 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
510
511SWIGSTATIC(PyObject* )
512SWIG_PyObj_FromUnsignedLong(unsigned long value)
513{
514 return (value > (unsigned long)(LONG_MAX)) ?
515 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
516}
517
518 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
519PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
520 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
521 if (udata) {
522 Py_INCREF(udata->m_obj);
523 return udata->m_obj;
524 } else {
525 Py_INCREF(Py_None);
526 return Py_None;
527 }
528 }
529void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
530 self->SetClientData(new wxPyUserData(clientData));
531 }
532wxToolBarToolBase *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){
533 wxPyUserData* udata = NULL;
534 if (clientData && clientData != Py_None)
535 udata = new wxPyUserData(clientData);
536 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
537 shortHelp, longHelp, udata);
538 }
539wxToolBarToolBase *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){
540 wxPyUserData* udata = NULL;
541 if (clientData && clientData != Py_None)
542 udata = new wxPyUserData(clientData);
543 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
544 shortHelp, longHelp, udata);
545 }
546PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
547 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
548 if (udata) {
549 Py_INCREF(udata->m_obj);
550 return udata->m_obj;
551 } else {
552 Py_INCREF(Py_None);
553 return Py_None;
554 }
555 }
556void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
557 self->SetToolClientData(id, new wxPyUserData(clientData));
558 }
559
560#include <wx/listctrl.h>
561
562
563 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
564void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
565 // Python aware sorting function for wxPyListCtrl
566 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
567 int retval = 0;
568 PyObject* func = (PyObject*)funcPtr;
569 wxPyBeginBlockThreads();
570
571 PyObject* args = Py_BuildValue("(ii)", item1, item2);
572 PyObject* result = PyEval_CallObject(func, args);
573 Py_DECREF(args);
574 if (result) {
575 retval = PyInt_AsLong(result);
576 Py_DECREF(result);
577 }
578
579 wxPyEndBlockThreads();
580 return retval;
581 }
582
583 // C++ Version of a Python aware class
584class wxPyListCtrl : public wxListCtrl {
585 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
586public:
587 wxPyListCtrl() : wxListCtrl() {}
588 wxPyListCtrl(wxWindow* parent, wxWindowID id,
589 const wxPoint& pos,
590 const wxSize& size,
591 long style,
592 const wxValidator& validator,
593 const wxString& name) :
594 wxListCtrl(parent, id, pos, size, style, validator, name) {}
595
596 bool Create(wxWindow* parent, wxWindowID id,
597 const wxPoint& pos,
598 const wxSize& size,
599 long style,
600 const wxValidator& validator,
601 const wxString& name) {
602 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
603 }
604
605 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
606 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
607 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
608
609 PYPRIVATE;
610};
611
612IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
613
614IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
615IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
616IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
617
618wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
619 wxListItem item;
620 item.SetMask( wxLIST_MASK_STATE |
621 wxLIST_MASK_TEXT |
622 wxLIST_MASK_IMAGE |
623 wxLIST_MASK_DATA |
624 wxLIST_SET_ITEM |
625 wxLIST_MASK_WIDTH |
626 wxLIST_MASK_FORMAT
627 );
628 if (self->GetColumn(col, item))
629 return new wxListItem(item);
630 else
631 return NULL;
632 }
633wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
634 wxListItem* info = new wxListItem;
635 info->m_itemId = itemId;
636 info->m_col = col;
637 info->m_mask = 0xFFFF;
638 self->GetItem(*info);
639 return info;
640 }
641wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
642 wxPoint pos;
643 self->GetItemPosition(item, pos);
644 return pos;
645 }
646wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
647 wxRect rect;
648 self->GetItemRect(item, rect, code);
649 return rect;
650 }
651bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
652 if (!PyCallable_Check(func))
653 return False;
654 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
655 }
656wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
657
658 return self;
659
660
661
662 }
663
664#include <wx/treectrl.h>
665#include "wx/wxPython/pytree.h"
666
667 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
668bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
669 if (!other) return False;
670 return *self == *other;
671 }
672bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
673 if (!other) return True;
674 return *self != *other;
675 }
676void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
677 // C++ version of Python aware wxTreeCtrl
678class wxPyTreeCtrl : public wxTreeCtrl {
679 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
680public:
681 wxPyTreeCtrl() : wxTreeCtrl() {}
682 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
683 const wxPoint& pos,
684 const wxSize& size,
685 long style,
686 const wxValidator& validator,
687 const wxString& name) :
688 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
689
690 bool Create(wxWindow *parent, wxWindowID id,
691 const wxPoint& pos,
692 const wxSize& size,
693 long style,
694 const wxValidator& validator,
695 const wxString& name) {
696 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
697 }
698
699
700 int OnCompareItems(const wxTreeItemId& item1,
701 const wxTreeItemId& item2) {
702 int rval = 0;
703 bool found;
704 wxPyBeginBlockThreads();
705 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
706 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
707 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
708 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
709 Py_DECREF(o1);
710 Py_DECREF(o2);
711 }
712 wxPyEndBlockThreads();
713 if (! found)
714 rval = wxTreeCtrl::OnCompareItems(item1, item2);
715 return rval;
716 }
717 PYPRIVATE;
718};
719
720IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
721
722
723
724#define SWIG_PyObj_FromUnsignedInt SWIG_PyObj_FromUnsignedLong
725
726
727SWIGSTATIC(unsigned int)
728SWIG_PyObj_AsUnsignedInt(PyObject *obj)
729{
730 return numeric_cast(unsigned int,
731 SWIG_PyObj_AsUnsignedLongInRange(obj, "unsigned int", UINT_MAX));
732}
733
734wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
735 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
736 if (data == NULL) {
737 data = new wxPyTreeItemData();
738 data->SetId(item); // set the id
739 self->SetItemData(item, data);
740 }
741 return data;
742 }
743PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
744 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
745 if (data == NULL) {
746 data = new wxPyTreeItemData();
747 data->SetId(item); // set the id
748 self->SetItemData(item, data);
749 }
750 return data->GetData();
751 }
752void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
753 data->SetId(item); // set the id
754 self->SetItemData(item, data);
755 }
756void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
757 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
758 if (data == NULL) {
759 data = new wxPyTreeItemData(obj);
760 data->SetId(item); // set the id
761 self->SetItemData(item, data);
762 } else
763 data->SetData(obj);
764 }
765PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
766 wxPyBeginBlockThreads();
767 PyObject* rval = PyList_New(0);
768 wxArrayTreeItemIds array;
769 size_t num, x;
770 num = self->GetSelections(array);
771 for (x=0; x < num; x++) {
772 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
773 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
774 PyList_Append(rval, item);
775 }
776 wxPyEndBlockThreads();
777 return rval;
778 }
779PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
780 void* cookie = 0;
781 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
782 wxPyBeginBlockThreads();
783 PyObject* tup = PyTuple_New(2);
784 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
785 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
786 wxPyEndBlockThreads();
787 return tup;
788 }
789PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
790 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
791 wxPyBeginBlockThreads();
792 PyObject* tup = PyTuple_New(2);
793 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
794 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
795 wxPyEndBlockThreads();
796 return tup;
797 }
798PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
799 wxRect rect;
800 if (self->GetBoundingRect(item, rect, textOnly)) {
801 wxPyBeginBlockThreads();
802 wxRect* r = new wxRect(rect);
803 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
804 wxPyEndBlockThreads();
805 return val;
806 }
807 else
808 RETURN_NONE();
809 }
810 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
811 // C++ version of Python aware wxControl
812class wxPyControl : public wxControl
813{
814 DECLARE_DYNAMIC_CLASS(wxPyControl)
815public:
816 wxPyControl() : wxControl() {}
817 wxPyControl(wxWindow* parent, const wxWindowID id,
818 const wxPoint& pos = wxDefaultPosition,
819 const wxSize& size = wxDefaultSize,
820 long style = 0,
821 const wxValidator& validator=wxDefaultValidator,
822 const wxString& name = wxPyControlNameStr)
823 : wxControl(parent, id, pos, size, style, validator, name) {}
824
825
826 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
827 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
828 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
829 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
830
831 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
832 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
833 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
834
835 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
836 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
837
838 DEC_PYCALLBACK__(InitDialog);
839 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
840 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
841 DEC_PYCALLBACK_BOOL_(Validate);
842
843 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
844 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
845 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
846
847 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
848 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
849
850 PYPRIVATE;
851};
852
853IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
854
855IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
856IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
857IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
858IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
859
860IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
861IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
862IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
863
864IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
865IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
866
867IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
868IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
869IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
870IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
871
872IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
873IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
874IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
875
876IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
877IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
878
879
880
881
882void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
883
884#include <wx/generic/dragimgg.h>
885
886#ifdef __cplusplus
887extern "C" {
888#endif
889static int _wrap_ButtonNameStr_set(PyObject *) {
890 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
891 return 1;
892}
893
894
895static PyObject *_wrap_ButtonNameStr_get() {
896 PyObject *pyobj;
897
898 {
899#if wxUSE_UNICODE
900 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
901#else
902 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
903#endif
904 }
905 return pyobj;
906}
907
908
909static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
910 PyObject *resultobj;
911 wxWindow *arg1 = (wxWindow *) 0 ;
912 int arg2 ;
913 wxString *arg3 = 0 ;
914 wxPoint const &arg4_defvalue = wxDefaultPosition ;
915 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
916 wxSize const &arg5_defvalue = wxDefaultSize ;
917 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
918 long arg6 = (long) 0 ;
919 wxValidator const &arg7_defvalue = wxDefaultValidator ;
920 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
921 wxString const &arg8_defvalue = wxPyButtonNameStr ;
922 wxString *arg8 = (wxString *) &arg8_defvalue ;
923 wxButton *result;
924 bool temp3 = False ;
925 wxPoint temp4 ;
926 wxSize temp5 ;
927 bool temp8 = False ;
928 PyObject * obj0 = 0 ;
929 PyObject * obj1 = 0 ;
930 PyObject * obj2 = 0 ;
931 PyObject * obj3 = 0 ;
932 PyObject * obj4 = 0 ;
933 PyObject * obj5 = 0 ;
934 PyObject * obj6 = 0 ;
935 PyObject * obj7 = 0 ;
936 char *kwnames[] = {
937 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
938 };
939
940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Button",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
942 {
943 arg2 = (int) SWIG_PyObj_AsInt(obj1);
944 if (PyErr_Occurred()) SWIG_fail;
945 }
946 {
947 arg3 = wxString_in_helper(obj2);
948 if (arg3 == NULL) SWIG_fail;
949 temp3 = True;
950 }
951 if (obj3) {
952 {
953 arg4 = &temp4;
954 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
955 }
956 }
957 if (obj4) {
958 {
959 arg5 = &temp5;
960 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
961 }
962 }
963 if (obj5) {
964 {
965 arg6 = (long) SWIG_PyObj_AsLong(obj5);
966 if (PyErr_Occurred()) SWIG_fail;
967 }
968 }
969 if (obj6) {
970 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
971 if (arg7 == NULL) {
972 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
973 }
974 }
975 if (obj7) {
976 {
977 arg8 = wxString_in_helper(obj7);
978 if (arg8 == NULL) SWIG_fail;
979 temp8 = True;
980 }
981 }
982 {
983 PyThreadState* __tstate = wxPyBeginAllowThreads();
984 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
985
986 wxPyEndAllowThreads(__tstate);
987 if (PyErr_Occurred()) SWIG_fail;
988 }
989 {
990 resultobj = wxPyMake_wxObject(result);
991 }
992 {
993 if (temp3)
994 delete arg3;
995 }
996 {
997 if (temp8)
998 delete arg8;
999 }
1000 return resultobj;
1001 fail:
1002 {
1003 if (temp3)
1004 delete arg3;
1005 }
1006 {
1007 if (temp8)
1008 delete arg8;
1009 }
1010 return NULL;
1011}
1012
1013
1014static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1015 PyObject *resultobj;
1016 wxButton *result;
1017 char *kwnames[] = {
1018 NULL
1019 };
1020
1021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1022 {
1023 PyThreadState* __tstate = wxPyBeginAllowThreads();
1024 result = (wxButton *)new wxButton();
1025
1026 wxPyEndAllowThreads(__tstate);
1027 if (PyErr_Occurred()) SWIG_fail;
1028 }
1029 {
1030 resultobj = wxPyMake_wxObject(result);
1031 }
1032 return resultobj;
1033 fail:
1034 return NULL;
1035}
1036
1037
1038static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1039 PyObject *resultobj;
1040 wxButton *arg1 = (wxButton *) 0 ;
1041 wxWindow *arg2 = (wxWindow *) 0 ;
1042 int arg3 ;
1043 wxString *arg4 = 0 ;
1044 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1045 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1046 wxSize const &arg6_defvalue = wxDefaultSize ;
1047 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1048 long arg7 = (long) 0 ;
1049 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1050 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1051 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1052 wxString *arg9 = (wxString *) &arg9_defvalue ;
1053 bool result;
1054 bool temp4 = False ;
1055 wxPoint temp5 ;
1056 wxSize temp6 ;
1057 bool temp9 = False ;
1058 PyObject * obj0 = 0 ;
1059 PyObject * obj1 = 0 ;
1060 PyObject * obj2 = 0 ;
1061 PyObject * obj3 = 0 ;
1062 PyObject * obj4 = 0 ;
1063 PyObject * obj5 = 0 ;
1064 PyObject * obj6 = 0 ;
1065 PyObject * obj7 = 0 ;
1066 PyObject * obj8 = 0 ;
1067 char *kwnames[] = {
1068 (char *) "self",(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 *)"OOOO|OOOOO:Button_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1073 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1074 {
1075 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1076 if (PyErr_Occurred()) SWIG_fail;
1077 }
1078 {
1079 arg4 = wxString_in_helper(obj3);
1080 if (arg4 == NULL) SWIG_fail;
1081 temp4 = True;
1082 }
1083 if (obj4) {
1084 {
1085 arg5 = &temp5;
1086 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1087 }
1088 }
1089 if (obj5) {
1090 {
1091 arg6 = &temp6;
1092 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1093 }
1094 }
1095 if (obj6) {
1096 {
1097 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1098 if (PyErr_Occurred()) SWIG_fail;
1099 }
1100 }
1101 if (obj7) {
1102 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1103 if (arg8 == NULL) {
1104 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1105 }
1106 }
1107 if (obj8) {
1108 {
1109 arg9 = wxString_in_helper(obj8);
1110 if (arg9 == NULL) SWIG_fail;
1111 temp9 = True;
1112 }
1113 }
1114 {
1115 PyThreadState* __tstate = wxPyBeginAllowThreads();
1116 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1117
1118 wxPyEndAllowThreads(__tstate);
1119 if (PyErr_Occurred()) SWIG_fail;
1120 }
1121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1122 {
1123 if (temp4)
1124 delete arg4;
1125 }
1126 {
1127 if (temp9)
1128 delete arg9;
1129 }
1130 return resultobj;
1131 fail:
1132 {
1133 if (temp4)
1134 delete arg4;
1135 }
1136 {
1137 if (temp9)
1138 delete arg9;
1139 }
1140 return NULL;
1141}
1142
1143
1144static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1145 PyObject *resultobj;
1146 wxButton *arg1 = (wxButton *) 0 ;
1147 PyObject * obj0 = 0 ;
1148 char *kwnames[] = {
1149 (char *) "self", NULL
1150 };
1151
1152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1154 {
1155 PyThreadState* __tstate = wxPyBeginAllowThreads();
1156 (arg1)->SetDefault();
1157
1158 wxPyEndAllowThreads(__tstate);
1159 if (PyErr_Occurred()) SWIG_fail;
1160 }
1161 Py_INCREF(Py_None); resultobj = Py_None;
1162 return resultobj;
1163 fail:
1164 return NULL;
1165}
1166
1167
1168static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1169 PyObject *resultobj;
1170 wxSize result;
1171 char *kwnames[] = {
1172 NULL
1173 };
1174
1175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1176 {
1177 PyThreadState* __tstate = wxPyBeginAllowThreads();
1178 result = wxButton::GetDefaultSize();
1179
1180 wxPyEndAllowThreads(__tstate);
1181 if (PyErr_Occurred()) SWIG_fail;
1182 }
1183 {
1184 wxSize * resultptr;
1185 resultptr = new wxSize((wxSize &) result);
1186 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1187 }
1188 return resultobj;
1189 fail:
1190 return NULL;
1191}
1192
1193
1194static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1195 PyObject *obj;
1196 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1197 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1198 Py_INCREF(obj);
1199 return Py_BuildValue((char *)"");
1200}
1201static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1202 PyObject *resultobj;
1203 wxWindow *arg1 = (wxWindow *) 0 ;
1204 int arg2 ;
1205 wxBitmap *arg3 = 0 ;
1206 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1207 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1208 wxSize const &arg5_defvalue = wxDefaultSize ;
1209 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1210 long arg6 = (long) wxBU_AUTODRAW ;
1211 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1212 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1213 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1214 wxString *arg8 = (wxString *) &arg8_defvalue ;
1215 wxBitmapButton *result;
1216 wxPoint temp4 ;
1217 wxSize temp5 ;
1218 bool temp8 = False ;
1219 PyObject * obj0 = 0 ;
1220 PyObject * obj1 = 0 ;
1221 PyObject * obj2 = 0 ;
1222 PyObject * obj3 = 0 ;
1223 PyObject * obj4 = 0 ;
1224 PyObject * obj5 = 0 ;
1225 PyObject * obj6 = 0 ;
1226 PyObject * obj7 = 0 ;
1227 char *kwnames[] = {
1228 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1229 };
1230
1231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_BitmapButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1233 {
1234 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1235 if (PyErr_Occurred()) SWIG_fail;
1236 }
1237 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1238 if (arg3 == NULL) {
1239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1240 }
1241 if (obj3) {
1242 {
1243 arg4 = &temp4;
1244 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1245 }
1246 }
1247 if (obj4) {
1248 {
1249 arg5 = &temp5;
1250 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1251 }
1252 }
1253 if (obj5) {
1254 {
1255 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1256 if (PyErr_Occurred()) SWIG_fail;
1257 }
1258 }
1259 if (obj6) {
1260 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1261 if (arg7 == NULL) {
1262 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1263 }
1264 }
1265 if (obj7) {
1266 {
1267 arg8 = wxString_in_helper(obj7);
1268 if (arg8 == NULL) SWIG_fail;
1269 temp8 = True;
1270 }
1271 }
1272 {
1273 PyThreadState* __tstate = wxPyBeginAllowThreads();
1274 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1275
1276 wxPyEndAllowThreads(__tstate);
1277 if (PyErr_Occurred()) SWIG_fail;
1278 }
1279 {
1280 resultobj = wxPyMake_wxObject(result);
1281 }
1282 {
1283 if (temp8)
1284 delete arg8;
1285 }
1286 return resultobj;
1287 fail:
1288 {
1289 if (temp8)
1290 delete arg8;
1291 }
1292 return NULL;
1293}
1294
1295
1296static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1297 PyObject *resultobj;
1298 wxBitmapButton *result;
1299 char *kwnames[] = {
1300 NULL
1301 };
1302
1303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1304 {
1305 PyThreadState* __tstate = wxPyBeginAllowThreads();
1306 result = (wxBitmapButton *)new wxBitmapButton();
1307
1308 wxPyEndAllowThreads(__tstate);
1309 if (PyErr_Occurred()) SWIG_fail;
1310 }
1311 {
1312 resultobj = wxPyMake_wxObject(result);
1313 }
1314 return resultobj;
1315 fail:
1316 return NULL;
1317}
1318
1319
1320static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1321 PyObject *resultobj;
1322 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1323 wxWindow *arg2 = (wxWindow *) 0 ;
1324 int arg3 ;
1325 wxBitmap *arg4 = 0 ;
1326 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1327 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1328 wxSize const &arg6_defvalue = wxDefaultSize ;
1329 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1330 long arg7 = (long) wxBU_AUTODRAW ;
1331 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1332 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1333 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1334 wxString *arg9 = (wxString *) &arg9_defvalue ;
1335 bool result;
1336 wxPoint temp5 ;
1337 wxSize temp6 ;
1338 bool temp9 = False ;
1339 PyObject * obj0 = 0 ;
1340 PyObject * obj1 = 0 ;
1341 PyObject * obj2 = 0 ;
1342 PyObject * obj3 = 0 ;
1343 PyObject * obj4 = 0 ;
1344 PyObject * obj5 = 0 ;
1345 PyObject * obj6 = 0 ;
1346 PyObject * obj7 = 0 ;
1347 PyObject * obj8 = 0 ;
1348 char *kwnames[] = {
1349 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1350 };
1351
1352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:BitmapButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1355 {
1356 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1357 if (PyErr_Occurred()) SWIG_fail;
1358 }
1359 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1360 if (arg4 == NULL) {
1361 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1362 }
1363 if (obj4) {
1364 {
1365 arg5 = &temp5;
1366 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1367 }
1368 }
1369 if (obj5) {
1370 {
1371 arg6 = &temp6;
1372 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1373 }
1374 }
1375 if (obj6) {
1376 {
1377 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1378 if (PyErr_Occurred()) SWIG_fail;
1379 }
1380 }
1381 if (obj7) {
1382 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1383 if (arg8 == NULL) {
1384 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1385 }
1386 }
1387 if (obj8) {
1388 {
1389 arg9 = wxString_in_helper(obj8);
1390 if (arg9 == NULL) SWIG_fail;
1391 temp9 = True;
1392 }
1393 }
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
1401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1402 {
1403 if (temp9)
1404 delete arg9;
1405 }
1406 return resultobj;
1407 fail:
1408 {
1409 if (temp9)
1410 delete arg9;
1411 }
1412 return NULL;
1413}
1414
1415
1416static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1417 PyObject *resultobj;
1418 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1419 wxBitmap result;
1420 PyObject * obj0 = 0 ;
1421 char *kwnames[] = {
1422 (char *) "self", NULL
1423 };
1424
1425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1427 {
1428 PyThreadState* __tstate = wxPyBeginAllowThreads();
1429 result = (arg1)->GetBitmapLabel();
1430
1431 wxPyEndAllowThreads(__tstate);
1432 if (PyErr_Occurred()) SWIG_fail;
1433 }
1434 {
1435 wxBitmap * resultptr;
1436 resultptr = new wxBitmap((wxBitmap &) result);
1437 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1438 }
1439 return resultobj;
1440 fail:
1441 return NULL;
1442}
1443
1444
1445static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1446 PyObject *resultobj;
1447 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1448 wxBitmap result;
1449 PyObject * obj0 = 0 ;
1450 char *kwnames[] = {
1451 (char *) "self", NULL
1452 };
1453
1454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1456 {
1457 PyThreadState* __tstate = wxPyBeginAllowThreads();
1458 result = (arg1)->GetBitmapDisabled();
1459
1460 wxPyEndAllowThreads(__tstate);
1461 if (PyErr_Occurred()) SWIG_fail;
1462 }
1463 {
1464 wxBitmap * resultptr;
1465 resultptr = new wxBitmap((wxBitmap &) result);
1466 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1467 }
1468 return resultobj;
1469 fail:
1470 return NULL;
1471}
1472
1473
1474static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1475 PyObject *resultobj;
1476 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1477 wxBitmap result;
1478 PyObject * obj0 = 0 ;
1479 char *kwnames[] = {
1480 (char *) "self", NULL
1481 };
1482
1483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1485 {
1486 PyThreadState* __tstate = wxPyBeginAllowThreads();
1487 result = (arg1)->GetBitmapFocus();
1488
1489 wxPyEndAllowThreads(__tstate);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 {
1493 wxBitmap * resultptr;
1494 resultptr = new wxBitmap((wxBitmap &) result);
1495 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1496 }
1497 return resultobj;
1498 fail:
1499 return NULL;
1500}
1501
1502
1503static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1504 PyObject *resultobj;
1505 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1506 wxBitmap result;
1507 PyObject * obj0 = 0 ;
1508 char *kwnames[] = {
1509 (char *) "self", NULL
1510 };
1511
1512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 result = (arg1)->GetBitmapSelected();
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 {
1522 wxBitmap * resultptr;
1523 resultptr = new wxBitmap((wxBitmap &) result);
1524 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1525 }
1526 return resultobj;
1527 fail:
1528 return NULL;
1529}
1530
1531
1532static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1533 PyObject *resultobj;
1534 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1535 wxBitmap *arg2 = 0 ;
1536 PyObject * obj0 = 0 ;
1537 PyObject * obj1 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self",(char *) "bitmap", NULL
1540 };
1541
1542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1544 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1545 if (arg2 == NULL) {
1546 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1547 }
1548 {
1549 PyThreadState* __tstate = wxPyBeginAllowThreads();
1550 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1551
1552 wxPyEndAllowThreads(__tstate);
1553 if (PyErr_Occurred()) SWIG_fail;
1554 }
1555 Py_INCREF(Py_None); resultobj = Py_None;
1556 return resultobj;
1557 fail:
1558 return NULL;
1559}
1560
1561
1562static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1563 PyObject *resultobj;
1564 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1565 wxBitmap *arg2 = 0 ;
1566 PyObject * obj0 = 0 ;
1567 PyObject * obj1 = 0 ;
1568 char *kwnames[] = {
1569 (char *) "self",(char *) "bitmap", NULL
1570 };
1571
1572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1574 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1575 if (arg2 == NULL) {
1576 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1577 }
1578 {
1579 PyThreadState* __tstate = wxPyBeginAllowThreads();
1580 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1581
1582 wxPyEndAllowThreads(__tstate);
1583 if (PyErr_Occurred()) SWIG_fail;
1584 }
1585 Py_INCREF(Py_None); resultobj = Py_None;
1586 return resultobj;
1587 fail:
1588 return NULL;
1589}
1590
1591
1592static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1593 PyObject *resultobj;
1594 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1595 wxBitmap *arg2 = 0 ;
1596 PyObject * obj0 = 0 ;
1597 PyObject * obj1 = 0 ;
1598 char *kwnames[] = {
1599 (char *) "self",(char *) "bitmap", NULL
1600 };
1601
1602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1605 if (arg2 == NULL) {
1606 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1607 }
1608 {
1609 PyThreadState* __tstate = wxPyBeginAllowThreads();
1610 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1611
1612 wxPyEndAllowThreads(__tstate);
1613 if (PyErr_Occurred()) SWIG_fail;
1614 }
1615 Py_INCREF(Py_None); resultobj = Py_None;
1616 return resultobj;
1617 fail:
1618 return NULL;
1619}
1620
1621
1622static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1623 PyObject *resultobj;
1624 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1625 wxBitmap *arg2 = 0 ;
1626 PyObject * obj0 = 0 ;
1627 PyObject * obj1 = 0 ;
1628 char *kwnames[] = {
1629 (char *) "self",(char *) "bitmap", NULL
1630 };
1631
1632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1634 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1635 if (arg2 == NULL) {
1636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1637 }
1638 {
1639 PyThreadState* __tstate = wxPyBeginAllowThreads();
1640 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1641
1642 wxPyEndAllowThreads(__tstate);
1643 if (PyErr_Occurred()) SWIG_fail;
1644 }
1645 Py_INCREF(Py_None); resultobj = Py_None;
1646 return resultobj;
1647 fail:
1648 return NULL;
1649}
1650
1651
1652static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1653 PyObject *resultobj;
1654 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1655 int arg2 ;
1656 int arg3 ;
1657 PyObject * obj0 = 0 ;
1658 PyObject * obj1 = 0 ;
1659 PyObject * obj2 = 0 ;
1660 char *kwnames[] = {
1661 (char *) "self",(char *) "x",(char *) "y", NULL
1662 };
1663
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BitmapButton_SetMargins",kwnames,&obj0,&obj1,&obj2)) goto fail;
1665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1666 {
1667 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1668 if (PyErr_Occurred()) SWIG_fail;
1669 }
1670 {
1671 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 {
1675 PyThreadState* __tstate = wxPyBeginAllowThreads();
1676 (arg1)->SetMargins(arg2,arg3);
1677
1678 wxPyEndAllowThreads(__tstate);
1679 if (PyErr_Occurred()) SWIG_fail;
1680 }
1681 Py_INCREF(Py_None); resultobj = Py_None;
1682 return resultobj;
1683 fail:
1684 return NULL;
1685}
1686
1687
1688static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1689 PyObject *resultobj;
1690 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1691 int result;
1692 PyObject * obj0 = 0 ;
1693 char *kwnames[] = {
1694 (char *) "self", NULL
1695 };
1696
1697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1699 {
1700 PyThreadState* __tstate = wxPyBeginAllowThreads();
1701 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1702
1703 wxPyEndAllowThreads(__tstate);
1704 if (PyErr_Occurred()) SWIG_fail;
1705 }
1706 resultobj = SWIG_PyObj_FromInt((int)result);
1707 return resultobj;
1708 fail:
1709 return NULL;
1710}
1711
1712
1713static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1714 PyObject *resultobj;
1715 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1716 int result;
1717 PyObject * obj0 = 0 ;
1718 char *kwnames[] = {
1719 (char *) "self", NULL
1720 };
1721
1722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1724 {
1725 PyThreadState* __tstate = wxPyBeginAllowThreads();
1726 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1727
1728 wxPyEndAllowThreads(__tstate);
1729 if (PyErr_Occurred()) SWIG_fail;
1730 }
1731 resultobj = SWIG_PyObj_FromInt((int)result);
1732 return resultobj;
1733 fail:
1734 return NULL;
1735}
1736
1737
1738static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1739 PyObject *obj;
1740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1741 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1742 Py_INCREF(obj);
1743 return Py_BuildValue((char *)"");
1744}
1745static int _wrap_CheckBoxNameStr_set(PyObject *) {
1746 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1747 return 1;
1748}
1749
1750
1751static PyObject *_wrap_CheckBoxNameStr_get() {
1752 PyObject *pyobj;
1753
1754 {
1755#if wxUSE_UNICODE
1756 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1757#else
1758 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1759#endif
1760 }
1761 return pyobj;
1762}
1763
1764
1765static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1766 PyObject *resultobj;
1767 wxWindow *arg1 = (wxWindow *) 0 ;
1768 int arg2 ;
1769 wxString *arg3 = 0 ;
1770 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1771 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1772 wxSize const &arg5_defvalue = wxDefaultSize ;
1773 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1774 long arg6 = (long) 0 ;
1775 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1776 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1777 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1778 wxString *arg8 = (wxString *) &arg8_defvalue ;
1779 wxCheckBox *result;
1780 bool temp3 = False ;
1781 wxPoint temp4 ;
1782 wxSize temp5 ;
1783 bool temp8 = False ;
1784 PyObject * obj0 = 0 ;
1785 PyObject * obj1 = 0 ;
1786 PyObject * obj2 = 0 ;
1787 PyObject * obj3 = 0 ;
1788 PyObject * obj4 = 0 ;
1789 PyObject * obj5 = 0 ;
1790 PyObject * obj6 = 0 ;
1791 PyObject * obj7 = 0 ;
1792 char *kwnames[] = {
1793 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1794 };
1795
1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_CheckBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1798 {
1799 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1800 if (PyErr_Occurred()) SWIG_fail;
1801 }
1802 {
1803 arg3 = wxString_in_helper(obj2);
1804 if (arg3 == NULL) SWIG_fail;
1805 temp3 = True;
1806 }
1807 if (obj3) {
1808 {
1809 arg4 = &temp4;
1810 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1811 }
1812 }
1813 if (obj4) {
1814 {
1815 arg5 = &temp5;
1816 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1817 }
1818 }
1819 if (obj5) {
1820 {
1821 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
1824 }
1825 if (obj6) {
1826 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1827 if (arg7 == NULL) {
1828 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1829 }
1830 }
1831 if (obj7) {
1832 {
1833 arg8 = wxString_in_helper(obj7);
1834 if (arg8 == NULL) SWIG_fail;
1835 temp8 = True;
1836 }
1837 }
1838 {
1839 PyThreadState* __tstate = wxPyBeginAllowThreads();
1840 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1841
1842 wxPyEndAllowThreads(__tstate);
1843 if (PyErr_Occurred()) SWIG_fail;
1844 }
1845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1846 {
1847 if (temp3)
1848 delete arg3;
1849 }
1850 {
1851 if (temp8)
1852 delete arg8;
1853 }
1854 return resultobj;
1855 fail:
1856 {
1857 if (temp3)
1858 delete arg3;
1859 }
1860 {
1861 if (temp8)
1862 delete arg8;
1863 }
1864 return NULL;
1865}
1866
1867
1868static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1869 PyObject *resultobj;
1870 wxCheckBox *result;
1871 char *kwnames[] = {
1872 NULL
1873 };
1874
1875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1876 {
1877 PyThreadState* __tstate = wxPyBeginAllowThreads();
1878 result = (wxCheckBox *)new wxCheckBox();
1879
1880 wxPyEndAllowThreads(__tstate);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
1883 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1884 return resultobj;
1885 fail:
1886 return NULL;
1887}
1888
1889
1890static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1893 wxWindow *arg2 = (wxWindow *) 0 ;
1894 int arg3 ;
1895 wxString *arg4 = 0 ;
1896 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1897 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1898 wxSize const &arg6_defvalue = wxDefaultSize ;
1899 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1900 long arg7 = (long) 0 ;
1901 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1902 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1903 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1904 wxString *arg9 = (wxString *) &arg9_defvalue ;
1905 bool result;
1906 bool temp4 = False ;
1907 wxPoint temp5 ;
1908 wxSize temp6 ;
1909 bool temp9 = False ;
1910 PyObject * obj0 = 0 ;
1911 PyObject * obj1 = 0 ;
1912 PyObject * obj2 = 0 ;
1913 PyObject * obj3 = 0 ;
1914 PyObject * obj4 = 0 ;
1915 PyObject * obj5 = 0 ;
1916 PyObject * obj6 = 0 ;
1917 PyObject * obj7 = 0 ;
1918 PyObject * obj8 = 0 ;
1919 char *kwnames[] = {
1920 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1921 };
1922
1923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:CheckBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
1924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1926 {
1927 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1928 if (PyErr_Occurred()) SWIG_fail;
1929 }
1930 {
1931 arg4 = wxString_in_helper(obj3);
1932 if (arg4 == NULL) SWIG_fail;
1933 temp4 = True;
1934 }
1935 if (obj4) {
1936 {
1937 arg5 = &temp5;
1938 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1939 }
1940 }
1941 if (obj5) {
1942 {
1943 arg6 = &temp6;
1944 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1945 }
1946 }
1947 if (obj6) {
1948 {
1949 arg7 = (long) SWIG_PyObj_AsLong(obj6);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 }
1952 }
1953 if (obj7) {
1954 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1955 if (arg8 == NULL) {
1956 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1957 }
1958 }
1959 if (obj8) {
1960 {
1961 arg9 = wxString_in_helper(obj8);
1962 if (arg9 == NULL) SWIG_fail;
1963 temp9 = True;
1964 }
1965 }
1966 {
1967 PyThreadState* __tstate = wxPyBeginAllowThreads();
1968 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1969
1970 wxPyEndAllowThreads(__tstate);
1971 if (PyErr_Occurred()) SWIG_fail;
1972 }
1973 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1974 {
1975 if (temp4)
1976 delete arg4;
1977 }
1978 {
1979 if (temp9)
1980 delete arg9;
1981 }
1982 return resultobj;
1983 fail:
1984 {
1985 if (temp4)
1986 delete arg4;
1987 }
1988 {
1989 if (temp9)
1990 delete arg9;
1991 }
1992 return NULL;
1993}
1994
1995
1996static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject *resultobj;
1998 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1999 bool result;
2000 PyObject * obj0 = 0 ;
2001 char *kwnames[] = {
2002 (char *) "self", NULL
2003 };
2004
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2007 {
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 result = (bool)(arg1)->GetValue();
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 }
2014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2015 return resultobj;
2016 fail:
2017 return NULL;
2018}
2019
2020
2021static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2022 PyObject *resultobj;
2023 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2024 bool result;
2025 PyObject * obj0 = 0 ;
2026 char *kwnames[] = {
2027 (char *) "self", NULL
2028 };
2029
2030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2032 {
2033 PyThreadState* __tstate = wxPyBeginAllowThreads();
2034 result = (bool)(arg1)->IsChecked();
2035
2036 wxPyEndAllowThreads(__tstate);
2037 if (PyErr_Occurred()) SWIG_fail;
2038 }
2039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2040 return resultobj;
2041 fail:
2042 return NULL;
2043}
2044
2045
2046static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2047 PyObject *resultobj;
2048 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2049 bool arg2 ;
2050 PyObject * obj0 = 0 ;
2051 PyObject * obj1 = 0 ;
2052 char *kwnames[] = {
2053 (char *) "self",(char *) "state", NULL
2054 };
2055
2056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2058 {
2059 arg2 = (bool const) SWIG_PyObj_AsBool(obj1);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 (arg1)->SetValue(arg2);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 Py_INCREF(Py_None); resultobj = Py_None;
2070 return resultobj;
2071 fail:
2072 return NULL;
2073}
2074
2075
2076static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2077 PyObject *resultobj;
2078 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2079 int result;
2080 PyObject * obj0 = 0 ;
2081 char *kwnames[] = {
2082 (char *) "self", NULL
2083 };
2084
2085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2087 {
2088 PyThreadState* __tstate = wxPyBeginAllowThreads();
2089 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2090
2091 wxPyEndAllowThreads(__tstate);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2094 resultobj = SWIG_PyObj_FromInt((int)result);
2095 return resultobj;
2096 fail:
2097 return NULL;
2098}
2099
2100
2101static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2102 PyObject *resultobj;
2103 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2104 int arg2 ;
2105 PyObject * obj0 = 0 ;
2106 PyObject * obj1 = 0 ;
2107 char *kwnames[] = {
2108 (char *) "self",(char *) "state", NULL
2109 };
2110
2111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_Set3StateValue",kwnames,&obj0,&obj1)) goto fail;
2112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2113 {
2114 arg2 = (wxCheckBoxState) SWIG_PyObj_AsInt(obj1);
2115 if (PyErr_Occurred()) SWIG_fail;
2116 }
2117 {
2118 PyThreadState* __tstate = wxPyBeginAllowThreads();
2119 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2120
2121 wxPyEndAllowThreads(__tstate);
2122 if (PyErr_Occurred()) SWIG_fail;
2123 }
2124 Py_INCREF(Py_None); resultobj = Py_None;
2125 return resultobj;
2126 fail:
2127 return NULL;
2128}
2129
2130
2131static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2132 PyObject *resultobj;
2133 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2134 bool result;
2135 PyObject * obj0 = 0 ;
2136 char *kwnames[] = {
2137 (char *) "self", NULL
2138 };
2139
2140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2142 {
2143 PyThreadState* __tstate = wxPyBeginAllowThreads();
2144 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2145
2146 wxPyEndAllowThreads(__tstate);
2147 if (PyErr_Occurred()) SWIG_fail;
2148 }
2149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2150 return resultobj;
2151 fail:
2152 return NULL;
2153}
2154
2155
2156static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2157 PyObject *resultobj;
2158 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2159 bool result;
2160 PyObject * obj0 = 0 ;
2161 char *kwnames[] = {
2162 (char *) "self", NULL
2163 };
2164
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2174 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2175 return resultobj;
2176 fail:
2177 return NULL;
2178}
2179
2180
2181static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2182 PyObject *obj;
2183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2184 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2185 Py_INCREF(obj);
2186 return Py_BuildValue((char *)"");
2187}
2188static int _wrap_ChoiceNameStr_set(PyObject *) {
2189 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2190 return 1;
2191}
2192
2193
2194static PyObject *_wrap_ChoiceNameStr_get() {
2195 PyObject *pyobj;
2196
2197 {
2198#if wxUSE_UNICODE
2199 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2200#else
2201 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2202#endif
2203 }
2204 return pyobj;
2205}
2206
2207
2208static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2209 PyObject *resultobj;
2210 wxWindow *arg1 = (wxWindow *) 0 ;
2211 int arg2 ;
2212 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2213 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2214 wxSize const &arg4_defvalue = wxDefaultSize ;
2215 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2216 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
2217 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
2218 long arg6 = (long) 0 ;
2219 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2220 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2221 wxString const &arg8_defvalue = wxPyChoiceNameStr ;
2222 wxString *arg8 = (wxString *) &arg8_defvalue ;
2223 wxChoice *result;
2224 wxPoint temp3 ;
2225 wxSize temp4 ;
2226 bool temp5 = False ;
2227 bool temp8 = False ;
2228 PyObject * obj0 = 0 ;
2229 PyObject * obj1 = 0 ;
2230 PyObject * obj2 = 0 ;
2231 PyObject * obj3 = 0 ;
2232 PyObject * obj4 = 0 ;
2233 PyObject * obj5 = 0 ;
2234 PyObject * obj6 = 0 ;
2235 PyObject * obj7 = 0 ;
2236 char *kwnames[] = {
2237 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2238 };
2239
2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_Choice",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2242 {
2243 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2244 if (PyErr_Occurred()) SWIG_fail;
2245 }
2246 if (obj2) {
2247 {
2248 arg3 = &temp3;
2249 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2250 }
2251 }
2252 if (obj3) {
2253 {
2254 arg4 = &temp4;
2255 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2256 }
2257 }
2258 if (obj4) {
2259 {
2260 if (! PySequence_Check(obj4)) {
2261 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2262 SWIG_fail;
2263 }
2264 arg5 = new wxArrayString;
2265 temp5 = True;
2266 int i, len=PySequence_Length(obj4);
2267 for (i=0; i<len; i++) {
2268 PyObject* item = PySequence_GetItem(obj4, i);
2269#if wxUSE_UNICODE
2270 PyObject* str = PyObject_Unicode(item);
2271#else
2272 PyObject* str = PyObject_Str(item);
2273#endif
2274 arg5->Add(Py2wxString(str));
2275 Py_DECREF(item);
2276 Py_DECREF(str);
2277 }
2278 }
2279 }
2280 if (obj5) {
2281 {
2282 arg6 = (long) SWIG_PyObj_AsLong(obj5);
2283 if (PyErr_Occurred()) SWIG_fail;
2284 }
2285 }
2286 if (obj6) {
2287 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2288 if (arg7 == NULL) {
2289 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2290 }
2291 }
2292 if (obj7) {
2293 {
2294 arg8 = wxString_in_helper(obj7);
2295 if (arg8 == NULL) SWIG_fail;
2296 temp8 = True;
2297 }
2298 }
2299 {
2300 PyThreadState* __tstate = wxPyBeginAllowThreads();
2301 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
2302
2303 wxPyEndAllowThreads(__tstate);
2304 if (PyErr_Occurred()) SWIG_fail;
2305 }
2306 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2307 {
2308 if (temp5) delete arg5;
2309 }
2310 {
2311 if (temp8)
2312 delete arg8;
2313 }
2314 return resultobj;
2315 fail:
2316 {
2317 if (temp5) delete arg5;
2318 }
2319 {
2320 if (temp8)
2321 delete arg8;
2322 }
2323 return NULL;
2324}
2325
2326
2327static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2328 PyObject *resultobj;
2329 wxChoice *result;
2330 char *kwnames[] = {
2331 NULL
2332 };
2333
2334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2335 {
2336 PyThreadState* __tstate = wxPyBeginAllowThreads();
2337 result = (wxChoice *)new wxChoice();
2338
2339 wxPyEndAllowThreads(__tstate);
2340 if (PyErr_Occurred()) SWIG_fail;
2341 }
2342 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2343 return resultobj;
2344 fail:
2345 return NULL;
2346}
2347
2348
2349static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2350 PyObject *resultobj;
2351 wxChoice *arg1 = (wxChoice *) 0 ;
2352 wxWindow *arg2 = (wxWindow *) 0 ;
2353 int arg3 ;
2354 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2355 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2356 wxSize const &arg5_defvalue = wxDefaultSize ;
2357 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2358 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2359 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2360 long arg7 = (long) 0 ;
2361 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2362 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2363 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2364 wxString *arg9 = (wxString *) &arg9_defvalue ;
2365 bool result;
2366 wxPoint temp4 ;
2367 wxSize temp5 ;
2368 bool temp6 = False ;
2369 bool temp9 = False ;
2370 PyObject * obj0 = 0 ;
2371 PyObject * obj1 = 0 ;
2372 PyObject * obj2 = 0 ;
2373 PyObject * obj3 = 0 ;
2374 PyObject * obj4 = 0 ;
2375 PyObject * obj5 = 0 ;
2376 PyObject * obj6 = 0 ;
2377 PyObject * obj7 = 0 ;
2378 PyObject * obj8 = 0 ;
2379 char *kwnames[] = {
2380 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2381 };
2382
2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:Choice_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2386 {
2387 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2388 if (PyErr_Occurred()) SWIG_fail;
2389 }
2390 if (obj3) {
2391 {
2392 arg4 = &temp4;
2393 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2394 }
2395 }
2396 if (obj4) {
2397 {
2398 arg5 = &temp5;
2399 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2400 }
2401 }
2402 if (obj5) {
2403 {
2404 if (! PySequence_Check(obj5)) {
2405 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2406 SWIG_fail;
2407 }
2408 arg6 = new wxArrayString;
2409 temp6 = True;
2410 int i, len=PySequence_Length(obj5);
2411 for (i=0; i<len; i++) {
2412 PyObject* item = PySequence_GetItem(obj5, i);
2413#if wxUSE_UNICODE
2414 PyObject* str = PyObject_Unicode(item);
2415#else
2416 PyObject* str = PyObject_Str(item);
2417#endif
2418 arg6->Add(Py2wxString(str));
2419 Py_DECREF(item);
2420 Py_DECREF(str);
2421 }
2422 }
2423 }
2424 if (obj6) {
2425 {
2426 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 }
2429 }
2430 if (obj7) {
2431 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2432 if (arg8 == NULL) {
2433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2434 }
2435 }
2436 if (obj8) {
2437 {
2438 arg9 = wxString_in_helper(obj8);
2439 if (arg9 == NULL) SWIG_fail;
2440 temp9 = True;
2441 }
2442 }
2443 {
2444 PyThreadState* __tstate = wxPyBeginAllowThreads();
2445 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2446
2447 wxPyEndAllowThreads(__tstate);
2448 if (PyErr_Occurred()) SWIG_fail;
2449 }
2450 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2451 {
2452 if (temp6) delete arg6;
2453 }
2454 {
2455 if (temp9)
2456 delete arg9;
2457 }
2458 return resultobj;
2459 fail:
2460 {
2461 if (temp6) delete arg6;
2462 }
2463 {
2464 if (temp9)
2465 delete arg9;
2466 }
2467 return NULL;
2468}
2469
2470
2471static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2472 PyObject *resultobj;
2473 wxChoice *arg1 = (wxChoice *) 0 ;
2474 int arg2 ;
2475 PyObject * obj0 = 0 ;
2476 PyObject * obj1 = 0 ;
2477 char *kwnames[] = {
2478 (char *) "self",(char *) "n", NULL
2479 };
2480
2481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetSelection",kwnames,&obj0,&obj1)) goto fail;
2482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2483 {
2484 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2485 if (PyErr_Occurred()) SWIG_fail;
2486 }
2487 {
2488 PyThreadState* __tstate = wxPyBeginAllowThreads();
2489 (arg1)->SetSelection(arg2);
2490
2491 wxPyEndAllowThreads(__tstate);
2492 if (PyErr_Occurred()) SWIG_fail;
2493 }
2494 Py_INCREF(Py_None); resultobj = Py_None;
2495 return resultobj;
2496 fail:
2497 return NULL;
2498}
2499
2500
2501static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2502 PyObject *resultobj;
2503 wxChoice *arg1 = (wxChoice *) 0 ;
2504 wxString *arg2 = 0 ;
2505 bool temp2 = False ;
2506 PyObject * obj0 = 0 ;
2507 PyObject * obj1 = 0 ;
2508 char *kwnames[] = {
2509 (char *) "self",(char *) "string", NULL
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2514 {
2515 arg2 = wxString_in_helper(obj1);
2516 if (arg2 == NULL) SWIG_fail;
2517 temp2 = True;
2518 }
2519 {
2520 PyThreadState* __tstate = wxPyBeginAllowThreads();
2521 (arg1)->SetStringSelection((wxString const &)*arg2);
2522
2523 wxPyEndAllowThreads(__tstate);
2524 if (PyErr_Occurred()) SWIG_fail;
2525 }
2526 Py_INCREF(Py_None); resultobj = Py_None;
2527 {
2528 if (temp2)
2529 delete arg2;
2530 }
2531 return resultobj;
2532 fail:
2533 {
2534 if (temp2)
2535 delete arg2;
2536 }
2537 return NULL;
2538}
2539
2540
2541static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2542 PyObject *resultobj;
2543 wxChoice *arg1 = (wxChoice *) 0 ;
2544 int arg2 ;
2545 wxString *arg3 = 0 ;
2546 bool temp3 = False ;
2547 PyObject * obj0 = 0 ;
2548 PyObject * obj1 = 0 ;
2549 PyObject * obj2 = 0 ;
2550 char *kwnames[] = {
2551 (char *) "self",(char *) "n",(char *) "string", NULL
2552 };
2553
2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Choice_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2556 {
2557 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2558 if (PyErr_Occurred()) SWIG_fail;
2559 }
2560 {
2561 arg3 = wxString_in_helper(obj2);
2562 if (arg3 == NULL) SWIG_fail;
2563 temp3 = True;
2564 }
2565 {
2566 PyThreadState* __tstate = wxPyBeginAllowThreads();
2567 (arg1)->SetString(arg2,(wxString const &)*arg3);
2568
2569 wxPyEndAllowThreads(__tstate);
2570 if (PyErr_Occurred()) SWIG_fail;
2571 }
2572 Py_INCREF(Py_None); resultobj = Py_None;
2573 {
2574 if (temp3)
2575 delete arg3;
2576 }
2577 return resultobj;
2578 fail:
2579 {
2580 if (temp3)
2581 delete arg3;
2582 }
2583 return NULL;
2584}
2585
2586
2587static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2588 PyObject *obj;
2589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2590 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2591 Py_INCREF(obj);
2592 return Py_BuildValue((char *)"");
2593}
2594static int _wrap_ComboBoxNameStr_set(PyObject *) {
2595 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2596 return 1;
2597}
2598
2599
2600static PyObject *_wrap_ComboBoxNameStr_get() {
2601 PyObject *pyobj;
2602
2603 {
2604#if wxUSE_UNICODE
2605 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2606#else
2607 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2608#endif
2609 }
2610 return pyobj;
2611}
2612
2613
2614static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2615 PyObject *resultobj;
2616 wxWindow *arg1 = (wxWindow *) 0 ;
2617 int arg2 ;
2618 wxString const &arg3_defvalue = wxPyEmptyString ;
2619 wxString *arg3 = (wxString *) &arg3_defvalue ;
2620 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2621 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2622 wxSize const &arg5_defvalue = wxDefaultSize ;
2623 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2624 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
2625 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
2626 long arg7 = (long) 0 ;
2627 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2628 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2629 wxString const &arg9_defvalue = wxPyComboBoxNameStr ;
2630 wxString *arg9 = (wxString *) &arg9_defvalue ;
2631 wxComboBox *result;
2632 bool temp3 = False ;
2633 wxPoint temp4 ;
2634 wxSize temp5 ;
2635 bool temp6 = False ;
2636 bool temp9 = False ;
2637 PyObject * obj0 = 0 ;
2638 PyObject * obj1 = 0 ;
2639 PyObject * obj2 = 0 ;
2640 PyObject * obj3 = 0 ;
2641 PyObject * obj4 = 0 ;
2642 PyObject * obj5 = 0 ;
2643 PyObject * obj6 = 0 ;
2644 PyObject * obj7 = 0 ;
2645 PyObject * obj8 = 0 ;
2646 char *kwnames[] = {
2647 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2648 };
2649
2650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOO:new_ComboBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
2651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2652 {
2653 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2654 if (PyErr_Occurred()) SWIG_fail;
2655 }
2656 if (obj2) {
2657 {
2658 arg3 = wxString_in_helper(obj2);
2659 if (arg3 == NULL) SWIG_fail;
2660 temp3 = True;
2661 }
2662 }
2663 if (obj3) {
2664 {
2665 arg4 = &temp4;
2666 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2667 }
2668 }
2669 if (obj4) {
2670 {
2671 arg5 = &temp5;
2672 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2673 }
2674 }
2675 if (obj5) {
2676 {
2677 if (! PySequence_Check(obj5)) {
2678 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2679 SWIG_fail;
2680 }
2681 arg6 = new wxArrayString;
2682 temp6 = True;
2683 int i, len=PySequence_Length(obj5);
2684 for (i=0; i<len; i++) {
2685 PyObject* item = PySequence_GetItem(obj5, i);
2686#if wxUSE_UNICODE
2687 PyObject* str = PyObject_Unicode(item);
2688#else
2689 PyObject* str = PyObject_Str(item);
2690#endif
2691 arg6->Add(Py2wxString(str));
2692 Py_DECREF(item);
2693 Py_DECREF(str);
2694 }
2695 }
2696 }
2697 if (obj6) {
2698 {
2699 arg7 = (long) SWIG_PyObj_AsLong(obj6);
2700 if (PyErr_Occurred()) SWIG_fail;
2701 }
2702 }
2703 if (obj7) {
2704 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2705 if (arg8 == NULL) {
2706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2707 }
2708 }
2709 if (obj8) {
2710 {
2711 arg9 = wxString_in_helper(obj8);
2712 if (arg9 == NULL) SWIG_fail;
2713 temp9 = True;
2714 }
2715 }
2716 {
2717 PyThreadState* __tstate = wxPyBeginAllowThreads();
2718 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);
2719
2720 wxPyEndAllowThreads(__tstate);
2721 if (PyErr_Occurred()) SWIG_fail;
2722 }
2723 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2724 {
2725 if (temp3)
2726 delete arg3;
2727 }
2728 {
2729 if (temp6) delete arg6;
2730 }
2731 {
2732 if (temp9)
2733 delete arg9;
2734 }
2735 return resultobj;
2736 fail:
2737 {
2738 if (temp3)
2739 delete arg3;
2740 }
2741 {
2742 if (temp6) delete arg6;
2743 }
2744 {
2745 if (temp9)
2746 delete arg9;
2747 }
2748 return NULL;
2749}
2750
2751
2752static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2753 PyObject *resultobj;
2754 wxComboBox *result;
2755 char *kwnames[] = {
2756 NULL
2757 };
2758
2759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2760 {
2761 PyThreadState* __tstate = wxPyBeginAllowThreads();
2762 result = (wxComboBox *)new wxComboBox();
2763
2764 wxPyEndAllowThreads(__tstate);
2765 if (PyErr_Occurred()) SWIG_fail;
2766 }
2767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2768 return resultobj;
2769 fail:
2770 return NULL;
2771}
2772
2773
2774static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2775 PyObject *resultobj;
2776 wxComboBox *arg1 = (wxComboBox *) 0 ;
2777 wxWindow *arg2 = (wxWindow *) 0 ;
2778 int arg3 ;
2779 wxString const &arg4_defvalue = wxPyEmptyString ;
2780 wxString *arg4 = (wxString *) &arg4_defvalue ;
2781 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2782 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2783 wxSize const &arg6_defvalue = wxDefaultSize ;
2784 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2785 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
2786 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
2787 long arg8 = (long) 0 ;
2788 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2789 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2790 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2791 wxString *arg10 = (wxString *) &arg10_defvalue ;
2792 bool result;
2793 bool temp4 = False ;
2794 wxPoint temp5 ;
2795 wxSize temp6 ;
2796 bool temp7 = False ;
2797 bool temp10 = False ;
2798 PyObject * obj0 = 0 ;
2799 PyObject * obj1 = 0 ;
2800 PyObject * obj2 = 0 ;
2801 PyObject * obj3 = 0 ;
2802 PyObject * obj4 = 0 ;
2803 PyObject * obj5 = 0 ;
2804 PyObject * obj6 = 0 ;
2805 PyObject * obj7 = 0 ;
2806 PyObject * obj8 = 0 ;
2807 PyObject * obj9 = 0 ;
2808 char *kwnames[] = {
2809 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2810 };
2811
2812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:ComboBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
2813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2815 {
2816 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2817 if (PyErr_Occurred()) SWIG_fail;
2818 }
2819 if (obj3) {
2820 {
2821 arg4 = wxString_in_helper(obj3);
2822 if (arg4 == NULL) SWIG_fail;
2823 temp4 = True;
2824 }
2825 }
2826 if (obj4) {
2827 {
2828 arg5 = &temp5;
2829 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2830 }
2831 }
2832 if (obj5) {
2833 {
2834 arg6 = &temp6;
2835 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2836 }
2837 }
2838 if (obj6) {
2839 {
2840 if (! PySequence_Check(obj6)) {
2841 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2842 SWIG_fail;
2843 }
2844 arg7 = new wxArrayString;
2845 temp7 = True;
2846 int i, len=PySequence_Length(obj6);
2847 for (i=0; i<len; i++) {
2848 PyObject* item = PySequence_GetItem(obj6, i);
2849#if wxUSE_UNICODE
2850 PyObject* str = PyObject_Unicode(item);
2851#else
2852 PyObject* str = PyObject_Str(item);
2853#endif
2854 arg7->Add(Py2wxString(str));
2855 Py_DECREF(item);
2856 Py_DECREF(str);
2857 }
2858 }
2859 }
2860 if (obj7) {
2861 {
2862 arg8 = (long) SWIG_PyObj_AsLong(obj7);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 }
2866 if (obj8) {
2867 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2868 if (arg9 == NULL) {
2869 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2870 }
2871 }
2872 if (obj9) {
2873 {
2874 arg10 = wxString_in_helper(obj9);
2875 if (arg10 == NULL) SWIG_fail;
2876 temp10 = True;
2877 }
2878 }
2879 {
2880 PyThreadState* __tstate = wxPyBeginAllowThreads();
2881 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);
2882
2883 wxPyEndAllowThreads(__tstate);
2884 if (PyErr_Occurred()) SWIG_fail;
2885 }
2886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2887 {
2888 if (temp4)
2889 delete arg4;
2890 }
2891 {
2892 if (temp7) delete arg7;
2893 }
2894 {
2895 if (temp10)
2896 delete arg10;
2897 }
2898 return resultobj;
2899 fail:
2900 {
2901 if (temp4)
2902 delete arg4;
2903 }
2904 {
2905 if (temp7) delete arg7;
2906 }
2907 {
2908 if (temp10)
2909 delete arg10;
2910 }
2911 return NULL;
2912}
2913
2914
2915static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2916 PyObject *resultobj;
2917 wxComboBox *arg1 = (wxComboBox *) 0 ;
2918 wxString result;
2919 PyObject * obj0 = 0 ;
2920 char *kwnames[] = {
2921 (char *) "self", NULL
2922 };
2923
2924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2926 {
2927 PyThreadState* __tstate = wxPyBeginAllowThreads();
2928 result = ((wxComboBox const *)arg1)->GetValue();
2929
2930 wxPyEndAllowThreads(__tstate);
2931 if (PyErr_Occurred()) SWIG_fail;
2932 }
2933 {
2934#if wxUSE_UNICODE
2935 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2936#else
2937 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2938#endif
2939 }
2940 return resultobj;
2941 fail:
2942 return NULL;
2943}
2944
2945
2946static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2947 PyObject *resultobj;
2948 wxComboBox *arg1 = (wxComboBox *) 0 ;
2949 wxString *arg2 = 0 ;
2950 bool temp2 = False ;
2951 PyObject * obj0 = 0 ;
2952 PyObject * obj1 = 0 ;
2953 char *kwnames[] = {
2954 (char *) "self",(char *) "value", NULL
2955 };
2956
2957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2959 {
2960 arg2 = wxString_in_helper(obj1);
2961 if (arg2 == NULL) SWIG_fail;
2962 temp2 = True;
2963 }
2964 {
2965 PyThreadState* __tstate = wxPyBeginAllowThreads();
2966 (arg1)->SetValue((wxString const &)*arg2);
2967
2968 wxPyEndAllowThreads(__tstate);
2969 if (PyErr_Occurred()) SWIG_fail;
2970 }
2971 Py_INCREF(Py_None); resultobj = Py_None;
2972 {
2973 if (temp2)
2974 delete arg2;
2975 }
2976 return resultobj;
2977 fail:
2978 {
2979 if (temp2)
2980 delete arg2;
2981 }
2982 return NULL;
2983}
2984
2985
2986static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2987 PyObject *resultobj;
2988 wxComboBox *arg1 = (wxComboBox *) 0 ;
2989 PyObject * obj0 = 0 ;
2990 char *kwnames[] = {
2991 (char *) "self", NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2996 {
2997 PyThreadState* __tstate = wxPyBeginAllowThreads();
2998 (arg1)->Copy();
2999
3000 wxPyEndAllowThreads(__tstate);
3001 if (PyErr_Occurred()) SWIG_fail;
3002 }
3003 Py_INCREF(Py_None); resultobj = Py_None;
3004 return resultobj;
3005 fail:
3006 return NULL;
3007}
3008
3009
3010static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
3011 PyObject *resultobj;
3012 wxComboBox *arg1 = (wxComboBox *) 0 ;
3013 PyObject * obj0 = 0 ;
3014 char *kwnames[] = {
3015 (char *) "self", NULL
3016 };
3017
3018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
3019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 (arg1)->Cut();
3023
3024 wxPyEndAllowThreads(__tstate);
3025 if (PyErr_Occurred()) SWIG_fail;
3026 }
3027 Py_INCREF(Py_None); resultobj = Py_None;
3028 return resultobj;
3029 fail:
3030 return NULL;
3031}
3032
3033
3034static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
3035 PyObject *resultobj;
3036 wxComboBox *arg1 = (wxComboBox *) 0 ;
3037 PyObject * obj0 = 0 ;
3038 char *kwnames[] = {
3039 (char *) "self", NULL
3040 };
3041
3042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
3043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3044 {
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 (arg1)->Paste();
3047
3048 wxPyEndAllowThreads(__tstate);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
3051 Py_INCREF(Py_None); resultobj = Py_None;
3052 return resultobj;
3053 fail:
3054 return NULL;
3055}
3056
3057
3058static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3059 PyObject *resultobj;
3060 wxComboBox *arg1 = (wxComboBox *) 0 ;
3061 long arg2 ;
3062 PyObject * obj0 = 0 ;
3063 PyObject * obj1 = 0 ;
3064 char *kwnames[] = {
3065 (char *) "self",(char *) "pos", NULL
3066 };
3067
3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
3069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3070 {
3071 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 (arg1)->SetInsertionPoint(arg2);
3077
3078 wxPyEndAllowThreads(__tstate);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 }
3081 Py_INCREF(Py_None); resultobj = Py_None;
3082 return resultobj;
3083 fail:
3084 return NULL;
3085}
3086
3087
3088static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3089 PyObject *resultobj;
3090 wxComboBox *arg1 = (wxComboBox *) 0 ;
3091 long result;
3092 PyObject * obj0 = 0 ;
3093 char *kwnames[] = {
3094 (char *) "self", NULL
3095 };
3096
3097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3099 {
3100 PyThreadState* __tstate = wxPyBeginAllowThreads();
3101 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3102
3103 wxPyEndAllowThreads(__tstate);
3104 if (PyErr_Occurred()) SWIG_fail;
3105 }
3106 resultobj = SWIG_PyObj_FromLong((long)result);
3107 return resultobj;
3108 fail:
3109 return NULL;
3110}
3111
3112
3113static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3114 PyObject *resultobj;
3115 wxComboBox *arg1 = (wxComboBox *) 0 ;
3116 long result;
3117 PyObject * obj0 = 0 ;
3118 char *kwnames[] = {
3119 (char *) "self", NULL
3120 };
3121
3122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3124 {
3125 PyThreadState* __tstate = wxPyBeginAllowThreads();
3126 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3127
3128 wxPyEndAllowThreads(__tstate);
3129 if (PyErr_Occurred()) SWIG_fail;
3130 }
3131 resultobj = SWIG_PyObj_FromLong((long)result);
3132 return resultobj;
3133 fail:
3134 return NULL;
3135}
3136
3137
3138static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3139 PyObject *resultobj;
3140 wxComboBox *arg1 = (wxComboBox *) 0 ;
3141 long arg2 ;
3142 long arg3 ;
3143 wxString *arg4 = 0 ;
3144 bool temp4 = False ;
3145 PyObject * obj0 = 0 ;
3146 PyObject * obj1 = 0 ;
3147 PyObject * obj2 = 0 ;
3148 PyObject * obj3 = 0 ;
3149 char *kwnames[] = {
3150 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3151 };
3152
3153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ComboBox_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3155 {
3156 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 {
3160 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3161 if (PyErr_Occurred()) SWIG_fail;
3162 }
3163 {
3164 arg4 = wxString_in_helper(obj3);
3165 if (arg4 == NULL) SWIG_fail;
3166 temp4 = True;
3167 }
3168 {
3169 PyThreadState* __tstate = wxPyBeginAllowThreads();
3170 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3171
3172 wxPyEndAllowThreads(__tstate);
3173 if (PyErr_Occurred()) SWIG_fail;
3174 }
3175 Py_INCREF(Py_None); resultobj = Py_None;
3176 {
3177 if (temp4)
3178 delete arg4;
3179 }
3180 return resultobj;
3181 fail:
3182 {
3183 if (temp4)
3184 delete arg4;
3185 }
3186 return NULL;
3187}
3188
3189
3190static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3191 PyObject *resultobj;
3192 wxComboBox *arg1 = (wxComboBox *) 0 ;
3193 int arg2 ;
3194 PyObject * obj0 = 0 ;
3195 PyObject * obj1 = 0 ;
3196 char *kwnames[] = {
3197 (char *) "self",(char *) "n", NULL
3198 };
3199
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
3201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3202 {
3203 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3204 if (PyErr_Occurred()) SWIG_fail;
3205 }
3206 {
3207 PyThreadState* __tstate = wxPyBeginAllowThreads();
3208 (arg1)->SetSelection(arg2);
3209
3210 wxPyEndAllowThreads(__tstate);
3211 if (PyErr_Occurred()) SWIG_fail;
3212 }
3213 Py_INCREF(Py_None); resultobj = Py_None;
3214 return resultobj;
3215 fail:
3216 return NULL;
3217}
3218
3219
3220static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3221 PyObject *resultobj;
3222 wxComboBox *arg1 = (wxComboBox *) 0 ;
3223 long arg2 ;
3224 long arg3 ;
3225 PyObject * obj0 = 0 ;
3226 PyObject * obj1 = 0 ;
3227 PyObject * obj2 = 0 ;
3228 char *kwnames[] = {
3229 (char *) "self",(char *) "from",(char *) "to", NULL
3230 };
3231
3232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_SetMark",kwnames,&obj0,&obj1,&obj2)) goto fail;
3233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3234 {
3235 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3236 if (PyErr_Occurred()) SWIG_fail;
3237 }
3238 {
3239 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3240 if (PyErr_Occurred()) SWIG_fail;
3241 }
3242 {
3243 PyThreadState* __tstate = wxPyBeginAllowThreads();
3244 (arg1)->SetSelection(arg2,arg3);
3245
3246 wxPyEndAllowThreads(__tstate);
3247 if (PyErr_Occurred()) SWIG_fail;
3248 }
3249 Py_INCREF(Py_None); resultobj = Py_None;
3250 return resultobj;
3251 fail:
3252 return NULL;
3253}
3254
3255
3256static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3257 PyObject *resultobj;
3258 wxComboBox *arg1 = (wxComboBox *) 0 ;
3259 bool arg2 ;
3260 PyObject * obj0 = 0 ;
3261 PyObject * obj1 = 0 ;
3262 char *kwnames[] = {
3263 (char *) "self",(char *) "editable", NULL
3264 };
3265
3266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3268 {
3269 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
3272 {
3273 PyThreadState* __tstate = wxPyBeginAllowThreads();
3274 (arg1)->SetEditable(arg2);
3275
3276 wxPyEndAllowThreads(__tstate);
3277 if (PyErr_Occurred()) SWIG_fail;
3278 }
3279 Py_INCREF(Py_None); resultobj = Py_None;
3280 return resultobj;
3281 fail:
3282 return NULL;
3283}
3284
3285
3286static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject *resultobj;
3288 wxComboBox *arg1 = (wxComboBox *) 0 ;
3289 PyObject * obj0 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3296 {
3297 PyThreadState* __tstate = wxPyBeginAllowThreads();
3298 (arg1)->SetInsertionPointEnd();
3299
3300 wxPyEndAllowThreads(__tstate);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
3303 Py_INCREF(Py_None); resultobj = Py_None;
3304 return resultobj;
3305 fail:
3306 return NULL;
3307}
3308
3309
3310static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3311 PyObject *resultobj;
3312 wxComboBox *arg1 = (wxComboBox *) 0 ;
3313 long arg2 ;
3314 long arg3 ;
3315 PyObject * obj0 = 0 ;
3316 PyObject * obj1 = 0 ;
3317 PyObject * obj2 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self",(char *) "from",(char *) "to", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ComboBox_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3324 {
3325 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 {
3329 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 (arg1)->Remove(arg2,arg3);
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 Py_INCREF(Py_None); resultobj = Py_None;
3340 return resultobj;
3341 fail:
3342 return NULL;
3343}
3344
3345
3346static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3347 PyObject *obj;
3348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3349 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3350 Py_INCREF(obj);
3351 return Py_BuildValue((char *)"");
3352}
3353static int _wrap_GaugeNameStr_set(PyObject *) {
3354 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3355 return 1;
3356}
3357
3358
3359static PyObject *_wrap_GaugeNameStr_get() {
3360 PyObject *pyobj;
3361
3362 {
3363#if wxUSE_UNICODE
3364 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3365#else
3366 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3367#endif
3368 }
3369 return pyobj;
3370}
3371
3372
3373static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3374 PyObject *resultobj;
3375 wxWindow *arg1 = (wxWindow *) 0 ;
3376 int arg2 ;
3377 int arg3 ;
3378 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3379 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3380 wxSize const &arg5_defvalue = wxDefaultSize ;
3381 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3382 long arg6 = (long) wxGA_HORIZONTAL ;
3383 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3384 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3385 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3386 wxString *arg8 = (wxString *) &arg8_defvalue ;
3387 wxGauge *result;
3388 wxPoint temp4 ;
3389 wxSize temp5 ;
3390 bool temp8 = False ;
3391 PyObject * obj0 = 0 ;
3392 PyObject * obj1 = 0 ;
3393 PyObject * obj2 = 0 ;
3394 PyObject * obj3 = 0 ;
3395 PyObject * obj4 = 0 ;
3396 PyObject * obj5 = 0 ;
3397 PyObject * obj6 = 0 ;
3398 PyObject * obj7 = 0 ;
3399 char *kwnames[] = {
3400 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3401 };
3402
3403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_Gauge",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3405 {
3406 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 {
3410 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
3413 if (obj3) {
3414 {
3415 arg4 = &temp4;
3416 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3417 }
3418 }
3419 if (obj4) {
3420 {
3421 arg5 = &temp5;
3422 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3423 }
3424 }
3425 if (obj5) {
3426 {
3427 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3428 if (PyErr_Occurred()) SWIG_fail;
3429 }
3430 }
3431 if (obj6) {
3432 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3433 if (arg7 == NULL) {
3434 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3435 }
3436 }
3437 if (obj7) {
3438 {
3439 arg8 = wxString_in_helper(obj7);
3440 if (arg8 == NULL) SWIG_fail;
3441 temp8 = True;
3442 }
3443 }
3444 {
3445 PyThreadState* __tstate = wxPyBeginAllowThreads();
3446 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3447
3448 wxPyEndAllowThreads(__tstate);
3449 if (PyErr_Occurred()) SWIG_fail;
3450 }
3451 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3452 {
3453 if (temp8)
3454 delete arg8;
3455 }
3456 return resultobj;
3457 fail:
3458 {
3459 if (temp8)
3460 delete arg8;
3461 }
3462 return NULL;
3463}
3464
3465
3466static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3467 PyObject *resultobj;
3468 wxGauge *result;
3469 char *kwnames[] = {
3470 NULL
3471 };
3472
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3474 {
3475 PyThreadState* __tstate = wxPyBeginAllowThreads();
3476 result = (wxGauge *)new wxGauge();
3477
3478 wxPyEndAllowThreads(__tstate);
3479 if (PyErr_Occurred()) SWIG_fail;
3480 }
3481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3482 return resultobj;
3483 fail:
3484 return NULL;
3485}
3486
3487
3488static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3489 PyObject *resultobj;
3490 wxGauge *arg1 = (wxGauge *) 0 ;
3491 wxWindow *arg2 = (wxWindow *) 0 ;
3492 int arg3 ;
3493 int arg4 ;
3494 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3495 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3496 wxSize const &arg6_defvalue = wxDefaultSize ;
3497 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3498 long arg7 = (long) wxGA_HORIZONTAL ;
3499 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3500 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3501 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3502 wxString *arg9 = (wxString *) &arg9_defvalue ;
3503 bool result;
3504 wxPoint temp5 ;
3505 wxSize temp6 ;
3506 bool temp9 = False ;
3507 PyObject * obj0 = 0 ;
3508 PyObject * obj1 = 0 ;
3509 PyObject * obj2 = 0 ;
3510 PyObject * obj3 = 0 ;
3511 PyObject * obj4 = 0 ;
3512 PyObject * obj5 = 0 ;
3513 PyObject * obj6 = 0 ;
3514 PyObject * obj7 = 0 ;
3515 PyObject * obj8 = 0 ;
3516 char *kwnames[] = {
3517 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3518 };
3519
3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:Gauge_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
3521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3523 {
3524 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3525 if (PyErr_Occurred()) SWIG_fail;
3526 }
3527 {
3528 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3529 if (PyErr_Occurred()) SWIG_fail;
3530 }
3531 if (obj4) {
3532 {
3533 arg5 = &temp5;
3534 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3535 }
3536 }
3537 if (obj5) {
3538 {
3539 arg6 = &temp6;
3540 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3541 }
3542 }
3543 if (obj6) {
3544 {
3545 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 }
3548 }
3549 if (obj7) {
3550 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3551 if (arg8 == NULL) {
3552 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3553 }
3554 }
3555 if (obj8) {
3556 {
3557 arg9 = wxString_in_helper(obj8);
3558 if (arg9 == NULL) SWIG_fail;
3559 temp9 = True;
3560 }
3561 }
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3570 {
3571 if (temp9)
3572 delete arg9;
3573 }
3574 return resultobj;
3575 fail:
3576 {
3577 if (temp9)
3578 delete arg9;
3579 }
3580 return NULL;
3581}
3582
3583
3584static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3585 PyObject *resultobj;
3586 wxGauge *arg1 = (wxGauge *) 0 ;
3587 int arg2 ;
3588 PyObject * obj0 = 0 ;
3589 PyObject * obj1 = 0 ;
3590 char *kwnames[] = {
3591 (char *) "self",(char *) "range", NULL
3592 };
3593
3594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetRange",kwnames,&obj0,&obj1)) goto fail;
3595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3596 {
3597 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3598 if (PyErr_Occurred()) SWIG_fail;
3599 }
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 (arg1)->SetRange(arg2);
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 Py_INCREF(Py_None); resultobj = Py_None;
3608 return resultobj;
3609 fail:
3610 return NULL;
3611}
3612
3613
3614static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3615 PyObject *resultobj;
3616 wxGauge *arg1 = (wxGauge *) 0 ;
3617 int result;
3618 PyObject * obj0 = 0 ;
3619 char *kwnames[] = {
3620 (char *) "self", NULL
3621 };
3622
3623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3625 {
3626 PyThreadState* __tstate = wxPyBeginAllowThreads();
3627 result = (int)((wxGauge const *)arg1)->GetRange();
3628
3629 wxPyEndAllowThreads(__tstate);
3630 if (PyErr_Occurred()) SWIG_fail;
3631 }
3632 resultobj = SWIG_PyObj_FromInt((int)result);
3633 return resultobj;
3634 fail:
3635 return NULL;
3636}
3637
3638
3639static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3640 PyObject *resultobj;
3641 wxGauge *arg1 = (wxGauge *) 0 ;
3642 int arg2 ;
3643 PyObject * obj0 = 0 ;
3644 PyObject * obj1 = 0 ;
3645 char *kwnames[] = {
3646 (char *) "self",(char *) "pos", NULL
3647 };
3648
3649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetValue",kwnames,&obj0,&obj1)) goto fail;
3650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3651 {
3652 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3653 if (PyErr_Occurred()) SWIG_fail;
3654 }
3655 {
3656 PyThreadState* __tstate = wxPyBeginAllowThreads();
3657 (arg1)->SetValue(arg2);
3658
3659 wxPyEndAllowThreads(__tstate);
3660 if (PyErr_Occurred()) SWIG_fail;
3661 }
3662 Py_INCREF(Py_None); resultobj = Py_None;
3663 return resultobj;
3664 fail:
3665 return NULL;
3666}
3667
3668
3669static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3670 PyObject *resultobj;
3671 wxGauge *arg1 = (wxGauge *) 0 ;
3672 int result;
3673 PyObject * obj0 = 0 ;
3674 char *kwnames[] = {
3675 (char *) "self", NULL
3676 };
3677
3678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3680 {
3681 PyThreadState* __tstate = wxPyBeginAllowThreads();
3682 result = (int)((wxGauge const *)arg1)->GetValue();
3683
3684 wxPyEndAllowThreads(__tstate);
3685 if (PyErr_Occurred()) SWIG_fail;
3686 }
3687 resultobj = SWIG_PyObj_FromInt((int)result);
3688 return resultobj;
3689 fail:
3690 return NULL;
3691}
3692
3693
3694static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3695 PyObject *resultobj;
3696 wxGauge *arg1 = (wxGauge *) 0 ;
3697 bool result;
3698 PyObject * obj0 = 0 ;
3699 char *kwnames[] = {
3700 (char *) "self", NULL
3701 };
3702
3703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3705 {
3706 PyThreadState* __tstate = wxPyBeginAllowThreads();
3707 result = (bool)((wxGauge const *)arg1)->IsVertical();
3708
3709 wxPyEndAllowThreads(__tstate);
3710 if (PyErr_Occurred()) SWIG_fail;
3711 }
3712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3713 return resultobj;
3714 fail:
3715 return NULL;
3716}
3717
3718
3719static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3720 PyObject *resultobj;
3721 wxGauge *arg1 = (wxGauge *) 0 ;
3722 int arg2 ;
3723 PyObject * obj0 = 0 ;
3724 PyObject * obj1 = 0 ;
3725 char *kwnames[] = {
3726 (char *) "self",(char *) "w", NULL
3727 };
3728
3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetShadowWidth",kwnames,&obj0,&obj1)) goto fail;
3730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3731 {
3732 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 {
3736 PyThreadState* __tstate = wxPyBeginAllowThreads();
3737 (arg1)->SetShadowWidth(arg2);
3738
3739 wxPyEndAllowThreads(__tstate);
3740 if (PyErr_Occurred()) SWIG_fail;
3741 }
3742 Py_INCREF(Py_None); resultobj = Py_None;
3743 return resultobj;
3744 fail:
3745 return NULL;
3746}
3747
3748
3749static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 wxGauge *arg1 = (wxGauge *) 0 ;
3752 int result;
3753 PyObject * obj0 = 0 ;
3754 char *kwnames[] = {
3755 (char *) "self", NULL
3756 };
3757
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 resultobj = SWIG_PyObj_FromInt((int)result);
3768 return resultobj;
3769 fail:
3770 return NULL;
3771}
3772
3773
3774static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj;
3776 wxGauge *arg1 = (wxGauge *) 0 ;
3777 int arg2 ;
3778 PyObject * obj0 = 0 ;
3779 PyObject * obj1 = 0 ;
3780 char *kwnames[] = {
3781 (char *) "self",(char *) "w", NULL
3782 };
3783
3784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Gauge_SetBezelFace",kwnames,&obj0,&obj1)) goto fail;
3785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3786 {
3787 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 (arg1)->SetBezelFace(arg2);
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
3797 Py_INCREF(Py_None); resultobj = Py_None;
3798 return resultobj;
3799 fail:
3800 return NULL;
3801}
3802
3803
3804static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxGauge *arg1 = (wxGauge *) 0 ;
3807 int result;
3808 PyObject * obj0 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "self", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3815 {
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3818
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 resultobj = SWIG_PyObj_FromInt((int)result);
3823 return resultobj;
3824 fail:
3825 return NULL;
3826}
3827
3828
3829static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3830 PyObject *obj;
3831 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3832 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3833 Py_INCREF(obj);
3834 return Py_BuildValue((char *)"");
3835}
3836static int _wrap_StaticBitmapNameStr_set(PyObject *) {
3837 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3838 return 1;
3839}
3840
3841
3842static PyObject *_wrap_StaticBitmapNameStr_get() {
3843 PyObject *pyobj;
3844
3845 {
3846#if wxUSE_UNICODE
3847 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3848#else
3849 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3850#endif
3851 }
3852 return pyobj;
3853}
3854
3855
3856static int _wrap_StaticBoxNameStr_set(PyObject *) {
3857 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3858 return 1;
3859}
3860
3861
3862static PyObject *_wrap_StaticBoxNameStr_get() {
3863 PyObject *pyobj;
3864
3865 {
3866#if wxUSE_UNICODE
3867 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3868#else
3869 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3870#endif
3871 }
3872 return pyobj;
3873}
3874
3875
3876static int _wrap_StaticTextNameStr_set(PyObject *) {
3877 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3878 return 1;
3879}
3880
3881
3882static PyObject *_wrap_StaticTextNameStr_get() {
3883 PyObject *pyobj;
3884
3885 {
3886#if wxUSE_UNICODE
3887 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3888#else
3889 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3890#endif
3891 }
3892 return pyobj;
3893}
3894
3895
3896static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3897 PyObject *resultobj;
3898 wxWindow *arg1 = (wxWindow *) 0 ;
3899 int arg2 ;
3900 wxString *arg3 = 0 ;
3901 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3902 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3903 wxSize const &arg5_defvalue = wxDefaultSize ;
3904 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3905 long arg6 = (long) 0 ;
3906 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3907 wxString *arg7 = (wxString *) &arg7_defvalue ;
3908 wxStaticBox *result;
3909 bool temp3 = False ;
3910 wxPoint temp4 ;
3911 wxSize temp5 ;
3912 bool temp7 = False ;
3913 PyObject * obj0 = 0 ;
3914 PyObject * obj1 = 0 ;
3915 PyObject * obj2 = 0 ;
3916 PyObject * obj3 = 0 ;
3917 PyObject * obj4 = 0 ;
3918 PyObject * obj5 = 0 ;
3919 PyObject * obj6 = 0 ;
3920 char *kwnames[] = {
3921 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3922 };
3923
3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3926 {
3927 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3928 if (PyErr_Occurred()) SWIG_fail;
3929 }
3930 {
3931 arg3 = wxString_in_helper(obj2);
3932 if (arg3 == NULL) SWIG_fail;
3933 temp3 = True;
3934 }
3935 if (obj3) {
3936 {
3937 arg4 = &temp4;
3938 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3939 }
3940 }
3941 if (obj4) {
3942 {
3943 arg5 = &temp5;
3944 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3945 }
3946 }
3947 if (obj5) {
3948 {
3949 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 }
3953 if (obj6) {
3954 {
3955 arg7 = wxString_in_helper(obj6);
3956 if (arg7 == NULL) SWIG_fail;
3957 temp7 = True;
3958 }
3959 }
3960 {
3961 PyThreadState* __tstate = wxPyBeginAllowThreads();
3962 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3963
3964 wxPyEndAllowThreads(__tstate);
3965 if (PyErr_Occurred()) SWIG_fail;
3966 }
3967 {
3968 resultobj = wxPyMake_wxObject(result);
3969 }
3970 {
3971 if (temp3)
3972 delete arg3;
3973 }
3974 {
3975 if (temp7)
3976 delete arg7;
3977 }
3978 return resultobj;
3979 fail:
3980 {
3981 if (temp3)
3982 delete arg3;
3983 }
3984 {
3985 if (temp7)
3986 delete arg7;
3987 }
3988 return NULL;
3989}
3990
3991
3992static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxStaticBox *result;
3995 char *kwnames[] = {
3996 NULL
3997 };
3998
3999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
4000 {
4001 PyThreadState* __tstate = wxPyBeginAllowThreads();
4002 result = (wxStaticBox *)new wxStaticBox();
4003
4004 wxPyEndAllowThreads(__tstate);
4005 if (PyErr_Occurred()) SWIG_fail;
4006 }
4007 {
4008 resultobj = wxPyMake_wxObject(result);
4009 }
4010 return resultobj;
4011 fail:
4012 return NULL;
4013}
4014
4015
4016static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4017 PyObject *resultobj;
4018 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
4019 wxWindow *arg2 = (wxWindow *) 0 ;
4020 int arg3 ;
4021 wxString *arg4 = 0 ;
4022 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4023 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4024 wxSize const &arg6_defvalue = wxDefaultSize ;
4025 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4026 long arg7 = (long) 0 ;
4027 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
4028 wxString *arg8 = (wxString *) &arg8_defvalue ;
4029 bool result;
4030 bool temp4 = False ;
4031 wxPoint temp5 ;
4032 wxSize temp6 ;
4033 bool temp8 = False ;
4034 PyObject * obj0 = 0 ;
4035 PyObject * obj1 = 0 ;
4036 PyObject * obj2 = 0 ;
4037 PyObject * obj3 = 0 ;
4038 PyObject * obj4 = 0 ;
4039 PyObject * obj5 = 0 ;
4040 PyObject * obj6 = 0 ;
4041 PyObject * obj7 = 0 ;
4042 char *kwnames[] = {
4043 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4044 };
4045
4046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4049 {
4050 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4051 if (PyErr_Occurred()) SWIG_fail;
4052 }
4053 {
4054 arg4 = wxString_in_helper(obj3);
4055 if (arg4 == NULL) SWIG_fail;
4056 temp4 = True;
4057 }
4058 if (obj4) {
4059 {
4060 arg5 = &temp5;
4061 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4062 }
4063 }
4064 if (obj5) {
4065 {
4066 arg6 = &temp6;
4067 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4068 }
4069 }
4070 if (obj6) {
4071 {
4072 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4073 if (PyErr_Occurred()) SWIG_fail;
4074 }
4075 }
4076 if (obj7) {
4077 {
4078 arg8 = wxString_in_helper(obj7);
4079 if (arg8 == NULL) SWIG_fail;
4080 temp8 = True;
4081 }
4082 }
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4086
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4091 {
4092 if (temp4)
4093 delete arg4;
4094 }
4095 {
4096 if (temp8)
4097 delete arg8;
4098 }
4099 return resultobj;
4100 fail:
4101 {
4102 if (temp4)
4103 delete arg4;
4104 }
4105 {
4106 if (temp8)
4107 delete arg8;
4108 }
4109 return NULL;
4110}
4111
4112
4113static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
4114 PyObject *obj;
4115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4116 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
4117 Py_INCREF(obj);
4118 return Py_BuildValue((char *)"");
4119}
4120static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4121 PyObject *resultobj;
4122 wxWindow *arg1 = (wxWindow *) 0 ;
4123 int arg2 ;
4124 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4125 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4126 wxSize const &arg4_defvalue = wxDefaultSize ;
4127 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4128 long arg5 = (long) wxLI_HORIZONTAL ;
4129 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
4130 wxString *arg6 = (wxString *) &arg6_defvalue ;
4131 wxStaticLine *result;
4132 wxPoint temp3 ;
4133 wxSize temp4 ;
4134 bool temp6 = False ;
4135 PyObject * obj0 = 0 ;
4136 PyObject * obj1 = 0 ;
4137 PyObject * obj2 = 0 ;
4138 PyObject * obj3 = 0 ;
4139 PyObject * obj4 = 0 ;
4140 PyObject * obj5 = 0 ;
4141 char *kwnames[] = {
4142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4143 };
4144
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_StaticLine",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4147 {
4148 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 if (obj2) {
4152 {
4153 arg3 = &temp3;
4154 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4155 }
4156 }
4157 if (obj3) {
4158 {
4159 arg4 = &temp4;
4160 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4161 }
4162 }
4163 if (obj4) {
4164 {
4165 arg5 = (long) SWIG_PyObj_AsLong(obj4);
4166 if (PyErr_Occurred()) SWIG_fail;
4167 }
4168 }
4169 if (obj5) {
4170 {
4171 arg6 = wxString_in_helper(obj5);
4172 if (arg6 == NULL) SWIG_fail;
4173 temp6 = True;
4174 }
4175 }
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4179
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
4183 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4184 {
4185 if (temp6)
4186 delete arg6;
4187 }
4188 return resultobj;
4189 fail:
4190 {
4191 if (temp6)
4192 delete arg6;
4193 }
4194 return NULL;
4195}
4196
4197
4198static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4199 PyObject *resultobj;
4200 wxStaticLine *result;
4201 char *kwnames[] = {
4202 NULL
4203 };
4204
4205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4206 {
4207 PyThreadState* __tstate = wxPyBeginAllowThreads();
4208 result = (wxStaticLine *)new wxStaticLine();
4209
4210 wxPyEndAllowThreads(__tstate);
4211 if (PyErr_Occurred()) SWIG_fail;
4212 }
4213 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4214 return resultobj;
4215 fail:
4216 return NULL;
4217}
4218
4219
4220static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4221 PyObject *resultobj;
4222 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4223 wxWindow *arg2 = (wxWindow *) 0 ;
4224 int arg3 ;
4225 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4226 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4227 wxSize const &arg5_defvalue = wxDefaultSize ;
4228 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4229 long arg6 = (long) wxLI_HORIZONTAL ;
4230 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4231 wxString *arg7 = (wxString *) &arg7_defvalue ;
4232 bool result;
4233 wxPoint temp4 ;
4234 wxSize temp5 ;
4235 bool temp7 = False ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4238 PyObject * obj2 = 0 ;
4239 PyObject * obj3 = 0 ;
4240 PyObject * obj4 = 0 ;
4241 PyObject * obj5 = 0 ;
4242 PyObject * obj6 = 0 ;
4243 char *kwnames[] = {
4244 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4245 };
4246
4247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:StaticLine_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4249 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4250 {
4251 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 if (obj3) {
4255 {
4256 arg4 = &temp4;
4257 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4258 }
4259 }
4260 if (obj4) {
4261 {
4262 arg5 = &temp5;
4263 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4264 }
4265 }
4266 if (obj5) {
4267 {
4268 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 }
4272 if (obj6) {
4273 {
4274 arg7 = wxString_in_helper(obj6);
4275 if (arg7 == NULL) SWIG_fail;
4276 temp7 = True;
4277 }
4278 }
4279 {
4280 PyThreadState* __tstate = wxPyBeginAllowThreads();
4281 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4282
4283 wxPyEndAllowThreads(__tstate);
4284 if (PyErr_Occurred()) SWIG_fail;
4285 }
4286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4287 {
4288 if (temp7)
4289 delete arg7;
4290 }
4291 return resultobj;
4292 fail:
4293 {
4294 if (temp7)
4295 delete arg7;
4296 }
4297 return NULL;
4298}
4299
4300
4301static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj;
4303 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4304 bool result;
4305 PyObject * obj0 = 0 ;
4306 char *kwnames[] = {
4307 (char *) "self", NULL
4308 };
4309
4310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4312 {
4313 PyThreadState* __tstate = wxPyBeginAllowThreads();
4314 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4315
4316 wxPyEndAllowThreads(__tstate);
4317 if (PyErr_Occurred()) SWIG_fail;
4318 }
4319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4320 return resultobj;
4321 fail:
4322 return NULL;
4323}
4324
4325
4326static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4327 PyObject *resultobj;
4328 int result;
4329 char *kwnames[] = {
4330 NULL
4331 };
4332
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4334 {
4335 PyThreadState* __tstate = wxPyBeginAllowThreads();
4336 result = (int)wxStaticLine::GetDefaultSize();
4337
4338 wxPyEndAllowThreads(__tstate);
4339 if (PyErr_Occurred()) SWIG_fail;
4340 }
4341 resultobj = SWIG_PyObj_FromInt((int)result);
4342 return resultobj;
4343 fail:
4344 return NULL;
4345}
4346
4347
4348static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4349 PyObject *obj;
4350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4351 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4352 Py_INCREF(obj);
4353 return Py_BuildValue((char *)"");
4354}
4355static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4356 PyObject *resultobj;
4357 wxWindow *arg1 = (wxWindow *) 0 ;
4358 int arg2 ;
4359 wxString *arg3 = 0 ;
4360 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4361 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4362 wxSize const &arg5_defvalue = wxDefaultSize ;
4363 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4364 long arg6 = (long) 0 ;
4365 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4366 wxString *arg7 = (wxString *) &arg7_defvalue ;
4367 wxStaticText *result;
4368 bool temp3 = False ;
4369 wxPoint temp4 ;
4370 wxSize temp5 ;
4371 bool temp7 = False ;
4372 PyObject * obj0 = 0 ;
4373 PyObject * obj1 = 0 ;
4374 PyObject * obj2 = 0 ;
4375 PyObject * obj3 = 0 ;
4376 PyObject * obj4 = 0 ;
4377 PyObject * obj5 = 0 ;
4378 PyObject * obj6 = 0 ;
4379 char *kwnames[] = {
4380 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4381 };
4382
4383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticText",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4385 {
4386 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4387 if (PyErr_Occurred()) SWIG_fail;
4388 }
4389 {
4390 arg3 = wxString_in_helper(obj2);
4391 if (arg3 == NULL) SWIG_fail;
4392 temp3 = True;
4393 }
4394 if (obj3) {
4395 {
4396 arg4 = &temp4;
4397 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4398 }
4399 }
4400 if (obj4) {
4401 {
4402 arg5 = &temp5;
4403 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4404 }
4405 }
4406 if (obj5) {
4407 {
4408 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4409 if (PyErr_Occurred()) SWIG_fail;
4410 }
4411 }
4412 if (obj6) {
4413 {
4414 arg7 = wxString_in_helper(obj6);
4415 if (arg7 == NULL) SWIG_fail;
4416 temp7 = True;
4417 }
4418 }
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4422
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4427 {
4428 if (temp3)
4429 delete arg3;
4430 }
4431 {
4432 if (temp7)
4433 delete arg7;
4434 }
4435 return resultobj;
4436 fail:
4437 {
4438 if (temp3)
4439 delete arg3;
4440 }
4441 {
4442 if (temp7)
4443 delete arg7;
4444 }
4445 return NULL;
4446}
4447
4448
4449static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4450 PyObject *resultobj;
4451 wxStaticText *result;
4452 char *kwnames[] = {
4453 NULL
4454 };
4455
4456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 result = (wxStaticText *)new wxStaticText();
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4465 return resultobj;
4466 fail:
4467 return NULL;
4468}
4469
4470
4471static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4472 PyObject *resultobj;
4473 wxStaticText *arg1 = (wxStaticText *) 0 ;
4474 wxWindow *arg2 = (wxWindow *) 0 ;
4475 int arg3 ;
4476 wxString *arg4 = 0 ;
4477 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4478 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4479 wxSize const &arg6_defvalue = wxDefaultSize ;
4480 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4481 long arg7 = (long) 0 ;
4482 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4483 wxString *arg8 = (wxString *) &arg8_defvalue ;
4484 bool result;
4485 bool temp4 = False ;
4486 wxPoint temp5 ;
4487 wxSize temp6 ;
4488 bool temp8 = False ;
4489 PyObject * obj0 = 0 ;
4490 PyObject * obj1 = 0 ;
4491 PyObject * obj2 = 0 ;
4492 PyObject * obj3 = 0 ;
4493 PyObject * obj4 = 0 ;
4494 PyObject * obj5 = 0 ;
4495 PyObject * obj6 = 0 ;
4496 PyObject * obj7 = 0 ;
4497 char *kwnames[] = {
4498 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4499 };
4500
4501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticText_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4504 {
4505 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4506 if (PyErr_Occurred()) SWIG_fail;
4507 }
4508 {
4509 arg4 = wxString_in_helper(obj3);
4510 if (arg4 == NULL) SWIG_fail;
4511 temp4 = True;
4512 }
4513 if (obj4) {
4514 {
4515 arg5 = &temp5;
4516 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4517 }
4518 }
4519 if (obj5) {
4520 {
4521 arg6 = &temp6;
4522 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4523 }
4524 }
4525 if (obj6) {
4526 {
4527 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 }
4531 if (obj7) {
4532 {
4533 arg8 = wxString_in_helper(obj7);
4534 if (arg8 == NULL) SWIG_fail;
4535 temp8 = True;
4536 }
4537 }
4538 {
4539 PyThreadState* __tstate = wxPyBeginAllowThreads();
4540 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4541
4542 wxPyEndAllowThreads(__tstate);
4543 if (PyErr_Occurred()) SWIG_fail;
4544 }
4545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4546 {
4547 if (temp4)
4548 delete arg4;
4549 }
4550 {
4551 if (temp8)
4552 delete arg8;
4553 }
4554 return resultobj;
4555 fail:
4556 {
4557 if (temp4)
4558 delete arg4;
4559 }
4560 {
4561 if (temp8)
4562 delete arg8;
4563 }
4564 return NULL;
4565}
4566
4567
4568static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4569 PyObject *obj;
4570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4571 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4572 Py_INCREF(obj);
4573 return Py_BuildValue((char *)"");
4574}
4575static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4576 PyObject *resultobj;
4577 wxWindow *arg1 = (wxWindow *) 0 ;
4578 int arg2 ;
4579 wxBitmap *arg3 = 0 ;
4580 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4581 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4582 wxSize const &arg5_defvalue = wxDefaultSize ;
4583 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4584 long arg6 = (long) 0 ;
4585 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4586 wxString *arg7 = (wxString *) &arg7_defvalue ;
4587 wxStaticBitmap *result;
4588 wxPoint temp4 ;
4589 wxSize temp5 ;
4590 bool temp7 = False ;
4591 PyObject * obj0 = 0 ;
4592 PyObject * obj1 = 0 ;
4593 PyObject * obj2 = 0 ;
4594 PyObject * obj3 = 0 ;
4595 PyObject * obj4 = 0 ;
4596 PyObject * obj5 = 0 ;
4597 PyObject * obj6 = 0 ;
4598 char *kwnames[] = {
4599 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4600 };
4601
4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticBitmap",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4604 {
4605 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4609 if (arg3 == NULL) {
4610 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4611 }
4612 if (obj3) {
4613 {
4614 arg4 = &temp4;
4615 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4616 }
4617 }
4618 if (obj4) {
4619 {
4620 arg5 = &temp5;
4621 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4622 }
4623 }
4624 if (obj5) {
4625 {
4626 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4627 if (PyErr_Occurred()) SWIG_fail;
4628 }
4629 }
4630 if (obj6) {
4631 {
4632 arg7 = wxString_in_helper(obj6);
4633 if (arg7 == NULL) SWIG_fail;
4634 temp7 = True;
4635 }
4636 }
4637 {
4638 PyThreadState* __tstate = wxPyBeginAllowThreads();
4639 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4640
4641 wxPyEndAllowThreads(__tstate);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 }
4644 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4645 {
4646 if (temp7)
4647 delete arg7;
4648 }
4649 return resultobj;
4650 fail:
4651 {
4652 if (temp7)
4653 delete arg7;
4654 }
4655 return NULL;
4656}
4657
4658
4659static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4660 PyObject *resultobj;
4661 wxStaticBitmap *result;
4662 char *kwnames[] = {
4663 NULL
4664 };
4665
4666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4667 {
4668 PyThreadState* __tstate = wxPyBeginAllowThreads();
4669 result = (wxStaticBitmap *)new wxStaticBitmap();
4670
4671 wxPyEndAllowThreads(__tstate);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 }
4674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4675 return resultobj;
4676 fail:
4677 return NULL;
4678}
4679
4680
4681static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj;
4683 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4684 wxWindow *arg2 = (wxWindow *) 0 ;
4685 int arg3 ;
4686 wxBitmap *arg4 = 0 ;
4687 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4688 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4689 wxSize const &arg6_defvalue = wxDefaultSize ;
4690 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4691 long arg7 = (long) 0 ;
4692 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4693 wxString *arg8 = (wxString *) &arg8_defvalue ;
4694 bool result;
4695 wxPoint temp5 ;
4696 wxSize temp6 ;
4697 bool temp8 = False ;
4698 PyObject * obj0 = 0 ;
4699 PyObject * obj1 = 0 ;
4700 PyObject * obj2 = 0 ;
4701 PyObject * obj3 = 0 ;
4702 PyObject * obj4 = 0 ;
4703 PyObject * obj5 = 0 ;
4704 PyObject * obj6 = 0 ;
4705 PyObject * obj7 = 0 ;
4706 char *kwnames[] = {
4707 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4708 };
4709
4710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticBitmap_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4713 {
4714 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 }
4717 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4718 if (arg4 == NULL) {
4719 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4720 }
4721 if (obj4) {
4722 {
4723 arg5 = &temp5;
4724 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4725 }
4726 }
4727 if (obj5) {
4728 {
4729 arg6 = &temp6;
4730 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4731 }
4732 }
4733 if (obj6) {
4734 {
4735 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 }
4739 if (obj7) {
4740 {
4741 arg8 = wxString_in_helper(obj7);
4742 if (arg8 == NULL) SWIG_fail;
4743 temp8 = True;
4744 }
4745 }
4746 {
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4749
4750 wxPyEndAllowThreads(__tstate);
4751 if (PyErr_Occurred()) SWIG_fail;
4752 }
4753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4754 {
4755 if (temp8)
4756 delete arg8;
4757 }
4758 return resultobj;
4759 fail:
4760 {
4761 if (temp8)
4762 delete arg8;
4763 }
4764 return NULL;
4765}
4766
4767
4768static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4769 PyObject *resultobj;
4770 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4771 wxBitmap result;
4772 PyObject * obj0 = 0 ;
4773 char *kwnames[] = {
4774 (char *) "self", NULL
4775 };
4776
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4779 {
4780 PyThreadState* __tstate = wxPyBeginAllowThreads();
4781 result = (arg1)->GetBitmap();
4782
4783 wxPyEndAllowThreads(__tstate);
4784 if (PyErr_Occurred()) SWIG_fail;
4785 }
4786 {
4787 wxBitmap * resultptr;
4788 resultptr = new wxBitmap((wxBitmap &) result);
4789 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4790 }
4791 return resultobj;
4792 fail:
4793 return NULL;
4794}
4795
4796
4797static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4798 PyObject *resultobj;
4799 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4800 wxBitmap *arg2 = 0 ;
4801 PyObject * obj0 = 0 ;
4802 PyObject * obj1 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "self",(char *) "bitmap", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4810 if (arg2 == NULL) {
4811 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4812 }
4813 {
4814 PyThreadState* __tstate = wxPyBeginAllowThreads();
4815 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4816
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 Py_INCREF(Py_None); resultobj = Py_None;
4821 return resultobj;
4822 fail:
4823 return NULL;
4824}
4825
4826
4827static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4828 PyObject *resultobj;
4829 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4830 wxIcon *arg2 = 0 ;
4831 PyObject * obj0 = 0 ;
4832 PyObject * obj1 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self",(char *) "icon", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4840 if (arg2 == NULL) {
4841 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4842 }
4843 {
4844 PyThreadState* __tstate = wxPyBeginAllowThreads();
4845 (arg1)->SetIcon((wxIcon const &)*arg2);
4846
4847 wxPyEndAllowThreads(__tstate);
4848 if (PyErr_Occurred()) SWIG_fail;
4849 }
4850 Py_INCREF(Py_None); resultobj = Py_None;
4851 return resultobj;
4852 fail:
4853 return NULL;
4854}
4855
4856
4857static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4858 PyObject *obj;
4859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4860 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4861 Py_INCREF(obj);
4862 return Py_BuildValue((char *)"");
4863}
4864static int _wrap_ListBoxNameStr_set(PyObject *) {
4865 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4866 return 1;
4867}
4868
4869
4870static PyObject *_wrap_ListBoxNameStr_get() {
4871 PyObject *pyobj;
4872
4873 {
4874#if wxUSE_UNICODE
4875 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4876#else
4877 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4878#endif
4879 }
4880 return pyobj;
4881}
4882
4883
4884static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4885 PyObject *resultobj;
4886 wxWindow *arg1 = (wxWindow *) 0 ;
4887 int arg2 ;
4888 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4889 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4890 wxSize const &arg4_defvalue = wxDefaultSize ;
4891 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4892 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
4893 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
4894 long arg6 = (long) 0 ;
4895 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4896 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4897 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
4898 wxString *arg8 = (wxString *) &arg8_defvalue ;
4899 wxListBox *result;
4900 wxPoint temp3 ;
4901 wxSize temp4 ;
4902 bool temp5 = False ;
4903 bool temp8 = False ;
4904 PyObject * obj0 = 0 ;
4905 PyObject * obj1 = 0 ;
4906 PyObject * obj2 = 0 ;
4907 PyObject * obj3 = 0 ;
4908 PyObject * obj4 = 0 ;
4909 PyObject * obj5 = 0 ;
4910 PyObject * obj6 = 0 ;
4911 PyObject * obj7 = 0 ;
4912 char *kwnames[] = {
4913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4914 };
4915
4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_ListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4918 {
4919 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 if (obj2) {
4923 {
4924 arg3 = &temp3;
4925 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4926 }
4927 }
4928 if (obj3) {
4929 {
4930 arg4 = &temp4;
4931 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4932 }
4933 }
4934 if (obj4) {
4935 {
4936 if (! PySequence_Check(obj4)) {
4937 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4938 SWIG_fail;
4939 }
4940 arg5 = new wxArrayString;
4941 temp5 = True;
4942 int i, len=PySequence_Length(obj4);
4943 for (i=0; i<len; i++) {
4944 PyObject* item = PySequence_GetItem(obj4, i);
4945#if wxUSE_UNICODE
4946 PyObject* str = PyObject_Unicode(item);
4947#else
4948 PyObject* str = PyObject_Str(item);
4949#endif
4950 arg5->Add(Py2wxString(str));
4951 Py_DECREF(item);
4952 Py_DECREF(str);
4953 }
4954 }
4955 }
4956 if (obj5) {
4957 {
4958 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 }
4962 if (obj6) {
4963 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4964 if (arg7 == NULL) {
4965 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4966 }
4967 }
4968 if (obj7) {
4969 {
4970 arg8 = wxString_in_helper(obj7);
4971 if (arg8 == NULL) SWIG_fail;
4972 temp8 = True;
4973 }
4974 }
4975 {
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4978
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4983 {
4984 if (temp5) delete arg5;
4985 }
4986 {
4987 if (temp8)
4988 delete arg8;
4989 }
4990 return resultobj;
4991 fail:
4992 {
4993 if (temp5) delete arg5;
4994 }
4995 {
4996 if (temp8)
4997 delete arg8;
4998 }
4999 return NULL;
5000}
5001
5002
5003static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5004 PyObject *resultobj;
5005 wxListBox *result;
5006 char *kwnames[] = {
5007 NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 result = (wxListBox *)new wxListBox();
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
5019 return resultobj;
5020 fail:
5021 return NULL;
5022}
5023
5024
5025static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj;
5027 wxListBox *arg1 = (wxListBox *) 0 ;
5028 wxWindow *arg2 = (wxWindow *) 0 ;
5029 int arg3 ;
5030 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5031 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5032 wxSize const &arg5_defvalue = wxDefaultSize ;
5033 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5034 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5035 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5036 long arg7 = (long) 0 ;
5037 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5038 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5039 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5040 wxString *arg9 = (wxString *) &arg9_defvalue ;
5041 bool result;
5042 wxPoint temp4 ;
5043 wxSize temp5 ;
5044 bool temp6 = False ;
5045 bool temp9 = False ;
5046 PyObject * obj0 = 0 ;
5047 PyObject * obj1 = 0 ;
5048 PyObject * obj2 = 0 ;
5049 PyObject * obj3 = 0 ;
5050 PyObject * obj4 = 0 ;
5051 PyObject * obj5 = 0 ;
5052 PyObject * obj6 = 0 ;
5053 PyObject * obj7 = 0 ;
5054 PyObject * obj8 = 0 ;
5055 char *kwnames[] = {
5056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5057 };
5058
5059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:ListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
5060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5062 {
5063 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5064 if (PyErr_Occurred()) SWIG_fail;
5065 }
5066 if (obj3) {
5067 {
5068 arg4 = &temp4;
5069 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5070 }
5071 }
5072 if (obj4) {
5073 {
5074 arg5 = &temp5;
5075 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5076 }
5077 }
5078 if (obj5) {
5079 {
5080 if (! PySequence_Check(obj5)) {
5081 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5082 SWIG_fail;
5083 }
5084 arg6 = new wxArrayString;
5085 temp6 = True;
5086 int i, len=PySequence_Length(obj5);
5087 for (i=0; i<len; i++) {
5088 PyObject* item = PySequence_GetItem(obj5, i);
5089#if wxUSE_UNICODE
5090 PyObject* str = PyObject_Unicode(item);
5091#else
5092 PyObject* str = PyObject_Str(item);
5093#endif
5094 arg6->Add(Py2wxString(str));
5095 Py_DECREF(item);
5096 Py_DECREF(str);
5097 }
5098 }
5099 }
5100 if (obj6) {
5101 {
5102 arg7 = (long) SWIG_PyObj_AsLong(obj6);
5103 if (PyErr_Occurred()) SWIG_fail;
5104 }
5105 }
5106 if (obj7) {
5107 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5108 if (arg8 == NULL) {
5109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5110 }
5111 }
5112 if (obj8) {
5113 {
5114 arg9 = wxString_in_helper(obj8);
5115 if (arg9 == NULL) SWIG_fail;
5116 temp9 = True;
5117 }
5118 }
5119 {
5120 PyThreadState* __tstate = wxPyBeginAllowThreads();
5121 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5122
5123 wxPyEndAllowThreads(__tstate);
5124 if (PyErr_Occurred()) SWIG_fail;
5125 }
5126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5127 {
5128 if (temp6) delete arg6;
5129 }
5130 {
5131 if (temp9)
5132 delete arg9;
5133 }
5134 return resultobj;
5135 fail:
5136 {
5137 if (temp6) delete arg6;
5138 }
5139 {
5140 if (temp9)
5141 delete arg9;
5142 }
5143 return NULL;
5144}
5145
5146
5147static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
5148 PyObject *resultobj;
5149 wxListBox *arg1 = (wxListBox *) 0 ;
5150 wxString *arg2 = 0 ;
5151 int arg3 ;
5152 PyObject *arg4 = (PyObject *) NULL ;
5153 bool temp2 = False ;
5154 PyObject * obj0 = 0 ;
5155 PyObject * obj1 = 0 ;
5156 PyObject * obj2 = 0 ;
5157 PyObject * obj3 = 0 ;
5158 char *kwnames[] = {
5159 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5160 };
5161
5162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListBox_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5164 {
5165 arg2 = wxString_in_helper(obj1);
5166 if (arg2 == NULL) SWIG_fail;
5167 temp2 = True;
5168 }
5169 {
5170 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
5173 if (obj3) {
5174 arg4 = obj3;
5175 }
5176 {
5177 PyThreadState* __tstate = wxPyBeginAllowThreads();
5178 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
5179
5180 wxPyEndAllowThreads(__tstate);
5181 if (PyErr_Occurred()) SWIG_fail;
5182 }
5183 Py_INCREF(Py_None); resultobj = Py_None;
5184 {
5185 if (temp2)
5186 delete arg2;
5187 }
5188 return resultobj;
5189 fail:
5190 {
5191 if (temp2)
5192 delete arg2;
5193 }
5194 return NULL;
5195}
5196
5197
5198static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxListBox *arg1 = (wxListBox *) 0 ;
5201 wxArrayString *arg2 = 0 ;
5202 int arg3 ;
5203 bool temp2 = False ;
5204 PyObject * obj0 = 0 ;
5205 PyObject * obj1 = 0 ;
5206 PyObject * obj2 = 0 ;
5207 char *kwnames[] = {
5208 (char *) "self",(char *) "items",(char *) "pos", NULL
5209 };
5210
5211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_InsertItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
5212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5213 {
5214 if (! PySequence_Check(obj1)) {
5215 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5216 SWIG_fail;
5217 }
5218 arg2 = new wxArrayString;
5219 temp2 = True;
5220 int i, len=PySequence_Length(obj1);
5221 for (i=0; i<len; i++) {
5222 PyObject* item = PySequence_GetItem(obj1, i);
5223#if wxUSE_UNICODE
5224 PyObject* str = PyObject_Unicode(item);
5225#else
5226 PyObject* str = PyObject_Str(item);
5227#endif
5228 arg2->Add(Py2wxString(str));
5229 Py_DECREF(item);
5230 Py_DECREF(str);
5231 }
5232 }
5233 {
5234 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 {
5238 PyThreadState* __tstate = wxPyBeginAllowThreads();
5239 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
5240
5241 wxPyEndAllowThreads(__tstate);
5242 if (PyErr_Occurred()) SWIG_fail;
5243 }
5244 Py_INCREF(Py_None); resultobj = Py_None;
5245 {
5246 if (temp2) delete arg2;
5247 }
5248 return resultobj;
5249 fail:
5250 {
5251 if (temp2) delete arg2;
5252 }
5253 return NULL;
5254}
5255
5256
5257static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5258 PyObject *resultobj;
5259 wxListBox *arg1 = (wxListBox *) 0 ;
5260 wxArrayString *arg2 = 0 ;
5261 bool temp2 = False ;
5262 PyObject * obj0 = 0 ;
5263 PyObject * obj1 = 0 ;
5264 char *kwnames[] = {
5265 (char *) "self",(char *) "items", NULL
5266 };
5267
5268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
5269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5270 {
5271 if (! PySequence_Check(obj1)) {
5272 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5273 SWIG_fail;
5274 }
5275 arg2 = new wxArrayString;
5276 temp2 = True;
5277 int i, len=PySequence_Length(obj1);
5278 for (i=0; i<len; i++) {
5279 PyObject* item = PySequence_GetItem(obj1, i);
5280#if wxUSE_UNICODE
5281 PyObject* str = PyObject_Unicode(item);
5282#else
5283 PyObject* str = PyObject_Str(item);
5284#endif
5285 arg2->Add(Py2wxString(str));
5286 Py_DECREF(item);
5287 Py_DECREF(str);
5288 }
5289 }
5290 {
5291 PyThreadState* __tstate = wxPyBeginAllowThreads();
5292 (arg1)->Set((wxArrayString const &)*arg2);
5293
5294 wxPyEndAllowThreads(__tstate);
5295 if (PyErr_Occurred()) SWIG_fail;
5296 }
5297 Py_INCREF(Py_None); resultobj = Py_None;
5298 {
5299 if (temp2) delete arg2;
5300 }
5301 return resultobj;
5302 fail:
5303 {
5304 if (temp2) delete arg2;
5305 }
5306 return NULL;
5307}
5308
5309
5310static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
5311 PyObject *resultobj;
5312 wxListBox *arg1 = (wxListBox *) 0 ;
5313 int arg2 ;
5314 bool result;
5315 PyObject * obj0 = 0 ;
5316 PyObject * obj1 = 0 ;
5317 char *kwnames[] = {
5318 (char *) "self",(char *) "n", NULL
5319 };
5320
5321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
5322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5323 {
5324 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 {
5328 PyThreadState* __tstate = wxPyBeginAllowThreads();
5329 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5330
5331 wxPyEndAllowThreads(__tstate);
5332 if (PyErr_Occurred()) SWIG_fail;
5333 }
5334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5335 return resultobj;
5336 fail:
5337 return NULL;
5338}
5339
5340
5341static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5342 PyObject *resultobj;
5343 wxListBox *arg1 = (wxListBox *) 0 ;
5344 int arg2 ;
5345 bool arg3 = (bool) True ;
5346 PyObject * obj0 = 0 ;
5347 PyObject * obj1 = 0 ;
5348 PyObject * obj2 = 0 ;
5349 char *kwnames[] = {
5350 (char *) "self",(char *) "n",(char *) "select", NULL
5351 };
5352
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5355 {
5356 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 if (obj2) {
5360 {
5361 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 }
5365 {
5366 PyThreadState* __tstate = wxPyBeginAllowThreads();
5367 (arg1)->SetSelection(arg2,arg3);
5368
5369 wxPyEndAllowThreads(__tstate);
5370 if (PyErr_Occurred()) SWIG_fail;
5371 }
5372 Py_INCREF(Py_None); resultobj = Py_None;
5373 return resultobj;
5374 fail:
5375 return NULL;
5376}
5377
5378
5379static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5380 PyObject *resultobj;
5381 wxListBox *arg1 = (wxListBox *) 0 ;
5382 int arg2 ;
5383 PyObject * obj0 = 0 ;
5384 PyObject * obj1 = 0 ;
5385 char *kwnames[] = {
5386 (char *) "self",(char *) "n", NULL
5387 };
5388
5389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Select",kwnames,&obj0,&obj1)) goto fail;
5390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5391 {
5392 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5393 if (PyErr_Occurred()) SWIG_fail;
5394 }
5395 {
5396 PyThreadState* __tstate = wxPyBeginAllowThreads();
5397 (arg1)->Select(arg2);
5398
5399 wxPyEndAllowThreads(__tstate);
5400 if (PyErr_Occurred()) SWIG_fail;
5401 }
5402 Py_INCREF(Py_None); resultobj = Py_None;
5403 return resultobj;
5404 fail:
5405 return NULL;
5406}
5407
5408
5409static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5410 PyObject *resultobj;
5411 wxListBox *arg1 = (wxListBox *) 0 ;
5412 int arg2 ;
5413 PyObject * obj0 = 0 ;
5414 PyObject * obj1 = 0 ;
5415 char *kwnames[] = {
5416 (char *) "self",(char *) "n", NULL
5417 };
5418
5419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Deselect",kwnames,&obj0,&obj1)) goto fail;
5420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5421 {
5422 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5423 if (PyErr_Occurred()) SWIG_fail;
5424 }
5425 {
5426 PyThreadState* __tstate = wxPyBeginAllowThreads();
5427 (arg1)->Deselect(arg2);
5428
5429 wxPyEndAllowThreads(__tstate);
5430 if (PyErr_Occurred()) SWIG_fail;
5431 }
5432 Py_INCREF(Py_None); resultobj = Py_None;
5433 return resultobj;
5434 fail:
5435 return NULL;
5436}
5437
5438
5439static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxListBox *arg1 = (wxListBox *) 0 ;
5442 int arg2 = (int) -1 ;
5443 PyObject * obj0 = 0 ;
5444 PyObject * obj1 = 0 ;
5445 char *kwnames[] = {
5446 (char *) "self",(char *) "itemToLeaveSelected", NULL
5447 };
5448
5449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListBox_DeselectAll",kwnames,&obj0,&obj1)) goto fail;
5450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5451 if (obj1) {
5452 {
5453 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5454 if (PyErr_Occurred()) SWIG_fail;
5455 }
5456 }
5457 {
5458 PyThreadState* __tstate = wxPyBeginAllowThreads();
5459 (arg1)->DeselectAll(arg2);
5460
5461 wxPyEndAllowThreads(__tstate);
5462 if (PyErr_Occurred()) SWIG_fail;
5463 }
5464 Py_INCREF(Py_None); resultobj = Py_None;
5465 return resultobj;
5466 fail:
5467 return NULL;
5468}
5469
5470
5471static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5472 PyObject *resultobj;
5473 wxListBox *arg1 = (wxListBox *) 0 ;
5474 wxString *arg2 = 0 ;
5475 bool arg3 = (bool) True ;
5476 bool result;
5477 bool temp2 = False ;
5478 PyObject * obj0 = 0 ;
5479 PyObject * obj1 = 0 ;
5480 PyObject * obj2 = 0 ;
5481 char *kwnames[] = {
5482 (char *) "self",(char *) "s",(char *) "select", NULL
5483 };
5484
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5487 {
5488 arg2 = wxString_in_helper(obj1);
5489 if (arg2 == NULL) SWIG_fail;
5490 temp2 = True;
5491 }
5492 if (obj2) {
5493 {
5494 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 }
5498 {
5499 PyThreadState* __tstate = wxPyBeginAllowThreads();
5500 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5501
5502 wxPyEndAllowThreads(__tstate);
5503 if (PyErr_Occurred()) SWIG_fail;
5504 }
5505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5506 {
5507 if (temp2)
5508 delete arg2;
5509 }
5510 return resultobj;
5511 fail:
5512 {
5513 if (temp2)
5514 delete arg2;
5515 }
5516 return NULL;
5517}
5518
5519
5520static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5521 PyObject *resultobj;
5522 wxListBox *arg1 = (wxListBox *) 0 ;
5523 PyObject *result;
5524 PyObject * obj0 = 0 ;
5525 char *kwnames[] = {
5526 (char *) "self", NULL
5527 };
5528
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5531 {
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 result = (PyObject *)wxListBox_GetSelections(arg1);
5534
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 resultobj = result;
5539 return resultobj;
5540 fail:
5541 return NULL;
5542}
5543
5544
5545static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj;
5547 wxListBox *arg1 = (wxListBox *) 0 ;
5548 int arg2 ;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "n", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItem",kwnames,&obj0,&obj1)) goto fail;
5556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5557 {
5558 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 {
5562 PyThreadState* __tstate = wxPyBeginAllowThreads();
5563 (arg1)->SetFirstItem(arg2);
5564
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 Py_INCREF(Py_None); resultobj = Py_None;
5569 return resultobj;
5570 fail:
5571 return NULL;
5572}
5573
5574
5575static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5576 PyObject *resultobj;
5577 wxListBox *arg1 = (wxListBox *) 0 ;
5578 wxString *arg2 = 0 ;
5579 bool temp2 = False ;
5580 PyObject * obj0 = 0 ;
5581 PyObject * obj1 = 0 ;
5582 char *kwnames[] = {
5583 (char *) "self",(char *) "s", NULL
5584 };
5585
5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5588 {
5589 arg2 = wxString_in_helper(obj1);
5590 if (arg2 == NULL) SWIG_fail;
5591 temp2 = True;
5592 }
5593 {
5594 PyThreadState* __tstate = wxPyBeginAllowThreads();
5595 (arg1)->SetFirstItem((wxString const &)*arg2);
5596
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 Py_INCREF(Py_None); resultobj = Py_None;
5601 {
5602 if (temp2)
5603 delete arg2;
5604 }
5605 return resultobj;
5606 fail:
5607 {
5608 if (temp2)
5609 delete arg2;
5610 }
5611 return NULL;
5612}
5613
5614
5615static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj;
5617 wxListBox *arg1 = (wxListBox *) 0 ;
5618 int arg2 ;
5619 PyObject * obj0 = 0 ;
5620 PyObject * obj1 = 0 ;
5621 char *kwnames[] = {
5622 (char *) "self",(char *) "n", NULL
5623 };
5624
5625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5627 {
5628 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5629 if (PyErr_Occurred()) SWIG_fail;
5630 }
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 (arg1)->EnsureVisible(arg2);
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 Py_INCREF(Py_None); resultobj = Py_None;
5639 return resultobj;
5640 fail:
5641 return NULL;
5642}
5643
5644
5645static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5646 PyObject *resultobj;
5647 wxListBox *arg1 = (wxListBox *) 0 ;
5648 wxString *arg2 = 0 ;
5649 bool temp2 = False ;
5650 PyObject * obj0 = 0 ;
5651 PyObject * obj1 = 0 ;
5652 char *kwnames[] = {
5653 (char *) "self",(char *) "s", NULL
5654 };
5655
5656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5658 {
5659 arg2 = wxString_in_helper(obj1);
5660 if (arg2 == NULL) SWIG_fail;
5661 temp2 = True;
5662 }
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5666
5667 wxPyEndAllowThreads(__tstate);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
5670 Py_INCREF(Py_None); resultobj = Py_None;
5671 {
5672 if (temp2)
5673 delete arg2;
5674 }
5675 return resultobj;
5676 fail:
5677 {
5678 if (temp2)
5679 delete arg2;
5680 }
5681 return NULL;
5682}
5683
5684
5685static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5686 PyObject *resultobj;
5687 wxListBox *arg1 = (wxListBox *) 0 ;
5688 bool result;
5689 PyObject * obj0 = 0 ;
5690 char *kwnames[] = {
5691 (char *) "self", NULL
5692 };
5693
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5696 {
5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
5698 result = (bool)((wxListBox const *)arg1)->IsSorted();
5699
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5704 return resultobj;
5705 fail:
5706 return NULL;
5707}
5708
5709
5710static PyObject *_wrap_ListBox_SetItemForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5711 PyObject *resultobj;
5712 wxListBox *arg1 = (wxListBox *) 0 ;
5713 int arg2 ;
5714 wxColour *arg3 = 0 ;
5715 wxColour temp3 ;
5716 PyObject * obj0 = 0 ;
5717 PyObject * obj1 = 0 ;
5718 PyObject * obj2 = 0 ;
5719 char *kwnames[] = {
5720 (char *) "self",(char *) "item",(char *) "c", NULL
5721 };
5722
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5725 {
5726 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5727 if (PyErr_Occurred()) SWIG_fail;
5728 }
5729 {
5730 arg3 = &temp3;
5731 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5732 }
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 wxListBox_SetItemForegroundColour(arg1,arg2,(wxColour const &)*arg3);
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 Py_INCREF(Py_None); resultobj = Py_None;
5741 return resultobj;
5742 fail:
5743 return NULL;
5744}
5745
5746
5747static PyObject *_wrap_ListBox_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj;
5749 wxListBox *arg1 = (wxListBox *) 0 ;
5750 int arg2 ;
5751 wxColour *arg3 = 0 ;
5752 wxColour temp3 ;
5753 PyObject * obj0 = 0 ;
5754 PyObject * obj1 = 0 ;
5755 PyObject * obj2 = 0 ;
5756 char *kwnames[] = {
5757 (char *) "self",(char *) "item",(char *) "c", NULL
5758 };
5759
5760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
5761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5762 {
5763 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5764 if (PyErr_Occurred()) SWIG_fail;
5765 }
5766 {
5767 arg3 = &temp3;
5768 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5769 }
5770 {
5771 PyThreadState* __tstate = wxPyBeginAllowThreads();
5772 wxListBox_SetItemBackgroundColour(arg1,arg2,(wxColour const &)*arg3);
5773
5774 wxPyEndAllowThreads(__tstate);
5775 if (PyErr_Occurred()) SWIG_fail;
5776 }
5777 Py_INCREF(Py_None); resultobj = Py_None;
5778 return resultobj;
5779 fail:
5780 return NULL;
5781}
5782
5783
5784static PyObject *_wrap_ListBox_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5785 PyObject *resultobj;
5786 wxListBox *arg1 = (wxListBox *) 0 ;
5787 int arg2 ;
5788 wxFont *arg3 = 0 ;
5789 PyObject * obj0 = 0 ;
5790 PyObject * obj1 = 0 ;
5791 PyObject * obj2 = 0 ;
5792 char *kwnames[] = {
5793 (char *) "self",(char *) "item",(char *) "f", NULL
5794 };
5795
5796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListBox_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
5797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5798 {
5799 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5803 if (arg3 == NULL) {
5804 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5805 }
5806 {
5807 PyThreadState* __tstate = wxPyBeginAllowThreads();
5808 wxListBox_SetItemFont(arg1,arg2,(wxFont const &)*arg3);
5809
5810 wxPyEndAllowThreads(__tstate);
5811 if (PyErr_Occurred()) SWIG_fail;
5812 }
5813 Py_INCREF(Py_None); resultobj = Py_None;
5814 return resultobj;
5815 fail:
5816 return NULL;
5817}
5818
5819
5820static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5821 PyObject *obj;
5822 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5823 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5824 Py_INCREF(obj);
5825 return Py_BuildValue((char *)"");
5826}
5827static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj;
5829 wxWindow *arg1 = (wxWindow *) 0 ;
5830 int arg2 ;
5831 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5832 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5833 wxSize const &arg4_defvalue = wxDefaultSize ;
5834 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5835 wxArrayString const &arg5_defvalue = wxPyEmptyStringArray ;
5836 wxArrayString *arg5 = (wxArrayString *) &arg5_defvalue ;
5837 long arg6 = (long) 0 ;
5838 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5839 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5840 wxString const &arg8_defvalue = wxPyListBoxNameStr ;
5841 wxString *arg8 = (wxString *) &arg8_defvalue ;
5842 wxCheckListBox *result;
5843 wxPoint temp3 ;
5844 wxSize temp4 ;
5845 bool temp5 = False ;
5846 bool temp8 = False ;
5847 PyObject * obj0 = 0 ;
5848 PyObject * obj1 = 0 ;
5849 PyObject * obj2 = 0 ;
5850 PyObject * obj3 = 0 ;
5851 PyObject * obj4 = 0 ;
5852 PyObject * obj5 = 0 ;
5853 PyObject * obj6 = 0 ;
5854 PyObject * obj7 = 0 ;
5855 char *kwnames[] = {
5856 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5857 };
5858
5859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_CheckListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
5860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5861 {
5862 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 if (obj2) {
5866 {
5867 arg3 = &temp3;
5868 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5869 }
5870 }
5871 if (obj3) {
5872 {
5873 arg4 = &temp4;
5874 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5875 }
5876 }
5877 if (obj4) {
5878 {
5879 if (! PySequence_Check(obj4)) {
5880 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
5881 SWIG_fail;
5882 }
5883 arg5 = new wxArrayString;
5884 temp5 = True;
5885 int i, len=PySequence_Length(obj4);
5886 for (i=0; i<len; i++) {
5887 PyObject* item = PySequence_GetItem(obj4, i);
5888#if wxUSE_UNICODE
5889 PyObject* str = PyObject_Unicode(item);
5890#else
5891 PyObject* str = PyObject_Str(item);
5892#endif
5893 arg5->Add(Py2wxString(str));
5894 Py_DECREF(item);
5895 Py_DECREF(str);
5896 }
5897 }
5898 }
5899 if (obj5) {
5900 {
5901 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 }
5905 if (obj6) {
5906 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5907 if (arg7 == NULL) {
5908 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5909 }
5910 }
5911 if (obj7) {
5912 {
5913 arg8 = wxString_in_helper(obj7);
5914 if (arg8 == NULL) SWIG_fail;
5915 temp8 = True;
5916 }
5917 }
5918 {
5919 PyThreadState* __tstate = wxPyBeginAllowThreads();
5920 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,(wxArrayString const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5921
5922 wxPyEndAllowThreads(__tstate);
5923 if (PyErr_Occurred()) SWIG_fail;
5924 }
5925 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5926 {
5927 if (temp5) delete arg5;
5928 }
5929 {
5930 if (temp8)
5931 delete arg8;
5932 }
5933 return resultobj;
5934 fail:
5935 {
5936 if (temp5) delete arg5;
5937 }
5938 {
5939 if (temp8)
5940 delete arg8;
5941 }
5942 return NULL;
5943}
5944
5945
5946static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5947 PyObject *resultobj;
5948 wxCheckListBox *result;
5949 char *kwnames[] = {
5950 NULL
5951 };
5952
5953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5954 {
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 result = (wxCheckListBox *)new wxCheckListBox();
5957
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5962 return resultobj;
5963 fail:
5964 return NULL;
5965}
5966
5967
5968static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5969 PyObject *resultobj;
5970 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5971 wxWindow *arg2 = (wxWindow *) 0 ;
5972 int arg3 ;
5973 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5974 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5975 wxSize const &arg5_defvalue = wxDefaultSize ;
5976 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5977 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
5978 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
5979 long arg7 = (long) 0 ;
5980 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5981 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5982 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5983 wxString *arg9 = (wxString *) &arg9_defvalue ;
5984 bool result;
5985 wxPoint temp4 ;
5986 wxSize temp5 ;
5987 bool temp6 = False ;
5988 bool temp9 = False ;
5989 PyObject * obj0 = 0 ;
5990 PyObject * obj1 = 0 ;
5991 PyObject * obj2 = 0 ;
5992 PyObject * obj3 = 0 ;
5993 PyObject * obj4 = 0 ;
5994 PyObject * obj5 = 0 ;
5995 PyObject * obj6 = 0 ;
5996 PyObject * obj7 = 0 ;
5997 PyObject * obj8 = 0 ;
5998 char *kwnames[] = {
5999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6000 };
6001
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:CheckListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
6003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6005 {
6006 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 }
6009 if (obj3) {
6010 {
6011 arg4 = &temp4;
6012 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6013 }
6014 }
6015 if (obj4) {
6016 {
6017 arg5 = &temp5;
6018 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6019 }
6020 }
6021 if (obj5) {
6022 {
6023 if (! PySequence_Check(obj5)) {
6024 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
6025 SWIG_fail;
6026 }
6027 arg6 = new wxArrayString;
6028 temp6 = True;
6029 int i, len=PySequence_Length(obj5);
6030 for (i=0; i<len; i++) {
6031 PyObject* item = PySequence_GetItem(obj5, i);
6032#if wxUSE_UNICODE
6033 PyObject* str = PyObject_Unicode(item);
6034#else
6035 PyObject* str = PyObject_Str(item);
6036#endif
6037 arg6->Add(Py2wxString(str));
6038 Py_DECREF(item);
6039 Py_DECREF(str);
6040 }
6041 }
6042 }
6043 if (obj6) {
6044 {
6045 arg7 = (long) SWIG_PyObj_AsLong(obj6);
6046 if (PyErr_Occurred()) SWIG_fail;
6047 }
6048 }
6049 if (obj7) {
6050 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6051 if (arg8 == NULL) {
6052 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6053 }
6054 }
6055 if (obj8) {
6056 {
6057 arg9 = wxString_in_helper(obj8);
6058 if (arg9 == NULL) SWIG_fail;
6059 temp9 = True;
6060 }
6061 }
6062 {
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,(wxArrayString const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6065
6066 wxPyEndAllowThreads(__tstate);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6070 {
6071 if (temp6) delete arg6;
6072 }
6073 {
6074 if (temp9)
6075 delete arg9;
6076 }
6077 return resultobj;
6078 fail:
6079 {
6080 if (temp6) delete arg6;
6081 }
6082 {
6083 if (temp9)
6084 delete arg9;
6085 }
6086 return NULL;
6087}
6088
6089
6090static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
6091 PyObject *resultobj;
6092 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6093 int arg2 ;
6094 bool result;
6095 PyObject * obj0 = 0 ;
6096 PyObject * obj1 = 0 ;
6097 char *kwnames[] = {
6098 (char *) "self",(char *) "index", NULL
6099 };
6100
6101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_IsChecked",kwnames,&obj0,&obj1)) goto fail;
6102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6103 {
6104 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6105 if (PyErr_Occurred()) SWIG_fail;
6106 }
6107 {
6108 PyThreadState* __tstate = wxPyBeginAllowThreads();
6109 result = (bool)(arg1)->IsChecked(arg2);
6110
6111 wxPyEndAllowThreads(__tstate);
6112 if (PyErr_Occurred()) SWIG_fail;
6113 }
6114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6115 return resultobj;
6116 fail:
6117 return NULL;
6118}
6119
6120
6121static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
6122 PyObject *resultobj;
6123 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6124 int arg2 ;
6125 int arg3 = (int) True ;
6126 PyObject * obj0 = 0 ;
6127 PyObject * obj1 = 0 ;
6128 PyObject * obj2 = 0 ;
6129 char *kwnames[] = {
6130 (char *) "self",(char *) "index",(char *) "check", NULL
6131 };
6132
6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:CheckListBox_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
6134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6135 {
6136 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6137 if (PyErr_Occurred()) SWIG_fail;
6138 }
6139 if (obj2) {
6140 {
6141 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6142 if (PyErr_Occurred()) SWIG_fail;
6143 }
6144 }
6145 {
6146 PyThreadState* __tstate = wxPyBeginAllowThreads();
6147 (arg1)->Check(arg2,arg3);
6148
6149 wxPyEndAllowThreads(__tstate);
6150 if (PyErr_Occurred()) SWIG_fail;
6151 }
6152 Py_INCREF(Py_None); resultobj = Py_None;
6153 return resultobj;
6154 fail:
6155 return NULL;
6156}
6157
6158
6159static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
6160 PyObject *resultobj;
6161 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6162 int result;
6163 PyObject * obj0 = 0 ;
6164 char *kwnames[] = {
6165 (char *) "self", NULL
6166 };
6167
6168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
6169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6170 {
6171 PyThreadState* __tstate = wxPyBeginAllowThreads();
6172 result = (int)(arg1)->GetItemHeight();
6173
6174 wxPyEndAllowThreads(__tstate);
6175 if (PyErr_Occurred()) SWIG_fail;
6176 }
6177 resultobj = SWIG_PyObj_FromInt((int)result);
6178 return resultobj;
6179 fail:
6180 return NULL;
6181}
6182
6183
6184static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6185 PyObject *resultobj;
6186 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6187 wxPoint *arg2 = 0 ;
6188 int result;
6189 wxPoint temp2 ;
6190 PyObject * obj0 = 0 ;
6191 PyObject * obj1 = 0 ;
6192 char *kwnames[] = {
6193 (char *) "self",(char *) "pt", NULL
6194 };
6195
6196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
6197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6198 {
6199 arg2 = &temp2;
6200 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
6201 }
6202 {
6203 PyThreadState* __tstate = wxPyBeginAllowThreads();
6204 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
6205
6206 wxPyEndAllowThreads(__tstate);
6207 if (PyErr_Occurred()) SWIG_fail;
6208 }
6209 resultobj = SWIG_PyObj_FromInt((int)result);
6210 return resultobj;
6211 fail:
6212 return NULL;
6213}
6214
6215
6216static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
6217 PyObject *resultobj;
6218 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
6219 int arg2 ;
6220 int arg3 ;
6221 int result;
6222 PyObject * obj0 = 0 ;
6223 PyObject * obj1 = 0 ;
6224 PyObject * obj2 = 0 ;
6225 char *kwnames[] = {
6226 (char *) "self",(char *) "x",(char *) "y", NULL
6227 };
6228
6229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:CheckListBox_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
6230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6231 {
6232 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 {
6236 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
6239 {
6240 PyThreadState* __tstate = wxPyBeginAllowThreads();
6241 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
6242
6243 wxPyEndAllowThreads(__tstate);
6244 if (PyErr_Occurred()) SWIG_fail;
6245 }
6246 resultobj = SWIG_PyObj_FromInt((int)result);
6247 return resultobj;
6248 fail:
6249 return NULL;
6250}
6251
6252
6253static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
6254 PyObject *obj;
6255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6256 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
6257 Py_INCREF(obj);
6258 return Py_BuildValue((char *)"");
6259}
6260static int _wrap_TextCtrlNameStr_set(PyObject *) {
6261 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
6262 return 1;
6263}
6264
6265
6266static PyObject *_wrap_TextCtrlNameStr_get() {
6267 PyObject *pyobj;
6268
6269 {
6270#if wxUSE_UNICODE
6271 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6272#else
6273 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
6274#endif
6275 }
6276 return pyobj;
6277}
6278
6279
6280static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
6281 PyObject *resultobj;
6282 wxTextAttr *result;
6283
6284 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (wxTextAttr *)new wxTextAttr();
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6293 return resultobj;
6294 fail:
6295 return NULL;
6296}
6297
6298
6299static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
6300 PyObject *resultobj;
6301 wxColour *arg1 = 0 ;
6302 wxColour const &arg2_defvalue = wxNullColour ;
6303 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
6304 wxFont const &arg3_defvalue = wxNullFont ;
6305 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
6306 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
6307 wxTextAttr *result;
6308 wxColour temp1 ;
6309 wxColour temp2 ;
6310 PyObject * obj0 = 0 ;
6311 PyObject * obj1 = 0 ;
6312 PyObject * obj2 = 0 ;
6313 PyObject * obj3 = 0 ;
6314
6315 if(!PyArg_ParseTuple(args,(char *)"O|OOO:new_TextAttr",&obj0,&obj1,&obj2,&obj3)) goto fail;
6316 {
6317 arg1 = &temp1;
6318 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
6319 }
6320 if (obj1) {
6321 {
6322 arg2 = &temp2;
6323 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6324 }
6325 }
6326 if (obj2) {
6327 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6328 if (arg3 == NULL) {
6329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6330 }
6331 }
6332 if (obj3) {
6333 {
6334 arg4 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj3);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 }
6338 {
6339 PyThreadState* __tstate = wxPyBeginAllowThreads();
6340 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
6341
6342 wxPyEndAllowThreads(__tstate);
6343 if (PyErr_Occurred()) SWIG_fail;
6344 }
6345 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
6346 return resultobj;
6347 fail:
6348 return NULL;
6349}
6350
6351
6352static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
6353 int argc;
6354 PyObject *argv[5];
6355 int ii;
6356
6357 argc = PyObject_Length(args);
6358 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
6359 argv[ii] = PyTuple_GetItem(args,ii);
6360 }
6361 if (argc == 0) {
6362 return _wrap_new_TextAttr__SWIG_0(self,args);
6363 }
6364 if ((argc >= 1) && (argc <= 4)) {
6365 int _v;
6366 {
6367 _v = wxColour_typecheck(argv[0]);
6368 }
6369 if (_v) {
6370 if (argc <= 1) {
6371 return _wrap_new_TextAttr__SWIG_1(self,args);
6372 }
6373 {
6374 _v = wxColour_typecheck(argv[1]);
6375 }
6376 if (_v) {
6377 if (argc <= 2) {
6378 return _wrap_new_TextAttr__SWIG_1(self,args);
6379 }
6380 {
6381 void *ptr;
6382 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
6383 _v = 0;
6384 PyErr_Clear();
6385 } else {
6386 _v = 1;
6387 }
6388 }
6389 if (_v) {
6390 if (argc <= 3) {
6391 return _wrap_new_TextAttr__SWIG_1(self,args);
6392 }
6393 {
6394 SWIG_PyObj_AsInt(argv[3]);
6395 if (PyErr_Occurred()) {
6396 _v = 0;
6397 PyErr_Clear();
6398 } else {
6399 _v = 1;
6400 }
6401 }
6402 if (_v) {
6403 return _wrap_new_TextAttr__SWIG_1(self,args);
6404 }
6405 }
6406 }
6407 }
6408 }
6409
6410 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
6411 return NULL;
6412}
6413
6414
6415static PyObject *_wrap_delete_TextAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
6416 PyObject *resultobj;
6417 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6418 PyObject * obj0 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TextAttr",kwnames,&obj0)) goto fail;
6424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 delete arg1;
6428
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
6432 Py_INCREF(Py_None); resultobj = Py_None;
6433 return resultobj;
6434 fail:
6435 return NULL;
6436}
6437
6438
6439static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
6440 PyObject *resultobj;
6441 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6442 PyObject * obj0 = 0 ;
6443 char *kwnames[] = {
6444 (char *) "self", NULL
6445 };
6446
6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
6448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 (arg1)->Init();
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 Py_INCREF(Py_None); resultobj = Py_None;
6457 return resultobj;
6458 fail:
6459 return NULL;
6460}
6461
6462
6463static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj;
6465 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6466 wxColour *arg2 = 0 ;
6467 wxColour temp2 ;
6468 PyObject * obj0 = 0 ;
6469 PyObject * obj1 = 0 ;
6470 char *kwnames[] = {
6471 (char *) "self",(char *) "colText", NULL
6472 };
6473
6474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
6475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6476 {
6477 arg2 = &temp2;
6478 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6479 }
6480 {
6481 PyThreadState* __tstate = wxPyBeginAllowThreads();
6482 (arg1)->SetTextColour((wxColour const &)*arg2);
6483
6484 wxPyEndAllowThreads(__tstate);
6485 if (PyErr_Occurred()) SWIG_fail;
6486 }
6487 Py_INCREF(Py_None); resultobj = Py_None;
6488 return resultobj;
6489 fail:
6490 return NULL;
6491}
6492
6493
6494static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6495 PyObject *resultobj;
6496 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6497 wxColour *arg2 = 0 ;
6498 wxColour temp2 ;
6499 PyObject * obj0 = 0 ;
6500 PyObject * obj1 = 0 ;
6501 char *kwnames[] = {
6502 (char *) "self",(char *) "colBack", NULL
6503 };
6504
6505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
6506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6507 {
6508 arg2 = &temp2;
6509 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
6510 }
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
6514
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 Py_INCREF(Py_None); resultobj = Py_None;
6519 return resultobj;
6520 fail:
6521 return NULL;
6522}
6523
6524
6525static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6526 PyObject *resultobj;
6527 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6528 wxFont *arg2 = 0 ;
6529 long arg3 = (long) wxTEXT_ATTR_FONT ;
6530 PyObject * obj0 = 0 ;
6531 PyObject * obj1 = 0 ;
6532 PyObject * obj2 = 0 ;
6533 char *kwnames[] = {
6534 (char *) "self",(char *) "font",(char *) "flags", NULL
6535 };
6536
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TextAttr_SetFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
6538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6540 if (arg2 == NULL) {
6541 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6542 }
6543 if (obj2) {
6544 {
6545 arg3 = (long) SWIG_PyObj_AsLong(obj2);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 }
6548 }
6549 {
6550 PyThreadState* __tstate = wxPyBeginAllowThreads();
6551 (arg1)->SetFont((wxFont const &)*arg2,arg3);
6552
6553 wxPyEndAllowThreads(__tstate);
6554 if (PyErr_Occurred()) SWIG_fail;
6555 }
6556 Py_INCREF(Py_None); resultobj = Py_None;
6557 return resultobj;
6558 fail:
6559 return NULL;
6560}
6561
6562
6563static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6564 PyObject *resultobj;
6565 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6566 int arg2 ;
6567 PyObject * obj0 = 0 ;
6568 PyObject * obj1 = 0 ;
6569 char *kwnames[] = {
6570 (char *) "self",(char *) "alignment", NULL
6571 };
6572
6573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
6574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6575 {
6576 arg2 = (wxTextAttrAlignment) SWIG_PyObj_AsInt(obj1);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 {
6580 PyThreadState* __tstate = wxPyBeginAllowThreads();
6581 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
6582
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 Py_INCREF(Py_None); resultobj = Py_None;
6587 return resultobj;
6588 fail:
6589 return NULL;
6590}
6591
6592
6593static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6594 PyObject *resultobj;
6595 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6596 wxArrayInt *arg2 = 0 ;
6597 bool temp2 = False ;
6598 PyObject * obj0 = 0 ;
6599 PyObject * obj1 = 0 ;
6600 char *kwnames[] = {
6601 (char *) "self",(char *) "tabs", NULL
6602 };
6603
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6606 {
6607 if (! PySequence_Check(obj1)) {
6608 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6609 SWIG_fail;
6610 }
6611 arg2 = new wxArrayInt;
6612 temp2 = True;
6613 int i, len=PySequence_Length(obj1);
6614 for (i=0; i<len; i++) {
6615 PyObject* item = PySequence_GetItem(obj1, i);
6616 PyObject* number = PyNumber_Int(item);
6617 arg2->Add(PyInt_AS_LONG(number));
6618 Py_DECREF(item);
6619 Py_DECREF(number);
6620 }
6621 }
6622 {
6623 PyThreadState* __tstate = wxPyBeginAllowThreads();
6624 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6625
6626 wxPyEndAllowThreads(__tstate);
6627 if (PyErr_Occurred()) SWIG_fail;
6628 }
6629 Py_INCREF(Py_None); resultobj = Py_None;
6630 {
6631 if (temp2) delete arg2;
6632 }
6633 return resultobj;
6634 fail:
6635 {
6636 if (temp2) delete arg2;
6637 }
6638 return NULL;
6639}
6640
6641
6642static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6643 PyObject *resultobj;
6644 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6645 int arg2 ;
6646 PyObject * obj0 = 0 ;
6647 PyObject * obj1 = 0 ;
6648 char *kwnames[] = {
6649 (char *) "self",(char *) "indent", NULL
6650 };
6651
6652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetLeftIndent",kwnames,&obj0,&obj1)) goto fail;
6653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6654 {
6655 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 (arg1)->SetLeftIndent(arg2);
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 Py_INCREF(Py_None); resultobj = Py_None;
6666 return resultobj;
6667 fail:
6668 return NULL;
6669}
6670
6671
6672static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6673 PyObject *resultobj;
6674 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6675 int arg2 ;
6676 PyObject * obj0 = 0 ;
6677 PyObject * obj1 = 0 ;
6678 char *kwnames[] = {
6679 (char *) "self",(char *) "indent", NULL
6680 };
6681
6682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetRightIndent",kwnames,&obj0,&obj1)) goto fail;
6683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6684 {
6685 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 {
6689 PyThreadState* __tstate = wxPyBeginAllowThreads();
6690 (arg1)->SetRightIndent(arg2);
6691
6692 wxPyEndAllowThreads(__tstate);
6693 if (PyErr_Occurred()) SWIG_fail;
6694 }
6695 Py_INCREF(Py_None); resultobj = Py_None;
6696 return resultobj;
6697 fail:
6698 return NULL;
6699}
6700
6701
6702static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6703 PyObject *resultobj;
6704 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6705 long arg2 ;
6706 PyObject * obj0 = 0 ;
6707 PyObject * obj1 = 0 ;
6708 char *kwnames[] = {
6709 (char *) "self",(char *) "flags", NULL
6710 };
6711
6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetFlags",kwnames,&obj0,&obj1)) goto fail;
6713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6714 {
6715 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 (arg1)->SetFlags(arg2);
6721
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 Py_INCREF(Py_None); resultobj = Py_None;
6726 return resultobj;
6727 fail:
6728 return NULL;
6729}
6730
6731
6732static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj;
6734 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6735 bool result;
6736 PyObject * obj0 = 0 ;
6737 char *kwnames[] = {
6738 (char *) "self", NULL
6739 };
6740
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6751 return resultobj;
6752 fail:
6753 return NULL;
6754}
6755
6756
6757static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6758 PyObject *resultobj;
6759 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6760 bool result;
6761 PyObject * obj0 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "self", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6768 {
6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
6770 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6771
6772 wxPyEndAllowThreads(__tstate);
6773 if (PyErr_Occurred()) SWIG_fail;
6774 }
6775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6776 return resultobj;
6777 fail:
6778 return NULL;
6779}
6780
6781
6782static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6783 PyObject *resultobj;
6784 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6785 bool result;
6786 PyObject * obj0 = 0 ;
6787 char *kwnames[] = {
6788 (char *) "self", NULL
6789 };
6790
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6793 {
6794 PyThreadState* __tstate = wxPyBeginAllowThreads();
6795 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6796
6797 wxPyEndAllowThreads(__tstate);
6798 if (PyErr_Occurred()) SWIG_fail;
6799 }
6800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6801 return resultobj;
6802 fail:
6803 return NULL;
6804}
6805
6806
6807static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6808 PyObject *resultobj;
6809 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6810 bool result;
6811 PyObject * obj0 = 0 ;
6812 char *kwnames[] = {
6813 (char *) "self", NULL
6814 };
6815
6816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6818 {
6819 PyThreadState* __tstate = wxPyBeginAllowThreads();
6820 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6821
6822 wxPyEndAllowThreads(__tstate);
6823 if (PyErr_Occurred()) SWIG_fail;
6824 }
6825 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6826 return resultobj;
6827 fail:
6828 return NULL;
6829}
6830
6831
6832static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6833 PyObject *resultobj;
6834 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6835 bool result;
6836 PyObject * obj0 = 0 ;
6837 char *kwnames[] = {
6838 (char *) "self", NULL
6839 };
6840
6841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6846
6847 wxPyEndAllowThreads(__tstate);
6848 if (PyErr_Occurred()) SWIG_fail;
6849 }
6850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6851 return resultobj;
6852 fail:
6853 return NULL;
6854}
6855
6856
6857static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6858 PyObject *resultobj;
6859 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6860 bool result;
6861 PyObject * obj0 = 0 ;
6862 char *kwnames[] = {
6863 (char *) "self", NULL
6864 };
6865
6866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6868 {
6869 PyThreadState* __tstate = wxPyBeginAllowThreads();
6870 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6871
6872 wxPyEndAllowThreads(__tstate);
6873 if (PyErr_Occurred()) SWIG_fail;
6874 }
6875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6876 return resultobj;
6877 fail:
6878 return NULL;
6879}
6880
6881
6882static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6883 PyObject *resultobj;
6884 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6885 bool result;
6886 PyObject * obj0 = 0 ;
6887 char *kwnames[] = {
6888 (char *) "self", NULL
6889 };
6890
6891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6893 {
6894 PyThreadState* __tstate = wxPyBeginAllowThreads();
6895 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6896
6897 wxPyEndAllowThreads(__tstate);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
6900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6901 return resultobj;
6902 fail:
6903 return NULL;
6904}
6905
6906
6907static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6908 PyObject *resultobj;
6909 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6910 long arg2 ;
6911 bool result;
6912 PyObject * obj0 = 0 ;
6913 PyObject * obj1 = 0 ;
6914 char *kwnames[] = {
6915 (char *) "self",(char *) "flag", NULL
6916 };
6917
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_HasFlag",kwnames,&obj0,&obj1)) goto fail;
6919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6920 {
6921 arg2 = (long) SWIG_PyObj_AsLong(obj1);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 }
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6932 return resultobj;
6933 fail:
6934 return NULL;
6935}
6936
6937
6938static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6939 PyObject *resultobj;
6940 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6941 wxColour *result;
6942 PyObject * obj0 = 0 ;
6943 char *kwnames[] = {
6944 (char *) "self", NULL
6945 };
6946
6947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 {
6952 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6953 result = (wxColour *) &_result_ref;
6954 }
6955
6956 wxPyEndAllowThreads(__tstate);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 }
6959 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6960 return resultobj;
6961 fail:
6962 return NULL;
6963}
6964
6965
6966static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6967 PyObject *resultobj;
6968 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6969 wxColour *result;
6970 PyObject * obj0 = 0 ;
6971 char *kwnames[] = {
6972 (char *) "self", NULL
6973 };
6974
6975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6977 {
6978 PyThreadState* __tstate = wxPyBeginAllowThreads();
6979 {
6980 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6981 result = (wxColour *) &_result_ref;
6982 }
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6988 return resultobj;
6989 fail:
6990 return NULL;
6991}
6992
6993
6994static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6997 wxFont *result;
6998 PyObject * obj0 = 0 ;
6999 char *kwnames[] = {
7000 (char *) "self", NULL
7001 };
7002
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
7004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 {
7008 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
7009 result = (wxFont *) &_result_ref;
7010 }
7011
7012 wxPyEndAllowThreads(__tstate);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 }
7015 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
7016 return resultobj;
7017 fail:
7018 return NULL;
7019}
7020
7021
7022static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7023 PyObject *resultobj;
7024 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7025 int result;
7026 PyObject * obj0 = 0 ;
7027 char *kwnames[] = {
7028 (char *) "self", NULL
7029 };
7030
7031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
7032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
7036
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 }
7040 resultobj = SWIG_PyObj_FromInt((int)result);
7041 return resultobj;
7042 fail:
7043 return NULL;
7044}
7045
7046
7047static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
7048 PyObject *resultobj;
7049 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7050 wxArrayInt *result;
7051 PyObject * obj0 = 0 ;
7052 char *kwnames[] = {
7053 (char *) "self", NULL
7054 };
7055
7056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
7057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7058 {
7059 PyThreadState* __tstate = wxPyBeginAllowThreads();
7060 {
7061 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
7062 result = (wxArrayInt *) &_result_ref;
7063 }
7064
7065 wxPyEndAllowThreads(__tstate);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 }
7068 {
7069 resultobj = PyList_New(0);
7070 size_t idx;
7071 for (idx = 0; idx < result->GetCount(); idx += 1) {
7072 PyObject* val = PyInt_FromLong( result->Item(idx) );
7073 PyList_Append(resultobj, val);
7074 Py_DECREF(val);
7075 }
7076 }
7077 return resultobj;
7078 fail:
7079 return NULL;
7080}
7081
7082
7083static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj;
7085 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7086 long result;
7087 PyObject * obj0 = 0 ;
7088 char *kwnames[] = {
7089 (char *) "self", NULL
7090 };
7091
7092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
7093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 resultobj = SWIG_PyObj_FromLong((long)result);
7102 return resultobj;
7103 fail:
7104 return NULL;
7105}
7106
7107
7108static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
7109 PyObject *resultobj;
7110 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7111 long result;
7112 PyObject * obj0 = 0 ;
7113 char *kwnames[] = {
7114 (char *) "self", NULL
7115 };
7116
7117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
7118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 resultobj = SWIG_PyObj_FromLong((long)result);
7127 return resultobj;
7128 fail:
7129 return NULL;
7130}
7131
7132
7133static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7136 long result;
7137 PyObject * obj0 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "self", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
7143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 result = (long)((wxTextAttr const *)arg1)->GetFlags();
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 resultobj = SWIG_PyObj_FromLong((long)result);
7152 return resultobj;
7153 fail:
7154 return NULL;
7155}
7156
7157
7158static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
7159 PyObject *resultobj;
7160 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
7161 bool result;
7162 PyObject * obj0 = 0 ;
7163 char *kwnames[] = {
7164 (char *) "self", NULL
7165 };
7166
7167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
7168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
7172
7173 wxPyEndAllowThreads(__tstate);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 }
7176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7177 return resultobj;
7178 fail:
7179 return NULL;
7180}
7181
7182
7183static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
7184 PyObject *resultobj;
7185 wxTextAttr *arg1 = 0 ;
7186 wxTextAttr *arg2 = 0 ;
7187 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
7188 wxTextAttr result;
7189 PyObject * obj0 = 0 ;
7190 PyObject * obj1 = 0 ;
7191 PyObject * obj2 = 0 ;
7192 char *kwnames[] = {
7193 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
7194 };
7195
7196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
7197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7198 if (arg1 == NULL) {
7199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7200 }
7201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7202 if (arg2 == NULL) {
7203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7204 }
7205 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
7209
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 {
7214 wxTextAttr * resultptr;
7215 resultptr = new wxTextAttr((wxTextAttr &) result);
7216 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
7217 }
7218 return resultobj;
7219 fail:
7220 return NULL;
7221}
7222
7223
7224static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
7225 PyObject *obj;
7226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7227 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
7228 Py_INCREF(obj);
7229 return Py_BuildValue((char *)"");
7230}
7231static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7232 PyObject *resultobj;
7233 wxWindow *arg1 = (wxWindow *) 0 ;
7234 int arg2 ;
7235 wxString const &arg3_defvalue = wxPyEmptyString ;
7236 wxString *arg3 = (wxString *) &arg3_defvalue ;
7237 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7238 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7239 wxSize const &arg5_defvalue = wxDefaultSize ;
7240 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7241 long arg6 = (long) 0 ;
7242 wxValidator const &arg7_defvalue = wxDefaultValidator ;
7243 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
7244 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
7245 wxString *arg8 = (wxString *) &arg8_defvalue ;
7246 wxTextCtrl *result;
7247 bool temp3 = False ;
7248 wxPoint temp4 ;
7249 wxSize temp5 ;
7250 bool temp8 = False ;
7251 PyObject * obj0 = 0 ;
7252 PyObject * obj1 = 0 ;
7253 PyObject * obj2 = 0 ;
7254 PyObject * obj3 = 0 ;
7255 PyObject * obj4 = 0 ;
7256 PyObject * obj5 = 0 ;
7257 PyObject * obj6 = 0 ;
7258 PyObject * obj7 = 0 ;
7259 char *kwnames[] = {
7260 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7261 };
7262
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:new_TextCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
7264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7265 {
7266 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7267 if (PyErr_Occurred()) SWIG_fail;
7268 }
7269 if (obj2) {
7270 {
7271 arg3 = wxString_in_helper(obj2);
7272 if (arg3 == NULL) SWIG_fail;
7273 temp3 = True;
7274 }
7275 }
7276 if (obj3) {
7277 {
7278 arg4 = &temp4;
7279 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7280 }
7281 }
7282 if (obj4) {
7283 {
7284 arg5 = &temp5;
7285 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7286 }
7287 }
7288 if (obj5) {
7289 {
7290 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7291 if (PyErr_Occurred()) SWIG_fail;
7292 }
7293 }
7294 if (obj6) {
7295 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7296 if (arg7 == NULL) {
7297 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7298 }
7299 }
7300 if (obj7) {
7301 {
7302 arg8 = wxString_in_helper(obj7);
7303 if (arg8 == NULL) SWIG_fail;
7304 temp8 = True;
7305 }
7306 }
7307 {
7308 PyThreadState* __tstate = wxPyBeginAllowThreads();
7309 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
7310
7311 wxPyEndAllowThreads(__tstate);
7312 if (PyErr_Occurred()) SWIG_fail;
7313 }
7314 {
7315 resultobj = wxPyMake_wxObject(result);
7316 }
7317 {
7318 if (temp3)
7319 delete arg3;
7320 }
7321 {
7322 if (temp8)
7323 delete arg8;
7324 }
7325 return resultobj;
7326 fail:
7327 {
7328 if (temp3)
7329 delete arg3;
7330 }
7331 {
7332 if (temp8)
7333 delete arg8;
7334 }
7335 return NULL;
7336}
7337
7338
7339static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
7340 PyObject *resultobj;
7341 wxTextCtrl *result;
7342 char *kwnames[] = {
7343 NULL
7344 };
7345
7346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
7347 {
7348 PyThreadState* __tstate = wxPyBeginAllowThreads();
7349 result = (wxTextCtrl *)new wxTextCtrl();
7350
7351 wxPyEndAllowThreads(__tstate);
7352 if (PyErr_Occurred()) SWIG_fail;
7353 }
7354 {
7355 resultobj = wxPyMake_wxObject(result);
7356 }
7357 return resultobj;
7358 fail:
7359 return NULL;
7360}
7361
7362
7363static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7364 PyObject *resultobj;
7365 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7366 wxWindow *arg2 = (wxWindow *) 0 ;
7367 int arg3 ;
7368 wxString const &arg4_defvalue = wxPyEmptyString ;
7369 wxString *arg4 = (wxString *) &arg4_defvalue ;
7370 wxPoint const &arg5_defvalue = wxDefaultPosition ;
7371 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
7372 wxSize const &arg6_defvalue = wxDefaultSize ;
7373 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
7374 long arg7 = (long) 0 ;
7375 wxValidator const &arg8_defvalue = wxDefaultValidator ;
7376 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
7377 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
7378 wxString *arg9 = (wxString *) &arg9_defvalue ;
7379 bool result;
7380 bool temp4 = False ;
7381 wxPoint temp5 ;
7382 wxSize temp6 ;
7383 bool temp9 = False ;
7384 PyObject * obj0 = 0 ;
7385 PyObject * obj1 = 0 ;
7386 PyObject * obj2 = 0 ;
7387 PyObject * obj3 = 0 ;
7388 PyObject * obj4 = 0 ;
7389 PyObject * obj5 = 0 ;
7390 PyObject * obj6 = 0 ;
7391 PyObject * obj7 = 0 ;
7392 PyObject * obj8 = 0 ;
7393 char *kwnames[] = {
7394 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7395 };
7396
7397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOO:TextCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
7398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7399 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7400 {
7401 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 if (obj3) {
7405 {
7406 arg4 = wxString_in_helper(obj3);
7407 if (arg4 == NULL) SWIG_fail;
7408 temp4 = True;
7409 }
7410 }
7411 if (obj4) {
7412 {
7413 arg5 = &temp5;
7414 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
7415 }
7416 }
7417 if (obj5) {
7418 {
7419 arg6 = &temp6;
7420 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
7421 }
7422 }
7423 if (obj6) {
7424 {
7425 arg7 = (long) SWIG_PyObj_AsLong(obj6);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 }
7428 }
7429 if (obj7) {
7430 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7431 if (arg8 == NULL) {
7432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7433 }
7434 }
7435 if (obj8) {
7436 {
7437 arg9 = wxString_in_helper(obj8);
7438 if (arg9 == NULL) SWIG_fail;
7439 temp9 = True;
7440 }
7441 }
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7450 {
7451 if (temp4)
7452 delete arg4;
7453 }
7454 {
7455 if (temp9)
7456 delete arg9;
7457 }
7458 return resultobj;
7459 fail:
7460 {
7461 if (temp4)
7462 delete arg4;
7463 }
7464 {
7465 if (temp9)
7466 delete arg9;
7467 }
7468 return NULL;
7469}
7470
7471
7472static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject *resultobj;
7474 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7475 wxString result;
7476 PyObject * obj0 = 0 ;
7477 char *kwnames[] = {
7478 (char *) "self", NULL
7479 };
7480
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
7482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 result = ((wxTextCtrl const *)arg1)->GetValue();
7486
7487 wxPyEndAllowThreads(__tstate);
7488 if (PyErr_Occurred()) SWIG_fail;
7489 }
7490 {
7491#if wxUSE_UNICODE
7492 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7493#else
7494 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7495#endif
7496 }
7497 return resultobj;
7498 fail:
7499 return NULL;
7500}
7501
7502
7503static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj;
7505 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7506 wxString *arg2 = 0 ;
7507 bool temp2 = False ;
7508 PyObject * obj0 = 0 ;
7509 PyObject * obj1 = 0 ;
7510 char *kwnames[] = {
7511 (char *) "self",(char *) "value", NULL
7512 };
7513
7514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
7515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7516 {
7517 arg2 = wxString_in_helper(obj1);
7518 if (arg2 == NULL) SWIG_fail;
7519 temp2 = True;
7520 }
7521 {
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 (arg1)->SetValue((wxString const &)*arg2);
7524
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 Py_INCREF(Py_None); resultobj = Py_None;
7529 {
7530 if (temp2)
7531 delete arg2;
7532 }
7533 return resultobj;
7534 fail:
7535 {
7536 if (temp2)
7537 delete arg2;
7538 }
7539 return NULL;
7540}
7541
7542
7543static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
7544 PyObject *resultobj;
7545 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7546 long arg2 ;
7547 long arg3 ;
7548 wxString result;
7549 PyObject * obj0 = 0 ;
7550 PyObject * obj1 = 0 ;
7551 PyObject * obj2 = 0 ;
7552 char *kwnames[] = {
7553 (char *) "self",(char *) "from",(char *) "to", NULL
7554 };
7555
7556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
7557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7558 {
7559 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 {
7563 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7564 if (PyErr_Occurred()) SWIG_fail;
7565 }
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 {
7574#if wxUSE_UNICODE
7575 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7576#else
7577 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7578#endif
7579 }
7580 return resultobj;
7581 fail:
7582 return NULL;
7583}
7584
7585
7586static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7587 PyObject *resultobj;
7588 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7589 long arg2 ;
7590 int result;
7591 PyObject * obj0 = 0 ;
7592 PyObject * obj1 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "self",(char *) "lineNo", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineLength",kwnames,&obj0,&obj1)) goto fail;
7598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7599 {
7600 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 resultobj = SWIG_PyObj_FromInt((int)result);
7611 return resultobj;
7612 fail:
7613 return NULL;
7614}
7615
7616
7617static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
7618 PyObject *resultobj;
7619 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7620 long arg2 ;
7621 wxString result;
7622 PyObject * obj0 = 0 ;
7623 PyObject * obj1 = 0 ;
7624 char *kwnames[] = {
7625 (char *) "self",(char *) "lineNo", NULL
7626 };
7627
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_GetLineText",kwnames,&obj0,&obj1)) goto fail;
7629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7630 {
7631 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 {
7635 PyThreadState* __tstate = wxPyBeginAllowThreads();
7636 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
7637
7638 wxPyEndAllowThreads(__tstate);
7639 if (PyErr_Occurred()) SWIG_fail;
7640 }
7641 {
7642#if wxUSE_UNICODE
7643 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7644#else
7645 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7646#endif
7647 }
7648 return resultobj;
7649 fail:
7650 return NULL;
7651}
7652
7653
7654static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj;
7656 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7657 int result;
7658 PyObject * obj0 = 0 ;
7659 char *kwnames[] = {
7660 (char *) "self", NULL
7661 };
7662
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 resultobj = SWIG_PyObj_FromInt((int)result);
7673 return resultobj;
7674 fail:
7675 return NULL;
7676}
7677
7678
7679static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7680 PyObject *resultobj;
7681 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7682 bool result;
7683 PyObject * obj0 = 0 ;
7684 char *kwnames[] = {
7685 (char *) "self", NULL
7686 };
7687
7688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7693
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 }
7697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7698 return resultobj;
7699 fail:
7700 return NULL;
7701}
7702
7703
7704static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7705 PyObject *resultobj;
7706 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7707 bool result;
7708 PyObject * obj0 = 0 ;
7709 char *kwnames[] = {
7710 (char *) "self", NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7715 {
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7718
7719 wxPyEndAllowThreads(__tstate);
7720 if (PyErr_Occurred()) SWIG_fail;
7721 }
7722 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7723 return resultobj;
7724 fail:
7725 return NULL;
7726}
7727
7728
7729static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7730 PyObject *resultobj;
7731 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7732 bool result;
7733 PyObject * obj0 = 0 ;
7734 char *kwnames[] = {
7735 (char *) "self", NULL
7736 };
7737
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7743
7744 wxPyEndAllowThreads(__tstate);
7745 if (PyErr_Occurred()) SWIG_fail;
7746 }
7747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7748 return resultobj;
7749 fail:
7750 return NULL;
7751}
7752
7753
7754static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7755 PyObject *resultobj;
7756 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7757 bool result;
7758 PyObject * obj0 = 0 ;
7759 char *kwnames[] = {
7760 (char *) "self", NULL
7761 };
7762
7763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7765 {
7766 PyThreadState* __tstate = wxPyBeginAllowThreads();
7767 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7768
7769 wxPyEndAllowThreads(__tstate);
7770 if (PyErr_Occurred()) SWIG_fail;
7771 }
7772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7773 return resultobj;
7774 fail:
7775 return NULL;
7776}
7777
7778
7779static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7780 PyObject *resultobj;
7781 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7782 long *arg2 = (long *) 0 ;
7783 long *arg3 = (long *) 0 ;
7784 long temp2 ;
7785 long temp3 ;
7786 PyObject * obj0 = 0 ;
7787 char *kwnames[] = {
7788 (char *) "self", NULL
7789 };
7790
7791 arg2 = &temp2;
7792 arg3 = &temp3;
7793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7798
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 Py_INCREF(Py_None); resultobj = Py_None;
7803 {
7804 PyObject *o = PyInt_FromLong((long) (*arg2));
7805 resultobj = t_output_helper(resultobj,o);
7806 }
7807 {
7808 PyObject *o = PyInt_FromLong((long) (*arg3));
7809 resultobj = t_output_helper(resultobj,o);
7810 }
7811 return resultobj;
7812 fail:
7813 return NULL;
7814}
7815
7816
7817static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7818 PyObject *resultobj;
7819 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7820 wxString result;
7821 PyObject * obj0 = 0 ;
7822 char *kwnames[] = {
7823 (char *) "self", NULL
7824 };
7825
7826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7828 {
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7831
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 {
7836#if wxUSE_UNICODE
7837 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7838#else
7839 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7840#endif
7841 }
7842 return resultobj;
7843 fail:
7844 return NULL;
7845}
7846
7847
7848static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7849 PyObject *resultobj;
7850 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7851 PyObject * obj0 = 0 ;
7852 char *kwnames[] = {
7853 (char *) "self", NULL
7854 };
7855
7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7858 {
7859 PyThreadState* __tstate = wxPyBeginAllowThreads();
7860 (arg1)->Clear();
7861
7862 wxPyEndAllowThreads(__tstate);
7863 if (PyErr_Occurred()) SWIG_fail;
7864 }
7865 Py_INCREF(Py_None); resultobj = Py_None;
7866 return resultobj;
7867 fail:
7868 return NULL;
7869}
7870
7871
7872static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7873 PyObject *resultobj;
7874 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7875 long arg2 ;
7876 long arg3 ;
7877 wxString *arg4 = 0 ;
7878 bool temp4 = False ;
7879 PyObject * obj0 = 0 ;
7880 PyObject * obj1 = 0 ;
7881 PyObject * obj2 = 0 ;
7882 PyObject * obj3 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7889 {
7890 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7891 if (PyErr_Occurred()) SWIG_fail;
7892 }
7893 {
7894 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 {
7898 arg4 = wxString_in_helper(obj3);
7899 if (arg4 == NULL) SWIG_fail;
7900 temp4 = True;
7901 }
7902 {
7903 PyThreadState* __tstate = wxPyBeginAllowThreads();
7904 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7905
7906 wxPyEndAllowThreads(__tstate);
7907 if (PyErr_Occurred()) SWIG_fail;
7908 }
7909 Py_INCREF(Py_None); resultobj = Py_None;
7910 {
7911 if (temp4)
7912 delete arg4;
7913 }
7914 return resultobj;
7915 fail:
7916 {
7917 if (temp4)
7918 delete arg4;
7919 }
7920 return NULL;
7921}
7922
7923
7924static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7927 long arg2 ;
7928 long arg3 ;
7929 PyObject * obj0 = 0 ;
7930 PyObject * obj1 = 0 ;
7931 PyObject * obj2 = 0 ;
7932 char *kwnames[] = {
7933 (char *) "self",(char *) "from",(char *) "to", NULL
7934 };
7935
7936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_Remove",kwnames,&obj0,&obj1,&obj2)) goto fail;
7937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7938 {
7939 arg2 = (long) SWIG_PyObj_AsLong(obj1);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 {
7943 arg3 = (long) SWIG_PyObj_AsLong(obj2);
7944 if (PyErr_Occurred()) SWIG_fail;
7945 }
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 (arg1)->Remove(arg2,arg3);
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 Py_INCREF(Py_None); resultobj = Py_None;
7954 return resultobj;
7955 fail:
7956 return NULL;
7957}
7958
7959
7960static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7963 wxString *arg2 = 0 ;
7964 bool result;
7965 bool temp2 = False ;
7966 PyObject * obj0 = 0 ;
7967 PyObject * obj1 = 0 ;
7968 char *kwnames[] = {
7969 (char *) "self",(char *) "file", NULL
7970 };
7971
7972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7974 {
7975 arg2 = wxString_in_helper(obj1);
7976 if (arg2 == NULL) SWIG_fail;
7977 temp2 = True;
7978 }
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7982
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7987 {
7988 if (temp2)
7989 delete arg2;
7990 }
7991 return resultobj;
7992 fail:
7993 {
7994 if (temp2)
7995 delete arg2;
7996 }
7997 return NULL;
7998}
7999
8000
8001static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
8002 PyObject *resultobj;
8003 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8004 wxString const &arg2_defvalue = wxPyEmptyString ;
8005 wxString *arg2 = (wxString *) &arg2_defvalue ;
8006 bool result;
8007 bool temp2 = False ;
8008 PyObject * obj0 = 0 ;
8009 PyObject * obj1 = 0 ;
8010 char *kwnames[] = {
8011 (char *) "self",(char *) "file", NULL
8012 };
8013
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
8015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8016 if (obj1) {
8017 {
8018 arg2 = wxString_in_helper(obj1);
8019 if (arg2 == NULL) SWIG_fail;
8020 temp2 = True;
8021 }
8022 }
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
8026
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8031 {
8032 if (temp2)
8033 delete arg2;
8034 }
8035 return resultobj;
8036 fail:
8037 {
8038 if (temp2)
8039 delete arg2;
8040 }
8041 return NULL;
8042}
8043
8044
8045static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
8046 PyObject *resultobj;
8047 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8048 PyObject * obj0 = 0 ;
8049 char *kwnames[] = {
8050 (char *) "self", NULL
8051 };
8052
8053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
8054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 (arg1)->MarkDirty();
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 Py_INCREF(Py_None); resultobj = Py_None;
8063 return resultobj;
8064 fail:
8065 return NULL;
8066}
8067
8068
8069static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj;
8071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8072 PyObject * obj0 = 0 ;
8073 char *kwnames[] = {
8074 (char *) "self", NULL
8075 };
8076
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
8078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 (arg1)->DiscardEdits();
8082
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 Py_INCREF(Py_None); resultobj = Py_None;
8087 return resultobj;
8088 fail:
8089 return NULL;
8090}
8091
8092
8093static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
8094 PyObject *resultobj;
8095 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8096 unsigned long arg2 ;
8097 PyObject * obj0 = 0 ;
8098 PyObject * obj1 = 0 ;
8099 char *kwnames[] = {
8100 (char *) "self",(char *) "len", NULL
8101 };
8102
8103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
8104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8105 {
8106 arg2 = (unsigned long) SWIG_PyObj_AsUnsignedLong(obj1);
8107 if (PyErr_Occurred()) SWIG_fail;
8108 }
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 (arg1)->SetMaxLength(arg2);
8112
8113 wxPyEndAllowThreads(__tstate);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 }
8116 Py_INCREF(Py_None); resultobj = Py_None;
8117 return resultobj;
8118 fail:
8119 return NULL;
8120}
8121
8122
8123static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
8124 PyObject *resultobj;
8125 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8126 wxString *arg2 = 0 ;
8127 bool temp2 = False ;
8128 PyObject * obj0 = 0 ;
8129 PyObject * obj1 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self",(char *) "text", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
8135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8136 {
8137 arg2 = wxString_in_helper(obj1);
8138 if (arg2 == NULL) SWIG_fail;
8139 temp2 = True;
8140 }
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
8143 (arg1)->WriteText((wxString const &)*arg2);
8144
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
8148 Py_INCREF(Py_None); resultobj = Py_None;
8149 {
8150 if (temp2)
8151 delete arg2;
8152 }
8153 return resultobj;
8154 fail:
8155 {
8156 if (temp2)
8157 delete arg2;
8158 }
8159 return NULL;
8160}
8161
8162
8163static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
8164 PyObject *resultobj;
8165 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8166 wxString *arg2 = 0 ;
8167 bool temp2 = False ;
8168 PyObject * obj0 = 0 ;
8169 PyObject * obj1 = 0 ;
8170 char *kwnames[] = {
8171 (char *) "self",(char *) "text", NULL
8172 };
8173
8174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
8175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8176 {
8177 arg2 = wxString_in_helper(obj1);
8178 if (arg2 == NULL) SWIG_fail;
8179 temp2 = True;
8180 }
8181 {
8182 PyThreadState* __tstate = wxPyBeginAllowThreads();
8183 (arg1)->AppendText((wxString const &)*arg2);
8184
8185 wxPyEndAllowThreads(__tstate);
8186 if (PyErr_Occurred()) SWIG_fail;
8187 }
8188 Py_INCREF(Py_None); resultobj = Py_None;
8189 {
8190 if (temp2)
8191 delete arg2;
8192 }
8193 return resultobj;
8194 fail:
8195 {
8196 if (temp2)
8197 delete arg2;
8198 }
8199 return NULL;
8200}
8201
8202
8203static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj;
8205 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8206 wxKeyEvent *arg2 = 0 ;
8207 bool result;
8208 PyObject * obj0 = 0 ;
8209 PyObject * obj1 = 0 ;
8210 char *kwnames[] = {
8211 (char *) "self",(char *) "event", NULL
8212 };
8213
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
8215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8216 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8217 if (arg2 == NULL) {
8218 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8219 }
8220 {
8221 PyThreadState* __tstate = wxPyBeginAllowThreads();
8222 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
8223
8224 wxPyEndAllowThreads(__tstate);
8225 if (PyErr_Occurred()) SWIG_fail;
8226 }
8227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8228 return resultobj;
8229 fail:
8230 return NULL;
8231}
8232
8233
8234static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8235 PyObject *resultobj;
8236 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8237 long arg2 ;
8238 long arg3 ;
8239 wxTextAttr *arg4 = 0 ;
8240 bool result;
8241 PyObject * obj0 = 0 ;
8242 PyObject * obj1 = 0 ;
8243 PyObject * obj2 = 0 ;
8244 PyObject * obj3 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:TextCtrl_SetStyle",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8251 {
8252 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 {
8256 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8260 if (arg4 == NULL) {
8261 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8262 }
8263 {
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
8270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8271 return resultobj;
8272 fail:
8273 return NULL;
8274}
8275
8276
8277static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8280 long arg2 ;
8281 wxTextAttr *arg3 = 0 ;
8282 bool result;
8283 PyObject * obj0 = 0 ;
8284 PyObject * obj1 = 0 ;
8285 PyObject * obj2 = 0 ;
8286 char *kwnames[] = {
8287 (char *) "self",(char *) "position",(char *) "style", NULL
8288 };
8289
8290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
8291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8292 {
8293 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8297 if (arg3 == NULL) {
8298 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8299 }
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 result = (bool)(arg1)->GetStyle(arg2,*arg3);
8303
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
8307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8308 return resultobj;
8309 fail:
8310 return NULL;
8311}
8312
8313
8314static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8315 PyObject *resultobj;
8316 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8317 wxTextAttr *arg2 = 0 ;
8318 bool result;
8319 PyObject * obj0 = 0 ;
8320 PyObject * obj1 = 0 ;
8321 char *kwnames[] = {
8322 (char *) "self",(char *) "style", NULL
8323 };
8324
8325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
8326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8327 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8328 if (arg2 == NULL) {
8329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8330 }
8331 {
8332 PyThreadState* __tstate = wxPyBeginAllowThreads();
8333 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
8334
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8339 return resultobj;
8340 fail:
8341 return NULL;
8342}
8343
8344
8345static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
8346 PyObject *resultobj;
8347 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8348 wxTextAttr *result;
8349 PyObject * obj0 = 0 ;
8350 char *kwnames[] = {
8351 (char *) "self", NULL
8352 };
8353
8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
8355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 {
8359 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
8360 result = (wxTextAttr *) &_result_ref;
8361 }
8362
8363 wxPyEndAllowThreads(__tstate);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 }
8366 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
8367 return resultobj;
8368 fail:
8369 return NULL;
8370}
8371
8372
8373static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8374 PyObject *resultobj;
8375 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8376 long arg2 ;
8377 long arg3 ;
8378 long result;
8379 PyObject * obj0 = 0 ;
8380 PyObject * obj1 = 0 ;
8381 PyObject * obj2 = 0 ;
8382 char *kwnames[] = {
8383 (char *) "self",(char *) "x",(char *) "y", NULL
8384 };
8385
8386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_XYToPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
8387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8388 {
8389 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 {
8393 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 {
8397 PyThreadState* __tstate = wxPyBeginAllowThreads();
8398 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
8399
8400 wxPyEndAllowThreads(__tstate);
8401 if (PyErr_Occurred()) SWIG_fail;
8402 }
8403 resultobj = SWIG_PyObj_FromLong((long)result);
8404 return resultobj;
8405 fail:
8406 return NULL;
8407}
8408
8409
8410static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8411 PyObject *resultobj;
8412 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8413 long arg2 ;
8414 long *arg3 = (long *) 0 ;
8415 long *arg4 = (long *) 0 ;
8416 long temp3 ;
8417 long temp4 ;
8418 PyObject * obj0 = 0 ;
8419 PyObject * obj1 = 0 ;
8420 char *kwnames[] = {
8421 (char *) "self",(char *) "pos", NULL
8422 };
8423
8424 arg3 = &temp3;
8425 arg4 = &temp4;
8426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_PositionToXY",kwnames,&obj0,&obj1)) goto fail;
8427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8428 {
8429 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8430 if (PyErr_Occurred()) SWIG_fail;
8431 }
8432 {
8433 PyThreadState* __tstate = wxPyBeginAllowThreads();
8434 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
8435
8436 wxPyEndAllowThreads(__tstate);
8437 if (PyErr_Occurred()) SWIG_fail;
8438 }
8439 Py_INCREF(Py_None); resultobj = Py_None;
8440 {
8441 PyObject *o = PyInt_FromLong((long) (*arg3));
8442 resultobj = t_output_helper(resultobj,o);
8443 }
8444 {
8445 PyObject *o = PyInt_FromLong((long) (*arg4));
8446 resultobj = t_output_helper(resultobj,o);
8447 }
8448 return resultobj;
8449 fail:
8450 return NULL;
8451}
8452
8453
8454static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8455 PyObject *resultobj;
8456 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8457 long arg2 ;
8458 PyObject * obj0 = 0 ;
8459 PyObject * obj1 = 0 ;
8460 char *kwnames[] = {
8461 (char *) "self",(char *) "pos", NULL
8462 };
8463
8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_ShowPosition",kwnames,&obj0,&obj1)) goto fail;
8465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8466 {
8467 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8468 if (PyErr_Occurred()) SWIG_fail;
8469 }
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 (arg1)->ShowPosition(arg2);
8473
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 Py_INCREF(Py_None); resultobj = Py_None;
8478 return resultobj;
8479 fail:
8480 return NULL;
8481}
8482
8483
8484static PyObject *_wrap_TextCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj;
8486 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8487 wxPoint *arg2 = 0 ;
8488 long *arg3 = (long *) 0 ;
8489 long *arg4 = (long *) 0 ;
8490 int result;
8491 wxPoint temp2 ;
8492 long temp3 ;
8493 long temp4 ;
8494 PyObject * obj0 = 0 ;
8495 PyObject * obj1 = 0 ;
8496 char *kwnames[] = {
8497 (char *) "self",(char *) "pt", NULL
8498 };
8499
8500 arg3 = &temp3;
8501 arg4 = &temp4;
8502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
8503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8504 {
8505 arg2 = &temp2;
8506 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8507 }
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = (int)((wxTextCtrl const *)arg1)->HitTest((wxPoint const &)*arg2,arg3,arg4);
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 resultobj = SWIG_PyObj_FromInt((int)result);
8516 {
8517 PyObject *o = PyInt_FromLong((long) (*arg3));
8518 resultobj = t_output_helper(resultobj,o);
8519 }
8520 {
8521 PyObject *o = PyInt_FromLong((long) (*arg4));
8522 resultobj = t_output_helper(resultobj,o);
8523 }
8524 return resultobj;
8525 fail:
8526 return NULL;
8527}
8528
8529
8530static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
8531 PyObject *resultobj;
8532 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8533 PyObject * obj0 = 0 ;
8534 char *kwnames[] = {
8535 (char *) "self", NULL
8536 };
8537
8538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
8539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8540 {
8541 PyThreadState* __tstate = wxPyBeginAllowThreads();
8542 (arg1)->Copy();
8543
8544 wxPyEndAllowThreads(__tstate);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 Py_INCREF(Py_None); resultobj = Py_None;
8548 return resultobj;
8549 fail:
8550 return NULL;
8551}
8552
8553
8554static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
8555 PyObject *resultobj;
8556 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8557 PyObject * obj0 = 0 ;
8558 char *kwnames[] = {
8559 (char *) "self", NULL
8560 };
8561
8562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
8563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8564 {
8565 PyThreadState* __tstate = wxPyBeginAllowThreads();
8566 (arg1)->Cut();
8567
8568 wxPyEndAllowThreads(__tstate);
8569 if (PyErr_Occurred()) SWIG_fail;
8570 }
8571 Py_INCREF(Py_None); resultobj = Py_None;
8572 return resultobj;
8573 fail:
8574 return NULL;
8575}
8576
8577
8578static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
8579 PyObject *resultobj;
8580 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8581 PyObject * obj0 = 0 ;
8582 char *kwnames[] = {
8583 (char *) "self", NULL
8584 };
8585
8586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
8587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8588 {
8589 PyThreadState* __tstate = wxPyBeginAllowThreads();
8590 (arg1)->Paste();
8591
8592 wxPyEndAllowThreads(__tstate);
8593 if (PyErr_Occurred()) SWIG_fail;
8594 }
8595 Py_INCREF(Py_None); resultobj = Py_None;
8596 return resultobj;
8597 fail:
8598 return NULL;
8599}
8600
8601
8602static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
8603 PyObject *resultobj;
8604 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8605 bool result;
8606 PyObject * obj0 = 0 ;
8607 char *kwnames[] = {
8608 (char *) "self", NULL
8609 };
8610
8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
8612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8613 {
8614 PyThreadState* __tstate = wxPyBeginAllowThreads();
8615 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
8616
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8621 return resultobj;
8622 fail:
8623 return NULL;
8624}
8625
8626
8627static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
8628 PyObject *resultobj;
8629 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8630 bool result;
8631 PyObject * obj0 = 0 ;
8632 char *kwnames[] = {
8633 (char *) "self", NULL
8634 };
8635
8636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
8637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
8641
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8646 return resultobj;
8647 fail:
8648 return NULL;
8649}
8650
8651
8652static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
8653 PyObject *resultobj;
8654 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8655 bool result;
8656 PyObject * obj0 = 0 ;
8657 char *kwnames[] = {
8658 (char *) "self", NULL
8659 };
8660
8661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
8662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
8666
8667 wxPyEndAllowThreads(__tstate);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8671 return resultobj;
8672 fail:
8673 return NULL;
8674}
8675
8676
8677static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj;
8679 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8680 PyObject * obj0 = 0 ;
8681 char *kwnames[] = {
8682 (char *) "self", NULL
8683 };
8684
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
8686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 (arg1)->Undo();
8690
8691 wxPyEndAllowThreads(__tstate);
8692 if (PyErr_Occurred()) SWIG_fail;
8693 }
8694 Py_INCREF(Py_None); resultobj = Py_None;
8695 return resultobj;
8696 fail:
8697 return NULL;
8698}
8699
8700
8701static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
8702 PyObject *resultobj;
8703 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8704 PyObject * obj0 = 0 ;
8705 char *kwnames[] = {
8706 (char *) "self", NULL
8707 };
8708
8709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
8710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8711 {
8712 PyThreadState* __tstate = wxPyBeginAllowThreads();
8713 (arg1)->Redo();
8714
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 Py_INCREF(Py_None); resultobj = Py_None;
8719 return resultobj;
8720 fail:
8721 return NULL;
8722}
8723
8724
8725static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj;
8727 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8728 bool result;
8729 PyObject * obj0 = 0 ;
8730 char *kwnames[] = {
8731 (char *) "self", NULL
8732 };
8733
8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
8735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8744 return resultobj;
8745 fail:
8746 return NULL;
8747}
8748
8749
8750static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
8751 PyObject *resultobj;
8752 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8753 bool result;
8754 PyObject * obj0 = 0 ;
8755 char *kwnames[] = {
8756 (char *) "self", NULL
8757 };
8758
8759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
8760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8761 {
8762 PyThreadState* __tstate = wxPyBeginAllowThreads();
8763 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8764
8765 wxPyEndAllowThreads(__tstate);
8766 if (PyErr_Occurred()) SWIG_fail;
8767 }
8768 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8769 return resultobj;
8770 fail:
8771 return NULL;
8772}
8773
8774
8775static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8776 PyObject *resultobj;
8777 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8778 long arg2 ;
8779 PyObject * obj0 = 0 ;
8780 PyObject * obj1 = 0 ;
8781 char *kwnames[] = {
8782 (char *) "self",(char *) "pos", NULL
8783 };
8784
8785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames,&obj0,&obj1)) goto fail;
8786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8787 {
8788 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 (arg1)->SetInsertionPoint(arg2);
8794
8795 wxPyEndAllowThreads(__tstate);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 Py_INCREF(Py_None); resultobj = Py_None;
8799 return resultobj;
8800 fail:
8801 return NULL;
8802}
8803
8804
8805static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8806 PyObject *resultobj;
8807 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8808 PyObject * obj0 = 0 ;
8809 char *kwnames[] = {
8810 (char *) "self", NULL
8811 };
8812
8813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
8814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 (arg1)->SetInsertionPointEnd();
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 Py_INCREF(Py_None); resultobj = Py_None;
8823 return resultobj;
8824 fail:
8825 return NULL;
8826}
8827
8828
8829static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8832 long result;
8833 PyObject * obj0 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self", NULL
8836 };
8837
8838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
8839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8840 {
8841 PyThreadState* __tstate = wxPyBeginAllowThreads();
8842 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8843
8844 wxPyEndAllowThreads(__tstate);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 }
8847 resultobj = SWIG_PyObj_FromLong((long)result);
8848 return resultobj;
8849 fail:
8850 return NULL;
8851}
8852
8853
8854static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8855 PyObject *resultobj;
8856 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8857 long result;
8858 PyObject * obj0 = 0 ;
8859 char *kwnames[] = {
8860 (char *) "self", NULL
8861 };
8862
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8865 {
8866 PyThreadState* __tstate = wxPyBeginAllowThreads();
8867 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8868
8869 wxPyEndAllowThreads(__tstate);
8870 if (PyErr_Occurred()) SWIG_fail;
8871 }
8872 resultobj = SWIG_PyObj_FromLong((long)result);
8873 return resultobj;
8874 fail:
8875 return NULL;
8876}
8877
8878
8879static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8880 PyObject *resultobj;
8881 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8882 long arg2 ;
8883 long arg3 ;
8884 PyObject * obj0 = 0 ;
8885 PyObject * obj1 = 0 ;
8886 PyObject * obj2 = 0 ;
8887 char *kwnames[] = {
8888 (char *) "self",(char *) "from",(char *) "to", NULL
8889 };
8890
8891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
8892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8893 {
8894 arg2 = (long) SWIG_PyObj_AsLong(obj1);
8895 if (PyErr_Occurred()) SWIG_fail;
8896 }
8897 {
8898 arg3 = (long) SWIG_PyObj_AsLong(obj2);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 (arg1)->SetSelection(arg2,arg3);
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 Py_INCREF(Py_None); resultobj = Py_None;
8909 return resultobj;
8910 fail:
8911 return NULL;
8912}
8913
8914
8915static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj;
8917 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8918 PyObject * obj0 = 0 ;
8919 char *kwnames[] = {
8920 (char *) "self", NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 (arg1)->SelectAll();
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 Py_INCREF(Py_None); resultobj = Py_None;
8933 return resultobj;
8934 fail:
8935 return NULL;
8936}
8937
8938
8939static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8942 bool arg2 ;
8943 PyObject * obj0 = 0 ;
8944 PyObject * obj1 = 0 ;
8945 char *kwnames[] = {
8946 (char *) "self",(char *) "editable", NULL
8947 };
8948
8949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
8950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8951 {
8952 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8953 if (PyErr_Occurred()) SWIG_fail;
8954 }
8955 {
8956 PyThreadState* __tstate = wxPyBeginAllowThreads();
8957 (arg1)->SetEditable(arg2);
8958
8959 wxPyEndAllowThreads(__tstate);
8960 if (PyErr_Occurred()) SWIG_fail;
8961 }
8962 Py_INCREF(Py_None); resultobj = Py_None;
8963 return resultobj;
8964 fail:
8965 return NULL;
8966}
8967
8968
8969static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8970 PyObject *resultobj;
8971 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8972 bool arg2 = (bool) True ;
8973 bool result;
8974 PyObject * obj0 = 0 ;
8975 PyObject * obj1 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "self",(char *) "show", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
8981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8982 if (obj1) {
8983 {
8984 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 }
8988 {
8989 PyThreadState* __tstate = wxPyBeginAllowThreads();
8990 result = (bool)(arg1)->ShowNativeCaret(arg2);
8991
8992 wxPyEndAllowThreads(__tstate);
8993 if (PyErr_Occurred()) SWIG_fail;
8994 }
8995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8996 return resultobj;
8997 fail:
8998 return NULL;
8999}
9000
9001
9002static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
9003 PyObject *resultobj;
9004 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9005 bool result;
9006 PyObject * obj0 = 0 ;
9007 char *kwnames[] = {
9008 (char *) "self", NULL
9009 };
9010
9011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
9012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9013 {
9014 PyThreadState* __tstate = wxPyBeginAllowThreads();
9015 result = (bool)(arg1)->HideNativeCaret();
9016
9017 wxPyEndAllowThreads(__tstate);
9018 if (PyErr_Occurred()) SWIG_fail;
9019 }
9020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9021 return resultobj;
9022 fail:
9023 return NULL;
9024}
9025
9026
9027static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
9028 PyObject *resultobj;
9029 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9030 wxString *arg2 = 0 ;
9031 bool temp2 = False ;
9032 PyObject * obj0 = 0 ;
9033 PyObject * obj1 = 0 ;
9034 char *kwnames[] = {
9035 (char *) "self",(char *) "text", NULL
9036 };
9037
9038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
9039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9040 {
9041 arg2 = wxString_in_helper(obj1);
9042 if (arg2 == NULL) SWIG_fail;
9043 temp2 = True;
9044 }
9045 {
9046 PyThreadState* __tstate = wxPyBeginAllowThreads();
9047 wxTextCtrl_write(arg1,(wxString const &)*arg2);
9048
9049 wxPyEndAllowThreads(__tstate);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
9052 Py_INCREF(Py_None); resultobj = Py_None;
9053 {
9054 if (temp2)
9055 delete arg2;
9056 }
9057 return resultobj;
9058 fail:
9059 {
9060 if (temp2)
9061 delete arg2;
9062 }
9063 return NULL;
9064}
9065
9066
9067static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9068 PyObject *resultobj;
9069 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
9070 long arg2 ;
9071 long arg3 ;
9072 wxString result;
9073 PyObject * obj0 = 0 ;
9074 PyObject * obj1 = 0 ;
9075 PyObject * obj2 = 0 ;
9076 char *kwnames[] = {
9077 (char *) "self",(char *) "from",(char *) "to", NULL
9078 };
9079
9080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextCtrl_GetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
9081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9082 {
9083 arg2 = (long) SWIG_PyObj_AsLong(obj1);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
9086 {
9087 arg3 = (long) SWIG_PyObj_AsLong(obj2);
9088 if (PyErr_Occurred()) SWIG_fail;
9089 }
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 result = wxTextCtrl_GetString(arg1,arg2,arg3);
9093
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 {
9098#if wxUSE_UNICODE
9099 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9100#else
9101 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9102#endif
9103 }
9104 return resultobj;
9105 fail:
9106 return NULL;
9107}
9108
9109
9110static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
9111 PyObject *obj;
9112 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9113 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
9114 Py_INCREF(obj);
9115 return Py_BuildValue((char *)"");
9116}
9117static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9118 PyObject *resultobj;
9119 int arg1 ;
9120 wxMouseEvent *arg2 = 0 ;
9121 long arg3 ;
9122 long arg4 ;
9123 wxTextUrlEvent *result;
9124 PyObject * obj0 = 0 ;
9125 PyObject * obj1 = 0 ;
9126 PyObject * obj2 = 0 ;
9127 PyObject * obj3 = 0 ;
9128 char *kwnames[] = {
9129 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
9130 };
9131
9132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:new_TextUrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
9133 {
9134 arg1 = (int) SWIG_PyObj_AsInt(obj0);
9135 if (PyErr_Occurred()) SWIG_fail;
9136 }
9137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9138 if (arg2 == NULL) {
9139 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9140 }
9141 {
9142 arg3 = (long) SWIG_PyObj_AsLong(obj2);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 {
9146 arg4 = (long) SWIG_PyObj_AsLong(obj3);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
9152
9153 wxPyEndAllowThreads(__tstate);
9154 if (PyErr_Occurred()) SWIG_fail;
9155 }
9156 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
9157 return resultobj;
9158 fail:
9159 return NULL;
9160}
9161
9162
9163static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9164 PyObject *resultobj;
9165 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9166 wxMouseEvent *result;
9167 PyObject * obj0 = 0 ;
9168 char *kwnames[] = {
9169 (char *) "self", NULL
9170 };
9171
9172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
9173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 {
9177 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
9178 result = (wxMouseEvent *) &_result_ref;
9179 }
9180
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
9185 return resultobj;
9186 fail:
9187 return NULL;
9188}
9189
9190
9191static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject *resultobj;
9193 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9194 long result;
9195 PyObject * obj0 = 0 ;
9196 char *kwnames[] = {
9197 (char *) "self", NULL
9198 };
9199
9200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
9201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9202 {
9203 PyThreadState* __tstate = wxPyBeginAllowThreads();
9204 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
9205
9206 wxPyEndAllowThreads(__tstate);
9207 if (PyErr_Occurred()) SWIG_fail;
9208 }
9209 resultobj = SWIG_PyObj_FromLong((long)result);
9210 return resultobj;
9211 fail:
9212 return NULL;
9213}
9214
9215
9216static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
9217 PyObject *resultobj;
9218 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
9219 long result;
9220 PyObject * obj0 = 0 ;
9221 char *kwnames[] = {
9222 (char *) "self", NULL
9223 };
9224
9225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
9226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9227 {
9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
9229 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
9230
9231 wxPyEndAllowThreads(__tstate);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 }
9234 resultobj = SWIG_PyObj_FromLong((long)result);
9235 return resultobj;
9236 fail:
9237 return NULL;
9238}
9239
9240
9241static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
9242 PyObject *obj;
9243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9244 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
9245 Py_INCREF(obj);
9246 return Py_BuildValue((char *)"");
9247}
9248static int _wrap_ScrollBarNameStr_set(PyObject *) {
9249 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
9250 return 1;
9251}
9252
9253
9254static PyObject *_wrap_ScrollBarNameStr_get() {
9255 PyObject *pyobj;
9256
9257 {
9258#if wxUSE_UNICODE
9259 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9260#else
9261 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
9262#endif
9263 }
9264 return pyobj;
9265}
9266
9267
9268static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9269 PyObject *resultobj;
9270 wxWindow *arg1 = (wxWindow *) 0 ;
9271 int arg2 = (int) -1 ;
9272 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9273 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9274 wxSize const &arg4_defvalue = wxDefaultSize ;
9275 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9276 long arg5 = (long) wxSB_HORIZONTAL ;
9277 wxValidator const &arg6_defvalue = wxDefaultValidator ;
9278 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
9279 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
9280 wxString *arg7 = (wxString *) &arg7_defvalue ;
9281 wxScrollBar *result;
9282 wxPoint temp3 ;
9283 wxSize temp4 ;
9284 bool temp7 = False ;
9285 PyObject * obj0 = 0 ;
9286 PyObject * obj1 = 0 ;
9287 PyObject * obj2 = 0 ;
9288 PyObject * obj3 = 0 ;
9289 PyObject * obj4 = 0 ;
9290 PyObject * obj5 = 0 ;
9291 PyObject * obj6 = 0 ;
9292 char *kwnames[] = {
9293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9294 };
9295
9296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ScrollBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9298 if (obj1) {
9299 {
9300 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 }
9304 if (obj2) {
9305 {
9306 arg3 = &temp3;
9307 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9308 }
9309 }
9310 if (obj3) {
9311 {
9312 arg4 = &temp4;
9313 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9314 }
9315 }
9316 if (obj4) {
9317 {
9318 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 }
9322 if (obj5) {
9323 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9324 if (arg6 == NULL) {
9325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9326 }
9327 }
9328 if (obj6) {
9329 {
9330 arg7 = wxString_in_helper(obj6);
9331 if (arg7 == NULL) SWIG_fail;
9332 temp7 = True;
9333 }
9334 }
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9343 {
9344 if (temp7)
9345 delete arg7;
9346 }
9347 return resultobj;
9348 fail:
9349 {
9350 if (temp7)
9351 delete arg7;
9352 }
9353 return NULL;
9354}
9355
9356
9357static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
9358 PyObject *resultobj;
9359 wxScrollBar *result;
9360 char *kwnames[] = {
9361 NULL
9362 };
9363
9364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 result = (wxScrollBar *)new wxScrollBar();
9368
9369 wxPyEndAllowThreads(__tstate);
9370 if (PyErr_Occurred()) SWIG_fail;
9371 }
9372 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
9373 return resultobj;
9374 fail:
9375 return NULL;
9376}
9377
9378
9379static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9380 PyObject *resultobj;
9381 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9382 wxWindow *arg2 = (wxWindow *) 0 ;
9383 int arg3 = (int) -1 ;
9384 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9385 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9386 wxSize const &arg5_defvalue = wxDefaultSize ;
9387 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9388 long arg6 = (long) wxSB_HORIZONTAL ;
9389 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9390 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9391 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
9392 wxString *arg8 = (wxString *) &arg8_defvalue ;
9393 bool result;
9394 wxPoint temp4 ;
9395 wxSize temp5 ;
9396 bool temp8 = False ;
9397 PyObject * obj0 = 0 ;
9398 PyObject * obj1 = 0 ;
9399 PyObject * obj2 = 0 ;
9400 PyObject * obj3 = 0 ;
9401 PyObject * obj4 = 0 ;
9402 PyObject * obj5 = 0 ;
9403 PyObject * obj6 = 0 ;
9404 PyObject * obj7 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
9410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9412 if (obj2) {
9413 {
9414 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9415 if (PyErr_Occurred()) SWIG_fail;
9416 }
9417 }
9418 if (obj3) {
9419 {
9420 arg4 = &temp4;
9421 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9422 }
9423 }
9424 if (obj4) {
9425 {
9426 arg5 = &temp5;
9427 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9428 }
9429 }
9430 if (obj5) {
9431 {
9432 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 }
9436 if (obj6) {
9437 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9438 if (arg7 == NULL) {
9439 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9440 }
9441 }
9442 if (obj7) {
9443 {
9444 arg8 = wxString_in_helper(obj7);
9445 if (arg8 == NULL) SWIG_fail;
9446 temp8 = True;
9447 }
9448 }
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9452
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9457 {
9458 if (temp8)
9459 delete arg8;
9460 }
9461 return resultobj;
9462 fail:
9463 {
9464 if (temp8)
9465 delete arg8;
9466 }
9467 return NULL;
9468}
9469
9470
9471static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9472 PyObject *resultobj;
9473 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9474 int result;
9475 PyObject * obj0 = 0 ;
9476 char *kwnames[] = {
9477 (char *) "self", NULL
9478 };
9479
9480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
9481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
9484 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
9485
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 resultobj = SWIG_PyObj_FromInt((int)result);
9490 return resultobj;
9491 fail:
9492 return NULL;
9493}
9494
9495
9496static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj;
9498 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9499 int result;
9500 PyObject * obj0 = 0 ;
9501 char *kwnames[] = {
9502 (char *) "self", NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
9506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9507 {
9508 PyThreadState* __tstate = wxPyBeginAllowThreads();
9509 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
9510
9511 wxPyEndAllowThreads(__tstate);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
9514 resultobj = SWIG_PyObj_FromInt((int)result);
9515 return resultobj;
9516 fail:
9517 return NULL;
9518}
9519
9520
9521static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9522 PyObject *resultobj;
9523 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9524 int result;
9525 PyObject * obj0 = 0 ;
9526 char *kwnames[] = {
9527 (char *) "self", NULL
9528 };
9529
9530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
9531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9532 {
9533 PyThreadState* __tstate = wxPyBeginAllowThreads();
9534 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
9535
9536 wxPyEndAllowThreads(__tstate);
9537 if (PyErr_Occurred()) SWIG_fail;
9538 }
9539 resultobj = SWIG_PyObj_FromInt((int)result);
9540 return resultobj;
9541 fail:
9542 return NULL;
9543}
9544
9545
9546static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9547 PyObject *resultobj;
9548 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9549 int result;
9550 PyObject * obj0 = 0 ;
9551 char *kwnames[] = {
9552 (char *) "self", NULL
9553 };
9554
9555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
9556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9557 {
9558 PyThreadState* __tstate = wxPyBeginAllowThreads();
9559 result = (int)((wxScrollBar const *)arg1)->GetRange();
9560
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 resultobj = SWIG_PyObj_FromInt((int)result);
9565 return resultobj;
9566 fail:
9567 return NULL;
9568}
9569
9570
9571static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9572 PyObject *resultobj;
9573 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9574 bool result;
9575 PyObject * obj0 = 0 ;
9576 char *kwnames[] = {
9577 (char *) "self", NULL
9578 };
9579
9580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
9581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9582 {
9583 PyThreadState* __tstate = wxPyBeginAllowThreads();
9584 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
9585
9586 wxPyEndAllowThreads(__tstate);
9587 if (PyErr_Occurred()) SWIG_fail;
9588 }
9589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9590 return resultobj;
9591 fail:
9592 return NULL;
9593}
9594
9595
9596static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9597 PyObject *resultobj;
9598 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9599 int arg2 ;
9600 PyObject * obj0 = 0 ;
9601 PyObject * obj1 = 0 ;
9602 char *kwnames[] = {
9603 (char *) "self",(char *) "viewStart", NULL
9604 };
9605
9606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollBar_SetThumbPosition",kwnames,&obj0,&obj1)) goto fail;
9607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9608 {
9609 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9610 if (PyErr_Occurred()) SWIG_fail;
9611 }
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 (arg1)->SetThumbPosition(arg2);
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 Py_INCREF(Py_None); resultobj = Py_None;
9620 return resultobj;
9621 fail:
9622 return NULL;
9623}
9624
9625
9626static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
9627 PyObject *resultobj;
9628 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
9629 int arg2 ;
9630 int arg3 ;
9631 int arg4 ;
9632 int arg5 ;
9633 bool arg6 = (bool) True ;
9634 PyObject * obj0 = 0 ;
9635 PyObject * obj1 = 0 ;
9636 PyObject * obj2 = 0 ;
9637 PyObject * obj3 = 0 ;
9638 PyObject * obj4 = 0 ;
9639 PyObject * obj5 = 0 ;
9640 char *kwnames[] = {
9641 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
9642 };
9643
9644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9646 {
9647 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9648 if (PyErr_Occurred()) SWIG_fail;
9649 }
9650 {
9651 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 {
9655 arg4 = (int) SWIG_PyObj_AsInt(obj3);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 {
9659 arg5 = (int) SWIG_PyObj_AsInt(obj4);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
9662 if (obj5) {
9663 {
9664 arg6 = (bool) SWIG_PyObj_AsBool(obj5);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 }
9667 }
9668 {
9669 PyThreadState* __tstate = wxPyBeginAllowThreads();
9670 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
9671
9672 wxPyEndAllowThreads(__tstate);
9673 if (PyErr_Occurred()) SWIG_fail;
9674 }
9675 Py_INCREF(Py_None); resultobj = Py_None;
9676 return resultobj;
9677 fail:
9678 return NULL;
9679}
9680
9681
9682static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
9683 PyObject *obj;
9684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9685 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
9686 Py_INCREF(obj);
9687 return Py_BuildValue((char *)"");
9688}
9689static int _wrap_SPIN_BUTTON_NAME_set(PyObject *) {
9690 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
9691 return 1;
9692}
9693
9694
9695static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
9696 PyObject *pyobj;
9697
9698 {
9699#if wxUSE_UNICODE
9700 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9701#else
9702 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
9703#endif
9704 }
9705 return pyobj;
9706}
9707
9708
9709static int _wrap_SpinCtrlNameStr_set(PyObject *) {
9710 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
9711 return 1;
9712}
9713
9714
9715static PyObject *_wrap_SpinCtrlNameStr_get() {
9716 PyObject *pyobj;
9717
9718 {
9719#if wxUSE_UNICODE
9720 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9721#else
9722 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
9723#endif
9724 }
9725 return pyobj;
9726}
9727
9728
9729static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9730 PyObject *resultobj;
9731 wxWindow *arg1 = (wxWindow *) 0 ;
9732 int arg2 = (int) -1 ;
9733 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9734 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9735 wxSize const &arg4_defvalue = wxDefaultSize ;
9736 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9737 long arg5 = (long) wxSP_HORIZONTAL ;
9738 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
9739 wxString *arg6 = (wxString *) &arg6_defvalue ;
9740 wxSpinButton *result;
9741 wxPoint temp3 ;
9742 wxSize temp4 ;
9743 bool temp6 = False ;
9744 PyObject * obj0 = 0 ;
9745 PyObject * obj1 = 0 ;
9746 PyObject * obj2 = 0 ;
9747 PyObject * obj3 = 0 ;
9748 PyObject * obj4 = 0 ;
9749 PyObject * obj5 = 0 ;
9750 char *kwnames[] = {
9751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9752 };
9753
9754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_SpinButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9756 if (obj1) {
9757 {
9758 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9759 if (PyErr_Occurred()) SWIG_fail;
9760 }
9761 }
9762 if (obj2) {
9763 {
9764 arg3 = &temp3;
9765 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9766 }
9767 }
9768 if (obj3) {
9769 {
9770 arg4 = &temp4;
9771 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9772 }
9773 }
9774 if (obj4) {
9775 {
9776 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9777 if (PyErr_Occurred()) SWIG_fail;
9778 }
9779 }
9780 if (obj5) {
9781 {
9782 arg6 = wxString_in_helper(obj5);
9783 if (arg6 == NULL) SWIG_fail;
9784 temp6 = True;
9785 }
9786 }
9787 {
9788 PyThreadState* __tstate = wxPyBeginAllowThreads();
9789 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9790
9791 wxPyEndAllowThreads(__tstate);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 }
9794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9795 {
9796 if (temp6)
9797 delete arg6;
9798 }
9799 return resultobj;
9800 fail:
9801 {
9802 if (temp6)
9803 delete arg6;
9804 }
9805 return NULL;
9806}
9807
9808
9809static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9810 PyObject *resultobj;
9811 wxSpinButton *result;
9812 char *kwnames[] = {
9813 NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 result = (wxSpinButton *)new wxSpinButton();
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
9825 return resultobj;
9826 fail:
9827 return NULL;
9828}
9829
9830
9831static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9832 PyObject *resultobj;
9833 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9834 wxWindow *arg2 = (wxWindow *) 0 ;
9835 int arg3 = (int) -1 ;
9836 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9837 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9838 wxSize const &arg5_defvalue = wxDefaultSize ;
9839 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9840 long arg6 = (long) wxSP_HORIZONTAL ;
9841 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
9842 wxString *arg7 = (wxString *) &arg7_defvalue ;
9843 bool result;
9844 wxPoint temp4 ;
9845 wxSize temp5 ;
9846 bool temp7 = False ;
9847 PyObject * obj0 = 0 ;
9848 PyObject * obj1 = 0 ;
9849 PyObject * obj2 = 0 ;
9850 PyObject * obj3 = 0 ;
9851 PyObject * obj4 = 0 ;
9852 PyObject * obj5 = 0 ;
9853 PyObject * obj6 = 0 ;
9854 char *kwnames[] = {
9855 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9856 };
9857
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:SpinButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9860 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9861 if (obj2) {
9862 {
9863 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 }
9867 if (obj3) {
9868 {
9869 arg4 = &temp4;
9870 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9871 }
9872 }
9873 if (obj4) {
9874 {
9875 arg5 = &temp5;
9876 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9877 }
9878 }
9879 if (obj5) {
9880 {
9881 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9882 if (PyErr_Occurred()) SWIG_fail;
9883 }
9884 }
9885 if (obj6) {
9886 {
9887 arg7 = wxString_in_helper(obj6);
9888 if (arg7 == NULL) SWIG_fail;
9889 temp7 = True;
9890 }
9891 }
9892 {
9893 PyThreadState* __tstate = wxPyBeginAllowThreads();
9894 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9895
9896 wxPyEndAllowThreads(__tstate);
9897 if (PyErr_Occurred()) SWIG_fail;
9898 }
9899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9900 {
9901 if (temp7)
9902 delete arg7;
9903 }
9904 return resultobj;
9905 fail:
9906 {
9907 if (temp7)
9908 delete arg7;
9909 }
9910 return NULL;
9911}
9912
9913
9914static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9915 PyObject *resultobj;
9916 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9917 int result;
9918 PyObject * obj0 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
9924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9925 {
9926 PyThreadState* __tstate = wxPyBeginAllowThreads();
9927 result = (int)((wxSpinButton const *)arg1)->GetValue();
9928
9929 wxPyEndAllowThreads(__tstate);
9930 if (PyErr_Occurred()) SWIG_fail;
9931 }
9932 resultobj = SWIG_PyObj_FromInt((int)result);
9933 return resultobj;
9934 fail:
9935 return NULL;
9936}
9937
9938
9939static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9940 PyObject *resultobj;
9941 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9942 int result;
9943 PyObject * obj0 = 0 ;
9944 char *kwnames[] = {
9945 (char *) "self", NULL
9946 };
9947
9948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
9949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 result = (int)((wxSpinButton const *)arg1)->GetMin();
9953
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 resultobj = SWIG_PyObj_FromInt((int)result);
9958 return resultobj;
9959 fail:
9960 return NULL;
9961}
9962
9963
9964static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9965 PyObject *resultobj;
9966 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9967 int result;
9968 PyObject * obj0 = 0 ;
9969 char *kwnames[] = {
9970 (char *) "self", NULL
9971 };
9972
9973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
9974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9975 {
9976 PyThreadState* __tstate = wxPyBeginAllowThreads();
9977 result = (int)((wxSpinButton const *)arg1)->GetMax();
9978
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 resultobj = SWIG_PyObj_FromInt((int)result);
9983 return resultobj;
9984 fail:
9985 return NULL;
9986}
9987
9988
9989static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj;
9991 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9992 int arg2 ;
9993 PyObject * obj0 = 0 ;
9994 PyObject * obj1 = 0 ;
9995 char *kwnames[] = {
9996 (char *) "self",(char *) "val", NULL
9997 };
9998
9999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10001 {
10002 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10003 if (PyErr_Occurred()) SWIG_fail;
10004 }
10005 {
10006 PyThreadState* __tstate = wxPyBeginAllowThreads();
10007 (arg1)->SetValue(arg2);
10008
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 Py_INCREF(Py_None); resultobj = Py_None;
10013 return resultobj;
10014 fail:
10015 return NULL;
10016}
10017
10018
10019static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj;
10021 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10022 int arg2 ;
10023 PyObject * obj0 = 0 ;
10024 PyObject * obj1 = 0 ;
10025 char *kwnames[] = {
10026 (char *) "self",(char *) "minVal", NULL
10027 };
10028
10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMin",kwnames,&obj0,&obj1)) goto fail;
10030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10031 {
10032 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 (arg1)->SetMin(arg2);
10038
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 Py_INCREF(Py_None); resultobj = Py_None;
10043 return resultobj;
10044 fail:
10045 return NULL;
10046}
10047
10048
10049static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10050 PyObject *resultobj;
10051 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10052 int arg2 ;
10053 PyObject * obj0 = 0 ;
10054 PyObject * obj1 = 0 ;
10055 char *kwnames[] = {
10056 (char *) "self",(char *) "maxVal", NULL
10057 };
10058
10059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinButton_SetMax",kwnames,&obj0,&obj1)) goto fail;
10060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10061 {
10062 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 {
10066 PyThreadState* __tstate = wxPyBeginAllowThreads();
10067 (arg1)->SetMax(arg2);
10068
10069 wxPyEndAllowThreads(__tstate);
10070 if (PyErr_Occurred()) SWIG_fail;
10071 }
10072 Py_INCREF(Py_None); resultobj = Py_None;
10073 return resultobj;
10074 fail:
10075 return NULL;
10076}
10077
10078
10079static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10080 PyObject *resultobj;
10081 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10082 int arg2 ;
10083 int arg3 ;
10084 PyObject * obj0 = 0 ;
10085 PyObject * obj1 = 0 ;
10086 PyObject * obj2 = 0 ;
10087 char *kwnames[] = {
10088 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10089 };
10090
10091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinButton_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10093 {
10094 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10095 if (PyErr_Occurred()) SWIG_fail;
10096 }
10097 {
10098 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 {
10102 PyThreadState* __tstate = wxPyBeginAllowThreads();
10103 (arg1)->SetRange(arg2,arg3);
10104
10105 wxPyEndAllowThreads(__tstate);
10106 if (PyErr_Occurred()) SWIG_fail;
10107 }
10108 Py_INCREF(Py_None); resultobj = Py_None;
10109 return resultobj;
10110 fail:
10111 return NULL;
10112}
10113
10114
10115static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
10116 PyObject *resultobj;
10117 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
10118 bool result;
10119 PyObject * obj0 = 0 ;
10120 char *kwnames[] = {
10121 (char *) "self", NULL
10122 };
10123
10124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
10125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10126 {
10127 PyThreadState* __tstate = wxPyBeginAllowThreads();
10128 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
10129
10130 wxPyEndAllowThreads(__tstate);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 }
10133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10134 return resultobj;
10135 fail:
10136 return NULL;
10137}
10138
10139
10140static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
10141 PyObject *obj;
10142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10143 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
10144 Py_INCREF(obj);
10145 return Py_BuildValue((char *)"");
10146}
10147static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj;
10149 wxWindow *arg1 = (wxWindow *) 0 ;
10150 int arg2 = (int) -1 ;
10151 wxString const &arg3_defvalue = wxPyEmptyString ;
10152 wxString *arg3 = (wxString *) &arg3_defvalue ;
10153 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10154 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10155 wxSize const &arg5_defvalue = wxDefaultSize ;
10156 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10157 long arg6 = (long) wxSP_ARROW_KEYS ;
10158 int arg7 = (int) 0 ;
10159 int arg8 = (int) 100 ;
10160 int arg9 = (int) 0 ;
10161 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
10162 wxString *arg10 = (wxString *) &arg10_defvalue ;
10163 wxSpinCtrl *result;
10164 bool temp3 = False ;
10165 wxPoint temp4 ;
10166 wxSize temp5 ;
10167 bool temp10 = False ;
10168 PyObject * obj0 = 0 ;
10169 PyObject * obj1 = 0 ;
10170 PyObject * obj2 = 0 ;
10171 PyObject * obj3 = 0 ;
10172 PyObject * obj4 = 0 ;
10173 PyObject * obj5 = 0 ;
10174 PyObject * obj6 = 0 ;
10175 PyObject * obj7 = 0 ;
10176 PyObject * obj8 = 0 ;
10177 PyObject * obj9 = 0 ;
10178 char *kwnames[] = {
10179 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10180 };
10181
10182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10184 if (obj1) {
10185 {
10186 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 }
10190 if (obj2) {
10191 {
10192 arg3 = wxString_in_helper(obj2);
10193 if (arg3 == NULL) SWIG_fail;
10194 temp3 = True;
10195 }
10196 }
10197 if (obj3) {
10198 {
10199 arg4 = &temp4;
10200 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10201 }
10202 }
10203 if (obj4) {
10204 {
10205 arg5 = &temp5;
10206 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10207 }
10208 }
10209 if (obj5) {
10210 {
10211 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 }
10214 }
10215 if (obj6) {
10216 {
10217 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10218 if (PyErr_Occurred()) SWIG_fail;
10219 }
10220 }
10221 if (obj7) {
10222 {
10223 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 }
10227 if (obj8) {
10228 {
10229 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
10232 }
10233 if (obj9) {
10234 {
10235 arg10 = wxString_in_helper(obj9);
10236 if (arg10 == NULL) SWIG_fail;
10237 temp10 = True;
10238 }
10239 }
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
10243
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
10247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10248 {
10249 if (temp3)
10250 delete arg3;
10251 }
10252 {
10253 if (temp10)
10254 delete arg10;
10255 }
10256 return resultobj;
10257 fail:
10258 {
10259 if (temp3)
10260 delete arg3;
10261 }
10262 {
10263 if (temp10)
10264 delete arg10;
10265 }
10266 return NULL;
10267}
10268
10269
10270static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
10271 PyObject *resultobj;
10272 wxSpinCtrl *result;
10273 char *kwnames[] = {
10274 NULL
10275 };
10276
10277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 result = (wxSpinCtrl *)new wxSpinCtrl();
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
10286 return resultobj;
10287 fail:
10288 return NULL;
10289}
10290
10291
10292static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10293 PyObject *resultobj;
10294 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10295 wxWindow *arg2 = (wxWindow *) 0 ;
10296 int arg3 = (int) -1 ;
10297 wxString const &arg4_defvalue = wxPyEmptyString ;
10298 wxString *arg4 = (wxString *) &arg4_defvalue ;
10299 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10300 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10301 wxSize const &arg6_defvalue = wxDefaultSize ;
10302 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10303 long arg7 = (long) wxSP_ARROW_KEYS ;
10304 int arg8 = (int) 0 ;
10305 int arg9 = (int) 100 ;
10306 int arg10 = (int) 0 ;
10307 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
10308 wxString *arg11 = (wxString *) &arg11_defvalue ;
10309 bool result;
10310 bool temp4 = False ;
10311 wxPoint temp5 ;
10312 wxSize temp6 ;
10313 bool temp11 = False ;
10314 PyObject * obj0 = 0 ;
10315 PyObject * obj1 = 0 ;
10316 PyObject * obj2 = 0 ;
10317 PyObject * obj3 = 0 ;
10318 PyObject * obj4 = 0 ;
10319 PyObject * obj5 = 0 ;
10320 PyObject * obj6 = 0 ;
10321 PyObject * obj7 = 0 ;
10322 PyObject * obj8 = 0 ;
10323 PyObject * obj9 = 0 ;
10324 PyObject * obj10 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10332 if (obj2) {
10333 {
10334 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 }
10338 if (obj3) {
10339 {
10340 arg4 = wxString_in_helper(obj3);
10341 if (arg4 == NULL) SWIG_fail;
10342 temp4 = True;
10343 }
10344 }
10345 if (obj4) {
10346 {
10347 arg5 = &temp5;
10348 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10349 }
10350 }
10351 if (obj5) {
10352 {
10353 arg6 = &temp6;
10354 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10355 }
10356 }
10357 if (obj6) {
10358 {
10359 arg7 = (long) SWIG_PyObj_AsLong(obj6);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 }
10363 if (obj7) {
10364 {
10365 arg8 = (int) SWIG_PyObj_AsInt(obj7);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 }
10369 if (obj8) {
10370 {
10371 arg9 = (int) SWIG_PyObj_AsInt(obj8);
10372 if (PyErr_Occurred()) SWIG_fail;
10373 }
10374 }
10375 if (obj9) {
10376 {
10377 arg10 = (int) SWIG_PyObj_AsInt(obj9);
10378 if (PyErr_Occurred()) SWIG_fail;
10379 }
10380 }
10381 if (obj10) {
10382 {
10383 arg11 = wxString_in_helper(obj10);
10384 if (arg11 == NULL) SWIG_fail;
10385 temp11 = True;
10386 }
10387 }
10388 {
10389 PyThreadState* __tstate = wxPyBeginAllowThreads();
10390 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
10391
10392 wxPyEndAllowThreads(__tstate);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10396 {
10397 if (temp4)
10398 delete arg4;
10399 }
10400 {
10401 if (temp11)
10402 delete arg11;
10403 }
10404 return resultobj;
10405 fail:
10406 {
10407 if (temp4)
10408 delete arg4;
10409 }
10410 {
10411 if (temp11)
10412 delete arg11;
10413 }
10414 return NULL;
10415}
10416
10417
10418static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj;
10420 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10421 int result;
10422 PyObject * obj0 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
10428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10429 {
10430 PyThreadState* __tstate = wxPyBeginAllowThreads();
10431 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
10432
10433 wxPyEndAllowThreads(__tstate);
10434 if (PyErr_Occurred()) SWIG_fail;
10435 }
10436 resultobj = SWIG_PyObj_FromInt((int)result);
10437 return resultobj;
10438 fail:
10439 return NULL;
10440}
10441
10442
10443static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10444 PyObject *resultobj;
10445 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10446 int arg2 ;
10447 PyObject * obj0 = 0 ;
10448 PyObject * obj1 = 0 ;
10449 char *kwnames[] = {
10450 (char *) "self",(char *) "value", NULL
10451 };
10452
10453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
10454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10455 {
10456 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10457 if (PyErr_Occurred()) SWIG_fail;
10458 }
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 (arg1)->SetValue(arg2);
10462
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 Py_INCREF(Py_None); resultobj = Py_None;
10467 return resultobj;
10468 fail:
10469 return NULL;
10470}
10471
10472
10473static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
10474 PyObject *resultobj;
10475 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10476 wxString *arg2 = 0 ;
10477 bool temp2 = False ;
10478 PyObject * obj0 = 0 ;
10479 PyObject * obj1 = 0 ;
10480 char *kwnames[] = {
10481 (char *) "self",(char *) "text", NULL
10482 };
10483
10484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
10485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10486 {
10487 arg2 = wxString_in_helper(obj1);
10488 if (arg2 == NULL) SWIG_fail;
10489 temp2 = True;
10490 }
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 (arg1)->SetValue((wxString const &)*arg2);
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 Py_INCREF(Py_None); resultobj = Py_None;
10499 {
10500 if (temp2)
10501 delete arg2;
10502 }
10503 return resultobj;
10504 fail:
10505 {
10506 if (temp2)
10507 delete arg2;
10508 }
10509 return NULL;
10510}
10511
10512
10513static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10514 PyObject *resultobj;
10515 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10516 int arg2 ;
10517 int arg3 ;
10518 PyObject * obj0 = 0 ;
10519 PyObject * obj1 = 0 ;
10520 PyObject * obj2 = 0 ;
10521 char *kwnames[] = {
10522 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
10523 };
10524
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
10526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10527 {
10528 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 {
10532 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10533 if (PyErr_Occurred()) SWIG_fail;
10534 }
10535 {
10536 PyThreadState* __tstate = wxPyBeginAllowThreads();
10537 (arg1)->SetRange(arg2,arg3);
10538
10539 wxPyEndAllowThreads(__tstate);
10540 if (PyErr_Occurred()) SWIG_fail;
10541 }
10542 Py_INCREF(Py_None); resultobj = Py_None;
10543 return resultobj;
10544 fail:
10545 return NULL;
10546}
10547
10548
10549static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10550 PyObject *resultobj;
10551 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10552 int result;
10553 PyObject * obj0 = 0 ;
10554 char *kwnames[] = {
10555 (char *) "self", NULL
10556 };
10557
10558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
10559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
10563
10564 wxPyEndAllowThreads(__tstate);
10565 if (PyErr_Occurred()) SWIG_fail;
10566 }
10567 resultobj = SWIG_PyObj_FromInt((int)result);
10568 return resultobj;
10569 fail:
10570 return NULL;
10571}
10572
10573
10574static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj;
10576 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10577 int result;
10578 PyObject * obj0 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
10584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 resultobj = SWIG_PyObj_FromInt((int)result);
10593 return resultobj;
10594 fail:
10595 return NULL;
10596}
10597
10598
10599static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10600 PyObject *resultobj;
10601 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
10602 long arg2 ;
10603 long arg3 ;
10604 PyObject * obj0 = 0 ;
10605 PyObject * obj1 = 0 ;
10606 PyObject * obj2 = 0 ;
10607 char *kwnames[] = {
10608 (char *) "self",(char *) "from",(char *) "to", NULL
10609 };
10610
10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SpinCtrl_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
10612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10613 {
10614 arg2 = (long) SWIG_PyObj_AsLong(obj1);
10615 if (PyErr_Occurred()) SWIG_fail;
10616 }
10617 {
10618 arg3 = (long) SWIG_PyObj_AsLong(obj2);
10619 if (PyErr_Occurred()) SWIG_fail;
10620 }
10621 {
10622 PyThreadState* __tstate = wxPyBeginAllowThreads();
10623 (arg1)->SetSelection(arg2,arg3);
10624
10625 wxPyEndAllowThreads(__tstate);
10626 if (PyErr_Occurred()) SWIG_fail;
10627 }
10628 Py_INCREF(Py_None); resultobj = Py_None;
10629 return resultobj;
10630 fail:
10631 return NULL;
10632}
10633
10634
10635static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
10636 PyObject *obj;
10637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10638 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
10639 Py_INCREF(obj);
10640 return Py_BuildValue((char *)"");
10641}
10642static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10643 PyObject *resultobj;
10644 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
10645 int arg2 = (int) 0 ;
10646 wxSpinEvent *result;
10647 PyObject * obj0 = 0 ;
10648 PyObject * obj1 = 0 ;
10649 char *kwnames[] = {
10650 (char *) "commandType",(char *) "winid", NULL
10651 };
10652
10653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SpinEvent",kwnames,&obj0,&obj1)) goto fail;
10654 if (obj0) {
10655 {
10656 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 }
10660 if (obj1) {
10661 {
10662 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10663 if (PyErr_Occurred()) SWIG_fail;
10664 }
10665 }
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
10674 return resultobj;
10675 fail:
10676 return NULL;
10677}
10678
10679
10680static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj;
10682 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10683 int result;
10684 PyObject * obj0 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self", NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
10690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
10694
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 resultobj = SWIG_PyObj_FromInt((int)result);
10699 return resultobj;
10700 fail:
10701 return NULL;
10702}
10703
10704
10705static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
10706 PyObject *resultobj;
10707 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
10708 int arg2 ;
10709 PyObject * obj0 = 0 ;
10710 PyObject * obj1 = 0 ;
10711 char *kwnames[] = {
10712 (char *) "self",(char *) "pos", NULL
10713 };
10714
10715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
10716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10717 {
10718 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10719 if (PyErr_Occurred()) SWIG_fail;
10720 }
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 (arg1)->SetPosition(arg2);
10724
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 Py_INCREF(Py_None); resultobj = Py_None;
10729 return resultobj;
10730 fail:
10731 return NULL;
10732}
10733
10734
10735static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
10736 PyObject *obj;
10737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10738 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
10739 Py_INCREF(obj);
10740 return Py_BuildValue((char *)"");
10741}
10742static int _wrap_RadioBoxNameStr_set(PyObject *) {
10743 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
10744 return 1;
10745}
10746
10747
10748static PyObject *_wrap_RadioBoxNameStr_get() {
10749 PyObject *pyobj;
10750
10751 {
10752#if wxUSE_UNICODE
10753 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10754#else
10755 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
10756#endif
10757 }
10758 return pyobj;
10759}
10760
10761
10762static int _wrap_RadioButtonNameStr_set(PyObject *) {
10763 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
10764 return 1;
10765}
10766
10767
10768static PyObject *_wrap_RadioButtonNameStr_get() {
10769 PyObject *pyobj;
10770
10771 {
10772#if wxUSE_UNICODE
10773 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10774#else
10775 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
10776#endif
10777 }
10778 return pyobj;
10779}
10780
10781
10782static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10783 PyObject *resultobj;
10784 wxWindow *arg1 = (wxWindow *) 0 ;
10785 int arg2 ;
10786 wxString *arg3 = 0 ;
10787 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10788 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10789 wxSize const &arg5_defvalue = wxDefaultSize ;
10790 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10791 wxArrayString const &arg6_defvalue = wxPyEmptyStringArray ;
10792 wxArrayString *arg6 = (wxArrayString *) &arg6_defvalue ;
10793 int arg7 = (int) 0 ;
10794 long arg8 = (long) wxRA_HORIZONTAL ;
10795 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10796 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10797 wxString const &arg10_defvalue = wxPyRadioBoxNameStr ;
10798 wxString *arg10 = (wxString *) &arg10_defvalue ;
10799 wxRadioBox *result;
10800 bool temp3 = False ;
10801 wxPoint temp4 ;
10802 wxSize temp5 ;
10803 bool temp6 = False ;
10804 bool temp10 = False ;
10805 PyObject * obj0 = 0 ;
10806 PyObject * obj1 = 0 ;
10807 PyObject * obj2 = 0 ;
10808 PyObject * obj3 = 0 ;
10809 PyObject * obj4 = 0 ;
10810 PyObject * obj5 = 0 ;
10811 PyObject * obj6 = 0 ;
10812 PyObject * obj7 = 0 ;
10813 PyObject * obj8 = 0 ;
10814 PyObject * obj9 = 0 ;
10815 char *kwnames[] = {
10816 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10817 };
10818
10819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOOOO:new_RadioBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
10820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10821 {
10822 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 {
10826 arg3 = wxString_in_helper(obj2);
10827 if (arg3 == NULL) SWIG_fail;
10828 temp3 = True;
10829 }
10830 if (obj3) {
10831 {
10832 arg4 = &temp4;
10833 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10834 }
10835 }
10836 if (obj4) {
10837 {
10838 arg5 = &temp5;
10839 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10840 }
10841 }
10842 if (obj5) {
10843 {
10844 if (! PySequence_Check(obj5)) {
10845 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
10846 SWIG_fail;
10847 }
10848 arg6 = new wxArrayString;
10849 temp6 = True;
10850 int i, len=PySequence_Length(obj5);
10851 for (i=0; i<len; i++) {
10852 PyObject* item = PySequence_GetItem(obj5, i);
10853#if wxUSE_UNICODE
10854 PyObject* str = PyObject_Unicode(item);
10855#else
10856 PyObject* str = PyObject_Str(item);
10857#endif
10858 arg6->Add(Py2wxString(str));
10859 Py_DECREF(item);
10860 Py_DECREF(str);
10861 }
10862 }
10863 }
10864 if (obj6) {
10865 {
10866 arg7 = (int) SWIG_PyObj_AsInt(obj6);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 }
10869 }
10870 if (obj7) {
10871 {
10872 arg8 = (long) SWIG_PyObj_AsLong(obj7);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
10875 }
10876 if (obj8) {
10877 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10878 if (arg9 == NULL) {
10879 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10880 }
10881 }
10882 if (obj9) {
10883 {
10884 arg10 = wxString_in_helper(obj9);
10885 if (arg10 == NULL) SWIG_fail;
10886 temp10 = True;
10887 }
10888 }
10889 {
10890 PyThreadState* __tstate = wxPyBeginAllowThreads();
10891 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);
10892
10893 wxPyEndAllowThreads(__tstate);
10894 if (PyErr_Occurred()) SWIG_fail;
10895 }
10896 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10897 {
10898 if (temp3)
10899 delete arg3;
10900 }
10901 {
10902 if (temp6) delete arg6;
10903 }
10904 {
10905 if (temp10)
10906 delete arg10;
10907 }
10908 return resultobj;
10909 fail:
10910 {
10911 if (temp3)
10912 delete arg3;
10913 }
10914 {
10915 if (temp6) delete arg6;
10916 }
10917 {
10918 if (temp10)
10919 delete arg10;
10920 }
10921 return NULL;
10922}
10923
10924
10925static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10926 PyObject *resultobj;
10927 wxRadioBox *result;
10928 char *kwnames[] = {
10929 NULL
10930 };
10931
10932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
10933 {
10934 PyThreadState* __tstate = wxPyBeginAllowThreads();
10935 result = (wxRadioBox *)new wxRadioBox();
10936
10937 wxPyEndAllowThreads(__tstate);
10938 if (PyErr_Occurred()) SWIG_fail;
10939 }
10940 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
10941 return resultobj;
10942 fail:
10943 return NULL;
10944}
10945
10946
10947static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10948 PyObject *resultobj;
10949 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10950 wxWindow *arg2 = (wxWindow *) 0 ;
10951 int arg3 ;
10952 wxString *arg4 = 0 ;
10953 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10954 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10955 wxSize const &arg6_defvalue = wxDefaultSize ;
10956 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10957 wxArrayString const &arg7_defvalue = wxPyEmptyStringArray ;
10958 wxArrayString *arg7 = (wxArrayString *) &arg7_defvalue ;
10959 int arg8 = (int) 0 ;
10960 long arg9 = (long) wxRA_HORIZONTAL ;
10961 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10962 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10963 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
10964 wxString *arg11 = (wxString *) &arg11_defvalue ;
10965 bool result;
10966 bool temp4 = False ;
10967 wxPoint temp5 ;
10968 wxSize temp6 ;
10969 bool temp7 = False ;
10970 bool temp11 = False ;
10971 PyObject * obj0 = 0 ;
10972 PyObject * obj1 = 0 ;
10973 PyObject * obj2 = 0 ;
10974 PyObject * obj3 = 0 ;
10975 PyObject * obj4 = 0 ;
10976 PyObject * obj5 = 0 ;
10977 PyObject * obj6 = 0 ;
10978 PyObject * obj7 = 0 ;
10979 PyObject * obj8 = 0 ;
10980 PyObject * obj9 = 0 ;
10981 PyObject * obj10 = 0 ;
10982 char *kwnames[] = {
10983 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
10984 };
10985
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOOOO:RadioBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
10987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10988 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10989 {
10990 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10991 if (PyErr_Occurred()) SWIG_fail;
10992 }
10993 {
10994 arg4 = wxString_in_helper(obj3);
10995 if (arg4 == NULL) SWIG_fail;
10996 temp4 = True;
10997 }
10998 if (obj4) {
10999 {
11000 arg5 = &temp5;
11001 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11002 }
11003 }
11004 if (obj5) {
11005 {
11006 arg6 = &temp6;
11007 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11008 }
11009 }
11010 if (obj6) {
11011 {
11012 if (! PySequence_Check(obj6)) {
11013 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
11014 SWIG_fail;
11015 }
11016 arg7 = new wxArrayString;
11017 temp7 = True;
11018 int i, len=PySequence_Length(obj6);
11019 for (i=0; i<len; i++) {
11020 PyObject* item = PySequence_GetItem(obj6, i);
11021#if wxUSE_UNICODE
11022 PyObject* str = PyObject_Unicode(item);
11023#else
11024 PyObject* str = PyObject_Str(item);
11025#endif
11026 arg7->Add(Py2wxString(str));
11027 Py_DECREF(item);
11028 Py_DECREF(str);
11029 }
11030 }
11031 }
11032 if (obj7) {
11033 {
11034 arg8 = (int) SWIG_PyObj_AsInt(obj7);
11035 if (PyErr_Occurred()) SWIG_fail;
11036 }
11037 }
11038 if (obj8) {
11039 {
11040 arg9 = (long) SWIG_PyObj_AsLong(obj8);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 }
11044 if (obj9) {
11045 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11046 if (arg10 == NULL) {
11047 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11048 }
11049 }
11050 if (obj10) {
11051 {
11052 arg11 = wxString_in_helper(obj10);
11053 if (arg11 == NULL) SWIG_fail;
11054 temp11 = True;
11055 }
11056 }
11057 {
11058 PyThreadState* __tstate = wxPyBeginAllowThreads();
11059 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);
11060
11061 wxPyEndAllowThreads(__tstate);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 }
11064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11065 {
11066 if (temp4)
11067 delete arg4;
11068 }
11069 {
11070 if (temp7) delete arg7;
11071 }
11072 {
11073 if (temp11)
11074 delete arg11;
11075 }
11076 return resultobj;
11077 fail:
11078 {
11079 if (temp4)
11080 delete arg4;
11081 }
11082 {
11083 if (temp7) delete arg7;
11084 }
11085 {
11086 if (temp11)
11087 delete arg11;
11088 }
11089 return NULL;
11090}
11091
11092
11093static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11094 PyObject *resultobj;
11095 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11096 int arg2 ;
11097 PyObject * obj0 = 0 ;
11098 PyObject * obj1 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "self",(char *) "n", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11105 {
11106 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11107 if (PyErr_Occurred()) SWIG_fail;
11108 }
11109 {
11110 PyThreadState* __tstate = wxPyBeginAllowThreads();
11111 (arg1)->SetSelection(arg2);
11112
11113 wxPyEndAllowThreads(__tstate);
11114 if (PyErr_Occurred()) SWIG_fail;
11115 }
11116 Py_INCREF(Py_None); resultobj = Py_None;
11117 return resultobj;
11118 fail:
11119 return NULL;
11120}
11121
11122
11123static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11124 PyObject *resultobj;
11125 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11126 int result;
11127 PyObject * obj0 = 0 ;
11128 char *kwnames[] = {
11129 (char *) "self", NULL
11130 };
11131
11132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
11133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11134 {
11135 PyThreadState* __tstate = wxPyBeginAllowThreads();
11136 result = (int)((wxRadioBox const *)arg1)->GetSelection();
11137
11138 wxPyEndAllowThreads(__tstate);
11139 if (PyErr_Occurred()) SWIG_fail;
11140 }
11141 resultobj = SWIG_PyObj_FromInt((int)result);
11142 return resultobj;
11143 fail:
11144 return NULL;
11145}
11146
11147
11148static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11149 PyObject *resultobj;
11150 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11151 wxString result;
11152 PyObject * obj0 = 0 ;
11153 char *kwnames[] = {
11154 (char *) "self", NULL
11155 };
11156
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
11158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11159 {
11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
11161 result = ((wxRadioBox const *)arg1)->GetStringSelection();
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 {
11167#if wxUSE_UNICODE
11168 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11169#else
11170 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11171#endif
11172 }
11173 return resultobj;
11174 fail:
11175 return NULL;
11176}
11177
11178
11179static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11180 PyObject *resultobj;
11181 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11182 wxString *arg2 = 0 ;
11183 bool result;
11184 bool temp2 = False ;
11185 PyObject * obj0 = 0 ;
11186 PyObject * obj1 = 0 ;
11187 char *kwnames[] = {
11188 (char *) "self",(char *) "s", NULL
11189 };
11190
11191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
11192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11193 {
11194 arg2 = wxString_in_helper(obj1);
11195 if (arg2 == NULL) SWIG_fail;
11196 temp2 = True;
11197 }
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
11201
11202 wxPyEndAllowThreads(__tstate);
11203 if (PyErr_Occurred()) SWIG_fail;
11204 }
11205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11206 {
11207 if (temp2)
11208 delete arg2;
11209 }
11210 return resultobj;
11211 fail:
11212 {
11213 if (temp2)
11214 delete arg2;
11215 }
11216 return NULL;
11217}
11218
11219
11220static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj;
11222 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11223 int result;
11224 PyObject * obj0 = 0 ;
11225 char *kwnames[] = {
11226 (char *) "self", NULL
11227 };
11228
11229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
11230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
11233 result = (int)((wxRadioBox const *)arg1)->GetCount();
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 resultobj = SWIG_PyObj_FromInt((int)result);
11239 return resultobj;
11240 fail:
11241 return NULL;
11242}
11243
11244
11245static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
11246 PyObject *resultobj;
11247 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11248 wxString *arg2 = 0 ;
11249 int result;
11250 bool temp2 = False ;
11251 PyObject * obj0 = 0 ;
11252 PyObject * obj1 = 0 ;
11253 char *kwnames[] = {
11254 (char *) "self",(char *) "s", NULL
11255 };
11256
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
11258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11259 {
11260 arg2 = wxString_in_helper(obj1);
11261 if (arg2 == NULL) SWIG_fail;
11262 temp2 = True;
11263 }
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
11267
11268 wxPyEndAllowThreads(__tstate);
11269 if (PyErr_Occurred()) SWIG_fail;
11270 }
11271 resultobj = SWIG_PyObj_FromInt((int)result);
11272 {
11273 if (temp2)
11274 delete arg2;
11275 }
11276 return resultobj;
11277 fail:
11278 {
11279 if (temp2)
11280 delete arg2;
11281 }
11282 return NULL;
11283}
11284
11285
11286static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11287 PyObject *resultobj;
11288 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11289 int arg2 ;
11290 wxString result;
11291 PyObject * obj0 = 0 ;
11292 PyObject * obj1 = 0 ;
11293 char *kwnames[] = {
11294 (char *) "self",(char *) "n", NULL
11295 };
11296
11297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_GetString",kwnames,&obj0,&obj1)) goto fail;
11298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11299 {
11300 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11301 if (PyErr_Occurred()) SWIG_fail;
11302 }
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 result = ((wxRadioBox const *)arg1)->GetString(arg2);
11306
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 {
11311#if wxUSE_UNICODE
11312 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11313#else
11314 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11315#endif
11316 }
11317 return resultobj;
11318 fail:
11319 return NULL;
11320}
11321
11322
11323static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
11324 PyObject *resultobj;
11325 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11326 int arg2 ;
11327 wxString *arg3 = 0 ;
11328 bool temp3 = False ;
11329 PyObject * obj0 = 0 ;
11330 PyObject * obj1 = 0 ;
11331 PyObject * obj2 = 0 ;
11332 char *kwnames[] = {
11333 (char *) "self",(char *) "n",(char *) "label", NULL
11334 };
11335
11336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RadioBox_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
11337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11338 {
11339 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
11342 {
11343 arg3 = wxString_in_helper(obj2);
11344 if (arg3 == NULL) SWIG_fail;
11345 temp3 = True;
11346 }
11347 {
11348 PyThreadState* __tstate = wxPyBeginAllowThreads();
11349 (arg1)->SetString(arg2,(wxString const &)*arg3);
11350
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
11354 Py_INCREF(Py_None); resultobj = Py_None;
11355 {
11356 if (temp3)
11357 delete arg3;
11358 }
11359 return resultobj;
11360 fail:
11361 {
11362 if (temp3)
11363 delete arg3;
11364 }
11365 return NULL;
11366}
11367
11368
11369static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11370 PyObject *resultobj;
11371 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11372 int arg2 ;
11373 bool arg3 = (bool) True ;
11374 PyObject * obj0 = 0 ;
11375 PyObject * obj1 = 0 ;
11376 PyObject * obj2 = 0 ;
11377 char *kwnames[] = {
11378 (char *) "self",(char *) "n",(char *) "enable", NULL
11379 };
11380
11381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_EnableItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11383 {
11384 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 }
11387 if (obj2) {
11388 {
11389 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 }
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 (arg1)->Enable(arg2,arg3);
11396
11397 wxPyEndAllowThreads(__tstate);
11398 if (PyErr_Occurred()) SWIG_fail;
11399 }
11400 Py_INCREF(Py_None); resultobj = Py_None;
11401 return resultobj;
11402 fail:
11403 return NULL;
11404}
11405
11406
11407static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11408 PyObject *resultobj;
11409 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11410 int arg2 ;
11411 bool arg3 = (bool) True ;
11412 PyObject * obj0 = 0 ;
11413 PyObject * obj1 = 0 ;
11414 PyObject * obj2 = 0 ;
11415 char *kwnames[] = {
11416 (char *) "self",(char *) "n",(char *) "show", NULL
11417 };
11418
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:RadioBox_ShowItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
11420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11421 {
11422 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11423 if (PyErr_Occurred()) SWIG_fail;
11424 }
11425 if (obj2) {
11426 {
11427 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
11430 }
11431 {
11432 PyThreadState* __tstate = wxPyBeginAllowThreads();
11433 (arg1)->Show(arg2,arg3);
11434
11435 wxPyEndAllowThreads(__tstate);
11436 if (PyErr_Occurred()) SWIG_fail;
11437 }
11438 Py_INCREF(Py_None); resultobj = Py_None;
11439 return resultobj;
11440 fail:
11441 return NULL;
11442}
11443
11444
11445static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11446 PyObject *resultobj;
11447 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11448 int result;
11449 PyObject * obj0 = 0 ;
11450 char *kwnames[] = {
11451 (char *) "self", NULL
11452 };
11453
11454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
11455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11456 {
11457 PyThreadState* __tstate = wxPyBeginAllowThreads();
11458 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
11459
11460 wxPyEndAllowThreads(__tstate);
11461 if (PyErr_Occurred()) SWIG_fail;
11462 }
11463 resultobj = SWIG_PyObj_FromInt((int)result);
11464 return resultobj;
11465 fail:
11466 return NULL;
11467}
11468
11469
11470static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11471 PyObject *resultobj;
11472 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11473 int result;
11474 PyObject * obj0 = 0 ;
11475 char *kwnames[] = {
11476 (char *) "self", NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
11480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11481 {
11482 PyThreadState* __tstate = wxPyBeginAllowThreads();
11483 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
11484
11485 wxPyEndAllowThreads(__tstate);
11486 if (PyErr_Occurred()) SWIG_fail;
11487 }
11488 resultobj = SWIG_PyObj_FromInt((int)result);
11489 return resultobj;
11490 fail:
11491 return NULL;
11492}
11493
11494
11495static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
11496 PyObject *resultobj;
11497 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
11498 int arg2 ;
11499 int arg3 ;
11500 long arg4 ;
11501 int result;
11502 PyObject * obj0 = 0 ;
11503 PyObject * obj1 = 0 ;
11504 PyObject * obj2 = 0 ;
11505 PyObject * obj3 = 0 ;
11506 char *kwnames[] = {
11507 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
11508 };
11509
11510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:RadioBox_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
11511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11512 {
11513 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 }
11516 {
11517 arg3 = (wxDirection) SWIG_PyObj_AsInt(obj2);
11518 if (PyErr_Occurred()) SWIG_fail;
11519 }
11520 {
11521 arg4 = (long) SWIG_PyObj_AsLong(obj3);
11522 if (PyErr_Occurred()) SWIG_fail;
11523 }
11524 {
11525 PyThreadState* __tstate = wxPyBeginAllowThreads();
11526 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
11527
11528 wxPyEndAllowThreads(__tstate);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 }
11531 resultobj = SWIG_PyObj_FromInt((int)result);
11532 return resultobj;
11533 fail:
11534 return NULL;
11535}
11536
11537
11538static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
11539 PyObject *obj;
11540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11541 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
11542 Py_INCREF(obj);
11543 return Py_BuildValue((char *)"");
11544}
11545static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11546 PyObject *resultobj;
11547 wxWindow *arg1 = (wxWindow *) 0 ;
11548 int arg2 ;
11549 wxString *arg3 = 0 ;
11550 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11551 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11552 wxSize const &arg5_defvalue = wxDefaultSize ;
11553 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11554 long arg6 = (long) 0 ;
11555 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11556 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11557 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
11558 wxString *arg8 = (wxString *) &arg8_defvalue ;
11559 wxRadioButton *result;
11560 bool temp3 = False ;
11561 wxPoint temp4 ;
11562 wxSize temp5 ;
11563 bool temp8 = False ;
11564 PyObject * obj0 = 0 ;
11565 PyObject * obj1 = 0 ;
11566 PyObject * obj2 = 0 ;
11567 PyObject * obj3 = 0 ;
11568 PyObject * obj4 = 0 ;
11569 PyObject * obj5 = 0 ;
11570 PyObject * obj6 = 0 ;
11571 PyObject * obj7 = 0 ;
11572 char *kwnames[] = {
11573 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11574 };
11575
11576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_RadioButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
11577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11578 {
11579 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 {
11583 arg3 = wxString_in_helper(obj2);
11584 if (arg3 == NULL) SWIG_fail;
11585 temp3 = True;
11586 }
11587 if (obj3) {
11588 {
11589 arg4 = &temp4;
11590 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11591 }
11592 }
11593 if (obj4) {
11594 {
11595 arg5 = &temp5;
11596 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11597 }
11598 }
11599 if (obj5) {
11600 {
11601 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11602 if (PyErr_Occurred()) SWIG_fail;
11603 }
11604 }
11605 if (obj6) {
11606 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11607 if (arg7 == NULL) {
11608 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11609 }
11610 }
11611 if (obj7) {
11612 {
11613 arg8 = wxString_in_helper(obj7);
11614 if (arg8 == NULL) SWIG_fail;
11615 temp8 = True;
11616 }
11617 }
11618 {
11619 PyThreadState* __tstate = wxPyBeginAllowThreads();
11620 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11621
11622 wxPyEndAllowThreads(__tstate);
11623 if (PyErr_Occurred()) SWIG_fail;
11624 }
11625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11626 {
11627 if (temp3)
11628 delete arg3;
11629 }
11630 {
11631 if (temp8)
11632 delete arg8;
11633 }
11634 return resultobj;
11635 fail:
11636 {
11637 if (temp3)
11638 delete arg3;
11639 }
11640 {
11641 if (temp8)
11642 delete arg8;
11643 }
11644 return NULL;
11645}
11646
11647
11648static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11649 PyObject *resultobj;
11650 wxRadioButton *result;
11651 char *kwnames[] = {
11652 NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
11656 {
11657 PyThreadState* __tstate = wxPyBeginAllowThreads();
11658 result = (wxRadioButton *)new wxRadioButton();
11659
11660 wxPyEndAllowThreads(__tstate);
11661 if (PyErr_Occurred()) SWIG_fail;
11662 }
11663 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
11664 return resultobj;
11665 fail:
11666 return NULL;
11667}
11668
11669
11670static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11671 PyObject *resultobj;
11672 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11673 wxWindow *arg2 = (wxWindow *) 0 ;
11674 int arg3 ;
11675 wxString *arg4 = 0 ;
11676 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11677 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11678 wxSize const &arg6_defvalue = wxDefaultSize ;
11679 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11680 long arg7 = (long) 0 ;
11681 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11682 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11683 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
11684 wxString *arg9 = (wxString *) &arg9_defvalue ;
11685 bool result;
11686 bool temp4 = False ;
11687 wxPoint temp5 ;
11688 wxSize temp6 ;
11689 bool temp9 = False ;
11690 PyObject * obj0 = 0 ;
11691 PyObject * obj1 = 0 ;
11692 PyObject * obj2 = 0 ;
11693 PyObject * obj3 = 0 ;
11694 PyObject * obj4 = 0 ;
11695 PyObject * obj5 = 0 ;
11696 PyObject * obj6 = 0 ;
11697 PyObject * obj7 = 0 ;
11698 PyObject * obj8 = 0 ;
11699 char *kwnames[] = {
11700 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11701 };
11702
11703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:RadioButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
11704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11705 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11706 {
11707 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11708 if (PyErr_Occurred()) SWIG_fail;
11709 }
11710 {
11711 arg4 = wxString_in_helper(obj3);
11712 if (arg4 == NULL) SWIG_fail;
11713 temp4 = True;
11714 }
11715 if (obj4) {
11716 {
11717 arg5 = &temp5;
11718 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11719 }
11720 }
11721 if (obj5) {
11722 {
11723 arg6 = &temp6;
11724 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11725 }
11726 }
11727 if (obj6) {
11728 {
11729 arg7 = (long) SWIG_PyObj_AsLong(obj6);
11730 if (PyErr_Occurred()) SWIG_fail;
11731 }
11732 }
11733 if (obj7) {
11734 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11735 if (arg8 == NULL) {
11736 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11737 }
11738 }
11739 if (obj8) {
11740 {
11741 arg9 = wxString_in_helper(obj8);
11742 if (arg9 == NULL) SWIG_fail;
11743 temp9 = True;
11744 }
11745 }
11746 {
11747 PyThreadState* __tstate = wxPyBeginAllowThreads();
11748 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11749
11750 wxPyEndAllowThreads(__tstate);
11751 if (PyErr_Occurred()) SWIG_fail;
11752 }
11753 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11754 {
11755 if (temp4)
11756 delete arg4;
11757 }
11758 {
11759 if (temp9)
11760 delete arg9;
11761 }
11762 return resultobj;
11763 fail:
11764 {
11765 if (temp4)
11766 delete arg4;
11767 }
11768 {
11769 if (temp9)
11770 delete arg9;
11771 }
11772 return NULL;
11773}
11774
11775
11776static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11777 PyObject *resultobj;
11778 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11779 bool result;
11780 PyObject * obj0 = 0 ;
11781 char *kwnames[] = {
11782 (char *) "self", NULL
11783 };
11784
11785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
11786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
11789 result = (bool)(arg1)->GetValue();
11790
11791 wxPyEndAllowThreads(__tstate);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 }
11794 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11795 return resultobj;
11796 fail:
11797 return NULL;
11798}
11799
11800
11801static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11802 PyObject *resultobj;
11803 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
11804 bool arg2 ;
11805 PyObject * obj0 = 0 ;
11806 PyObject * obj1 = 0 ;
11807 char *kwnames[] = {
11808 (char *) "self",(char *) "value", NULL
11809 };
11810
11811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11813 {
11814 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 }
11817 {
11818 PyThreadState* __tstate = wxPyBeginAllowThreads();
11819 (arg1)->SetValue(arg2);
11820
11821 wxPyEndAllowThreads(__tstate);
11822 if (PyErr_Occurred()) SWIG_fail;
11823 }
11824 Py_INCREF(Py_None); resultobj = Py_None;
11825 return resultobj;
11826 fail:
11827 return NULL;
11828}
11829
11830
11831static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
11832 PyObject *obj;
11833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11834 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
11835 Py_INCREF(obj);
11836 return Py_BuildValue((char *)"");
11837}
11838static int _wrap_SliderNameStr_set(PyObject *) {
11839 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
11840 return 1;
11841}
11842
11843
11844static PyObject *_wrap_SliderNameStr_get() {
11845 PyObject *pyobj;
11846
11847 {
11848#if wxUSE_UNICODE
11849 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11850#else
11851 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
11852#endif
11853 }
11854 return pyobj;
11855}
11856
11857
11858static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
11859 PyObject *resultobj;
11860 wxWindow *arg1 = (wxWindow *) 0 ;
11861 int arg2 ;
11862 int arg3 ;
11863 int arg4 ;
11864 int arg5 ;
11865 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11866 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11867 wxSize const &arg7_defvalue = wxDefaultSize ;
11868 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
11869 long arg8 = (long) wxSL_HORIZONTAL ;
11870 wxValidator const &arg9_defvalue = wxDefaultValidator ;
11871 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
11872 wxString const &arg10_defvalue = wxPySliderNameStr ;
11873 wxString *arg10 = (wxString *) &arg10_defvalue ;
11874 wxSlider *result;
11875 wxPoint temp6 ;
11876 wxSize temp7 ;
11877 bool temp10 = False ;
11878 PyObject * obj0 = 0 ;
11879 PyObject * obj1 = 0 ;
11880 PyObject * obj2 = 0 ;
11881 PyObject * obj3 = 0 ;
11882 PyObject * obj4 = 0 ;
11883 PyObject * obj5 = 0 ;
11884 PyObject * obj6 = 0 ;
11885 PyObject * obj7 = 0 ;
11886 PyObject * obj8 = 0 ;
11887 PyObject * obj9 = 0 ;
11888 char *kwnames[] = {
11889 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11890 };
11891
11892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:new_Slider",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
11893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11894 {
11895 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 {
11899 arg3 = (int) SWIG_PyObj_AsInt(obj2);
11900 if (PyErr_Occurred()) SWIG_fail;
11901 }
11902 {
11903 arg4 = (int) SWIG_PyObj_AsInt(obj3);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 }
11906 {
11907 arg5 = (int) SWIG_PyObj_AsInt(obj4);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 }
11910 if (obj5) {
11911 {
11912 arg6 = &temp6;
11913 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11914 }
11915 }
11916 if (obj6) {
11917 {
11918 arg7 = &temp7;
11919 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
11920 }
11921 }
11922 if (obj7) {
11923 {
11924 arg8 = (long) SWIG_PyObj_AsLong(obj7);
11925 if (PyErr_Occurred()) SWIG_fail;
11926 }
11927 }
11928 if (obj8) {
11929 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11930 if (arg9 == NULL) {
11931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11932 }
11933 }
11934 if (obj9) {
11935 {
11936 arg10 = wxString_in_helper(obj9);
11937 if (arg10 == NULL) SWIG_fail;
11938 temp10 = True;
11939 }
11940 }
11941 {
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
11943 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
11944
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
11948 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11949 {
11950 if (temp10)
11951 delete arg10;
11952 }
11953 return resultobj;
11954 fail:
11955 {
11956 if (temp10)
11957 delete arg10;
11958 }
11959 return NULL;
11960}
11961
11962
11963static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj;
11965 wxSlider *result;
11966 char *kwnames[] = {
11967 NULL
11968 };
11969
11970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
11971 {
11972 PyThreadState* __tstate = wxPyBeginAllowThreads();
11973 result = (wxSlider *)new wxSlider();
11974
11975 wxPyEndAllowThreads(__tstate);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
11979 return resultobj;
11980 fail:
11981 return NULL;
11982}
11983
11984
11985static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11986 PyObject *resultobj;
11987 wxSlider *arg1 = (wxSlider *) 0 ;
11988 wxWindow *arg2 = (wxWindow *) 0 ;
11989 int arg3 ;
11990 int arg4 ;
11991 int arg5 ;
11992 int arg6 ;
11993 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11994 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11995 wxSize const &arg8_defvalue = wxDefaultSize ;
11996 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
11997 long arg9 = (long) wxSL_HORIZONTAL ;
11998 wxValidator const &arg10_defvalue = wxDefaultValidator ;
11999 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
12000 wxString const &arg11_defvalue = wxPySliderNameStr ;
12001 wxString *arg11 = (wxString *) &arg11_defvalue ;
12002 bool result;
12003 wxPoint temp7 ;
12004 wxSize temp8 ;
12005 bool temp11 = False ;
12006 PyObject * obj0 = 0 ;
12007 PyObject * obj1 = 0 ;
12008 PyObject * obj2 = 0 ;
12009 PyObject * obj3 = 0 ;
12010 PyObject * obj4 = 0 ;
12011 PyObject * obj5 = 0 ;
12012 PyObject * obj6 = 0 ;
12013 PyObject * obj7 = 0 ;
12014 PyObject * obj8 = 0 ;
12015 PyObject * obj9 = 0 ;
12016 PyObject * obj10 = 0 ;
12017 char *kwnames[] = {
12018 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12019 };
12020
12021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|OOOOO:Slider_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) goto fail;
12022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12023 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12024 {
12025 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 {
12029 arg4 = (int) SWIG_PyObj_AsInt(obj3);
12030 if (PyErr_Occurred()) SWIG_fail;
12031 }
12032 {
12033 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12034 if (PyErr_Occurred()) SWIG_fail;
12035 }
12036 {
12037 arg6 = (int) SWIG_PyObj_AsInt(obj5);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 if (obj6) {
12041 {
12042 arg7 = &temp7;
12043 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
12044 }
12045 }
12046 if (obj7) {
12047 {
12048 arg8 = &temp8;
12049 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
12050 }
12051 }
12052 if (obj8) {
12053 {
12054 arg9 = (long) SWIG_PyObj_AsLong(obj8);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 }
12058 if (obj9) {
12059 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12060 if (arg10 == NULL) {
12061 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12062 }
12063 }
12064 if (obj10) {
12065 {
12066 arg11 = wxString_in_helper(obj10);
12067 if (arg11 == NULL) SWIG_fail;
12068 temp11 = True;
12069 }
12070 }
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12079 {
12080 if (temp11)
12081 delete arg11;
12082 }
12083 return resultobj;
12084 fail:
12085 {
12086 if (temp11)
12087 delete arg11;
12088 }
12089 return NULL;
12090}
12091
12092
12093static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12094 PyObject *resultobj;
12095 wxSlider *arg1 = (wxSlider *) 0 ;
12096 int result;
12097 PyObject * obj0 = 0 ;
12098 char *kwnames[] = {
12099 (char *) "self", NULL
12100 };
12101
12102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
12103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12104 {
12105 PyThreadState* __tstate = wxPyBeginAllowThreads();
12106 result = (int)((wxSlider const *)arg1)->GetValue();
12107
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
12111 resultobj = SWIG_PyObj_FromInt((int)result);
12112 return resultobj;
12113 fail:
12114 return NULL;
12115}
12116
12117
12118static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj;
12120 wxSlider *arg1 = (wxSlider *) 0 ;
12121 int arg2 ;
12122 PyObject * obj0 = 0 ;
12123 PyObject * obj1 = 0 ;
12124 char *kwnames[] = {
12125 (char *) "self",(char *) "value", NULL
12126 };
12127
12128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetValue",kwnames,&obj0,&obj1)) goto fail;
12129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12130 {
12131 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12132 if (PyErr_Occurred()) SWIG_fail;
12133 }
12134 {
12135 PyThreadState* __tstate = wxPyBeginAllowThreads();
12136 (arg1)->SetValue(arg2);
12137
12138 wxPyEndAllowThreads(__tstate);
12139 if (PyErr_Occurred()) SWIG_fail;
12140 }
12141 Py_INCREF(Py_None); resultobj = Py_None;
12142 return resultobj;
12143 fail:
12144 return NULL;
12145}
12146
12147
12148static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12149 PyObject *resultobj;
12150 wxSlider *arg1 = (wxSlider *) 0 ;
12151 int arg2 ;
12152 int arg3 ;
12153 PyObject * obj0 = 0 ;
12154 PyObject * obj1 = 0 ;
12155 PyObject * obj2 = 0 ;
12156 char *kwnames[] = {
12157 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
12158 };
12159
12160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12162 {
12163 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12164 if (PyErr_Occurred()) SWIG_fail;
12165 }
12166 {
12167 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12168 if (PyErr_Occurred()) SWIG_fail;
12169 }
12170 {
12171 PyThreadState* __tstate = wxPyBeginAllowThreads();
12172 (arg1)->SetRange(arg2,arg3);
12173
12174 wxPyEndAllowThreads(__tstate);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 }
12177 Py_INCREF(Py_None); resultobj = Py_None;
12178 return resultobj;
12179 fail:
12180 return NULL;
12181}
12182
12183
12184static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12185 PyObject *resultobj;
12186 wxSlider *arg1 = (wxSlider *) 0 ;
12187 int result;
12188 PyObject * obj0 = 0 ;
12189 char *kwnames[] = {
12190 (char *) "self", NULL
12191 };
12192
12193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
12194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 result = (int)((wxSlider const *)arg1)->GetMin();
12198
12199 wxPyEndAllowThreads(__tstate);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 resultobj = SWIG_PyObj_FromInt((int)result);
12203 return resultobj;
12204 fail:
12205 return NULL;
12206}
12207
12208
12209static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12210 PyObject *resultobj;
12211 wxSlider *arg1 = (wxSlider *) 0 ;
12212 int result;
12213 PyObject * obj0 = 0 ;
12214 char *kwnames[] = {
12215 (char *) "self", NULL
12216 };
12217
12218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
12219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12220 {
12221 PyThreadState* __tstate = wxPyBeginAllowThreads();
12222 result = (int)((wxSlider const *)arg1)->GetMax();
12223
12224 wxPyEndAllowThreads(__tstate);
12225 if (PyErr_Occurred()) SWIG_fail;
12226 }
12227 resultobj = SWIG_PyObj_FromInt((int)result);
12228 return resultobj;
12229 fail:
12230 return NULL;
12231}
12232
12233
12234static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12235 PyObject *resultobj;
12236 wxSlider *arg1 = (wxSlider *) 0 ;
12237 int arg2 ;
12238 PyObject * obj0 = 0 ;
12239 PyObject * obj1 = 0 ;
12240 char *kwnames[] = {
12241 (char *) "self",(char *) "minValue", NULL
12242 };
12243
12244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMin",kwnames,&obj0,&obj1)) goto fail;
12245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12246 {
12247 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 {
12251 PyThreadState* __tstate = wxPyBeginAllowThreads();
12252 (arg1)->SetMin(arg2);
12253
12254 wxPyEndAllowThreads(__tstate);
12255 if (PyErr_Occurred()) SWIG_fail;
12256 }
12257 Py_INCREF(Py_None); resultobj = Py_None;
12258 return resultobj;
12259 fail:
12260 return NULL;
12261}
12262
12263
12264static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
12265 PyObject *resultobj;
12266 wxSlider *arg1 = (wxSlider *) 0 ;
12267 int arg2 ;
12268 PyObject * obj0 = 0 ;
12269 PyObject * obj1 = 0 ;
12270 char *kwnames[] = {
12271 (char *) "self",(char *) "maxValue", NULL
12272 };
12273
12274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetMax",kwnames,&obj0,&obj1)) goto fail;
12275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12276 {
12277 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
12280 {
12281 PyThreadState* __tstate = wxPyBeginAllowThreads();
12282 (arg1)->SetMax(arg2);
12283
12284 wxPyEndAllowThreads(__tstate);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 }
12287 Py_INCREF(Py_None); resultobj = Py_None;
12288 return resultobj;
12289 fail:
12290 return NULL;
12291}
12292
12293
12294static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12295 PyObject *resultobj;
12296 wxSlider *arg1 = (wxSlider *) 0 ;
12297 int arg2 ;
12298 PyObject * obj0 = 0 ;
12299 PyObject * obj1 = 0 ;
12300 char *kwnames[] = {
12301 (char *) "self",(char *) "lineSize", NULL
12302 };
12303
12304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetLineSize",kwnames,&obj0,&obj1)) goto fail;
12305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12306 {
12307 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12308 if (PyErr_Occurred()) SWIG_fail;
12309 }
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 (arg1)->SetLineSize(arg2);
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 Py_INCREF(Py_None); resultobj = Py_None;
12318 return resultobj;
12319 fail:
12320 return NULL;
12321}
12322
12323
12324static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12325 PyObject *resultobj;
12326 wxSlider *arg1 = (wxSlider *) 0 ;
12327 int arg2 ;
12328 PyObject * obj0 = 0 ;
12329 PyObject * obj1 = 0 ;
12330 char *kwnames[] = {
12331 (char *) "self",(char *) "pageSize", NULL
12332 };
12333
12334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12336 {
12337 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 {
12341 PyThreadState* __tstate = wxPyBeginAllowThreads();
12342 (arg1)->SetPageSize(arg2);
12343
12344 wxPyEndAllowThreads(__tstate);
12345 if (PyErr_Occurred()) SWIG_fail;
12346 }
12347 Py_INCREF(Py_None); resultobj = Py_None;
12348 return resultobj;
12349 fail:
12350 return NULL;
12351}
12352
12353
12354static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12355 PyObject *resultobj;
12356 wxSlider *arg1 = (wxSlider *) 0 ;
12357 int result;
12358 PyObject * obj0 = 0 ;
12359 char *kwnames[] = {
12360 (char *) "self", NULL
12361 };
12362
12363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
12364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12365 {
12366 PyThreadState* __tstate = wxPyBeginAllowThreads();
12367 result = (int)((wxSlider const *)arg1)->GetLineSize();
12368
12369 wxPyEndAllowThreads(__tstate);
12370 if (PyErr_Occurred()) SWIG_fail;
12371 }
12372 resultobj = SWIG_PyObj_FromInt((int)result);
12373 return resultobj;
12374 fail:
12375 return NULL;
12376}
12377
12378
12379static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12380 PyObject *resultobj;
12381 wxSlider *arg1 = (wxSlider *) 0 ;
12382 int result;
12383 PyObject * obj0 = 0 ;
12384 char *kwnames[] = {
12385 (char *) "self", NULL
12386 };
12387
12388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
12389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12390 {
12391 PyThreadState* __tstate = wxPyBeginAllowThreads();
12392 result = (int)((wxSlider const *)arg1)->GetPageSize();
12393
12394 wxPyEndAllowThreads(__tstate);
12395 if (PyErr_Occurred()) SWIG_fail;
12396 }
12397 resultobj = SWIG_PyObj_FromInt((int)result);
12398 return resultobj;
12399 fail:
12400 return NULL;
12401}
12402
12403
12404static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12405 PyObject *resultobj;
12406 wxSlider *arg1 = (wxSlider *) 0 ;
12407 int arg2 ;
12408 PyObject * obj0 = 0 ;
12409 PyObject * obj1 = 0 ;
12410 char *kwnames[] = {
12411 (char *) "self",(char *) "lenPixels", NULL
12412 };
12413
12414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetThumbLength",kwnames,&obj0,&obj1)) goto fail;
12415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12416 {
12417 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12418 if (PyErr_Occurred()) SWIG_fail;
12419 }
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 (arg1)->SetThumbLength(arg2);
12423
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
12427 Py_INCREF(Py_None); resultobj = Py_None;
12428 return resultobj;
12429 fail:
12430 return NULL;
12431}
12432
12433
12434static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
12435 PyObject *resultobj;
12436 wxSlider *arg1 = (wxSlider *) 0 ;
12437 int result;
12438 PyObject * obj0 = 0 ;
12439 char *kwnames[] = {
12440 (char *) "self", NULL
12441 };
12442
12443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
12444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 result = (int)((wxSlider const *)arg1)->GetThumbLength();
12448
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 resultobj = SWIG_PyObj_FromInt((int)result);
12453 return resultobj;
12454 fail:
12455 return NULL;
12456}
12457
12458
12459static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12460 PyObject *resultobj;
12461 wxSlider *arg1 = (wxSlider *) 0 ;
12462 int arg2 ;
12463 int arg3 = (int) 1 ;
12464 PyObject * obj0 = 0 ;
12465 PyObject * obj1 = 0 ;
12466 PyObject * obj2 = 0 ;
12467 char *kwnames[] = {
12468 (char *) "self",(char *) "n",(char *) "pos", NULL
12469 };
12470
12471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Slider_SetTickFreq",kwnames,&obj0,&obj1,&obj2)) goto fail;
12472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12473 {
12474 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12475 if (PyErr_Occurred()) SWIG_fail;
12476 }
12477 if (obj2) {
12478 {
12479 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12480 if (PyErr_Occurred()) SWIG_fail;
12481 }
12482 }
12483 {
12484 PyThreadState* __tstate = wxPyBeginAllowThreads();
12485 (arg1)->SetTickFreq(arg2,arg3);
12486
12487 wxPyEndAllowThreads(__tstate);
12488 if (PyErr_Occurred()) SWIG_fail;
12489 }
12490 Py_INCREF(Py_None); resultobj = Py_None;
12491 return resultobj;
12492 fail:
12493 return NULL;
12494}
12495
12496
12497static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
12498 PyObject *resultobj;
12499 wxSlider *arg1 = (wxSlider *) 0 ;
12500 int result;
12501 PyObject * obj0 = 0 ;
12502 char *kwnames[] = {
12503 (char *) "self", NULL
12504 };
12505
12506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
12507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 result = (int)((wxSlider const *)arg1)->GetTickFreq();
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 resultobj = SWIG_PyObj_FromInt((int)result);
12516 return resultobj;
12517 fail:
12518 return NULL;
12519}
12520
12521
12522static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
12523 PyObject *resultobj;
12524 wxSlider *arg1 = (wxSlider *) 0 ;
12525 PyObject * obj0 = 0 ;
12526 char *kwnames[] = {
12527 (char *) "self", NULL
12528 };
12529
12530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
12531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 (arg1)->ClearTicks();
12535
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 Py_INCREF(Py_None); resultobj = Py_None;
12540 return resultobj;
12541 fail:
12542 return NULL;
12543}
12544
12545
12546static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
12547 PyObject *resultobj;
12548 wxSlider *arg1 = (wxSlider *) 0 ;
12549 int arg2 ;
12550 PyObject * obj0 = 0 ;
12551 PyObject * obj1 = 0 ;
12552 char *kwnames[] = {
12553 (char *) "self",(char *) "tickPos", NULL
12554 };
12555
12556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Slider_SetTick",kwnames,&obj0,&obj1)) goto fail;
12557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12558 {
12559 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12560 if (PyErr_Occurred()) SWIG_fail;
12561 }
12562 {
12563 PyThreadState* __tstate = wxPyBeginAllowThreads();
12564 (arg1)->SetTick(arg2);
12565
12566 wxPyEndAllowThreads(__tstate);
12567 if (PyErr_Occurred()) SWIG_fail;
12568 }
12569 Py_INCREF(Py_None); resultobj = Py_None;
12570 return resultobj;
12571 fail:
12572 return NULL;
12573}
12574
12575
12576static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
12577 PyObject *resultobj;
12578 wxSlider *arg1 = (wxSlider *) 0 ;
12579 PyObject * obj0 = 0 ;
12580 char *kwnames[] = {
12581 (char *) "self", NULL
12582 };
12583
12584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
12585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12586 {
12587 PyThreadState* __tstate = wxPyBeginAllowThreads();
12588 (arg1)->ClearSel();
12589
12590 wxPyEndAllowThreads(__tstate);
12591 if (PyErr_Occurred()) SWIG_fail;
12592 }
12593 Py_INCREF(Py_None); resultobj = Py_None;
12594 return resultobj;
12595 fail:
12596 return NULL;
12597}
12598
12599
12600static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
12601 PyObject *resultobj;
12602 wxSlider *arg1 = (wxSlider *) 0 ;
12603 int result;
12604 PyObject * obj0 = 0 ;
12605 char *kwnames[] = {
12606 (char *) "self", NULL
12607 };
12608
12609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
12610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12611 {
12612 PyThreadState* __tstate = wxPyBeginAllowThreads();
12613 result = (int)((wxSlider const *)arg1)->GetSelEnd();
12614
12615 wxPyEndAllowThreads(__tstate);
12616 if (PyErr_Occurred()) SWIG_fail;
12617 }
12618 resultobj = SWIG_PyObj_FromInt((int)result);
12619 return resultobj;
12620 fail:
12621 return NULL;
12622}
12623
12624
12625static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
12626 PyObject *resultobj;
12627 wxSlider *arg1 = (wxSlider *) 0 ;
12628 int result;
12629 PyObject * obj0 = 0 ;
12630 char *kwnames[] = {
12631 (char *) "self", NULL
12632 };
12633
12634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
12635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 result = (int)((wxSlider const *)arg1)->GetSelStart();
12639
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 resultobj = SWIG_PyObj_FromInt((int)result);
12644 return resultobj;
12645 fail:
12646 return NULL;
12647}
12648
12649
12650static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj;
12652 wxSlider *arg1 = (wxSlider *) 0 ;
12653 int arg2 ;
12654 int arg3 ;
12655 PyObject * obj0 = 0 ;
12656 PyObject * obj1 = 0 ;
12657 PyObject * obj2 = 0 ;
12658 char *kwnames[] = {
12659 (char *) "self",(char *) "min",(char *) "max", NULL
12660 };
12661
12662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Slider_SetSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
12663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12664 {
12665 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
12668 {
12669 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 {
12673 PyThreadState* __tstate = wxPyBeginAllowThreads();
12674 (arg1)->SetSelection(arg2,arg3);
12675
12676 wxPyEndAllowThreads(__tstate);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
12679 Py_INCREF(Py_None); resultobj = Py_None;
12680 return resultobj;
12681 fail:
12682 return NULL;
12683}
12684
12685
12686static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
12687 PyObject *obj;
12688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12689 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
12690 Py_INCREF(obj);
12691 return Py_BuildValue((char *)"");
12692}
12693static int _wrap_ToggleButtonNameStr_set(PyObject *) {
12694 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
12695 return 1;
12696}
12697
12698
12699static PyObject *_wrap_ToggleButtonNameStr_get() {
12700 PyObject *pyobj;
12701
12702 {
12703#if wxUSE_UNICODE
12704 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12705#else
12706 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
12707#endif
12708 }
12709 return pyobj;
12710}
12711
12712
12713static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12714 PyObject *resultobj;
12715 wxWindow *arg1 = (wxWindow *) 0 ;
12716 int arg2 ;
12717 wxString *arg3 = 0 ;
12718 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12719 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12720 wxSize const &arg5_defvalue = wxDefaultSize ;
12721 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12722 long arg6 = (long) 0 ;
12723 wxValidator const &arg7_defvalue = wxDefaultValidator ;
12724 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
12725 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
12726 wxString *arg8 = (wxString *) &arg8_defvalue ;
12727 wxToggleButton *result;
12728 bool temp3 = False ;
12729 wxPoint temp4 ;
12730 wxSize temp5 ;
12731 bool temp8 = False ;
12732 PyObject * obj0 = 0 ;
12733 PyObject * obj1 = 0 ;
12734 PyObject * obj2 = 0 ;
12735 PyObject * obj3 = 0 ;
12736 PyObject * obj4 = 0 ;
12737 PyObject * obj5 = 0 ;
12738 PyObject * obj6 = 0 ;
12739 PyObject * obj7 = 0 ;
12740 char *kwnames[] = {
12741 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12742 };
12743
12744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:new_ToggleButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
12745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12746 {
12747 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 {
12751 arg3 = wxString_in_helper(obj2);
12752 if (arg3 == NULL) SWIG_fail;
12753 temp3 = True;
12754 }
12755 if (obj3) {
12756 {
12757 arg4 = &temp4;
12758 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12759 }
12760 }
12761 if (obj4) {
12762 {
12763 arg5 = &temp5;
12764 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12765 }
12766 }
12767 if (obj5) {
12768 {
12769 arg6 = (long) SWIG_PyObj_AsLong(obj5);
12770 if (PyErr_Occurred()) SWIG_fail;
12771 }
12772 }
12773 if (obj6) {
12774 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12775 if (arg7 == NULL) {
12776 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12777 }
12778 }
12779 if (obj7) {
12780 {
12781 arg8 = wxString_in_helper(obj7);
12782 if (arg8 == NULL) SWIG_fail;
12783 temp8 = True;
12784 }
12785 }
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12794 {
12795 if (temp3)
12796 delete arg3;
12797 }
12798 {
12799 if (temp8)
12800 delete arg8;
12801 }
12802 return resultobj;
12803 fail:
12804 {
12805 if (temp3)
12806 delete arg3;
12807 }
12808 {
12809 if (temp8)
12810 delete arg8;
12811 }
12812 return NULL;
12813}
12814
12815
12816static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12817 PyObject *resultobj;
12818 wxToggleButton *result;
12819 char *kwnames[] = {
12820 NULL
12821 };
12822
12823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 result = (wxToggleButton *)new wxToggleButton();
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
12832 return resultobj;
12833 fail:
12834 return NULL;
12835}
12836
12837
12838static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12839 PyObject *resultobj;
12840 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12841 wxWindow *arg2 = (wxWindow *) 0 ;
12842 int arg3 ;
12843 wxString *arg4 = 0 ;
12844 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12845 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12846 wxSize const &arg6_defvalue = wxDefaultSize ;
12847 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12848 long arg7 = (long) 0 ;
12849 wxValidator const &arg8_defvalue = wxDefaultValidator ;
12850 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
12851 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
12852 wxString *arg9 = (wxString *) &arg9_defvalue ;
12853 bool result;
12854 bool temp4 = False ;
12855 wxPoint temp5 ;
12856 wxSize temp6 ;
12857 bool temp9 = False ;
12858 PyObject * obj0 = 0 ;
12859 PyObject * obj1 = 0 ;
12860 PyObject * obj2 = 0 ;
12861 PyObject * obj3 = 0 ;
12862 PyObject * obj4 = 0 ;
12863 PyObject * obj5 = 0 ;
12864 PyObject * obj6 = 0 ;
12865 PyObject * obj7 = 0 ;
12866 PyObject * obj8 = 0 ;
12867 char *kwnames[] = {
12868 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12869 };
12870
12871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToggleButton_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
12872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12874 {
12875 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12876 if (PyErr_Occurred()) SWIG_fail;
12877 }
12878 {
12879 arg4 = wxString_in_helper(obj3);
12880 if (arg4 == NULL) SWIG_fail;
12881 temp4 = True;
12882 }
12883 if (obj4) {
12884 {
12885 arg5 = &temp5;
12886 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12887 }
12888 }
12889 if (obj5) {
12890 {
12891 arg6 = &temp6;
12892 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12893 }
12894 }
12895 if (obj6) {
12896 {
12897 arg7 = (long) SWIG_PyObj_AsLong(obj6);
12898 if (PyErr_Occurred()) SWIG_fail;
12899 }
12900 }
12901 if (obj7) {
12902 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12903 if (arg8 == NULL) {
12904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12905 }
12906 }
12907 if (obj8) {
12908 {
12909 arg9 = wxString_in_helper(obj8);
12910 if (arg9 == NULL) SWIG_fail;
12911 temp9 = True;
12912 }
12913 }
12914 {
12915 PyThreadState* __tstate = wxPyBeginAllowThreads();
12916 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
12917
12918 wxPyEndAllowThreads(__tstate);
12919 if (PyErr_Occurred()) SWIG_fail;
12920 }
12921 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12922 {
12923 if (temp4)
12924 delete arg4;
12925 }
12926 {
12927 if (temp9)
12928 delete arg9;
12929 }
12930 return resultobj;
12931 fail:
12932 {
12933 if (temp4)
12934 delete arg4;
12935 }
12936 {
12937 if (temp9)
12938 delete arg9;
12939 }
12940 return NULL;
12941}
12942
12943
12944static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12945 PyObject *resultobj;
12946 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12947 bool arg2 ;
12948 PyObject * obj0 = 0 ;
12949 PyObject * obj1 = 0 ;
12950 char *kwnames[] = {
12951 (char *) "self",(char *) "value", NULL
12952 };
12953
12954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
12955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12956 {
12957 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
12960 {
12961 PyThreadState* __tstate = wxPyBeginAllowThreads();
12962 (arg1)->SetValue(arg2);
12963
12964 wxPyEndAllowThreads(__tstate);
12965 if (PyErr_Occurred()) SWIG_fail;
12966 }
12967 Py_INCREF(Py_None); resultobj = Py_None;
12968 return resultobj;
12969 fail:
12970 return NULL;
12971}
12972
12973
12974static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12975 PyObject *resultobj;
12976 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
12977 bool result;
12978 PyObject * obj0 = 0 ;
12979 char *kwnames[] = {
12980 (char *) "self", NULL
12981 };
12982
12983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
12984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12985 {
12986 PyThreadState* __tstate = wxPyBeginAllowThreads();
12987 result = (bool)((wxToggleButton const *)arg1)->GetValue();
12988
12989 wxPyEndAllowThreads(__tstate);
12990 if (PyErr_Occurred()) SWIG_fail;
12991 }
12992 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12993 return resultobj;
12994 fail:
12995 return NULL;
12996}
12997
12998
12999static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13000 PyObject *resultobj;
13001 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
13002 wxString *arg2 = 0 ;
13003 bool temp2 = False ;
13004 PyObject * obj0 = 0 ;
13005 PyObject * obj1 = 0 ;
13006 char *kwnames[] = {
13007 (char *) "self",(char *) "label", NULL
13008 };
13009
13010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13012 {
13013 arg2 = wxString_in_helper(obj1);
13014 if (arg2 == NULL) SWIG_fail;
13015 temp2 = True;
13016 }
13017 {
13018 PyThreadState* __tstate = wxPyBeginAllowThreads();
13019 (arg1)->SetLabel((wxString const &)*arg2);
13020
13021 wxPyEndAllowThreads(__tstate);
13022 if (PyErr_Occurred()) SWIG_fail;
13023 }
13024 Py_INCREF(Py_None); resultobj = Py_None;
13025 {
13026 if (temp2)
13027 delete arg2;
13028 }
13029 return resultobj;
13030 fail:
13031 {
13032 if (temp2)
13033 delete arg2;
13034 }
13035 return NULL;
13036}
13037
13038
13039static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
13040 PyObject *obj;
13041 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13042 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
13043 Py_INCREF(obj);
13044 return Py_BuildValue((char *)"");
13045}
13046static int _wrap_NOTEBOOK_NAME_set(PyObject *) {
13047 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
13048 return 1;
13049}
13050
13051
13052static PyObject *_wrap_NOTEBOOK_NAME_get() {
13053 PyObject *pyobj;
13054
13055 {
13056#if wxUSE_UNICODE
13057 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13058#else
13059 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
13060#endif
13061 }
13062 return pyobj;
13063}
13064
13065
13066static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
13067 PyObject *resultobj;
13068 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13069 size_t result;
13070 PyObject * obj0 = 0 ;
13071 char *kwnames[] = {
13072 (char *) "self", NULL
13073 };
13074
13075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
13076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13077 {
13078 PyThreadState* __tstate = wxPyBeginAllowThreads();
13079 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
13080
13081 wxPyEndAllowThreads(__tstate);
13082 if (PyErr_Occurred()) SWIG_fail;
13083 }
13084 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
13085 return resultobj;
13086 fail:
13087 return NULL;
13088}
13089
13090
13091static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13092 PyObject *resultobj;
13093 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13094 size_t arg2 ;
13095 wxWindow *result;
13096 PyObject * obj0 = 0 ;
13097 PyObject * obj1 = 0 ;
13098 char *kwnames[] = {
13099 (char *) "self",(char *) "n", NULL
13100 };
13101
13102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
13103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13104 {
13105 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13106 if (PyErr_Occurred()) SWIG_fail;
13107 }
13108 {
13109 PyThreadState* __tstate = wxPyBeginAllowThreads();
13110 result = (wxWindow *)(arg1)->GetPage(arg2);
13111
13112 wxPyEndAllowThreads(__tstate);
13113 if (PyErr_Occurred()) SWIG_fail;
13114 }
13115 {
13116 resultobj = wxPyMake_wxObject(result);
13117 }
13118 return resultobj;
13119 fail:
13120 return NULL;
13121}
13122
13123
13124static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13125 PyObject *resultobj;
13126 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13127 int result;
13128 PyObject * obj0 = 0 ;
13129 char *kwnames[] = {
13130 (char *) "self", NULL
13131 };
13132
13133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
13134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13135 {
13136 PyThreadState* __tstate = wxPyBeginAllowThreads();
13137 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
13138
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
13142 resultobj = SWIG_PyObj_FromInt((int)result);
13143 return resultobj;
13144 fail:
13145 return NULL;
13146}
13147
13148
13149static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13150 PyObject *resultobj;
13151 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13152 size_t arg2 ;
13153 wxString *arg3 = 0 ;
13154 bool result;
13155 bool temp3 = False ;
13156 PyObject * obj0 = 0 ;
13157 PyObject * obj1 = 0 ;
13158 PyObject * obj2 = 0 ;
13159 char *kwnames[] = {
13160 (char *) "self",(char *) "n",(char *) "strText", NULL
13161 };
13162
13163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
13164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13165 {
13166 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 {
13170 arg3 = wxString_in_helper(obj2);
13171 if (arg3 == NULL) SWIG_fail;
13172 temp3 = True;
13173 }
13174 {
13175 PyThreadState* __tstate = wxPyBeginAllowThreads();
13176 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
13177
13178 wxPyEndAllowThreads(__tstate);
13179 if (PyErr_Occurred()) SWIG_fail;
13180 }
13181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13182 {
13183 if (temp3)
13184 delete arg3;
13185 }
13186 return resultobj;
13187 fail:
13188 {
13189 if (temp3)
13190 delete arg3;
13191 }
13192 return NULL;
13193}
13194
13195
13196static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
13197 PyObject *resultobj;
13198 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13199 size_t arg2 ;
13200 wxString result;
13201 PyObject * obj0 = 0 ;
13202 PyObject * obj1 = 0 ;
13203 char *kwnames[] = {
13204 (char *) "self",(char *) "n", NULL
13205 };
13206
13207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
13208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13209 {
13210 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
13216
13217 wxPyEndAllowThreads(__tstate);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
13220 {
13221#if wxUSE_UNICODE
13222 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13223#else
13224 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13225#endif
13226 }
13227 return resultobj;
13228 fail:
13229 return NULL;
13230}
13231
13232
13233static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13234 PyObject *resultobj;
13235 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13236 wxImageList *arg2 = (wxImageList *) 0 ;
13237 PyObject * obj0 = 0 ;
13238 PyObject * obj1 = 0 ;
13239 char *kwnames[] = {
13240 (char *) "self",(char *) "imageList", NULL
13241 };
13242
13243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
13244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13246 {
13247 PyThreadState* __tstate = wxPyBeginAllowThreads();
13248 (arg1)->SetImageList(arg2);
13249
13250 wxPyEndAllowThreads(__tstate);
13251 if (PyErr_Occurred()) SWIG_fail;
13252 }
13253 Py_INCREF(Py_None); resultobj = Py_None;
13254 return resultobj;
13255 fail:
13256 return NULL;
13257}
13258
13259
13260static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13261 PyObject *resultobj;
13262 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13263 wxImageList *arg2 = (wxImageList *) 0 ;
13264 PyObject * obj0 = 0 ;
13265 PyObject * obj1 = 0 ;
13266 char *kwnames[] = {
13267 (char *) "self",(char *) "imageList", NULL
13268 };
13269
13270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
13271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
13273 {
13274 PyThreadState* __tstate = wxPyBeginAllowThreads();
13275 (arg1)->AssignImageList(arg2);
13276
13277 wxPyEndAllowThreads(__tstate);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 }
13280 Py_INCREF(Py_None); resultobj = Py_None;
13281 return resultobj;
13282 fail:
13283 return NULL;
13284}
13285
13286
13287static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
13288 PyObject *resultobj;
13289 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13290 wxImageList *result;
13291 PyObject * obj0 = 0 ;
13292 char *kwnames[] = {
13293 (char *) "self", NULL
13294 };
13295
13296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
13297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13298 {
13299 PyThreadState* __tstate = wxPyBeginAllowThreads();
13300 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
13301
13302 wxPyEndAllowThreads(__tstate);
13303 if (PyErr_Occurred()) SWIG_fail;
13304 }
13305 {
13306 resultobj = wxPyMake_wxObject(result);
13307 }
13308 return resultobj;
13309 fail:
13310 return NULL;
13311}
13312
13313
13314static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13315 PyObject *resultobj;
13316 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13317 size_t arg2 ;
13318 int result;
13319 PyObject * obj0 = 0 ;
13320 PyObject * obj1 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self",(char *) "n", NULL
13323 };
13324
13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
13326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13327 {
13328 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
13331 {
13332 PyThreadState* __tstate = wxPyBeginAllowThreads();
13333 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
13334
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 resultobj = SWIG_PyObj_FromInt((int)result);
13339 return resultobj;
13340 fail:
13341 return NULL;
13342}
13343
13344
13345static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
13346 PyObject *resultobj;
13347 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13348 size_t arg2 ;
13349 int arg3 ;
13350 bool result;
13351 PyObject * obj0 = 0 ;
13352 PyObject * obj1 = 0 ;
13353 PyObject * obj2 = 0 ;
13354 char *kwnames[] = {
13355 (char *) "self",(char *) "n",(char *) "imageId", NULL
13356 };
13357
13358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
13359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13360 {
13361 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13362 if (PyErr_Occurred()) SWIG_fail;
13363 }
13364 {
13365 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 result = (bool)(arg1)->SetPageImage(arg2,arg3);
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13376 return resultobj;
13377 fail:
13378 return NULL;
13379}
13380
13381
13382static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13383 PyObject *resultobj;
13384 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13385 wxSize *arg2 = 0 ;
13386 wxSize temp2 ;
13387 PyObject * obj0 = 0 ;
13388 PyObject * obj1 = 0 ;
13389 char *kwnames[] = {
13390 (char *) "self",(char *) "size", NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
13394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13395 {
13396 arg2 = &temp2;
13397 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13398 }
13399 {
13400 PyThreadState* __tstate = wxPyBeginAllowThreads();
13401 (arg1)->SetPageSize((wxSize const &)*arg2);
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_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13414 PyObject *resultobj;
13415 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13416 wxSize *arg2 = 0 ;
13417 wxSize result;
13418 wxSize temp2 ;
13419 PyObject * obj0 = 0 ;
13420 PyObject * obj1 = 0 ;
13421 char *kwnames[] = {
13422 (char *) "self",(char *) "sizePage", NULL
13423 };
13424
13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
13426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13427 {
13428 arg2 = &temp2;
13429 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
13430 }
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 {
13439 wxSize * resultptr;
13440 resultptr = new wxSize((wxSize &) result);
13441 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13442 }
13443 return resultobj;
13444 fail:
13445 return NULL;
13446}
13447
13448
13449static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13450 PyObject *resultobj;
13451 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13452 size_t arg2 ;
13453 bool result;
13454 PyObject * obj0 = 0 ;
13455 PyObject * obj1 = 0 ;
13456 char *kwnames[] = {
13457 (char *) "self",(char *) "n", NULL
13458 };
13459
13460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
13461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13462 {
13463 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 }
13466 {
13467 PyThreadState* __tstate = wxPyBeginAllowThreads();
13468 result = (bool)(arg1)->DeletePage(arg2);
13469
13470 wxPyEndAllowThreads(__tstate);
13471 if (PyErr_Occurred()) SWIG_fail;
13472 }
13473 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13474 return resultobj;
13475 fail:
13476 return NULL;
13477}
13478
13479
13480static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
13481 PyObject *resultobj;
13482 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13483 size_t arg2 ;
13484 bool result;
13485 PyObject * obj0 = 0 ;
13486 PyObject * obj1 = 0 ;
13487 char *kwnames[] = {
13488 (char *) "self",(char *) "n", NULL
13489 };
13490
13491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
13492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13493 {
13494 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13495 if (PyErr_Occurred()) SWIG_fail;
13496 }
13497 {
13498 PyThreadState* __tstate = wxPyBeginAllowThreads();
13499 result = (bool)(arg1)->RemovePage(arg2);
13500
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13505 return resultobj;
13506 fail:
13507 return NULL;
13508}
13509
13510
13511static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
13512 PyObject *resultobj;
13513 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13514 bool result;
13515 PyObject * obj0 = 0 ;
13516 char *kwnames[] = {
13517 (char *) "self", NULL
13518 };
13519
13520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
13521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13522 {
13523 PyThreadState* __tstate = wxPyBeginAllowThreads();
13524 result = (bool)(arg1)->DeleteAllPages();
13525
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13530 return resultobj;
13531 fail:
13532 return NULL;
13533}
13534
13535
13536static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13537 PyObject *resultobj;
13538 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13539 wxWindow *arg2 = (wxWindow *) 0 ;
13540 wxString *arg3 = 0 ;
13541 bool arg4 = (bool) False ;
13542 int arg5 = (int) -1 ;
13543 bool result;
13544 bool temp3 = False ;
13545 PyObject * obj0 = 0 ;
13546 PyObject * obj1 = 0 ;
13547 PyObject * obj2 = 0 ;
13548 PyObject * obj3 = 0 ;
13549 PyObject * obj4 = 0 ;
13550 char *kwnames[] = {
13551 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13552 };
13553
13554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13557 {
13558 arg3 = wxString_in_helper(obj2);
13559 if (arg3 == NULL) SWIG_fail;
13560 temp3 = True;
13561 }
13562 if (obj3) {
13563 {
13564 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
13565 if (PyErr_Occurred()) SWIG_fail;
13566 }
13567 }
13568 if (obj4) {
13569 {
13570 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 }
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
13577
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13582 {
13583 if (temp3)
13584 delete arg3;
13585 }
13586 return resultobj;
13587 fail:
13588 {
13589 if (temp3)
13590 delete arg3;
13591 }
13592 return NULL;
13593}
13594
13595
13596static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj;
13598 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13599 size_t arg2 ;
13600 wxWindow *arg3 = (wxWindow *) 0 ;
13601 wxString *arg4 = 0 ;
13602 bool arg5 = (bool) False ;
13603 int arg6 = (int) -1 ;
13604 bool result;
13605 bool temp4 = False ;
13606 PyObject * obj0 = 0 ;
13607 PyObject * obj1 = 0 ;
13608 PyObject * obj2 = 0 ;
13609 PyObject * obj3 = 0 ;
13610 PyObject * obj4 = 0 ;
13611 PyObject * obj5 = 0 ;
13612 char *kwnames[] = {
13613 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
13614 };
13615
13616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13618 {
13619 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13620 if (PyErr_Occurred()) SWIG_fail;
13621 }
13622 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13623 {
13624 arg4 = wxString_in_helper(obj3);
13625 if (arg4 == NULL) SWIG_fail;
13626 temp4 = True;
13627 }
13628 if (obj4) {
13629 {
13630 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
13631 if (PyErr_Occurred()) SWIG_fail;
13632 }
13633 }
13634 if (obj5) {
13635 {
13636 arg6 = (int) SWIG_PyObj_AsInt(obj5);
13637 if (PyErr_Occurred()) SWIG_fail;
13638 }
13639 }
13640 {
13641 PyThreadState* __tstate = wxPyBeginAllowThreads();
13642 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
13643
13644 wxPyEndAllowThreads(__tstate);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 }
13647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13648 {
13649 if (temp4)
13650 delete arg4;
13651 }
13652 return resultobj;
13653 fail:
13654 {
13655 if (temp4)
13656 delete arg4;
13657 }
13658 return NULL;
13659}
13660
13661
13662static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13663 PyObject *resultobj;
13664 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13665 size_t arg2 ;
13666 int result;
13667 PyObject * obj0 = 0 ;
13668 PyObject * obj1 = 0 ;
13669 char *kwnames[] = {
13670 (char *) "self",(char *) "n", NULL
13671 };
13672
13673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13675 {
13676 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 {
13680 PyThreadState* __tstate = wxPyBeginAllowThreads();
13681 result = (int)(arg1)->SetSelection(arg2);
13682
13683 wxPyEndAllowThreads(__tstate);
13684 if (PyErr_Occurred()) SWIG_fail;
13685 }
13686 resultobj = SWIG_PyObj_FromInt((int)result);
13687 return resultobj;
13688 fail:
13689 return NULL;
13690}
13691
13692
13693static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13694 PyObject *resultobj;
13695 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13696 bool arg2 = (bool) True ;
13697 PyObject * obj0 = 0 ;
13698 PyObject * obj1 = 0 ;
13699 char *kwnames[] = {
13700 (char *) "self",(char *) "forward", NULL
13701 };
13702
13703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
13704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13705 if (obj1) {
13706 {
13707 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 }
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 (arg1)->AdvanceSelection(arg2);
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 Py_INCREF(Py_None); resultobj = Py_None;
13719 return resultobj;
13720 fail:
13721 return NULL;
13722}
13723
13724
13725static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
13726 PyObject *obj;
13727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13728 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
13729 Py_INCREF(obj);
13730 return Py_BuildValue((char *)"");
13731}
13732static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13733 PyObject *resultobj;
13734 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13735 int arg2 = (int) 0 ;
13736 int arg3 = (int) -1 ;
13737 int arg4 = (int) -1 ;
13738 wxBookCtrlEvent *result;
13739 PyObject * obj0 = 0 ;
13740 PyObject * obj1 = 0 ;
13741 PyObject * obj2 = 0 ;
13742 PyObject * obj3 = 0 ;
13743 char *kwnames[] = {
13744 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13745 };
13746
13747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_BookCtrlEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13748 if (obj0) {
13749 {
13750 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13751 if (PyErr_Occurred()) SWIG_fail;
13752 }
13753 }
13754 if (obj1) {
13755 {
13756 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 }
13759 }
13760 if (obj2) {
13761 {
13762 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13763 if (PyErr_Occurred()) SWIG_fail;
13764 }
13765 }
13766 if (obj3) {
13767 {
13768 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 }
13772 {
13773 PyThreadState* __tstate = wxPyBeginAllowThreads();
13774 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
13775
13776 wxPyEndAllowThreads(__tstate);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
13779 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
13780 return resultobj;
13781 fail:
13782 return NULL;
13783}
13784
13785
13786static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13787 PyObject *resultobj;
13788 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13789 int result;
13790 PyObject * obj0 = 0 ;
13791 char *kwnames[] = {
13792 (char *) "self", NULL
13793 };
13794
13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
13796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13797 {
13798 PyThreadState* __tstate = wxPyBeginAllowThreads();
13799 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
13800
13801 wxPyEndAllowThreads(__tstate);
13802 if (PyErr_Occurred()) SWIG_fail;
13803 }
13804 resultobj = SWIG_PyObj_FromInt((int)result);
13805 return resultobj;
13806 fail:
13807 return NULL;
13808}
13809
13810
13811static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13812 PyObject *resultobj;
13813 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13814 int arg2 ;
13815 PyObject * obj0 = 0 ;
13816 PyObject * obj1 = 0 ;
13817 char *kwnames[] = {
13818 (char *) "self",(char *) "nSel", NULL
13819 };
13820
13821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetSelection",kwnames,&obj0,&obj1)) goto fail;
13822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13823 {
13824 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 (arg1)->SetSelection(arg2);
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 Py_INCREF(Py_None); resultobj = Py_None;
13835 return resultobj;
13836 fail:
13837 return NULL;
13838}
13839
13840
13841static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13842 PyObject *resultobj;
13843 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13844 int result;
13845 PyObject * obj0 = 0 ;
13846 char *kwnames[] = {
13847 (char *) "self", NULL
13848 };
13849
13850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
13851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13852 {
13853 PyThreadState* __tstate = wxPyBeginAllowThreads();
13854 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
13855
13856 wxPyEndAllowThreads(__tstate);
13857 if (PyErr_Occurred()) SWIG_fail;
13858 }
13859 resultobj = SWIG_PyObj_FromInt((int)result);
13860 return resultobj;
13861 fail:
13862 return NULL;
13863}
13864
13865
13866static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
13867 PyObject *resultobj;
13868 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
13869 int arg2 ;
13870 PyObject * obj0 = 0 ;
13871 PyObject * obj1 = 0 ;
13872 char *kwnames[] = {
13873 (char *) "self",(char *) "nOldSel", NULL
13874 };
13875
13876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&obj1)) goto fail;
13877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13878 {
13879 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13880 if (PyErr_Occurred()) SWIG_fail;
13881 }
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 (arg1)->SetOldSelection(arg2);
13885
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 Py_INCREF(Py_None); resultobj = Py_None;
13890 return resultobj;
13891 fail:
13892 return NULL;
13893}
13894
13895
13896static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
13897 PyObject *obj;
13898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13899 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
13900 Py_INCREF(obj);
13901 return Py_BuildValue((char *)"");
13902}
13903static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13904 PyObject *resultobj;
13905 wxWindow *arg1 = (wxWindow *) 0 ;
13906 int arg2 ;
13907 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13908 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13909 wxSize const &arg4_defvalue = wxDefaultSize ;
13910 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13911 long arg5 = (long) 0 ;
13912 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
13913 wxString *arg6 = (wxString *) &arg6_defvalue ;
13914 wxNotebook *result;
13915 wxPoint temp3 ;
13916 wxSize temp4 ;
13917 bool temp6 = False ;
13918 PyObject * obj0 = 0 ;
13919 PyObject * obj1 = 0 ;
13920 PyObject * obj2 = 0 ;
13921 PyObject * obj3 = 0 ;
13922 PyObject * obj4 = 0 ;
13923 PyObject * obj5 = 0 ;
13924 char *kwnames[] = {
13925 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13926 };
13927
13928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Notebook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
13929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13930 {
13931 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13932 if (PyErr_Occurred()) SWIG_fail;
13933 }
13934 if (obj2) {
13935 {
13936 arg3 = &temp3;
13937 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13938 }
13939 }
13940 if (obj3) {
13941 {
13942 arg4 = &temp4;
13943 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13944 }
13945 }
13946 if (obj4) {
13947 {
13948 arg5 = (long) SWIG_PyObj_AsLong(obj4);
13949 if (PyErr_Occurred()) SWIG_fail;
13950 }
13951 }
13952 if (obj5) {
13953 {
13954 arg6 = wxString_in_helper(obj5);
13955 if (arg6 == NULL) SWIG_fail;
13956 temp6 = True;
13957 }
13958 }
13959 {
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13962
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 {
13967 resultobj = wxPyMake_wxObject(result);
13968 }
13969 {
13970 if (temp6)
13971 delete arg6;
13972 }
13973 return resultobj;
13974 fail:
13975 {
13976 if (temp6)
13977 delete arg6;
13978 }
13979 return NULL;
13980}
13981
13982
13983static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13984 PyObject *resultobj;
13985 wxNotebook *result;
13986 char *kwnames[] = {
13987 NULL
13988 };
13989
13990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
13991 {
13992 PyThreadState* __tstate = wxPyBeginAllowThreads();
13993 result = (wxNotebook *)new wxNotebook();
13994
13995 wxPyEndAllowThreads(__tstate);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 }
13998 {
13999 resultobj = wxPyMake_wxObject(result);
14000 }
14001 return resultobj;
14002 fail:
14003 return NULL;
14004}
14005
14006
14007static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj;
14009 wxNotebook *arg1 = (wxNotebook *) 0 ;
14010 wxWindow *arg2 = (wxWindow *) 0 ;
14011 int arg3 ;
14012 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14013 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14014 wxSize const &arg5_defvalue = wxDefaultSize ;
14015 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14016 long arg6 = (long) 0 ;
14017 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
14018 wxString *arg7 = (wxString *) &arg7_defvalue ;
14019 bool result;
14020 wxPoint temp4 ;
14021 wxSize temp5 ;
14022 bool temp7 = False ;
14023 PyObject * obj0 = 0 ;
14024 PyObject * obj1 = 0 ;
14025 PyObject * obj2 = 0 ;
14026 PyObject * obj3 = 0 ;
14027 PyObject * obj4 = 0 ;
14028 PyObject * obj5 = 0 ;
14029 PyObject * obj6 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Notebook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14037 {
14038 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14039 if (PyErr_Occurred()) SWIG_fail;
14040 }
14041 if (obj3) {
14042 {
14043 arg4 = &temp4;
14044 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14045 }
14046 }
14047 if (obj4) {
14048 {
14049 arg5 = &temp5;
14050 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14051 }
14052 }
14053 if (obj5) {
14054 {
14055 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14056 if (PyErr_Occurred()) SWIG_fail;
14057 }
14058 }
14059 if (obj6) {
14060 {
14061 arg7 = wxString_in_helper(obj6);
14062 if (arg7 == NULL) SWIG_fail;
14063 temp7 = True;
14064 }
14065 }
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14074 {
14075 if (temp7)
14076 delete arg7;
14077 }
14078 return resultobj;
14079 fail:
14080 {
14081 if (temp7)
14082 delete arg7;
14083 }
14084 return NULL;
14085}
14086
14087
14088static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
14089 PyObject *resultobj;
14090 wxNotebook *arg1 = (wxNotebook *) 0 ;
14091 int result;
14092 PyObject * obj0 = 0 ;
14093 char *kwnames[] = {
14094 (char *) "self", NULL
14095 };
14096
14097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
14098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14099 {
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 result = (int)((wxNotebook const *)arg1)->GetRowCount();
14102
14103 wxPyEndAllowThreads(__tstate);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 }
14106 resultobj = SWIG_PyObj_FromInt((int)result);
14107 return resultobj;
14108 fail:
14109 return NULL;
14110}
14111
14112
14113static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
14114 PyObject *resultobj;
14115 wxNotebook *arg1 = (wxNotebook *) 0 ;
14116 wxSize *arg2 = 0 ;
14117 wxSize temp2 ;
14118 PyObject * obj0 = 0 ;
14119 PyObject * obj1 = 0 ;
14120 char *kwnames[] = {
14121 (char *) "self",(char *) "padding", NULL
14122 };
14123
14124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
14125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14126 {
14127 arg2 = &temp2;
14128 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14129 }
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 (arg1)->SetPadding((wxSize const &)*arg2);
14133
14134 wxPyEndAllowThreads(__tstate);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 Py_INCREF(Py_None); resultobj = Py_None;
14138 return resultobj;
14139 fail:
14140 return NULL;
14141}
14142
14143
14144static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj;
14146 wxNotebook *arg1 = (wxNotebook *) 0 ;
14147 wxSize *arg2 = 0 ;
14148 wxSize temp2 ;
14149 PyObject * obj0 = 0 ;
14150 PyObject * obj1 = 0 ;
14151 char *kwnames[] = {
14152 (char *) "self",(char *) "sz", NULL
14153 };
14154
14155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
14156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14157 {
14158 arg2 = &temp2;
14159 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14160 }
14161 {
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 (arg1)->SetTabSize((wxSize const &)*arg2);
14164
14165 wxPyEndAllowThreads(__tstate);
14166 if (PyErr_Occurred()) SWIG_fail;
14167 }
14168 Py_INCREF(Py_None); resultobj = Py_None;
14169 return resultobj;
14170 fail:
14171 return NULL;
14172}
14173
14174
14175static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
14176 PyObject *resultobj;
14177 wxNotebook *arg1 = (wxNotebook *) 0 ;
14178 wxPoint *arg2 = 0 ;
14179 long *arg3 = (long *) 0 ;
14180 int result;
14181 wxPoint temp2 ;
14182 long temp3 ;
14183 PyObject * obj0 = 0 ;
14184 PyObject * obj1 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self",(char *) "pt", NULL
14187 };
14188
14189 arg3 = &temp3;
14190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
14191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14192 {
14193 arg2 = &temp2;
14194 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
14195 }
14196 {
14197 PyThreadState* __tstate = wxPyBeginAllowThreads();
14198 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
14199
14200 wxPyEndAllowThreads(__tstate);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
14203 resultobj = SWIG_PyObj_FromInt((int)result);
14204 {
14205 PyObject *o = PyInt_FromLong((long) (*arg3));
14206 resultobj = t_output_helper(resultobj,o);
14207 }
14208 return resultobj;
14209 fail:
14210 return NULL;
14211}
14212
14213
14214static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
14215 PyObject *resultobj;
14216 wxNotebook *arg1 = (wxNotebook *) 0 ;
14217 wxSize *arg2 = 0 ;
14218 wxSize result;
14219 wxSize temp2 ;
14220 PyObject * obj0 = 0 ;
14221 PyObject * obj1 = 0 ;
14222 char *kwnames[] = {
14223 (char *) "self",(char *) "sizePage", NULL
14224 };
14225
14226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
14227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14228 {
14229 arg2 = &temp2;
14230 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14231 }
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
14235
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 {
14240 wxSize * resultptr;
14241 resultptr = new wxSize((wxSize &) result);
14242 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14243 }
14244 return resultobj;
14245 fail:
14246 return NULL;
14247}
14248
14249
14250static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
14251 PyObject *resultobj;
14252 wxNotebook *arg1 = (wxNotebook *) 0 ;
14253 wxWindow *arg2 = (wxWindow *) 0 ;
14254 wxColour *arg3 = 0 ;
14255 wxColour temp3 ;
14256 PyObject * obj0 = 0 ;
14257 PyObject * obj1 = 0 ;
14258 PyObject * obj2 = 0 ;
14259 char *kwnames[] = {
14260 (char *) "self",(char *) "window",(char *) "colour", NULL
14261 };
14262
14263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
14264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14266 {
14267 arg3 = &temp3;
14268 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
14269 }
14270 {
14271 PyThreadState* __tstate = wxPyBeginAllowThreads();
14272 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
14273
14274 wxPyEndAllowThreads(__tstate);
14275 if (PyErr_Occurred()) SWIG_fail;
14276 }
14277 Py_INCREF(Py_None); resultobj = Py_None;
14278 return resultobj;
14279 fail:
14280 return NULL;
14281}
14282
14283
14284static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
14285 PyObject *obj;
14286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14287 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
14288 Py_INCREF(obj);
14289 return Py_BuildValue((char *)"");
14290}
14291static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14292 PyObject *resultobj;
14293 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14294 int arg2 = (int) 0 ;
14295 int arg3 = (int) -1 ;
14296 int arg4 = (int) -1 ;
14297 wxNotebookEvent *result;
14298 PyObject * obj0 = 0 ;
14299 PyObject * obj1 = 0 ;
14300 PyObject * obj2 = 0 ;
14301 PyObject * obj3 = 0 ;
14302 char *kwnames[] = {
14303 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14304 };
14305
14306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_NotebookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14307 if (obj0) {
14308 {
14309 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 }
14313 if (obj1) {
14314 {
14315 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14316 if (PyErr_Occurred()) SWIG_fail;
14317 }
14318 }
14319 if (obj2) {
14320 {
14321 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14322 if (PyErr_Occurred()) SWIG_fail;
14323 }
14324 }
14325 if (obj3) {
14326 {
14327 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 }
14331 {
14332 PyThreadState* __tstate = wxPyBeginAllowThreads();
14333 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
14334
14335 wxPyEndAllowThreads(__tstate);
14336 if (PyErr_Occurred()) SWIG_fail;
14337 }
14338 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
14339 return resultobj;
14340 fail:
14341 return NULL;
14342}
14343
14344
14345static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
14346 PyObject *obj;
14347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14348 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
14349 Py_INCREF(obj);
14350 return Py_BuildValue((char *)"");
14351}
14352static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14353 PyObject *resultobj;
14354 wxWindow *arg1 = (wxWindow *) 0 ;
14355 int arg2 ;
14356 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14357 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14358 wxSize const &arg4_defvalue = wxDefaultSize ;
14359 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14360 long arg5 = (long) 0 ;
14361 wxString const &arg6_defvalue = wxPyEmptyString ;
14362 wxString *arg6 = (wxString *) &arg6_defvalue ;
14363 wxListbook *result;
14364 wxPoint temp3 ;
14365 wxSize temp4 ;
14366 bool temp6 = False ;
14367 PyObject * obj0 = 0 ;
14368 PyObject * obj1 = 0 ;
14369 PyObject * obj2 = 0 ;
14370 PyObject * obj3 = 0 ;
14371 PyObject * obj4 = 0 ;
14372 PyObject * obj5 = 0 ;
14373 char *kwnames[] = {
14374 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14375 };
14376
14377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Listbook",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14379 {
14380 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14381 if (PyErr_Occurred()) SWIG_fail;
14382 }
14383 if (obj2) {
14384 {
14385 arg3 = &temp3;
14386 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14387 }
14388 }
14389 if (obj3) {
14390 {
14391 arg4 = &temp4;
14392 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14393 }
14394 }
14395 if (obj4) {
14396 {
14397 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14398 if (PyErr_Occurred()) SWIG_fail;
14399 }
14400 }
14401 if (obj5) {
14402 {
14403 arg6 = wxString_in_helper(obj5);
14404 if (arg6 == NULL) SWIG_fail;
14405 temp6 = True;
14406 }
14407 }
14408 {
14409 PyThreadState* __tstate = wxPyBeginAllowThreads();
14410 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14411
14412 wxPyEndAllowThreads(__tstate);
14413 if (PyErr_Occurred()) SWIG_fail;
14414 }
14415 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14416 {
14417 if (temp6)
14418 delete arg6;
14419 }
14420 return resultobj;
14421 fail:
14422 {
14423 if (temp6)
14424 delete arg6;
14425 }
14426 return NULL;
14427}
14428
14429
14430static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
14431 PyObject *resultobj;
14432 wxListbook *result;
14433 char *kwnames[] = {
14434 NULL
14435 };
14436
14437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
14438 {
14439 PyThreadState* __tstate = wxPyBeginAllowThreads();
14440 result = (wxListbook *)new wxListbook();
14441
14442 wxPyEndAllowThreads(__tstate);
14443 if (PyErr_Occurred()) SWIG_fail;
14444 }
14445 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
14446 return resultobj;
14447 fail:
14448 return NULL;
14449}
14450
14451
14452static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14453 PyObject *resultobj;
14454 wxListbook *arg1 = (wxListbook *) 0 ;
14455 wxWindow *arg2 = (wxWindow *) 0 ;
14456 int arg3 ;
14457 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14458 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14459 wxSize const &arg5_defvalue = wxDefaultSize ;
14460 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14461 long arg6 = (long) 0 ;
14462 wxString const &arg7_defvalue = wxPyEmptyString ;
14463 wxString *arg7 = (wxString *) &arg7_defvalue ;
14464 bool result;
14465 wxPoint temp4 ;
14466 wxSize temp5 ;
14467 bool temp7 = False ;
14468 PyObject * obj0 = 0 ;
14469 PyObject * obj1 = 0 ;
14470 PyObject * obj2 = 0 ;
14471 PyObject * obj3 = 0 ;
14472 PyObject * obj4 = 0 ;
14473 PyObject * obj5 = 0 ;
14474 PyObject * obj6 = 0 ;
14475 char *kwnames[] = {
14476 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14477 };
14478
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Listbook_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14482 {
14483 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14484 if (PyErr_Occurred()) SWIG_fail;
14485 }
14486 if (obj3) {
14487 {
14488 arg4 = &temp4;
14489 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14490 }
14491 }
14492 if (obj4) {
14493 {
14494 arg5 = &temp5;
14495 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14496 }
14497 }
14498 if (obj5) {
14499 {
14500 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14501 if (PyErr_Occurred()) SWIG_fail;
14502 }
14503 }
14504 if (obj6) {
14505 {
14506 arg7 = wxString_in_helper(obj6);
14507 if (arg7 == NULL) SWIG_fail;
14508 temp7 = True;
14509 }
14510 }
14511 {
14512 PyThreadState* __tstate = wxPyBeginAllowThreads();
14513 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14514
14515 wxPyEndAllowThreads(__tstate);
14516 if (PyErr_Occurred()) SWIG_fail;
14517 }
14518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14519 {
14520 if (temp7)
14521 delete arg7;
14522 }
14523 return resultobj;
14524 fail:
14525 {
14526 if (temp7)
14527 delete arg7;
14528 }
14529 return NULL;
14530}
14531
14532
14533static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14534 PyObject *resultobj;
14535 wxListbook *arg1 = (wxListbook *) 0 ;
14536 bool result;
14537 PyObject * obj0 = 0 ;
14538 char *kwnames[] = {
14539 (char *) "self", NULL
14540 };
14541
14542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
14543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14544 {
14545 PyThreadState* __tstate = wxPyBeginAllowThreads();
14546 result = (bool)((wxListbook const *)arg1)->IsVertical();
14547
14548 wxPyEndAllowThreads(__tstate);
14549 if (PyErr_Occurred()) SWIG_fail;
14550 }
14551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14552 return resultobj;
14553 fail:
14554 return NULL;
14555}
14556
14557
14558static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
14559 PyObject *obj;
14560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14561 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
14562 Py_INCREF(obj);
14563 return Py_BuildValue((char *)"");
14564}
14565static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14566 PyObject *resultobj;
14567 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
14568 int arg2 = (int) 0 ;
14569 int arg3 = (int) -1 ;
14570 int arg4 = (int) -1 ;
14571 wxListbookEvent *result;
14572 PyObject * obj0 = 0 ;
14573 PyObject * obj1 = 0 ;
14574 PyObject * obj2 = 0 ;
14575 PyObject * obj3 = 0 ;
14576 char *kwnames[] = {
14577 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14578 };
14579
14580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ListbookEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
14581 if (obj0) {
14582 {
14583 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 }
14587 if (obj1) {
14588 {
14589 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14590 if (PyErr_Occurred()) SWIG_fail;
14591 }
14592 }
14593 if (obj2) {
14594 {
14595 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14596 if (PyErr_Occurred()) SWIG_fail;
14597 }
14598 }
14599 if (obj3) {
14600 {
14601 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
14604 }
14605 {
14606 PyThreadState* __tstate = wxPyBeginAllowThreads();
14607 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
14608
14609 wxPyEndAllowThreads(__tstate);
14610 if (PyErr_Occurred()) SWIG_fail;
14611 }
14612 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
14613 return resultobj;
14614 fail:
14615 return NULL;
14616}
14617
14618
14619static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
14620 PyObject *obj;
14621 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14622 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
14623 Py_INCREF(obj);
14624 return Py_BuildValue((char *)"");
14625}
14626static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14627 PyObject *resultobj;
14628 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
14629 wxBookCtrlSizer *result;
14630 PyObject * obj0 = 0 ;
14631 char *kwnames[] = {
14632 (char *) "nb", NULL
14633 };
14634
14635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
14636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14637 {
14638 PyThreadState* __tstate = wxPyBeginAllowThreads();
14639 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
14640
14641 wxPyEndAllowThreads(__tstate);
14642 if (PyErr_Occurred()) SWIG_fail;
14643 }
14644 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
14645 return resultobj;
14646 fail:
14647 return NULL;
14648}
14649
14650
14651static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14652 PyObject *resultobj;
14653 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14654 PyObject * obj0 = 0 ;
14655 char *kwnames[] = {
14656 (char *) "self", NULL
14657 };
14658
14659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14661 {
14662 PyThreadState* __tstate = wxPyBeginAllowThreads();
14663 (arg1)->RecalcSizes();
14664
14665 wxPyEndAllowThreads(__tstate);
14666 if (PyErr_Occurred()) SWIG_fail;
14667 }
14668 Py_INCREF(Py_None); resultobj = Py_None;
14669 return resultobj;
14670 fail:
14671 return NULL;
14672}
14673
14674
14675static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14676 PyObject *resultobj;
14677 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14678 wxSize result;
14679 PyObject * obj0 = 0 ;
14680 char *kwnames[] = {
14681 (char *) "self", NULL
14682 };
14683
14684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
14685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14686 {
14687 PyThreadState* __tstate = wxPyBeginAllowThreads();
14688 result = (arg1)->CalcMin();
14689
14690 wxPyEndAllowThreads(__tstate);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 }
14693 {
14694 wxSize * resultptr;
14695 resultptr = new wxSize((wxSize &) result);
14696 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14697 }
14698 return resultobj;
14699 fail:
14700 return NULL;
14701}
14702
14703
14704static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14705 PyObject *resultobj;
14706 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
14707 wxBookCtrl *result;
14708 PyObject * obj0 = 0 ;
14709 char *kwnames[] = {
14710 (char *) "self", NULL
14711 };
14712
14713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
14714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 result = (wxBookCtrl *)(arg1)->GetControl();
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
14723 return resultobj;
14724 fail:
14725 return NULL;
14726}
14727
14728
14729static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
14730 PyObject *obj;
14731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14732 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
14733 Py_INCREF(obj);
14734 return Py_BuildValue((char *)"");
14735}
14736static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
14737 PyObject *resultobj;
14738 wxNotebook *arg1 = (wxNotebook *) 0 ;
14739 wxNotebookSizer *result;
14740 PyObject * obj0 = 0 ;
14741 char *kwnames[] = {
14742 (char *) "nb", NULL
14743 };
14744
14745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
14746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14747 {
14748 PyThreadState* __tstate = wxPyBeginAllowThreads();
14749 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
14750
14751 wxPyEndAllowThreads(__tstate);
14752 if (PyErr_Occurred()) SWIG_fail;
14753 }
14754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
14755 return resultobj;
14756 fail:
14757 return NULL;
14758}
14759
14760
14761static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
14762 PyObject *resultobj;
14763 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14764 PyObject * obj0 = 0 ;
14765 char *kwnames[] = {
14766 (char *) "self", NULL
14767 };
14768
14769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
14770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14771 {
14772 PyThreadState* __tstate = wxPyBeginAllowThreads();
14773 (arg1)->RecalcSizes();
14774
14775 wxPyEndAllowThreads(__tstate);
14776 if (PyErr_Occurred()) SWIG_fail;
14777 }
14778 Py_INCREF(Py_None); resultobj = Py_None;
14779 return resultobj;
14780 fail:
14781 return NULL;
14782}
14783
14784
14785static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
14786 PyObject *resultobj;
14787 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14788 wxSize result;
14789 PyObject * obj0 = 0 ;
14790 char *kwnames[] = {
14791 (char *) "self", NULL
14792 };
14793
14794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
14795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14796 {
14797 PyThreadState* __tstate = wxPyBeginAllowThreads();
14798 result = (arg1)->CalcMin();
14799
14800 wxPyEndAllowThreads(__tstate);
14801 if (PyErr_Occurred()) SWIG_fail;
14802 }
14803 {
14804 wxSize * resultptr;
14805 resultptr = new wxSize((wxSize &) result);
14806 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14807 }
14808 return resultobj;
14809 fail:
14810 return NULL;
14811}
14812
14813
14814static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
14815 PyObject *resultobj;
14816 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
14817 wxNotebook *result;
14818 PyObject * obj0 = 0 ;
14819 char *kwnames[] = {
14820 (char *) "self", NULL
14821 };
14822
14823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
14824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14825 {
14826 PyThreadState* __tstate = wxPyBeginAllowThreads();
14827 result = (wxNotebook *)(arg1)->GetNotebook();
14828
14829 wxPyEndAllowThreads(__tstate);
14830 if (PyErr_Occurred()) SWIG_fail;
14831 }
14832 {
14833 resultobj = wxPyMake_wxObject(result);
14834 }
14835 return resultobj;
14836 fail:
14837 return NULL;
14838}
14839
14840
14841static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
14842 PyObject *obj;
14843 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14844 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
14845 Py_INCREF(obj);
14846 return Py_BuildValue((char *)"");
14847}
14848static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
14849 PyObject *resultobj;
14850 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14851 int result;
14852 PyObject * obj0 = 0 ;
14853 char *kwnames[] = {
14854 (char *) "self", NULL
14855 };
14856
14857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
14858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 result = (int)(arg1)->GetId();
14862
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 resultobj = SWIG_PyObj_FromInt((int)result);
14867 return resultobj;
14868 fail:
14869 return NULL;
14870}
14871
14872
14873static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14874 PyObject *resultobj;
14875 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14876 wxControl *result;
14877 PyObject * obj0 = 0 ;
14878 char *kwnames[] = {
14879 (char *) "self", NULL
14880 };
14881
14882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
14883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14884 {
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 result = (wxControl *)(arg1)->GetControl();
14887
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 {
14892 resultobj = wxPyMake_wxObject(result);
14893 }
14894 return resultobj;
14895 fail:
14896 return NULL;
14897}
14898
14899
14900static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14901 PyObject *resultobj;
14902 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14903 wxToolBarBase *result;
14904 PyObject * obj0 = 0 ;
14905 char *kwnames[] = {
14906 (char *) "self", NULL
14907 };
14908
14909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
14910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14911 {
14912 PyThreadState* __tstate = wxPyBeginAllowThreads();
14913 result = (wxToolBarBase *)(arg1)->GetToolBar();
14914
14915 wxPyEndAllowThreads(__tstate);
14916 if (PyErr_Occurred()) SWIG_fail;
14917 }
14918 {
14919 resultobj = wxPyMake_wxObject(result);
14920 }
14921 return resultobj;
14922 fail:
14923 return NULL;
14924}
14925
14926
14927static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
14928 PyObject *resultobj;
14929 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14930 int result;
14931 PyObject * obj0 = 0 ;
14932 char *kwnames[] = {
14933 (char *) "self", NULL
14934 };
14935
14936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
14937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14938 {
14939 PyThreadState* __tstate = wxPyBeginAllowThreads();
14940 result = (int)(arg1)->IsButton();
14941
14942 wxPyEndAllowThreads(__tstate);
14943 if (PyErr_Occurred()) SWIG_fail;
14944 }
14945 resultobj = SWIG_PyObj_FromInt((int)result);
14946 return resultobj;
14947 fail:
14948 return NULL;
14949}
14950
14951
14952static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14953 PyObject *resultobj;
14954 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14955 int result;
14956 PyObject * obj0 = 0 ;
14957 char *kwnames[] = {
14958 (char *) "self", NULL
14959 };
14960
14961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
14962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 result = (int)(arg1)->IsControl();
14966
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 resultobj = SWIG_PyObj_FromInt((int)result);
14971 return resultobj;
14972 fail:
14973 return NULL;
14974}
14975
14976
14977static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14978 PyObject *resultobj;
14979 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14980 int result;
14981 PyObject * obj0 = 0 ;
14982 char *kwnames[] = {
14983 (char *) "self", NULL
14984 };
14985
14986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
14987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14988 {
14989 PyThreadState* __tstate = wxPyBeginAllowThreads();
14990 result = (int)(arg1)->IsSeparator();
14991
14992 wxPyEndAllowThreads(__tstate);
14993 if (PyErr_Occurred()) SWIG_fail;
14994 }
14995 resultobj = SWIG_PyObj_FromInt((int)result);
14996 return resultobj;
14997 fail:
14998 return NULL;
14999}
15000
15001
15002static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
15003 PyObject *resultobj;
15004 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15005 int result;
15006 PyObject * obj0 = 0 ;
15007 char *kwnames[] = {
15008 (char *) "self", NULL
15009 };
15010
15011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
15012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15013 {
15014 PyThreadState* __tstate = wxPyBeginAllowThreads();
15015 result = (int)(arg1)->GetStyle();
15016
15017 wxPyEndAllowThreads(__tstate);
15018 if (PyErr_Occurred()) SWIG_fail;
15019 }
15020 resultobj = SWIG_PyObj_FromInt((int)result);
15021 return resultobj;
15022 fail:
15023 return NULL;
15024}
15025
15026
15027static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
15028 PyObject *resultobj;
15029 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15030 int result;
15031 PyObject * obj0 = 0 ;
15032 char *kwnames[] = {
15033 (char *) "self", NULL
15034 };
15035
15036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
15037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15038 {
15039 PyThreadState* __tstate = wxPyBeginAllowThreads();
15040 result = (int)(arg1)->GetKind();
15041
15042 wxPyEndAllowThreads(__tstate);
15043 if (PyErr_Occurred()) SWIG_fail;
15044 }
15045 resultobj = SWIG_PyObj_FromInt((int)result);
15046 return resultobj;
15047 fail:
15048 return NULL;
15049}
15050
15051
15052static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
15053 PyObject *resultobj;
15054 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15055 bool result;
15056 PyObject * obj0 = 0 ;
15057 char *kwnames[] = {
15058 (char *) "self", NULL
15059 };
15060
15061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
15062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15063 {
15064 PyThreadState* __tstate = wxPyBeginAllowThreads();
15065 result = (bool)(arg1)->IsEnabled();
15066
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15071 return resultobj;
15072 fail:
15073 return NULL;
15074}
15075
15076
15077static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15078 PyObject *resultobj;
15079 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15080 bool result;
15081 PyObject * obj0 = 0 ;
15082 char *kwnames[] = {
15083 (char *) "self", NULL
15084 };
15085
15086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
15087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15088 {
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 result = (bool)(arg1)->IsToggled();
15091
15092 wxPyEndAllowThreads(__tstate);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
15095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15096 return resultobj;
15097 fail:
15098 return NULL;
15099}
15100
15101
15102static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
15103 PyObject *resultobj;
15104 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15105 bool result;
15106 PyObject * obj0 = 0 ;
15107 char *kwnames[] = {
15108 (char *) "self", NULL
15109 };
15110
15111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
15112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15113 {
15114 PyThreadState* __tstate = wxPyBeginAllowThreads();
15115 result = (bool)(arg1)->CanBeToggled();
15116
15117 wxPyEndAllowThreads(__tstate);
15118 if (PyErr_Occurred()) SWIG_fail;
15119 }
15120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15121 return resultobj;
15122 fail:
15123 return NULL;
15124}
15125
15126
15127static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15128 PyObject *resultobj;
15129 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15130 wxBitmap *result;
15131 PyObject * obj0 = 0 ;
15132 char *kwnames[] = {
15133 (char *) "self", NULL
15134 };
15135
15136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
15137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15138 {
15139 PyThreadState* __tstate = wxPyBeginAllowThreads();
15140 {
15141 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
15142 result = (wxBitmap *) &_result_ref;
15143 }
15144
15145 wxPyEndAllowThreads(__tstate);
15146 if (PyErr_Occurred()) SWIG_fail;
15147 }
15148 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
15149 return resultobj;
15150 fail:
15151 return NULL;
15152}
15153
15154
15155static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15156 PyObject *resultobj;
15157 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15158 wxBitmap *result;
15159 PyObject * obj0 = 0 ;
15160 char *kwnames[] = {
15161 (char *) "self", NULL
15162 };
15163
15164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
15165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 {
15169 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
15170 result = (wxBitmap *) &_result_ref;
15171 }
15172
15173 wxPyEndAllowThreads(__tstate);
15174 if (PyErr_Occurred()) SWIG_fail;
15175 }
15176 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
15177 return resultobj;
15178 fail:
15179 return NULL;
15180}
15181
15182
15183static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15184 PyObject *resultobj;
15185 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15186 wxBitmap result;
15187 PyObject * obj0 = 0 ;
15188 char *kwnames[] = {
15189 (char *) "self", NULL
15190 };
15191
15192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
15193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 result = (arg1)->GetBitmap();
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 {
15202 wxBitmap * resultptr;
15203 resultptr = new wxBitmap((wxBitmap &) result);
15204 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
15205 }
15206 return resultobj;
15207 fail:
15208 return NULL;
15209}
15210
15211
15212static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15213 PyObject *resultobj;
15214 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15215 wxString result;
15216 PyObject * obj0 = 0 ;
15217 char *kwnames[] = {
15218 (char *) "self", NULL
15219 };
15220
15221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
15222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15223 {
15224 PyThreadState* __tstate = wxPyBeginAllowThreads();
15225 result = (arg1)->GetLabel();
15226
15227 wxPyEndAllowThreads(__tstate);
15228 if (PyErr_Occurred()) SWIG_fail;
15229 }
15230 {
15231#if wxUSE_UNICODE
15232 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15233#else
15234 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15235#endif
15236 }
15237 return resultobj;
15238 fail:
15239 return NULL;
15240}
15241
15242
15243static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15244 PyObject *resultobj;
15245 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15246 wxString result;
15247 PyObject * obj0 = 0 ;
15248 char *kwnames[] = {
15249 (char *) "self", NULL
15250 };
15251
15252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
15253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15254 {
15255 PyThreadState* __tstate = wxPyBeginAllowThreads();
15256 result = (arg1)->GetShortHelp();
15257
15258 wxPyEndAllowThreads(__tstate);
15259 if (PyErr_Occurred()) SWIG_fail;
15260 }
15261 {
15262#if wxUSE_UNICODE
15263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15264#else
15265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15266#endif
15267 }
15268 return resultobj;
15269 fail:
15270 return NULL;
15271}
15272
15273
15274static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15275 PyObject *resultobj;
15276 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15277 wxString result;
15278 PyObject * obj0 = 0 ;
15279 char *kwnames[] = {
15280 (char *) "self", NULL
15281 };
15282
15283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
15284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15285 {
15286 PyThreadState* __tstate = wxPyBeginAllowThreads();
15287 result = (arg1)->GetLongHelp();
15288
15289 wxPyEndAllowThreads(__tstate);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
15292 {
15293#if wxUSE_UNICODE
15294 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15295#else
15296 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15297#endif
15298 }
15299 return resultobj;
15300 fail:
15301 return NULL;
15302}
15303
15304
15305static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
15306 PyObject *resultobj;
15307 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15308 bool arg2 ;
15309 bool result;
15310 PyObject * obj0 = 0 ;
15311 PyObject * obj1 = 0 ;
15312 char *kwnames[] = {
15313 (char *) "self",(char *) "enable", NULL
15314 };
15315
15316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
15317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15318 {
15319 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15320 if (PyErr_Occurred()) SWIG_fail;
15321 }
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 result = (bool)(arg1)->Enable(arg2);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15330 return resultobj;
15331 fail:
15332 return NULL;
15333}
15334
15335
15336static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15337 PyObject *resultobj;
15338 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15339 PyObject * obj0 = 0 ;
15340 char *kwnames[] = {
15341 (char *) "self", NULL
15342 };
15343
15344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
15345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15346 {
15347 PyThreadState* __tstate = wxPyBeginAllowThreads();
15348 (arg1)->Toggle();
15349
15350 wxPyEndAllowThreads(__tstate);
15351 if (PyErr_Occurred()) SWIG_fail;
15352 }
15353 Py_INCREF(Py_None); resultobj = Py_None;
15354 return resultobj;
15355 fail:
15356 return NULL;
15357}
15358
15359
15360static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
15361 PyObject *resultobj;
15362 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15363 bool arg2 ;
15364 bool result;
15365 PyObject * obj0 = 0 ;
15366 PyObject * obj1 = 0 ;
15367 char *kwnames[] = {
15368 (char *) "self",(char *) "toggle", NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
15372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15373 {
15374 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
15377 {
15378 PyThreadState* __tstate = wxPyBeginAllowThreads();
15379 result = (bool)(arg1)->SetToggle(arg2);
15380
15381 wxPyEndAllowThreads(__tstate);
15382 if (PyErr_Occurred()) SWIG_fail;
15383 }
15384 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15385 return resultobj;
15386 fail:
15387 return NULL;
15388}
15389
15390
15391static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15392 PyObject *resultobj;
15393 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15394 wxString *arg2 = 0 ;
15395 bool result;
15396 bool temp2 = False ;
15397 PyObject * obj0 = 0 ;
15398 PyObject * obj1 = 0 ;
15399 char *kwnames[] = {
15400 (char *) "self",(char *) "help", NULL
15401 };
15402
15403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
15404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15405 {
15406 arg2 = wxString_in_helper(obj1);
15407 if (arg2 == NULL) SWIG_fail;
15408 temp2 = True;
15409 }
15410 {
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
15413
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15418 {
15419 if (temp2)
15420 delete arg2;
15421 }
15422 return resultobj;
15423 fail:
15424 {
15425 if (temp2)
15426 delete arg2;
15427 }
15428 return NULL;
15429}
15430
15431
15432static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15433 PyObject *resultobj;
15434 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15435 wxString *arg2 = 0 ;
15436 bool result;
15437 bool temp2 = False ;
15438 PyObject * obj0 = 0 ;
15439 PyObject * obj1 = 0 ;
15440 char *kwnames[] = {
15441 (char *) "self",(char *) "help", NULL
15442 };
15443
15444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
15445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15446 {
15447 arg2 = wxString_in_helper(obj1);
15448 if (arg2 == NULL) SWIG_fail;
15449 temp2 = True;
15450 }
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
15454
15455 wxPyEndAllowThreads(__tstate);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 }
15458 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15459 {
15460 if (temp2)
15461 delete arg2;
15462 }
15463 return resultobj;
15464 fail:
15465 {
15466 if (temp2)
15467 delete arg2;
15468 }
15469 return NULL;
15470}
15471
15472
15473static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15474 PyObject *resultobj;
15475 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15476 wxBitmap *arg2 = 0 ;
15477 PyObject * obj0 = 0 ;
15478 PyObject * obj1 = 0 ;
15479 char *kwnames[] = {
15480 (char *) "self",(char *) "bmp", NULL
15481 };
15482
15483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
15484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15486 if (arg2 == NULL) {
15487 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15488 }
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
15492
15493 wxPyEndAllowThreads(__tstate);
15494 if (PyErr_Occurred()) SWIG_fail;
15495 }
15496 Py_INCREF(Py_None); resultobj = Py_None;
15497 return resultobj;
15498 fail:
15499 return NULL;
15500}
15501
15502
15503static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
15504 PyObject *resultobj;
15505 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15506 wxBitmap *arg2 = 0 ;
15507 PyObject * obj0 = 0 ;
15508 PyObject * obj1 = 0 ;
15509 char *kwnames[] = {
15510 (char *) "self",(char *) "bmp", NULL
15511 };
15512
15513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
15514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15515 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15516 if (arg2 == NULL) {
15517 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15518 }
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 Py_INCREF(Py_None); resultobj = Py_None;
15527 return resultobj;
15528 fail:
15529 return NULL;
15530}
15531
15532
15533static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj;
15535 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15536 wxString *arg2 = 0 ;
15537 bool temp2 = False ;
15538 PyObject * obj0 = 0 ;
15539 PyObject * obj1 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self",(char *) "label", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15546 {
15547 arg2 = wxString_in_helper(obj1);
15548 if (arg2 == NULL) SWIG_fail;
15549 temp2 = True;
15550 }
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 (arg1)->SetLabel((wxString const &)*arg2);
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 Py_INCREF(Py_None); resultobj = Py_None;
15559 {
15560 if (temp2)
15561 delete arg2;
15562 }
15563 return resultobj;
15564 fail:
15565 {
15566 if (temp2)
15567 delete arg2;
15568 }
15569 return NULL;
15570}
15571
15572
15573static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
15574 PyObject *resultobj;
15575 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15576 PyObject * obj0 = 0 ;
15577 char *kwnames[] = {
15578 (char *) "self", NULL
15579 };
15580
15581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
15582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 (arg1)->Detach();
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 Py_INCREF(Py_None); resultobj = Py_None;
15591 return resultobj;
15592 fail:
15593 return NULL;
15594}
15595
15596
15597static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
15598 PyObject *resultobj;
15599 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15600 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
15601 PyObject * obj0 = 0 ;
15602 PyObject * obj1 = 0 ;
15603 char *kwnames[] = {
15604 (char *) "self",(char *) "tbar", NULL
15605 };
15606
15607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
15608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15609 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15610 {
15611 PyThreadState* __tstate = wxPyBeginAllowThreads();
15612 (arg1)->Attach(arg2);
15613
15614 wxPyEndAllowThreads(__tstate);
15615 if (PyErr_Occurred()) SWIG_fail;
15616 }
15617 Py_INCREF(Py_None); resultobj = Py_None;
15618 return resultobj;
15619 fail:
15620 return NULL;
15621}
15622
15623
15624static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15625 PyObject *resultobj;
15626 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15627 PyObject *result;
15628 PyObject * obj0 = 0 ;
15629 char *kwnames[] = {
15630 (char *) "self", NULL
15631 };
15632
15633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
15634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
15638
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
15642 resultobj = result;
15643 return resultobj;
15644 fail:
15645 return NULL;
15646}
15647
15648
15649static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
15650 PyObject *resultobj;
15651 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
15652 PyObject *arg2 = (PyObject *) 0 ;
15653 PyObject * obj0 = 0 ;
15654 PyObject * obj1 = 0 ;
15655 char *kwnames[] = {
15656 (char *) "self",(char *) "clientData", NULL
15657 };
15658
15659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
15660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15661 arg2 = obj1;
15662 {
15663 PyThreadState* __tstate = wxPyBeginAllowThreads();
15664 wxToolBarToolBase_SetClientData(arg1,arg2);
15665
15666 wxPyEndAllowThreads(__tstate);
15667 if (PyErr_Occurred()) SWIG_fail;
15668 }
15669 Py_INCREF(Py_None); resultobj = Py_None;
15670 return resultobj;
15671 fail:
15672 return NULL;
15673}
15674
15675
15676static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
15677 PyObject *obj;
15678 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15679 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
15680 Py_INCREF(obj);
15681 return Py_BuildValue((char *)"");
15682}
15683static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15684 PyObject *resultobj;
15685 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15686 int arg2 ;
15687 wxString *arg3 = 0 ;
15688 wxBitmap *arg4 = 0 ;
15689 wxBitmap const &arg5_defvalue = wxNullBitmap ;
15690 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
15691 int arg6 = (int) wxITEM_NORMAL ;
15692 wxString const &arg7_defvalue = wxPyEmptyString ;
15693 wxString *arg7 = (wxString *) &arg7_defvalue ;
15694 wxString const &arg8_defvalue = wxPyEmptyString ;
15695 wxString *arg8 = (wxString *) &arg8_defvalue ;
15696 PyObject *arg9 = (PyObject *) NULL ;
15697 wxToolBarToolBase *result;
15698 bool temp3 = False ;
15699 bool temp7 = False ;
15700 bool temp8 = False ;
15701 PyObject * obj0 = 0 ;
15702 PyObject * obj1 = 0 ;
15703 PyObject * obj2 = 0 ;
15704 PyObject * obj3 = 0 ;
15705 PyObject * obj4 = 0 ;
15706 PyObject * obj5 = 0 ;
15707 PyObject * obj6 = 0 ;
15708 PyObject * obj7 = 0 ;
15709 PyObject * obj8 = 0 ;
15710 char *kwnames[] = {
15711 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15712 };
15713
15714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
15715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15716 {
15717 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15718 if (PyErr_Occurred()) SWIG_fail;
15719 }
15720 {
15721 arg3 = wxString_in_helper(obj2);
15722 if (arg3 == NULL) SWIG_fail;
15723 temp3 = True;
15724 }
15725 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15726 if (arg4 == NULL) {
15727 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15728 }
15729 if (obj4) {
15730 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15731 if (arg5 == NULL) {
15732 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15733 }
15734 }
15735 if (obj5) {
15736 {
15737 arg6 = (wxItemKind) SWIG_PyObj_AsInt(obj5);
15738 if (PyErr_Occurred()) SWIG_fail;
15739 }
15740 }
15741 if (obj6) {
15742 {
15743 arg7 = wxString_in_helper(obj6);
15744 if (arg7 == NULL) SWIG_fail;
15745 temp7 = True;
15746 }
15747 }
15748 if (obj7) {
15749 {
15750 arg8 = wxString_in_helper(obj7);
15751 if (arg8 == NULL) SWIG_fail;
15752 temp8 = True;
15753 }
15754 }
15755 if (obj8) {
15756 arg9 = obj8;
15757 }
15758 {
15759 PyThreadState* __tstate = wxPyBeginAllowThreads();
15760 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
15761
15762 wxPyEndAllowThreads(__tstate);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 {
15766 resultobj = wxPyMake_wxObject(result);
15767 }
15768 {
15769 if (temp3)
15770 delete arg3;
15771 }
15772 {
15773 if (temp7)
15774 delete arg7;
15775 }
15776 {
15777 if (temp8)
15778 delete arg8;
15779 }
15780 return resultobj;
15781 fail:
15782 {
15783 if (temp3)
15784 delete arg3;
15785 }
15786 {
15787 if (temp7)
15788 delete arg7;
15789 }
15790 {
15791 if (temp8)
15792 delete arg8;
15793 }
15794 return NULL;
15795}
15796
15797
15798static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
15799 PyObject *resultobj;
15800 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15801 size_t arg2 ;
15802 int arg3 ;
15803 wxString *arg4 = 0 ;
15804 wxBitmap *arg5 = 0 ;
15805 wxBitmap const &arg6_defvalue = wxNullBitmap ;
15806 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
15807 int arg7 = (int) wxITEM_NORMAL ;
15808 wxString const &arg8_defvalue = wxPyEmptyString ;
15809 wxString *arg8 = (wxString *) &arg8_defvalue ;
15810 wxString const &arg9_defvalue = wxPyEmptyString ;
15811 wxString *arg9 = (wxString *) &arg9_defvalue ;
15812 PyObject *arg10 = (PyObject *) NULL ;
15813 wxToolBarToolBase *result;
15814 bool temp4 = False ;
15815 bool temp8 = False ;
15816 bool temp9 = False ;
15817 PyObject * obj0 = 0 ;
15818 PyObject * obj1 = 0 ;
15819 PyObject * obj2 = 0 ;
15820 PyObject * obj3 = 0 ;
15821 PyObject * obj4 = 0 ;
15822 PyObject * obj5 = 0 ;
15823 PyObject * obj6 = 0 ;
15824 PyObject * obj7 = 0 ;
15825 PyObject * obj8 = 0 ;
15826 PyObject * obj9 = 0 ;
15827 char *kwnames[] = {
15828 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
15829 };
15830
15831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
15832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15833 {
15834 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15835 if (PyErr_Occurred()) SWIG_fail;
15836 }
15837 {
15838 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 {
15842 arg4 = wxString_in_helper(obj3);
15843 if (arg4 == NULL) SWIG_fail;
15844 temp4 = True;
15845 }
15846 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15847 if (arg5 == NULL) {
15848 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15849 }
15850 if (obj5) {
15851 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15852 if (arg6 == NULL) {
15853 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15854 }
15855 }
15856 if (obj6) {
15857 {
15858 arg7 = (wxItemKind) SWIG_PyObj_AsInt(obj6);
15859 if (PyErr_Occurred()) SWIG_fail;
15860 }
15861 }
15862 if (obj7) {
15863 {
15864 arg8 = wxString_in_helper(obj7);
15865 if (arg8 == NULL) SWIG_fail;
15866 temp8 = True;
15867 }
15868 }
15869 if (obj8) {
15870 {
15871 arg9 = wxString_in_helper(obj8);
15872 if (arg9 == NULL) SWIG_fail;
15873 temp9 = True;
15874 }
15875 }
15876 if (obj9) {
15877 arg10 = obj9;
15878 }
15879 {
15880 PyThreadState* __tstate = wxPyBeginAllowThreads();
15881 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);
15882
15883 wxPyEndAllowThreads(__tstate);
15884 if (PyErr_Occurred()) SWIG_fail;
15885 }
15886 {
15887 resultobj = wxPyMake_wxObject(result);
15888 }
15889 {
15890 if (temp4)
15891 delete arg4;
15892 }
15893 {
15894 if (temp8)
15895 delete arg8;
15896 }
15897 {
15898 if (temp9)
15899 delete arg9;
15900 }
15901 return resultobj;
15902 fail:
15903 {
15904 if (temp4)
15905 delete arg4;
15906 }
15907 {
15908 if (temp8)
15909 delete arg8;
15910 }
15911 {
15912 if (temp9)
15913 delete arg9;
15914 }
15915 return NULL;
15916}
15917
15918
15919static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15920 PyObject *resultobj;
15921 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15922 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
15923 wxToolBarToolBase *result;
15924 PyObject * obj0 = 0 ;
15925 PyObject * obj1 = 0 ;
15926 char *kwnames[] = {
15927 (char *) "self",(char *) "tool", NULL
15928 };
15929
15930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
15931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15933 {
15934 PyThreadState* __tstate = wxPyBeginAllowThreads();
15935 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
15936
15937 wxPyEndAllowThreads(__tstate);
15938 if (PyErr_Occurred()) SWIG_fail;
15939 }
15940 {
15941 resultobj = wxPyMake_wxObject(result);
15942 }
15943 return resultobj;
15944 fail:
15945 return NULL;
15946}
15947
15948
15949static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15950 PyObject *resultobj;
15951 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15952 size_t arg2 ;
15953 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
15954 wxToolBarToolBase *result;
15955 PyObject * obj0 = 0 ;
15956 PyObject * obj1 = 0 ;
15957 PyObject * obj2 = 0 ;
15958 char *kwnames[] = {
15959 (char *) "self",(char *) "pos",(char *) "tool", NULL
15960 };
15961
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15964 {
15965 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
15966 if (PyErr_Occurred()) SWIG_fail;
15967 }
15968 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15969 {
15970 PyThreadState* __tstate = wxPyBeginAllowThreads();
15971 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
15972
15973 wxPyEndAllowThreads(__tstate);
15974 if (PyErr_Occurred()) SWIG_fail;
15975 }
15976 {
15977 resultobj = wxPyMake_wxObject(result);
15978 }
15979 return resultobj;
15980 fail:
15981 return NULL;
15982}
15983
15984
15985static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
15986 PyObject *resultobj;
15987 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15988 wxControl *arg2 = (wxControl *) 0 ;
15989 wxToolBarToolBase *result;
15990 PyObject * obj0 = 0 ;
15991 PyObject * obj1 = 0 ;
15992 char *kwnames[] = {
15993 (char *) "self",(char *) "control", NULL
15994 };
15995
15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
15997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 {
16007 resultobj = wxPyMake_wxObject(result);
16008 }
16009 return resultobj;
16010 fail:
16011 return NULL;
16012}
16013
16014
16015static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16016 PyObject *resultobj;
16017 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16018 size_t arg2 ;
16019 wxControl *arg3 = (wxControl *) 0 ;
16020 wxToolBarToolBase *result;
16021 PyObject * obj0 = 0 ;
16022 PyObject * obj1 = 0 ;
16023 PyObject * obj2 = 0 ;
16024 char *kwnames[] = {
16025 (char *) "self",(char *) "pos",(char *) "control", NULL
16026 };
16027
16028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
16029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16030 {
16031 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
16032 if (PyErr_Occurred()) SWIG_fail;
16033 }
16034 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16035 {
16036 PyThreadState* __tstate = wxPyBeginAllowThreads();
16037 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
16038
16039 wxPyEndAllowThreads(__tstate);
16040 if (PyErr_Occurred()) SWIG_fail;
16041 }
16042 {
16043 resultobj = wxPyMake_wxObject(result);
16044 }
16045 return resultobj;
16046 fail:
16047 return NULL;
16048}
16049
16050
16051static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
16052 PyObject *resultobj;
16053 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16054 int arg2 ;
16055 wxControl *result;
16056 PyObject * obj0 = 0 ;
16057 PyObject * obj1 = 0 ;
16058 char *kwnames[] = {
16059 (char *) "self",(char *) "id", NULL
16060 };
16061
16062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindControl",kwnames,&obj0,&obj1)) goto fail;
16063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16064 {
16065 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16066 if (PyErr_Occurred()) SWIG_fail;
16067 }
16068 {
16069 PyThreadState* __tstate = wxPyBeginAllowThreads();
16070 result = (wxControl *)(arg1)->FindControl(arg2);
16071
16072 wxPyEndAllowThreads(__tstate);
16073 if (PyErr_Occurred()) SWIG_fail;
16074 }
16075 {
16076 resultobj = wxPyMake_wxObject(result);
16077 }
16078 return resultobj;
16079 fail:
16080 return NULL;
16081}
16082
16083
16084static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16085 PyObject *resultobj;
16086 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16087 wxToolBarToolBase *result;
16088 PyObject * obj0 = 0 ;
16089 char *kwnames[] = {
16090 (char *) "self", NULL
16091 };
16092
16093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
16094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16095 {
16096 PyThreadState* __tstate = wxPyBeginAllowThreads();
16097 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
16098
16099 wxPyEndAllowThreads(__tstate);
16100 if (PyErr_Occurred()) SWIG_fail;
16101 }
16102 {
16103 resultobj = wxPyMake_wxObject(result);
16104 }
16105 return resultobj;
16106 fail:
16107 return NULL;
16108}
16109
16110
16111static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
16112 PyObject *resultobj;
16113 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16114 size_t arg2 ;
16115 wxToolBarToolBase *result;
16116 PyObject * obj0 = 0 ;
16117 PyObject * obj1 = 0 ;
16118 char *kwnames[] = {
16119 (char *) "self",(char *) "pos", NULL
16120 };
16121
16122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
16123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16124 {
16125 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
16126 if (PyErr_Occurred()) SWIG_fail;
16127 }
16128 {
16129 PyThreadState* __tstate = wxPyBeginAllowThreads();
16130 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
16131
16132 wxPyEndAllowThreads(__tstate);
16133 if (PyErr_Occurred()) SWIG_fail;
16134 }
16135 {
16136 resultobj = wxPyMake_wxObject(result);
16137 }
16138 return resultobj;
16139 fail:
16140 return NULL;
16141}
16142
16143
16144static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj;
16146 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16147 int arg2 ;
16148 wxToolBarToolBase *result;
16149 PyObject * obj0 = 0 ;
16150 PyObject * obj1 = 0 ;
16151 char *kwnames[] = {
16152 (char *) "self",(char *) "id", NULL
16153 };
16154
16155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_RemoveTool",kwnames,&obj0,&obj1)) goto fail;
16156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16157 {
16158 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 {
16162 PyThreadState* __tstate = wxPyBeginAllowThreads();
16163 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
16164
16165 wxPyEndAllowThreads(__tstate);
16166 if (PyErr_Occurred()) SWIG_fail;
16167 }
16168 {
16169 resultobj = wxPyMake_wxObject(result);
16170 }
16171 return resultobj;
16172 fail:
16173 return NULL;
16174}
16175
16176
16177static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16178 PyObject *resultobj;
16179 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16180 size_t arg2 ;
16181 bool result;
16182 PyObject * obj0 = 0 ;
16183 PyObject * obj1 = 0 ;
16184 char *kwnames[] = {
16185 (char *) "self",(char *) "pos", NULL
16186 };
16187
16188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
16189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16190 {
16191 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
16192 if (PyErr_Occurred()) SWIG_fail;
16193 }
16194 {
16195 PyThreadState* __tstate = wxPyBeginAllowThreads();
16196 result = (bool)(arg1)->DeleteToolByPos(arg2);
16197
16198 wxPyEndAllowThreads(__tstate);
16199 if (PyErr_Occurred()) SWIG_fail;
16200 }
16201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16202 return resultobj;
16203 fail:
16204 return NULL;
16205}
16206
16207
16208static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16209 PyObject *resultobj;
16210 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16211 int arg2 ;
16212 bool result;
16213 PyObject * obj0 = 0 ;
16214 PyObject * obj1 = 0 ;
16215 char *kwnames[] = {
16216 (char *) "self",(char *) "id", NULL
16217 };
16218
16219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteTool",kwnames,&obj0,&obj1)) goto fail;
16220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16221 {
16222 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16223 if (PyErr_Occurred()) SWIG_fail;
16224 }
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 result = (bool)(arg1)->DeleteTool(arg2);
16228
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16233 return resultobj;
16234 fail:
16235 return NULL;
16236}
16237
16238
16239static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
16240 PyObject *resultobj;
16241 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16242 PyObject * obj0 = 0 ;
16243 char *kwnames[] = {
16244 (char *) "self", NULL
16245 };
16246
16247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
16248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16249 {
16250 PyThreadState* __tstate = wxPyBeginAllowThreads();
16251 (arg1)->ClearTools();
16252
16253 wxPyEndAllowThreads(__tstate);
16254 if (PyErr_Occurred()) SWIG_fail;
16255 }
16256 Py_INCREF(Py_None); resultobj = Py_None;
16257 return resultobj;
16258 fail:
16259 return NULL;
16260}
16261
16262
16263static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
16264 PyObject *resultobj;
16265 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16266 bool result;
16267 PyObject * obj0 = 0 ;
16268 char *kwnames[] = {
16269 (char *) "self", NULL
16270 };
16271
16272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
16273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16274 {
16275 PyThreadState* __tstate = wxPyBeginAllowThreads();
16276 result = (bool)(arg1)->Realize();
16277
16278 wxPyEndAllowThreads(__tstate);
16279 if (PyErr_Occurred()) SWIG_fail;
16280 }
16281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16282 return resultobj;
16283 fail:
16284 return NULL;
16285}
16286
16287
16288static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16289 PyObject *resultobj;
16290 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16291 int arg2 ;
16292 bool arg3 ;
16293 PyObject * obj0 = 0 ;
16294 PyObject * obj1 = 0 ;
16295 PyObject * obj2 = 0 ;
16296 char *kwnames[] = {
16297 (char *) "self",(char *) "id",(char *) "enable", NULL
16298 };
16299
16300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_EnableTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16302 {
16303 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16304 if (PyErr_Occurred()) SWIG_fail;
16305 }
16306 {
16307 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16308 if (PyErr_Occurred()) SWIG_fail;
16309 }
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 (arg1)->EnableTool(arg2,arg3);
16313
16314 wxPyEndAllowThreads(__tstate);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 }
16317 Py_INCREF(Py_None); resultobj = Py_None;
16318 return resultobj;
16319 fail:
16320 return NULL;
16321}
16322
16323
16324static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
16325 PyObject *resultobj;
16326 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16327 int arg2 ;
16328 bool arg3 ;
16329 PyObject * obj0 = 0 ;
16330 PyObject * obj1 = 0 ;
16331 PyObject * obj2 = 0 ;
16332 char *kwnames[] = {
16333 (char *) "self",(char *) "id",(char *) "toggle", NULL
16334 };
16335
16336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_ToggleTool",kwnames,&obj0,&obj1,&obj2)) goto fail;
16337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16338 {
16339 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 {
16343 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16344 if (PyErr_Occurred()) SWIG_fail;
16345 }
16346 {
16347 PyThreadState* __tstate = wxPyBeginAllowThreads();
16348 (arg1)->ToggleTool(arg2,arg3);
16349
16350 wxPyEndAllowThreads(__tstate);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 }
16353 Py_INCREF(Py_None); resultobj = Py_None;
16354 return resultobj;
16355 fail:
16356 return NULL;
16357}
16358
16359
16360static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16363 int arg2 ;
16364 bool arg3 ;
16365 PyObject * obj0 = 0 ;
16366 PyObject * obj1 = 0 ;
16367 PyObject * obj2 = 0 ;
16368 char *kwnames[] = {
16369 (char *) "self",(char *) "id",(char *) "toggle", NULL
16370 };
16371
16372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToggle",kwnames,&obj0,&obj1,&obj2)) goto fail;
16373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16374 {
16375 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16376 if (PyErr_Occurred()) SWIG_fail;
16377 }
16378 {
16379 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
16380 if (PyErr_Occurred()) SWIG_fail;
16381 }
16382 {
16383 PyThreadState* __tstate = wxPyBeginAllowThreads();
16384 (arg1)->SetToggle(arg2,arg3);
16385
16386 wxPyEndAllowThreads(__tstate);
16387 if (PyErr_Occurred()) SWIG_fail;
16388 }
16389 Py_INCREF(Py_None); resultobj = Py_None;
16390 return resultobj;
16391 fail:
16392 return NULL;
16393}
16394
16395
16396static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16397 PyObject *resultobj;
16398 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16399 int arg2 ;
16400 PyObject *result;
16401 PyObject * obj0 = 0 ;
16402 PyObject * obj1 = 0 ;
16403 char *kwnames[] = {
16404 (char *) "self",(char *) "id", NULL
16405 };
16406
16407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolClientData",kwnames,&obj0,&obj1)) goto fail;
16408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16409 {
16410 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16411 if (PyErr_Occurred()) SWIG_fail;
16412 }
16413 {
16414 PyThreadState* __tstate = wxPyBeginAllowThreads();
16415 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
16416
16417 wxPyEndAllowThreads(__tstate);
16418 if (PyErr_Occurred()) SWIG_fail;
16419 }
16420 resultobj = result;
16421 return resultobj;
16422 fail:
16423 return NULL;
16424}
16425
16426
16427static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
16428 PyObject *resultobj;
16429 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16430 int arg2 ;
16431 PyObject *arg3 = (PyObject *) 0 ;
16432 PyObject * obj0 = 0 ;
16433 PyObject * obj1 = 0 ;
16434 PyObject * obj2 = 0 ;
16435 char *kwnames[] = {
16436 (char *) "self",(char *) "id",(char *) "clientData", NULL
16437 };
16438
16439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
16440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16441 {
16442 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16443 if (PyErr_Occurred()) SWIG_fail;
16444 }
16445 arg3 = obj2;
16446 {
16447 PyThreadState* __tstate = wxPyBeginAllowThreads();
16448 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
16449
16450 wxPyEndAllowThreads(__tstate);
16451 if (PyErr_Occurred()) SWIG_fail;
16452 }
16453 Py_INCREF(Py_None); resultobj = Py_None;
16454 return resultobj;
16455 fail:
16456 return NULL;
16457}
16458
16459
16460static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj;
16462 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16463 int arg2 ;
16464 int result;
16465 PyObject * obj0 = 0 ;
16466 PyObject * obj1 = 0 ;
16467 char *kwnames[] = {
16468 (char *) "self",(char *) "id", NULL
16469 };
16470
16471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolPos",kwnames,&obj0,&obj1)) goto fail;
16472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16473 {
16474 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16475 if (PyErr_Occurred()) SWIG_fail;
16476 }
16477 {
16478 PyThreadState* __tstate = wxPyBeginAllowThreads();
16479 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
16480
16481 wxPyEndAllowThreads(__tstate);
16482 if (PyErr_Occurred()) SWIG_fail;
16483 }
16484 resultobj = SWIG_PyObj_FromInt((int)result);
16485 return resultobj;
16486 fail:
16487 return NULL;
16488}
16489
16490
16491static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
16492 PyObject *resultobj;
16493 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16494 int arg2 ;
16495 bool result;
16496 PyObject * obj0 = 0 ;
16497 PyObject * obj1 = 0 ;
16498 char *kwnames[] = {
16499 (char *) "self",(char *) "id", NULL
16500 };
16501
16502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolState",kwnames,&obj0,&obj1)) goto fail;
16503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16504 {
16505 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16506 if (PyErr_Occurred()) SWIG_fail;
16507 }
16508 {
16509 PyThreadState* __tstate = wxPyBeginAllowThreads();
16510 result = (bool)(arg1)->GetToolState(arg2);
16511
16512 wxPyEndAllowThreads(__tstate);
16513 if (PyErr_Occurred()) SWIG_fail;
16514 }
16515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16516 return resultobj;
16517 fail:
16518 return NULL;
16519}
16520
16521
16522static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16525 int arg2 ;
16526 bool result;
16527 PyObject * obj0 = 0 ;
16528 PyObject * obj1 = 0 ;
16529 char *kwnames[] = {
16530 (char *) "self",(char *) "id", NULL
16531 };
16532
16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames,&obj0,&obj1)) goto fail;
16534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16535 {
16536 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
16539 {
16540 PyThreadState* __tstate = wxPyBeginAllowThreads();
16541 result = (bool)(arg1)->GetToolEnabled(arg2);
16542
16543 wxPyEndAllowThreads(__tstate);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 }
16546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16547 return resultobj;
16548 fail:
16549 return NULL;
16550}
16551
16552
16553static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16554 PyObject *resultobj;
16555 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16556 int arg2 ;
16557 wxString *arg3 = 0 ;
16558 bool temp3 = False ;
16559 PyObject * obj0 = 0 ;
16560 PyObject * obj1 = 0 ;
16561 PyObject * obj2 = 0 ;
16562 char *kwnames[] = {
16563 (char *) "self",(char *) "id",(char *) "helpString", NULL
16564 };
16565
16566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16568 {
16569 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 {
16573 arg3 = wxString_in_helper(obj2);
16574 if (arg3 == NULL) SWIG_fail;
16575 temp3 = True;
16576 }
16577 {
16578 PyThreadState* __tstate = wxPyBeginAllowThreads();
16579 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
16580
16581 wxPyEndAllowThreads(__tstate);
16582 if (PyErr_Occurred()) SWIG_fail;
16583 }
16584 Py_INCREF(Py_None); resultobj = Py_None;
16585 {
16586 if (temp3)
16587 delete arg3;
16588 }
16589 return resultobj;
16590 fail:
16591 {
16592 if (temp3)
16593 delete arg3;
16594 }
16595 return NULL;
16596}
16597
16598
16599static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16600 PyObject *resultobj;
16601 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16602 int arg2 ;
16603 wxString result;
16604 PyObject * obj0 = 0 ;
16605 PyObject * obj1 = 0 ;
16606 char *kwnames[] = {
16607 (char *) "self",(char *) "id", NULL
16608 };
16609
16610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&obj1)) goto fail;
16611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16612 {
16613 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16614 if (PyErr_Occurred()) SWIG_fail;
16615 }
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 result = (arg1)->GetToolShortHelp(arg2);
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 {
16624#if wxUSE_UNICODE
16625 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16626#else
16627 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16628#endif
16629 }
16630 return resultobj;
16631 fail:
16632 return NULL;
16633}
16634
16635
16636static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj;
16638 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16639 int arg2 ;
16640 wxString *arg3 = 0 ;
16641 bool temp3 = False ;
16642 PyObject * obj0 = 0 ;
16643 PyObject * obj1 = 0 ;
16644 PyObject * obj2 = 0 ;
16645 char *kwnames[] = {
16646 (char *) "self",(char *) "id",(char *) "helpString", NULL
16647 };
16648
16649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
16650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16651 {
16652 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16653 if (PyErr_Occurred()) SWIG_fail;
16654 }
16655 {
16656 arg3 = wxString_in_helper(obj2);
16657 if (arg3 == NULL) SWIG_fail;
16658 temp3 = True;
16659 }
16660 {
16661 PyThreadState* __tstate = wxPyBeginAllowThreads();
16662 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
16663
16664 wxPyEndAllowThreads(__tstate);
16665 if (PyErr_Occurred()) SWIG_fail;
16666 }
16667 Py_INCREF(Py_None); resultobj = Py_None;
16668 {
16669 if (temp3)
16670 delete arg3;
16671 }
16672 return resultobj;
16673 fail:
16674 {
16675 if (temp3)
16676 delete arg3;
16677 }
16678 return NULL;
16679}
16680
16681
16682static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16683 PyObject *resultobj;
16684 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16685 int arg2 ;
16686 wxString result;
16687 PyObject * obj0 = 0 ;
16688 PyObject * obj1 = 0 ;
16689 char *kwnames[] = {
16690 (char *) "self",(char *) "id", NULL
16691 };
16692
16693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&obj1)) goto fail;
16694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16695 {
16696 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 result = (arg1)->GetToolLongHelp(arg2);
16702
16703 wxPyEndAllowThreads(__tstate);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
16706 {
16707#if wxUSE_UNICODE
16708 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16709#else
16710 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16711#endif
16712 }
16713 return resultobj;
16714 fail:
16715 return NULL;
16716}
16717
16718
16719static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
16720 PyObject *resultobj;
16721 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16722 int arg2 ;
16723 int arg3 ;
16724 PyObject * obj0 = 0 ;
16725 PyObject * obj1 = 0 ;
16726 PyObject * obj2 = 0 ;
16727 char *kwnames[] = {
16728 (char *) "self",(char *) "x",(char *) "y", NULL
16729 };
16730
16731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
16732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16733 {
16734 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16735 if (PyErr_Occurred()) SWIG_fail;
16736 }
16737 {
16738 arg3 = (int) SWIG_PyObj_AsInt(obj2);
16739 if (PyErr_Occurred()) SWIG_fail;
16740 }
16741 {
16742 PyThreadState* __tstate = wxPyBeginAllowThreads();
16743 (arg1)->SetMargins(arg2,arg3);
16744
16745 wxPyEndAllowThreads(__tstate);
16746 if (PyErr_Occurred()) SWIG_fail;
16747 }
16748 Py_INCREF(Py_None); resultobj = Py_None;
16749 return resultobj;
16750 fail:
16751 return NULL;
16752}
16753
16754
16755static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16756 PyObject *resultobj;
16757 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16758 wxSize *arg2 = 0 ;
16759 wxSize temp2 ;
16760 PyObject * obj0 = 0 ;
16761 PyObject * obj1 = 0 ;
16762 char *kwnames[] = {
16763 (char *) "self",(char *) "size", NULL
16764 };
16765
16766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
16767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16768 {
16769 arg2 = &temp2;
16770 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16771 }
16772 {
16773 PyThreadState* __tstate = wxPyBeginAllowThreads();
16774 (arg1)->SetMargins((wxSize const &)*arg2);
16775
16776 wxPyEndAllowThreads(__tstate);
16777 if (PyErr_Occurred()) SWIG_fail;
16778 }
16779 Py_INCREF(Py_None); resultobj = Py_None;
16780 return resultobj;
16781 fail:
16782 return NULL;
16783}
16784
16785
16786static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16787 PyObject *resultobj;
16788 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16789 int arg2 ;
16790 PyObject * obj0 = 0 ;
16791 PyObject * obj1 = 0 ;
16792 char *kwnames[] = {
16793 (char *) "self",(char *) "packing", NULL
16794 };
16795
16796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolPacking",kwnames,&obj0,&obj1)) goto fail;
16797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16798 {
16799 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16800 if (PyErr_Occurred()) SWIG_fail;
16801 }
16802 {
16803 PyThreadState* __tstate = wxPyBeginAllowThreads();
16804 (arg1)->SetToolPacking(arg2);
16805
16806 wxPyEndAllowThreads(__tstate);
16807 if (PyErr_Occurred()) SWIG_fail;
16808 }
16809 Py_INCREF(Py_None); resultobj = Py_None;
16810 return resultobj;
16811 fail:
16812 return NULL;
16813}
16814
16815
16816static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16817 PyObject *resultobj;
16818 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16819 int arg2 ;
16820 PyObject * obj0 = 0 ;
16821 PyObject * obj1 = 0 ;
16822 char *kwnames[] = {
16823 (char *) "self",(char *) "separation", NULL
16824 };
16825
16826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames,&obj0,&obj1)) goto fail;
16827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16828 {
16829 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16830 if (PyErr_Occurred()) SWIG_fail;
16831 }
16832 {
16833 PyThreadState* __tstate = wxPyBeginAllowThreads();
16834 (arg1)->SetToolSeparation(arg2);
16835
16836 wxPyEndAllowThreads(__tstate);
16837 if (PyErr_Occurred()) SWIG_fail;
16838 }
16839 Py_INCREF(Py_None); resultobj = Py_None;
16840 return resultobj;
16841 fail:
16842 return NULL;
16843}
16844
16845
16846static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj;
16848 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16849 wxSize result;
16850 PyObject * obj0 = 0 ;
16851 char *kwnames[] = {
16852 (char *) "self", NULL
16853 };
16854
16855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
16856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16857 {
16858 PyThreadState* __tstate = wxPyBeginAllowThreads();
16859 result = (arg1)->GetToolMargins();
16860
16861 wxPyEndAllowThreads(__tstate);
16862 if (PyErr_Occurred()) SWIG_fail;
16863 }
16864 {
16865 wxSize * resultptr;
16866 resultptr = new wxSize((wxSize &) result);
16867 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16868 }
16869 return resultobj;
16870 fail:
16871 return NULL;
16872}
16873
16874
16875static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16876 PyObject *resultobj;
16877 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16878 wxSize result;
16879 PyObject * obj0 = 0 ;
16880 char *kwnames[] = {
16881 (char *) "self", NULL
16882 };
16883
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
16885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16886 {
16887 PyThreadState* __tstate = wxPyBeginAllowThreads();
16888 result = (arg1)->GetMargins();
16889
16890 wxPyEndAllowThreads(__tstate);
16891 if (PyErr_Occurred()) SWIG_fail;
16892 }
16893 {
16894 wxSize * resultptr;
16895 resultptr = new wxSize((wxSize &) result);
16896 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16897 }
16898 return resultobj;
16899 fail:
16900 return NULL;
16901}
16902
16903
16904static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
16905 PyObject *resultobj;
16906 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16907 int result;
16908 PyObject * obj0 = 0 ;
16909 char *kwnames[] = {
16910 (char *) "self", NULL
16911 };
16912
16913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
16914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
16917 result = (int)(arg1)->GetToolPacking();
16918
16919 wxPyEndAllowThreads(__tstate);
16920 if (PyErr_Occurred()) SWIG_fail;
16921 }
16922 resultobj = SWIG_PyObj_FromInt((int)result);
16923 return resultobj;
16924 fail:
16925 return NULL;
16926}
16927
16928
16929static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
16930 PyObject *resultobj;
16931 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16932 int result;
16933 PyObject * obj0 = 0 ;
16934 char *kwnames[] = {
16935 (char *) "self", NULL
16936 };
16937
16938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
16939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16940 {
16941 PyThreadState* __tstate = wxPyBeginAllowThreads();
16942 result = (int)(arg1)->GetToolSeparation();
16943
16944 wxPyEndAllowThreads(__tstate);
16945 if (PyErr_Occurred()) SWIG_fail;
16946 }
16947 resultobj = SWIG_PyObj_FromInt((int)result);
16948 return resultobj;
16949 fail:
16950 return NULL;
16951}
16952
16953
16954static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
16955 PyObject *resultobj;
16956 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16957 int arg2 ;
16958 PyObject * obj0 = 0 ;
16959 PyObject * obj1 = 0 ;
16960 char *kwnames[] = {
16961 (char *) "self",(char *) "nRows", NULL
16962 };
16963
16964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetRows",kwnames,&obj0,&obj1)) goto fail;
16965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16966 {
16967 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16968 if (PyErr_Occurred()) SWIG_fail;
16969 }
16970 {
16971 PyThreadState* __tstate = wxPyBeginAllowThreads();
16972 (arg1)->SetRows(arg2);
16973
16974 wxPyEndAllowThreads(__tstate);
16975 if (PyErr_Occurred()) SWIG_fail;
16976 }
16977 Py_INCREF(Py_None); resultobj = Py_None;
16978 return resultobj;
16979 fail:
16980 return NULL;
16981}
16982
16983
16984static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
16985 PyObject *resultobj;
16986 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
16987 int arg2 ;
16988 int arg3 ;
16989 PyObject * obj0 = 0 ;
16990 PyObject * obj1 = 0 ;
16991 PyObject * obj2 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "self",(char *) "rows",(char *) "cols", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&obj1,&obj2)) goto fail;
16997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16998 {
16999 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17000 if (PyErr_Occurred()) SWIG_fail;
17001 }
17002 {
17003 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17004 if (PyErr_Occurred()) SWIG_fail;
17005 }
17006 {
17007 PyThreadState* __tstate = wxPyBeginAllowThreads();
17008 (arg1)->SetMaxRowsCols(arg2,arg3);
17009
17010 wxPyEndAllowThreads(__tstate);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
17013 Py_INCREF(Py_None); resultobj = Py_None;
17014 return resultobj;
17015 fail:
17016 return NULL;
17017}
17018
17019
17020static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
17021 PyObject *resultobj;
17022 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17023 int result;
17024 PyObject * obj0 = 0 ;
17025 char *kwnames[] = {
17026 (char *) "self", NULL
17027 };
17028
17029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
17030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17031 {
17032 PyThreadState* __tstate = wxPyBeginAllowThreads();
17033 result = (int)(arg1)->GetMaxRows();
17034
17035 wxPyEndAllowThreads(__tstate);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 }
17038 resultobj = SWIG_PyObj_FromInt((int)result);
17039 return resultobj;
17040 fail:
17041 return NULL;
17042}
17043
17044
17045static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
17046 PyObject *resultobj;
17047 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17048 int result;
17049 PyObject * obj0 = 0 ;
17050 char *kwnames[] = {
17051 (char *) "self", NULL
17052 };
17053
17054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
17055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17056 {
17057 PyThreadState* __tstate = wxPyBeginAllowThreads();
17058 result = (int)(arg1)->GetMaxCols();
17059
17060 wxPyEndAllowThreads(__tstate);
17061 if (PyErr_Occurred()) SWIG_fail;
17062 }
17063 resultobj = SWIG_PyObj_FromInt((int)result);
17064 return resultobj;
17065 fail:
17066 return NULL;
17067}
17068
17069
17070static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17071 PyObject *resultobj;
17072 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17073 wxSize *arg2 = 0 ;
17074 wxSize temp2 ;
17075 PyObject * obj0 = 0 ;
17076 PyObject * obj1 = 0 ;
17077 char *kwnames[] = {
17078 (char *) "self",(char *) "size", NULL
17079 };
17080
17081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
17082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17083 {
17084 arg2 = &temp2;
17085 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17086 }
17087 {
17088 PyThreadState* __tstate = wxPyBeginAllowThreads();
17089 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
17090
17091 wxPyEndAllowThreads(__tstate);
17092 if (PyErr_Occurred()) SWIG_fail;
17093 }
17094 Py_INCREF(Py_None); resultobj = Py_None;
17095 return resultobj;
17096 fail:
17097 return NULL;
17098}
17099
17100
17101static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17102 PyObject *resultobj;
17103 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17104 wxSize result;
17105 PyObject * obj0 = 0 ;
17106 char *kwnames[] = {
17107 (char *) "self", NULL
17108 };
17109
17110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
17111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 result = (arg1)->GetToolBitmapSize();
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 {
17120 wxSize * resultptr;
17121 resultptr = new wxSize((wxSize &) result);
17122 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17123 }
17124 return resultobj;
17125 fail:
17126 return NULL;
17127}
17128
17129
17130static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj;
17132 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17133 wxSize result;
17134 PyObject * obj0 = 0 ;
17135 char *kwnames[] = {
17136 (char *) "self", NULL
17137 };
17138
17139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
17140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17141 {
17142 PyThreadState* __tstate = wxPyBeginAllowThreads();
17143 result = (arg1)->GetToolSize();
17144
17145 wxPyEndAllowThreads(__tstate);
17146 if (PyErr_Occurred()) SWIG_fail;
17147 }
17148 {
17149 wxSize * resultptr;
17150 resultptr = new wxSize((wxSize &) result);
17151 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17152 }
17153 return resultobj;
17154 fail:
17155 return NULL;
17156}
17157
17158
17159static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17160 PyObject *resultobj;
17161 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17162 int arg2 ;
17163 int arg3 ;
17164 wxToolBarToolBase *result;
17165 PyObject * obj0 = 0 ;
17166 PyObject * obj1 = 0 ;
17167 PyObject * obj2 = 0 ;
17168 char *kwnames[] = {
17169 (char *) "self",(char *) "x",(char *) "y", NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17174 {
17175 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 {
17179 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 }
17182 {
17183 PyThreadState* __tstate = wxPyBeginAllowThreads();
17184 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17185
17186 wxPyEndAllowThreads(__tstate);
17187 if (PyErr_Occurred()) SWIG_fail;
17188 }
17189 {
17190 resultobj = wxPyMake_wxObject(result);
17191 }
17192 return resultobj;
17193 fail:
17194 return NULL;
17195}
17196
17197
17198static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
17199 PyObject *resultobj;
17200 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17201 int arg2 ;
17202 wxToolBarToolBase *result;
17203 PyObject * obj0 = 0 ;
17204 PyObject * obj1 = 0 ;
17205 char *kwnames[] = {
17206 (char *) "self",(char *) "toolid", NULL
17207 };
17208
17209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_FindById",kwnames,&obj0,&obj1)) goto fail;
17210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17211 {
17212 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17213 if (PyErr_Occurred()) SWIG_fail;
17214 }
17215 {
17216 PyThreadState* __tstate = wxPyBeginAllowThreads();
17217 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
17218
17219 wxPyEndAllowThreads(__tstate);
17220 if (PyErr_Occurred()) SWIG_fail;
17221 }
17222 {
17223 resultobj = wxPyMake_wxObject(result);
17224 }
17225 return resultobj;
17226 fail:
17227 return NULL;
17228}
17229
17230
17231static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
17232 PyObject *resultobj;
17233 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
17234 bool result;
17235 PyObject * obj0 = 0 ;
17236 char *kwnames[] = {
17237 (char *) "self", NULL
17238 };
17239
17240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
17241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17242 {
17243 PyThreadState* __tstate = wxPyBeginAllowThreads();
17244 result = (bool)(arg1)->IsVertical();
17245
17246 wxPyEndAllowThreads(__tstate);
17247 if (PyErr_Occurred()) SWIG_fail;
17248 }
17249 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17250 return resultobj;
17251 fail:
17252 return NULL;
17253}
17254
17255
17256static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
17257 PyObject *obj;
17258 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17259 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
17260 Py_INCREF(obj);
17261 return Py_BuildValue((char *)"");
17262}
17263static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj;
17265 wxWindow *arg1 = (wxWindow *) 0 ;
17266 int arg2 ;
17267 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17268 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17269 wxSize const &arg4_defvalue = wxDefaultSize ;
17270 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17271 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17272 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
17273 wxString *arg6 = (wxString *) &arg6_defvalue ;
17274 wxToolBar *result;
17275 wxPoint temp3 ;
17276 wxSize temp4 ;
17277 bool temp6 = False ;
17278 PyObject * obj0 = 0 ;
17279 PyObject * obj1 = 0 ;
17280 PyObject * obj2 = 0 ;
17281 PyObject * obj3 = 0 ;
17282 PyObject * obj4 = 0 ;
17283 PyObject * obj5 = 0 ;
17284 char *kwnames[] = {
17285 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17286 };
17287
17288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_ToolBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
17289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17290 {
17291 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 }
17294 if (obj2) {
17295 {
17296 arg3 = &temp3;
17297 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17298 }
17299 }
17300 if (obj3) {
17301 {
17302 arg4 = &temp4;
17303 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17304 }
17305 }
17306 if (obj4) {
17307 {
17308 arg5 = (long) SWIG_PyObj_AsLong(obj4);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
17311 }
17312 if (obj5) {
17313 {
17314 arg6 = wxString_in_helper(obj5);
17315 if (arg6 == NULL) SWIG_fail;
17316 temp6 = True;
17317 }
17318 }
17319 {
17320 PyThreadState* __tstate = wxPyBeginAllowThreads();
17321 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
17322
17323 wxPyEndAllowThreads(__tstate);
17324 if (PyErr_Occurred()) SWIG_fail;
17325 }
17326 {
17327 resultobj = wxPyMake_wxObject(result);
17328 }
17329 {
17330 if (temp6)
17331 delete arg6;
17332 }
17333 return resultobj;
17334 fail:
17335 {
17336 if (temp6)
17337 delete arg6;
17338 }
17339 return NULL;
17340}
17341
17342
17343static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
17344 PyObject *resultobj;
17345 wxToolBar *result;
17346 char *kwnames[] = {
17347 NULL
17348 };
17349
17350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
17351 {
17352 PyThreadState* __tstate = wxPyBeginAllowThreads();
17353 result = (wxToolBar *)new wxToolBar();
17354
17355 wxPyEndAllowThreads(__tstate);
17356 if (PyErr_Occurred()) SWIG_fail;
17357 }
17358 {
17359 resultobj = wxPyMake_wxObject(result);
17360 }
17361 return resultobj;
17362 fail:
17363 return NULL;
17364}
17365
17366
17367static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17368 PyObject *resultobj;
17369 wxToolBar *arg1 = (wxToolBar *) 0 ;
17370 wxWindow *arg2 = (wxWindow *) 0 ;
17371 int arg3 ;
17372 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17373 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17374 wxSize const &arg5_defvalue = wxDefaultSize ;
17375 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17376 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
17377 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
17378 wxString *arg7 = (wxString *) &arg7_defvalue ;
17379 bool result;
17380 wxPoint temp4 ;
17381 wxSize temp5 ;
17382 bool temp7 = False ;
17383 PyObject * obj0 = 0 ;
17384 PyObject * obj1 = 0 ;
17385 PyObject * obj2 = 0 ;
17386 PyObject * obj3 = 0 ;
17387 PyObject * obj4 = 0 ;
17388 PyObject * obj5 = 0 ;
17389 PyObject * obj6 = 0 ;
17390 char *kwnames[] = {
17391 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17392 };
17393
17394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:ToolBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
17395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17396 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17397 {
17398 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
17401 if (obj3) {
17402 {
17403 arg4 = &temp4;
17404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17405 }
17406 }
17407 if (obj4) {
17408 {
17409 arg5 = &temp5;
17410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17411 }
17412 }
17413 if (obj5) {
17414 {
17415 arg6 = (long) SWIG_PyObj_AsLong(obj5);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 }
17418 }
17419 if (obj6) {
17420 {
17421 arg7 = wxString_in_helper(obj6);
17422 if (arg7 == NULL) SWIG_fail;
17423 temp7 = True;
17424 }
17425 }
17426 {
17427 PyThreadState* __tstate = wxPyBeginAllowThreads();
17428 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
17429
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17434 {
17435 if (temp7)
17436 delete arg7;
17437 }
17438 return resultobj;
17439 fail:
17440 {
17441 if (temp7)
17442 delete arg7;
17443 }
17444 return NULL;
17445}
17446
17447
17448static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17449 PyObject *resultobj;
17450 wxToolBar *arg1 = (wxToolBar *) 0 ;
17451 int arg2 ;
17452 int arg3 ;
17453 wxToolBarToolBase *result;
17454 PyObject * obj0 = 0 ;
17455 PyObject * obj1 = 0 ;
17456 PyObject * obj2 = 0 ;
17457 char *kwnames[] = {
17458 (char *) "self",(char *) "x",(char *) "y", NULL
17459 };
17460
17461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBar_FindToolForPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
17462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17463 {
17464 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17465 if (PyErr_Occurred()) SWIG_fail;
17466 }
17467 {
17468 arg3 = (int) SWIG_PyObj_AsInt(obj2);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 {
17472 PyThreadState* __tstate = wxPyBeginAllowThreads();
17473 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
17474
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 {
17479 resultobj = wxPyMake_wxObject(result);
17480 }
17481 return resultobj;
17482 fail:
17483 return NULL;
17484}
17485
17486
17487static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
17488 PyObject *obj;
17489 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17490 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
17491 Py_INCREF(obj);
17492 return Py_BuildValue((char *)"");
17493}
17494static int _wrap_ListCtrlNameStr_set(PyObject *) {
17495 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
17496 return 1;
17497}
17498
17499
17500static PyObject *_wrap_ListCtrlNameStr_get() {
17501 PyObject *pyobj;
17502
17503 {
17504#if wxUSE_UNICODE
17505 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17506#else
17507 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
17508#endif
17509 }
17510 return pyobj;
17511}
17512
17513
17514static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxColour const &arg1_defvalue = wxNullColour ;
17517 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
17518 wxColour const &arg2_defvalue = wxNullColour ;
17519 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
17520 wxFont const &arg3_defvalue = wxNullFont ;
17521 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
17522 wxListItemAttr *result;
17523 wxColour temp1 ;
17524 wxColour temp2 ;
17525 PyObject * obj0 = 0 ;
17526 PyObject * obj1 = 0 ;
17527 PyObject * obj2 = 0 ;
17528 char *kwnames[] = {
17529 (char *) "colText",(char *) "colBack",(char *) "font", NULL
17530 };
17531
17532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
17533 if (obj0) {
17534 {
17535 arg1 = &temp1;
17536 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
17537 }
17538 }
17539 if (obj1) {
17540 {
17541 arg2 = &temp2;
17542 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17543 }
17544 }
17545 if (obj2) {
17546 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17547 if (arg3 == NULL) {
17548 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17549 }
17550 }
17551 {
17552 PyThreadState* __tstate = wxPyBeginAllowThreads();
17553 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
17554
17555 wxPyEndAllowThreads(__tstate);
17556 if (PyErr_Occurred()) SWIG_fail;
17557 }
17558 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
17559 return resultobj;
17560 fail:
17561 return NULL;
17562}
17563
17564
17565static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17566 PyObject *resultobj;
17567 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17568 wxColour *arg2 = 0 ;
17569 wxColour temp2 ;
17570 PyObject * obj0 = 0 ;
17571 PyObject * obj1 = 0 ;
17572 char *kwnames[] = {
17573 (char *) "self",(char *) "colText", NULL
17574 };
17575
17576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17578 {
17579 arg2 = &temp2;
17580 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17581 }
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 (arg1)->SetTextColour((wxColour const &)*arg2);
17585
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
17589 Py_INCREF(Py_None); resultobj = Py_None;
17590 return resultobj;
17591 fail:
17592 return NULL;
17593}
17594
17595
17596static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17597 PyObject *resultobj;
17598 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17599 wxColour *arg2 = 0 ;
17600 wxColour temp2 ;
17601 PyObject * obj0 = 0 ;
17602 PyObject * obj1 = 0 ;
17603 char *kwnames[] = {
17604 (char *) "self",(char *) "colBack", NULL
17605 };
17606
17607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17609 {
17610 arg2 = &temp2;
17611 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17612 }
17613 {
17614 PyThreadState* __tstate = wxPyBeginAllowThreads();
17615 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
17616
17617 wxPyEndAllowThreads(__tstate);
17618 if (PyErr_Occurred()) SWIG_fail;
17619 }
17620 Py_INCREF(Py_None); resultobj = Py_None;
17621 return resultobj;
17622 fail:
17623 return NULL;
17624}
17625
17626
17627static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17628 PyObject *resultobj;
17629 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17630 wxFont *arg2 = 0 ;
17631 PyObject * obj0 = 0 ;
17632 PyObject * obj1 = 0 ;
17633 char *kwnames[] = {
17634 (char *) "self",(char *) "font", NULL
17635 };
17636
17637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
17638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17639 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17640 if (arg2 == NULL) {
17641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17642 }
17643 {
17644 PyThreadState* __tstate = wxPyBeginAllowThreads();
17645 (arg1)->SetFont((wxFont const &)*arg2);
17646
17647 wxPyEndAllowThreads(__tstate);
17648 if (PyErr_Occurred()) SWIG_fail;
17649 }
17650 Py_INCREF(Py_None); resultobj = Py_None;
17651 return resultobj;
17652 fail:
17653 return NULL;
17654}
17655
17656
17657static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17658 PyObject *resultobj;
17659 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17660 bool result;
17661 PyObject * obj0 = 0 ;
17662 char *kwnames[] = {
17663 (char *) "self", NULL
17664 };
17665
17666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
17667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 result = (bool)(arg1)->HasTextColour();
17671
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17676 return resultobj;
17677 fail:
17678 return NULL;
17679}
17680
17681
17682static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17683 PyObject *resultobj;
17684 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17685 bool result;
17686 PyObject * obj0 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self", NULL
17689 };
17690
17691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
17692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17693 {
17694 PyThreadState* __tstate = wxPyBeginAllowThreads();
17695 result = (bool)(arg1)->HasBackgroundColour();
17696
17697 wxPyEndAllowThreads(__tstate);
17698 if (PyErr_Occurred()) SWIG_fail;
17699 }
17700 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17701 return resultobj;
17702 fail:
17703 return NULL;
17704}
17705
17706
17707static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17708 PyObject *resultobj;
17709 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17710 bool result;
17711 PyObject * obj0 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "self", NULL
17714 };
17715
17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
17717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17718 {
17719 PyThreadState* __tstate = wxPyBeginAllowThreads();
17720 result = (bool)(arg1)->HasFont();
17721
17722 wxPyEndAllowThreads(__tstate);
17723 if (PyErr_Occurred()) SWIG_fail;
17724 }
17725 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17726 return resultobj;
17727 fail:
17728 return NULL;
17729}
17730
17731
17732static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17733 PyObject *resultobj;
17734 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17735 wxColour result;
17736 PyObject * obj0 = 0 ;
17737 char *kwnames[] = {
17738 (char *) "self", NULL
17739 };
17740
17741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
17742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 result = (arg1)->GetTextColour();
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 {
17751 wxColour * resultptr;
17752 resultptr = new wxColour((wxColour &) result);
17753 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17754 }
17755 return resultobj;
17756 fail:
17757 return NULL;
17758}
17759
17760
17761static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17762 PyObject *resultobj;
17763 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17764 wxColour result;
17765 PyObject * obj0 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "self", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
17771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 result = (arg1)->GetBackgroundColour();
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 {
17780 wxColour * resultptr;
17781 resultptr = new wxColour((wxColour &) result);
17782 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17783 }
17784 return resultobj;
17785 fail:
17786 return NULL;
17787}
17788
17789
17790static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
17791 PyObject *resultobj;
17792 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17793 wxFont result;
17794 PyObject * obj0 = 0 ;
17795 char *kwnames[] = {
17796 (char *) "self", NULL
17797 };
17798
17799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
17800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17801 {
17802 PyThreadState* __tstate = wxPyBeginAllowThreads();
17803 result = (arg1)->GetFont();
17804
17805 wxPyEndAllowThreads(__tstate);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
17808 {
17809 wxFont * resultptr;
17810 resultptr = new wxFont((wxFont &) result);
17811 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
17812 }
17813 return resultobj;
17814 fail:
17815 return NULL;
17816}
17817
17818
17819static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
17821 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
17822 PyObject * obj0 = 0 ;
17823 char *kwnames[] = {
17824 (char *) "self", NULL
17825 };
17826
17827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
17828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 wxListItemAttr_Destroy(arg1);
17832
17833 wxPyEndAllowThreads(__tstate);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 Py_INCREF(Py_None); resultobj = Py_None;
17837 return resultobj;
17838 fail:
17839 return NULL;
17840}
17841
17842
17843static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
17844 PyObject *obj;
17845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17846 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
17847 Py_INCREF(obj);
17848 return Py_BuildValue((char *)"");
17849}
17850static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
17852 wxListItem *result;
17853 char *kwnames[] = {
17854 NULL
17855 };
17856
17857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
17858 {
17859 PyThreadState* __tstate = wxPyBeginAllowThreads();
17860 result = (wxListItem *)new wxListItem();
17861
17862 wxPyEndAllowThreads(__tstate);
17863 if (PyErr_Occurred()) SWIG_fail;
17864 }
17865 {
17866 resultobj = wxPyMake_wxObject(result);
17867 }
17868 return resultobj;
17869 fail:
17870 return NULL;
17871}
17872
17873
17874static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17875 PyObject *resultobj;
17876 wxListItem *arg1 = (wxListItem *) 0 ;
17877 PyObject * obj0 = 0 ;
17878 char *kwnames[] = {
17879 (char *) "self", NULL
17880 };
17881
17882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
17883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 delete arg1;
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 Py_INCREF(Py_None); resultobj = Py_None;
17892 return resultobj;
17893 fail:
17894 return NULL;
17895}
17896
17897
17898static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
17899 PyObject *resultobj;
17900 wxListItem *arg1 = (wxListItem *) 0 ;
17901 PyObject * obj0 = 0 ;
17902 char *kwnames[] = {
17903 (char *) "self", NULL
17904 };
17905
17906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
17907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17908 {
17909 PyThreadState* __tstate = wxPyBeginAllowThreads();
17910 (arg1)->Clear();
17911
17912 wxPyEndAllowThreads(__tstate);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 }
17915 Py_INCREF(Py_None); resultobj = Py_None;
17916 return resultobj;
17917 fail:
17918 return NULL;
17919}
17920
17921
17922static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
17923 PyObject *resultobj;
17924 wxListItem *arg1 = (wxListItem *) 0 ;
17925 PyObject * obj0 = 0 ;
17926 char *kwnames[] = {
17927 (char *) "self", NULL
17928 };
17929
17930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
17931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17932 {
17933 PyThreadState* __tstate = wxPyBeginAllowThreads();
17934 (arg1)->ClearAttributes();
17935
17936 wxPyEndAllowThreads(__tstate);
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
17939 Py_INCREF(Py_None); resultobj = Py_None;
17940 return resultobj;
17941 fail:
17942 return NULL;
17943}
17944
17945
17946static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17947 PyObject *resultobj;
17948 wxListItem *arg1 = (wxListItem *) 0 ;
17949 long arg2 ;
17950 PyObject * obj0 = 0 ;
17951 PyObject * obj1 = 0 ;
17952 char *kwnames[] = {
17953 (char *) "self",(char *) "mask", NULL
17954 };
17955
17956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetMask",kwnames,&obj0,&obj1)) goto fail;
17957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17958 {
17959 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 }
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 (arg1)->SetMask(arg2);
17965
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
17969 Py_INCREF(Py_None); resultobj = Py_None;
17970 return resultobj;
17971 fail:
17972 return NULL;
17973}
17974
17975
17976static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
17977 PyObject *resultobj;
17978 wxListItem *arg1 = (wxListItem *) 0 ;
17979 long arg2 ;
17980 PyObject * obj0 = 0 ;
17981 PyObject * obj1 = 0 ;
17982 char *kwnames[] = {
17983 (char *) "self",(char *) "id", NULL
17984 };
17985
17986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetId",kwnames,&obj0,&obj1)) goto fail;
17987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17988 {
17989 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17990 if (PyErr_Occurred()) SWIG_fail;
17991 }
17992 {
17993 PyThreadState* __tstate = wxPyBeginAllowThreads();
17994 (arg1)->SetId(arg2);
17995
17996 wxPyEndAllowThreads(__tstate);
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
17999 Py_INCREF(Py_None); resultobj = Py_None;
18000 return resultobj;
18001 fail:
18002 return NULL;
18003}
18004
18005
18006static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18007 PyObject *resultobj;
18008 wxListItem *arg1 = (wxListItem *) 0 ;
18009 int arg2 ;
18010 PyObject * obj0 = 0 ;
18011 PyObject * obj1 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self",(char *) "col", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetColumn",kwnames,&obj0,&obj1)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18018 {
18019 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18020 if (PyErr_Occurred()) SWIG_fail;
18021 }
18022 {
18023 PyThreadState* __tstate = wxPyBeginAllowThreads();
18024 (arg1)->SetColumn(arg2);
18025
18026 wxPyEndAllowThreads(__tstate);
18027 if (PyErr_Occurred()) SWIG_fail;
18028 }
18029 Py_INCREF(Py_None); resultobj = Py_None;
18030 return resultobj;
18031 fail:
18032 return NULL;
18033}
18034
18035
18036static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18037 PyObject *resultobj;
18038 wxListItem *arg1 = (wxListItem *) 0 ;
18039 long arg2 ;
18040 PyObject * obj0 = 0 ;
18041 PyObject * obj1 = 0 ;
18042 char *kwnames[] = {
18043 (char *) "self",(char *) "state", NULL
18044 };
18045
18046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetState",kwnames,&obj0,&obj1)) goto fail;
18047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18048 {
18049 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18050 if (PyErr_Occurred()) SWIG_fail;
18051 }
18052 {
18053 PyThreadState* __tstate = wxPyBeginAllowThreads();
18054 (arg1)->SetState(arg2);
18055
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 Py_INCREF(Py_None); resultobj = Py_None;
18060 return resultobj;
18061 fail:
18062 return NULL;
18063}
18064
18065
18066static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18067 PyObject *resultobj;
18068 wxListItem *arg1 = (wxListItem *) 0 ;
18069 long arg2 ;
18070 PyObject * obj0 = 0 ;
18071 PyObject * obj1 = 0 ;
18072 char *kwnames[] = {
18073 (char *) "self",(char *) "stateMask", NULL
18074 };
18075
18076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetStateMask",kwnames,&obj0,&obj1)) goto fail;
18077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18078 {
18079 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 {
18083 PyThreadState* __tstate = wxPyBeginAllowThreads();
18084 (arg1)->SetStateMask(arg2);
18085
18086 wxPyEndAllowThreads(__tstate);
18087 if (PyErr_Occurred()) SWIG_fail;
18088 }
18089 Py_INCREF(Py_None); resultobj = Py_None;
18090 return resultobj;
18091 fail:
18092 return NULL;
18093}
18094
18095
18096static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18097 PyObject *resultobj;
18098 wxListItem *arg1 = (wxListItem *) 0 ;
18099 wxString *arg2 = 0 ;
18100 bool temp2 = False ;
18101 PyObject * obj0 = 0 ;
18102 PyObject * obj1 = 0 ;
18103 char *kwnames[] = {
18104 (char *) "self",(char *) "text", NULL
18105 };
18106
18107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
18108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18109 {
18110 arg2 = wxString_in_helper(obj1);
18111 if (arg2 == NULL) SWIG_fail;
18112 temp2 = True;
18113 }
18114 {
18115 PyThreadState* __tstate = wxPyBeginAllowThreads();
18116 (arg1)->SetText((wxString const &)*arg2);
18117
18118 wxPyEndAllowThreads(__tstate);
18119 if (PyErr_Occurred()) SWIG_fail;
18120 }
18121 Py_INCREF(Py_None); resultobj = Py_None;
18122 {
18123 if (temp2)
18124 delete arg2;
18125 }
18126 return resultobj;
18127 fail:
18128 {
18129 if (temp2)
18130 delete arg2;
18131 }
18132 return NULL;
18133}
18134
18135
18136static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18137 PyObject *resultobj;
18138 wxListItem *arg1 = (wxListItem *) 0 ;
18139 int arg2 ;
18140 PyObject * obj0 = 0 ;
18141 PyObject * obj1 = 0 ;
18142 char *kwnames[] = {
18143 (char *) "self",(char *) "image", NULL
18144 };
18145
18146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetImage",kwnames,&obj0,&obj1)) goto fail;
18147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18148 {
18149 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 (arg1)->SetImage(arg2);
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 Py_INCREF(Py_None); resultobj = Py_None;
18160 return resultobj;
18161 fail:
18162 return NULL;
18163}
18164
18165
18166static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18167 PyObject *resultobj;
18168 wxListItem *arg1 = (wxListItem *) 0 ;
18169 long arg2 ;
18170 PyObject * obj0 = 0 ;
18171 PyObject * obj1 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self",(char *) "data", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetData",kwnames,&obj0,&obj1)) goto fail;
18177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18178 {
18179 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18180 if (PyErr_Occurred()) SWIG_fail;
18181 }
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 (arg1)->SetData(arg2);
18185
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 Py_INCREF(Py_None); resultobj = Py_None;
18190 return resultobj;
18191 fail:
18192 return NULL;
18193}
18194
18195
18196static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18197 PyObject *resultobj;
18198 wxListItem *arg1 = (wxListItem *) 0 ;
18199 int arg2 ;
18200 PyObject * obj0 = 0 ;
18201 PyObject * obj1 = 0 ;
18202 char *kwnames[] = {
18203 (char *) "self",(char *) "width", NULL
18204 };
18205
18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetWidth",kwnames,&obj0,&obj1)) goto fail;
18207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18208 {
18209 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 (arg1)->SetWidth(arg2);
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 Py_INCREF(Py_None); resultobj = Py_None;
18220 return resultobj;
18221 fail:
18222 return NULL;
18223}
18224
18225
18226static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18227 PyObject *resultobj;
18228 wxListItem *arg1 = (wxListItem *) 0 ;
18229 int arg2 ;
18230 PyObject * obj0 = 0 ;
18231 PyObject * obj1 = 0 ;
18232 char *kwnames[] = {
18233 (char *) "self",(char *) "align", NULL
18234 };
18235
18236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetAlign",kwnames,&obj0,&obj1)) goto fail;
18237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18238 {
18239 arg2 = (wxListColumnFormat) SWIG_PyObj_AsInt(obj1);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 {
18243 PyThreadState* __tstate = wxPyBeginAllowThreads();
18244 (arg1)->SetAlign((wxListColumnFormat )arg2);
18245
18246 wxPyEndAllowThreads(__tstate);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
18249 Py_INCREF(Py_None); resultobj = Py_None;
18250 return resultobj;
18251 fail:
18252 return NULL;
18253}
18254
18255
18256static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18257 PyObject *resultobj;
18258 wxListItem *arg1 = (wxListItem *) 0 ;
18259 wxColour *arg2 = 0 ;
18260 wxColour temp2 ;
18261 PyObject * obj0 = 0 ;
18262 PyObject * obj1 = 0 ;
18263 char *kwnames[] = {
18264 (char *) "self",(char *) "colText", NULL
18265 };
18266
18267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18269 {
18270 arg2 = &temp2;
18271 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18272 }
18273 {
18274 PyThreadState* __tstate = wxPyBeginAllowThreads();
18275 (arg1)->SetTextColour((wxColour const &)*arg2);
18276
18277 wxPyEndAllowThreads(__tstate);
18278 if (PyErr_Occurred()) SWIG_fail;
18279 }
18280 Py_INCREF(Py_None); resultobj = Py_None;
18281 return resultobj;
18282 fail:
18283 return NULL;
18284}
18285
18286
18287static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18288 PyObject *resultobj;
18289 wxListItem *arg1 = (wxListItem *) 0 ;
18290 wxColour *arg2 = 0 ;
18291 wxColour temp2 ;
18292 PyObject * obj0 = 0 ;
18293 PyObject * obj1 = 0 ;
18294 char *kwnames[] = {
18295 (char *) "self",(char *) "colBack", NULL
18296 };
18297
18298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18300 {
18301 arg2 = &temp2;
18302 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18303 }
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 Py_INCREF(Py_None); resultobj = Py_None;
18312 return resultobj;
18313 fail:
18314 return NULL;
18315}
18316
18317
18318static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18319 PyObject *resultobj;
18320 wxListItem *arg1 = (wxListItem *) 0 ;
18321 wxFont *arg2 = 0 ;
18322 PyObject * obj0 = 0 ;
18323 PyObject * obj1 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self",(char *) "font", NULL
18326 };
18327
18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
18329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18331 if (arg2 == NULL) {
18332 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18333 }
18334 {
18335 PyThreadState* __tstate = wxPyBeginAllowThreads();
18336 (arg1)->SetFont((wxFont const &)*arg2);
18337
18338 wxPyEndAllowThreads(__tstate);
18339 if (PyErr_Occurred()) SWIG_fail;
18340 }
18341 Py_INCREF(Py_None); resultobj = Py_None;
18342 return resultobj;
18343 fail:
18344 return NULL;
18345}
18346
18347
18348static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
18349 PyObject *resultobj;
18350 wxListItem *arg1 = (wxListItem *) 0 ;
18351 long result;
18352 PyObject * obj0 = 0 ;
18353 char *kwnames[] = {
18354 (char *) "self", NULL
18355 };
18356
18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
18358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18359 {
18360 PyThreadState* __tstate = wxPyBeginAllowThreads();
18361 result = (long)(arg1)->GetMask();
18362
18363 wxPyEndAllowThreads(__tstate);
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
18366 resultobj = SWIG_PyObj_FromLong((long)result);
18367 return resultobj;
18368 fail:
18369 return NULL;
18370}
18371
18372
18373static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
18374 PyObject *resultobj;
18375 wxListItem *arg1 = (wxListItem *) 0 ;
18376 long result;
18377 PyObject * obj0 = 0 ;
18378 char *kwnames[] = {
18379 (char *) "self", NULL
18380 };
18381
18382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
18383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18384 {
18385 PyThreadState* __tstate = wxPyBeginAllowThreads();
18386 result = (long)(arg1)->GetId();
18387
18388 wxPyEndAllowThreads(__tstate);
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 resultobj = SWIG_PyObj_FromLong((long)result);
18392 return resultobj;
18393 fail:
18394 return NULL;
18395}
18396
18397
18398static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18399 PyObject *resultobj;
18400 wxListItem *arg1 = (wxListItem *) 0 ;
18401 int result;
18402 PyObject * obj0 = 0 ;
18403 char *kwnames[] = {
18404 (char *) "self", NULL
18405 };
18406
18407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
18408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 result = (int)(arg1)->GetColumn();
18412
18413 wxPyEndAllowThreads(__tstate);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 }
18416 resultobj = SWIG_PyObj_FromInt((int)result);
18417 return resultobj;
18418 fail:
18419 return NULL;
18420}
18421
18422
18423static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
18424 PyObject *resultobj;
18425 wxListItem *arg1 = (wxListItem *) 0 ;
18426 long result;
18427 PyObject * obj0 = 0 ;
18428 char *kwnames[] = {
18429 (char *) "self", NULL
18430 };
18431
18432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
18433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18434 {
18435 PyThreadState* __tstate = wxPyBeginAllowThreads();
18436 result = (long)(arg1)->GetState();
18437
18438 wxPyEndAllowThreads(__tstate);
18439 if (PyErr_Occurred()) SWIG_fail;
18440 }
18441 resultobj = SWIG_PyObj_FromLong((long)result);
18442 return resultobj;
18443 fail:
18444 return NULL;
18445}
18446
18447
18448static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
18449 PyObject *resultobj;
18450 wxListItem *arg1 = (wxListItem *) 0 ;
18451 wxString *result;
18452 PyObject * obj0 = 0 ;
18453 char *kwnames[] = {
18454 (char *) "self", NULL
18455 };
18456
18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
18458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 {
18462 wxString const &_result_ref = (arg1)->GetText();
18463 result = (wxString *) &_result_ref;
18464 }
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 {
18470#if wxUSE_UNICODE
18471 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18472#else
18473 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18474#endif
18475 }
18476 return resultobj;
18477 fail:
18478 return NULL;
18479}
18480
18481
18482static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxListItem *arg1 = (wxListItem *) 0 ;
18485 int result;
18486 PyObject * obj0 = 0 ;
18487 char *kwnames[] = {
18488 (char *) "self", NULL
18489 };
18490
18491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
18492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18493 {
18494 PyThreadState* __tstate = wxPyBeginAllowThreads();
18495 result = (int)(arg1)->GetImage();
18496
18497 wxPyEndAllowThreads(__tstate);
18498 if (PyErr_Occurred()) SWIG_fail;
18499 }
18500 resultobj = SWIG_PyObj_FromInt((int)result);
18501 return resultobj;
18502 fail:
18503 return NULL;
18504}
18505
18506
18507static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
18508 PyObject *resultobj;
18509 wxListItem *arg1 = (wxListItem *) 0 ;
18510 long result;
18511 PyObject * obj0 = 0 ;
18512 char *kwnames[] = {
18513 (char *) "self", NULL
18514 };
18515
18516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
18517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18518 {
18519 PyThreadState* __tstate = wxPyBeginAllowThreads();
18520 result = (long)(arg1)->GetData();
18521
18522 wxPyEndAllowThreads(__tstate);
18523 if (PyErr_Occurred()) SWIG_fail;
18524 }
18525 resultobj = SWIG_PyObj_FromLong((long)result);
18526 return resultobj;
18527 fail:
18528 return NULL;
18529}
18530
18531
18532static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18533 PyObject *resultobj;
18534 wxListItem *arg1 = (wxListItem *) 0 ;
18535 int result;
18536 PyObject * obj0 = 0 ;
18537 char *kwnames[] = {
18538 (char *) "self", NULL
18539 };
18540
18541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
18542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18543 {
18544 PyThreadState* __tstate = wxPyBeginAllowThreads();
18545 result = (int)(arg1)->GetWidth();
18546
18547 wxPyEndAllowThreads(__tstate);
18548 if (PyErr_Occurred()) SWIG_fail;
18549 }
18550 resultobj = SWIG_PyObj_FromInt((int)result);
18551 return resultobj;
18552 fail:
18553 return NULL;
18554}
18555
18556
18557static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
18558 PyObject *resultobj;
18559 wxListItem *arg1 = (wxListItem *) 0 ;
18560 int result;
18561 PyObject * obj0 = 0 ;
18562 char *kwnames[] = {
18563 (char *) "self", NULL
18564 };
18565
18566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
18567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 result = (int)(arg1)->GetAlign();
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 resultobj = SWIG_PyObj_FromInt((int)result);
18576 return resultobj;
18577 fail:
18578 return NULL;
18579}
18580
18581
18582static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj;
18584 wxListItem *arg1 = (wxListItem *) 0 ;
18585 wxListItemAttr *result;
18586 PyObject * obj0 = 0 ;
18587 char *kwnames[] = {
18588 (char *) "self", NULL
18589 };
18590
18591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
18592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18593 {
18594 PyThreadState* __tstate = wxPyBeginAllowThreads();
18595 result = (wxListItemAttr *)(arg1)->GetAttributes();
18596
18597 wxPyEndAllowThreads(__tstate);
18598 if (PyErr_Occurred()) SWIG_fail;
18599 }
18600 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
18601 return resultobj;
18602 fail:
18603 return NULL;
18604}
18605
18606
18607static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
18608 PyObject *resultobj;
18609 wxListItem *arg1 = (wxListItem *) 0 ;
18610 bool result;
18611 PyObject * obj0 = 0 ;
18612 char *kwnames[] = {
18613 (char *) "self", NULL
18614 };
18615
18616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
18617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18618 {
18619 PyThreadState* __tstate = wxPyBeginAllowThreads();
18620 result = (bool)(arg1)->HasAttributes();
18621
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
18625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18626 return resultobj;
18627 fail:
18628 return NULL;
18629}
18630
18631
18632static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18633 PyObject *resultobj;
18634 wxListItem *arg1 = (wxListItem *) 0 ;
18635 wxColour result;
18636 PyObject * obj0 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
18642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 result = ((wxListItem const *)arg1)->GetTextColour();
18646
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 {
18651 wxColour * resultptr;
18652 resultptr = new wxColour((wxColour &) result);
18653 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18654 }
18655 return resultobj;
18656 fail:
18657 return NULL;
18658}
18659
18660
18661static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18662 PyObject *resultobj;
18663 wxListItem *arg1 = (wxListItem *) 0 ;
18664 wxColour result;
18665 PyObject * obj0 = 0 ;
18666 char *kwnames[] = {
18667 (char *) "self", NULL
18668 };
18669
18670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
18671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 result = ((wxListItem const *)arg1)->GetBackgroundColour();
18675
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 {
18680 wxColour * resultptr;
18681 resultptr = new wxColour((wxColour &) result);
18682 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18683 }
18684 return resultobj;
18685 fail:
18686 return NULL;
18687}
18688
18689
18690static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
18691 PyObject *resultobj;
18692 wxListItem *arg1 = (wxListItem *) 0 ;
18693 wxFont result;
18694 PyObject * obj0 = 0 ;
18695 char *kwnames[] = {
18696 (char *) "self", NULL
18697 };
18698
18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
18700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18701 {
18702 PyThreadState* __tstate = wxPyBeginAllowThreads();
18703 result = ((wxListItem const *)arg1)->GetFont();
18704
18705 wxPyEndAllowThreads(__tstate);
18706 if (PyErr_Occurred()) SWIG_fail;
18707 }
18708 {
18709 wxFont * resultptr;
18710 resultptr = new wxFont((wxFont &) result);
18711 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
18712 }
18713 return resultobj;
18714 fail:
18715 return NULL;
18716}
18717
18718
18719static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18720 PyObject *resultobj;
18721 wxListItem *arg1 = (wxListItem *) 0 ;
18722 long arg2 ;
18723 PyObject * obj0 = 0 ;
18724 PyObject * obj1 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self",(char *) "m_mask", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_mask_set",kwnames,&obj0,&obj1)) goto fail;
18730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18731 {
18732 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18733 if (PyErr_Occurred()) SWIG_fail;
18734 }
18735 if (arg1) (arg1)->m_mask = arg2;
18736
18737 Py_INCREF(Py_None); resultobj = Py_None;
18738 return resultobj;
18739 fail:
18740 return NULL;
18741}
18742
18743
18744static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18745 PyObject *resultobj;
18746 wxListItem *arg1 = (wxListItem *) 0 ;
18747 long result;
18748 PyObject * obj0 = 0 ;
18749 char *kwnames[] = {
18750 (char *) "self", NULL
18751 };
18752
18753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
18754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18755 result = (long) ((arg1)->m_mask);
18756
18757 resultobj = SWIG_PyObj_FromLong((long)result);
18758 return resultobj;
18759 fail:
18760 return NULL;
18761}
18762
18763
18764static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18765 PyObject *resultobj;
18766 wxListItem *arg1 = (wxListItem *) 0 ;
18767 long arg2 ;
18768 PyObject * obj0 = 0 ;
18769 PyObject * obj1 = 0 ;
18770 char *kwnames[] = {
18771 (char *) "self",(char *) "m_itemId", NULL
18772 };
18773
18774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_itemId_set",kwnames,&obj0,&obj1)) goto fail;
18775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18776 {
18777 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18778 if (PyErr_Occurred()) SWIG_fail;
18779 }
18780 if (arg1) (arg1)->m_itemId = arg2;
18781
18782 Py_INCREF(Py_None); resultobj = Py_None;
18783 return resultobj;
18784 fail:
18785 return NULL;
18786}
18787
18788
18789static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18790 PyObject *resultobj;
18791 wxListItem *arg1 = (wxListItem *) 0 ;
18792 long result;
18793 PyObject * obj0 = 0 ;
18794 char *kwnames[] = {
18795 (char *) "self", NULL
18796 };
18797
18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
18799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18800 result = (long) ((arg1)->m_itemId);
18801
18802 resultobj = SWIG_PyObj_FromLong((long)result);
18803 return resultobj;
18804 fail:
18805 return NULL;
18806}
18807
18808
18809static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18810 PyObject *resultobj;
18811 wxListItem *arg1 = (wxListItem *) 0 ;
18812 int arg2 ;
18813 PyObject * obj0 = 0 ;
18814 PyObject * obj1 = 0 ;
18815 char *kwnames[] = {
18816 (char *) "self",(char *) "m_col", NULL
18817 };
18818
18819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_col_set",kwnames,&obj0,&obj1)) goto fail;
18820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18821 {
18822 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18823 if (PyErr_Occurred()) SWIG_fail;
18824 }
18825 if (arg1) (arg1)->m_col = arg2;
18826
18827 Py_INCREF(Py_None); resultobj = Py_None;
18828 return resultobj;
18829 fail:
18830 return NULL;
18831}
18832
18833
18834static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18835 PyObject *resultobj;
18836 wxListItem *arg1 = (wxListItem *) 0 ;
18837 int result;
18838 PyObject * obj0 = 0 ;
18839 char *kwnames[] = {
18840 (char *) "self", NULL
18841 };
18842
18843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
18844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18845 result = (int) ((arg1)->m_col);
18846
18847 resultobj = SWIG_PyObj_FromInt((int)result);
18848 return resultobj;
18849 fail:
18850 return NULL;
18851}
18852
18853
18854static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj;
18856 wxListItem *arg1 = (wxListItem *) 0 ;
18857 long arg2 ;
18858 PyObject * obj0 = 0 ;
18859 PyObject * obj1 = 0 ;
18860 char *kwnames[] = {
18861 (char *) "self",(char *) "m_state", NULL
18862 };
18863
18864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_state_set",kwnames,&obj0,&obj1)) goto fail;
18865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18866 {
18867 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 }
18870 if (arg1) (arg1)->m_state = arg2;
18871
18872 Py_INCREF(Py_None); resultobj = Py_None;
18873 return resultobj;
18874 fail:
18875 return NULL;
18876}
18877
18878
18879static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18880 PyObject *resultobj;
18881 wxListItem *arg1 = (wxListItem *) 0 ;
18882 long result;
18883 PyObject * obj0 = 0 ;
18884 char *kwnames[] = {
18885 (char *) "self", NULL
18886 };
18887
18888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
18889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18890 result = (long) ((arg1)->m_state);
18891
18892 resultobj = SWIG_PyObj_FromLong((long)result);
18893 return resultobj;
18894 fail:
18895 return NULL;
18896}
18897
18898
18899static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18900 PyObject *resultobj;
18901 wxListItem *arg1 = (wxListItem *) 0 ;
18902 long arg2 ;
18903 PyObject * obj0 = 0 ;
18904 PyObject * obj1 = 0 ;
18905 char *kwnames[] = {
18906 (char *) "self",(char *) "m_stateMask", NULL
18907 };
18908
18909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_stateMask_set",kwnames,&obj0,&obj1)) goto fail;
18910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18911 {
18912 arg2 = (long) SWIG_PyObj_AsLong(obj1);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
18915 if (arg1) (arg1)->m_stateMask = arg2;
18916
18917 Py_INCREF(Py_None); resultobj = Py_None;
18918 return resultobj;
18919 fail:
18920 return NULL;
18921}
18922
18923
18924static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18925 PyObject *resultobj;
18926 wxListItem *arg1 = (wxListItem *) 0 ;
18927 long result;
18928 PyObject * obj0 = 0 ;
18929 char *kwnames[] = {
18930 (char *) "self", NULL
18931 };
18932
18933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
18934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18935 result = (long) ((arg1)->m_stateMask);
18936
18937 resultobj = SWIG_PyObj_FromLong((long)result);
18938 return resultobj;
18939 fail:
18940 return NULL;
18941}
18942
18943
18944static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
18945 PyObject *resultobj;
18946 wxListItem *arg1 = (wxListItem *) 0 ;
18947 wxString *arg2 = (wxString *) 0 ;
18948 bool temp2 = False ;
18949 PyObject * obj0 = 0 ;
18950 PyObject * obj1 = 0 ;
18951 char *kwnames[] = {
18952 (char *) "self",(char *) "m_text", NULL
18953 };
18954
18955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
18956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18957 {
18958 arg2 = wxString_in_helper(obj1);
18959 if (arg2 == NULL) SWIG_fail;
18960 temp2 = True;
18961 }
18962 if (arg1) (arg1)->m_text = *arg2;
18963
18964 Py_INCREF(Py_None); resultobj = Py_None;
18965 {
18966 if (temp2)
18967 delete arg2;
18968 }
18969 return resultobj;
18970 fail:
18971 {
18972 if (temp2)
18973 delete arg2;
18974 }
18975 return NULL;
18976}
18977
18978
18979static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj;
18981 wxListItem *arg1 = (wxListItem *) 0 ;
18982 wxString *result;
18983 PyObject * obj0 = 0 ;
18984 char *kwnames[] = {
18985 (char *) "self", NULL
18986 };
18987
18988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
18989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18990 result = (wxString *)& ((arg1)->m_text);
18991
18992 {
18993#if wxUSE_UNICODE
18994 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
18995#else
18996 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
18997#endif
18998 }
18999 return resultobj;
19000 fail:
19001 return NULL;
19002}
19003
19004
19005static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19006 PyObject *resultobj;
19007 wxListItem *arg1 = (wxListItem *) 0 ;
19008 int arg2 ;
19009 PyObject * obj0 = 0 ;
19010 PyObject * obj1 = 0 ;
19011 char *kwnames[] = {
19012 (char *) "self",(char *) "m_image", NULL
19013 };
19014
19015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_image_set",kwnames,&obj0,&obj1)) goto fail;
19016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19017 {
19018 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19019 if (PyErr_Occurred()) SWIG_fail;
19020 }
19021 if (arg1) (arg1)->m_image = arg2;
19022
19023 Py_INCREF(Py_None); resultobj = Py_None;
19024 return resultobj;
19025 fail:
19026 return NULL;
19027}
19028
19029
19030static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19031 PyObject *resultobj;
19032 wxListItem *arg1 = (wxListItem *) 0 ;
19033 int result;
19034 PyObject * obj0 = 0 ;
19035 char *kwnames[] = {
19036 (char *) "self", NULL
19037 };
19038
19039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
19040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19041 result = (int) ((arg1)->m_image);
19042
19043 resultobj = SWIG_PyObj_FromInt((int)result);
19044 return resultobj;
19045 fail:
19046 return NULL;
19047}
19048
19049
19050static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19051 PyObject *resultobj;
19052 wxListItem *arg1 = (wxListItem *) 0 ;
19053 long arg2 ;
19054 PyObject * obj0 = 0 ;
19055 PyObject * obj1 = 0 ;
19056 char *kwnames[] = {
19057 (char *) "self",(char *) "m_data", NULL
19058 };
19059
19060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_data_set",kwnames,&obj0,&obj1)) goto fail;
19061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19062 {
19063 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
19066 if (arg1) (arg1)->m_data = arg2;
19067
19068 Py_INCREF(Py_None); resultobj = Py_None;
19069 return resultobj;
19070 fail:
19071 return NULL;
19072}
19073
19074
19075static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19076 PyObject *resultobj;
19077 wxListItem *arg1 = (wxListItem *) 0 ;
19078 long result;
19079 PyObject * obj0 = 0 ;
19080 char *kwnames[] = {
19081 (char *) "self", NULL
19082 };
19083
19084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
19085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19086 result = (long) ((arg1)->m_data);
19087
19088 resultobj = SWIG_PyObj_FromLong((long)result);
19089 return resultobj;
19090 fail:
19091 return NULL;
19092}
19093
19094
19095static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19096 PyObject *resultobj;
19097 wxListItem *arg1 = (wxListItem *) 0 ;
19098 int arg2 ;
19099 PyObject * obj0 = 0 ;
19100 PyObject * obj1 = 0 ;
19101 char *kwnames[] = {
19102 (char *) "self",(char *) "m_format", NULL
19103 };
19104
19105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_format_set",kwnames,&obj0,&obj1)) goto fail;
19106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19107 {
19108 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19109 if (PyErr_Occurred()) SWIG_fail;
19110 }
19111 if (arg1) (arg1)->m_format = arg2;
19112
19113 Py_INCREF(Py_None); resultobj = Py_None;
19114 return resultobj;
19115 fail:
19116 return NULL;
19117}
19118
19119
19120static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19121 PyObject *resultobj;
19122 wxListItem *arg1 = (wxListItem *) 0 ;
19123 int result;
19124 PyObject * obj0 = 0 ;
19125 char *kwnames[] = {
19126 (char *) "self", NULL
19127 };
19128
19129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
19130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19131 result = (int) ((arg1)->m_format);
19132
19133 resultobj = SWIG_PyObj_FromInt((int)result);
19134 return resultobj;
19135 fail:
19136 return NULL;
19137}
19138
19139
19140static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19141 PyObject *resultobj;
19142 wxListItem *arg1 = (wxListItem *) 0 ;
19143 int arg2 ;
19144 PyObject * obj0 = 0 ;
19145 PyObject * obj1 = 0 ;
19146 char *kwnames[] = {
19147 (char *) "self",(char *) "m_width", NULL
19148 };
19149
19150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_width_set",kwnames,&obj0,&obj1)) goto fail;
19151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19152 {
19153 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19154 if (PyErr_Occurred()) SWIG_fail;
19155 }
19156 if (arg1) (arg1)->m_width = arg2;
19157
19158 Py_INCREF(Py_None); resultobj = Py_None;
19159 return resultobj;
19160 fail:
19161 return NULL;
19162}
19163
19164
19165static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19166 PyObject *resultobj;
19167 wxListItem *arg1 = (wxListItem *) 0 ;
19168 int result;
19169 PyObject * obj0 = 0 ;
19170 char *kwnames[] = {
19171 (char *) "self", NULL
19172 };
19173
19174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
19175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19176 result = (int) ((arg1)->m_width);
19177
19178 resultobj = SWIG_PyObj_FromInt((int)result);
19179 return resultobj;
19180 fail:
19181 return NULL;
19182}
19183
19184
19185static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
19186 PyObject *obj;
19187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19188 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
19189 Py_INCREF(obj);
19190 return Py_BuildValue((char *)"");
19191}
19192static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19193 PyObject *resultobj;
19194 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19195 int arg2 = (int) 0 ;
19196 wxListEvent *result;
19197 PyObject * obj0 = 0 ;
19198 PyObject * obj1 = 0 ;
19199 char *kwnames[] = {
19200 (char *) "commandType",(char *) "id", NULL
19201 };
19202
19203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ListEvent",kwnames,&obj0,&obj1)) goto fail;
19204 if (obj0) {
19205 {
19206 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 }
19210 if (obj1) {
19211 {
19212 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19213 if (PyErr_Occurred()) SWIG_fail;
19214 }
19215 }
19216 {
19217 PyThreadState* __tstate = wxPyBeginAllowThreads();
19218 result = (wxListEvent *)new wxListEvent(arg1,arg2);
19219
19220 wxPyEndAllowThreads(__tstate);
19221 if (PyErr_Occurred()) SWIG_fail;
19222 }
19223 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
19224 return resultobj;
19225 fail:
19226 return NULL;
19227}
19228
19229
19230static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19231 PyObject *resultobj;
19232 wxListEvent *arg1 = (wxListEvent *) 0 ;
19233 int arg2 ;
19234 PyObject * obj0 = 0 ;
19235 PyObject * obj1 = 0 ;
19236 char *kwnames[] = {
19237 (char *) "self",(char *) "m_code", NULL
19238 };
19239
19240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_code_set",kwnames,&obj0,&obj1)) goto fail;
19241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19242 {
19243 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19244 if (PyErr_Occurred()) SWIG_fail;
19245 }
19246 if (arg1) (arg1)->m_code = arg2;
19247
19248 Py_INCREF(Py_None); resultobj = Py_None;
19249 return resultobj;
19250 fail:
19251 return NULL;
19252}
19253
19254
19255static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19256 PyObject *resultobj;
19257 wxListEvent *arg1 = (wxListEvent *) 0 ;
19258 int result;
19259 PyObject * obj0 = 0 ;
19260 char *kwnames[] = {
19261 (char *) "self", NULL
19262 };
19263
19264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
19265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19266 result = (int) ((arg1)->m_code);
19267
19268 resultobj = SWIG_PyObj_FromInt((int)result);
19269 return resultobj;
19270 fail:
19271 return NULL;
19272}
19273
19274
19275static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19276 PyObject *resultobj;
19277 wxListEvent *arg1 = (wxListEvent *) 0 ;
19278 long arg2 ;
19279 PyObject * obj0 = 0 ;
19280 PyObject * obj1 = 0 ;
19281 char *kwnames[] = {
19282 (char *) "self",(char *) "m_oldItemIndex", NULL
19283 };
19284
19285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19287 {
19288 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19289 if (PyErr_Occurred()) SWIG_fail;
19290 }
19291 if (arg1) (arg1)->m_oldItemIndex = arg2;
19292
19293 Py_INCREF(Py_None); resultobj = Py_None;
19294 return resultobj;
19295 fail:
19296 return NULL;
19297}
19298
19299
19300static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19301 PyObject *resultobj;
19302 wxListEvent *arg1 = (wxListEvent *) 0 ;
19303 long result;
19304 PyObject * obj0 = 0 ;
19305 char *kwnames[] = {
19306 (char *) "self", NULL
19307 };
19308
19309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
19310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19311 result = (long) ((arg1)->m_oldItemIndex);
19312
19313 resultobj = SWIG_PyObj_FromLong((long)result);
19314 return resultobj;
19315 fail:
19316 return NULL;
19317}
19318
19319
19320static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19321 PyObject *resultobj;
19322 wxListEvent *arg1 = (wxListEvent *) 0 ;
19323 long arg2 ;
19324 PyObject * obj0 = 0 ;
19325 PyObject * obj1 = 0 ;
19326 char *kwnames[] = {
19327 (char *) "self",(char *) "m_itemIndex", NULL
19328 };
19329
19330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_itemIndex_set",kwnames,&obj0,&obj1)) goto fail;
19331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19332 {
19333 arg2 = (long) SWIG_PyObj_AsLong(obj1);
19334 if (PyErr_Occurred()) SWIG_fail;
19335 }
19336 if (arg1) (arg1)->m_itemIndex = arg2;
19337
19338 Py_INCREF(Py_None); resultobj = Py_None;
19339 return resultobj;
19340 fail:
19341 return NULL;
19342}
19343
19344
19345static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19346 PyObject *resultobj;
19347 wxListEvent *arg1 = (wxListEvent *) 0 ;
19348 long result;
19349 PyObject * obj0 = 0 ;
19350 char *kwnames[] = {
19351 (char *) "self", NULL
19352 };
19353
19354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
19355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19356 result = (long) ((arg1)->m_itemIndex);
19357
19358 resultobj = SWIG_PyObj_FromLong((long)result);
19359 return resultobj;
19360 fail:
19361 return NULL;
19362}
19363
19364
19365static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19366 PyObject *resultobj;
19367 wxListEvent *arg1 = (wxListEvent *) 0 ;
19368 int arg2 ;
19369 PyObject * obj0 = 0 ;
19370 PyObject * obj1 = 0 ;
19371 char *kwnames[] = {
19372 (char *) "self",(char *) "m_col", NULL
19373 };
19374
19375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_col_set",kwnames,&obj0,&obj1)) goto fail;
19376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19377 {
19378 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 if (arg1) (arg1)->m_col = arg2;
19382
19383 Py_INCREF(Py_None); resultobj = Py_None;
19384 return resultobj;
19385 fail:
19386 return NULL;
19387}
19388
19389
19390static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19391 PyObject *resultobj;
19392 wxListEvent *arg1 = (wxListEvent *) 0 ;
19393 int result;
19394 PyObject * obj0 = 0 ;
19395 char *kwnames[] = {
19396 (char *) "self", NULL
19397 };
19398
19399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
19400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19401 result = (int) ((arg1)->m_col);
19402
19403 resultobj = SWIG_PyObj_FromInt((int)result);
19404 return resultobj;
19405 fail:
19406 return NULL;
19407}
19408
19409
19410static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxListEvent *arg1 = (wxListEvent *) 0 ;
19413 wxPoint *arg2 = (wxPoint *) 0 ;
19414 PyObject * obj0 = 0 ;
19415 PyObject * obj1 = 0 ;
19416 char *kwnames[] = {
19417 (char *) "self",(char *) "m_pointDrag", NULL
19418 };
19419
19420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
19421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19423 if (arg1) (arg1)->m_pointDrag = *arg2;
19424
19425 Py_INCREF(Py_None); resultobj = Py_None;
19426 return resultobj;
19427 fail:
19428 return NULL;
19429}
19430
19431
19432static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19433 PyObject *resultobj;
19434 wxListEvent *arg1 = (wxListEvent *) 0 ;
19435 wxPoint *result;
19436 PyObject * obj0 = 0 ;
19437 char *kwnames[] = {
19438 (char *) "self", NULL
19439 };
19440
19441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
19442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19443 result = (wxPoint *)& ((arg1)->m_pointDrag);
19444
19445 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
19446 return resultobj;
19447 fail:
19448 return NULL;
19449}
19450
19451
19452static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19453 PyObject *resultobj;
19454 wxListEvent *arg1 = (wxListEvent *) 0 ;
19455 wxListItem *result;
19456 PyObject * obj0 = 0 ;
19457 char *kwnames[] = {
19458 (char *) "self", NULL
19459 };
19460
19461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
19462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19463 result = (wxListItem *)& ((arg1)->m_item);
19464
19465 {
19466 resultobj = wxPyMake_wxObject(result);
19467 }
19468 return resultobj;
19469 fail:
19470 return NULL;
19471}
19472
19473
19474static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
19475 PyObject *resultobj;
19476 wxListEvent *arg1 = (wxListEvent *) 0 ;
19477 int result;
19478 PyObject * obj0 = 0 ;
19479 char *kwnames[] = {
19480 (char *) "self", NULL
19481 };
19482
19483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
19484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 result = (int)(arg1)->GetKeyCode();
19488
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 resultobj = SWIG_PyObj_FromInt((int)result);
19493 return resultobj;
19494 fail:
19495 return NULL;
19496}
19497
19498
19499static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
19500 PyObject *resultobj;
19501 wxListEvent *arg1 = (wxListEvent *) 0 ;
19502 long result;
19503 PyObject * obj0 = 0 ;
19504 char *kwnames[] = {
19505 (char *) "self", NULL
19506 };
19507
19508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
19509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19510 {
19511 PyThreadState* __tstate = wxPyBeginAllowThreads();
19512 result = (long)(arg1)->GetIndex();
19513
19514 wxPyEndAllowThreads(__tstate);
19515 if (PyErr_Occurred()) SWIG_fail;
19516 }
19517 resultobj = SWIG_PyObj_FromLong((long)result);
19518 return resultobj;
19519 fail:
19520 return NULL;
19521}
19522
19523
19524static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19525 PyObject *resultobj;
19526 wxListEvent *arg1 = (wxListEvent *) 0 ;
19527 int result;
19528 PyObject * obj0 = 0 ;
19529 char *kwnames[] = {
19530 (char *) "self", NULL
19531 };
19532
19533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
19534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19535 {
19536 PyThreadState* __tstate = wxPyBeginAllowThreads();
19537 result = (int)(arg1)->GetColumn();
19538
19539 wxPyEndAllowThreads(__tstate);
19540 if (PyErr_Occurred()) SWIG_fail;
19541 }
19542 resultobj = SWIG_PyObj_FromInt((int)result);
19543 return resultobj;
19544 fail:
19545 return NULL;
19546}
19547
19548
19549static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19550 PyObject *resultobj;
19551 wxListEvent *arg1 = (wxListEvent *) 0 ;
19552 wxPoint result;
19553 PyObject * obj0 = 0 ;
19554 char *kwnames[] = {
19555 (char *) "self", NULL
19556 };
19557
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
19559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 result = (arg1)->GetPoint();
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 {
19568 wxPoint * resultptr;
19569 resultptr = new wxPoint((wxPoint &) result);
19570 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19571 }
19572 return resultobj;
19573 fail:
19574 return NULL;
19575}
19576
19577
19578static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19579 PyObject *resultobj;
19580 wxListEvent *arg1 = (wxListEvent *) 0 ;
19581 wxString *result;
19582 PyObject * obj0 = 0 ;
19583 char *kwnames[] = {
19584 (char *) "self", NULL
19585 };
19586
19587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
19588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 {
19592 wxString const &_result_ref = (arg1)->GetLabel();
19593 result = (wxString *) &_result_ref;
19594 }
19595
19596 wxPyEndAllowThreads(__tstate);
19597 if (PyErr_Occurred()) SWIG_fail;
19598 }
19599 {
19600#if wxUSE_UNICODE
19601 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19602#else
19603 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19604#endif
19605 }
19606 return resultobj;
19607 fail:
19608 return NULL;
19609}
19610
19611
19612static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj;
19614 wxListEvent *arg1 = (wxListEvent *) 0 ;
19615 wxString *result;
19616 PyObject * obj0 = 0 ;
19617 char *kwnames[] = {
19618 (char *) "self", NULL
19619 };
19620
19621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
19622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 {
19626 wxString const &_result_ref = (arg1)->GetText();
19627 result = (wxString *) &_result_ref;
19628 }
19629
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 {
19634#if wxUSE_UNICODE
19635 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19636#else
19637 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19638#endif
19639 }
19640 return resultobj;
19641 fail:
19642 return NULL;
19643}
19644
19645
19646static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19647 PyObject *resultobj;
19648 wxListEvent *arg1 = (wxListEvent *) 0 ;
19649 int result;
19650 PyObject * obj0 = 0 ;
19651 char *kwnames[] = {
19652 (char *) "self", NULL
19653 };
19654
19655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
19656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19657 {
19658 PyThreadState* __tstate = wxPyBeginAllowThreads();
19659 result = (int)(arg1)->GetImage();
19660
19661 wxPyEndAllowThreads(__tstate);
19662 if (PyErr_Occurred()) SWIG_fail;
19663 }
19664 resultobj = SWIG_PyObj_FromInt((int)result);
19665 return resultobj;
19666 fail:
19667 return NULL;
19668}
19669
19670
19671static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19672 PyObject *resultobj;
19673 wxListEvent *arg1 = (wxListEvent *) 0 ;
19674 long result;
19675 PyObject * obj0 = 0 ;
19676 char *kwnames[] = {
19677 (char *) "self", NULL
19678 };
19679
19680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
19681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19682 {
19683 PyThreadState* __tstate = wxPyBeginAllowThreads();
19684 result = (long)(arg1)->GetData();
19685
19686 wxPyEndAllowThreads(__tstate);
19687 if (PyErr_Occurred()) SWIG_fail;
19688 }
19689 resultobj = SWIG_PyObj_FromLong((long)result);
19690 return resultobj;
19691 fail:
19692 return NULL;
19693}
19694
19695
19696static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
19697 PyObject *resultobj;
19698 wxListEvent *arg1 = (wxListEvent *) 0 ;
19699 long result;
19700 PyObject * obj0 = 0 ;
19701 char *kwnames[] = {
19702 (char *) "self", NULL
19703 };
19704
19705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
19706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = (long)(arg1)->GetMask();
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 resultobj = SWIG_PyObj_FromLong((long)result);
19715 return resultobj;
19716 fail:
19717 return NULL;
19718}
19719
19720
19721static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19722 PyObject *resultobj;
19723 wxListEvent *arg1 = (wxListEvent *) 0 ;
19724 wxListItem *result;
19725 PyObject * obj0 = 0 ;
19726 char *kwnames[] = {
19727 (char *) "self", NULL
19728 };
19729
19730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
19731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19732 {
19733 PyThreadState* __tstate = wxPyBeginAllowThreads();
19734 {
19735 wxListItem const &_result_ref = (arg1)->GetItem();
19736 result = (wxListItem *) &_result_ref;
19737 }
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
19743 return resultobj;
19744 fail:
19745 return NULL;
19746}
19747
19748
19749static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
19750 PyObject *resultobj;
19751 wxListEvent *arg1 = (wxListEvent *) 0 ;
19752 long result;
19753 PyObject * obj0 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "self", NULL
19756 };
19757
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
19759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19760 {
19761 PyThreadState* __tstate = wxPyBeginAllowThreads();
19762 result = (long)(arg1)->GetCacheFrom();
19763
19764 wxPyEndAllowThreads(__tstate);
19765 if (PyErr_Occurred()) SWIG_fail;
19766 }
19767 resultobj = SWIG_PyObj_FromLong((long)result);
19768 return resultobj;
19769 fail:
19770 return NULL;
19771}
19772
19773
19774static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
19775 PyObject *resultobj;
19776 wxListEvent *arg1 = (wxListEvent *) 0 ;
19777 long result;
19778 PyObject * obj0 = 0 ;
19779 char *kwnames[] = {
19780 (char *) "self", NULL
19781 };
19782
19783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
19784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 result = (long)(arg1)->GetCacheTo();
19788
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 resultobj = SWIG_PyObj_FromLong((long)result);
19793 return resultobj;
19794 fail:
19795 return NULL;
19796}
19797
19798
19799static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
19800 PyObject *resultobj;
19801 wxListEvent *arg1 = (wxListEvent *) 0 ;
19802 bool result;
19803 PyObject * obj0 = 0 ;
19804 char *kwnames[] = {
19805 (char *) "self", NULL
19806 };
19807
19808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
19809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19810 {
19811 PyThreadState* __tstate = wxPyBeginAllowThreads();
19812 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
19813
19814 wxPyEndAllowThreads(__tstate);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 }
19817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19818 return resultobj;
19819 fail:
19820 return NULL;
19821}
19822
19823
19824static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
19825 PyObject *resultobj;
19826 wxListEvent *arg1 = (wxListEvent *) 0 ;
19827 bool arg2 ;
19828 PyObject * obj0 = 0 ;
19829 PyObject * obj1 = 0 ;
19830 char *kwnames[] = {
19831 (char *) "self",(char *) "editCancelled", NULL
19832 };
19833
19834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
19835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19836 {
19837 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19838 if (PyErr_Occurred()) SWIG_fail;
19839 }
19840 {
19841 PyThreadState* __tstate = wxPyBeginAllowThreads();
19842 (arg1)->SetEditCanceled(arg2);
19843
19844 wxPyEndAllowThreads(__tstate);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
19847 Py_INCREF(Py_None); resultobj = Py_None;
19848 return resultobj;
19849 fail:
19850 return NULL;
19851}
19852
19853
19854static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
19855 PyObject *obj;
19856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19857 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
19858 Py_INCREF(obj);
19859 return Py_BuildValue((char *)"");
19860}
19861static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19862 PyObject *resultobj;
19863 wxWindow *arg1 = (wxWindow *) 0 ;
19864 int arg2 = (int) -1 ;
19865 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19866 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19867 wxSize const &arg4_defvalue = wxDefaultSize ;
19868 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19869 long arg5 = (long) wxLC_ICON ;
19870 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19871 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19872 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19873 wxString *arg7 = (wxString *) &arg7_defvalue ;
19874 wxPyListCtrl *result;
19875 wxPoint temp3 ;
19876 wxSize temp4 ;
19877 bool temp7 = False ;
19878 PyObject * obj0 = 0 ;
19879 PyObject * obj1 = 0 ;
19880 PyObject * obj2 = 0 ;
19881 PyObject * obj3 = 0 ;
19882 PyObject * obj4 = 0 ;
19883 PyObject * obj5 = 0 ;
19884 PyObject * obj6 = 0 ;
19885 char *kwnames[] = {
19886 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19887 };
19888
19889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
19890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19891 if (obj1) {
19892 {
19893 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19894 if (PyErr_Occurred()) SWIG_fail;
19895 }
19896 }
19897 if (obj2) {
19898 {
19899 arg3 = &temp3;
19900 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19901 }
19902 }
19903 if (obj3) {
19904 {
19905 arg4 = &temp4;
19906 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19907 }
19908 }
19909 if (obj4) {
19910 {
19911 arg5 = (long) SWIG_PyObj_AsLong(obj4);
19912 if (PyErr_Occurred()) SWIG_fail;
19913 }
19914 }
19915 if (obj5) {
19916 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19917 if (arg6 == NULL) {
19918 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19919 }
19920 }
19921 if (obj6) {
19922 {
19923 arg7 = wxString_in_helper(obj6);
19924 if (arg7 == NULL) SWIG_fail;
19925 temp7 = True;
19926 }
19927 }
19928 {
19929 PyThreadState* __tstate = wxPyBeginAllowThreads();
19930 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19931
19932 wxPyEndAllowThreads(__tstate);
19933 if (PyErr_Occurred()) SWIG_fail;
19934 }
19935 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19936 {
19937 if (temp7)
19938 delete arg7;
19939 }
19940 return resultobj;
19941 fail:
19942 {
19943 if (temp7)
19944 delete arg7;
19945 }
19946 return NULL;
19947}
19948
19949
19950static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
19951 PyObject *resultobj;
19952 wxPyListCtrl *result;
19953 char *kwnames[] = {
19954 NULL
19955 };
19956
19957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
19958 {
19959 PyThreadState* __tstate = wxPyBeginAllowThreads();
19960 result = (wxPyListCtrl *)new wxPyListCtrl();
19961
19962 wxPyEndAllowThreads(__tstate);
19963 if (PyErr_Occurred()) SWIG_fail;
19964 }
19965 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
19966 return resultobj;
19967 fail:
19968 return NULL;
19969}
19970
19971
19972static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19973 PyObject *resultobj;
19974 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19975 wxWindow *arg2 = (wxWindow *) 0 ;
19976 int arg3 = (int) -1 ;
19977 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19978 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19979 wxSize const &arg5_defvalue = wxDefaultSize ;
19980 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19981 long arg6 = (long) wxLC_ICON ;
19982 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19983 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19984 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19985 wxString *arg8 = (wxString *) &arg8_defvalue ;
19986 bool result;
19987 wxPoint temp4 ;
19988 wxSize temp5 ;
19989 bool temp8 = False ;
19990 PyObject * obj0 = 0 ;
19991 PyObject * obj1 = 0 ;
19992 PyObject * obj2 = 0 ;
19993 PyObject * obj3 = 0 ;
19994 PyObject * obj4 = 0 ;
19995 PyObject * obj5 = 0 ;
19996 PyObject * obj6 = 0 ;
19997 PyObject * obj7 = 0 ;
19998 char *kwnames[] = {
19999 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20000 };
20001
20002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
20003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20005 if (obj2) {
20006 {
20007 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
20010 }
20011 if (obj3) {
20012 {
20013 arg4 = &temp4;
20014 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20015 }
20016 }
20017 if (obj4) {
20018 {
20019 arg5 = &temp5;
20020 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20021 }
20022 }
20023 if (obj5) {
20024 {
20025 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20026 if (PyErr_Occurred()) SWIG_fail;
20027 }
20028 }
20029 if (obj6) {
20030 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20031 if (arg7 == NULL) {
20032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20033 }
20034 }
20035 if (obj7) {
20036 {
20037 arg8 = wxString_in_helper(obj7);
20038 if (arg8 == NULL) SWIG_fail;
20039 temp8 = True;
20040 }
20041 }
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20045
20046 wxPyEndAllowThreads(__tstate);
20047 if (PyErr_Occurred()) SWIG_fail;
20048 }
20049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20050 {
20051 if (temp8)
20052 delete arg8;
20053 }
20054 return resultobj;
20055 fail:
20056 {
20057 if (temp8)
20058 delete arg8;
20059 }
20060 return NULL;
20061}
20062
20063
20064static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj;
20066 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20067 PyObject *arg2 = (PyObject *) 0 ;
20068 PyObject *arg3 = (PyObject *) 0 ;
20069 PyObject * obj0 = 0 ;
20070 PyObject * obj1 = 0 ;
20071 PyObject * obj2 = 0 ;
20072 char *kwnames[] = {
20073 (char *) "self",(char *) "self",(char *) "_class", NULL
20074 };
20075
20076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20078 arg2 = obj1;
20079 arg3 = obj2;
20080 {
20081 PyThreadState* __tstate = wxPyBeginAllowThreads();
20082 (arg1)->_setCallbackInfo(arg2,arg3);
20083
20084 wxPyEndAllowThreads(__tstate);
20085 if (PyErr_Occurred()) SWIG_fail;
20086 }
20087 Py_INCREF(Py_None); resultobj = Py_None;
20088 return resultobj;
20089 fail:
20090 return NULL;
20091}
20092
20093
20094static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20095 PyObject *resultobj;
20096 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20097 wxColour *arg2 = 0 ;
20098 bool result;
20099 wxColour temp2 ;
20100 PyObject * obj0 = 0 ;
20101 PyObject * obj1 = 0 ;
20102 char *kwnames[] = {
20103 (char *) "self",(char *) "col", NULL
20104 };
20105
20106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
20107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20108 {
20109 arg2 = &temp2;
20110 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20111 }
20112 {
20113 PyThreadState* __tstate = wxPyBeginAllowThreads();
20114 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
20115
20116 wxPyEndAllowThreads(__tstate);
20117 if (PyErr_Occurred()) SWIG_fail;
20118 }
20119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20120 return resultobj;
20121 fail:
20122 return NULL;
20123}
20124
20125
20126static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20127 PyObject *resultobj;
20128 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20129 wxColour *arg2 = 0 ;
20130 bool result;
20131 wxColour temp2 ;
20132 PyObject * obj0 = 0 ;
20133 PyObject * obj1 = 0 ;
20134 char *kwnames[] = {
20135 (char *) "self",(char *) "col", NULL
20136 };
20137
20138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20140 {
20141 arg2 = &temp2;
20142 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
20143 }
20144 {
20145 PyThreadState* __tstate = wxPyBeginAllowThreads();
20146 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
20147
20148 wxPyEndAllowThreads(__tstate);
20149 if (PyErr_Occurred()) SWIG_fail;
20150 }
20151 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20152 return resultobj;
20153 fail:
20154 return NULL;
20155}
20156
20157
20158static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20159 PyObject *resultobj;
20160 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20161 int arg2 ;
20162 wxListItem *result;
20163 PyObject * obj0 = 0 ;
20164 PyObject * obj1 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self",(char *) "col", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
20170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20171 {
20172 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
20175 {
20176 PyThreadState* __tstate = wxPyBeginAllowThreads();
20177 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
20178
20179 wxPyEndAllowThreads(__tstate);
20180 if (PyErr_Occurred()) SWIG_fail;
20181 }
20182 {
20183 resultobj = wxPyMake_wxObject(result);
20184 }
20185 return resultobj;
20186 fail:
20187 return NULL;
20188}
20189
20190
20191static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
20192 PyObject *resultobj;
20193 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20194 int arg2 ;
20195 wxListItem *arg3 = 0 ;
20196 bool result;
20197 PyObject * obj0 = 0 ;
20198 PyObject * obj1 = 0 ;
20199 PyObject * obj2 = 0 ;
20200 char *kwnames[] = {
20201 (char *) "self",(char *) "col",(char *) "item", NULL
20202 };
20203
20204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
20205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20206 {
20207 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20211 if (arg3 == NULL) {
20212 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20213 }
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 result = (bool)(arg1)->SetColumn(arg2,*arg3);
20217
20218 wxPyEndAllowThreads(__tstate);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 }
20221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20222 return resultobj;
20223 fail:
20224 return NULL;
20225}
20226
20227
20228static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20229 PyObject *resultobj;
20230 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20231 int arg2 ;
20232 int result;
20233 PyObject * obj0 = 0 ;
20234 PyObject * obj1 = 0 ;
20235 char *kwnames[] = {
20236 (char *) "self",(char *) "col", NULL
20237 };
20238
20239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
20240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20241 {
20242 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20243 if (PyErr_Occurred()) SWIG_fail;
20244 }
20245 {
20246 PyThreadState* __tstate = wxPyBeginAllowThreads();
20247 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
20248
20249 wxPyEndAllowThreads(__tstate);
20250 if (PyErr_Occurred()) SWIG_fail;
20251 }
20252 resultobj = SWIG_PyObj_FromInt((int)result);
20253 return resultobj;
20254 fail:
20255 return NULL;
20256}
20257
20258
20259static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
20260 PyObject *resultobj;
20261 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20262 int arg2 ;
20263 int arg3 ;
20264 bool result;
20265 PyObject * obj0 = 0 ;
20266 PyObject * obj1 = 0 ;
20267 PyObject * obj2 = 0 ;
20268 char *kwnames[] = {
20269 (char *) "self",(char *) "col",(char *) "width", NULL
20270 };
20271
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
20273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20274 {
20275 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20276 if (PyErr_Occurred()) SWIG_fail;
20277 }
20278 {
20279 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
20282 {
20283 PyThreadState* __tstate = wxPyBeginAllowThreads();
20284 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
20285
20286 wxPyEndAllowThreads(__tstate);
20287 if (PyErr_Occurred()) SWIG_fail;
20288 }
20289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20290 return resultobj;
20291 fail:
20292 return NULL;
20293}
20294
20295
20296static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20297 PyObject *resultobj;
20298 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20299 int result;
20300 PyObject * obj0 = 0 ;
20301 char *kwnames[] = {
20302 (char *) "self", NULL
20303 };
20304
20305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
20306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20307 {
20308 PyThreadState* __tstate = wxPyBeginAllowThreads();
20309 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
20310
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 resultobj = SWIG_PyObj_FromInt((int)result);
20315 return resultobj;
20316 fail:
20317 return NULL;
20318}
20319
20320
20321static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20322 PyObject *resultobj;
20323 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20324 wxRect result;
20325 PyObject * obj0 = 0 ;
20326 char *kwnames[] = {
20327 (char *) "self", NULL
20328 };
20329
20330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
20331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
20335
20336 wxPyEndAllowThreads(__tstate);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 }
20339 {
20340 wxRect * resultptr;
20341 resultptr = new wxRect((wxRect &) result);
20342 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20343 }
20344 return resultobj;
20345 fail:
20346 return NULL;
20347}
20348
20349
20350static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20351 PyObject *resultobj;
20352 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20353 wxTextCtrl *result;
20354 PyObject * obj0 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "self", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
20360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
20364
20365 wxPyEndAllowThreads(__tstate);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 }
20368 {
20369 resultobj = wxPyMake_wxObject(result);
20370 }
20371 return resultobj;
20372 fail:
20373 return NULL;
20374}
20375
20376
20377static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20378 PyObject *resultobj;
20379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20380 long arg2 ;
20381 int arg3 = (int) 0 ;
20382 wxListItem *result;
20383 PyObject * obj0 = 0 ;
20384 PyObject * obj1 = 0 ;
20385 PyObject * obj2 = 0 ;
20386 char *kwnames[] = {
20387 (char *) "self",(char *) "itemId",(char *) "col", NULL
20388 };
20389
20390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
20391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20392 {
20393 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 if (obj2) {
20397 {
20398 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20399 if (PyErr_Occurred()) SWIG_fail;
20400 }
20401 }
20402 {
20403 PyThreadState* __tstate = wxPyBeginAllowThreads();
20404 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
20405
20406 wxPyEndAllowThreads(__tstate);
20407 if (PyErr_Occurred()) SWIG_fail;
20408 }
20409 {
20410 resultobj = wxPyMake_wxObject(result);
20411 }
20412 return resultobj;
20413 fail:
20414 return NULL;
20415}
20416
20417
20418static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20419 PyObject *resultobj;
20420 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20421 wxListItem *arg2 = 0 ;
20422 bool result;
20423 PyObject * obj0 = 0 ;
20424 PyObject * obj1 = 0 ;
20425 char *kwnames[] = {
20426 (char *) "self",(char *) "info", NULL
20427 };
20428
20429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
20430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20432 if (arg2 == NULL) {
20433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20434 }
20435 {
20436 PyThreadState* __tstate = wxPyBeginAllowThreads();
20437 result = (bool)(arg1)->SetItem(*arg2);
20438
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20443 return resultobj;
20444 fail:
20445 return NULL;
20446}
20447
20448
20449static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20450 PyObject *resultobj;
20451 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20452 long arg2 ;
20453 int arg3 ;
20454 wxString *arg4 = 0 ;
20455 int arg5 = (int) -1 ;
20456 long result;
20457 bool temp4 = False ;
20458 PyObject * obj0 = 0 ;
20459 PyObject * obj1 = 0 ;
20460 PyObject * obj2 = 0 ;
20461 PyObject * obj3 = 0 ;
20462 PyObject * obj4 = 0 ;
20463 char *kwnames[] = {
20464 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
20465 };
20466
20467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
20468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20469 {
20470 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20471 if (PyErr_Occurred()) SWIG_fail;
20472 }
20473 {
20474 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 {
20478 arg4 = wxString_in_helper(obj3);
20479 if (arg4 == NULL) SWIG_fail;
20480 temp4 = True;
20481 }
20482 if (obj4) {
20483 {
20484 arg5 = (int) SWIG_PyObj_AsInt(obj4);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 }
20488 {
20489 PyThreadState* __tstate = wxPyBeginAllowThreads();
20490 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
20491
20492 wxPyEndAllowThreads(__tstate);
20493 if (PyErr_Occurred()) SWIG_fail;
20494 }
20495 resultobj = SWIG_PyObj_FromLong((long)result);
20496 {
20497 if (temp4)
20498 delete arg4;
20499 }
20500 return resultobj;
20501 fail:
20502 {
20503 if (temp4)
20504 delete arg4;
20505 }
20506 return NULL;
20507}
20508
20509
20510static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20511 PyObject *resultobj;
20512 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20513 long arg2 ;
20514 long arg3 ;
20515 int result;
20516 PyObject * obj0 = 0 ;
20517 PyObject * obj1 = 0 ;
20518 PyObject * obj2 = 0 ;
20519 char *kwnames[] = {
20520 (char *) "self",(char *) "item",(char *) "stateMask", NULL
20521 };
20522
20523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_GetItemState",kwnames,&obj0,&obj1,&obj2)) goto fail;
20524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20525 {
20526 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20527 if (PyErr_Occurred()) SWIG_fail;
20528 }
20529 {
20530 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20531 if (PyErr_Occurred()) SWIG_fail;
20532 }
20533 {
20534 PyThreadState* __tstate = wxPyBeginAllowThreads();
20535 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
20536
20537 wxPyEndAllowThreads(__tstate);
20538 if (PyErr_Occurred()) SWIG_fail;
20539 }
20540 resultobj = SWIG_PyObj_FromInt((int)result);
20541 return resultobj;
20542 fail:
20543 return NULL;
20544}
20545
20546
20547static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
20548 PyObject *resultobj;
20549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20550 long arg2 ;
20551 long arg3 ;
20552 long arg4 ;
20553 bool result;
20554 PyObject * obj0 = 0 ;
20555 PyObject * obj1 = 0 ;
20556 PyObject * obj2 = 0 ;
20557 PyObject * obj3 = 0 ;
20558 char *kwnames[] = {
20559 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
20560 };
20561
20562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemState",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20564 {
20565 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
20568 {
20569 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20570 if (PyErr_Occurred()) SWIG_fail;
20571 }
20572 {
20573 arg4 = (long) SWIG_PyObj_AsLong(obj3);
20574 if (PyErr_Occurred()) SWIG_fail;
20575 }
20576 {
20577 PyThreadState* __tstate = wxPyBeginAllowThreads();
20578 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
20579
20580 wxPyEndAllowThreads(__tstate);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
20583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20584 return resultobj;
20585 fail:
20586 return NULL;
20587}
20588
20589
20590static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20591 PyObject *resultobj;
20592 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20593 long arg2 ;
20594 int arg3 ;
20595 int arg4 ;
20596 bool result;
20597 PyObject * obj0 = 0 ;
20598 PyObject * obj1 = 0 ;
20599 PyObject * obj2 = 0 ;
20600 PyObject * obj3 = 0 ;
20601 char *kwnames[] = {
20602 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
20603 };
20604
20605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20607 {
20608 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20609 if (PyErr_Occurred()) SWIG_fail;
20610 }
20611 {
20612 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20613 if (PyErr_Occurred()) SWIG_fail;
20614 }
20615 {
20616 arg4 = (int) SWIG_PyObj_AsInt(obj3);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
20619 {
20620 PyThreadState* __tstate = wxPyBeginAllowThreads();
20621 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
20622
20623 wxPyEndAllowThreads(__tstate);
20624 if (PyErr_Occurred()) SWIG_fail;
20625 }
20626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20627 return resultobj;
20628 fail:
20629 return NULL;
20630}
20631
20632
20633static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20634 PyObject *resultobj;
20635 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20636 long arg2 ;
20637 wxString result;
20638 PyObject * obj0 = 0 ;
20639 PyObject * obj1 = 0 ;
20640 char *kwnames[] = {
20641 (char *) "self",(char *) "item", NULL
20642 };
20643
20644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20646 {
20647 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20648 if (PyErr_Occurred()) SWIG_fail;
20649 }
20650 {
20651 PyThreadState* __tstate = wxPyBeginAllowThreads();
20652 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
20653
20654 wxPyEndAllowThreads(__tstate);
20655 if (PyErr_Occurred()) SWIG_fail;
20656 }
20657 {
20658#if wxUSE_UNICODE
20659 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20660#else
20661 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20662#endif
20663 }
20664 return resultobj;
20665 fail:
20666 return NULL;
20667}
20668
20669
20670static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj;
20672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20673 long arg2 ;
20674 wxString *arg3 = 0 ;
20675 bool temp3 = False ;
20676 PyObject * obj0 = 0 ;
20677 PyObject * obj1 = 0 ;
20678 PyObject * obj2 = 0 ;
20679 char *kwnames[] = {
20680 (char *) "self",(char *) "item",(char *) "str", NULL
20681 };
20682
20683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
20684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20685 {
20686 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20687 if (PyErr_Occurred()) SWIG_fail;
20688 }
20689 {
20690 arg3 = wxString_in_helper(obj2);
20691 if (arg3 == NULL) SWIG_fail;
20692 temp3 = True;
20693 }
20694 {
20695 PyThreadState* __tstate = wxPyBeginAllowThreads();
20696 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
20697
20698 wxPyEndAllowThreads(__tstate);
20699 if (PyErr_Occurred()) SWIG_fail;
20700 }
20701 Py_INCREF(Py_None); resultobj = Py_None;
20702 {
20703 if (temp3)
20704 delete arg3;
20705 }
20706 return resultobj;
20707 fail:
20708 {
20709 if (temp3)
20710 delete arg3;
20711 }
20712 return NULL;
20713}
20714
20715
20716static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20717 PyObject *resultobj;
20718 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20719 long arg2 ;
20720 long result;
20721 PyObject * obj0 = 0 ;
20722 PyObject * obj1 = 0 ;
20723 char *kwnames[] = {
20724 (char *) "self",(char *) "item", NULL
20725 };
20726
20727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20729 {
20730 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20731 if (PyErr_Occurred()) SWIG_fail;
20732 }
20733 {
20734 PyThreadState* __tstate = wxPyBeginAllowThreads();
20735 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
20736
20737 wxPyEndAllowThreads(__tstate);
20738 if (PyErr_Occurred()) SWIG_fail;
20739 }
20740 resultobj = SWIG_PyObj_FromLong((long)result);
20741 return resultobj;
20742 fail:
20743 return NULL;
20744}
20745
20746
20747static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20748 PyObject *resultobj;
20749 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20750 long arg2 ;
20751 long arg3 ;
20752 bool result;
20753 PyObject * obj0 = 0 ;
20754 PyObject * obj1 = 0 ;
20755 PyObject * obj2 = 0 ;
20756 char *kwnames[] = {
20757 (char *) "self",(char *) "item",(char *) "data", NULL
20758 };
20759
20760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
20761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20762 {
20763 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 {
20767 arg3 = (long) SWIG_PyObj_AsLong(obj2);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 }
20770 {
20771 PyThreadState* __tstate = wxPyBeginAllowThreads();
20772 result = (bool)(arg1)->SetItemData(arg2,arg3);
20773
20774 wxPyEndAllowThreads(__tstate);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 }
20777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20778 return resultobj;
20779 fail:
20780 return NULL;
20781}
20782
20783
20784static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20785 PyObject *resultobj;
20786 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20787 long arg2 ;
20788 wxPoint result;
20789 PyObject * obj0 = 0 ;
20790 PyObject * obj1 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self",(char *) "item", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemPosition",kwnames,&obj0,&obj1)) goto fail;
20796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20797 {
20798 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20799 if (PyErr_Occurred()) SWIG_fail;
20800 }
20801 {
20802 PyThreadState* __tstate = wxPyBeginAllowThreads();
20803 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
20804
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
20808 {
20809 wxPoint * resultptr;
20810 resultptr = new wxPoint((wxPoint &) result);
20811 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20812 }
20813 return resultobj;
20814 fail:
20815 return NULL;
20816}
20817
20818
20819static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
20820 PyObject *resultobj;
20821 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20822 long arg2 ;
20823 int arg3 = (int) wxLIST_RECT_BOUNDS ;
20824 wxRect result;
20825 PyObject * obj0 = 0 ;
20826 PyObject * obj1 = 0 ;
20827 PyObject * obj2 = 0 ;
20828 char *kwnames[] = {
20829 (char *) "self",(char *) "item",(char *) "code", NULL
20830 };
20831
20832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_GetItemRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
20833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20834 {
20835 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20836 if (PyErr_Occurred()) SWIG_fail;
20837 }
20838 if (obj2) {
20839 {
20840 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20841 if (PyErr_Occurred()) SWIG_fail;
20842 }
20843 }
20844 {
20845 PyThreadState* __tstate = wxPyBeginAllowThreads();
20846 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
20847
20848 wxPyEndAllowThreads(__tstate);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 }
20851 {
20852 wxRect * resultptr;
20853 resultptr = new wxRect((wxRect &) result);
20854 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
20855 }
20856 return resultobj;
20857 fail:
20858 return NULL;
20859}
20860
20861
20862static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
20863 PyObject *resultobj;
20864 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20865 long arg2 ;
20866 wxPoint *arg3 = 0 ;
20867 bool result;
20868 wxPoint temp3 ;
20869 PyObject * obj0 = 0 ;
20870 PyObject * obj1 = 0 ;
20871 PyObject * obj2 = 0 ;
20872 char *kwnames[] = {
20873 (char *) "self",(char *) "item",(char *) "pos", NULL
20874 };
20875
20876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
20877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20878 {
20879 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 {
20883 arg3 = &temp3;
20884 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20885 }
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
20889
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
20893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20894 return resultobj;
20895 fail:
20896 return NULL;
20897}
20898
20899
20900static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20901 PyObject *resultobj;
20902 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20903 int result;
20904 PyObject * obj0 = 0 ;
20905 char *kwnames[] = {
20906 (char *) "self", NULL
20907 };
20908
20909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
20910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 resultobj = SWIG_PyObj_FromInt((int)result);
20919 return resultobj;
20920 fail:
20921 return NULL;
20922}
20923
20924
20925static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20928 int result;
20929 PyObject * obj0 = 0 ;
20930 char *kwnames[] = {
20931 (char *) "self", NULL
20932 };
20933
20934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
20935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20936 {
20937 PyThreadState* __tstate = wxPyBeginAllowThreads();
20938 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
20939
20940 wxPyEndAllowThreads(__tstate);
20941 if (PyErr_Occurred()) SWIG_fail;
20942 }
20943 resultobj = SWIG_PyObj_FromInt((int)result);
20944 return resultobj;
20945 fail:
20946 return NULL;
20947}
20948
20949
20950static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20951 PyObject *resultobj;
20952 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20953 wxSize result;
20954 PyObject * obj0 = 0 ;
20955 char *kwnames[] = {
20956 (char *) "self", NULL
20957 };
20958
20959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
20960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20961 {
20962 PyThreadState* __tstate = wxPyBeginAllowThreads();
20963 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
20964
20965 wxPyEndAllowThreads(__tstate);
20966 if (PyErr_Occurred()) SWIG_fail;
20967 }
20968 {
20969 wxSize * resultptr;
20970 resultptr = new wxSize((wxSize &) result);
20971 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
20972 }
20973 return resultobj;
20974 fail:
20975 return NULL;
20976}
20977
20978
20979static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20980 PyObject *resultobj;
20981 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20982 int result;
20983 PyObject * obj0 = 0 ;
20984 char *kwnames[] = {
20985 (char *) "self", NULL
20986 };
20987
20988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
20989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20990 {
20991 PyThreadState* __tstate = wxPyBeginAllowThreads();
20992 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
20993
20994 wxPyEndAllowThreads(__tstate);
20995 if (PyErr_Occurred()) SWIG_fail;
20996 }
20997 resultobj = SWIG_PyObj_FromInt((int)result);
20998 return resultobj;
20999 fail:
21000 return NULL;
21001}
21002
21003
21004static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21005 PyObject *resultobj;
21006 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21007 wxColour result;
21008 PyObject * obj0 = 0 ;
21009 char *kwnames[] = {
21010 (char *) "self", NULL
21011 };
21012
21013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
21014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21015 {
21016 PyThreadState* __tstate = wxPyBeginAllowThreads();
21017 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
21018
21019 wxPyEndAllowThreads(__tstate);
21020 if (PyErr_Occurred()) SWIG_fail;
21021 }
21022 {
21023 wxColour * resultptr;
21024 resultptr = new wxColour((wxColour &) result);
21025 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21026 }
21027 return resultobj;
21028 fail:
21029 return NULL;
21030}
21031
21032
21033static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21034 PyObject *resultobj;
21035 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21036 wxColour *arg2 = 0 ;
21037 wxColour temp2 ;
21038 PyObject * obj0 = 0 ;
21039 PyObject * obj1 = 0 ;
21040 char *kwnames[] = {
21041 (char *) "self",(char *) "col", NULL
21042 };
21043
21044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
21045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21046 {
21047 arg2 = &temp2;
21048 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
21049 }
21050 {
21051 PyThreadState* __tstate = wxPyBeginAllowThreads();
21052 (arg1)->SetTextColour((wxColour const &)*arg2);
21053
21054 wxPyEndAllowThreads(__tstate);
21055 if (PyErr_Occurred()) SWIG_fail;
21056 }
21057 Py_INCREF(Py_None); resultobj = Py_None;
21058 return resultobj;
21059 fail:
21060 return NULL;
21061}
21062
21063
21064static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21065 PyObject *resultobj;
21066 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21067 long result;
21068 PyObject * obj0 = 0 ;
21069 char *kwnames[] = {
21070 (char *) "self", NULL
21071 };
21072
21073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
21074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21075 {
21076 PyThreadState* __tstate = wxPyBeginAllowThreads();
21077 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
21078
21079 wxPyEndAllowThreads(__tstate);
21080 if (PyErr_Occurred()) SWIG_fail;
21081 }
21082 resultobj = SWIG_PyObj_FromLong((long)result);
21083 return resultobj;
21084 fail:
21085 return NULL;
21086}
21087
21088
21089static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21092 long arg2 ;
21093 bool arg3 = (bool) True ;
21094 PyObject * obj0 = 0 ;
21095 PyObject * obj1 = 0 ;
21096 PyObject * obj2 = 0 ;
21097 char *kwnames[] = {
21098 (char *) "self",(char *) "style",(char *) "add", NULL
21099 };
21100
21101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&obj1,&obj2)) goto fail;
21102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21103 {
21104 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 if (obj2) {
21108 {
21109 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
21110 if (PyErr_Occurred()) SWIG_fail;
21111 }
21112 }
21113 {
21114 PyThreadState* __tstate = wxPyBeginAllowThreads();
21115 (arg1)->SetSingleStyle(arg2,arg3);
21116
21117 wxPyEndAllowThreads(__tstate);
21118 if (PyErr_Occurred()) SWIG_fail;
21119 }
21120 Py_INCREF(Py_None); resultobj = Py_None;
21121 return resultobj;
21122 fail:
21123 return NULL;
21124}
21125
21126
21127static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
21128 PyObject *resultobj;
21129 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21130 long arg2 ;
21131 PyObject * obj0 = 0 ;
21132 PyObject * obj1 = 0 ;
21133 char *kwnames[] = {
21134 (char *) "self",(char *) "style", NULL
21135 };
21136
21137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
21138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21139 {
21140 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21141 if (PyErr_Occurred()) SWIG_fail;
21142 }
21143 {
21144 PyThreadState* __tstate = wxPyBeginAllowThreads();
21145 (arg1)->SetWindowStyleFlag(arg2);
21146
21147 wxPyEndAllowThreads(__tstate);
21148 if (PyErr_Occurred()) SWIG_fail;
21149 }
21150 Py_INCREF(Py_None); resultobj = Py_None;
21151 return resultobj;
21152 fail:
21153 return NULL;
21154}
21155
21156
21157static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21158 PyObject *resultobj;
21159 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21160 long arg2 ;
21161 int arg3 = (int) wxLIST_NEXT_ALL ;
21162 int arg4 = (int) wxLIST_STATE_DONTCARE ;
21163 long result;
21164 PyObject * obj0 = 0 ;
21165 PyObject * obj1 = 0 ;
21166 PyObject * obj2 = 0 ;
21167 PyObject * obj3 = 0 ;
21168 char *kwnames[] = {
21169 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
21170 };
21171
21172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21174 {
21175 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21176 if (PyErr_Occurred()) SWIG_fail;
21177 }
21178 if (obj2) {
21179 {
21180 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21181 if (PyErr_Occurred()) SWIG_fail;
21182 }
21183 }
21184 if (obj3) {
21185 {
21186 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21187 if (PyErr_Occurred()) SWIG_fail;
21188 }
21189 }
21190 {
21191 PyThreadState* __tstate = wxPyBeginAllowThreads();
21192 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
21193
21194 wxPyEndAllowThreads(__tstate);
21195 if (PyErr_Occurred()) SWIG_fail;
21196 }
21197 resultobj = SWIG_PyObj_FromLong((long)result);
21198 return resultobj;
21199 fail:
21200 return NULL;
21201}
21202
21203
21204static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21205 PyObject *resultobj;
21206 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21207 int arg2 ;
21208 wxImageList *result;
21209 PyObject * obj0 = 0 ;
21210 PyObject * obj1 = 0 ;
21211 char *kwnames[] = {
21212 (char *) "self",(char *) "which", NULL
21213 };
21214
21215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetImageList",kwnames,&obj0,&obj1)) goto fail;
21216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21217 {
21218 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21219 if (PyErr_Occurred()) SWIG_fail;
21220 }
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 {
21229 resultobj = wxPyMake_wxObject(result);
21230 }
21231 return resultobj;
21232 fail:
21233 return NULL;
21234}
21235
21236
21237static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21238 PyObject *resultobj;
21239 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21240 wxImageList *arg2 = (wxImageList *) 0 ;
21241 int arg3 ;
21242 PyObject * obj0 = 0 ;
21243 PyObject * obj1 = 0 ;
21244 PyObject * obj2 = 0 ;
21245 char *kwnames[] = {
21246 (char *) "self",(char *) "imageList",(char *) "which", NULL
21247 };
21248
21249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21251 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21252 {
21253 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 {
21257 PyThreadState* __tstate = wxPyBeginAllowThreads();
21258 (arg1)->SetImageList(arg2,arg3);
21259
21260 wxPyEndAllowThreads(__tstate);
21261 if (PyErr_Occurred()) SWIG_fail;
21262 }
21263 Py_INCREF(Py_None); resultobj = Py_None;
21264 return resultobj;
21265 fail:
21266 return NULL;
21267}
21268
21269
21270static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21271 PyObject *resultobj;
21272 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21273 wxImageList *arg2 = (wxImageList *) 0 ;
21274 int arg3 ;
21275 PyObject * obj0 = 0 ;
21276 PyObject * obj1 = 0 ;
21277 PyObject * obj2 = 0 ;
21278 char *kwnames[] = {
21279 (char *) "self",(char *) "imageList",(char *) "which", NULL
21280 };
21281
21282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&obj2)) goto fail;
21283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
21285 {
21286 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21287 if (PyErr_Occurred()) SWIG_fail;
21288 }
21289 {
21290 PyThreadState* __tstate = wxPyBeginAllowThreads();
21291 (arg1)->AssignImageList(arg2,arg3);
21292
21293 wxPyEndAllowThreads(__tstate);
21294 if (PyErr_Occurred()) SWIG_fail;
21295 }
21296 Py_INCREF(Py_None); resultobj = Py_None;
21297 return resultobj;
21298 fail:
21299 return NULL;
21300}
21301
21302
21303static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
21304 PyObject *resultobj;
21305 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21306 bool result;
21307 PyObject * obj0 = 0 ;
21308 char *kwnames[] = {
21309 (char *) "self", NULL
21310 };
21311
21312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
21313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21314 {
21315 PyThreadState* __tstate = wxPyBeginAllowThreads();
21316 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
21317
21318 wxPyEndAllowThreads(__tstate);
21319 if (PyErr_Occurred()) SWIG_fail;
21320 }
21321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21322 return resultobj;
21323 fail:
21324 return NULL;
21325}
21326
21327
21328static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21329 PyObject *resultobj;
21330 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21331 long arg2 ;
21332 PyObject * obj0 = 0 ;
21333 PyObject * obj1 = 0 ;
21334 char *kwnames[] = {
21335 (char *) "self",(char *) "item", NULL
21336 };
21337
21338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_RefreshItem",kwnames,&obj0,&obj1)) goto fail;
21339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21340 {
21341 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21342 if (PyErr_Occurred()) SWIG_fail;
21343 }
21344 {
21345 PyThreadState* __tstate = wxPyBeginAllowThreads();
21346 (arg1)->RefreshItem(arg2);
21347
21348 wxPyEndAllowThreads(__tstate);
21349 if (PyErr_Occurred()) SWIG_fail;
21350 }
21351 Py_INCREF(Py_None); resultobj = Py_None;
21352 return resultobj;
21353 fail:
21354 return NULL;
21355}
21356
21357
21358static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21359 PyObject *resultobj;
21360 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21361 long arg2 ;
21362 long arg3 ;
21363 PyObject * obj0 = 0 ;
21364 PyObject * obj1 = 0 ;
21365 PyObject * obj2 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_RefreshItems",kwnames,&obj0,&obj1,&obj2)) goto fail;
21371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21372 {
21373 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21374 if (PyErr_Occurred()) SWIG_fail;
21375 }
21376 {
21377 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21378 if (PyErr_Occurred()) SWIG_fail;
21379 }
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 (arg1)->RefreshItems(arg2,arg3);
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 Py_INCREF(Py_None); resultobj = Py_None;
21388 return resultobj;
21389 fail:
21390 return NULL;
21391}
21392
21393
21394static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
21395 PyObject *resultobj;
21396 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21397 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
21398 bool result;
21399 PyObject * obj0 = 0 ;
21400 PyObject * obj1 = 0 ;
21401 char *kwnames[] = {
21402 (char *) "self",(char *) "flag", NULL
21403 };
21404
21405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ListCtrl_Arrange",kwnames,&obj0,&obj1)) goto fail;
21406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21407 if (obj1) {
21408 {
21409 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21410 if (PyErr_Occurred()) SWIG_fail;
21411 }
21412 }
21413 {
21414 PyThreadState* __tstate = wxPyBeginAllowThreads();
21415 result = (bool)(arg1)->Arrange(arg2);
21416
21417 wxPyEndAllowThreads(__tstate);
21418 if (PyErr_Occurred()) SWIG_fail;
21419 }
21420 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21421 return resultobj;
21422 fail:
21423 return NULL;
21424}
21425
21426
21427static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21428 PyObject *resultobj;
21429 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21430 long arg2 ;
21431 bool result;
21432 PyObject * obj0 = 0 ;
21433 PyObject * obj1 = 0 ;
21434 char *kwnames[] = {
21435 (char *) "self",(char *) "item", NULL
21436 };
21437
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
21439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21440 {
21441 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 {
21445 PyThreadState* __tstate = wxPyBeginAllowThreads();
21446 result = (bool)(arg1)->DeleteItem(arg2);
21447
21448 wxPyEndAllowThreads(__tstate);
21449 if (PyErr_Occurred()) SWIG_fail;
21450 }
21451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21452 return resultobj;
21453 fail:
21454 return NULL;
21455}
21456
21457
21458static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
21459 PyObject *resultobj;
21460 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21461 bool result;
21462 PyObject * obj0 = 0 ;
21463 char *kwnames[] = {
21464 (char *) "self", NULL
21465 };
21466
21467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
21468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21469 {
21470 PyThreadState* __tstate = wxPyBeginAllowThreads();
21471 result = (bool)(arg1)->DeleteAllItems();
21472
21473 wxPyEndAllowThreads(__tstate);
21474 if (PyErr_Occurred()) SWIG_fail;
21475 }
21476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21477 return resultobj;
21478 fail:
21479 return NULL;
21480}
21481
21482
21483static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
21484 PyObject *resultobj;
21485 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21486 int arg2 ;
21487 bool result;
21488 PyObject * obj0 = 0 ;
21489 PyObject * obj1 = 0 ;
21490 char *kwnames[] = {
21491 (char *) "self",(char *) "col", NULL
21492 };
21493
21494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_DeleteColumn",kwnames,&obj0,&obj1)) goto fail;
21495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21496 {
21497 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 result = (bool)(arg1)->DeleteColumn(arg2);
21503
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21508 return resultobj;
21509 fail:
21510 return NULL;
21511}
21512
21513
21514static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
21515 PyObject *resultobj;
21516 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21517 bool result;
21518 PyObject * obj0 = 0 ;
21519 char *kwnames[] = {
21520 (char *) "self", NULL
21521 };
21522
21523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
21524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21525 {
21526 PyThreadState* __tstate = wxPyBeginAllowThreads();
21527 result = (bool)(arg1)->DeleteAllColumns();
21528
21529 wxPyEndAllowThreads(__tstate);
21530 if (PyErr_Occurred()) SWIG_fail;
21531 }
21532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21533 return resultobj;
21534 fail:
21535 return NULL;
21536}
21537
21538
21539static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
21540 PyObject *resultobj;
21541 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21542 PyObject * obj0 = 0 ;
21543 char *kwnames[] = {
21544 (char *) "self", NULL
21545 };
21546
21547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
21548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21549 {
21550 PyThreadState* __tstate = wxPyBeginAllowThreads();
21551 (arg1)->ClearAll();
21552
21553 wxPyEndAllowThreads(__tstate);
21554 if (PyErr_Occurred()) SWIG_fail;
21555 }
21556 Py_INCREF(Py_None); resultobj = Py_None;
21557 return resultobj;
21558 fail:
21559 return NULL;
21560}
21561
21562
21563static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21564 PyObject *resultobj;
21565 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21566 long arg2 ;
21567 wxTextCtrl *result;
21568 PyObject * obj0 = 0 ;
21569 PyObject * obj1 = 0 ;
21570 char *kwnames[] = {
21571 (char *) "self",(char *) "item", NULL
21572 };
21573
21574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
21575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21576 {
21577 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21578 if (PyErr_Occurred()) SWIG_fail;
21579 }
21580 {
21581 PyThreadState* __tstate = wxPyBeginAllowThreads();
21582 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
21583
21584 wxPyEndAllowThreads(__tstate);
21585 if (PyErr_Occurred()) SWIG_fail;
21586 }
21587 {
21588 resultobj = wxPyMake_wxObject(result);
21589 }
21590 return resultobj;
21591 fail:
21592 return NULL;
21593}
21594
21595
21596static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21597 PyObject *resultobj;
21598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21599 bool arg2 ;
21600 bool result;
21601 PyObject * obj0 = 0 ;
21602 PyObject * obj1 = 0 ;
21603 char *kwnames[] = {
21604 (char *) "self",(char *) "cancel", NULL
21605 };
21606
21607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
21608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21609 {
21610 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21611 if (PyErr_Occurred()) SWIG_fail;
21612 }
21613 {
21614 PyThreadState* __tstate = wxPyBeginAllowThreads();
21615 result = (bool)(arg1)->EndEditLabel(arg2);
21616
21617 wxPyEndAllowThreads(__tstate);
21618 if (PyErr_Occurred()) SWIG_fail;
21619 }
21620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21621 return resultobj;
21622 fail:
21623 return NULL;
21624}
21625
21626
21627static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21628 PyObject *resultobj;
21629 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21630 long arg2 ;
21631 bool result;
21632 PyObject * obj0 = 0 ;
21633 PyObject * obj1 = 0 ;
21634 char *kwnames[] = {
21635 (char *) "self",(char *) "item", NULL
21636 };
21637
21638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
21639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21640 {
21641 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21642 if (PyErr_Occurred()) SWIG_fail;
21643 }
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
21646 result = (bool)(arg1)->EnsureVisible(arg2);
21647
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21652 return resultobj;
21653 fail:
21654 return NULL;
21655}
21656
21657
21658static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21659 PyObject *resultobj;
21660 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21661 long arg2 ;
21662 wxString *arg3 = 0 ;
21663 bool arg4 = (bool) False ;
21664 long result;
21665 bool temp3 = False ;
21666 PyObject * obj0 = 0 ;
21667 PyObject * obj1 = 0 ;
21668 PyObject * obj2 = 0 ;
21669 PyObject * obj3 = 0 ;
21670 char *kwnames[] = {
21671 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
21672 };
21673
21674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21676 {
21677 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 }
21680 {
21681 arg3 = wxString_in_helper(obj2);
21682 if (arg3 == NULL) SWIG_fail;
21683 temp3 = True;
21684 }
21685 if (obj3) {
21686 {
21687 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
21688 if (PyErr_Occurred()) SWIG_fail;
21689 }
21690 }
21691 {
21692 PyThreadState* __tstate = wxPyBeginAllowThreads();
21693 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
21694
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 resultobj = SWIG_PyObj_FromLong((long)result);
21699 {
21700 if (temp3)
21701 delete arg3;
21702 }
21703 return resultobj;
21704 fail:
21705 {
21706 if (temp3)
21707 delete arg3;
21708 }
21709 return NULL;
21710}
21711
21712
21713static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21714 PyObject *resultobj;
21715 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21716 long arg2 ;
21717 long arg3 ;
21718 long result;
21719 PyObject * obj0 = 0 ;
21720 PyObject * obj1 = 0 ;
21721 PyObject * obj2 = 0 ;
21722 char *kwnames[] = {
21723 (char *) "self",(char *) "start",(char *) "data", NULL
21724 };
21725
21726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_FindItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21728 {
21729 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 {
21733 arg3 = (long) SWIG_PyObj_AsLong(obj2);
21734 if (PyErr_Occurred()) SWIG_fail;
21735 }
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 result = (long)(arg1)->FindItem(arg2,arg3);
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 resultobj = SWIG_PyObj_FromLong((long)result);
21744 return resultobj;
21745 fail:
21746 return NULL;
21747}
21748
21749
21750static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
21751 PyObject *resultobj;
21752 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21753 long arg2 ;
21754 wxPoint *arg3 = 0 ;
21755 int arg4 ;
21756 long result;
21757 wxPoint temp3 ;
21758 PyObject * obj0 = 0 ;
21759 PyObject * obj1 = 0 ;
21760 PyObject * obj2 = 0 ;
21761 PyObject * obj3 = 0 ;
21762 char *kwnames[] = {
21763 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
21764 };
21765
21766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21768 {
21769 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21770 if (PyErr_Occurred()) SWIG_fail;
21771 }
21772 {
21773 arg3 = &temp3;
21774 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21775 }
21776 {
21777 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21778 if (PyErr_Occurred()) SWIG_fail;
21779 }
21780 {
21781 PyThreadState* __tstate = wxPyBeginAllowThreads();
21782 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
21783
21784 wxPyEndAllowThreads(__tstate);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 }
21787 resultobj = SWIG_PyObj_FromLong((long)result);
21788 return resultobj;
21789 fail:
21790 return NULL;
21791}
21792
21793
21794static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
21795 PyObject *resultobj;
21796 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21797 wxPoint *arg2 = 0 ;
21798 int *arg3 = 0 ;
21799 long result;
21800 wxPoint temp2 ;
21801 int temp3 ;
21802 PyObject * obj0 = 0 ;
21803 PyObject * obj1 = 0 ;
21804 char *kwnames[] = {
21805 (char *) "self",(char *) "point", NULL
21806 };
21807
21808 arg3 = &temp3;
21809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
21810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21811 {
21812 arg2 = &temp2;
21813 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21814 }
21815 {
21816 PyThreadState* __tstate = wxPyBeginAllowThreads();
21817 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
21818
21819 wxPyEndAllowThreads(__tstate);
21820 if (PyErr_Occurred()) SWIG_fail;
21821 }
21822 resultobj = SWIG_PyObj_FromLong((long)result);
21823 {
21824 PyObject *o = PyInt_FromLong((long) (*arg3));
21825 resultobj = t_output_helper(resultobj,o);
21826 }
21827 return resultobj;
21828 fail:
21829 return NULL;
21830}
21831
21832
21833static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21834 PyObject *resultobj;
21835 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21836 wxListItem *arg2 = 0 ;
21837 long result;
21838 PyObject * obj0 = 0 ;
21839 PyObject * obj1 = 0 ;
21840 char *kwnames[] = {
21841 (char *) "self",(char *) "info", NULL
21842 };
21843
21844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
21845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21846 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21847 if (arg2 == NULL) {
21848 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21849 }
21850 {
21851 PyThreadState* __tstate = wxPyBeginAllowThreads();
21852 result = (long)(arg1)->InsertItem(*arg2);
21853
21854 wxPyEndAllowThreads(__tstate);
21855 if (PyErr_Occurred()) SWIG_fail;
21856 }
21857 resultobj = SWIG_PyObj_FromLong((long)result);
21858 return resultobj;
21859 fail:
21860 return NULL;
21861}
21862
21863
21864static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21865 PyObject *resultobj;
21866 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21867 long arg2 ;
21868 wxString *arg3 = 0 ;
21869 long result;
21870 bool temp3 = False ;
21871 PyObject * obj0 = 0 ;
21872 PyObject * obj1 = 0 ;
21873 PyObject * obj2 = 0 ;
21874 char *kwnames[] = {
21875 (char *) "self",(char *) "index",(char *) "label", NULL
21876 };
21877
21878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertStringItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21880 {
21881 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21882 if (PyErr_Occurred()) SWIG_fail;
21883 }
21884 {
21885 arg3 = wxString_in_helper(obj2);
21886 if (arg3 == NULL) SWIG_fail;
21887 temp3 = True;
21888 }
21889 {
21890 PyThreadState* __tstate = wxPyBeginAllowThreads();
21891 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
21892
21893 wxPyEndAllowThreads(__tstate);
21894 if (PyErr_Occurred()) SWIG_fail;
21895 }
21896 resultobj = SWIG_PyObj_FromLong((long)result);
21897 {
21898 if (temp3)
21899 delete arg3;
21900 }
21901 return resultobj;
21902 fail:
21903 {
21904 if (temp3)
21905 delete arg3;
21906 }
21907 return NULL;
21908}
21909
21910
21911static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21912 PyObject *resultobj;
21913 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21914 long arg2 ;
21915 int arg3 ;
21916 long result;
21917 PyObject * obj0 = 0 ;
21918 PyObject * obj1 = 0 ;
21919 PyObject * obj2 = 0 ;
21920 char *kwnames[] = {
21921 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
21922 };
21923
21924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertImageItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
21925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21926 {
21927 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21928 if (PyErr_Occurred()) SWIG_fail;
21929 }
21930 {
21931 arg3 = (int) SWIG_PyObj_AsInt(obj2);
21932 if (PyErr_Occurred()) SWIG_fail;
21933 }
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 result = (long)(arg1)->InsertItem(arg2,arg3);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 resultobj = SWIG_PyObj_FromLong((long)result);
21942 return resultobj;
21943 fail:
21944 return NULL;
21945}
21946
21947
21948static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21949 PyObject *resultobj;
21950 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
21951 long arg2 ;
21952 wxString *arg3 = 0 ;
21953 int arg4 ;
21954 long result;
21955 bool temp3 = False ;
21956 PyObject * obj0 = 0 ;
21957 PyObject * obj1 = 0 ;
21958 PyObject * obj2 = 0 ;
21959 PyObject * obj3 = 0 ;
21960 char *kwnames[] = {
21961 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
21962 };
21963
21964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
21965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21966 {
21967 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
21970 {
21971 arg3 = wxString_in_helper(obj2);
21972 if (arg3 == NULL) SWIG_fail;
21973 temp3 = True;
21974 }
21975 {
21976 arg4 = (int) SWIG_PyObj_AsInt(obj3);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 {
21980 PyThreadState* __tstate = wxPyBeginAllowThreads();
21981 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
21982
21983 wxPyEndAllowThreads(__tstate);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 }
21986 resultobj = SWIG_PyObj_FromLong((long)result);
21987 {
21988 if (temp3)
21989 delete arg3;
21990 }
21991 return resultobj;
21992 fail:
21993 {
21994 if (temp3)
21995 delete arg3;
21996 }
21997 return NULL;
21998}
21999
22000
22001static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22002 PyObject *resultobj;
22003 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22004 long arg2 ;
22005 wxListItem *arg3 = 0 ;
22006 long result;
22007 PyObject * obj0 = 0 ;
22008 PyObject * obj1 = 0 ;
22009 PyObject * obj2 = 0 ;
22010 char *kwnames[] = {
22011 (char *) "self",(char *) "col",(char *) "info", NULL
22012 };
22013
22014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22016 {
22017 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22018 if (PyErr_Occurred()) SWIG_fail;
22019 }
22020 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22021 if (arg3 == NULL) {
22022 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22023 }
22024 {
22025 PyThreadState* __tstate = wxPyBeginAllowThreads();
22026 result = (long)(arg1)->InsertColumn(arg2,*arg3);
22027
22028 wxPyEndAllowThreads(__tstate);
22029 if (PyErr_Occurred()) SWIG_fail;
22030 }
22031 resultobj = SWIG_PyObj_FromLong((long)result);
22032 return resultobj;
22033 fail:
22034 return NULL;
22035}
22036
22037
22038static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
22039 PyObject *resultobj;
22040 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22041 long arg2 ;
22042 wxString *arg3 = 0 ;
22043 int arg4 = (int) wxLIST_FORMAT_LEFT ;
22044 int arg5 = (int) -1 ;
22045 long result;
22046 bool temp3 = False ;
22047 PyObject * obj0 = 0 ;
22048 PyObject * obj1 = 0 ;
22049 PyObject * obj2 = 0 ;
22050 PyObject * obj3 = 0 ;
22051 PyObject * obj4 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
22057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22058 {
22059 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22060 if (PyErr_Occurred()) SWIG_fail;
22061 }
22062 {
22063 arg3 = wxString_in_helper(obj2);
22064 if (arg3 == NULL) SWIG_fail;
22065 temp3 = True;
22066 }
22067 if (obj3) {
22068 {
22069 arg4 = (int) SWIG_PyObj_AsInt(obj3);
22070 if (PyErr_Occurred()) SWIG_fail;
22071 }
22072 }
22073 if (obj4) {
22074 {
22075 arg5 = (int) SWIG_PyObj_AsInt(obj4);
22076 if (PyErr_Occurred()) SWIG_fail;
22077 }
22078 }
22079 {
22080 PyThreadState* __tstate = wxPyBeginAllowThreads();
22081 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
22082
22083 wxPyEndAllowThreads(__tstate);
22084 if (PyErr_Occurred()) SWIG_fail;
22085 }
22086 resultobj = SWIG_PyObj_FromLong((long)result);
22087 {
22088 if (temp3)
22089 delete arg3;
22090 }
22091 return resultobj;
22092 fail:
22093 {
22094 if (temp3)
22095 delete arg3;
22096 }
22097 return NULL;
22098}
22099
22100
22101static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22102 PyObject *resultobj;
22103 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22104 long arg2 ;
22105 PyObject * obj0 = 0 ;
22106 PyObject * obj1 = 0 ;
22107 char *kwnames[] = {
22108 (char *) "self",(char *) "count", NULL
22109 };
22110
22111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
22112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22113 {
22114 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
22117 {
22118 PyThreadState* __tstate = wxPyBeginAllowThreads();
22119 (arg1)->SetItemCount(arg2);
22120
22121 wxPyEndAllowThreads(__tstate);
22122 if (PyErr_Occurred()) SWIG_fail;
22123 }
22124 Py_INCREF(Py_None); resultobj = Py_None;
22125 return resultobj;
22126 fail:
22127 return NULL;
22128}
22129
22130
22131static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
22132 PyObject *resultobj;
22133 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22134 int arg2 ;
22135 int arg3 ;
22136 bool result;
22137 PyObject * obj0 = 0 ;
22138 PyObject * obj1 = 0 ;
22139 PyObject * obj2 = 0 ;
22140 char *kwnames[] = {
22141 (char *) "self",(char *) "dx",(char *) "dy", NULL
22142 };
22143
22144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_ScrollList",kwnames,&obj0,&obj1,&obj2)) goto fail;
22145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22146 {
22147 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22148 if (PyErr_Occurred()) SWIG_fail;
22149 }
22150 {
22151 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22152 if (PyErr_Occurred()) SWIG_fail;
22153 }
22154 {
22155 PyThreadState* __tstate = wxPyBeginAllowThreads();
22156 result = (bool)(arg1)->ScrollList(arg2,arg3);
22157
22158 wxPyEndAllowThreads(__tstate);
22159 if (PyErr_Occurred()) SWIG_fail;
22160 }
22161 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22162 return resultobj;
22163 fail:
22164 return NULL;
22165}
22166
22167
22168static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22169 PyObject *resultobj;
22170 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22171 long arg2 ;
22172 wxColour *arg3 = 0 ;
22173 wxColour temp3 ;
22174 PyObject * obj0 = 0 ;
22175 PyObject * obj1 = 0 ;
22176 PyObject * obj2 = 0 ;
22177 char *kwnames[] = {
22178 (char *) "self",(char *) "item",(char *) "col", NULL
22179 };
22180
22181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22183 {
22184 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 {
22188 arg3 = &temp3;
22189 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22190 }
22191 {
22192 PyThreadState* __tstate = wxPyBeginAllowThreads();
22193 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
22194
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
22198 Py_INCREF(Py_None); resultobj = Py_None;
22199 return resultobj;
22200 fail:
22201 return NULL;
22202}
22203
22204
22205static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22206 PyObject *resultobj;
22207 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22208 long arg2 ;
22209 wxColour result;
22210 PyObject * obj0 = 0 ;
22211 PyObject * obj1 = 0 ;
22212 char *kwnames[] = {
22213 (char *) "self",(char *) "item", NULL
22214 };
22215
22216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22218 {
22219 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22220 if (PyErr_Occurred()) SWIG_fail;
22221 }
22222 {
22223 PyThreadState* __tstate = wxPyBeginAllowThreads();
22224 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
22225
22226 wxPyEndAllowThreads(__tstate);
22227 if (PyErr_Occurred()) SWIG_fail;
22228 }
22229 {
22230 wxColour * resultptr;
22231 resultptr = new wxColour((wxColour &) result);
22232 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22233 }
22234 return resultobj;
22235 fail:
22236 return NULL;
22237}
22238
22239
22240static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22241 PyObject *resultobj;
22242 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22243 long arg2 ;
22244 wxColour *arg3 = 0 ;
22245 wxColour temp3 ;
22246 PyObject * obj0 = 0 ;
22247 PyObject * obj1 = 0 ;
22248 PyObject * obj2 = 0 ;
22249 char *kwnames[] = {
22250 (char *) "self",(char *) "item",(char *) "col", NULL
22251 };
22252
22253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22255 {
22256 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22257 if (PyErr_Occurred()) SWIG_fail;
22258 }
22259 {
22260 arg3 = &temp3;
22261 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22262 }
22263 {
22264 PyThreadState* __tstate = wxPyBeginAllowThreads();
22265 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
22266
22267 wxPyEndAllowThreads(__tstate);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
22270 Py_INCREF(Py_None); resultobj = Py_None;
22271 return resultobj;
22272 fail:
22273 return NULL;
22274}
22275
22276
22277static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22278 PyObject *resultobj;
22279 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22280 long arg2 ;
22281 wxColour result;
22282 PyObject * obj0 = 0 ;
22283 PyObject * obj1 = 0 ;
22284 char *kwnames[] = {
22285 (char *) "self",(char *) "item", NULL
22286 };
22287
22288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22290 {
22291 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22292 if (PyErr_Occurred()) SWIG_fail;
22293 }
22294 {
22295 PyThreadState* __tstate = wxPyBeginAllowThreads();
22296 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
22297
22298 wxPyEndAllowThreads(__tstate);
22299 if (PyErr_Occurred()) SWIG_fail;
22300 }
22301 {
22302 wxColour * resultptr;
22303 resultptr = new wxColour((wxColour &) result);
22304 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22305 }
22306 return resultobj;
22307 fail:
22308 return NULL;
22309}
22310
22311
22312static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22313 PyObject *resultobj;
22314 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22315 PyObject *arg2 = (PyObject *) 0 ;
22316 bool result;
22317 PyObject * obj0 = 0 ;
22318 PyObject * obj1 = 0 ;
22319 char *kwnames[] = {
22320 (char *) "self",(char *) "func", NULL
22321 };
22322
22323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
22324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22325 arg2 = obj1;
22326 {
22327 PyThreadState* __tstate = wxPyBeginAllowThreads();
22328 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
22329
22330 wxPyEndAllowThreads(__tstate);
22331 if (PyErr_Occurred()) SWIG_fail;
22332 }
22333 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22334 return resultobj;
22335 fail:
22336 return NULL;
22337}
22338
22339
22340static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
22341 PyObject *resultobj;
22342 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
22343 wxWindow *result;
22344 PyObject * obj0 = 0 ;
22345 char *kwnames[] = {
22346 (char *) "self", NULL
22347 };
22348
22349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
22350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22351 {
22352 PyThreadState* __tstate = wxPyBeginAllowThreads();
22353 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
22354
22355 wxPyEndAllowThreads(__tstate);
22356 if (PyErr_Occurred()) SWIG_fail;
22357 }
22358 {
22359 resultobj = wxPyMake_wxObject(result);
22360 }
22361 return resultobj;
22362 fail:
22363 return NULL;
22364}
22365
22366
22367static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
22368 PyObject *obj;
22369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22370 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
22371 Py_INCREF(obj);
22372 return Py_BuildValue((char *)"");
22373}
22374static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22375 PyObject *resultobj;
22376 wxWindow *arg1 = (wxWindow *) 0 ;
22377 int arg2 = (int) -1 ;
22378 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22379 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22380 wxSize const &arg4_defvalue = wxDefaultSize ;
22381 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22382 long arg5 = (long) wxLC_REPORT ;
22383 wxValidator const &arg6_defvalue = wxDefaultValidator ;
22384 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
22385 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
22386 wxString *arg7 = (wxString *) &arg7_defvalue ;
22387 wxListView *result;
22388 wxPoint temp3 ;
22389 wxSize temp4 ;
22390 bool temp7 = False ;
22391 PyObject * obj0 = 0 ;
22392 PyObject * obj1 = 0 ;
22393 PyObject * obj2 = 0 ;
22394 PyObject * obj3 = 0 ;
22395 PyObject * obj4 = 0 ;
22396 PyObject * obj5 = 0 ;
22397 PyObject * obj6 = 0 ;
22398 char *kwnames[] = {
22399 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22400 };
22401
22402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_ListView",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22404 if (obj1) {
22405 {
22406 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22407 if (PyErr_Occurred()) SWIG_fail;
22408 }
22409 }
22410 if (obj2) {
22411 {
22412 arg3 = &temp3;
22413 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22414 }
22415 }
22416 if (obj3) {
22417 {
22418 arg4 = &temp4;
22419 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22420 }
22421 }
22422 if (obj4) {
22423 {
22424 arg5 = (long) SWIG_PyObj_AsLong(obj4);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 }
22427 }
22428 if (obj5) {
22429 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22430 if (arg6 == NULL) {
22431 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22432 }
22433 }
22434 if (obj6) {
22435 {
22436 arg7 = wxString_in_helper(obj6);
22437 if (arg7 == NULL) SWIG_fail;
22438 temp7 = True;
22439 }
22440 }
22441 {
22442 PyThreadState* __tstate = wxPyBeginAllowThreads();
22443 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
22444
22445 wxPyEndAllowThreads(__tstate);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 }
22448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22449 {
22450 if (temp7)
22451 delete arg7;
22452 }
22453 return resultobj;
22454 fail:
22455 {
22456 if (temp7)
22457 delete arg7;
22458 }
22459 return NULL;
22460}
22461
22462
22463static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
22464 PyObject *resultobj;
22465 wxListView *result;
22466 char *kwnames[] = {
22467 NULL
22468 };
22469
22470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
22471 {
22472 PyThreadState* __tstate = wxPyBeginAllowThreads();
22473 result = (wxListView *)new wxListView();
22474
22475 wxPyEndAllowThreads(__tstate);
22476 if (PyErr_Occurred()) SWIG_fail;
22477 }
22478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
22479 return resultobj;
22480 fail:
22481 return NULL;
22482}
22483
22484
22485static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22486 PyObject *resultobj;
22487 wxListView *arg1 = (wxListView *) 0 ;
22488 wxWindow *arg2 = (wxWindow *) 0 ;
22489 int arg3 = (int) -1 ;
22490 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22491 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22492 wxSize const &arg5_defvalue = wxDefaultSize ;
22493 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22494 long arg6 = (long) wxLC_REPORT ;
22495 wxValidator const &arg7_defvalue = wxDefaultValidator ;
22496 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
22497 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
22498 wxString *arg8 = (wxString *) &arg8_defvalue ;
22499 bool result;
22500 wxPoint temp4 ;
22501 wxSize temp5 ;
22502 bool temp8 = False ;
22503 PyObject * obj0 = 0 ;
22504 PyObject * obj1 = 0 ;
22505 PyObject * obj2 = 0 ;
22506 PyObject * obj3 = 0 ;
22507 PyObject * obj4 = 0 ;
22508 PyObject * obj5 = 0 ;
22509 PyObject * obj6 = 0 ;
22510 PyObject * obj7 = 0 ;
22511 char *kwnames[] = {
22512 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
22513 };
22514
22515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:ListView_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
22516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22518 if (obj2) {
22519 {
22520 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22521 if (PyErr_Occurred()) SWIG_fail;
22522 }
22523 }
22524 if (obj3) {
22525 {
22526 arg4 = &temp4;
22527 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22528 }
22529 }
22530 if (obj4) {
22531 {
22532 arg5 = &temp5;
22533 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22534 }
22535 }
22536 if (obj5) {
22537 {
22538 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 }
22542 if (obj6) {
22543 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22544 if (arg7 == NULL) {
22545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22546 }
22547 }
22548 if (obj7) {
22549 {
22550 arg8 = wxString_in_helper(obj7);
22551 if (arg8 == NULL) SWIG_fail;
22552 temp8 = True;
22553 }
22554 }
22555 {
22556 PyThreadState* __tstate = wxPyBeginAllowThreads();
22557 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
22558
22559 wxPyEndAllowThreads(__tstate);
22560 if (PyErr_Occurred()) SWIG_fail;
22561 }
22562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22563 {
22564 if (temp8)
22565 delete arg8;
22566 }
22567 return resultobj;
22568 fail:
22569 {
22570 if (temp8)
22571 delete arg8;
22572 }
22573 return NULL;
22574}
22575
22576
22577static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
22578 PyObject *resultobj;
22579 wxListView *arg1 = (wxListView *) 0 ;
22580 long arg2 ;
22581 bool arg3 = (bool) True ;
22582 PyObject * obj0 = 0 ;
22583 PyObject * obj1 = 0 ;
22584 PyObject * obj2 = 0 ;
22585 char *kwnames[] = {
22586 (char *) "self",(char *) "n",(char *) "on", NULL
22587 };
22588
22589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListView_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
22590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22591 {
22592 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 }
22595 if (obj2) {
22596 {
22597 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
22598 if (PyErr_Occurred()) SWIG_fail;
22599 }
22600 }
22601 {
22602 PyThreadState* __tstate = wxPyBeginAllowThreads();
22603 (arg1)->Select(arg2,arg3);
22604
22605 wxPyEndAllowThreads(__tstate);
22606 if (PyErr_Occurred()) SWIG_fail;
22607 }
22608 Py_INCREF(Py_None); resultobj = Py_None;
22609 return resultobj;
22610 fail:
22611 return NULL;
22612}
22613
22614
22615static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
22616 PyObject *resultobj;
22617 wxListView *arg1 = (wxListView *) 0 ;
22618 long arg2 ;
22619 PyObject * obj0 = 0 ;
22620 PyObject * obj1 = 0 ;
22621 char *kwnames[] = {
22622 (char *) "self",(char *) "index", NULL
22623 };
22624
22625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_Focus",kwnames,&obj0,&obj1)) goto fail;
22626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22627 {
22628 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22629 if (PyErr_Occurred()) SWIG_fail;
22630 }
22631 {
22632 PyThreadState* __tstate = wxPyBeginAllowThreads();
22633 (arg1)->Focus(arg2);
22634
22635 wxPyEndAllowThreads(__tstate);
22636 if (PyErr_Occurred()) SWIG_fail;
22637 }
22638 Py_INCREF(Py_None); resultobj = Py_None;
22639 return resultobj;
22640 fail:
22641 return NULL;
22642}
22643
22644
22645static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22646 PyObject *resultobj;
22647 wxListView *arg1 = (wxListView *) 0 ;
22648 long result;
22649 PyObject * obj0 = 0 ;
22650 char *kwnames[] = {
22651 (char *) "self", NULL
22652 };
22653
22654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
22655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22656 {
22657 PyThreadState* __tstate = wxPyBeginAllowThreads();
22658 result = (long)((wxListView const *)arg1)->GetFocusedItem();
22659
22660 wxPyEndAllowThreads(__tstate);
22661 if (PyErr_Occurred()) SWIG_fail;
22662 }
22663 resultobj = SWIG_PyObj_FromLong((long)result);
22664 return resultobj;
22665 fail:
22666 return NULL;
22667}
22668
22669
22670static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22671 PyObject *resultobj;
22672 wxListView *arg1 = (wxListView *) 0 ;
22673 long arg2 ;
22674 long result;
22675 PyObject * obj0 = 0 ;
22676 PyObject * obj1 = 0 ;
22677 char *kwnames[] = {
22678 (char *) "self",(char *) "item", NULL
22679 };
22680
22681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
22682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22683 {
22684 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22685 if (PyErr_Occurred()) SWIG_fail;
22686 }
22687 {
22688 PyThreadState* __tstate = wxPyBeginAllowThreads();
22689 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
22690
22691 wxPyEndAllowThreads(__tstate);
22692 if (PyErr_Occurred()) SWIG_fail;
22693 }
22694 resultobj = SWIG_PyObj_FromLong((long)result);
22695 return resultobj;
22696 fail:
22697 return NULL;
22698}
22699
22700
22701static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22702 PyObject *resultobj;
22703 wxListView *arg1 = (wxListView *) 0 ;
22704 long result;
22705 PyObject * obj0 = 0 ;
22706 char *kwnames[] = {
22707 (char *) "self", NULL
22708 };
22709
22710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
22711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22712 {
22713 PyThreadState* __tstate = wxPyBeginAllowThreads();
22714 result = (long)((wxListView const *)arg1)->GetFirstSelected();
22715
22716 wxPyEndAllowThreads(__tstate);
22717 if (PyErr_Occurred()) SWIG_fail;
22718 }
22719 resultobj = SWIG_PyObj_FromLong((long)result);
22720 return resultobj;
22721 fail:
22722 return NULL;
22723}
22724
22725
22726static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22727 PyObject *resultobj;
22728 wxListView *arg1 = (wxListView *) 0 ;
22729 long arg2 ;
22730 bool result;
22731 PyObject * obj0 = 0 ;
22732 PyObject * obj1 = 0 ;
22733 char *kwnames[] = {
22734 (char *) "self",(char *) "index", NULL
22735 };
22736
22737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22739 {
22740 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 }
22743 {
22744 PyThreadState* __tstate = wxPyBeginAllowThreads();
22745 result = (bool)(arg1)->IsSelected(arg2);
22746
22747 wxPyEndAllowThreads(__tstate);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
22750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22751 return resultobj;
22752 fail:
22753 return NULL;
22754}
22755
22756
22757static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22758 PyObject *resultobj;
22759 wxListView *arg1 = (wxListView *) 0 ;
22760 int arg2 ;
22761 int arg3 ;
22762 PyObject * obj0 = 0 ;
22763 PyObject * obj1 = 0 ;
22764 PyObject * obj2 = 0 ;
22765 char *kwnames[] = {
22766 (char *) "self",(char *) "col",(char *) "image", NULL
22767 };
22768
22769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListView_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22771 {
22772 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22773 if (PyErr_Occurred()) SWIG_fail;
22774 }
22775 {
22776 arg3 = (int) SWIG_PyObj_AsInt(obj2);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 {
22780 PyThreadState* __tstate = wxPyBeginAllowThreads();
22781 (arg1)->SetColumnImage(arg2,arg3);
22782
22783 wxPyEndAllowThreads(__tstate);
22784 if (PyErr_Occurred()) SWIG_fail;
22785 }
22786 Py_INCREF(Py_None); resultobj = Py_None;
22787 return resultobj;
22788 fail:
22789 return NULL;
22790}
22791
22792
22793static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22794 PyObject *resultobj;
22795 wxListView *arg1 = (wxListView *) 0 ;
22796 int arg2 ;
22797 PyObject * obj0 = 0 ;
22798 PyObject * obj1 = 0 ;
22799 char *kwnames[] = {
22800 (char *) "self",(char *) "col", NULL
22801 };
22802
22803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListView_ClearColumnImage",kwnames,&obj0,&obj1)) goto fail;
22804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22805 {
22806 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22807 if (PyErr_Occurred()) SWIG_fail;
22808 }
22809 {
22810 PyThreadState* __tstate = wxPyBeginAllowThreads();
22811 (arg1)->ClearColumnImage(arg2);
22812
22813 wxPyEndAllowThreads(__tstate);
22814 if (PyErr_Occurred()) SWIG_fail;
22815 }
22816 Py_INCREF(Py_None); resultobj = Py_None;
22817 return resultobj;
22818 fail:
22819 return NULL;
22820}
22821
22822
22823static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
22824 PyObject *obj;
22825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22826 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
22827 Py_INCREF(obj);
22828 return Py_BuildValue((char *)"");
22829}
22830static int _wrap_TreeCtrlNameStr_set(PyObject *) {
22831 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
22832 return 1;
22833}
22834
22835
22836static PyObject *_wrap_TreeCtrlNameStr_get() {
22837 PyObject *pyobj;
22838
22839 {
22840#if wxUSE_UNICODE
22841 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22842#else
22843 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
22844#endif
22845 }
22846 return pyobj;
22847}
22848
22849
22850static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22851 PyObject *resultobj;
22852 wxTreeItemId *result;
22853 char *kwnames[] = {
22854 NULL
22855 };
22856
22857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
22858 {
22859 PyThreadState* __tstate = wxPyBeginAllowThreads();
22860 result = (wxTreeItemId *)new wxTreeItemId();
22861
22862 wxPyEndAllowThreads(__tstate);
22863 if (PyErr_Occurred()) SWIG_fail;
22864 }
22865 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
22866 return resultobj;
22867 fail:
22868 return NULL;
22869}
22870
22871
22872static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
22873 PyObject *resultobj;
22874 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22875 PyObject * obj0 = 0 ;
22876 char *kwnames[] = {
22877 (char *) "self", NULL
22878 };
22879
22880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
22881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22882 {
22883 PyThreadState* __tstate = wxPyBeginAllowThreads();
22884 delete arg1;
22885
22886 wxPyEndAllowThreads(__tstate);
22887 if (PyErr_Occurred()) SWIG_fail;
22888 }
22889 Py_INCREF(Py_None); resultobj = Py_None;
22890 return resultobj;
22891 fail:
22892 return NULL;
22893}
22894
22895
22896static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
22897 PyObject *resultobj;
22898 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22899 bool result;
22900 PyObject * obj0 = 0 ;
22901 char *kwnames[] = {
22902 (char *) "self", NULL
22903 };
22904
22905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
22906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22907 {
22908 PyThreadState* __tstate = wxPyBeginAllowThreads();
22909 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
22910
22911 wxPyEndAllowThreads(__tstate);
22912 if (PyErr_Occurred()) SWIG_fail;
22913 }
22914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22915 return resultobj;
22916 fail:
22917 return NULL;
22918}
22919
22920
22921static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
22922 PyObject *resultobj;
22923 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22924 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22925 bool result;
22926 PyObject * obj0 = 0 ;
22927 PyObject * obj1 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self",(char *) "other", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
22933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22935 {
22936 PyThreadState* __tstate = wxPyBeginAllowThreads();
22937 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
22938
22939 wxPyEndAllowThreads(__tstate);
22940 if (PyErr_Occurred()) SWIG_fail;
22941 }
22942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22943 return resultobj;
22944 fail:
22945 return NULL;
22946}
22947
22948
22949static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
22950 PyObject *resultobj;
22951 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22952 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
22953 bool result;
22954 PyObject * obj0 = 0 ;
22955 PyObject * obj1 = 0 ;
22956 char *kwnames[] = {
22957 (char *) "self",(char *) "other", NULL
22958 };
22959
22960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
22961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22962 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22963 {
22964 PyThreadState* __tstate = wxPyBeginAllowThreads();
22965 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
22966
22967 wxPyEndAllowThreads(__tstate);
22968 if (PyErr_Occurred()) SWIG_fail;
22969 }
22970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22971 return resultobj;
22972 fail:
22973 return NULL;
22974}
22975
22976
22977static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
22978 PyObject *resultobj;
22979 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
22980 void *arg2 = (void *) 0 ;
22981 PyObject * obj0 = 0 ;
22982 PyObject * obj1 = 0 ;
22983 char *kwnames[] = {
22984 (char *) "self",(char *) "m_pItem", NULL
22985 };
22986
22987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
22988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
22990 if (arg1) (arg1)->m_pItem = arg2;
22991
22992 Py_INCREF(Py_None); resultobj = Py_None;
22993 return resultobj;
22994 fail:
22995 return NULL;
22996}
22997
22998
22999static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
23000 PyObject *resultobj;
23001 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
23002 void *result;
23003 PyObject * obj0 = 0 ;
23004 char *kwnames[] = {
23005 (char *) "self", NULL
23006 };
23007
23008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
23009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23010 result = (void *) ((arg1)->m_pItem);
23011
23012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
23013 return resultobj;
23014 fail:
23015 return NULL;
23016}
23017
23018
23019static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
23020 PyObject *obj;
23021 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23022 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
23023 Py_INCREF(obj);
23024 return Py_BuildValue((char *)"");
23025}
23026static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
23027 PyObject *resultobj;
23028 PyObject *arg1 = (PyObject *) NULL ;
23029 wxPyTreeItemData *result;
23030 PyObject * obj0 = 0 ;
23031 char *kwnames[] = {
23032 (char *) "obj", NULL
23033 };
23034
23035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
23036 if (obj0) {
23037 arg1 = obj0;
23038 }
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
23042
23043 wxPyEndAllowThreads(__tstate);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 }
23046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
23047 return resultobj;
23048 fail:
23049 return NULL;
23050}
23051
23052
23053static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23054 PyObject *resultobj;
23055 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23056 PyObject *result;
23057 PyObject * obj0 = 0 ;
23058 char *kwnames[] = {
23059 (char *) "self", NULL
23060 };
23061
23062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
23063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
23066 result = (PyObject *)(arg1)->GetData();
23067
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 resultobj = result;
23072 return resultobj;
23073 fail:
23074 return NULL;
23075}
23076
23077
23078static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
23079 PyObject *resultobj;
23080 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23081 PyObject *arg2 = (PyObject *) 0 ;
23082 PyObject * obj0 = 0 ;
23083 PyObject * obj1 = 0 ;
23084 char *kwnames[] = {
23085 (char *) "self",(char *) "obj", NULL
23086 };
23087
23088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
23089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23090 arg2 = obj1;
23091 {
23092 PyThreadState* __tstate = wxPyBeginAllowThreads();
23093 (arg1)->SetData(arg2);
23094
23095 wxPyEndAllowThreads(__tstate);
23096 if (PyErr_Occurred()) SWIG_fail;
23097 }
23098 Py_INCREF(Py_None); resultobj = Py_None;
23099 return resultobj;
23100 fail:
23101 return NULL;
23102}
23103
23104
23105static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23106 PyObject *resultobj;
23107 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23108 wxTreeItemId *result;
23109 PyObject * obj0 = 0 ;
23110 char *kwnames[] = {
23111 (char *) "self", NULL
23112 };
23113
23114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
23115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23116 {
23117 PyThreadState* __tstate = wxPyBeginAllowThreads();
23118 {
23119 wxTreeItemId const &_result_ref = (arg1)->GetId();
23120 result = (wxTreeItemId *) &_result_ref;
23121 }
23122
23123 wxPyEndAllowThreads(__tstate);
23124 if (PyErr_Occurred()) SWIG_fail;
23125 }
23126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
23127 return resultobj;
23128 fail:
23129 return NULL;
23130}
23131
23132
23133static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
23134 PyObject *resultobj;
23135 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23136 wxTreeItemId *arg2 = 0 ;
23137 PyObject * obj0 = 0 ;
23138 PyObject * obj1 = 0 ;
23139 char *kwnames[] = {
23140 (char *) "self",(char *) "id", NULL
23141 };
23142
23143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
23144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23145 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23146 if (arg2 == NULL) {
23147 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23148 }
23149 {
23150 PyThreadState* __tstate = wxPyBeginAllowThreads();
23151 (arg1)->SetId((wxTreeItemId const &)*arg2);
23152
23153 wxPyEndAllowThreads(__tstate);
23154 if (PyErr_Occurred()) SWIG_fail;
23155 }
23156 Py_INCREF(Py_None); resultobj = Py_None;
23157 return resultobj;
23158 fail:
23159 return NULL;
23160}
23161
23162
23163static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
23164 PyObject *resultobj;
23165 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
23166 PyObject * obj0 = 0 ;
23167 char *kwnames[] = {
23168 (char *) "self", NULL
23169 };
23170
23171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
23172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23173 {
23174 PyThreadState* __tstate = wxPyBeginAllowThreads();
23175 wxPyTreeItemData_Destroy(arg1);
23176
23177 wxPyEndAllowThreads(__tstate);
23178 if (PyErr_Occurred()) SWIG_fail;
23179 }
23180 Py_INCREF(Py_None); resultobj = Py_None;
23181 return resultobj;
23182 fail:
23183 return NULL;
23184}
23185
23186
23187static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
23188 PyObject *obj;
23189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23190 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
23191 Py_INCREF(obj);
23192 return Py_BuildValue((char *)"");
23193}
23194static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23195 PyObject *resultobj;
23196 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
23197 int arg2 = (int) 0 ;
23198 wxTreeEvent *result;
23199 PyObject * obj0 = 0 ;
23200 PyObject * obj1 = 0 ;
23201 char *kwnames[] = {
23202 (char *) "commandType",(char *) "id", NULL
23203 };
23204
23205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_TreeEvent",kwnames,&obj0,&obj1)) goto fail;
23206 if (obj0) {
23207 {
23208 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
23209 if (PyErr_Occurred()) SWIG_fail;
23210 }
23211 }
23212 if (obj1) {
23213 {
23214 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23215 if (PyErr_Occurred()) SWIG_fail;
23216 }
23217 }
23218 {
23219 PyThreadState* __tstate = wxPyBeginAllowThreads();
23220 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
23221
23222 wxPyEndAllowThreads(__tstate);
23223 if (PyErr_Occurred()) SWIG_fail;
23224 }
23225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
23226 return resultobj;
23227 fail:
23228 return NULL;
23229}
23230
23231
23232static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23233 PyObject *resultobj;
23234 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23235 wxTreeItemId result;
23236 PyObject * obj0 = 0 ;
23237 char *kwnames[] = {
23238 (char *) "self", NULL
23239 };
23240
23241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
23242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23243 {
23244 PyThreadState* __tstate = wxPyBeginAllowThreads();
23245 result = ((wxTreeEvent const *)arg1)->GetItem();
23246
23247 wxPyEndAllowThreads(__tstate);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 }
23250 {
23251 wxTreeItemId * resultptr;
23252 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23253 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23254 }
23255 return resultobj;
23256 fail:
23257 return NULL;
23258}
23259
23260
23261static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23262 PyObject *resultobj;
23263 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23264 wxTreeItemId *arg2 = 0 ;
23265 PyObject * obj0 = 0 ;
23266 PyObject * obj1 = 0 ;
23267 char *kwnames[] = {
23268 (char *) "self",(char *) "item", NULL
23269 };
23270
23271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
23272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23274 if (arg2 == NULL) {
23275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23276 }
23277 {
23278 PyThreadState* __tstate = wxPyBeginAllowThreads();
23279 (arg1)->SetItem((wxTreeItemId const &)*arg2);
23280
23281 wxPyEndAllowThreads(__tstate);
23282 if (PyErr_Occurred()) SWIG_fail;
23283 }
23284 Py_INCREF(Py_None); resultobj = Py_None;
23285 return resultobj;
23286 fail:
23287 return NULL;
23288}
23289
23290
23291static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23292 PyObject *resultobj;
23293 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23294 wxTreeItemId result;
23295 PyObject * obj0 = 0 ;
23296 char *kwnames[] = {
23297 (char *) "self", NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
23301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
23304 result = ((wxTreeEvent const *)arg1)->GetOldItem();
23305
23306 wxPyEndAllowThreads(__tstate);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
23309 {
23310 wxTreeItemId * resultptr;
23311 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23312 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23313 }
23314 return resultobj;
23315 fail:
23316 return NULL;
23317}
23318
23319
23320static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23321 PyObject *resultobj;
23322 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23323 wxTreeItemId *arg2 = 0 ;
23324 PyObject * obj0 = 0 ;
23325 PyObject * obj1 = 0 ;
23326 char *kwnames[] = {
23327 (char *) "self",(char *) "item", NULL
23328 };
23329
23330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
23331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23333 if (arg2 == NULL) {
23334 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23335 }
23336 {
23337 PyThreadState* __tstate = wxPyBeginAllowThreads();
23338 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
23339
23340 wxPyEndAllowThreads(__tstate);
23341 if (PyErr_Occurred()) SWIG_fail;
23342 }
23343 Py_INCREF(Py_None); resultobj = Py_None;
23344 return resultobj;
23345 fail:
23346 return NULL;
23347}
23348
23349
23350static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23351 PyObject *resultobj;
23352 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23353 wxPoint result;
23354 PyObject * obj0 = 0 ;
23355 char *kwnames[] = {
23356 (char *) "self", NULL
23357 };
23358
23359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
23360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23361 {
23362 PyThreadState* __tstate = wxPyBeginAllowThreads();
23363 result = ((wxTreeEvent const *)arg1)->GetPoint();
23364
23365 wxPyEndAllowThreads(__tstate);
23366 if (PyErr_Occurred()) SWIG_fail;
23367 }
23368 {
23369 wxPoint * resultptr;
23370 resultptr = new wxPoint((wxPoint &) result);
23371 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
23372 }
23373 return resultobj;
23374 fail:
23375 return NULL;
23376}
23377
23378
23379static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
23380 PyObject *resultobj;
23381 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23382 wxPoint *arg2 = 0 ;
23383 wxPoint temp2 ;
23384 PyObject * obj0 = 0 ;
23385 PyObject * obj1 = 0 ;
23386 char *kwnames[] = {
23387 (char *) "self",(char *) "pt", NULL
23388 };
23389
23390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
23391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23392 {
23393 arg2 = &temp2;
23394 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23395 }
23396 {
23397 PyThreadState* __tstate = wxPyBeginAllowThreads();
23398 (arg1)->SetPoint((wxPoint const &)*arg2);
23399
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
23403 Py_INCREF(Py_None); resultobj = Py_None;
23404 return resultobj;
23405 fail:
23406 return NULL;
23407}
23408
23409
23410static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23411 PyObject *resultobj;
23412 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23413 wxKeyEvent *result;
23414 PyObject * obj0 = 0 ;
23415 char *kwnames[] = {
23416 (char *) "self", NULL
23417 };
23418
23419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
23420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23421 {
23422 PyThreadState* __tstate = wxPyBeginAllowThreads();
23423 {
23424 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
23425 result = (wxKeyEvent *) &_result_ref;
23426 }
23427
23428 wxPyEndAllowThreads(__tstate);
23429 if (PyErr_Occurred()) SWIG_fail;
23430 }
23431 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
23432 return resultobj;
23433 fail:
23434 return NULL;
23435}
23436
23437
23438static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
23439 PyObject *resultobj;
23440 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23441 int result;
23442 PyObject * obj0 = 0 ;
23443 char *kwnames[] = {
23444 (char *) "self", NULL
23445 };
23446
23447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
23448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23449 {
23450 PyThreadState* __tstate = wxPyBeginAllowThreads();
23451 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
23452
23453 wxPyEndAllowThreads(__tstate);
23454 if (PyErr_Occurred()) SWIG_fail;
23455 }
23456 resultobj = SWIG_PyObj_FromInt((int)result);
23457 return resultobj;
23458 fail:
23459 return NULL;
23460}
23461
23462
23463static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
23464 PyObject *resultobj;
23465 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23466 wxKeyEvent *arg2 = 0 ;
23467 PyObject * obj0 = 0 ;
23468 PyObject * obj1 = 0 ;
23469 char *kwnames[] = {
23470 (char *) "self",(char *) "evt", NULL
23471 };
23472
23473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
23474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23475 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23476 if (arg2 == NULL) {
23477 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23478 }
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
23482
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 Py_INCREF(Py_None); resultobj = Py_None;
23487 return resultobj;
23488 fail:
23489 return NULL;
23490}
23491
23492
23493static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23494 PyObject *resultobj;
23495 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23496 wxString *result;
23497 PyObject * obj0 = 0 ;
23498 char *kwnames[] = {
23499 (char *) "self", NULL
23500 };
23501
23502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
23503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 {
23507 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
23508 result = (wxString *) &_result_ref;
23509 }
23510
23511 wxPyEndAllowThreads(__tstate);
23512 if (PyErr_Occurred()) SWIG_fail;
23513 }
23514 {
23515#if wxUSE_UNICODE
23516 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
23517#else
23518 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
23519#endif
23520 }
23521 return resultobj;
23522 fail:
23523 return NULL;
23524}
23525
23526
23527static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23528 PyObject *resultobj;
23529 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23530 wxString *arg2 = 0 ;
23531 bool temp2 = False ;
23532 PyObject * obj0 = 0 ;
23533 PyObject * obj1 = 0 ;
23534 char *kwnames[] = {
23535 (char *) "self",(char *) "label", NULL
23536 };
23537
23538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
23539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23540 {
23541 arg2 = wxString_in_helper(obj1);
23542 if (arg2 == NULL) SWIG_fail;
23543 temp2 = True;
23544 }
23545 {
23546 PyThreadState* __tstate = wxPyBeginAllowThreads();
23547 (arg1)->SetLabel((wxString const &)*arg2);
23548
23549 wxPyEndAllowThreads(__tstate);
23550 if (PyErr_Occurred()) SWIG_fail;
23551 }
23552 Py_INCREF(Py_None); resultobj = Py_None;
23553 {
23554 if (temp2)
23555 delete arg2;
23556 }
23557 return resultobj;
23558 fail:
23559 {
23560 if (temp2)
23561 delete arg2;
23562 }
23563 return NULL;
23564}
23565
23566
23567static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj;
23569 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23570 bool result;
23571 PyObject * obj0 = 0 ;
23572 char *kwnames[] = {
23573 (char *) "self", NULL
23574 };
23575
23576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
23577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23578 {
23579 PyThreadState* __tstate = wxPyBeginAllowThreads();
23580 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
23581
23582 wxPyEndAllowThreads(__tstate);
23583 if (PyErr_Occurred()) SWIG_fail;
23584 }
23585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23586 return resultobj;
23587 fail:
23588 return NULL;
23589}
23590
23591
23592static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
23593 PyObject *resultobj;
23594 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23595 bool arg2 ;
23596 PyObject * obj0 = 0 ;
23597 PyObject * obj1 = 0 ;
23598 char *kwnames[] = {
23599 (char *) "self",(char *) "editCancelled", NULL
23600 };
23601
23602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
23603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23604 {
23605 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
23606 if (PyErr_Occurred()) SWIG_fail;
23607 }
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 (arg1)->SetEditCanceled(arg2);
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
23615 Py_INCREF(Py_None); resultobj = Py_None;
23616 return resultobj;
23617 fail:
23618 return NULL;
23619}
23620
23621
23622static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
23623 PyObject *resultobj;
23624 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
23625 wxString *arg2 = 0 ;
23626 bool temp2 = False ;
23627 PyObject * obj0 = 0 ;
23628 PyObject * obj1 = 0 ;
23629 char *kwnames[] = {
23630 (char *) "self",(char *) "toolTip", NULL
23631 };
23632
23633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
23634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23635 {
23636 arg2 = wxString_in_helper(obj1);
23637 if (arg2 == NULL) SWIG_fail;
23638 temp2 = True;
23639 }
23640 {
23641 PyThreadState* __tstate = wxPyBeginAllowThreads();
23642 (arg1)->SetToolTip((wxString const &)*arg2);
23643
23644 wxPyEndAllowThreads(__tstate);
23645 if (PyErr_Occurred()) SWIG_fail;
23646 }
23647 Py_INCREF(Py_None); resultobj = Py_None;
23648 {
23649 if (temp2)
23650 delete arg2;
23651 }
23652 return resultobj;
23653 fail:
23654 {
23655 if (temp2)
23656 delete arg2;
23657 }
23658 return NULL;
23659}
23660
23661
23662static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
23663 PyObject *obj;
23664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23665 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
23666 Py_INCREF(obj);
23667 return Py_BuildValue((char *)"");
23668}
23669static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23670 PyObject *resultobj;
23671 wxWindow *arg1 = (wxWindow *) 0 ;
23672 int arg2 = (int) -1 ;
23673 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23674 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23675 wxSize const &arg4_defvalue = wxDefaultSize ;
23676 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23677 long arg5 = (long) wxTR_DEFAULT_STYLE ;
23678 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23679 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23680 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
23681 wxString *arg7 = (wxString *) &arg7_defvalue ;
23682 wxPyTreeCtrl *result;
23683 wxPoint temp3 ;
23684 wxSize temp4 ;
23685 bool temp7 = False ;
23686 PyObject * obj0 = 0 ;
23687 PyObject * obj1 = 0 ;
23688 PyObject * obj2 = 0 ;
23689 PyObject * obj3 = 0 ;
23690 PyObject * obj4 = 0 ;
23691 PyObject * obj5 = 0 ;
23692 PyObject * obj6 = 0 ;
23693 char *kwnames[] = {
23694 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23695 };
23696
23697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
23698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23699 if (obj1) {
23700 {
23701 arg2 = (int) SWIG_PyObj_AsInt(obj1);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 }
23705 if (obj2) {
23706 {
23707 arg3 = &temp3;
23708 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23709 }
23710 }
23711 if (obj3) {
23712 {
23713 arg4 = &temp4;
23714 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23715 }
23716 }
23717 if (obj4) {
23718 {
23719 arg5 = (long) SWIG_PyObj_AsLong(obj4);
23720 if (PyErr_Occurred()) SWIG_fail;
23721 }
23722 }
23723 if (obj5) {
23724 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23725 if (arg6 == NULL) {
23726 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23727 }
23728 }
23729 if (obj6) {
23730 {
23731 arg7 = wxString_in_helper(obj6);
23732 if (arg7 == NULL) SWIG_fail;
23733 temp7 = True;
23734 }
23735 }
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 {
23744 resultobj = wxPyMake_wxObject(result);
23745 }
23746 {
23747 if (temp7)
23748 delete arg7;
23749 }
23750 return resultobj;
23751 fail:
23752 {
23753 if (temp7)
23754 delete arg7;
23755 }
23756 return NULL;
23757}
23758
23759
23760static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23761 PyObject *resultobj;
23762 wxPyTreeCtrl *result;
23763 char *kwnames[] = {
23764 NULL
23765 };
23766
23767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
23771
23772 wxPyEndAllowThreads(__tstate);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 }
23775 {
23776 resultobj = wxPyMake_wxObject(result);
23777 }
23778 return resultobj;
23779 fail:
23780 return NULL;
23781}
23782
23783
23784static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23785 PyObject *resultobj;
23786 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23787 wxWindow *arg2 = (wxWindow *) 0 ;
23788 int arg3 = (int) -1 ;
23789 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23790 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23791 wxSize const &arg5_defvalue = wxDefaultSize ;
23792 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23793 long arg6 = (long) wxTR_DEFAULT_STYLE ;
23794 wxValidator const &arg7_defvalue = wxDefaultValidator ;
23795 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
23796 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
23797 wxString *arg8 = (wxString *) &arg8_defvalue ;
23798 bool result;
23799 wxPoint temp4 ;
23800 wxSize temp5 ;
23801 bool temp8 = False ;
23802 PyObject * obj0 = 0 ;
23803 PyObject * obj1 = 0 ;
23804 PyObject * obj2 = 0 ;
23805 PyObject * obj3 = 0 ;
23806 PyObject * obj4 = 0 ;
23807 PyObject * obj5 = 0 ;
23808 PyObject * obj6 = 0 ;
23809 PyObject * obj7 = 0 ;
23810 char *kwnames[] = {
23811 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23812 };
23813
23814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
23815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23817 if (obj2) {
23818 {
23819 arg3 = (int) SWIG_PyObj_AsInt(obj2);
23820 if (PyErr_Occurred()) SWIG_fail;
23821 }
23822 }
23823 if (obj3) {
23824 {
23825 arg4 = &temp4;
23826 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23827 }
23828 }
23829 if (obj4) {
23830 {
23831 arg5 = &temp5;
23832 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23833 }
23834 }
23835 if (obj5) {
23836 {
23837 arg6 = (long) SWIG_PyObj_AsLong(obj5);
23838 if (PyErr_Occurred()) SWIG_fail;
23839 }
23840 }
23841 if (obj6) {
23842 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23843 if (arg7 == NULL) {
23844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23845 }
23846 }
23847 if (obj7) {
23848 {
23849 arg8 = wxString_in_helper(obj7);
23850 if (arg8 == NULL) SWIG_fail;
23851 temp8 = True;
23852 }
23853 }
23854 {
23855 PyThreadState* __tstate = wxPyBeginAllowThreads();
23856 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
23857
23858 wxPyEndAllowThreads(__tstate);
23859 if (PyErr_Occurred()) SWIG_fail;
23860 }
23861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23862 {
23863 if (temp8)
23864 delete arg8;
23865 }
23866 return resultobj;
23867 fail:
23868 {
23869 if (temp8)
23870 delete arg8;
23871 }
23872 return NULL;
23873}
23874
23875
23876static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23877 PyObject *resultobj;
23878 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23879 PyObject *arg2 = (PyObject *) 0 ;
23880 PyObject *arg3 = (PyObject *) 0 ;
23881 PyObject * obj0 = 0 ;
23882 PyObject * obj1 = 0 ;
23883 PyObject * obj2 = 0 ;
23884 char *kwnames[] = {
23885 (char *) "self",(char *) "self",(char *) "_class", NULL
23886 };
23887
23888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23890 arg2 = obj1;
23891 arg3 = obj2;
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 (arg1)->_setCallbackInfo(arg2,arg3);
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
23899 Py_INCREF(Py_None); resultobj = Py_None;
23900 return resultobj;
23901 fail:
23902 return NULL;
23903}
23904
23905
23906static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
23907 PyObject *resultobj;
23908 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23909 size_t result;
23910 PyObject * obj0 = 0 ;
23911 char *kwnames[] = {
23912 (char *) "self", NULL
23913 };
23914
23915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
23916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23917 {
23918 PyThreadState* __tstate = wxPyBeginAllowThreads();
23919 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
23920
23921 wxPyEndAllowThreads(__tstate);
23922 if (PyErr_Occurred()) SWIG_fail;
23923 }
23924 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
23925 return resultobj;
23926 fail:
23927 return NULL;
23928}
23929
23930
23931static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23932 PyObject *resultobj;
23933 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23934 unsigned int result;
23935 PyObject * obj0 = 0 ;
23936 char *kwnames[] = {
23937 (char *) "self", NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
23941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23942 {
23943 PyThreadState* __tstate = wxPyBeginAllowThreads();
23944 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
23945
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
23950 return resultobj;
23951 fail:
23952 return NULL;
23953}
23954
23955
23956static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
23957 PyObject *resultobj;
23958 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23959 unsigned int arg2 ;
23960 PyObject * obj0 = 0 ;
23961 PyObject * obj1 = 0 ;
23962 char *kwnames[] = {
23963 (char *) "self",(char *) "indent", NULL
23964 };
23965
23966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
23967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23968 {
23969 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
23970 if (PyErr_Occurred()) SWIG_fail;
23971 }
23972 {
23973 PyThreadState* __tstate = wxPyBeginAllowThreads();
23974 (arg1)->SetIndent(arg2);
23975
23976 wxPyEndAllowThreads(__tstate);
23977 if (PyErr_Occurred()) SWIG_fail;
23978 }
23979 Py_INCREF(Py_None); resultobj = Py_None;
23980 return resultobj;
23981 fail:
23982 return NULL;
23983}
23984
23985
23986static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
23987 PyObject *resultobj;
23988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23989 unsigned int result;
23990 PyObject * obj0 = 0 ;
23991 char *kwnames[] = {
23992 (char *) "self", NULL
23993 };
23994
23995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
23996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23997 {
23998 PyThreadState* __tstate = wxPyBeginAllowThreads();
23999 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
24000
24001 wxPyEndAllowThreads(__tstate);
24002 if (PyErr_Occurred()) SWIG_fail;
24003 }
24004 resultobj = SWIG_PyObj_FromUnsignedInt((unsigned int)result);
24005 return resultobj;
24006 fail:
24007 return NULL;
24008}
24009
24010
24011static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
24012 PyObject *resultobj;
24013 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24014 unsigned int arg2 ;
24015 PyObject * obj0 = 0 ;
24016 PyObject * obj1 = 0 ;
24017 char *kwnames[] = {
24018 (char *) "self",(char *) "spacing", NULL
24019 };
24020
24021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
24022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24023 {
24024 arg2 = (unsigned int) SWIG_PyObj_AsUnsignedInt(obj1);
24025 if (PyErr_Occurred()) SWIG_fail;
24026 }
24027 {
24028 PyThreadState* __tstate = wxPyBeginAllowThreads();
24029 (arg1)->SetSpacing(arg2);
24030
24031 wxPyEndAllowThreads(__tstate);
24032 if (PyErr_Occurred()) SWIG_fail;
24033 }
24034 Py_INCREF(Py_None); resultobj = Py_None;
24035 return resultobj;
24036 fail:
24037 return NULL;
24038}
24039
24040
24041static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24042 PyObject *resultobj;
24043 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24044 wxImageList *result;
24045 PyObject * obj0 = 0 ;
24046 char *kwnames[] = {
24047 (char *) "self", NULL
24048 };
24049
24050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
24051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24052 {
24053 PyThreadState* __tstate = wxPyBeginAllowThreads();
24054 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
24055
24056 wxPyEndAllowThreads(__tstate);
24057 if (PyErr_Occurred()) SWIG_fail;
24058 }
24059 {
24060 resultobj = wxPyMake_wxObject(result);
24061 }
24062 return resultobj;
24063 fail:
24064 return NULL;
24065}
24066
24067
24068static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24069 PyObject *resultobj;
24070 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24071 wxImageList *result;
24072 PyObject * obj0 = 0 ;
24073 char *kwnames[] = {
24074 (char *) "self", NULL
24075 };
24076
24077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
24078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24079 {
24080 PyThreadState* __tstate = wxPyBeginAllowThreads();
24081 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
24082
24083 wxPyEndAllowThreads(__tstate);
24084 if (PyErr_Occurred()) SWIG_fail;
24085 }
24086 {
24087 resultobj = wxPyMake_wxObject(result);
24088 }
24089 return resultobj;
24090 fail:
24091 return NULL;
24092}
24093
24094
24095static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24096 PyObject *resultobj;
24097 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24098 wxImageList *arg2 = (wxImageList *) 0 ;
24099 PyObject * obj0 = 0 ;
24100 PyObject * obj1 = 0 ;
24101 char *kwnames[] = {
24102 (char *) "self",(char *) "imageList", NULL
24103 };
24104
24105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
24106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
24110 (arg1)->SetImageList(arg2);
24111
24112 wxPyEndAllowThreads(__tstate);
24113 if (PyErr_Occurred()) SWIG_fail;
24114 }
24115 Py_INCREF(Py_None); resultobj = Py_None;
24116 return resultobj;
24117 fail:
24118 return NULL;
24119}
24120
24121
24122static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24123 PyObject *resultobj;
24124 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24125 wxImageList *arg2 = (wxImageList *) 0 ;
24126 PyObject * obj0 = 0 ;
24127 PyObject * obj1 = 0 ;
24128 char *kwnames[] = {
24129 (char *) "self",(char *) "imageList", NULL
24130 };
24131
24132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
24133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24135 {
24136 PyThreadState* __tstate = wxPyBeginAllowThreads();
24137 (arg1)->SetStateImageList(arg2);
24138
24139 wxPyEndAllowThreads(__tstate);
24140 if (PyErr_Occurred()) SWIG_fail;
24141 }
24142 Py_INCREF(Py_None); resultobj = Py_None;
24143 return resultobj;
24144 fail:
24145 return NULL;
24146}
24147
24148
24149static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24150 PyObject *resultobj;
24151 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24152 wxImageList *arg2 = (wxImageList *) 0 ;
24153 PyObject * obj0 = 0 ;
24154 PyObject * obj1 = 0 ;
24155 char *kwnames[] = {
24156 (char *) "self",(char *) "imageList", NULL
24157 };
24158
24159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
24160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
24162 {
24163 PyThreadState* __tstate = wxPyBeginAllowThreads();
24164 (arg1)->AssignImageList(arg2);
24165
24166 wxPyEndAllowThreads(__tstate);
24167 if (PyErr_Occurred()) SWIG_fail;
24168 }
24169 Py_INCREF(Py_None); resultobj = Py_None;
24170 return resultobj;
24171 fail:
24172 return NULL;
24173}
24174
24175
24176static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
24177 PyObject *resultobj;
24178 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24179 wxImageList *arg2 = (wxImageList *) 0 ;
24180 PyObject * obj0 = 0 ;
24181 PyObject * obj1 = 0 ;
24182 char *kwnames[] = {
24183 (char *) "self",(char *) "imageList", NULL
24184 };
24185
24186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
24187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24188 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 (arg1)->AssignStateImageList(arg2);
24192
24193 wxPyEndAllowThreads(__tstate);
24194 if (PyErr_Occurred()) SWIG_fail;
24195 }
24196 Py_INCREF(Py_None); resultobj = Py_None;
24197 return resultobj;
24198 fail:
24199 return NULL;
24200}
24201
24202
24203static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24204 PyObject *resultobj;
24205 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24206 wxTreeItemId *arg2 = 0 ;
24207 wxString result;
24208 PyObject * obj0 = 0 ;
24209 PyObject * obj1 = 0 ;
24210 char *kwnames[] = {
24211 (char *) "self",(char *) "item", NULL
24212 };
24213
24214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
24215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24216 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24217 if (arg2 == NULL) {
24218 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24219 }
24220 {
24221 PyThreadState* __tstate = wxPyBeginAllowThreads();
24222 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
24223
24224 wxPyEndAllowThreads(__tstate);
24225 if (PyErr_Occurred()) SWIG_fail;
24226 }
24227 {
24228#if wxUSE_UNICODE
24229 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24230#else
24231 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24232#endif
24233 }
24234 return resultobj;
24235 fail:
24236 return NULL;
24237}
24238
24239
24240static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24241 PyObject *resultobj;
24242 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24243 wxTreeItemId *arg2 = 0 ;
24244 int arg3 = (int) wxTreeItemIcon_Normal ;
24245 int result;
24246 PyObject * obj0 = 0 ;
24247 PyObject * obj1 = 0 ;
24248 PyObject * obj2 = 0 ;
24249 char *kwnames[] = {
24250 (char *) "self",(char *) "item",(char *) "which", NULL
24251 };
24252
24253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
24254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24256 if (arg2 == NULL) {
24257 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24258 }
24259 if (obj2) {
24260 {
24261 arg3 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj2);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
24264 }
24265 {
24266 PyThreadState* __tstate = wxPyBeginAllowThreads();
24267 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
24268
24269 wxPyEndAllowThreads(__tstate);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
24272 resultobj = SWIG_PyObj_FromInt((int)result);
24273 return resultobj;
24274 fail:
24275 return NULL;
24276}
24277
24278
24279static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24280 PyObject *resultobj;
24281 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24282 wxTreeItemId *arg2 = 0 ;
24283 wxPyTreeItemData *result;
24284 PyObject * obj0 = 0 ;
24285 PyObject * obj1 = 0 ;
24286 char *kwnames[] = {
24287 (char *) "self",(char *) "item", NULL
24288 };
24289
24290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
24291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24293 if (arg2 == NULL) {
24294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24295 }
24296 {
24297 PyThreadState* __tstate = wxPyBeginAllowThreads();
24298 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
24299
24300 wxPyEndAllowThreads(__tstate);
24301 if (PyErr_Occurred()) SWIG_fail;
24302 }
24303 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
24304 return resultobj;
24305 fail:
24306 return NULL;
24307}
24308
24309
24310static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24311 PyObject *resultobj;
24312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24313 wxTreeItemId *arg2 = 0 ;
24314 PyObject *result;
24315 PyObject * obj0 = 0 ;
24316 PyObject * obj1 = 0 ;
24317 char *kwnames[] = {
24318 (char *) "self",(char *) "item", NULL
24319 };
24320
24321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
24322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24323 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24324 if (arg2 == NULL) {
24325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24326 }
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 resultobj = result;
24335 return resultobj;
24336 fail:
24337 return NULL;
24338}
24339
24340
24341static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24342 PyObject *resultobj;
24343 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24344 wxTreeItemId *arg2 = 0 ;
24345 wxColour result;
24346 PyObject * obj0 = 0 ;
24347 PyObject * obj1 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self",(char *) "item", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
24353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24355 if (arg2 == NULL) {
24356 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24357 }
24358 {
24359 PyThreadState* __tstate = wxPyBeginAllowThreads();
24360 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
24361
24362 wxPyEndAllowThreads(__tstate);
24363 if (PyErr_Occurred()) SWIG_fail;
24364 }
24365 {
24366 wxColour * resultptr;
24367 resultptr = new wxColour((wxColour &) result);
24368 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24369 }
24370 return resultobj;
24371 fail:
24372 return NULL;
24373}
24374
24375
24376static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24377 PyObject *resultobj;
24378 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24379 wxTreeItemId *arg2 = 0 ;
24380 wxColour result;
24381 PyObject * obj0 = 0 ;
24382 PyObject * obj1 = 0 ;
24383 char *kwnames[] = {
24384 (char *) "self",(char *) "item", NULL
24385 };
24386
24387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
24388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24389 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24390 if (arg2 == NULL) {
24391 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24392 }
24393 {
24394 PyThreadState* __tstate = wxPyBeginAllowThreads();
24395 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
24396
24397 wxPyEndAllowThreads(__tstate);
24398 if (PyErr_Occurred()) SWIG_fail;
24399 }
24400 {
24401 wxColour * resultptr;
24402 resultptr = new wxColour((wxColour &) result);
24403 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
24404 }
24405 return resultobj;
24406 fail:
24407 return NULL;
24408}
24409
24410
24411static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24412 PyObject *resultobj;
24413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24414 wxTreeItemId *arg2 = 0 ;
24415 wxFont result;
24416 PyObject * obj0 = 0 ;
24417 PyObject * obj1 = 0 ;
24418 char *kwnames[] = {
24419 (char *) "self",(char *) "item", NULL
24420 };
24421
24422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
24423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24424 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24425 if (arg2 == NULL) {
24426 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24427 }
24428 {
24429 PyThreadState* __tstate = wxPyBeginAllowThreads();
24430 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
24431
24432 wxPyEndAllowThreads(__tstate);
24433 if (PyErr_Occurred()) SWIG_fail;
24434 }
24435 {
24436 wxFont * resultptr;
24437 resultptr = new wxFont((wxFont &) result);
24438 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
24439 }
24440 return resultobj;
24441 fail:
24442 return NULL;
24443}
24444
24445
24446static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
24447 PyObject *resultobj;
24448 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24449 wxTreeItemId *arg2 = 0 ;
24450 wxString *arg3 = 0 ;
24451 bool temp3 = False ;
24452 PyObject * obj0 = 0 ;
24453 PyObject * obj1 = 0 ;
24454 PyObject * obj2 = 0 ;
24455 char *kwnames[] = {
24456 (char *) "self",(char *) "item",(char *) "text", NULL
24457 };
24458
24459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
24460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24462 if (arg2 == NULL) {
24463 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24464 }
24465 {
24466 arg3 = wxString_in_helper(obj2);
24467 if (arg3 == NULL) SWIG_fail;
24468 temp3 = True;
24469 }
24470 {
24471 PyThreadState* __tstate = wxPyBeginAllowThreads();
24472 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
24473
24474 wxPyEndAllowThreads(__tstate);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 }
24477 Py_INCREF(Py_None); resultobj = Py_None;
24478 {
24479 if (temp3)
24480 delete arg3;
24481 }
24482 return resultobj;
24483 fail:
24484 {
24485 if (temp3)
24486 delete arg3;
24487 }
24488 return NULL;
24489}
24490
24491
24492static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
24493 PyObject *resultobj;
24494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24495 wxTreeItemId *arg2 = 0 ;
24496 int arg3 ;
24497 int arg4 = (int) wxTreeItemIcon_Normal ;
24498 PyObject * obj0 = 0 ;
24499 PyObject * obj1 = 0 ;
24500 PyObject * obj2 = 0 ;
24501 PyObject * obj3 = 0 ;
24502 char *kwnames[] = {
24503 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
24504 };
24505
24506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
24507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24509 if (arg2 == NULL) {
24510 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24511 }
24512 {
24513 arg3 = (int) SWIG_PyObj_AsInt(obj2);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 if (obj3) {
24517 {
24518 arg4 = (wxTreeItemIcon) SWIG_PyObj_AsInt(obj3);
24519 if (PyErr_Occurred()) SWIG_fail;
24520 }
24521 }
24522 {
24523 PyThreadState* __tstate = wxPyBeginAllowThreads();
24524 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
24525
24526 wxPyEndAllowThreads(__tstate);
24527 if (PyErr_Occurred()) SWIG_fail;
24528 }
24529 Py_INCREF(Py_None); resultobj = Py_None;
24530 return resultobj;
24531 fail:
24532 return NULL;
24533}
24534
24535
24536static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
24537 PyObject *resultobj;
24538 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24539 wxTreeItemId *arg2 = 0 ;
24540 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
24541 PyObject * obj0 = 0 ;
24542 PyObject * obj1 = 0 ;
24543 PyObject * obj2 = 0 ;
24544 char *kwnames[] = {
24545 (char *) "self",(char *) "item",(char *) "data", NULL
24546 };
24547
24548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24550 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24551 if (arg2 == NULL) {
24552 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24553 }
24554 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24555 {
24556 PyThreadState* __tstate = wxPyBeginAllowThreads();
24557 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
24558
24559 wxPyEndAllowThreads(__tstate);
24560 if (PyErr_Occurred()) SWIG_fail;
24561 }
24562 Py_INCREF(Py_None); resultobj = Py_None;
24563 return resultobj;
24564 fail:
24565 return NULL;
24566}
24567
24568
24569static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
24570 PyObject *resultobj;
24571 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24572 wxTreeItemId *arg2 = 0 ;
24573 PyObject *arg3 = (PyObject *) 0 ;
24574 PyObject * obj0 = 0 ;
24575 PyObject * obj1 = 0 ;
24576 PyObject * obj2 = 0 ;
24577 char *kwnames[] = {
24578 (char *) "self",(char *) "item",(char *) "obj", NULL
24579 };
24580
24581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
24582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24583 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24584 if (arg2 == NULL) {
24585 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24586 }
24587 arg3 = obj2;
24588 {
24589 PyThreadState* __tstate = wxPyBeginAllowThreads();
24590 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
24591
24592 wxPyEndAllowThreads(__tstate);
24593 if (PyErr_Occurred()) SWIG_fail;
24594 }
24595 Py_INCREF(Py_None); resultobj = Py_None;
24596 return resultobj;
24597 fail:
24598 return NULL;
24599}
24600
24601
24602static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24603 PyObject *resultobj;
24604 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24605 wxTreeItemId *arg2 = 0 ;
24606 bool arg3 = (bool) True ;
24607 PyObject * obj0 = 0 ;
24608 PyObject * obj1 = 0 ;
24609 PyObject * obj2 = 0 ;
24610 char *kwnames[] = {
24611 (char *) "self",(char *) "item",(char *) "has", NULL
24612 };
24613
24614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
24615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24617 if (arg2 == NULL) {
24618 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24619 }
24620 if (obj2) {
24621 {
24622 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24623 if (PyErr_Occurred()) SWIG_fail;
24624 }
24625 }
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 Py_INCREF(Py_None); resultobj = Py_None;
24634 return resultobj;
24635 fail:
24636 return NULL;
24637}
24638
24639
24640static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24641 PyObject *resultobj;
24642 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24643 wxTreeItemId *arg2 = 0 ;
24644 bool arg3 = (bool) True ;
24645 PyObject * obj0 = 0 ;
24646 PyObject * obj1 = 0 ;
24647 PyObject * obj2 = 0 ;
24648 char *kwnames[] = {
24649 (char *) "self",(char *) "item",(char *) "bold", NULL
24650 };
24651
24652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
24653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24655 if (arg2 == NULL) {
24656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24657 }
24658 if (obj2) {
24659 {
24660 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 }
24664 {
24665 PyThreadState* __tstate = wxPyBeginAllowThreads();
24666 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
24667
24668 wxPyEndAllowThreads(__tstate);
24669 if (PyErr_Occurred()) SWIG_fail;
24670 }
24671 Py_INCREF(Py_None); resultobj = Py_None;
24672 return resultobj;
24673 fail:
24674 return NULL;
24675}
24676
24677
24678static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
24679 PyObject *resultobj;
24680 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24681 wxTreeItemId *arg2 = 0 ;
24682 bool arg3 = (bool) True ;
24683 PyObject * obj0 = 0 ;
24684 PyObject * obj1 = 0 ;
24685 PyObject * obj2 = 0 ;
24686 char *kwnames[] = {
24687 (char *) "self",(char *) "item",(char *) "highlight", NULL
24688 };
24689
24690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
24691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24693 if (arg2 == NULL) {
24694 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24695 }
24696 if (obj2) {
24697 {
24698 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
24699 if (PyErr_Occurred()) SWIG_fail;
24700 }
24701 }
24702 {
24703 PyThreadState* __tstate = wxPyBeginAllowThreads();
24704 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
24705
24706 wxPyEndAllowThreads(__tstate);
24707 if (PyErr_Occurred()) SWIG_fail;
24708 }
24709 Py_INCREF(Py_None); resultobj = Py_None;
24710 return resultobj;
24711 fail:
24712 return NULL;
24713}
24714
24715
24716static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24717 PyObject *resultobj;
24718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24719 wxTreeItemId *arg2 = 0 ;
24720 wxColour *arg3 = 0 ;
24721 wxColour temp3 ;
24722 PyObject * obj0 = 0 ;
24723 PyObject * obj1 = 0 ;
24724 PyObject * obj2 = 0 ;
24725 char *kwnames[] = {
24726 (char *) "self",(char *) "item",(char *) "col", NULL
24727 };
24728
24729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24732 if (arg2 == NULL) {
24733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24734 }
24735 {
24736 arg3 = &temp3;
24737 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24738 }
24739 {
24740 PyThreadState* __tstate = wxPyBeginAllowThreads();
24741 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24742
24743 wxPyEndAllowThreads(__tstate);
24744 if (PyErr_Occurred()) SWIG_fail;
24745 }
24746 Py_INCREF(Py_None); resultobj = Py_None;
24747 return resultobj;
24748 fail:
24749 return NULL;
24750}
24751
24752
24753static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24754 PyObject *resultobj;
24755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24756 wxTreeItemId *arg2 = 0 ;
24757 wxColour *arg3 = 0 ;
24758 wxColour temp3 ;
24759 PyObject * obj0 = 0 ;
24760 PyObject * obj1 = 0 ;
24761 PyObject * obj2 = 0 ;
24762 char *kwnames[] = {
24763 (char *) "self",(char *) "item",(char *) "col", NULL
24764 };
24765
24766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
24767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24769 if (arg2 == NULL) {
24770 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24771 }
24772 {
24773 arg3 = &temp3;
24774 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
24775 }
24776 {
24777 PyThreadState* __tstate = wxPyBeginAllowThreads();
24778 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
24779
24780 wxPyEndAllowThreads(__tstate);
24781 if (PyErr_Occurred()) SWIG_fail;
24782 }
24783 Py_INCREF(Py_None); resultobj = Py_None;
24784 return resultobj;
24785 fail:
24786 return NULL;
24787}
24788
24789
24790static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
24791 PyObject *resultobj;
24792 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24793 wxTreeItemId *arg2 = 0 ;
24794 wxFont *arg3 = 0 ;
24795 PyObject * obj0 = 0 ;
24796 PyObject * obj1 = 0 ;
24797 PyObject * obj2 = 0 ;
24798 char *kwnames[] = {
24799 (char *) "self",(char *) "item",(char *) "font", NULL
24800 };
24801
24802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
24803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24805 if (arg2 == NULL) {
24806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24807 }
24808 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24809 if (arg3 == NULL) {
24810 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24811 }
24812 {
24813 PyThreadState* __tstate = wxPyBeginAllowThreads();
24814 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
24815
24816 wxPyEndAllowThreads(__tstate);
24817 if (PyErr_Occurred()) SWIG_fail;
24818 }
24819 Py_INCREF(Py_None); resultobj = Py_None;
24820 return resultobj;
24821 fail:
24822 return NULL;
24823}
24824
24825
24826static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
24827 PyObject *resultobj;
24828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24829 wxTreeItemId *arg2 = 0 ;
24830 bool result;
24831 PyObject * obj0 = 0 ;
24832 PyObject * obj1 = 0 ;
24833 char *kwnames[] = {
24834 (char *) "self",(char *) "item", NULL
24835 };
24836
24837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
24838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24840 if (arg2 == NULL) {
24841 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24842 }
24843 {
24844 PyThreadState* __tstate = wxPyBeginAllowThreads();
24845 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
24846
24847 wxPyEndAllowThreads(__tstate);
24848 if (PyErr_Occurred()) SWIG_fail;
24849 }
24850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24851 return resultobj;
24852 fail:
24853 return NULL;
24854}
24855
24856
24857static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
24858 PyObject *resultobj;
24859 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24860 wxTreeItemId *arg2 = 0 ;
24861 bool result;
24862 PyObject * obj0 = 0 ;
24863 PyObject * obj1 = 0 ;
24864 char *kwnames[] = {
24865 (char *) "self",(char *) "item", NULL
24866 };
24867
24868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
24869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24870 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24871 if (arg2 == NULL) {
24872 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24873 }
24874 {
24875 PyThreadState* __tstate = wxPyBeginAllowThreads();
24876 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
24877
24878 wxPyEndAllowThreads(__tstate);
24879 if (PyErr_Occurred()) SWIG_fail;
24880 }
24881 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24882 return resultobj;
24883 fail:
24884 return NULL;
24885}
24886
24887
24888static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
24889 PyObject *resultobj;
24890 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24891 wxTreeItemId *arg2 = 0 ;
24892 bool result;
24893 PyObject * obj0 = 0 ;
24894 PyObject * obj1 = 0 ;
24895 char *kwnames[] = {
24896 (char *) "self",(char *) "item", NULL
24897 };
24898
24899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
24900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24902 if (arg2 == NULL) {
24903 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24904 }
24905 {
24906 PyThreadState* __tstate = wxPyBeginAllowThreads();
24907 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
24908
24909 wxPyEndAllowThreads(__tstate);
24910 if (PyErr_Occurred()) SWIG_fail;
24911 }
24912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24913 return resultobj;
24914 fail:
24915 return NULL;
24916}
24917
24918
24919static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
24920 PyObject *resultobj;
24921 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24922 wxTreeItemId *arg2 = 0 ;
24923 bool result;
24924 PyObject * obj0 = 0 ;
24925 PyObject * obj1 = 0 ;
24926 char *kwnames[] = {
24927 (char *) "self",(char *) "item", NULL
24928 };
24929
24930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
24931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24933 if (arg2 == NULL) {
24934 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24935 }
24936 {
24937 PyThreadState* __tstate = wxPyBeginAllowThreads();
24938 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
24939
24940 wxPyEndAllowThreads(__tstate);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 }
24943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24944 return resultobj;
24945 fail:
24946 return NULL;
24947}
24948
24949
24950static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
24951 PyObject *resultobj;
24952 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24953 wxTreeItemId *arg2 = 0 ;
24954 bool result;
24955 PyObject * obj0 = 0 ;
24956 PyObject * obj1 = 0 ;
24957 char *kwnames[] = {
24958 (char *) "self",(char *) "item", NULL
24959 };
24960
24961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
24962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24963 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24964 if (arg2 == NULL) {
24965 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24966 }
24967 {
24968 PyThreadState* __tstate = wxPyBeginAllowThreads();
24969 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
24970
24971 wxPyEndAllowThreads(__tstate);
24972 if (PyErr_Occurred()) SWIG_fail;
24973 }
24974 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24975 return resultobj;
24976 fail:
24977 return NULL;
24978}
24979
24980
24981static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
24982 PyObject *resultobj;
24983 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
24984 wxTreeItemId *arg2 = 0 ;
24985 bool arg3 = (bool) True ;
24986 size_t result;
24987 PyObject * obj0 = 0 ;
24988 PyObject * obj1 = 0 ;
24989 PyObject * obj2 = 0 ;
24990 char *kwnames[] = {
24991 (char *) "self",(char *) "item",(char *) "recursively", NULL
24992 };
24993
24994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
24995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24997 if (arg2 == NULL) {
24998 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24999 }
25000 if (obj2) {
25001 {
25002 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
25003 if (PyErr_Occurred()) SWIG_fail;
25004 }
25005 }
25006 {
25007 PyThreadState* __tstate = wxPyBeginAllowThreads();
25008 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
25009
25010 wxPyEndAllowThreads(__tstate);
25011 if (PyErr_Occurred()) SWIG_fail;
25012 }
25013 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
25014 return resultobj;
25015 fail:
25016 return NULL;
25017}
25018
25019
25020static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25021 PyObject *resultobj;
25022 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25023 wxTreeItemId result;
25024 PyObject * obj0 = 0 ;
25025 char *kwnames[] = {
25026 (char *) "self", NULL
25027 };
25028
25029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
25030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25031 {
25032 PyThreadState* __tstate = wxPyBeginAllowThreads();
25033 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
25034
25035 wxPyEndAllowThreads(__tstate);
25036 if (PyErr_Occurred()) SWIG_fail;
25037 }
25038 {
25039 wxTreeItemId * resultptr;
25040 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25041 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25042 }
25043 return resultobj;
25044 fail:
25045 return NULL;
25046}
25047
25048
25049static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
25050 PyObject *resultobj;
25051 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25052 wxTreeItemId result;
25053 PyObject * obj0 = 0 ;
25054 char *kwnames[] = {
25055 (char *) "self", NULL
25056 };
25057
25058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
25059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25060 {
25061 PyThreadState* __tstate = wxPyBeginAllowThreads();
25062 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
25063
25064 wxPyEndAllowThreads(__tstate);
25065 if (PyErr_Occurred()) SWIG_fail;
25066 }
25067 {
25068 wxTreeItemId * resultptr;
25069 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25070 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25071 }
25072 return resultobj;
25073 fail:
25074 return NULL;
25075}
25076
25077
25078static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
25079 PyObject *resultobj;
25080 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25081 PyObject *result;
25082 PyObject * obj0 = 0 ;
25083 char *kwnames[] = {
25084 (char *) "self", NULL
25085 };
25086
25087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
25088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25089 {
25090 PyThreadState* __tstate = wxPyBeginAllowThreads();
25091 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
25092
25093 wxPyEndAllowThreads(__tstate);
25094 if (PyErr_Occurred()) SWIG_fail;
25095 }
25096 resultobj = result;
25097 return resultobj;
25098 fail:
25099 return NULL;
25100}
25101
25102
25103static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
25104 PyObject *resultobj;
25105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25106 wxTreeItemId *arg2 = 0 ;
25107 wxTreeItemId result;
25108 PyObject * obj0 = 0 ;
25109 PyObject * obj1 = 0 ;
25110 char *kwnames[] = {
25111 (char *) "self",(char *) "item", NULL
25112 };
25113
25114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
25115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25117 if (arg2 == NULL) {
25118 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25119 }
25120 {
25121 PyThreadState* __tstate = wxPyBeginAllowThreads();
25122 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
25123
25124 wxPyEndAllowThreads(__tstate);
25125 if (PyErr_Occurred()) SWIG_fail;
25126 }
25127 {
25128 wxTreeItemId * resultptr;
25129 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25130 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25131 }
25132 return resultobj;
25133 fail:
25134 return NULL;
25135}
25136
25137
25138static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25139 PyObject *resultobj;
25140 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25141 wxTreeItemId *arg2 = 0 ;
25142 PyObject *result;
25143 PyObject * obj0 = 0 ;
25144 PyObject * obj1 = 0 ;
25145 char *kwnames[] = {
25146 (char *) "self",(char *) "item", NULL
25147 };
25148
25149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
25150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25152 if (arg2 == NULL) {
25153 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25154 }
25155 {
25156 PyThreadState* __tstate = wxPyBeginAllowThreads();
25157 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
25158
25159 wxPyEndAllowThreads(__tstate);
25160 if (PyErr_Occurred()) SWIG_fail;
25161 }
25162 resultobj = result;
25163 return resultobj;
25164 fail:
25165 return NULL;
25166}
25167
25168
25169static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25170 PyObject *resultobj;
25171 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25172 wxTreeItemId *arg2 = 0 ;
25173 void *arg3 = (void *) 0 ;
25174 PyObject *result;
25175 PyObject * obj0 = 0 ;
25176 PyObject * obj1 = 0 ;
25177 PyObject * obj2 = 0 ;
25178 char *kwnames[] = {
25179 (char *) "self",(char *) "item",(char *) "cookie", NULL
25180 };
25181
25182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
25183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25185 if (arg2 == NULL) {
25186 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25187 }
25188 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25189 {
25190 PyThreadState* __tstate = wxPyBeginAllowThreads();
25191 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
25192
25193 wxPyEndAllowThreads(__tstate);
25194 if (PyErr_Occurred()) SWIG_fail;
25195 }
25196 resultobj = result;
25197 return resultobj;
25198 fail:
25199 return NULL;
25200}
25201
25202
25203static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25204 PyObject *resultobj;
25205 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25206 wxTreeItemId *arg2 = 0 ;
25207 wxTreeItemId result;
25208 PyObject * obj0 = 0 ;
25209 PyObject * obj1 = 0 ;
25210 char *kwnames[] = {
25211 (char *) "self",(char *) "item", NULL
25212 };
25213
25214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
25215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25216 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25217 if (arg2 == NULL) {
25218 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25219 }
25220 {
25221 PyThreadState* __tstate = wxPyBeginAllowThreads();
25222 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
25223
25224 wxPyEndAllowThreads(__tstate);
25225 if (PyErr_Occurred()) SWIG_fail;
25226 }
25227 {
25228 wxTreeItemId * resultptr;
25229 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25230 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25231 }
25232 return resultobj;
25233 fail:
25234 return NULL;
25235}
25236
25237
25238static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25239 PyObject *resultobj;
25240 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25241 wxTreeItemId *arg2 = 0 ;
25242 wxTreeItemId result;
25243 PyObject * obj0 = 0 ;
25244 PyObject * obj1 = 0 ;
25245 char *kwnames[] = {
25246 (char *) "self",(char *) "item", NULL
25247 };
25248
25249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
25250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25251 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25252 if (arg2 == NULL) {
25253 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25254 }
25255 {
25256 PyThreadState* __tstate = wxPyBeginAllowThreads();
25257 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
25258
25259 wxPyEndAllowThreads(__tstate);
25260 if (PyErr_Occurred()) SWIG_fail;
25261 }
25262 {
25263 wxTreeItemId * resultptr;
25264 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25265 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25266 }
25267 return resultobj;
25268 fail:
25269 return NULL;
25270}
25271
25272
25273static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
25274 PyObject *resultobj;
25275 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25276 wxTreeItemId *arg2 = 0 ;
25277 wxTreeItemId result;
25278 PyObject * obj0 = 0 ;
25279 PyObject * obj1 = 0 ;
25280 char *kwnames[] = {
25281 (char *) "self",(char *) "item", NULL
25282 };
25283
25284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
25285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25286 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25287 if (arg2 == NULL) {
25288 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25289 }
25290 {
25291 PyThreadState* __tstate = wxPyBeginAllowThreads();
25292 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
25293
25294 wxPyEndAllowThreads(__tstate);
25295 if (PyErr_Occurred()) SWIG_fail;
25296 }
25297 {
25298 wxTreeItemId * resultptr;
25299 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25300 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25301 }
25302 return resultobj;
25303 fail:
25304 return NULL;
25305}
25306
25307
25308static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25309 PyObject *resultobj;
25310 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25311 wxTreeItemId result;
25312 PyObject * obj0 = 0 ;
25313 char *kwnames[] = {
25314 (char *) "self", NULL
25315 };
25316
25317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
25318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25319 {
25320 PyThreadState* __tstate = wxPyBeginAllowThreads();
25321 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
25322
25323 wxPyEndAllowThreads(__tstate);
25324 if (PyErr_Occurred()) SWIG_fail;
25325 }
25326 {
25327 wxTreeItemId * resultptr;
25328 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25329 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25330 }
25331 return resultobj;
25332 fail:
25333 return NULL;
25334}
25335
25336
25337static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25338 PyObject *resultobj;
25339 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25340 wxTreeItemId *arg2 = 0 ;
25341 wxTreeItemId result;
25342 PyObject * obj0 = 0 ;
25343 PyObject * obj1 = 0 ;
25344 char *kwnames[] = {
25345 (char *) "self",(char *) "item", NULL
25346 };
25347
25348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
25349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25350 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25351 if (arg2 == NULL) {
25352 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25353 }
25354 {
25355 PyThreadState* __tstate = wxPyBeginAllowThreads();
25356 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
25357
25358 wxPyEndAllowThreads(__tstate);
25359 if (PyErr_Occurred()) SWIG_fail;
25360 }
25361 {
25362 wxTreeItemId * resultptr;
25363 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25364 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25365 }
25366 return resultobj;
25367 fail:
25368 return NULL;
25369}
25370
25371
25372static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
25373 PyObject *resultobj;
25374 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25375 wxTreeItemId *arg2 = 0 ;
25376 wxTreeItemId result;
25377 PyObject * obj0 = 0 ;
25378 PyObject * obj1 = 0 ;
25379 char *kwnames[] = {
25380 (char *) "self",(char *) "item", NULL
25381 };
25382
25383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
25384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25385 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25386 if (arg2 == NULL) {
25387 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25388 }
25389 {
25390 PyThreadState* __tstate = wxPyBeginAllowThreads();
25391 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
25392
25393 wxPyEndAllowThreads(__tstate);
25394 if (PyErr_Occurred()) SWIG_fail;
25395 }
25396 {
25397 wxTreeItemId * resultptr;
25398 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25399 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25400 }
25401 return resultobj;
25402 fail:
25403 return NULL;
25404}
25405
25406
25407static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
25408 PyObject *resultobj;
25409 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25410 wxString *arg2 = 0 ;
25411 int arg3 = (int) -1 ;
25412 int arg4 = (int) -1 ;
25413 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
25414 wxTreeItemId result;
25415 bool temp2 = False ;
25416 PyObject * obj0 = 0 ;
25417 PyObject * obj1 = 0 ;
25418 PyObject * obj2 = 0 ;
25419 PyObject * obj3 = 0 ;
25420 PyObject * obj4 = 0 ;
25421 char *kwnames[] = {
25422 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25423 };
25424
25425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25427 {
25428 arg2 = wxString_in_helper(obj1);
25429 if (arg2 == NULL) SWIG_fail;
25430 temp2 = True;
25431 }
25432 if (obj2) {
25433 {
25434 arg3 = (int) SWIG_PyObj_AsInt(obj2);
25435 if (PyErr_Occurred()) SWIG_fail;
25436 }
25437 }
25438 if (obj3) {
25439 {
25440 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25441 if (PyErr_Occurred()) SWIG_fail;
25442 }
25443 }
25444 if (obj4) {
25445 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25446 }
25447 {
25448 PyThreadState* __tstate = wxPyBeginAllowThreads();
25449 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
25450
25451 wxPyEndAllowThreads(__tstate);
25452 if (PyErr_Occurred()) SWIG_fail;
25453 }
25454 {
25455 wxTreeItemId * resultptr;
25456 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25457 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25458 }
25459 {
25460 if (temp2)
25461 delete arg2;
25462 }
25463 return resultobj;
25464 fail:
25465 {
25466 if (temp2)
25467 delete arg2;
25468 }
25469 return NULL;
25470}
25471
25472
25473static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25474 PyObject *resultobj;
25475 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25476 wxTreeItemId *arg2 = 0 ;
25477 wxString *arg3 = 0 ;
25478 int arg4 = (int) -1 ;
25479 int arg5 = (int) -1 ;
25480 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25481 wxTreeItemId result;
25482 bool temp3 = False ;
25483 PyObject * obj0 = 0 ;
25484 PyObject * obj1 = 0 ;
25485 PyObject * obj2 = 0 ;
25486 PyObject * obj3 = 0 ;
25487 PyObject * obj4 = 0 ;
25488 PyObject * obj5 = 0 ;
25489 char *kwnames[] = {
25490 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25491 };
25492
25493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25495 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25496 if (arg2 == NULL) {
25497 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25498 }
25499 {
25500 arg3 = wxString_in_helper(obj2);
25501 if (arg3 == NULL) SWIG_fail;
25502 temp3 = True;
25503 }
25504 if (obj3) {
25505 {
25506 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25507 if (PyErr_Occurred()) SWIG_fail;
25508 }
25509 }
25510 if (obj4) {
25511 {
25512 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 }
25515 }
25516 if (obj5) {
25517 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25518 }
25519 {
25520 PyThreadState* __tstate = wxPyBeginAllowThreads();
25521 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25522
25523 wxPyEndAllowThreads(__tstate);
25524 if (PyErr_Occurred()) SWIG_fail;
25525 }
25526 {
25527 wxTreeItemId * resultptr;
25528 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25529 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25530 }
25531 {
25532 if (temp3)
25533 delete arg3;
25534 }
25535 return resultobj;
25536 fail:
25537 {
25538 if (temp3)
25539 delete arg3;
25540 }
25541 return NULL;
25542}
25543
25544
25545static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25546 PyObject *resultobj;
25547 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25548 wxTreeItemId *arg2 = 0 ;
25549 wxTreeItemId *arg3 = 0 ;
25550 wxString *arg4 = 0 ;
25551 int arg5 = (int) -1 ;
25552 int arg6 = (int) -1 ;
25553 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25554 wxTreeItemId result;
25555 bool temp4 = False ;
25556 PyObject * obj0 = 0 ;
25557 PyObject * obj1 = 0 ;
25558 PyObject * obj2 = 0 ;
25559 PyObject * obj3 = 0 ;
25560 PyObject * obj4 = 0 ;
25561 PyObject * obj5 = 0 ;
25562 PyObject * obj6 = 0 ;
25563 char *kwnames[] = {
25564 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25565 };
25566
25567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25570 if (arg2 == NULL) {
25571 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25572 }
25573 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25574 if (arg3 == NULL) {
25575 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25576 }
25577 {
25578 arg4 = wxString_in_helper(obj3);
25579 if (arg4 == NULL) SWIG_fail;
25580 temp4 = True;
25581 }
25582 if (obj4) {
25583 {
25584 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25585 if (PyErr_Occurred()) SWIG_fail;
25586 }
25587 }
25588 if (obj5) {
25589 {
25590 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25591 if (PyErr_Occurred()) SWIG_fail;
25592 }
25593 }
25594 if (obj6) {
25595 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25596 }
25597 {
25598 PyThreadState* __tstate = wxPyBeginAllowThreads();
25599 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25600
25601 wxPyEndAllowThreads(__tstate);
25602 if (PyErr_Occurred()) SWIG_fail;
25603 }
25604 {
25605 wxTreeItemId * resultptr;
25606 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25607 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25608 }
25609 {
25610 if (temp4)
25611 delete arg4;
25612 }
25613 return resultobj;
25614 fail:
25615 {
25616 if (temp4)
25617 delete arg4;
25618 }
25619 return NULL;
25620}
25621
25622
25623static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
25624 PyObject *resultobj;
25625 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25626 wxTreeItemId *arg2 = 0 ;
25627 size_t arg3 ;
25628 wxString *arg4 = 0 ;
25629 int arg5 = (int) -1 ;
25630 int arg6 = (int) -1 ;
25631 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
25632 wxTreeItemId result;
25633 bool temp4 = False ;
25634 PyObject * obj0 = 0 ;
25635 PyObject * obj1 = 0 ;
25636 PyObject * obj2 = 0 ;
25637 PyObject * obj3 = 0 ;
25638 PyObject * obj4 = 0 ;
25639 PyObject * obj5 = 0 ;
25640 PyObject * obj6 = 0 ;
25641 char *kwnames[] = {
25642 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25643 };
25644
25645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
25646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25648 if (arg2 == NULL) {
25649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25650 }
25651 {
25652 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
25655 {
25656 arg4 = wxString_in_helper(obj3);
25657 if (arg4 == NULL) SWIG_fail;
25658 temp4 = True;
25659 }
25660 if (obj4) {
25661 {
25662 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25663 if (PyErr_Occurred()) SWIG_fail;
25664 }
25665 }
25666 if (obj5) {
25667 {
25668 arg6 = (int) SWIG_PyObj_AsInt(obj5);
25669 if (PyErr_Occurred()) SWIG_fail;
25670 }
25671 }
25672 if (obj6) {
25673 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25674 }
25675 {
25676 PyThreadState* __tstate = wxPyBeginAllowThreads();
25677 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
25678
25679 wxPyEndAllowThreads(__tstate);
25680 if (PyErr_Occurred()) SWIG_fail;
25681 }
25682 {
25683 wxTreeItemId * resultptr;
25684 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25685 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25686 }
25687 {
25688 if (temp4)
25689 delete arg4;
25690 }
25691 return resultobj;
25692 fail:
25693 {
25694 if (temp4)
25695 delete arg4;
25696 }
25697 return NULL;
25698}
25699
25700
25701static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25702 PyObject *resultobj;
25703 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25704 wxTreeItemId *arg2 = 0 ;
25705 wxString *arg3 = 0 ;
25706 int arg4 = (int) -1 ;
25707 int arg5 = (int) -1 ;
25708 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
25709 wxTreeItemId result;
25710 bool temp3 = False ;
25711 PyObject * obj0 = 0 ;
25712 PyObject * obj1 = 0 ;
25713 PyObject * obj2 = 0 ;
25714 PyObject * obj3 = 0 ;
25715 PyObject * obj4 = 0 ;
25716 PyObject * obj5 = 0 ;
25717 char *kwnames[] = {
25718 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
25719 };
25720
25721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
25722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25724 if (arg2 == NULL) {
25725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25726 }
25727 {
25728 arg3 = wxString_in_helper(obj2);
25729 if (arg3 == NULL) SWIG_fail;
25730 temp3 = True;
25731 }
25732 if (obj3) {
25733 {
25734 arg4 = (int) SWIG_PyObj_AsInt(obj3);
25735 if (PyErr_Occurred()) SWIG_fail;
25736 }
25737 }
25738 if (obj4) {
25739 {
25740 arg5 = (int) SWIG_PyObj_AsInt(obj4);
25741 if (PyErr_Occurred()) SWIG_fail;
25742 }
25743 }
25744 if (obj5) {
25745 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25746 }
25747 {
25748 PyThreadState* __tstate = wxPyBeginAllowThreads();
25749 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
25750
25751 wxPyEndAllowThreads(__tstate);
25752 if (PyErr_Occurred()) SWIG_fail;
25753 }
25754 {
25755 wxTreeItemId * resultptr;
25756 resultptr = new wxTreeItemId((wxTreeItemId &) result);
25757 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
25758 }
25759 {
25760 if (temp3)
25761 delete arg3;
25762 }
25763 return resultobj;
25764 fail:
25765 {
25766 if (temp3)
25767 delete arg3;
25768 }
25769 return NULL;
25770}
25771
25772
25773static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
25774 PyObject *resultobj;
25775 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25776 wxTreeItemId *arg2 = 0 ;
25777 PyObject * obj0 = 0 ;
25778 PyObject * obj1 = 0 ;
25779 char *kwnames[] = {
25780 (char *) "self",(char *) "item", NULL
25781 };
25782
25783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
25784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25786 if (arg2 == NULL) {
25787 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25788 }
25789 {
25790 PyThreadState* __tstate = wxPyBeginAllowThreads();
25791 (arg1)->Delete((wxTreeItemId const &)*arg2);
25792
25793 wxPyEndAllowThreads(__tstate);
25794 if (PyErr_Occurred()) SWIG_fail;
25795 }
25796 Py_INCREF(Py_None); resultobj = Py_None;
25797 return resultobj;
25798 fail:
25799 return NULL;
25800}
25801
25802
25803static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
25804 PyObject *resultobj;
25805 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25806 wxTreeItemId *arg2 = 0 ;
25807 PyObject * obj0 = 0 ;
25808 PyObject * obj1 = 0 ;
25809 char *kwnames[] = {
25810 (char *) "self",(char *) "item", NULL
25811 };
25812
25813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
25814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25815 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25816 if (arg2 == NULL) {
25817 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25818 }
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 Py_INCREF(Py_None); resultobj = Py_None;
25827 return resultobj;
25828 fail:
25829 return NULL;
25830}
25831
25832
25833static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
25834 PyObject *resultobj;
25835 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25836 PyObject * obj0 = 0 ;
25837 char *kwnames[] = {
25838 (char *) "self", NULL
25839 };
25840
25841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
25842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25843 {
25844 PyThreadState* __tstate = wxPyBeginAllowThreads();
25845 (arg1)->DeleteAllItems();
25846
25847 wxPyEndAllowThreads(__tstate);
25848 if (PyErr_Occurred()) SWIG_fail;
25849 }
25850 Py_INCREF(Py_None); resultobj = Py_None;
25851 return resultobj;
25852 fail:
25853 return NULL;
25854}
25855
25856
25857static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
25858 PyObject *resultobj;
25859 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25860 wxTreeItemId *arg2 = 0 ;
25861 PyObject * obj0 = 0 ;
25862 PyObject * obj1 = 0 ;
25863 char *kwnames[] = {
25864 (char *) "self",(char *) "item", NULL
25865 };
25866
25867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
25868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25870 if (arg2 == NULL) {
25871 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25872 }
25873 {
25874 PyThreadState* __tstate = wxPyBeginAllowThreads();
25875 (arg1)->Expand((wxTreeItemId const &)*arg2);
25876
25877 wxPyEndAllowThreads(__tstate);
25878 if (PyErr_Occurred()) SWIG_fail;
25879 }
25880 Py_INCREF(Py_None); resultobj = Py_None;
25881 return resultobj;
25882 fail:
25883 return NULL;
25884}
25885
25886
25887static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
25888 PyObject *resultobj;
25889 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25890 wxTreeItemId *arg2 = 0 ;
25891 PyObject * obj0 = 0 ;
25892 PyObject * obj1 = 0 ;
25893 char *kwnames[] = {
25894 (char *) "self",(char *) "item", NULL
25895 };
25896
25897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
25898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25899 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25900 if (arg2 == NULL) {
25901 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25902 }
25903 {
25904 PyThreadState* __tstate = wxPyBeginAllowThreads();
25905 (arg1)->Collapse((wxTreeItemId const &)*arg2);
25906
25907 wxPyEndAllowThreads(__tstate);
25908 if (PyErr_Occurred()) SWIG_fail;
25909 }
25910 Py_INCREF(Py_None); resultobj = Py_None;
25911 return resultobj;
25912 fail:
25913 return NULL;
25914}
25915
25916
25917static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
25918 PyObject *resultobj;
25919 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25920 wxTreeItemId *arg2 = 0 ;
25921 PyObject * obj0 = 0 ;
25922 PyObject * obj1 = 0 ;
25923 char *kwnames[] = {
25924 (char *) "self",(char *) "item", NULL
25925 };
25926
25927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
25928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25930 if (arg2 == NULL) {
25931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25932 }
25933 {
25934 PyThreadState* __tstate = wxPyBeginAllowThreads();
25935 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
25936
25937 wxPyEndAllowThreads(__tstate);
25938 if (PyErr_Occurred()) SWIG_fail;
25939 }
25940 Py_INCREF(Py_None); resultobj = Py_None;
25941 return resultobj;
25942 fail:
25943 return NULL;
25944}
25945
25946
25947static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
25948 PyObject *resultobj;
25949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25950 wxTreeItemId *arg2 = 0 ;
25951 PyObject * obj0 = 0 ;
25952 PyObject * obj1 = 0 ;
25953 char *kwnames[] = {
25954 (char *) "self",(char *) "item", NULL
25955 };
25956
25957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
25958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25959 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25960 if (arg2 == NULL) {
25961 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25962 }
25963 {
25964 PyThreadState* __tstate = wxPyBeginAllowThreads();
25965 (arg1)->Toggle((wxTreeItemId const &)*arg2);
25966
25967 wxPyEndAllowThreads(__tstate);
25968 if (PyErr_Occurred()) SWIG_fail;
25969 }
25970 Py_INCREF(Py_None); resultobj = Py_None;
25971 return resultobj;
25972 fail:
25973 return NULL;
25974}
25975
25976
25977static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
25978 PyObject *resultobj;
25979 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
25980 PyObject * obj0 = 0 ;
25981 char *kwnames[] = {
25982 (char *) "self", NULL
25983 };
25984
25985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
25986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25987 {
25988 PyThreadState* __tstate = wxPyBeginAllowThreads();
25989 (arg1)->Unselect();
25990
25991 wxPyEndAllowThreads(__tstate);
25992 if (PyErr_Occurred()) SWIG_fail;
25993 }
25994 Py_INCREF(Py_None); resultobj = Py_None;
25995 return resultobj;
25996 fail:
25997 return NULL;
25998}
25999
26000
26001static PyObject *_wrap_TreeCtrl_UnselectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26002 PyObject *resultobj;
26003 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26004 wxTreeItemId *arg2 = 0 ;
26005 PyObject * obj0 = 0 ;
26006 PyObject * obj1 = 0 ;
26007 char *kwnames[] = {
26008 (char *) "self",(char *) "item", NULL
26009 };
26010
26011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_UnselectItem",kwnames,&obj0,&obj1)) goto fail;
26012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26014 if (arg2 == NULL) {
26015 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26016 }
26017 {
26018 PyThreadState* __tstate = wxPyBeginAllowThreads();
26019 (arg1)->UnselectItem((wxTreeItemId const &)*arg2);
26020
26021 wxPyEndAllowThreads(__tstate);
26022 if (PyErr_Occurred()) SWIG_fail;
26023 }
26024 Py_INCREF(Py_None); resultobj = Py_None;
26025 return resultobj;
26026 fail:
26027 return NULL;
26028}
26029
26030
26031static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
26032 PyObject *resultobj;
26033 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26034 PyObject * obj0 = 0 ;
26035 char *kwnames[] = {
26036 (char *) "self", NULL
26037 };
26038
26039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
26040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26041 {
26042 PyThreadState* __tstate = wxPyBeginAllowThreads();
26043 (arg1)->UnselectAll();
26044
26045 wxPyEndAllowThreads(__tstate);
26046 if (PyErr_Occurred()) SWIG_fail;
26047 }
26048 Py_INCREF(Py_None); resultobj = Py_None;
26049 return resultobj;
26050 fail:
26051 return NULL;
26052}
26053
26054
26055static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26056 PyObject *resultobj;
26057 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26058 wxTreeItemId *arg2 = 0 ;
26059 bool arg3 = (bool) True ;
26060 PyObject * obj0 = 0 ;
26061 PyObject * obj1 = 0 ;
26062 PyObject * obj2 = 0 ;
26063 char *kwnames[] = {
26064 (char *) "self",(char *) "item",(char *) "select", NULL
26065 };
26066
26067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
26068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26069 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26070 if (arg2 == NULL) {
26071 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26072 }
26073 if (obj2) {
26074 {
26075 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
26076 if (PyErr_Occurred()) SWIG_fail;
26077 }
26078 }
26079 {
26080 PyThreadState* __tstate = wxPyBeginAllowThreads();
26081 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3);
26082
26083 wxPyEndAllowThreads(__tstate);
26084 if (PyErr_Occurred()) SWIG_fail;
26085 }
26086 Py_INCREF(Py_None); resultobj = Py_None;
26087 return resultobj;
26088 fail:
26089 return NULL;
26090}
26091
26092
26093static PyObject *_wrap_TreeCtrl_ToggleItemSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
26094 PyObject *resultobj;
26095 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26096 wxTreeItemId *arg2 = 0 ;
26097 PyObject * obj0 = 0 ;
26098 PyObject * obj1 = 0 ;
26099 char *kwnames[] = {
26100 (char *) "self",(char *) "item", NULL
26101 };
26102
26103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames,&obj0,&obj1)) goto fail;
26104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26105 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26106 if (arg2 == NULL) {
26107 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26108 }
26109 {
26110 PyThreadState* __tstate = wxPyBeginAllowThreads();
26111 (arg1)->ToggleItemSelection((wxTreeItemId const &)*arg2);
26112
26113 wxPyEndAllowThreads(__tstate);
26114 if (PyErr_Occurred()) SWIG_fail;
26115 }
26116 Py_INCREF(Py_None); resultobj = Py_None;
26117 return resultobj;
26118 fail:
26119 return NULL;
26120}
26121
26122
26123static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
26124 PyObject *resultobj;
26125 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26126 wxTreeItemId *arg2 = 0 ;
26127 PyObject * obj0 = 0 ;
26128 PyObject * obj1 = 0 ;
26129 char *kwnames[] = {
26130 (char *) "self",(char *) "item", NULL
26131 };
26132
26133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
26134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26136 if (arg2 == NULL) {
26137 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26138 }
26139 {
26140 PyThreadState* __tstate = wxPyBeginAllowThreads();
26141 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
26142
26143 wxPyEndAllowThreads(__tstate);
26144 if (PyErr_Occurred()) SWIG_fail;
26145 }
26146 Py_INCREF(Py_None); resultobj = Py_None;
26147 return resultobj;
26148 fail:
26149 return NULL;
26150}
26151
26152
26153static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
26154 PyObject *resultobj;
26155 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26156 wxTreeItemId *arg2 = 0 ;
26157 PyObject * obj0 = 0 ;
26158 PyObject * obj1 = 0 ;
26159 char *kwnames[] = {
26160 (char *) "self",(char *) "item", NULL
26161 };
26162
26163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
26164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26165 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26166 if (arg2 == NULL) {
26167 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26168 }
26169 {
26170 PyThreadState* __tstate = wxPyBeginAllowThreads();
26171 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
26172
26173 wxPyEndAllowThreads(__tstate);
26174 if (PyErr_Occurred()) SWIG_fail;
26175 }
26176 Py_INCREF(Py_None); resultobj = Py_None;
26177 return resultobj;
26178 fail:
26179 return NULL;
26180}
26181
26182
26183static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26184 PyObject *resultobj;
26185 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26186 wxTreeItemId *arg2 = 0 ;
26187 PyObject * obj0 = 0 ;
26188 PyObject * obj1 = 0 ;
26189 char *kwnames[] = {
26190 (char *) "self",(char *) "item", NULL
26191 };
26192
26193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
26194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26196 if (arg2 == NULL) {
26197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26198 }
26199 {
26200 PyThreadState* __tstate = wxPyBeginAllowThreads();
26201 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
26202
26203 wxPyEndAllowThreads(__tstate);
26204 if (PyErr_Occurred()) SWIG_fail;
26205 }
26206 Py_INCREF(Py_None); resultobj = Py_None;
26207 return resultobj;
26208 fail:
26209 return NULL;
26210}
26211
26212
26213static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
26214 PyObject *resultobj;
26215 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26216 wxTextCtrl *result;
26217 PyObject * obj0 = 0 ;
26218 char *kwnames[] = {
26219 (char *) "self", NULL
26220 };
26221
26222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
26223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26224 {
26225 PyThreadState* __tstate = wxPyBeginAllowThreads();
26226 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
26227
26228 wxPyEndAllowThreads(__tstate);
26229 if (PyErr_Occurred()) SWIG_fail;
26230 }
26231 {
26232 resultobj = wxPyMake_wxObject(result);
26233 }
26234 return resultobj;
26235 fail:
26236 return NULL;
26237}
26238
26239
26240static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26241 PyObject *resultobj;
26242 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26243 wxTreeItemId *arg2 = 0 ;
26244 bool arg3 = (bool) False ;
26245 PyObject * obj0 = 0 ;
26246 PyObject * obj1 = 0 ;
26247 PyObject * obj2 = 0 ;
26248 char *kwnames[] = {
26249 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
26250 };
26251
26252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
26253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26254 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26255 if (arg2 == NULL) {
26256 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26257 }
26258 if (obj2) {
26259 {
26260 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 }
26264 {
26265 PyThreadState* __tstate = wxPyBeginAllowThreads();
26266 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
26267
26268 wxPyEndAllowThreads(__tstate);
26269 if (PyErr_Occurred()) SWIG_fail;
26270 }
26271 Py_INCREF(Py_None); resultobj = Py_None;
26272 return resultobj;
26273 fail:
26274 return NULL;
26275}
26276
26277
26278static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
26279 PyObject *resultobj;
26280 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26281 wxTreeItemId *arg2 = 0 ;
26282 PyObject * obj0 = 0 ;
26283 PyObject * obj1 = 0 ;
26284 char *kwnames[] = {
26285 (char *) "self",(char *) "item", NULL
26286 };
26287
26288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
26289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26290 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26291 if (arg2 == NULL) {
26292 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26293 }
26294 {
26295 PyThreadState* __tstate = wxPyBeginAllowThreads();
26296 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
26297
26298 wxPyEndAllowThreads(__tstate);
26299 if (PyErr_Occurred()) SWIG_fail;
26300 }
26301 Py_INCREF(Py_None); resultobj = Py_None;
26302 return resultobj;
26303 fail:
26304 return NULL;
26305}
26306
26307
26308static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
26309 PyObject *resultobj;
26310 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26311 wxPoint *arg2 = 0 ;
26312 int *arg3 = 0 ;
26313 wxTreeItemId result;
26314 wxPoint temp2 ;
26315 int temp3 ;
26316 PyObject * obj0 = 0 ;
26317 PyObject * obj1 = 0 ;
26318 char *kwnames[] = {
26319 (char *) "self",(char *) "point", NULL
26320 };
26321
26322 arg3 = &temp3;
26323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
26324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26325 {
26326 arg2 = &temp2;
26327 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26328 }
26329 {
26330 PyThreadState* __tstate = wxPyBeginAllowThreads();
26331 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
26332
26333 wxPyEndAllowThreads(__tstate);
26334 if (PyErr_Occurred()) SWIG_fail;
26335 }
26336 {
26337 wxTreeItemId * resultptr;
26338 resultptr = new wxTreeItemId((wxTreeItemId &) result);
26339 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
26340 }
26341 {
26342 PyObject *o = PyInt_FromLong((long) (*arg3));
26343 resultobj = t_output_helper(resultobj,o);
26344 }
26345 return resultobj;
26346 fail:
26347 return NULL;
26348}
26349
26350
26351static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26352 PyObject *resultobj;
26353 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
26354 wxTreeItemId *arg2 = 0 ;
26355 bool arg3 = (bool) False ;
26356 PyObject *result;
26357 PyObject * obj0 = 0 ;
26358 PyObject * obj1 = 0 ;
26359 PyObject * obj2 = 0 ;
26360 char *kwnames[] = {
26361 (char *) "self",(char *) "item",(char *) "textOnly", NULL
26362 };
26363
26364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
26365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26367 if (arg2 == NULL) {
26368 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26369 }
26370 if (obj2) {
26371 {
26372 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
26373 if (PyErr_Occurred()) SWIG_fail;
26374 }
26375 }
26376 {
26377 PyThreadState* __tstate = wxPyBeginAllowThreads();
26378 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
26379
26380 wxPyEndAllowThreads(__tstate);
26381 if (PyErr_Occurred()) SWIG_fail;
26382 }
26383 resultobj = result;
26384 return resultobj;
26385 fail:
26386 return NULL;
26387}
26388
26389
26390static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
26391 PyObject *obj;
26392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26393 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
26394 Py_INCREF(obj);
26395 return Py_BuildValue((char *)"");
26396}
26397static int _wrap_DirDialogDefaultFolderStr_set(PyObject *) {
26398 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
26399 return 1;
26400}
26401
26402
26403static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
26404 PyObject *pyobj;
26405
26406 {
26407#if wxUSE_UNICODE
26408 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26409#else
26410 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
26411#endif
26412 }
26413 return pyobj;
26414}
26415
26416
26417static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26418 PyObject *resultobj;
26419 wxWindow *arg1 = (wxWindow *) 0 ;
26420 int arg2 = (int) (int)-1 ;
26421 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
26422 wxString *arg3 = (wxString *) &arg3_defvalue ;
26423 wxPoint const &arg4_defvalue = wxDefaultPosition ;
26424 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
26425 wxSize const &arg5_defvalue = wxDefaultSize ;
26426 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
26427 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26428 wxString const &arg7_defvalue = wxPyEmptyString ;
26429 wxString *arg7 = (wxString *) &arg7_defvalue ;
26430 int arg8 = (int) 0 ;
26431 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
26432 wxString *arg9 = (wxString *) &arg9_defvalue ;
26433 wxGenericDirCtrl *result;
26434 bool temp3 = False ;
26435 wxPoint temp4 ;
26436 wxSize temp5 ;
26437 bool temp7 = False ;
26438 bool temp9 = False ;
26439 PyObject * obj0 = 0 ;
26440 PyObject * obj1 = 0 ;
26441 PyObject * obj2 = 0 ;
26442 PyObject * obj3 = 0 ;
26443 PyObject * obj4 = 0 ;
26444 PyObject * obj5 = 0 ;
26445 PyObject * obj6 = 0 ;
26446 PyObject * obj7 = 0 ;
26447 PyObject * obj8 = 0 ;
26448 char *kwnames[] = {
26449 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26450 };
26451
26452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8)) goto fail;
26453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26454 if (obj1) {
26455 {
26456 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
26457 if (PyErr_Occurred()) SWIG_fail;
26458 }
26459 }
26460 if (obj2) {
26461 {
26462 arg3 = wxString_in_helper(obj2);
26463 if (arg3 == NULL) SWIG_fail;
26464 temp3 = True;
26465 }
26466 }
26467 if (obj3) {
26468 {
26469 arg4 = &temp4;
26470 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
26471 }
26472 }
26473 if (obj4) {
26474 {
26475 arg5 = &temp5;
26476 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
26477 }
26478 }
26479 if (obj5) {
26480 {
26481 arg6 = (long) SWIG_PyObj_AsLong(obj5);
26482 if (PyErr_Occurred()) SWIG_fail;
26483 }
26484 }
26485 if (obj6) {
26486 {
26487 arg7 = wxString_in_helper(obj6);
26488 if (arg7 == NULL) SWIG_fail;
26489 temp7 = True;
26490 }
26491 }
26492 if (obj7) {
26493 {
26494 arg8 = (int) SWIG_PyObj_AsInt(obj7);
26495 if (PyErr_Occurred()) SWIG_fail;
26496 }
26497 }
26498 if (obj8) {
26499 {
26500 arg9 = wxString_in_helper(obj8);
26501 if (arg9 == NULL) SWIG_fail;
26502 temp9 = True;
26503 }
26504 }
26505 {
26506 PyThreadState* __tstate = wxPyBeginAllowThreads();
26507 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
26508
26509 wxPyEndAllowThreads(__tstate);
26510 if (PyErr_Occurred()) SWIG_fail;
26511 }
26512 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26513 {
26514 if (temp3)
26515 delete arg3;
26516 }
26517 {
26518 if (temp7)
26519 delete arg7;
26520 }
26521 {
26522 if (temp9)
26523 delete arg9;
26524 }
26525 return resultobj;
26526 fail:
26527 {
26528 if (temp3)
26529 delete arg3;
26530 }
26531 {
26532 if (temp7)
26533 delete arg7;
26534 }
26535 {
26536 if (temp9)
26537 delete arg9;
26538 }
26539 return NULL;
26540}
26541
26542
26543static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
26544 PyObject *resultobj;
26545 wxGenericDirCtrl *result;
26546 char *kwnames[] = {
26547 NULL
26548 };
26549
26550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
26551 {
26552 PyThreadState* __tstate = wxPyBeginAllowThreads();
26553 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
26554
26555 wxPyEndAllowThreads(__tstate);
26556 if (PyErr_Occurred()) SWIG_fail;
26557 }
26558 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
26559 return resultobj;
26560 fail:
26561 return NULL;
26562}
26563
26564
26565static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
26566 PyObject *resultobj;
26567 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26568 wxWindow *arg2 = (wxWindow *) 0 ;
26569 int arg3 = (int) (int)-1 ;
26570 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
26571 wxString *arg4 = (wxString *) &arg4_defvalue ;
26572 wxPoint const &arg5_defvalue = wxDefaultPosition ;
26573 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
26574 wxSize const &arg6_defvalue = wxDefaultSize ;
26575 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
26576 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
26577 wxString const &arg8_defvalue = wxPyEmptyString ;
26578 wxString *arg8 = (wxString *) &arg8_defvalue ;
26579 int arg9 = (int) 0 ;
26580 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
26581 wxString *arg10 = (wxString *) &arg10_defvalue ;
26582 bool result;
26583 bool temp4 = False ;
26584 wxPoint temp5 ;
26585 wxSize temp6 ;
26586 bool temp8 = False ;
26587 bool temp10 = False ;
26588 PyObject * obj0 = 0 ;
26589 PyObject * obj1 = 0 ;
26590 PyObject * obj2 = 0 ;
26591 PyObject * obj3 = 0 ;
26592 PyObject * obj4 = 0 ;
26593 PyObject * obj5 = 0 ;
26594 PyObject * obj6 = 0 ;
26595 PyObject * obj7 = 0 ;
26596 PyObject * obj8 = 0 ;
26597 PyObject * obj9 = 0 ;
26598 char *kwnames[] = {
26599 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
26600 };
26601
26602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) goto fail;
26603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26604 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26605 if (obj2) {
26606 {
26607 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
26608 if (PyErr_Occurred()) SWIG_fail;
26609 }
26610 }
26611 if (obj3) {
26612 {
26613 arg4 = wxString_in_helper(obj3);
26614 if (arg4 == NULL) SWIG_fail;
26615 temp4 = True;
26616 }
26617 }
26618 if (obj4) {
26619 {
26620 arg5 = &temp5;
26621 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
26622 }
26623 }
26624 if (obj5) {
26625 {
26626 arg6 = &temp6;
26627 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
26628 }
26629 }
26630 if (obj6) {
26631 {
26632 arg7 = (long) SWIG_PyObj_AsLong(obj6);
26633 if (PyErr_Occurred()) SWIG_fail;
26634 }
26635 }
26636 if (obj7) {
26637 {
26638 arg8 = wxString_in_helper(obj7);
26639 if (arg8 == NULL) SWIG_fail;
26640 temp8 = True;
26641 }
26642 }
26643 if (obj8) {
26644 {
26645 arg9 = (int) SWIG_PyObj_AsInt(obj8);
26646 if (PyErr_Occurred()) SWIG_fail;
26647 }
26648 }
26649 if (obj9) {
26650 {
26651 arg10 = wxString_in_helper(obj9);
26652 if (arg10 == NULL) SWIG_fail;
26653 temp10 = True;
26654 }
26655 }
26656 {
26657 PyThreadState* __tstate = wxPyBeginAllowThreads();
26658 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
26659
26660 wxPyEndAllowThreads(__tstate);
26661 if (PyErr_Occurred()) SWIG_fail;
26662 }
26663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26664 {
26665 if (temp4)
26666 delete arg4;
26667 }
26668 {
26669 if (temp8)
26670 delete arg8;
26671 }
26672 {
26673 if (temp10)
26674 delete arg10;
26675 }
26676 return resultobj;
26677 fail:
26678 {
26679 if (temp4)
26680 delete arg4;
26681 }
26682 {
26683 if (temp8)
26684 delete arg8;
26685 }
26686 {
26687 if (temp10)
26688 delete arg10;
26689 }
26690 return NULL;
26691}
26692
26693
26694static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26695 PyObject *resultobj;
26696 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26697 wxString *arg2 = 0 ;
26698 bool result;
26699 bool temp2 = False ;
26700 PyObject * obj0 = 0 ;
26701 PyObject * obj1 = 0 ;
26702 char *kwnames[] = {
26703 (char *) "self",(char *) "path", NULL
26704 };
26705
26706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
26707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26708 {
26709 arg2 = wxString_in_helper(obj1);
26710 if (arg2 == NULL) SWIG_fail;
26711 temp2 = True;
26712 }
26713 {
26714 PyThreadState* __tstate = wxPyBeginAllowThreads();
26715 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
26716
26717 wxPyEndAllowThreads(__tstate);
26718 if (PyErr_Occurred()) SWIG_fail;
26719 }
26720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26721 {
26722 if (temp2)
26723 delete arg2;
26724 }
26725 return resultobj;
26726 fail:
26727 {
26728 if (temp2)
26729 delete arg2;
26730 }
26731 return NULL;
26732}
26733
26734
26735static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26736 PyObject *resultobj;
26737 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26738 wxString result;
26739 PyObject * obj0 = 0 ;
26740 char *kwnames[] = {
26741 (char *) "self", NULL
26742 };
26743
26744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
26745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26746 {
26747 PyThreadState* __tstate = wxPyBeginAllowThreads();
26748 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
26749
26750 wxPyEndAllowThreads(__tstate);
26751 if (PyErr_Occurred()) SWIG_fail;
26752 }
26753 {
26754#if wxUSE_UNICODE
26755 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26756#else
26757 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26758#endif
26759 }
26760 return resultobj;
26761 fail:
26762 return NULL;
26763}
26764
26765
26766static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26767 PyObject *resultobj;
26768 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26769 wxString *arg2 = 0 ;
26770 bool temp2 = False ;
26771 PyObject * obj0 = 0 ;
26772 PyObject * obj1 = 0 ;
26773 char *kwnames[] = {
26774 (char *) "self",(char *) "path", NULL
26775 };
26776
26777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
26778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26779 {
26780 arg2 = wxString_in_helper(obj1);
26781 if (arg2 == NULL) SWIG_fail;
26782 temp2 = True;
26783 }
26784 {
26785 PyThreadState* __tstate = wxPyBeginAllowThreads();
26786 (arg1)->SetDefaultPath((wxString const &)*arg2);
26787
26788 wxPyEndAllowThreads(__tstate);
26789 if (PyErr_Occurred()) SWIG_fail;
26790 }
26791 Py_INCREF(Py_None); resultobj = Py_None;
26792 {
26793 if (temp2)
26794 delete arg2;
26795 }
26796 return resultobj;
26797 fail:
26798 {
26799 if (temp2)
26800 delete arg2;
26801 }
26802 return NULL;
26803}
26804
26805
26806static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26807 PyObject *resultobj;
26808 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26809 wxString result;
26810 PyObject * obj0 = 0 ;
26811 char *kwnames[] = {
26812 (char *) "self", NULL
26813 };
26814
26815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
26816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26817 {
26818 PyThreadState* __tstate = wxPyBeginAllowThreads();
26819 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
26820
26821 wxPyEndAllowThreads(__tstate);
26822 if (PyErr_Occurred()) SWIG_fail;
26823 }
26824 {
26825#if wxUSE_UNICODE
26826 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26827#else
26828 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26829#endif
26830 }
26831 return resultobj;
26832 fail:
26833 return NULL;
26834}
26835
26836
26837static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
26838 PyObject *resultobj;
26839 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26840 wxString result;
26841 PyObject * obj0 = 0 ;
26842 char *kwnames[] = {
26843 (char *) "self", NULL
26844 };
26845
26846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
26847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26848 {
26849 PyThreadState* __tstate = wxPyBeginAllowThreads();
26850 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
26851
26852 wxPyEndAllowThreads(__tstate);
26853 if (PyErr_Occurred()) SWIG_fail;
26854 }
26855 {
26856#if wxUSE_UNICODE
26857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26858#else
26859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26860#endif
26861 }
26862 return resultobj;
26863 fail:
26864 return NULL;
26865}
26866
26867
26868static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
26869 PyObject *resultobj;
26870 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26871 wxString *arg2 = 0 ;
26872 bool temp2 = False ;
26873 PyObject * obj0 = 0 ;
26874 PyObject * obj1 = 0 ;
26875 char *kwnames[] = {
26876 (char *) "self",(char *) "path", NULL
26877 };
26878
26879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
26880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26881 {
26882 arg2 = wxString_in_helper(obj1);
26883 if (arg2 == NULL) SWIG_fail;
26884 temp2 = True;
26885 }
26886 {
26887 PyThreadState* __tstate = wxPyBeginAllowThreads();
26888 (arg1)->SetPath((wxString const &)*arg2);
26889
26890 wxPyEndAllowThreads(__tstate);
26891 if (PyErr_Occurred()) SWIG_fail;
26892 }
26893 Py_INCREF(Py_None); resultobj = Py_None;
26894 {
26895 if (temp2)
26896 delete arg2;
26897 }
26898 return resultobj;
26899 fail:
26900 {
26901 if (temp2)
26902 delete arg2;
26903 }
26904 return NULL;
26905}
26906
26907
26908static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26909 PyObject *resultobj;
26910 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26911 bool arg2 ;
26912 PyObject * obj0 = 0 ;
26913 PyObject * obj1 = 0 ;
26914 char *kwnames[] = {
26915 (char *) "self",(char *) "show", NULL
26916 };
26917
26918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
26919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26920 {
26921 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
26922 if (PyErr_Occurred()) SWIG_fail;
26923 }
26924 {
26925 PyThreadState* __tstate = wxPyBeginAllowThreads();
26926 (arg1)->ShowHidden(arg2);
26927
26928 wxPyEndAllowThreads(__tstate);
26929 if (PyErr_Occurred()) SWIG_fail;
26930 }
26931 Py_INCREF(Py_None); resultobj = Py_None;
26932 return resultobj;
26933 fail:
26934 return NULL;
26935}
26936
26937
26938static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
26939 PyObject *resultobj;
26940 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26941 bool result;
26942 PyObject * obj0 = 0 ;
26943 char *kwnames[] = {
26944 (char *) "self", NULL
26945 };
26946
26947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
26948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26949 {
26950 PyThreadState* __tstate = wxPyBeginAllowThreads();
26951 result = (bool)(arg1)->GetShowHidden();
26952
26953 wxPyEndAllowThreads(__tstate);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 }
26956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26957 return resultobj;
26958 fail:
26959 return NULL;
26960}
26961
26962
26963static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26964 PyObject *resultobj;
26965 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26966 wxString result;
26967 PyObject * obj0 = 0 ;
26968 char *kwnames[] = {
26969 (char *) "self", NULL
26970 };
26971
26972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
26973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26974 {
26975 PyThreadState* __tstate = wxPyBeginAllowThreads();
26976 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
26977
26978 wxPyEndAllowThreads(__tstate);
26979 if (PyErr_Occurred()) SWIG_fail;
26980 }
26981 {
26982#if wxUSE_UNICODE
26983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26984#else
26985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26986#endif
26987 }
26988 return resultobj;
26989 fail:
26990 return NULL;
26991}
26992
26993
26994static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
26995 PyObject *resultobj;
26996 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
26997 wxString *arg2 = 0 ;
26998 bool temp2 = False ;
26999 PyObject * obj0 = 0 ;
27000 PyObject * obj1 = 0 ;
27001 char *kwnames[] = {
27002 (char *) "self",(char *) "filter", NULL
27003 };
27004
27005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
27006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27007 {
27008 arg2 = wxString_in_helper(obj1);
27009 if (arg2 == NULL) SWIG_fail;
27010 temp2 = True;
27011 }
27012 {
27013 PyThreadState* __tstate = wxPyBeginAllowThreads();
27014 (arg1)->SetFilter((wxString const &)*arg2);
27015
27016 wxPyEndAllowThreads(__tstate);
27017 if (PyErr_Occurred()) SWIG_fail;
27018 }
27019 Py_INCREF(Py_None); resultobj = Py_None;
27020 {
27021 if (temp2)
27022 delete arg2;
27023 }
27024 return resultobj;
27025 fail:
27026 {
27027 if (temp2)
27028 delete arg2;
27029 }
27030 return NULL;
27031}
27032
27033
27034static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27035 PyObject *resultobj;
27036 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27037 int result;
27038 PyObject * obj0 = 0 ;
27039 char *kwnames[] = {
27040 (char *) "self", NULL
27041 };
27042
27043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
27044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27045 {
27046 PyThreadState* __tstate = wxPyBeginAllowThreads();
27047 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
27048
27049 wxPyEndAllowThreads(__tstate);
27050 if (PyErr_Occurred()) SWIG_fail;
27051 }
27052 resultobj = SWIG_PyObj_FromInt((int)result);
27053 return resultobj;
27054 fail:
27055 return NULL;
27056}
27057
27058
27059static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
27060 PyObject *resultobj;
27061 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27062 int arg2 ;
27063 PyObject * obj0 = 0 ;
27064 PyObject * obj1 = 0 ;
27065 char *kwnames[] = {
27066 (char *) "self",(char *) "n", NULL
27067 };
27068
27069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
27070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27071 {
27072 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27073 if (PyErr_Occurred()) SWIG_fail;
27074 }
27075 {
27076 PyThreadState* __tstate = wxPyBeginAllowThreads();
27077 (arg1)->SetFilterIndex(arg2);
27078
27079 wxPyEndAllowThreads(__tstate);
27080 if (PyErr_Occurred()) SWIG_fail;
27081 }
27082 Py_INCREF(Py_None); resultobj = Py_None;
27083 return resultobj;
27084 fail:
27085 return NULL;
27086}
27087
27088
27089static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
27090 PyObject *resultobj;
27091 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27092 wxTreeItemId result;
27093 PyObject * obj0 = 0 ;
27094 char *kwnames[] = {
27095 (char *) "self", NULL
27096 };
27097
27098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
27099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27100 {
27101 PyThreadState* __tstate = wxPyBeginAllowThreads();
27102 result = (arg1)->GetRootId();
27103
27104 wxPyEndAllowThreads(__tstate);
27105 if (PyErr_Occurred()) SWIG_fail;
27106 }
27107 {
27108 wxTreeItemId * resultptr;
27109 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27110 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
27111 }
27112 return resultobj;
27113 fail:
27114 return NULL;
27115}
27116
27117
27118static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27119 PyObject *resultobj;
27120 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27121 wxPyTreeCtrl *result;
27122 PyObject * obj0 = 0 ;
27123 char *kwnames[] = {
27124 (char *) "self", NULL
27125 };
27126
27127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
27128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27129 {
27130 PyThreadState* __tstate = wxPyBeginAllowThreads();
27131 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
27132
27133 wxPyEndAllowThreads(__tstate);
27134 if (PyErr_Occurred()) SWIG_fail;
27135 }
27136 {
27137 resultobj = wxPyMake_wxObject(result);
27138 }
27139 return resultobj;
27140 fail:
27141 return NULL;
27142}
27143
27144
27145static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27146 PyObject *resultobj;
27147 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27148 wxDirFilterListCtrl *result;
27149 PyObject * obj0 = 0 ;
27150 char *kwnames[] = {
27151 (char *) "self", NULL
27152 };
27153
27154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
27155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27156 {
27157 PyThreadState* __tstate = wxPyBeginAllowThreads();
27158 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
27159
27160 wxPyEndAllowThreads(__tstate);
27161 if (PyErr_Occurred()) SWIG_fail;
27162 }
27163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
27164 return resultobj;
27165 fail:
27166 return NULL;
27167}
27168
27169
27170static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
27171 PyObject *resultobj;
27172 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27173 wxTreeItemId arg2 ;
27174 wxString *arg3 = 0 ;
27175 bool *arg4 = 0 ;
27176 wxTreeItemId result;
27177 wxTreeItemId *argp2 ;
27178 bool temp3 = False ;
27179 bool temp4 ;
27180 PyObject * obj0 = 0 ;
27181 PyObject * obj1 = 0 ;
27182 PyObject * obj2 = 0 ;
27183 char *kwnames[] = {
27184 (char *) "self",(char *) "parentId",(char *) "path", NULL
27185 };
27186
27187 arg4 = &temp4;
27188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
27189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27190 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
27191 arg2 = *argp2;
27192 {
27193 arg3 = wxString_in_helper(obj2);
27194 if (arg3 == NULL) SWIG_fail;
27195 temp3 = True;
27196 }
27197 {
27198 PyThreadState* __tstate = wxPyBeginAllowThreads();
27199 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
27200
27201 wxPyEndAllowThreads(__tstate);
27202 if (PyErr_Occurred()) SWIG_fail;
27203 }
27204 {
27205 wxTreeItemId * resultptr;
27206 resultptr = new wxTreeItemId((wxTreeItemId &) result);
27207 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
27208 }
27209 {
27210 PyObject *o = PyInt_FromLong((long) (*arg4));
27211 resultobj = t_output_helper(resultobj,o);
27212 }
27213 {
27214 if (temp3)
27215 delete arg3;
27216 }
27217 return resultobj;
27218 fail:
27219 {
27220 if (temp3)
27221 delete arg3;
27222 }
27223 return NULL;
27224}
27225
27226
27227static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
27228 PyObject *resultobj;
27229 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27230 PyObject * obj0 = 0 ;
27231 char *kwnames[] = {
27232 (char *) "self", NULL
27233 };
27234
27235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
27236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27237 {
27238 PyThreadState* __tstate = wxPyBeginAllowThreads();
27239 (arg1)->DoResize();
27240
27241 wxPyEndAllowThreads(__tstate);
27242 if (PyErr_Occurred()) SWIG_fail;
27243 }
27244 Py_INCREF(Py_None); resultobj = Py_None;
27245 return resultobj;
27246 fail:
27247 return NULL;
27248}
27249
27250
27251static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
27252 PyObject *resultobj;
27253 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27254 PyObject * obj0 = 0 ;
27255 char *kwnames[] = {
27256 (char *) "self", NULL
27257 };
27258
27259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
27260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27261 {
27262 PyThreadState* __tstate = wxPyBeginAllowThreads();
27263 (arg1)->ReCreateTree();
27264
27265 wxPyEndAllowThreads(__tstate);
27266 if (PyErr_Occurred()) SWIG_fail;
27267 }
27268 Py_INCREF(Py_None); resultobj = Py_None;
27269 return resultobj;
27270 fail:
27271 return NULL;
27272}
27273
27274
27275static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
27276 PyObject *obj;
27277 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27278 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
27279 Py_INCREF(obj);
27280 return Py_BuildValue((char *)"");
27281}
27282static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27283 PyObject *resultobj;
27284 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
27285 int arg2 = (int) (int)-1 ;
27286 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27287 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27288 wxSize const &arg4_defvalue = wxDefaultSize ;
27289 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27290 long arg5 = (long) 0 ;
27291 wxDirFilterListCtrl *result;
27292 wxPoint temp3 ;
27293 wxSize temp4 ;
27294 PyObject * obj0 = 0 ;
27295 PyObject * obj1 = 0 ;
27296 PyObject * obj2 = 0 ;
27297 PyObject * obj3 = 0 ;
27298 PyObject * obj4 = 0 ;
27299 char *kwnames[] = {
27300 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27301 };
27302
27303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27305 if (obj1) {
27306 {
27307 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
27308 if (PyErr_Occurred()) SWIG_fail;
27309 }
27310 }
27311 if (obj2) {
27312 {
27313 arg3 = &temp3;
27314 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27315 }
27316 }
27317 if (obj3) {
27318 {
27319 arg4 = &temp4;
27320 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27321 }
27322 }
27323 if (obj4) {
27324 {
27325 arg5 = (long) SWIG_PyObj_AsLong(obj4);
27326 if (PyErr_Occurred()) SWIG_fail;
27327 }
27328 }
27329 {
27330 PyThreadState* __tstate = wxPyBeginAllowThreads();
27331 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
27332
27333 wxPyEndAllowThreads(__tstate);
27334 if (PyErr_Occurred()) SWIG_fail;
27335 }
27336 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
27337 return resultobj;
27338 fail:
27339 return NULL;
27340}
27341
27342
27343static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
27344 PyObject *resultobj;
27345 wxDirFilterListCtrl *result;
27346 char *kwnames[] = {
27347 NULL
27348 };
27349
27350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
27351 {
27352 PyThreadState* __tstate = wxPyBeginAllowThreads();
27353 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
27354
27355 wxPyEndAllowThreads(__tstate);
27356 if (PyErr_Occurred()) SWIG_fail;
27357 }
27358 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
27359 return resultobj;
27360 fail:
27361 return NULL;
27362}
27363
27364
27365static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
27366 PyObject *resultobj;
27367 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27368 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
27369 int arg3 = (int) (int)-1 ;
27370 wxPoint const &arg4_defvalue = wxDefaultPosition ;
27371 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
27372 wxSize const &arg5_defvalue = wxDefaultSize ;
27373 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
27374 long arg6 = (long) 0 ;
27375 bool result;
27376 wxPoint temp4 ;
27377 wxSize temp5 ;
27378 PyObject * obj0 = 0 ;
27379 PyObject * obj1 = 0 ;
27380 PyObject * obj2 = 0 ;
27381 PyObject * obj3 = 0 ;
27382 PyObject * obj4 = 0 ;
27383 PyObject * obj5 = 0 ;
27384 char *kwnames[] = {
27385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
27386 };
27387
27388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27391 if (obj2) {
27392 {
27393 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 }
27396 }
27397 if (obj3) {
27398 {
27399 arg4 = &temp4;
27400 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
27401 }
27402 }
27403 if (obj4) {
27404 {
27405 arg5 = &temp5;
27406 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
27407 }
27408 }
27409 if (obj5) {
27410 {
27411 arg6 = (long) SWIG_PyObj_AsLong(obj5);
27412 if (PyErr_Occurred()) SWIG_fail;
27413 }
27414 }
27415 {
27416 PyThreadState* __tstate = wxPyBeginAllowThreads();
27417 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
27418
27419 wxPyEndAllowThreads(__tstate);
27420 if (PyErr_Occurred()) SWIG_fail;
27421 }
27422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27423 return resultobj;
27424 fail:
27425 return NULL;
27426}
27427
27428
27429static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
27430 PyObject *resultobj;
27431 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
27432 wxString *arg2 = 0 ;
27433 int arg3 ;
27434 bool temp2 = False ;
27435 PyObject * obj0 = 0 ;
27436 PyObject * obj1 = 0 ;
27437 PyObject * obj2 = 0 ;
27438 char *kwnames[] = {
27439 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
27440 };
27441
27442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&obj2)) goto fail;
27443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27444 {
27445 arg2 = wxString_in_helper(obj1);
27446 if (arg2 == NULL) SWIG_fail;
27447 temp2 = True;
27448 }
27449 {
27450 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27451 if (PyErr_Occurred()) SWIG_fail;
27452 }
27453 {
27454 PyThreadState* __tstate = wxPyBeginAllowThreads();
27455 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
27456
27457 wxPyEndAllowThreads(__tstate);
27458 if (PyErr_Occurred()) SWIG_fail;
27459 }
27460 Py_INCREF(Py_None); resultobj = Py_None;
27461 {
27462 if (temp2)
27463 delete arg2;
27464 }
27465 return resultobj;
27466 fail:
27467 {
27468 if (temp2)
27469 delete arg2;
27470 }
27471 return NULL;
27472}
27473
27474
27475static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
27476 PyObject *obj;
27477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27478 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
27479 Py_INCREF(obj);
27480 return Py_BuildValue((char *)"");
27481}
27482static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
27483 PyObject *resultobj;
27484 wxWindow *arg1 = (wxWindow *) 0 ;
27485 int arg2 ;
27486 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27487 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
27488 wxSize const &arg4_defvalue = wxDefaultSize ;
27489 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
27490 long arg5 = (long) 0 ;
27491 wxValidator const &arg6_defvalue = wxDefaultValidator ;
27492 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
27493 wxString const &arg7_defvalue = wxPyControlNameStr ;
27494 wxString *arg7 = (wxString *) &arg7_defvalue ;
27495 wxPyControl *result;
27496 wxPoint temp3 ;
27497 wxSize temp4 ;
27498 bool temp7 = False ;
27499 PyObject * obj0 = 0 ;
27500 PyObject * obj1 = 0 ;
27501 PyObject * obj2 = 0 ;
27502 PyObject * obj3 = 0 ;
27503 PyObject * obj4 = 0 ;
27504 PyObject * obj5 = 0 ;
27505 PyObject * obj6 = 0 ;
27506 char *kwnames[] = {
27507 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
27508 };
27509
27510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_PyControl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
27511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27512 {
27513 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
27514 if (PyErr_Occurred()) SWIG_fail;
27515 }
27516 if (obj2) {
27517 {
27518 arg3 = &temp3;
27519 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27520 }
27521 }
27522 if (obj3) {
27523 {
27524 arg4 = &temp4;
27525 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
27526 }
27527 }
27528 if (obj4) {
27529 {
27530 arg5 = (long) SWIG_PyObj_AsLong(obj4);
27531 if (PyErr_Occurred()) SWIG_fail;
27532 }
27533 }
27534 if (obj5) {
27535 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27536 if (arg6 == NULL) {
27537 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
27538 }
27539 }
27540 if (obj6) {
27541 {
27542 arg7 = wxString_in_helper(obj6);
27543 if (arg7 == NULL) SWIG_fail;
27544 temp7 = True;
27545 }
27546 }
27547 {
27548 PyThreadState* __tstate = wxPyBeginAllowThreads();
27549 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
27550
27551 wxPyEndAllowThreads(__tstate);
27552 if (PyErr_Occurred()) SWIG_fail;
27553 }
27554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
27555 {
27556 if (temp7)
27557 delete arg7;
27558 }
27559 return resultobj;
27560 fail:
27561 {
27562 if (temp7)
27563 delete arg7;
27564 }
27565 return NULL;
27566}
27567
27568
27569static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27570 PyObject *resultobj;
27571 wxPyControl *arg1 = (wxPyControl *) 0 ;
27572 PyObject *arg2 = (PyObject *) 0 ;
27573 PyObject *arg3 = (PyObject *) 0 ;
27574 PyObject * obj0 = 0 ;
27575 PyObject * obj1 = 0 ;
27576 PyObject * obj2 = 0 ;
27577 char *kwnames[] = {
27578 (char *) "self",(char *) "self",(char *) "_class", NULL
27579 };
27580
27581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
27582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27583 arg2 = obj1;
27584 arg3 = obj2;
27585 {
27586 PyThreadState* __tstate = wxPyBeginAllowThreads();
27587 (arg1)->_setCallbackInfo(arg2,arg3);
27588
27589 wxPyEndAllowThreads(__tstate);
27590 if (PyErr_Occurred()) SWIG_fail;
27591 }
27592 Py_INCREF(Py_None); resultobj = Py_None;
27593 return resultobj;
27594 fail:
27595 return NULL;
27596}
27597
27598
27599static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27600 PyObject *resultobj;
27601 wxPyControl *arg1 = (wxPyControl *) 0 ;
27602 int arg2 ;
27603 int arg3 ;
27604 int arg4 ;
27605 int arg5 ;
27606 PyObject * obj0 = 0 ;
27607 PyObject * obj1 = 0 ;
27608 PyObject * obj2 = 0 ;
27609 PyObject * obj3 = 0 ;
27610 PyObject * obj4 = 0 ;
27611 char *kwnames[] = {
27612 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
27613 };
27614
27615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
27616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27617 {
27618 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27619 if (PyErr_Occurred()) SWIG_fail;
27620 }
27621 {
27622 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27623 if (PyErr_Occurred()) SWIG_fail;
27624 }
27625 {
27626 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27627 if (PyErr_Occurred()) SWIG_fail;
27628 }
27629 {
27630 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27631 if (PyErr_Occurred()) SWIG_fail;
27632 }
27633 {
27634 PyThreadState* __tstate = wxPyBeginAllowThreads();
27635 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
27636
27637 wxPyEndAllowThreads(__tstate);
27638 if (PyErr_Occurred()) SWIG_fail;
27639 }
27640 Py_INCREF(Py_None); resultobj = Py_None;
27641 return resultobj;
27642 fail:
27643 return NULL;
27644}
27645
27646
27647static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27648 PyObject *resultobj;
27649 wxPyControl *arg1 = (wxPyControl *) 0 ;
27650 int arg2 ;
27651 int arg3 ;
27652 int arg4 ;
27653 int arg5 ;
27654 int arg6 = (int) wxSIZE_AUTO ;
27655 PyObject * obj0 = 0 ;
27656 PyObject * obj1 = 0 ;
27657 PyObject * obj2 = 0 ;
27658 PyObject * obj3 = 0 ;
27659 PyObject * obj4 = 0 ;
27660 PyObject * obj5 = 0 ;
27661 char *kwnames[] = {
27662 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
27663 };
27664
27665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
27666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27667 {
27668 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27669 if (PyErr_Occurred()) SWIG_fail;
27670 }
27671 {
27672 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27673 if (PyErr_Occurred()) SWIG_fail;
27674 }
27675 {
27676 arg4 = (int) SWIG_PyObj_AsInt(obj3);
27677 if (PyErr_Occurred()) SWIG_fail;
27678 }
27679 {
27680 arg5 = (int) SWIG_PyObj_AsInt(obj4);
27681 if (PyErr_Occurred()) SWIG_fail;
27682 }
27683 if (obj5) {
27684 {
27685 arg6 = (int) SWIG_PyObj_AsInt(obj5);
27686 if (PyErr_Occurred()) SWIG_fail;
27687 }
27688 }
27689 {
27690 PyThreadState* __tstate = wxPyBeginAllowThreads();
27691 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
27692
27693 wxPyEndAllowThreads(__tstate);
27694 if (PyErr_Occurred()) SWIG_fail;
27695 }
27696 Py_INCREF(Py_None); resultobj = Py_None;
27697 return resultobj;
27698 fail:
27699 return NULL;
27700}
27701
27702
27703static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27704 PyObject *resultobj;
27705 wxPyControl *arg1 = (wxPyControl *) 0 ;
27706 int arg2 ;
27707 int arg3 ;
27708 PyObject * obj0 = 0 ;
27709 PyObject * obj1 = 0 ;
27710 PyObject * obj2 = 0 ;
27711 char *kwnames[] = {
27712 (char *) "self",(char *) "width",(char *) "height", NULL
27713 };
27714
27715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27717 {
27718 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27719 if (PyErr_Occurred()) SWIG_fail;
27720 }
27721 {
27722 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27723 if (PyErr_Occurred()) SWIG_fail;
27724 }
27725 {
27726 PyThreadState* __tstate = wxPyBeginAllowThreads();
27727 (arg1)->base_DoSetClientSize(arg2,arg3);
27728
27729 wxPyEndAllowThreads(__tstate);
27730 if (PyErr_Occurred()) SWIG_fail;
27731 }
27732 Py_INCREF(Py_None); resultobj = Py_None;
27733 return resultobj;
27734 fail:
27735 return NULL;
27736}
27737
27738
27739static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27740 PyObject *resultobj;
27741 wxPyControl *arg1 = (wxPyControl *) 0 ;
27742 int arg2 ;
27743 int arg3 ;
27744 PyObject * obj0 = 0 ;
27745 PyObject * obj1 = 0 ;
27746 PyObject * obj2 = 0 ;
27747 char *kwnames[] = {
27748 (char *) "self",(char *) "x",(char *) "y", NULL
27749 };
27750
27751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
27752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27753 {
27754 arg2 = (int) SWIG_PyObj_AsInt(obj1);
27755 if (PyErr_Occurred()) SWIG_fail;
27756 }
27757 {
27758 arg3 = (int) SWIG_PyObj_AsInt(obj2);
27759 if (PyErr_Occurred()) SWIG_fail;
27760 }
27761 {
27762 PyThreadState* __tstate = wxPyBeginAllowThreads();
27763 (arg1)->base_DoSetVirtualSize(arg2,arg3);
27764
27765 wxPyEndAllowThreads(__tstate);
27766 if (PyErr_Occurred()) SWIG_fail;
27767 }
27768 Py_INCREF(Py_None); resultobj = Py_None;
27769 return resultobj;
27770 fail:
27771 return NULL;
27772}
27773
27774
27775static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27776 PyObject *resultobj;
27777 wxPyControl *arg1 = (wxPyControl *) 0 ;
27778 int *arg2 = (int *) 0 ;
27779 int *arg3 = (int *) 0 ;
27780 int temp2 ;
27781 int temp3 ;
27782 PyObject * obj0 = 0 ;
27783 char *kwnames[] = {
27784 (char *) "self", NULL
27785 };
27786
27787 arg2 = &temp2;
27788 arg3 = &temp3;
27789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
27790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27791 {
27792 PyThreadState* __tstate = wxPyBeginAllowThreads();
27793 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
27794
27795 wxPyEndAllowThreads(__tstate);
27796 if (PyErr_Occurred()) SWIG_fail;
27797 }
27798 Py_INCREF(Py_None); resultobj = Py_None;
27799 {
27800 PyObject *o = PyInt_FromLong((long) (*arg2));
27801 resultobj = t_output_helper(resultobj,o);
27802 }
27803 {
27804 PyObject *o = PyInt_FromLong((long) (*arg3));
27805 resultobj = t_output_helper(resultobj,o);
27806 }
27807 return resultobj;
27808 fail:
27809 return NULL;
27810}
27811
27812
27813static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27814 PyObject *resultobj;
27815 wxPyControl *arg1 = (wxPyControl *) 0 ;
27816 int *arg2 = (int *) 0 ;
27817 int *arg3 = (int *) 0 ;
27818 int temp2 ;
27819 int temp3 ;
27820 PyObject * obj0 = 0 ;
27821 char *kwnames[] = {
27822 (char *) "self", NULL
27823 };
27824
27825 arg2 = &temp2;
27826 arg3 = &temp3;
27827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
27828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27829 {
27830 PyThreadState* __tstate = wxPyBeginAllowThreads();
27831 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
27832
27833 wxPyEndAllowThreads(__tstate);
27834 if (PyErr_Occurred()) SWIG_fail;
27835 }
27836 Py_INCREF(Py_None); resultobj = Py_None;
27837 {
27838 PyObject *o = PyInt_FromLong((long) (*arg2));
27839 resultobj = t_output_helper(resultobj,o);
27840 }
27841 {
27842 PyObject *o = PyInt_FromLong((long) (*arg3));
27843 resultobj = t_output_helper(resultobj,o);
27844 }
27845 return resultobj;
27846 fail:
27847 return NULL;
27848}
27849
27850
27851static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
27852 PyObject *resultobj;
27853 wxPyControl *arg1 = (wxPyControl *) 0 ;
27854 int *arg2 = (int *) 0 ;
27855 int *arg3 = (int *) 0 ;
27856 int temp2 ;
27857 int temp3 ;
27858 PyObject * obj0 = 0 ;
27859 char *kwnames[] = {
27860 (char *) "self", NULL
27861 };
27862
27863 arg2 = &temp2;
27864 arg3 = &temp3;
27865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
27866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27867 {
27868 PyThreadState* __tstate = wxPyBeginAllowThreads();
27869 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
27870
27871 wxPyEndAllowThreads(__tstate);
27872 if (PyErr_Occurred()) SWIG_fail;
27873 }
27874 Py_INCREF(Py_None); resultobj = Py_None;
27875 {
27876 PyObject *o = PyInt_FromLong((long) (*arg2));
27877 resultobj = t_output_helper(resultobj,o);
27878 }
27879 {
27880 PyObject *o = PyInt_FromLong((long) (*arg3));
27881 resultobj = t_output_helper(resultobj,o);
27882 }
27883 return resultobj;
27884 fail:
27885 return NULL;
27886}
27887
27888
27889static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27890 PyObject *resultobj;
27891 wxPyControl *arg1 = (wxPyControl *) 0 ;
27892 wxSize result;
27893 PyObject * obj0 = 0 ;
27894 char *kwnames[] = {
27895 (char *) "self", NULL
27896 };
27897
27898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
27899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27900 {
27901 PyThreadState* __tstate = wxPyBeginAllowThreads();
27902 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
27903
27904 wxPyEndAllowThreads(__tstate);
27905 if (PyErr_Occurred()) SWIG_fail;
27906 }
27907 {
27908 wxSize * resultptr;
27909 resultptr = new wxSize((wxSize &) result);
27910 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27911 }
27912 return resultobj;
27913 fail:
27914 return NULL;
27915}
27916
27917
27918static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
27919 PyObject *resultobj;
27920 wxPyControl *arg1 = (wxPyControl *) 0 ;
27921 wxSize result;
27922 PyObject * obj0 = 0 ;
27923 char *kwnames[] = {
27924 (char *) "self", NULL
27925 };
27926
27927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
27928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27929 {
27930 PyThreadState* __tstate = wxPyBeginAllowThreads();
27931 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
27932
27933 wxPyEndAllowThreads(__tstate);
27934 if (PyErr_Occurred()) SWIG_fail;
27935 }
27936 {
27937 wxSize * resultptr;
27938 resultptr = new wxSize((wxSize &) result);
27939 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
27940 }
27941 return resultobj;
27942 fail:
27943 return NULL;
27944}
27945
27946
27947static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
27948 PyObject *resultobj;
27949 wxPyControl *arg1 = (wxPyControl *) 0 ;
27950 PyObject * obj0 = 0 ;
27951 char *kwnames[] = {
27952 (char *) "self", NULL
27953 };
27954
27955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
27956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27957 {
27958 PyThreadState* __tstate = wxPyBeginAllowThreads();
27959 (arg1)->base_InitDialog();
27960
27961 wxPyEndAllowThreads(__tstate);
27962 if (PyErr_Occurred()) SWIG_fail;
27963 }
27964 Py_INCREF(Py_None); resultobj = Py_None;
27965 return resultobj;
27966 fail:
27967 return NULL;
27968}
27969
27970
27971static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27972 PyObject *resultobj;
27973 wxPyControl *arg1 = (wxPyControl *) 0 ;
27974 bool result;
27975 PyObject * obj0 = 0 ;
27976 char *kwnames[] = {
27977 (char *) "self", NULL
27978 };
27979
27980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
27981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
27982 {
27983 PyThreadState* __tstate = wxPyBeginAllowThreads();
27984 result = (bool)(arg1)->base_TransferDataToWindow();
27985
27986 wxPyEndAllowThreads(__tstate);
27987 if (PyErr_Occurred()) SWIG_fail;
27988 }
27989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27990 return resultobj;
27991 fail:
27992 return NULL;
27993}
27994
27995
27996static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27997 PyObject *resultobj;
27998 wxPyControl *arg1 = (wxPyControl *) 0 ;
27999 bool result;
28000 PyObject * obj0 = 0 ;
28001 char *kwnames[] = {
28002 (char *) "self", NULL
28003 };
28004
28005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
28006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28007 {
28008 PyThreadState* __tstate = wxPyBeginAllowThreads();
28009 result = (bool)(arg1)->base_TransferDataFromWindow();
28010
28011 wxPyEndAllowThreads(__tstate);
28012 if (PyErr_Occurred()) SWIG_fail;
28013 }
28014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28015 return resultobj;
28016 fail:
28017 return NULL;
28018}
28019
28020
28021static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
28022 PyObject *resultobj;
28023 wxPyControl *arg1 = (wxPyControl *) 0 ;
28024 bool result;
28025 PyObject * obj0 = 0 ;
28026 char *kwnames[] = {
28027 (char *) "self", NULL
28028 };
28029
28030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
28031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28032 {
28033 PyThreadState* __tstate = wxPyBeginAllowThreads();
28034 result = (bool)(arg1)->base_Validate();
28035
28036 wxPyEndAllowThreads(__tstate);
28037 if (PyErr_Occurred()) SWIG_fail;
28038 }
28039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28040 return resultobj;
28041 fail:
28042 return NULL;
28043}
28044
28045
28046static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
28047 PyObject *resultobj;
28048 wxPyControl *arg1 = (wxPyControl *) 0 ;
28049 bool result;
28050 PyObject * obj0 = 0 ;
28051 char *kwnames[] = {
28052 (char *) "self", NULL
28053 };
28054
28055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
28056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28057 {
28058 PyThreadState* __tstate = wxPyBeginAllowThreads();
28059 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
28060
28061 wxPyEndAllowThreads(__tstate);
28062 if (PyErr_Occurred()) SWIG_fail;
28063 }
28064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28065 return resultobj;
28066 fail:
28067 return NULL;
28068}
28069
28070
28071static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
28072 PyObject *resultobj;
28073 wxPyControl *arg1 = (wxPyControl *) 0 ;
28074 bool result;
28075 PyObject * obj0 = 0 ;
28076 char *kwnames[] = {
28077 (char *) "self", NULL
28078 };
28079
28080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
28081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28082 {
28083 PyThreadState* __tstate = wxPyBeginAllowThreads();
28084 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
28085
28086 wxPyEndAllowThreads(__tstate);
28087 if (PyErr_Occurred()) SWIG_fail;
28088 }
28089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28090 return resultobj;
28091 fail:
28092 return NULL;
28093}
28094
28095
28096static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
28097 PyObject *resultobj;
28098 wxPyControl *arg1 = (wxPyControl *) 0 ;
28099 wxSize result;
28100 PyObject * obj0 = 0 ;
28101 char *kwnames[] = {
28102 (char *) "self", NULL
28103 };
28104
28105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
28106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28107 {
28108 PyThreadState* __tstate = wxPyBeginAllowThreads();
28109 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
28110
28111 wxPyEndAllowThreads(__tstate);
28112 if (PyErr_Occurred()) SWIG_fail;
28113 }
28114 {
28115 wxSize * resultptr;
28116 resultptr = new wxSize((wxSize &) result);
28117 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
28118 }
28119 return resultobj;
28120 fail:
28121 return NULL;
28122}
28123
28124
28125static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28126 PyObject *resultobj;
28127 wxPyControl *arg1 = (wxPyControl *) 0 ;
28128 wxWindow *arg2 = (wxWindow *) 0 ;
28129 PyObject * obj0 = 0 ;
28130 PyObject * obj1 = 0 ;
28131 char *kwnames[] = {
28132 (char *) "self",(char *) "child", NULL
28133 };
28134
28135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
28136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28138 {
28139 PyThreadState* __tstate = wxPyBeginAllowThreads();
28140 (arg1)->base_AddChild(arg2);
28141
28142 wxPyEndAllowThreads(__tstate);
28143 if (PyErr_Occurred()) SWIG_fail;
28144 }
28145 Py_INCREF(Py_None); resultobj = Py_None;
28146 return resultobj;
28147 fail:
28148 return NULL;
28149}
28150
28151
28152static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
28153 PyObject *resultobj;
28154 wxPyControl *arg1 = (wxPyControl *) 0 ;
28155 wxWindow *arg2 = (wxWindow *) 0 ;
28156 PyObject * obj0 = 0 ;
28157 PyObject * obj1 = 0 ;
28158 char *kwnames[] = {
28159 (char *) "self",(char *) "child", NULL
28160 };
28161
28162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
28163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28164 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28165 {
28166 PyThreadState* __tstate = wxPyBeginAllowThreads();
28167 (arg1)->base_RemoveChild(arg2);
28168
28169 wxPyEndAllowThreads(__tstate);
28170 if (PyErr_Occurred()) SWIG_fail;
28171 }
28172 Py_INCREF(Py_None); resultobj = Py_None;
28173 return resultobj;
28174 fail:
28175 return NULL;
28176}
28177
28178
28179static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
28180 PyObject *obj;
28181 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28182 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
28183 Py_INCREF(obj);
28184 return Py_BuildValue((char *)"");
28185}
28186static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
28187 PyObject *resultobj;
28188 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
28189 int arg2 = (int) 0 ;
28190 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28191 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28192 wxHelpEvent *result;
28193 wxPoint temp3 ;
28194 PyObject * obj0 = 0 ;
28195 PyObject * obj1 = 0 ;
28196 PyObject * obj2 = 0 ;
28197 char *kwnames[] = {
28198 (char *) "type",(char *) "winid",(char *) "pt", NULL
28199 };
28200
28201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_HelpEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
28202 if (obj0) {
28203 {
28204 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
28205 if (PyErr_Occurred()) SWIG_fail;
28206 }
28207 }
28208 if (obj1) {
28209 {
28210 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28211 if (PyErr_Occurred()) SWIG_fail;
28212 }
28213 }
28214 if (obj2) {
28215 {
28216 arg3 = &temp3;
28217 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28218 }
28219 }
28220 {
28221 PyThreadState* __tstate = wxPyBeginAllowThreads();
28222 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
28223
28224 wxPyEndAllowThreads(__tstate);
28225 if (PyErr_Occurred()) SWIG_fail;
28226 }
28227 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
28228 return resultobj;
28229 fail:
28230 return NULL;
28231}
28232
28233
28234static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28235 PyObject *resultobj;
28236 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28237 wxPoint *result;
28238 PyObject * obj0 = 0 ;
28239 char *kwnames[] = {
28240 (char *) "self", NULL
28241 };
28242
28243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
28244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28245 {
28246 PyThreadState* __tstate = wxPyBeginAllowThreads();
28247 {
28248 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
28249 result = (wxPoint *) &_result_ref;
28250 }
28251
28252 wxPyEndAllowThreads(__tstate);
28253 if (PyErr_Occurred()) SWIG_fail;
28254 }
28255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
28256 return resultobj;
28257 fail:
28258 return NULL;
28259}
28260
28261
28262static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28263 PyObject *resultobj;
28264 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28265 wxPoint *arg2 = 0 ;
28266 wxPoint temp2 ;
28267 PyObject * obj0 = 0 ;
28268 PyObject * obj1 = 0 ;
28269 char *kwnames[] = {
28270 (char *) "self",(char *) "pos", NULL
28271 };
28272
28273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
28274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28275 {
28276 arg2 = &temp2;
28277 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
28278 }
28279 {
28280 PyThreadState* __tstate = wxPyBeginAllowThreads();
28281 (arg1)->SetPosition((wxPoint const &)*arg2);
28282
28283 wxPyEndAllowThreads(__tstate);
28284 if (PyErr_Occurred()) SWIG_fail;
28285 }
28286 Py_INCREF(Py_None); resultobj = Py_None;
28287 return resultobj;
28288 fail:
28289 return NULL;
28290}
28291
28292
28293static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28294 PyObject *resultobj;
28295 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28296 wxString *result;
28297 PyObject * obj0 = 0 ;
28298 char *kwnames[] = {
28299 (char *) "self", NULL
28300 };
28301
28302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
28303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28304 {
28305 PyThreadState* __tstate = wxPyBeginAllowThreads();
28306 {
28307 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
28308 result = (wxString *) &_result_ref;
28309 }
28310
28311 wxPyEndAllowThreads(__tstate);
28312 if (PyErr_Occurred()) SWIG_fail;
28313 }
28314 {
28315#if wxUSE_UNICODE
28316 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28317#else
28318 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28319#endif
28320 }
28321 return resultobj;
28322 fail:
28323 return NULL;
28324}
28325
28326
28327static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
28328 PyObject *resultobj;
28329 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28330 wxString *arg2 = 0 ;
28331 bool temp2 = False ;
28332 PyObject * obj0 = 0 ;
28333 PyObject * obj1 = 0 ;
28334 char *kwnames[] = {
28335 (char *) "self",(char *) "link", NULL
28336 };
28337
28338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
28339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28340 {
28341 arg2 = wxString_in_helper(obj1);
28342 if (arg2 == NULL) SWIG_fail;
28343 temp2 = True;
28344 }
28345 {
28346 PyThreadState* __tstate = wxPyBeginAllowThreads();
28347 (arg1)->SetLink((wxString const &)*arg2);
28348
28349 wxPyEndAllowThreads(__tstate);
28350 if (PyErr_Occurred()) SWIG_fail;
28351 }
28352 Py_INCREF(Py_None); resultobj = Py_None;
28353 {
28354 if (temp2)
28355 delete arg2;
28356 }
28357 return resultobj;
28358 fail:
28359 {
28360 if (temp2)
28361 delete arg2;
28362 }
28363 return NULL;
28364}
28365
28366
28367static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28368 PyObject *resultobj;
28369 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28370 wxString *result;
28371 PyObject * obj0 = 0 ;
28372 char *kwnames[] = {
28373 (char *) "self", NULL
28374 };
28375
28376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
28377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28378 {
28379 PyThreadState* __tstate = wxPyBeginAllowThreads();
28380 {
28381 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
28382 result = (wxString *) &_result_ref;
28383 }
28384
28385 wxPyEndAllowThreads(__tstate);
28386 if (PyErr_Occurred()) SWIG_fail;
28387 }
28388 {
28389#if wxUSE_UNICODE
28390 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
28391#else
28392 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
28393#endif
28394 }
28395 return resultobj;
28396 fail:
28397 return NULL;
28398}
28399
28400
28401static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
28402 PyObject *resultobj;
28403 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
28404 wxString *arg2 = 0 ;
28405 bool temp2 = False ;
28406 PyObject * obj0 = 0 ;
28407 PyObject * obj1 = 0 ;
28408 char *kwnames[] = {
28409 (char *) "self",(char *) "target", NULL
28410 };
28411
28412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
28413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28414 {
28415 arg2 = wxString_in_helper(obj1);
28416 if (arg2 == NULL) SWIG_fail;
28417 temp2 = True;
28418 }
28419 {
28420 PyThreadState* __tstate = wxPyBeginAllowThreads();
28421 (arg1)->SetTarget((wxString const &)*arg2);
28422
28423 wxPyEndAllowThreads(__tstate);
28424 if (PyErr_Occurred()) SWIG_fail;
28425 }
28426 Py_INCREF(Py_None); resultobj = Py_None;
28427 {
28428 if (temp2)
28429 delete arg2;
28430 }
28431 return resultobj;
28432 fail:
28433 {
28434 if (temp2)
28435 delete arg2;
28436 }
28437 return NULL;
28438}
28439
28440
28441static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
28442 PyObject *obj;
28443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28444 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
28445 Py_INCREF(obj);
28446 return Py_BuildValue((char *)"");
28447}
28448static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28449 PyObject *resultobj;
28450 wxWindow *arg1 = (wxWindow *) NULL ;
28451 bool arg2 = (bool) True ;
28452 wxContextHelp *result;
28453 PyObject * obj0 = 0 ;
28454 PyObject * obj1 = 0 ;
28455 char *kwnames[] = {
28456 (char *) "window",(char *) "doNow", NULL
28457 };
28458
28459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
28460 if (obj0) {
28461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28462 }
28463 if (obj1) {
28464 {
28465 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
28466 if (PyErr_Occurred()) SWIG_fail;
28467 }
28468 }
28469 {
28470 PyThreadState* __tstate = wxPyBeginAllowThreads();
28471 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
28472
28473 wxPyEndAllowThreads(__tstate);
28474 if (PyErr_Occurred()) SWIG_fail;
28475 }
28476 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
28477 return resultobj;
28478 fail:
28479 return NULL;
28480}
28481
28482
28483static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28484 PyObject *resultobj;
28485 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28486 PyObject * obj0 = 0 ;
28487 char *kwnames[] = {
28488 (char *) "self", NULL
28489 };
28490
28491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
28492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28493 {
28494 PyThreadState* __tstate = wxPyBeginAllowThreads();
28495 delete arg1;
28496
28497 wxPyEndAllowThreads(__tstate);
28498 if (PyErr_Occurred()) SWIG_fail;
28499 }
28500 Py_INCREF(Py_None); resultobj = Py_None;
28501 return resultobj;
28502 fail:
28503 return NULL;
28504}
28505
28506
28507static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28508 PyObject *resultobj;
28509 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28510 wxWindow *arg2 = (wxWindow *) NULL ;
28511 bool result;
28512 PyObject * obj0 = 0 ;
28513 PyObject * obj1 = 0 ;
28514 char *kwnames[] = {
28515 (char *) "self",(char *) "window", NULL
28516 };
28517
28518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
28519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28520 if (obj1) {
28521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28522 }
28523 {
28524 PyThreadState* __tstate = wxPyBeginAllowThreads();
28525 result = (bool)(arg1)->BeginContextHelp(arg2);
28526
28527 wxPyEndAllowThreads(__tstate);
28528 if (PyErr_Occurred()) SWIG_fail;
28529 }
28530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28531 return resultobj;
28532 fail:
28533 return NULL;
28534}
28535
28536
28537static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28538 PyObject *resultobj;
28539 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
28540 bool result;
28541 PyObject * obj0 = 0 ;
28542 char *kwnames[] = {
28543 (char *) "self", NULL
28544 };
28545
28546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
28547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28548 {
28549 PyThreadState* __tstate = wxPyBeginAllowThreads();
28550 result = (bool)(arg1)->EndContextHelp();
28551
28552 wxPyEndAllowThreads(__tstate);
28553 if (PyErr_Occurred()) SWIG_fail;
28554 }
28555 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28556 return resultobj;
28557 fail:
28558 return NULL;
28559}
28560
28561
28562static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
28563 PyObject *obj;
28564 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28565 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
28566 Py_INCREF(obj);
28567 return Py_BuildValue((char *)"");
28568}
28569static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
28570 PyObject *resultobj;
28571 wxWindow *arg1 = (wxWindow *) 0 ;
28572 int arg2 = (int) wxID_CONTEXT_HELP ;
28573 wxPoint const &arg3_defvalue = wxDefaultPosition ;
28574 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
28575 wxSize const &arg4_defvalue = wxDefaultSize ;
28576 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
28577 long arg5 = (long) wxBU_AUTODRAW ;
28578 wxContextHelpButton *result;
28579 wxPoint temp3 ;
28580 wxSize temp4 ;
28581 PyObject * obj0 = 0 ;
28582 PyObject * obj1 = 0 ;
28583 PyObject * obj2 = 0 ;
28584 PyObject * obj3 = 0 ;
28585 PyObject * obj4 = 0 ;
28586 char *kwnames[] = {
28587 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28588 };
28589
28590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ContextHelpButton",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
28591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28592 if (obj1) {
28593 {
28594 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28595 if (PyErr_Occurred()) SWIG_fail;
28596 }
28597 }
28598 if (obj2) {
28599 {
28600 arg3 = &temp3;
28601 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
28602 }
28603 }
28604 if (obj3) {
28605 {
28606 arg4 = &temp4;
28607 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
28608 }
28609 }
28610 if (obj4) {
28611 {
28612 arg5 = (long) SWIG_PyObj_AsLong(obj4);
28613 if (PyErr_Occurred()) SWIG_fail;
28614 }
28615 }
28616 {
28617 PyThreadState* __tstate = wxPyBeginAllowThreads();
28618 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
28619
28620 wxPyEndAllowThreads(__tstate);
28621 if (PyErr_Occurred()) SWIG_fail;
28622 }
28623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
28624 return resultobj;
28625 fail:
28626 return NULL;
28627}
28628
28629
28630static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
28631 PyObject *obj;
28632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28633 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
28634 Py_INCREF(obj);
28635 return Py_BuildValue((char *)"");
28636}
28637static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
28638 PyObject *resultobj;
28639 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28640 wxHelpProvider *result;
28641 PyObject * obj0 = 0 ;
28642 char *kwnames[] = {
28643 (char *) "helpProvider", NULL
28644 };
28645
28646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
28647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28648 {
28649 PyThreadState* __tstate = wxPyBeginAllowThreads();
28650 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
28651
28652 wxPyEndAllowThreads(__tstate);
28653 if (PyErr_Occurred()) SWIG_fail;
28654 }
28655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28656 return resultobj;
28657 fail:
28658 return NULL;
28659}
28660
28661
28662static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
28663 PyObject *resultobj;
28664 wxHelpProvider *result;
28665 char *kwnames[] = {
28666 NULL
28667 };
28668
28669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
28670 {
28671 PyThreadState* __tstate = wxPyBeginAllowThreads();
28672 result = (wxHelpProvider *)wxHelpProvider::Get();
28673
28674 wxPyEndAllowThreads(__tstate);
28675 if (PyErr_Occurred()) SWIG_fail;
28676 }
28677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
28678 return resultobj;
28679 fail:
28680 return NULL;
28681}
28682
28683
28684static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28685 PyObject *resultobj;
28686 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28687 wxWindow *arg2 = (wxWindow *) 0 ;
28688 wxString result;
28689 PyObject * obj0 = 0 ;
28690 PyObject * obj1 = 0 ;
28691 char *kwnames[] = {
28692 (char *) "self",(char *) "window", NULL
28693 };
28694
28695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
28696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28698 {
28699 PyThreadState* __tstate = wxPyBeginAllowThreads();
28700 result = (arg1)->GetHelp((wxWindow const *)arg2);
28701
28702 wxPyEndAllowThreads(__tstate);
28703 if (PyErr_Occurred()) SWIG_fail;
28704 }
28705 {
28706#if wxUSE_UNICODE
28707 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28708#else
28709 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28710#endif
28711 }
28712 return resultobj;
28713 fail:
28714 return NULL;
28715}
28716
28717
28718static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28719 PyObject *resultobj;
28720 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28721 wxWindow *arg2 = (wxWindow *) 0 ;
28722 bool result;
28723 PyObject * obj0 = 0 ;
28724 PyObject * obj1 = 0 ;
28725 char *kwnames[] = {
28726 (char *) "self",(char *) "window", NULL
28727 };
28728
28729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
28730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28732 {
28733 PyThreadState* __tstate = wxPyBeginAllowThreads();
28734 result = (bool)(arg1)->ShowHelp(arg2);
28735
28736 wxPyEndAllowThreads(__tstate);
28737 if (PyErr_Occurred()) SWIG_fail;
28738 }
28739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28740 return resultobj;
28741 fail:
28742 return NULL;
28743}
28744
28745
28746static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
28747 PyObject *resultobj;
28748 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28749 wxWindow *arg2 = (wxWindow *) 0 ;
28750 wxString *arg3 = 0 ;
28751 bool temp3 = False ;
28752 PyObject * obj0 = 0 ;
28753 PyObject * obj1 = 0 ;
28754 PyObject * obj2 = 0 ;
28755 char *kwnames[] = {
28756 (char *) "self",(char *) "window",(char *) "text", NULL
28757 };
28758
28759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
28760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28761 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28762 {
28763 arg3 = wxString_in_helper(obj2);
28764 if (arg3 == NULL) SWIG_fail;
28765 temp3 = True;
28766 }
28767 {
28768 PyThreadState* __tstate = wxPyBeginAllowThreads();
28769 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28770
28771 wxPyEndAllowThreads(__tstate);
28772 if (PyErr_Occurred()) SWIG_fail;
28773 }
28774 Py_INCREF(Py_None); resultobj = Py_None;
28775 {
28776 if (temp3)
28777 delete arg3;
28778 }
28779 return resultobj;
28780 fail:
28781 {
28782 if (temp3)
28783 delete arg3;
28784 }
28785 return NULL;
28786}
28787
28788
28789static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
28790 PyObject *resultobj;
28791 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28792 int arg2 ;
28793 wxString *arg3 = 0 ;
28794 bool temp3 = False ;
28795 PyObject * obj0 = 0 ;
28796 PyObject * obj1 = 0 ;
28797 PyObject * obj2 = 0 ;
28798 char *kwnames[] = {
28799 (char *) "self",(char *) "id",(char *) "text", NULL
28800 };
28801
28802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelpById",kwnames,&obj0,&obj1,&obj2)) goto fail;
28803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28804 {
28805 arg2 = (int) SWIG_PyObj_AsInt(obj1);
28806 if (PyErr_Occurred()) SWIG_fail;
28807 }
28808 {
28809 arg3 = wxString_in_helper(obj2);
28810 if (arg3 == NULL) SWIG_fail;
28811 temp3 = True;
28812 }
28813 {
28814 PyThreadState* __tstate = wxPyBeginAllowThreads();
28815 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
28816
28817 wxPyEndAllowThreads(__tstate);
28818 if (PyErr_Occurred()) SWIG_fail;
28819 }
28820 Py_INCREF(Py_None); resultobj = Py_None;
28821 {
28822 if (temp3)
28823 delete arg3;
28824 }
28825 return resultobj;
28826 fail:
28827 {
28828 if (temp3)
28829 delete arg3;
28830 }
28831 return NULL;
28832}
28833
28834
28835static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
28836 PyObject *resultobj;
28837 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
28838 PyObject * obj0 = 0 ;
28839 char *kwnames[] = {
28840 (char *) "self", NULL
28841 };
28842
28843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
28844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28845 {
28846 PyThreadState* __tstate = wxPyBeginAllowThreads();
28847 wxHelpProvider_Destroy(arg1);
28848
28849 wxPyEndAllowThreads(__tstate);
28850 if (PyErr_Occurred()) SWIG_fail;
28851 }
28852 Py_INCREF(Py_None); resultobj = Py_None;
28853 return resultobj;
28854 fail:
28855 return NULL;
28856}
28857
28858
28859static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
28860 PyObject *obj;
28861 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28862 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
28863 Py_INCREF(obj);
28864 return Py_BuildValue((char *)"");
28865}
28866static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
28867 PyObject *resultobj;
28868 wxSimpleHelpProvider *result;
28869 char *kwnames[] = {
28870 NULL
28871 };
28872
28873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
28874 {
28875 PyThreadState* __tstate = wxPyBeginAllowThreads();
28876 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
28877
28878 wxPyEndAllowThreads(__tstate);
28879 if (PyErr_Occurred()) SWIG_fail;
28880 }
28881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
28882 return resultobj;
28883 fail:
28884 return NULL;
28885}
28886
28887
28888static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
28889 PyObject *obj;
28890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28891 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
28892 Py_INCREF(obj);
28893 return Py_BuildValue((char *)"");
28894}
28895static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
28896 PyObject *resultobj;
28897 wxBitmap *arg1 = 0 ;
28898 wxCursor const &arg2_defvalue = wxNullCursor ;
28899 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28900 wxGenericDragImage *result;
28901 PyObject * obj0 = 0 ;
28902 PyObject * obj1 = 0 ;
28903 char *kwnames[] = {
28904 (char *) "image",(char *) "cursor", NULL
28905 };
28906
28907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
28908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28909 if (arg1 == NULL) {
28910 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28911 }
28912 if (obj1) {
28913 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28914 if (arg2 == NULL) {
28915 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28916 }
28917 }
28918 {
28919 PyThreadState* __tstate = wxPyBeginAllowThreads();
28920 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
28921
28922 wxPyEndAllowThreads(__tstate);
28923 if (PyErr_Occurred()) SWIG_fail;
28924 }
28925 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28926 return resultobj;
28927 fail:
28928 return NULL;
28929}
28930
28931
28932static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
28933 PyObject *resultobj;
28934 wxIcon *arg1 = 0 ;
28935 wxCursor const &arg2_defvalue = wxNullCursor ;
28936 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28937 wxGenericDragImage *result;
28938 PyObject * obj0 = 0 ;
28939 PyObject * obj1 = 0 ;
28940 char *kwnames[] = {
28941 (char *) "image",(char *) "cursor", NULL
28942 };
28943
28944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
28945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28946 if (arg1 == NULL) {
28947 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28948 }
28949 if (obj1) {
28950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28951 if (arg2 == NULL) {
28952 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28953 }
28954 }
28955 {
28956 PyThreadState* __tstate = wxPyBeginAllowThreads();
28957 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
28958
28959 wxPyEndAllowThreads(__tstate);
28960 if (PyErr_Occurred()) SWIG_fail;
28961 }
28962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
28963 return resultobj;
28964 fail:
28965 return NULL;
28966}
28967
28968
28969static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
28970 PyObject *resultobj;
28971 wxString *arg1 = 0 ;
28972 wxCursor const &arg2_defvalue = wxNullCursor ;
28973 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
28974 wxGenericDragImage *result;
28975 bool temp1 = False ;
28976 PyObject * obj0 = 0 ;
28977 PyObject * obj1 = 0 ;
28978 char *kwnames[] = {
28979 (char *) "str",(char *) "cursor", NULL
28980 };
28981
28982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
28983 {
28984 arg1 = wxString_in_helper(obj0);
28985 if (arg1 == NULL) SWIG_fail;
28986 temp1 = True;
28987 }
28988 if (obj1) {
28989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
28990 if (arg2 == NULL) {
28991 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
28992 }
28993 }
28994 {
28995 PyThreadState* __tstate = wxPyBeginAllowThreads();
28996 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
28997
28998 wxPyEndAllowThreads(__tstate);
28999 if (PyErr_Occurred()) SWIG_fail;
29000 }
29001 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
29002 {
29003 if (temp1)
29004 delete arg1;
29005 }
29006 return resultobj;
29007 fail:
29008 {
29009 if (temp1)
29010 delete arg1;
29011 }
29012 return NULL;
29013}
29014
29015
29016static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29017 PyObject *resultobj;
29018 wxPyTreeCtrl *arg1 = 0 ;
29019 wxTreeItemId *arg2 = 0 ;
29020 wxGenericDragImage *result;
29021 PyObject * obj0 = 0 ;
29022 PyObject * obj1 = 0 ;
29023 char *kwnames[] = {
29024 (char *) "treeCtrl",(char *) "id", NULL
29025 };
29026
29027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
29028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29029 if (arg1 == NULL) {
29030 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29031 }
29032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29033 if (arg2 == NULL) {
29034 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29035 }
29036 {
29037 PyThreadState* __tstate = wxPyBeginAllowThreads();
29038 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
29039
29040 wxPyEndAllowThreads(__tstate);
29041 if (PyErr_Occurred()) SWIG_fail;
29042 }
29043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
29044 return resultobj;
29045 fail:
29046 return NULL;
29047}
29048
29049
29050static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29051 PyObject *resultobj;
29052 wxPyListCtrl *arg1 = 0 ;
29053 long arg2 ;
29054 wxGenericDragImage *result;
29055 PyObject * obj0 = 0 ;
29056 PyObject * obj1 = 0 ;
29057 char *kwnames[] = {
29058 (char *) "listCtrl",(char *) "id", NULL
29059 };
29060
29061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragListItem",kwnames,&obj0,&obj1)) goto fail;
29062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29063 if (arg1 == NULL) {
29064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29065 }
29066 {
29067 arg2 = (long) SWIG_PyObj_AsLong(obj1);
29068 if (PyErr_Occurred()) SWIG_fail;
29069 }
29070 {
29071 PyThreadState* __tstate = wxPyBeginAllowThreads();
29072 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
29073
29074 wxPyEndAllowThreads(__tstate);
29075 if (PyErr_Occurred()) SWIG_fail;
29076 }
29077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
29078 return resultobj;
29079 fail:
29080 return NULL;
29081}
29082
29083
29084static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29085 PyObject *resultobj;
29086 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29087 PyObject * obj0 = 0 ;
29088 char *kwnames[] = {
29089 (char *) "self", NULL
29090 };
29091
29092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
29093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29094 {
29095 PyThreadState* __tstate = wxPyBeginAllowThreads();
29096 delete arg1;
29097
29098 wxPyEndAllowThreads(__tstate);
29099 if (PyErr_Occurred()) SWIG_fail;
29100 }
29101 Py_INCREF(Py_None); resultobj = Py_None;
29102 return resultobj;
29103 fail:
29104 return NULL;
29105}
29106
29107
29108static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
29109 PyObject *resultobj;
29110 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29111 wxBitmap *arg2 = (wxBitmap *) 0 ;
29112 PyObject * obj0 = 0 ;
29113 PyObject * obj1 = 0 ;
29114 char *kwnames[] = {
29115 (char *) "self",(char *) "bitmap", NULL
29116 };
29117
29118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
29119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29121 {
29122 PyThreadState* __tstate = wxPyBeginAllowThreads();
29123 (arg1)->SetBackingBitmap(arg2);
29124
29125 wxPyEndAllowThreads(__tstate);
29126 if (PyErr_Occurred()) SWIG_fail;
29127 }
29128 Py_INCREF(Py_None); resultobj = Py_None;
29129 return resultobj;
29130 fail:
29131 return NULL;
29132}
29133
29134
29135static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29136 PyObject *resultobj;
29137 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29138 wxPoint *arg2 = 0 ;
29139 wxWindow *arg3 = (wxWindow *) 0 ;
29140 bool arg4 = (bool) False ;
29141 wxRect *arg5 = (wxRect *) NULL ;
29142 bool result;
29143 wxPoint temp2 ;
29144 PyObject * obj0 = 0 ;
29145 PyObject * obj1 = 0 ;
29146 PyObject * obj2 = 0 ;
29147 PyObject * obj3 = 0 ;
29148 PyObject * obj4 = 0 ;
29149 char *kwnames[] = {
29150 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
29151 };
29152
29153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29155 {
29156 arg2 = &temp2;
29157 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29158 }
29159 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29160 if (obj3) {
29161 {
29162 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
29163 if (PyErr_Occurred()) SWIG_fail;
29164 }
29165 }
29166 if (obj4) {
29167 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29168 }
29169 {
29170 PyThreadState* __tstate = wxPyBeginAllowThreads();
29171 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
29172
29173 wxPyEndAllowThreads(__tstate);
29174 if (PyErr_Occurred()) SWIG_fail;
29175 }
29176 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29177 return resultobj;
29178 fail:
29179 return NULL;
29180}
29181
29182
29183static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
29184 PyObject *resultobj;
29185 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29186 wxPoint *arg2 = 0 ;
29187 wxWindow *arg3 = (wxWindow *) 0 ;
29188 wxWindow *arg4 = (wxWindow *) 0 ;
29189 bool result;
29190 wxPoint temp2 ;
29191 PyObject * obj0 = 0 ;
29192 PyObject * obj1 = 0 ;
29193 PyObject * obj2 = 0 ;
29194 PyObject * obj3 = 0 ;
29195 char *kwnames[] = {
29196 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
29197 };
29198
29199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
29200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29201 {
29202 arg2 = &temp2;
29203 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29204 }
29205 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29206 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29207 {
29208 PyThreadState* __tstate = wxPyBeginAllowThreads();
29209 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
29210
29211 wxPyEndAllowThreads(__tstate);
29212 if (PyErr_Occurred()) SWIG_fail;
29213 }
29214 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29215 return resultobj;
29216 fail:
29217 return NULL;
29218}
29219
29220
29221static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
29222 PyObject *resultobj;
29223 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29224 bool result;
29225 PyObject * obj0 = 0 ;
29226 char *kwnames[] = {
29227 (char *) "self", NULL
29228 };
29229
29230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
29231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29232 {
29233 PyThreadState* __tstate = wxPyBeginAllowThreads();
29234 result = (bool)(arg1)->EndDrag();
29235
29236 wxPyEndAllowThreads(__tstate);
29237 if (PyErr_Occurred()) SWIG_fail;
29238 }
29239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29240 return resultobj;
29241 fail:
29242 return NULL;
29243}
29244
29245
29246static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
29247 PyObject *resultobj;
29248 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29249 wxPoint *arg2 = 0 ;
29250 bool result;
29251 wxPoint temp2 ;
29252 PyObject * obj0 = 0 ;
29253 PyObject * obj1 = 0 ;
29254 char *kwnames[] = {
29255 (char *) "self",(char *) "pt", NULL
29256 };
29257
29258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
29259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29260 {
29261 arg2 = &temp2;
29262 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29263 }
29264 {
29265 PyThreadState* __tstate = wxPyBeginAllowThreads();
29266 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
29267
29268 wxPyEndAllowThreads(__tstate);
29269 if (PyErr_Occurred()) SWIG_fail;
29270 }
29271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29272 return resultobj;
29273 fail:
29274 return NULL;
29275}
29276
29277
29278static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
29279 PyObject *resultobj;
29280 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29281 bool result;
29282 PyObject * obj0 = 0 ;
29283 char *kwnames[] = {
29284 (char *) "self", NULL
29285 };
29286
29287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
29288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29289 {
29290 PyThreadState* __tstate = wxPyBeginAllowThreads();
29291 result = (bool)(arg1)->Show();
29292
29293 wxPyEndAllowThreads(__tstate);
29294 if (PyErr_Occurred()) SWIG_fail;
29295 }
29296 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29297 return resultobj;
29298 fail:
29299 return NULL;
29300}
29301
29302
29303static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
29304 PyObject *resultobj;
29305 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29306 bool result;
29307 PyObject * obj0 = 0 ;
29308 char *kwnames[] = {
29309 (char *) "self", NULL
29310 };
29311
29312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
29313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29314 {
29315 PyThreadState* __tstate = wxPyBeginAllowThreads();
29316 result = (bool)(arg1)->Hide();
29317
29318 wxPyEndAllowThreads(__tstate);
29319 if (PyErr_Occurred()) SWIG_fail;
29320 }
29321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29322 return resultobj;
29323 fail:
29324 return NULL;
29325}
29326
29327
29328static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
29329 PyObject *resultobj;
29330 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29331 wxPoint *arg2 = 0 ;
29332 wxRect result;
29333 wxPoint temp2 ;
29334 PyObject * obj0 = 0 ;
29335 PyObject * obj1 = 0 ;
29336 char *kwnames[] = {
29337 (char *) "self",(char *) "pos", NULL
29338 };
29339
29340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
29341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29342 {
29343 arg2 = &temp2;
29344 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29345 }
29346 {
29347 PyThreadState* __tstate = wxPyBeginAllowThreads();
29348 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
29349
29350 wxPyEndAllowThreads(__tstate);
29351 if (PyErr_Occurred()) SWIG_fail;
29352 }
29353 {
29354 wxRect * resultptr;
29355 resultptr = new wxRect((wxRect &) result);
29356 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
29357 }
29358 return resultobj;
29359 fail:
29360 return NULL;
29361}
29362
29363
29364static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29365 PyObject *resultobj;
29366 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29367 wxDC *arg2 = 0 ;
29368 wxPoint *arg3 = 0 ;
29369 bool result;
29370 wxPoint temp3 ;
29371 PyObject * obj0 = 0 ;
29372 PyObject * obj1 = 0 ;
29373 PyObject * obj2 = 0 ;
29374 char *kwnames[] = {
29375 (char *) "self",(char *) "dc",(char *) "pos", NULL
29376 };
29377
29378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
29379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29380 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29381 if (arg2 == NULL) {
29382 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29383 }
29384 {
29385 arg3 = &temp3;
29386 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29387 }
29388 {
29389 PyThreadState* __tstate = wxPyBeginAllowThreads();
29390 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
29391
29392 wxPyEndAllowThreads(__tstate);
29393 if (PyErr_Occurred()) SWIG_fail;
29394 }
29395 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29396 return resultobj;
29397 fail:
29398 return NULL;
29399}
29400
29401
29402static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29403 PyObject *resultobj;
29404 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29405 wxDC *arg2 = 0 ;
29406 wxMemoryDC *arg3 = 0 ;
29407 wxRect *arg4 = 0 ;
29408 wxRect *arg5 = 0 ;
29409 bool result;
29410 wxRect temp4 ;
29411 wxRect temp5 ;
29412 PyObject * obj0 = 0 ;
29413 PyObject * obj1 = 0 ;
29414 PyObject * obj2 = 0 ;
29415 PyObject * obj3 = 0 ;
29416 PyObject * obj4 = 0 ;
29417 char *kwnames[] = {
29418 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
29419 };
29420
29421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29424 if (arg2 == NULL) {
29425 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29426 }
29427 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29428 if (arg3 == NULL) {
29429 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
29430 }
29431 {
29432 arg4 = &temp4;
29433 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
29434 }
29435 {
29436 arg5 = &temp5;
29437 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
29438 }
29439 {
29440 PyThreadState* __tstate = wxPyBeginAllowThreads();
29441 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
29442
29443 wxPyEndAllowThreads(__tstate);
29444 if (PyErr_Occurred()) SWIG_fail;
29445 }
29446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29447 return resultobj;
29448 fail:
29449 return NULL;
29450}
29451
29452
29453static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
29454 PyObject *resultobj;
29455 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
29456 wxPoint *arg2 = 0 ;
29457 wxPoint *arg3 = 0 ;
29458 bool arg4 ;
29459 bool arg5 ;
29460 bool result;
29461 wxPoint temp2 ;
29462 wxPoint temp3 ;
29463 PyObject * obj0 = 0 ;
29464 PyObject * obj1 = 0 ;
29465 PyObject * obj2 = 0 ;
29466 PyObject * obj3 = 0 ;
29467 PyObject * obj4 = 0 ;
29468 char *kwnames[] = {
29469 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
29470 };
29471
29472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
29473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
29474 {
29475 arg2 = &temp2;
29476 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
29477 }
29478 {
29479 arg3 = &temp3;
29480 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
29481 }
29482 {
29483 arg4 = (bool) SWIG_PyObj_AsBool(obj3);
29484 if (PyErr_Occurred()) SWIG_fail;
29485 }
29486 {
29487 arg5 = (bool) SWIG_PyObj_AsBool(obj4);
29488 if (PyErr_Occurred()) SWIG_fail;
29489 }
29490 {
29491 PyThreadState* __tstate = wxPyBeginAllowThreads();
29492 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
29493
29494 wxPyEndAllowThreads(__tstate);
29495 if (PyErr_Occurred()) SWIG_fail;
29496 }
29497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29498 return resultobj;
29499 fail:
29500 return NULL;
29501}
29502
29503
29504static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
29505 PyObject *obj;
29506 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29507 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
29508 Py_INCREF(obj);
29509 return Py_BuildValue((char *)"");
29510}
29511static PyMethodDef SwigMethods[] = {
29512 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
29513 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
29514 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
29515 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
29516 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29517 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
29518 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
29519 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
29520 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
29521 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29522 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29523 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29524 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29525 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
29526 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
29527 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
29528 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
29529 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
29530 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
29531 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
29532 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
29533 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
29534 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
29535 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
29536 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29537 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29538 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29539 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
29540 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
29541 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
29542 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
29543 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
29544 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
29545 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
29546 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
29547 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
29548 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29549 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
29550 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
29551 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
29552 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
29553 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
29554 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
29555 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
29556 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
29557 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
29558 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
29559 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29560 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29561 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29562 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
29563 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29564 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
29565 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
29566 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29567 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
29568 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
29569 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
29570 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
29571 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
29572 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
29573 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
29574 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
29575 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
29576 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
29577 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29578 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
29579 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
29580 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
29581 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
29582 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
29583 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
29584 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
29585 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
29586 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
29587 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
29588 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
29589 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
29590 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
29591 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
29592 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
29593 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
29594 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
29595 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
29596 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
29597 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
29598 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
29599 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29600 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
29601 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
29602 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
29603 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
29604 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
29605 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
29606 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
29607 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
29608 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
29609 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
29610 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29611 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
29612 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
29613 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
29614 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29615 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
29616 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
29617 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
29618 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
29619 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
29620 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
29621 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction) _wrap_ListBox_SetItemForegroundColour, METH_VARARGS | METH_KEYWORDS },
29622 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction) _wrap_ListBox_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29623 { (char *)"ListBox_SetItemFont", (PyCFunction) _wrap_ListBox_SetItemFont, METH_VARARGS | METH_KEYWORDS },
29624 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
29625 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
29626 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
29627 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
29628 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
29629 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
29630 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
29631 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
29632 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
29633 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
29634 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
29635 { (char *)"delete_TextAttr", (PyCFunction) _wrap_delete_TextAttr, METH_VARARGS | METH_KEYWORDS },
29636 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
29637 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29638 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29639 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29640 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
29641 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
29642 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29643 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
29644 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
29645 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29646 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29647 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29648 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
29649 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
29650 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
29651 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
29652 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
29653 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29654 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29655 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29656 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
29657 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
29658 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
29659 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
29660 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
29661 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
29662 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
29663 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
29664 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
29665 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
29666 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29667 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29668 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29669 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
29670 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
29671 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
29672 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
29673 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
29674 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
29675 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
29676 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
29677 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29678 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29679 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
29680 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
29681 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
29682 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
29683 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
29684 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
29685 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
29686 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
29687 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
29688 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
29689 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
29690 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
29691 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
29692 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29693 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
29694 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
29695 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
29696 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
29697 { (char *)"TextCtrl_HitTest", (PyCFunction) _wrap_TextCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
29698 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
29699 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
29700 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
29701 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
29702 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
29703 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
29704 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
29705 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
29706 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
29707 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
29708 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29709 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
29710 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
29711 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
29712 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29713 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
29714 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
29715 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
29716 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
29717 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
29718 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
29719 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
29720 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
29721 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
29722 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
29723 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
29724 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
29725 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
29726 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
29727 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
29728 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29729 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
29730 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29731 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
29732 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
29733 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
29734 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
29735 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
29736 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
29737 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
29738 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
29739 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29740 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
29741 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
29742 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29743 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
29744 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
29745 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
29746 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
29747 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
29748 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
29749 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
29750 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
29751 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
29752 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
29753 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
29754 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
29755 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
29756 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
29757 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29758 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
29759 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
29760 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
29761 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
29762 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
29763 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
29764 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
29765 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
29766 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
29767 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
29768 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
29769 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
29770 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
29771 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
29772 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
29773 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
29774 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
29775 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
29776 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
29777 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29778 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
29779 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
29780 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
29781 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
29782 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
29783 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29784 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29785 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
29786 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
29787 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
29788 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
29789 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
29790 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
29791 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
29792 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
29793 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
29794 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
29795 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
29796 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
29797 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29798 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
29799 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
29800 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
29801 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
29802 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
29803 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
29804 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
29805 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
29806 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
29807 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
29808 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
29809 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
29810 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
29811 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
29812 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
29813 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
29814 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
29815 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
29816 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
29817 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
29818 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
29819 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
29820 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
29821 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
29822 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
29823 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
29824 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
29825 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
29826 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
29827 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
29828 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
29829 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29830 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
29831 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
29832 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
29833 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
29834 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
29835 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
29836 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
29837 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
29838 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
29839 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
29840 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
29841 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
29842 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
29843 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
29844 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
29845 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
29846 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
29847 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
29848 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
29849 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
29850 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
29851 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
29852 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
29853 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
29854 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
29855 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
29856 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
29857 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
29858 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
29859 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
29860 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
29861 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
29862 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
29863 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
29864 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29865 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29866 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
29867 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
29868 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
29869 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
29870 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
29871 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
29872 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
29873 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
29874 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
29875 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
29876 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
29877 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
29878 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
29879 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
29880 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
29881 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
29882 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
29883 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
29884 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29885 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29886 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
29887 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
29888 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
29889 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
29890 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
29891 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
29892 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29893 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
29894 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
29895 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
29896 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
29897 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
29898 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
29899 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
29900 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
29901 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
29902 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
29903 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
29904 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
29905 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
29906 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
29907 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
29908 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
29909 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
29910 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
29911 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
29912 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
29913 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
29914 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
29915 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
29916 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
29917 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
29918 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
29919 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
29920 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
29921 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
29922 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
29923 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
29924 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
29925 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29926 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
29927 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29928 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
29929 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
29930 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
29931 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
29932 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29933 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
29934 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
29935 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
29936 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
29937 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
29938 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
29939 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
29940 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
29941 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29942 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
29943 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
29944 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29945 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
29946 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
29947 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
29948 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
29949 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
29950 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
29951 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
29952 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
29953 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
29954 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29955 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29956 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
29957 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
29958 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29959 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
29960 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29961 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29962 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
29963 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
29964 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
29965 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
29966 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
29967 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
29968 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
29969 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
29970 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
29971 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
29972 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
29973 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
29974 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
29975 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
29976 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
29977 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
29978 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
29979 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
29980 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29981 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
29982 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
29983 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
29984 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
29985 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
29986 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
29987 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
29988 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
29989 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
29990 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
29991 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
29992 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
29993 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
29994 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
29995 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
29996 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
29997 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
29998 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
29999 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
30000 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
30001 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
30002 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
30003 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
30004 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
30005 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
30006 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
30007 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
30008 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
30009 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
30010 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
30011 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
30012 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
30013 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
30014 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
30015 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
30016 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
30017 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
30018 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
30019 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
30020 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
30021 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
30022 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
30023 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
30024 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
30025 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
30026 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
30027 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
30028 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
30029 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30030 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
30031 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
30032 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30033 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30034 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
30035 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
30036 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
30037 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
30038 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30039 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
30040 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
30041 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30042 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30043 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
30044 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
30045 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
30046 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30047 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30048 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
30049 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30050 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
30051 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
30052 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30053 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
30054 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
30055 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
30056 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30057 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
30058 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
30059 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
30060 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
30061 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
30062 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30063 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30064 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30065 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30066 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30067 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
30068 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
30069 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
30070 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
30071 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
30072 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
30073 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
30074 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
30075 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
30076 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
30077 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
30078 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
30079 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
30080 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30081 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30082 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30083 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
30084 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
30085 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
30086 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
30087 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
30088 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30089 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
30090 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
30091 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
30092 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30093 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
30094 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30095 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
30096 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
30097 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
30098 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30099 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30100 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
30101 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
30102 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
30103 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
30104 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
30105 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
30106 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
30107 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30108 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30109 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30110 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30111 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
30112 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
30113 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
30114 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
30115 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
30116 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
30117 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
30118 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
30119 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
30120 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
30121 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
30122 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
30123 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
30124 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
30125 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
30126 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30127 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
30128 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
30129 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
30130 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
30131 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
30132 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
30133 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
30134 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
30135 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
30136 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
30137 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
30138 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
30139 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
30140 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
30141 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
30142 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
30143 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
30144 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
30145 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
30146 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
30147 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
30148 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30149 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
30150 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
30151 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
30152 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
30153 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
30154 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
30155 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
30156 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
30157 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
30158 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30159 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30160 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30161 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
30162 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
30163 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
30164 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
30165 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
30166 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
30167 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
30168 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
30169 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
30170 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
30171 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
30172 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
30173 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
30174 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
30175 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
30176 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30177 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30178 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
30179 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
30180 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
30181 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
30182 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
30183 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30184 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
30185 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
30186 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
30187 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
30188 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
30189 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
30190 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
30191 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
30192 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
30193 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
30194 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
30195 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
30196 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
30197 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
30198 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
30199 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
30200 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
30201 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
30202 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
30203 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
30204 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
30205 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
30206 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
30207 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
30208 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
30209 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
30210 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
30211 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
30212 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
30213 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
30214 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
30215 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
30216 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
30217 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
30218 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
30219 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
30220 { (char *)"TreeCtrl_UnselectItem", (PyCFunction) _wrap_TreeCtrl_UnselectItem, METH_VARARGS | METH_KEYWORDS },
30221 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
30222 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
30223 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction) _wrap_TreeCtrl_ToggleItemSelection, METH_VARARGS | METH_KEYWORDS },
30224 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
30225 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
30226 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
30227 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
30228 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
30229 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
30230 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
30231 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
30232 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
30233 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30234 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
30235 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30236 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
30237 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30238 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
30239 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
30240 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
30241 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
30242 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
30243 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
30244 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
30245 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
30246 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30247 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
30248 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
30249 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
30250 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30251 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
30252 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
30253 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
30254 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
30255 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30256 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
30257 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
30258 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
30259 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
30260 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
30261 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
30262 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
30263 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
30264 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
30265 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30266 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
30267 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
30268 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
30269 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
30270 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
30271 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
30272 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
30273 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
30274 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
30275 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
30276 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
30277 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
30278 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
30279 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
30280 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
30281 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
30282 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
30283 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
30284 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
30285 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
30286 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
30287 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
30288 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
30289 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30290 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
30291 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
30292 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
30293 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
30294 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
30295 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
30296 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
30297 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
30298 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
30299 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
30300 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
30301 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
30302 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
30303 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
30304 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
30305 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
30306 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
30307 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
30308 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
30309 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
30310 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
30311 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
30312 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
30313 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
30314 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
30315 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
30316 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
30317 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
30318 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
30319 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
30320 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
30321 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
30322 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
30323 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
30324 { NULL, NULL }
30325};
30326
30327
30328/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
30329
30330static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
30331 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30332}
30333static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
30334 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
30335}
30336static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
30337 return (void *)((wxSizer *) ((wxBoxSizer *) x));
30338}
30339static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
30340 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
30341}
30342static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
30343 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30344}
30345static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
30346 return (void *)((wxSizer *) ((wxGridSizer *) x));
30347}
30348static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
30349 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
30350}
30351static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
30352 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
30353}
30354static void *_p_wxPySizerTo_p_wxSizer(void *x) {
30355 return (void *)((wxSizer *) ((wxPySizer *) x));
30356}
30357static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
30358 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
30359}
30360static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
30361 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
30362}
30363static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
30364 return (void *)((wxEvent *) ((wxMenuEvent *) x));
30365}
30366static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
30367 return (void *)((wxEvent *) ((wxCloseEvent *) x));
30368}
30369static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
30370 return (void *)((wxEvent *) ((wxMouseEvent *) x));
30371}
30372static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
30373 return (void *)((wxEvent *) ((wxEraseEvent *) x));
30374}
30375static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
30376 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
30377}
30378static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
30379 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
30380}
30381static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
30382 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
30383}
30384static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
30385 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
30386}
30387static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
30388 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
30389}
30390static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
30391 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30392}
30393static void *_p_wxPyEventTo_p_wxEvent(void *x) {
30394 return (void *)((wxEvent *) ((wxPyEvent *) x));
30395}
30396static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
30397 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
30398}
30399static void *_p_wxListEventTo_p_wxEvent(void *x) {
30400 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30401}
30402static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
30403 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30404}
30405static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
30406 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
30407}
30408static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
30409 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
30410}
30411static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
30412 return (void *)((wxEvent *) ((wxIdleEvent *) x));
30413}
30414static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
30415 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
30416}
30417static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
30418 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
30419}
30420static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
30421 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
30422}
30423static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
30424 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
30425}
30426static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
30427 return (void *)((wxEvent *) ((wxActivateEvent *) x));
30428}
30429static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
30430 return (void *)((wxEvent *) ((wxSizeEvent *) x));
30431}
30432static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
30433 return (void *)((wxEvent *) ((wxMoveEvent *) x));
30434}
30435static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
30436 return (void *)((wxEvent *) ((wxPaintEvent *) x));
30437}
30438static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
30439 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
30440}
30441static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
30442 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
30443}
30444static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
30445 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
30446}
30447static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
30448 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
30449}
30450static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
30451 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30452}
30453static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
30454 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
30455}
30456static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
30457 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
30458}
30459static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
30460 return (void *)((wxEvent *) ((wxFocusEvent *) x));
30461}
30462static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
30463 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
30464}
30465static void *_p_wxShowEventTo_p_wxEvent(void *x) {
30466 return (void *)((wxEvent *) ((wxShowEvent *) x));
30467}
30468static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
30469 return (void *)((wxEvent *) ((wxCommandEvent *) x));
30470}
30471static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
30472 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
30473}
30474static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
30475 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
30476}
30477static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
30478 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
30479}
30480static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
30481 return (void *)((wxEvent *) ((wxKeyEvent *) x));
30482}
30483static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
30484 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
30485}
30486static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
30487 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
30488}
30489static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
30490 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30491}
30492static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
30493 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30494}
30495static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
30496 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
30497}
30498static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
30499 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
30500}
30501static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
30502 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
30503}
30504static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
30505 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30506}
30507static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
30508 return (void *)((wxPyListCtrl *) ((wxListView *) x));
30509}
30510static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
30511 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30512}
30513static void *_p_wxListBoxTo_p_wxControl(void *x) {
30514 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
30515}
30516static void *_p_wxChoiceTo_p_wxControl(void *x) {
30517 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
30518}
30519static void *_p_wxToolBarTo_p_wxControl(void *x) {
30520 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
30521}
30522static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
30523 return (void *)((wxControl *) ((wxStaticBitmap *) x));
30524}
30525static void *_p_wxComboBoxTo_p_wxControl(void *x) {
30526 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30527}
30528static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
30529 return (void *)((wxControl *) ((wxSpinCtrl *) x));
30530}
30531static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
30532 return (void *)((wxControl *) ((wxStaticBox *) x));
30533}
30534static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
30535 return (void *)((wxControl *) ((wxPyListCtrl *) x));
30536}
30537static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
30538 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
30539}
30540static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
30541 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30542}
30543static void *_p_wxScrollBarTo_p_wxControl(void *x) {
30544 return (void *)((wxControl *) ((wxScrollBar *) x));
30545}
30546static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
30547 return (void *)((wxControl *) ((wxBookCtrl *) x));
30548}
30549static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
30550 return (void *)((wxControl *) ((wxRadioButton *) x));
30551}
30552static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
30553 return (void *)((wxControl *) ((wxToggleButton *) x));
30554}
30555static void *_p_wxGaugeTo_p_wxControl(void *x) {
30556 return (void *)((wxControl *) ((wxGauge *) x));
30557}
30558static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
30559 return (void *)((wxControl *) ((wxToolBarBase *) x));
30560}
30561static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
30562 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
30563}
30564static void *_p_wxButtonTo_p_wxControl(void *x) {
30565 return (void *)((wxControl *) ((wxButton *) x));
30566}
30567static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
30568 return (void *)((wxControl *) ((wxSpinButton *) x));
30569}
30570static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
30571 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30572}
30573static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
30574 return (void *)((wxControl *) ((wxControlWithItems *) x));
30575}
30576static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
30577 return (void *)((wxControl *) ((wxRadioBox *) x));
30578}
30579static void *_p_wxNotebookTo_p_wxControl(void *x) {
30580 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
30581}
30582static void *_p_wxListbookTo_p_wxControl(void *x) {
30583 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
30584}
30585static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
30586 return (void *)((wxControl *) ((wxCheckBox *) x));
30587}
30588static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
30589 return (void *)((wxControl *) ((wxTextCtrl *) x));
30590}
30591static void *_p_wxListViewTo_p_wxControl(void *x) {
30592 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
30593}
30594static void *_p_wxSliderTo_p_wxControl(void *x) {
30595 return (void *)((wxControl *) ((wxSlider *) x));
30596}
30597static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
30598 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
30599}
30600static void *_p_wxPyControlTo_p_wxControl(void *x) {
30601 return (void *)((wxControl *) ((wxPyControl *) x));
30602}
30603static void *_p_wxStaticLineTo_p_wxControl(void *x) {
30604 return (void *)((wxControl *) ((wxStaticLine *) x));
30605}
30606static void *_p_wxStaticTextTo_p_wxControl(void *x) {
30607 return (void *)((wxControl *) ((wxStaticText *) x));
30608}
30609static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
30610 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
30611}
30612static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
30613 return (void *)((wxChoice *) ((wxComboBox *) x));
30614}
30615static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
30616 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
30617}
30618static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
30619 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
30620}
30621static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
30622 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30623}
30624static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
30625 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
30626}
30627static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
30628 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
30629}
30630static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
30631 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
30632}
30633static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
30634 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
30635}
30636static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
30637 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
30638}
30639static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
30640 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
30641}
30642static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
30643 return (void *)((wxEvtHandler *) ((wxValidator *) x));
30644}
30645static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
30646 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
30647}
30648static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
30649 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
30650}
30651static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
30652 return (void *)((wxEvtHandler *) ((wxMenu *) x));
30653}
30654static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
30655 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
30656}
30657static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
30658 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
30659}
30660static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
30661 return (void *)((wxEvtHandler *) ((wxWindow *) x));
30662}
30663static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
30664 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
30665}
30666static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
30667 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30668}
30669static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
30670 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30671}
30672static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
30673 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
30674}
30675static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
30676 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30677}
30678static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
30679 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
30680}
30681static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
30682 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
30683}
30684static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
30685 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30686}
30687static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
30688 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
30689}
30690static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
30691 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
30692}
30693static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
30694 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
30695}
30696static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
30697 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
30698}
30699static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
30700 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30701}
30702static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
30703 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30704}
30705static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
30706 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
30707}
30708static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
30709 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
30710}
30711static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
30712 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30713}
30714static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
30715 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30716}
30717static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
30718 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30719}
30720static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
30721 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30722}
30723static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
30724 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30725}
30726static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
30727 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30728}
30729static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
30730 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
30731}
30732static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
30733 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
30734}
30735static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
30736 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
30737}
30738static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
30739 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
30740}
30741static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
30742 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
30743}
30744static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
30745 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
30746}
30747static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
30748 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
30749}
30750static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
30751 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
30752}
30753static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
30754 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30755}
30756static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
30757 return (void *)((wxListBox *) ((wxCheckListBox *) x));
30758}
30759static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
30760 return (void *)((wxBookCtrl *) ((wxListbook *) x));
30761}
30762static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
30763 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
30764}
30765static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
30766 return (void *)((wxButton *) ((wxBitmapButton *) x));
30767}
30768static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
30769 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
30770}
30771static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
30772 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
30773}
30774static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
30775 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
30776}
30777static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
30778 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
30779}
30780static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
30781 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
30782}
30783static void *_p_wxSizerItemTo_p_wxObject(void *x) {
30784 return (void *)((wxObject *) ((wxSizerItem *) x));
30785}
30786static void *_p_wxScrollEventTo_p_wxObject(void *x) {
30787 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
30788}
30789static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
30790 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
30791}
30792static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
30793 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
30794}
30795static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
30796 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
30797}
30798static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
30799 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
30800}
30801static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
30802 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
30803}
30804static void *_p_wxSizerTo_p_wxObject(void *x) {
30805 return (void *)((wxObject *) ((wxSizer *) x));
30806}
30807static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
30808 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
30809}
30810static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
30811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
30812}
30813static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
30814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
30815}
30816static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
30817 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
30818}
30819static void *_p_wxEventTo_p_wxObject(void *x) {
30820 return (void *)((wxObject *) ((wxEvent *) x));
30821}
30822static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
30823 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
30824}
30825static void *_p_wxGridSizerTo_p_wxObject(void *x) {
30826 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
30827}
30828static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
30829 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
30830}
30831static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
30832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
30833}
30834static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
30835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
30836}
30837static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
30838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
30839}
30840static void *_p_wxPaintEventTo_p_wxObject(void *x) {
30841 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
30842}
30843static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
30844 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
30845}
30846static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
30847 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
30848}
30849static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
30850 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
30851}
30852static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
30853 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
30854}
30855static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
30856 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
30857}
30858static void *_p_wxStaticLineTo_p_wxObject(void *x) {
30859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
30860}
30861static void *_p_wxControlTo_p_wxObject(void *x) {
30862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
30863}
30864static void *_p_wxPyControlTo_p_wxObject(void *x) {
30865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
30866}
30867static void *_p_wxGaugeTo_p_wxObject(void *x) {
30868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
30869}
30870static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
30871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
30872}
30873static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
30874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
30875}
30876static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
30877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
30878}
30879static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
30880 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
30881}
30882static void *_p_wxChoiceTo_p_wxObject(void *x) {
30883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
30884}
30885static void *_p_wxFSFileTo_p_wxObject(void *x) {
30886 return (void *)((wxObject *) ((wxFSFile *) x));
30887}
30888static void *_p_wxPySizerTo_p_wxObject(void *x) {
30889 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
30890}
30891static void *_p_wxListViewTo_p_wxObject(void *x) {
30892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
30893}
30894static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
30895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
30896}
30897static void *_p_wxNotebookTo_p_wxObject(void *x) {
30898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
30899}
30900static void *_p_wxPyEventTo_p_wxObject(void *x) {
30901 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
30902}
30903static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
30904 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
30905}
30906static void *_p_wxListbookTo_p_wxObject(void *x) {
30907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
30908}
30909static void *_p_wxShowEventTo_p_wxObject(void *x) {
30910 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
30911}
30912static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
30913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
30914}
30915static void *_p_wxSliderTo_p_wxObject(void *x) {
30916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
30917}
30918static void *_p_wxMenuItemTo_p_wxObject(void *x) {
30919 return (void *)((wxObject *) ((wxMenuItem *) x));
30920}
30921static void *_p_wxIdleEventTo_p_wxObject(void *x) {
30922 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
30923}
30924static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
30925 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
30926}
30927static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
30928 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
30929}
30930static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
30931 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
30932}
30933static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
30934 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
30935}
30936static void *_p_wxSizeEventTo_p_wxObject(void *x) {
30937 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
30938}
30939static void *_p_wxMoveEventTo_p_wxObject(void *x) {
30940 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
30941}
30942static void *_p_wxActivateEventTo_p_wxObject(void *x) {
30943 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
30944}
30945static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
30946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
30947}
30948static void *_p_wxContextHelpTo_p_wxObject(void *x) {
30949 return (void *)((wxObject *) ((wxContextHelp *) x));
30950}
30951static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
30952 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
30953}
30954static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
30955 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
30956}
30957static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
30958 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
30959}
30960static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
30961 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
30962}
30963static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
30964 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
30965}
30966static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
30967 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
30968}
30969static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
30970 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
30971}
30972static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
30973 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
30974}
30975static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
30976 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
30977}
30978static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
30979 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
30980}
30981static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
30982 return (void *)((wxObject *) ((wxImageHandler *) x));
30983}
30984static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
30985 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
30986}
30987static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
30988 return (void *)((wxObject *) ((wxEvtHandler *) x));
30989}
30990static void *_p_wxListEventTo_p_wxObject(void *x) {
30991 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
30992}
30993static void *_p_wxListBoxTo_p_wxObject(void *x) {
30994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
30995}
30996static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
30997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
30998}
30999static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
31000 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
31001}
31002static void *_p_wxButtonTo_p_wxObject(void *x) {
31003 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
31004}
31005static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
31006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
31007}
31008static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
31009 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
31010}
31011static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
31012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31013}
31014static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
31015 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
31016}
31017static void *_p_wxScrollBarTo_p_wxObject(void *x) {
31018 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
31019}
31020static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
31021 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
31022}
31023static void *_p_wxComboBoxTo_p_wxObject(void *x) {
31024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
31025}
31026static void *_p_wxHelpEventTo_p_wxObject(void *x) {
31027 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
31028}
31029static void *_p_wxListItemTo_p_wxObject(void *x) {
31030 return (void *)((wxObject *) ((wxListItem *) x));
31031}
31032static void *_p_wxImageTo_p_wxObject(void *x) {
31033 return (void *)((wxObject *) ((wxImage *) x));
31034}
31035static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
31036 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
31037}
31038static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
31039 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
31040}
31041static void *_p_wxSpinEventTo_p_wxObject(void *x) {
31042 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
31043}
31044static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
31045 return (void *)((wxObject *) ((wxGenericDragImage *) x));
31046}
31047static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
31048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
31049}
31050static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
31051 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31052}
31053static void *_p_wxListbookEventTo_p_wxObject(void *x) {
31054 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31055}
31056static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
31057 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31058}
31059static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
31060 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
31061}
31062static void *_p_wxKeyEventTo_p_wxObject(void *x) {
31063 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
31064}
31065static void *_p_wxWindowTo_p_wxObject(void *x) {
31066 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
31067}
31068static void *_p_wxMenuTo_p_wxObject(void *x) {
31069 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
31070}
31071static void *_p_wxMenuBarTo_p_wxObject(void *x) {
31072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
31073}
31074static void *_p_wxFileSystemTo_p_wxObject(void *x) {
31075 return (void *)((wxObject *) ((wxFileSystem *) x));
31076}
31077static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
31078 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
31079}
31080static void *_p_wxMenuEventTo_p_wxObject(void *x) {
31081 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
31082}
31083static void *_p_wxPyAppTo_p_wxObject(void *x) {
31084 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
31085}
31086static void *_p_wxCloseEventTo_p_wxObject(void *x) {
31087 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
31088}
31089static void *_p_wxMouseEventTo_p_wxObject(void *x) {
31090 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
31091}
31092static void *_p_wxEraseEventTo_p_wxObject(void *x) {
31093 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
31094}
31095static void *_p_wxTreeEventTo_p_wxObject(void *x) {
31096 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
31097}
31098static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
31099 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
31100}
31101static void *_p_wxCommandEventTo_p_wxObject(void *x) {
31102 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
31103}
31104static void *_p_wxStaticTextTo_p_wxObject(void *x) {
31105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
31106}
31107static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
31108 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
31109}
31110static void *_p_wxFocusEventTo_p_wxObject(void *x) {
31111 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
31112}
31113static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
31114 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
31115}
31116static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
31117 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
31118}
31119static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
31120 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
31121}
31122static void *_p_wxToolBarTo_p_wxObject(void *x) {
31123 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31124}
31125static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
31126 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
31127}
31128static void *_p_wxValidatorTo_p_wxObject(void *x) {
31129 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
31130}
31131static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
31132 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
31133}
31134static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
31135 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
31136}
31137static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
31138 return (void *)((wxWindow *) ((wxMenuBar *) x));
31139}
31140static void *_p_wxToolBarTo_p_wxWindow(void *x) {
31141 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
31142}
31143static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
31144 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
31145}
31146static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
31147 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
31148}
31149static void *_p_wxPyControlTo_p_wxWindow(void *x) {
31150 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
31151}
31152static void *_p_wxControlTo_p_wxWindow(void *x) {
31153 return (void *)((wxWindow *) ((wxControl *) x));
31154}
31155static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
31156 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
31157}
31158static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
31159 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
31160}
31161static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
31162 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
31163}
31164static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
31165 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
31166}
31167static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
31168 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
31169}
31170static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
31171 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
31172}
31173static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
31174 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
31175}
31176static void *_p_wxGaugeTo_p_wxWindow(void *x) {
31177 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
31178}
31179static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
31180 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
31181}
31182static void *_p_wxListbookTo_p_wxWindow(void *x) {
31183 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
31184}
31185static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
31186 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
31187}
31188static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
31189 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
31190}
31191static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
31192 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
31193}
31194static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
31195 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
31196}
31197static void *_p_wxChoiceTo_p_wxWindow(void *x) {
31198 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
31199}
31200static void *_p_wxListBoxTo_p_wxWindow(void *x) {
31201 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
31202}
31203static void *_p_wxListViewTo_p_wxWindow(void *x) {
31204 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
31205}
31206static void *_p_wxNotebookTo_p_wxWindow(void *x) {
31207 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
31208}
31209static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
31210 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
31211}
31212static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
31213 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
31214}
31215static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
31216 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
31217}
31218static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
31219 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
31220}
31221static void *_p_wxSliderTo_p_wxWindow(void *x) {
31222 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
31223}
31224static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
31225 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
31226}
31227static void *_p_wxButtonTo_p_wxWindow(void *x) {
31228 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
31229}
31230static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
31231 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
31232}
31233static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
31234 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
31235}
31236static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
31237 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
31238}
31239static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
31240 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
31241}
31242static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
31243 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
31244}
31245static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
31246 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
31247}
31248static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
31249 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
31250}
31251static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
31252 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
31253}
31254static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
31255 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
31256}
31257static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
31258 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
31259}
31260static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
31261 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
31262}
31263static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
31264 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
31265}
31266static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
31267 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
31268}
31269static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
31270 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
31271}
31272static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
31273 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
31274}
31275static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
31276 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
31277}
31278static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
31279 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
31280}
31281static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
31282 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
31283}
31284static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
31285 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
31286}
31287static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
31288 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
31289}
31290static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
31291 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
31292}
31293static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
31294 return (void *)((wxControlWithItems *) ((wxChoice *) x));
31295}
31296static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
31297 return (void *)((wxControlWithItems *) ((wxListBox *) x));
31298}
31299static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
31300 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
31301}
31302static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
31303 return (void *)((wxValidator *) ((wxPyValidator *) x));
31304}
31305static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
31306static swig_type_info _swigt__p_wxBookCtrlEvent[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0},{"_p_wxBookCtrlEvent"},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent},{0}};
31307static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0},{"_p_wxSizer"},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer},{0}};
31308static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
31309static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
31310static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
31311static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
31312static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
31313static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
31314static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
31315static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
31316static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
31317static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
31318static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl},{"_p_wxControl"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl},{"_p_wxListbook", _p_wxListbookTo_p_wxControl},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl},{"_p_wxListView", _p_wxListViewTo_p_wxControl},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl},{"_p_wxSlider", _p_wxSliderTo_p_wxControl},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl},{"_p_wxButton", _p_wxButtonTo_p_wxControl},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl},{0}};
31319static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
31320static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
31321static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
31322static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
31323static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
31324static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
31325static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
31326static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
31327static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
31328static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
31329static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
31330static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
31331static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
31332static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
31333static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
31334static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
31335static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
31336static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
31337static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
31338static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
31339static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
31340static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
31341static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
31342static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
31343static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
31344static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
31345static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler},{0}};
31346static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
31347static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
31348static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
31349static swig_type_info _swigt__p_wxBookCtrl[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl},{"_p_wxBookCtrl"},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl},{0}};
31350static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
31351static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0},{"_p_wxButton"},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton},{0}};
31352static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
31353static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
31354static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
31355static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
31356static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
31357static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
31358static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
31359static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
31360static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
31361static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
31362static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
31363static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
31364static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
31365static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
31366static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
31367static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
31368static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
31369static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
31370static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
31371static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
31372static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
31373static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
31374static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
31375static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
31376static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow},{"_p_wxListView", _p_wxListViewTo_p_wxWindow},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow},{"_p_wxButton", _p_wxButtonTo_p_wxWindow},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow},{0}};
31377static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
31378static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
31379static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
31380static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
31381static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{0}};
31382static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
31383static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
31384static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
31385static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
31386static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
31387static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
31388static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
31389
31390static swig_type_info *swig_types_initial[] = {
31391_swigt__p_wxTextUrlEvent,
31392_swigt__p_wxBookCtrlEvent,
31393_swigt__p_wxSizer,
31394_swigt__p_wxCheckBox,
31395_swigt__p_wxPyTreeCtrl,
31396_swigt__p_wxEvent,
31397_swigt__p_wxGenericDirCtrl,
31398_swigt__p_bool,
31399_swigt__p_wxPyTreeItemData,
31400_swigt__p_wxItemContainer,
31401_swigt__p_wxDirFilterListCtrl,
31402_swigt__p_wxPyListCtrl,
31403_swigt__p_wxStaticLine,
31404_swigt__p_wxControl,
31405_swigt__p_wxPyControl,
31406_swigt__p_wxGauge,
31407_swigt__p_wxToolBarBase,
31408_swigt__p_wxFont,
31409_swigt__p_wxToggleButton,
31410_swigt__p_wxRadioButton,
31411_swigt__p_wxChoice,
31412_swigt__p_wxMemoryDC,
31413_swigt__p_wxListItemAttr,
31414_swigt__p_void,
31415_swigt__p_int,
31416_swigt__p_wxSize,
31417_swigt__p_wxDC,
31418_swigt__p_wxListView,
31419_swigt__p_wxIcon,
31420_swigt__p_wxTextCtrl,
31421_swigt__p_wxNotebook,
31422_swigt__p_wxNotifyEvent,
31423_swigt__p_wxArrayString,
31424_swigt__p_wxListbook,
31425_swigt__p_wxStaticBitmap,
31426_swigt__p_wxSlider,
31427_swigt__p_wxStaticBox,
31428_swigt__p_wxArrayInt,
31429_swigt__p_wxContextHelp,
31430_swigt__p_long,
31431_swigt__p_wxEvtHandler,
31432_swigt__p_wxListEvent,
31433_swigt__p_wxListBox,
31434_swigt__p_wxCheckListBox,
31435_swigt__p_wxBookCtrl,
31436_swigt__p_wxSpinButton,
31437_swigt__p_wxButton,
31438_swigt__p_wxBitmapButton,
31439_swigt__p_wxRect,
31440_swigt__p_wxContextHelpButton,
31441_swigt__p_wxRadioBox,
31442_swigt__p_wxScrollBar,
31443_swigt__p_char,
31444_swigt__p_wxTreeItemId,
31445_swigt__p_wxComboBox,
31446_swigt__p_wxHelpEvent,
31447_swigt__p_wxListItem,
31448_swigt__p_wxNotebookSizer,
31449_swigt__p_wxSpinEvent,
31450_swigt__p_wxGenericDragImage,
31451_swigt__p_wxSpinCtrl,
31452_swigt__p_wxImageList,
31453_swigt__p_wxHelpProvider,
31454_swigt__p_wxTextAttr,
31455_swigt__p_wxSimpleHelpProvider,
31456_swigt__p_wxPoint,
31457_swigt__p_wxListbookEvent,
31458_swigt__p_wxNotebookEvent,
31459_swigt__p_wxObject,
31460_swigt__p_wxCursor,
31461_swigt__p_wxKeyEvent,
31462_swigt__p_wxWindow,
31463_swigt__p_wxString,
31464_swigt__p_wxBitmap,
31465_swigt__p_wxTreeEvent,
31466_swigt__p_wxMouseEvent,
31467_swigt__p_wxCommandEvent,
31468_swigt__p_wxStaticText,
31469_swigt__p_wxControlWithItems,
31470_swigt__p_wxToolBarToolBase,
31471_swigt__p_wxColour,
31472_swigt__p_wxToolBar,
31473_swigt__p_wxBookCtrlSizer,
31474_swigt__p_wxValidator,
314750
31476};
31477
31478
31479/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
31480
31481static swig_const_info swig_const_table[] = {
31482{0}};
31483
31484#ifdef __cplusplus
31485}
31486#endif
31487
31488#ifdef __cplusplus
31489extern "C"
31490#endif
31491SWIGEXPORT(void) SWIG_init(void) {
31492 static PyObject *SWIG_globals = 0;
31493 static int typeinit = 0;
31494 PyObject *m, *d;
31495 int i;
31496 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
31497 m = Py_InitModule((char *) SWIG_name, SwigMethods);
31498 d = PyModule_GetDict(m);
31499
31500 if (!typeinit) {
31501 for (i = 0; swig_types_initial[i]; i++) {
31502 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
31503 }
31504 typeinit = 1;
31505 }
31506 SWIG_InstallConstants(d,swig_const_table);
31507
31508 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
31509 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
31510 PyDict_SetItemString(d,"BU_LEFT", SWIG_PyObj_FromInt((int)wxBU_LEFT));
31511 PyDict_SetItemString(d,"BU_TOP", SWIG_PyObj_FromInt((int)wxBU_TOP));
31512 PyDict_SetItemString(d,"BU_RIGHT", SWIG_PyObj_FromInt((int)wxBU_RIGHT));
31513 PyDict_SetItemString(d,"BU_BOTTOM", SWIG_PyObj_FromInt((int)wxBU_BOTTOM));
31514 PyDict_SetItemString(d,"BU_EXACTFIT", SWIG_PyObj_FromInt((int)wxBU_EXACTFIT));
31515 PyDict_SetItemString(d,"BU_AUTODRAW", SWIG_PyObj_FromInt((int)wxBU_AUTODRAW));
31516 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
31517 PyDict_SetItemString(d,"CHK_2STATE", SWIG_PyObj_FromInt((int)wxCHK_2STATE));
31518 PyDict_SetItemString(d,"CHK_3STATE", SWIG_PyObj_FromInt((int)wxCHK_3STATE));
31519 PyDict_SetItemString(d,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_PyObj_FromInt((int)wxCHK_ALLOW_3RD_STATE_FOR_USER));
31520 PyDict_SetItemString(d,"CHK_UNCHECKED", SWIG_PyObj_FromInt((int)wxCHK_UNCHECKED));
31521 PyDict_SetItemString(d,"CHK_CHECKED", SWIG_PyObj_FromInt((int)wxCHK_CHECKED));
31522 PyDict_SetItemString(d,"CHK_UNDETERMINED", SWIG_PyObj_FromInt((int)wxCHK_UNDETERMINED));
31523 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
31524 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
31525 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
31526 PyDict_SetItemString(d,"GA_HORIZONTAL", SWIG_PyObj_FromInt((int)wxGA_HORIZONTAL));
31527 PyDict_SetItemString(d,"GA_VERTICAL", SWIG_PyObj_FromInt((int)wxGA_VERTICAL));
31528 PyDict_SetItemString(d,"GA_SMOOTH", SWIG_PyObj_FromInt((int)wxGA_SMOOTH));
31529 PyDict_SetItemString(d,"GA_PROGRESSBAR", SWIG_PyObj_FromInt((int)wxGA_PROGRESSBAR));
31530 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
31531 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
31532 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
31533 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
31534 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
31535 PyDict_SetItemString(d,"TE_NO_VSCROLL", SWIG_PyObj_FromInt((int)wxTE_NO_VSCROLL));
31536 PyDict_SetItemString(d,"TE_AUTO_SCROLL", SWIG_PyObj_FromInt((int)wxTE_AUTO_SCROLL));
31537 PyDict_SetItemString(d,"TE_READONLY", SWIG_PyObj_FromInt((int)wxTE_READONLY));
31538 PyDict_SetItemString(d,"TE_MULTILINE", SWIG_PyObj_FromInt((int)wxTE_MULTILINE));
31539 PyDict_SetItemString(d,"TE_PROCESS_TAB", SWIG_PyObj_FromInt((int)wxTE_PROCESS_TAB));
31540 PyDict_SetItemString(d,"TE_LEFT", SWIG_PyObj_FromInt((int)wxTE_LEFT));
31541 PyDict_SetItemString(d,"TE_CENTER", SWIG_PyObj_FromInt((int)wxTE_CENTER));
31542 PyDict_SetItemString(d,"TE_RIGHT", SWIG_PyObj_FromInt((int)wxTE_RIGHT));
31543 PyDict_SetItemString(d,"TE_CENTRE", SWIG_PyObj_FromInt((int)wxTE_CENTRE));
31544 PyDict_SetItemString(d,"TE_RICH", SWIG_PyObj_FromInt((int)wxTE_RICH));
31545 PyDict_SetItemString(d,"TE_PROCESS_ENTER", SWIG_PyObj_FromInt((int)wxTE_PROCESS_ENTER));
31546 PyDict_SetItemString(d,"TE_PASSWORD", SWIG_PyObj_FromInt((int)wxTE_PASSWORD));
31547 PyDict_SetItemString(d,"TE_AUTO_URL", SWIG_PyObj_FromInt((int)wxTE_AUTO_URL));
31548 PyDict_SetItemString(d,"TE_NOHIDESEL", SWIG_PyObj_FromInt((int)wxTE_NOHIDESEL));
31549 PyDict_SetItemString(d,"TE_DONTWRAP", SWIG_PyObj_FromInt((int)wxTE_DONTWRAP));
31550 PyDict_SetItemString(d,"TE_LINEWRAP", SWIG_PyObj_FromInt((int)wxTE_LINEWRAP));
31551 PyDict_SetItemString(d,"TE_WORDWRAP", SWIG_PyObj_FromInt((int)wxTE_WORDWRAP));
31552 PyDict_SetItemString(d,"TE_RICH2", SWIG_PyObj_FromInt((int)wxTE_RICH2));
31553 PyDict_SetItemString(d,"TEXT_ALIGNMENT_DEFAULT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_DEFAULT));
31554 PyDict_SetItemString(d,"TEXT_ALIGNMENT_LEFT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_LEFT));
31555 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTRE", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTRE));
31556 PyDict_SetItemString(d,"TEXT_ALIGNMENT_CENTER", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_CENTER));
31557 PyDict_SetItemString(d,"TEXT_ALIGNMENT_RIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_RIGHT));
31558 PyDict_SetItemString(d,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_PyObj_FromInt((int)wxTEXT_ALIGNMENT_JUSTIFIED));
31559 PyDict_SetItemString(d,"TEXT_ATTR_TEXT_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TEXT_COLOUR));
31560 PyDict_SetItemString(d,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_BACKGROUND_COLOUR));
31561 PyDict_SetItemString(d,"TEXT_ATTR_FONT_FACE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_FACE));
31562 PyDict_SetItemString(d,"TEXT_ATTR_FONT_SIZE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_SIZE));
31563 PyDict_SetItemString(d,"TEXT_ATTR_FONT_WEIGHT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_WEIGHT));
31564 PyDict_SetItemString(d,"TEXT_ATTR_FONT_ITALIC", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_ITALIC));
31565 PyDict_SetItemString(d,"TEXT_ATTR_FONT_UNDERLINE", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT_UNDERLINE));
31566 PyDict_SetItemString(d,"TEXT_ATTR_FONT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_FONT));
31567 PyDict_SetItemString(d,"TEXT_ATTR_ALIGNMENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_ALIGNMENT));
31568 PyDict_SetItemString(d,"TEXT_ATTR_LEFT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_LEFT_INDENT));
31569 PyDict_SetItemString(d,"TEXT_ATTR_RIGHT_INDENT", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_RIGHT_INDENT));
31570 PyDict_SetItemString(d,"TEXT_ATTR_TABS", SWIG_PyObj_FromInt((int)wxTEXT_ATTR_TABS));
31571 PyDict_SetItemString(d,"TE_HT_UNKNOWN", SWIG_PyObj_FromInt((int)wxTE_HT_UNKNOWN));
31572 PyDict_SetItemString(d,"TE_HT_BEFORE", SWIG_PyObj_FromInt((int)wxTE_HT_BEFORE));
31573 PyDict_SetItemString(d,"TE_HT_ON_TEXT", SWIG_PyObj_FromInt((int)wxTE_HT_ON_TEXT));
31574 PyDict_SetItemString(d,"TE_HT_BELOW", SWIG_PyObj_FromInt((int)wxTE_HT_BELOW));
31575 PyDict_SetItemString(d,"TE_HT_BEYOND", SWIG_PyObj_FromInt((int)wxTE_HT_BEYOND));
31576 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
31577 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
31578 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
31579 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
31580 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
31581 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
31582 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
31583 PyDict_SetItemString(d,"SP_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSP_HORIZONTAL));
31584 PyDict_SetItemString(d,"SP_VERTICAL", SWIG_PyObj_FromInt((int)wxSP_VERTICAL));
31585 PyDict_SetItemString(d,"SP_ARROW_KEYS", SWIG_PyObj_FromInt((int)wxSP_ARROW_KEYS));
31586 PyDict_SetItemString(d,"SP_WRAP", SWIG_PyObj_FromInt((int)wxSP_WRAP));
31587 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
31588 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
31589 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
31590 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
31591 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
31592 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
31593 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
31594 PyDict_SetItemString(d,"NB_FIXEDWIDTH", SWIG_PyObj_FromInt((int)wxNB_FIXEDWIDTH));
31595 PyDict_SetItemString(d,"NB_TOP", SWIG_PyObj_FromInt((int)wxNB_TOP));
31596 PyDict_SetItemString(d,"NB_LEFT", SWIG_PyObj_FromInt((int)wxNB_LEFT));
31597 PyDict_SetItemString(d,"NB_RIGHT", SWIG_PyObj_FromInt((int)wxNB_RIGHT));
31598 PyDict_SetItemString(d,"NB_BOTTOM", SWIG_PyObj_FromInt((int)wxNB_BOTTOM));
31599 PyDict_SetItemString(d,"NB_MULTILINE", SWIG_PyObj_FromInt((int)wxNB_MULTILINE));
31600 PyDict_SetItemString(d,"NB_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxNB_HITTEST_NOWHERE));
31601 PyDict_SetItemString(d,"NB_HITTEST_ONICON", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONICON));
31602 PyDict_SetItemString(d,"NB_HITTEST_ONLABEL", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONLABEL));
31603 PyDict_SetItemString(d,"NB_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxNB_HITTEST_ONITEM));
31604 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
31605 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
31606 PyDict_SetItemString(d,"LB_DEFAULT", SWIG_PyObj_FromInt((int)wxLB_DEFAULT));
31607 PyDict_SetItemString(d,"LB_TOP", SWIG_PyObj_FromInt((int)wxLB_TOP));
31608 PyDict_SetItemString(d,"LB_BOTTOM", SWIG_PyObj_FromInt((int)wxLB_BOTTOM));
31609 PyDict_SetItemString(d,"LB_LEFT", SWIG_PyObj_FromInt((int)wxLB_LEFT));
31610 PyDict_SetItemString(d,"LB_RIGHT", SWIG_PyObj_FromInt((int)wxLB_RIGHT));
31611 PyDict_SetItemString(d,"LB_ALIGN_MASK", SWIG_PyObj_FromInt((int)wxLB_ALIGN_MASK));
31612 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
31613 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
31614 PyDict_SetItemString(d,"TOOL_STYLE_BUTTON", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_BUTTON));
31615 PyDict_SetItemString(d,"TOOL_STYLE_SEPARATOR", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_SEPARATOR));
31616 PyDict_SetItemString(d,"TOOL_STYLE_CONTROL", SWIG_PyObj_FromInt((int)wxTOOL_STYLE_CONTROL));
31617 PyDict_SetItemString(d,"TB_HORIZONTAL", SWIG_PyObj_FromInt((int)wxTB_HORIZONTAL));
31618 PyDict_SetItemString(d,"TB_VERTICAL", SWIG_PyObj_FromInt((int)wxTB_VERTICAL));
31619 PyDict_SetItemString(d,"TB_3DBUTTONS", SWIG_PyObj_FromInt((int)wxTB_3DBUTTONS));
31620 PyDict_SetItemString(d,"TB_FLAT", SWIG_PyObj_FromInt((int)wxTB_FLAT));
31621 PyDict_SetItemString(d,"TB_DOCKABLE", SWIG_PyObj_FromInt((int)wxTB_DOCKABLE));
31622 PyDict_SetItemString(d,"TB_NOICONS", SWIG_PyObj_FromInt((int)wxTB_NOICONS));
31623 PyDict_SetItemString(d,"TB_TEXT", SWIG_PyObj_FromInt((int)wxTB_TEXT));
31624 PyDict_SetItemString(d,"TB_NODIVIDER", SWIG_PyObj_FromInt((int)wxTB_NODIVIDER));
31625 PyDict_SetItemString(d,"TB_NOALIGN", SWIG_PyObj_FromInt((int)wxTB_NOALIGN));
31626 PyDict_SetItemString(d,"TB_HORZ_LAYOUT", SWIG_PyObj_FromInt((int)wxTB_HORZ_LAYOUT));
31627 PyDict_SetItemString(d,"TB_HORZ_TEXT", SWIG_PyObj_FromInt((int)wxTB_HORZ_TEXT));
31628 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
31629 PyDict_SetItemString(d,"LC_VRULES", SWIG_PyObj_FromInt((int)wxLC_VRULES));
31630 PyDict_SetItemString(d,"LC_HRULES", SWIG_PyObj_FromInt((int)wxLC_HRULES));
31631 PyDict_SetItemString(d,"LC_ICON", SWIG_PyObj_FromInt((int)wxLC_ICON));
31632 PyDict_SetItemString(d,"LC_SMALL_ICON", SWIG_PyObj_FromInt((int)wxLC_SMALL_ICON));
31633 PyDict_SetItemString(d,"LC_LIST", SWIG_PyObj_FromInt((int)wxLC_LIST));
31634 PyDict_SetItemString(d,"LC_REPORT", SWIG_PyObj_FromInt((int)wxLC_REPORT));
31635 PyDict_SetItemString(d,"LC_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLC_ALIGN_TOP));
31636 PyDict_SetItemString(d,"LC_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLC_ALIGN_LEFT));
31637 PyDict_SetItemString(d,"LC_AUTOARRANGE", SWIG_PyObj_FromInt((int)wxLC_AUTOARRANGE));
31638 PyDict_SetItemString(d,"LC_VIRTUAL", SWIG_PyObj_FromInt((int)wxLC_VIRTUAL));
31639 PyDict_SetItemString(d,"LC_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxLC_EDIT_LABELS));
31640 PyDict_SetItemString(d,"LC_NO_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_HEADER));
31641 PyDict_SetItemString(d,"LC_NO_SORT_HEADER", SWIG_PyObj_FromInt((int)wxLC_NO_SORT_HEADER));
31642 PyDict_SetItemString(d,"LC_SINGLE_SEL", SWIG_PyObj_FromInt((int)wxLC_SINGLE_SEL));
31643 PyDict_SetItemString(d,"LC_SORT_ASCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_ASCENDING));
31644 PyDict_SetItemString(d,"LC_SORT_DESCENDING", SWIG_PyObj_FromInt((int)wxLC_SORT_DESCENDING));
31645 PyDict_SetItemString(d,"LC_MASK_TYPE", SWIG_PyObj_FromInt((int)wxLC_MASK_TYPE));
31646 PyDict_SetItemString(d,"LC_MASK_ALIGN", SWIG_PyObj_FromInt((int)wxLC_MASK_ALIGN));
31647 PyDict_SetItemString(d,"LC_MASK_SORT", SWIG_PyObj_FromInt((int)wxLC_MASK_SORT));
31648 PyDict_SetItemString(d,"LIST_MASK_STATE", SWIG_PyObj_FromInt((int)wxLIST_MASK_STATE));
31649 PyDict_SetItemString(d,"LIST_MASK_TEXT", SWIG_PyObj_FromInt((int)wxLIST_MASK_TEXT));
31650 PyDict_SetItemString(d,"LIST_MASK_IMAGE", SWIG_PyObj_FromInt((int)wxLIST_MASK_IMAGE));
31651 PyDict_SetItemString(d,"LIST_MASK_DATA", SWIG_PyObj_FromInt((int)wxLIST_MASK_DATA));
31652 PyDict_SetItemString(d,"LIST_SET_ITEM", SWIG_PyObj_FromInt((int)wxLIST_SET_ITEM));
31653 PyDict_SetItemString(d,"LIST_MASK_WIDTH", SWIG_PyObj_FromInt((int)wxLIST_MASK_WIDTH));
31654 PyDict_SetItemString(d,"LIST_MASK_FORMAT", SWIG_PyObj_FromInt((int)wxLIST_MASK_FORMAT));
31655 PyDict_SetItemString(d,"LIST_STATE_DONTCARE", SWIG_PyObj_FromInt((int)wxLIST_STATE_DONTCARE));
31656 PyDict_SetItemString(d,"LIST_STATE_DROPHILITED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DROPHILITED));
31657 PyDict_SetItemString(d,"LIST_STATE_FOCUSED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FOCUSED));
31658 PyDict_SetItemString(d,"LIST_STATE_SELECTED", SWIG_PyObj_FromInt((int)wxLIST_STATE_SELECTED));
31659 PyDict_SetItemString(d,"LIST_STATE_CUT", SWIG_PyObj_FromInt((int)wxLIST_STATE_CUT));
31660 PyDict_SetItemString(d,"LIST_STATE_DISABLED", SWIG_PyObj_FromInt((int)wxLIST_STATE_DISABLED));
31661 PyDict_SetItemString(d,"LIST_STATE_FILTERED", SWIG_PyObj_FromInt((int)wxLIST_STATE_FILTERED));
31662 PyDict_SetItemString(d,"LIST_STATE_INUSE", SWIG_PyObj_FromInt((int)wxLIST_STATE_INUSE));
31663 PyDict_SetItemString(d,"LIST_STATE_PICKED", SWIG_PyObj_FromInt((int)wxLIST_STATE_PICKED));
31664 PyDict_SetItemString(d,"LIST_STATE_SOURCE", SWIG_PyObj_FromInt((int)wxLIST_STATE_SOURCE));
31665 PyDict_SetItemString(d,"LIST_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ABOVE));
31666 PyDict_SetItemString(d,"LIST_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_BELOW));
31667 PyDict_SetItemString(d,"LIST_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_NOWHERE));
31668 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMICON));
31669 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMLABEL));
31670 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMRIGHT));
31671 PyDict_SetItemString(d,"LIST_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEMSTATEICON));
31672 PyDict_SetItemString(d,"LIST_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TOLEFT));
31673 PyDict_SetItemString(d,"LIST_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_TORIGHT));
31674 PyDict_SetItemString(d,"LIST_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxLIST_HITTEST_ONITEM));
31675 PyDict_SetItemString(d,"LIST_NEXT_ABOVE", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ABOVE));
31676 PyDict_SetItemString(d,"LIST_NEXT_ALL", SWIG_PyObj_FromInt((int)wxLIST_NEXT_ALL));
31677 PyDict_SetItemString(d,"LIST_NEXT_BELOW", SWIG_PyObj_FromInt((int)wxLIST_NEXT_BELOW));
31678 PyDict_SetItemString(d,"LIST_NEXT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_LEFT));
31679 PyDict_SetItemString(d,"LIST_NEXT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_NEXT_RIGHT));
31680 PyDict_SetItemString(d,"LIST_ALIGN_DEFAULT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_DEFAULT));
31681 PyDict_SetItemString(d,"LIST_ALIGN_LEFT", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_LEFT));
31682 PyDict_SetItemString(d,"LIST_ALIGN_TOP", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_TOP));
31683 PyDict_SetItemString(d,"LIST_ALIGN_SNAP_TO_GRID", SWIG_PyObj_FromInt((int)wxLIST_ALIGN_SNAP_TO_GRID));
31684 PyDict_SetItemString(d,"LIST_FORMAT_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_LEFT));
31685 PyDict_SetItemString(d,"LIST_FORMAT_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_RIGHT));
31686 PyDict_SetItemString(d,"LIST_FORMAT_CENTRE", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTRE));
31687 PyDict_SetItemString(d,"LIST_FORMAT_CENTER", SWIG_PyObj_FromInt((int)wxLIST_FORMAT_CENTER));
31688 PyDict_SetItemString(d,"LIST_AUTOSIZE", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE));
31689 PyDict_SetItemString(d,"LIST_AUTOSIZE_USEHEADER", SWIG_PyObj_FromInt((int)wxLIST_AUTOSIZE_USEHEADER));
31690 PyDict_SetItemString(d,"LIST_RECT_BOUNDS", SWIG_PyObj_FromInt((int)wxLIST_RECT_BOUNDS));
31691 PyDict_SetItemString(d,"LIST_RECT_ICON", SWIG_PyObj_FromInt((int)wxLIST_RECT_ICON));
31692 PyDict_SetItemString(d,"LIST_RECT_LABEL", SWIG_PyObj_FromInt((int)wxLIST_RECT_LABEL));
31693 PyDict_SetItemString(d,"LIST_FIND_UP", SWIG_PyObj_FromInt((int)wxLIST_FIND_UP));
31694 PyDict_SetItemString(d,"LIST_FIND_DOWN", SWIG_PyObj_FromInt((int)wxLIST_FIND_DOWN));
31695 PyDict_SetItemString(d,"LIST_FIND_LEFT", SWIG_PyObj_FromInt((int)wxLIST_FIND_LEFT));
31696 PyDict_SetItemString(d,"LIST_FIND_RIGHT", SWIG_PyObj_FromInt((int)wxLIST_FIND_RIGHT));
31697 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
31698 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
31699 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
31700 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
31701 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
31702 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
31703 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
31704 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
31705 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
31706 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
31707 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
31708 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
31709 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
31710 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
31711 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
31712 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
31713 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
31714 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
31715 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
31716 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
31717 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
31718 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
31719
31720 // Map renamed classes back to their common name for OOR
31721 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
31722
31723 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
31724 PyDict_SetItemString(d,"TR_NO_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_NO_BUTTONS));
31725 PyDict_SetItemString(d,"TR_HAS_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_HAS_BUTTONS));
31726 PyDict_SetItemString(d,"TR_NO_LINES", SWIG_PyObj_FromInt((int)wxTR_NO_LINES));
31727 PyDict_SetItemString(d,"TR_LINES_AT_ROOT", SWIG_PyObj_FromInt((int)wxTR_LINES_AT_ROOT));
31728 PyDict_SetItemString(d,"TR_SINGLE", SWIG_PyObj_FromInt((int)wxTR_SINGLE));
31729 PyDict_SetItemString(d,"TR_MULTIPLE", SWIG_PyObj_FromInt((int)wxTR_MULTIPLE));
31730 PyDict_SetItemString(d,"TR_EXTENDED", SWIG_PyObj_FromInt((int)wxTR_EXTENDED));
31731 PyDict_SetItemString(d,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_PyObj_FromInt((int)wxTR_HAS_VARIABLE_ROW_HEIGHT));
31732 PyDict_SetItemString(d,"TR_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxTR_EDIT_LABELS));
31733 PyDict_SetItemString(d,"TR_HIDE_ROOT", SWIG_PyObj_FromInt((int)wxTR_HIDE_ROOT));
31734 PyDict_SetItemString(d,"TR_ROW_LINES", SWIG_PyObj_FromInt((int)wxTR_ROW_LINES));
31735 PyDict_SetItemString(d,"TR_FULL_ROW_HIGHLIGHT", SWIG_PyObj_FromInt((int)wxTR_FULL_ROW_HIGHLIGHT));
31736 PyDict_SetItemString(d,"TR_DEFAULT_STYLE", SWIG_PyObj_FromInt((int)wxTR_DEFAULT_STYLE));
31737 PyDict_SetItemString(d,"TR_TWIST_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_TWIST_BUTTONS));
31738 PyDict_SetItemString(d,"TR_MAC_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_MAC_BUTTONS));
31739 PyDict_SetItemString(d,"TR_AQUA_BUTTONS", SWIG_PyObj_FromInt((int)wxTR_AQUA_BUTTONS));
31740 PyDict_SetItemString(d,"TreeItemIcon_Normal", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Normal));
31741 PyDict_SetItemString(d,"TreeItemIcon_Selected", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Selected));
31742 PyDict_SetItemString(d,"TreeItemIcon_Expanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Expanded));
31743 PyDict_SetItemString(d,"TreeItemIcon_SelectedExpanded", SWIG_PyObj_FromInt((int)wxTreeItemIcon_SelectedExpanded));
31744 PyDict_SetItemString(d,"TreeItemIcon_Max", SWIG_PyObj_FromInt((int)wxTreeItemIcon_Max));
31745 PyDict_SetItemString(d,"TREE_HITTEST_ABOVE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ABOVE));
31746 PyDict_SetItemString(d,"TREE_HITTEST_BELOW", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_BELOW));
31747 PyDict_SetItemString(d,"TREE_HITTEST_NOWHERE", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_NOWHERE));
31748 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMBUTTON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMBUTTON));
31749 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMICON));
31750 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMINDENT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMINDENT));
31751 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLABEL", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLABEL));
31752 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMRIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMRIGHT));
31753 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMSTATEICON", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMSTATEICON));
31754 PyDict_SetItemString(d,"TREE_HITTEST_TOLEFT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TOLEFT));
31755 PyDict_SetItemString(d,"TREE_HITTEST_TORIGHT", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_TORIGHT));
31756 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMUPPERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMUPPERPART));
31757 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMLOWERPART", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEMLOWERPART));
31758 PyDict_SetItemString(d,"TREE_HITTEST_ONITEM", SWIG_PyObj_FromInt((int)wxTREE_HITTEST_ONITEM));
31759 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
31760 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
31761 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
31762 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
31763 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
31764 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
31765 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
31766 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
31767 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
31768 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
31769 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
31770 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
31771 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
31772 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
31773 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
31774 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
31775 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
31776 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
31777 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
31778 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
31779
31780 // Map renamed classes back to their common name for OOR
31781 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
31782 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
31783
31784 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
31785 PyDict_SetItemString(d,"DIRCTRL_DIR_ONLY", SWIG_PyObj_FromInt((int)wxDIRCTRL_DIR_ONLY));
31786 PyDict_SetItemString(d,"DIRCTRL_SELECT_FIRST", SWIG_PyObj_FromInt((int)wxDIRCTRL_SELECT_FIRST));
31787 PyDict_SetItemString(d,"DIRCTRL_SHOW_FILTERS", SWIG_PyObj_FromInt((int)wxDIRCTRL_SHOW_FILTERS));
31788 PyDict_SetItemString(d,"DIRCTRL_3D_INTERNAL", SWIG_PyObj_FromInt((int)wxDIRCTRL_3D_INTERNAL));
31789 PyDict_SetItemString(d,"DIRCTRL_EDIT_LABELS", SWIG_PyObj_FromInt((int)wxDIRCTRL_EDIT_LABELS));
31790 PyDict_SetItemString(d,"FRAME_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxFRAME_EX_CONTEXTHELP));
31791 PyDict_SetItemString(d,"DIALOG_EX_CONTEXTHELP", SWIG_PyObj_FromInt((int)wxDIALOG_EX_CONTEXTHELP));
31792 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
31793 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
31794
31795 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
31796
31797}
31798