]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / controls_wrap.cpp
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
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
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; }
25 private:
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
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef 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
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #include <limits.h>
141 #include <float.h>
142
143 #ifdef __cplusplus
144 #define SWIG_STATIC_INLINE static inline
145 #else
146 #define SWIG_STATIC_INLINE static
147 #endif
148
149 SWIG_STATIC_INLINE long
150 SPyObj_AsLong(PyObject * obj)
151 {
152 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
153 }
154
155 SWIG_STATIC_INLINE unsigned long
156 SPyObj_AsUnsignedLong(PyObject * obj)
157 {
158 if (PyLong_Check(obj)) {
159 return PyLong_AsUnsignedLong(obj);
160 } else {
161 long i = PyInt_AsLong(obj);
162 if ( !PyErr_Occurred() && (i < 0)) {
163 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
164 }
165 return i;
166 }
167 }
168
169 #if !defined(_MSC_VER)
170 SWIG_STATIC_INLINE PyObject*
171 SPyObj_FromLongLong(long long value)
172 {
173 return (value > (long)(LONG_MAX)) ?
174 PyLong_FromLongLong(value) : PyInt_FromLong((long)value);
175 }
176 #endif
177
178 SWIG_STATIC_INLINE PyObject*
179 SPyObj_FromUnsignedLong(unsigned long value)
180 {
181 return (value > (unsigned long)(LONG_MAX)) ?
182 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
183 }
184
185 #if !defined(_MSC_VER)
186 SWIG_STATIC_INLINE PyObject*
187 SPyObj_FromUnsignedLongLong(unsigned long long value)
188 {
189 return (value > (unsigned long long)(LONG_MAX)) ?
190 PyLong_FromUnsignedLongLong(value) : PyInt_FromLong((long)value);
191 }
192 #endif
193
194 SWIG_STATIC_INLINE long
195 SPyObj_AsLongInRange(PyObject * obj, long min_value, long max_value)
196 {
197 long value = SPyObj_AsLong(obj);
198 if (!PyErr_Occurred()) {
199 if (value < min_value) {
200 PyErr_SetString(PyExc_OverflowError,"value is smaller than type minimum");
201 } else if (value > max_value) {
202 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
203 }
204 }
205 return value;
206 }
207
208 SWIG_STATIC_INLINE unsigned long
209 SPyObj_AsUnsignedLongInRange(PyObject *obj, unsigned long max_value)
210 {
211 unsigned long value = SPyObj_AsUnsignedLong(obj);
212 if (!PyErr_Occurred()) {
213 if (value > max_value) {
214 PyErr_SetString(PyExc_OverflowError,"value is greater than type maximum");
215 }
216 }
217 return value;
218 }
219
220 SWIG_STATIC_INLINE signed char
221 SPyObj_AsSignedChar(PyObject *obj) {
222 return (signed char)SPyObj_AsLongInRange(obj, SCHAR_MIN, SCHAR_MAX);
223 }
224
225 SWIG_STATIC_INLINE short
226 SPyObj_AsShort(PyObject *obj) {
227 return (short)SPyObj_AsLongInRange(obj, SHRT_MIN, SHRT_MAX);
228 }
229
230 SWIG_STATIC_INLINE int
231 SPyObj_AsInt(PyObject *obj) {
232 return SPyObj_AsLongInRange(obj, INT_MIN, INT_MAX);
233 }
234
235 SWIG_STATIC_INLINE unsigned char
236 SPyObj_AsUnsignedChar(PyObject *obj) {
237 return (unsigned char)SPyObj_AsUnsignedLongInRange(obj, UCHAR_MAX);
238 }
239
240 SWIG_STATIC_INLINE unsigned short
241 SPyObj_AsUnsignedShort(PyObject *obj) {
242 return (unsigned short)SPyObj_AsUnsignedLongInRange(obj, USHRT_MAX);
243 }
244
245 SWIG_STATIC_INLINE unsigned int
246 SPyObj_AsUnsignedInt(PyObject *obj) {
247 return SPyObj_AsUnsignedLongInRange(obj, UINT_MAX);
248 }
249
250 #if !defined(_MSC_VER)
251 SWIG_STATIC_INLINE long long
252 SPyObj_AsLongLong(PyObject *obj) {
253 return PyInt_Check(obj) ?
254 PyInt_AsLong(obj) : PyLong_AsLongLong(obj);
255 }
256
257 SWIG_STATIC_INLINE unsigned long long
258 SPyObj_AsUnsignedLongLong(PyObject *obj) {
259 return PyLong_Check(obj) ?
260 PyLong_AsUnsignedLongLong(obj) : SPyObj_AsUnsignedLong(obj);
261 }
262 #endif
263
264 SWIG_STATIC_INLINE double
265 SPyObj_AsDouble(PyObject *obj) {
266 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
267 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
268 }
269
270 SWIG_STATIC_INLINE float
271 SPyObj_AsFloat(PyObject *obj) {
272 double value = SPyObj_AsDouble(obj);
273 if (!PyErr_Occurred()) {
274 if (value < FLT_MIN) {
275 PyErr_SetString(PyExc_OverflowError,"float is smaller than flt_min");
276 } else if (value > FLT_MAX) {
277 PyErr_SetString(PyExc_OverflowError,"float is greater than flt_max");
278 }
279 }
280 return (float) value;
281 }
282
283 SWIG_STATIC_INLINE char
284 SPyObj_AsChar(PyObject *obj) {
285 char c = (PyString_Check(obj) && PyString_Size(obj) == 1) ?
286 PyString_AsString(obj)[0]
287 : (char) SPyObj_AsLongInRange(obj, CHAR_MIN, CHAR_MAX);
288 if (PyErr_Occurred()) {
289 PyErr_Clear();
290 PyErr_SetString(PyExc_TypeError, "a char is required");
291 }
292 return c;
293 }
294
295 SWIG_STATIC_INLINE PyObject *
296 SPyObj_FromChar(char c) {
297 return PyString_FromStringAndSize(&c,1);
298 }
299
300 SWIG_STATIC_INLINE PyObject *
301 SPyObj_FromCharPtr(const char* cptr) {
302 return cptr ? PyString_FromString(cptr) : Py_BuildValue((char*)"");
303 }
304
305 SWIG_STATIC_INLINE int
306 SPyObj_AsBool(PyObject *obj) {
307 return SPyObj_AsLong/*Long*/(obj) ? 1 : 0;
308 }
309
310
311
312 #ifdef __cplusplus
313 extern "C" {
314 #endif
315
316 #define SWIG_PY_INT 1
317 #define SWIG_PY_FLOAT 2
318 #define SWIG_PY_STRING 3
319 #define SWIG_PY_POINTER 4
320 #define SWIG_PY_BINARY 5
321
322 /* Flags for pointer conversion */
323
324 #define SWIG_POINTER_EXCEPTION 0x1
325 #define SWIG_POINTER_DISOWN 0x2
326
327 /* Exception handling in wrappers */
328 #define SWIG_fail goto fail
329
330 /* Constant information structure */
331 typedef struct swig_const_info {
332 int type;
333 char *name;
334 long lvalue;
335 double dvalue;
336 void *pvalue;
337 swig_type_info **ptype;
338 } swig_const_info;
339
340 /* Common SWIG API */
341 #define SWIG_ConvertPtr(obj, pp, type, flags) \
342 SWIG_Python_ConvertPtr(obj, pp, type, flags)
343 #define SWIG_NewPointerObj(p, type, flags) \
344 SWIG_Python_NewPointerObj(p, type, flags)
345 #define SWIG_MustGetPtr(p, type, argnum, flags) \
346 SWIG_Python_MustGetPtr(p, type, argnum, flags)
347
348 /* Python-specific SWIG API */
349 #define SWIG_newvarlink() \
350 SWIG_Python_newvarlink()
351 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
352 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
353 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
354 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
355 #define SWIG_NewPackedObj(ptr, sz, type) \
356 SWIG_Python_NewPackedObj(ptr, sz, type)
357 #define SWIG_InstallConstants(d, constants) \
358 SWIG_Python_InstallConstants(d, constants)
359
360
361 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
362 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
363 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
364 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
365 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
366 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
367 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
368 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
369
370
371
372 /* Contract support */
373
374 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
375
376 #ifdef __cplusplus
377 }
378 #endif
379
380
381
382 /* -------- TYPES TABLE (BEGIN) -------- */
383
384 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
385 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
386 #define SWIGTYPE_p_wxSizer swig_types[2]
387 #define SWIGTYPE_p_wxCheckBox swig_types[3]
388 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
389 #define SWIGTYPE_p_wxEvent swig_types[5]
390 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
391 #define SWIGTYPE_p_bool swig_types[7]
392 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
393 #define SWIGTYPE_p_wxItemContainer swig_types[9]
394 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
395 #define SWIGTYPE_p_wxPyListCtrl swig_types[11]
396 #define SWIGTYPE_p_wxStaticLine swig_types[12]
397 #define SWIGTYPE_p_wxControl swig_types[13]
398 #define SWIGTYPE_p_wxPyControl swig_types[14]
399 #define SWIGTYPE_p_wxGauge swig_types[15]
400 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
401 #define SWIGTYPE_p_wxFont swig_types[17]
402 #define SWIGTYPE_p_wxToggleButton swig_types[18]
403 #define SWIGTYPE_p_wxRadioButton swig_types[19]
404 #define SWIGTYPE_p_wxChoice swig_types[20]
405 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
406 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
407 #define SWIGTYPE_p_void swig_types[23]
408 #define SWIGTYPE_p_int swig_types[24]
409 #define SWIGTYPE_p_wxSize swig_types[25]
410 #define SWIGTYPE_p_wxDC swig_types[26]
411 #define SWIGTYPE_p_wxListView swig_types[27]
412 #define SWIGTYPE_p_wxIcon swig_types[28]
413 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
414 #define SWIGTYPE_p_wxNotebook swig_types[30]
415 #define SWIGTYPE_p_wxNotifyEvent swig_types[31]
416 #define SWIGTYPE_p_wxArrayString swig_types[32]
417 #define SWIGTYPE_p_wxListbook swig_types[33]
418 #define SWIGTYPE_p_wxStaticBitmap swig_types[34]
419 #define SWIGTYPE_p_wxSlider swig_types[35]
420 #define SWIGTYPE_p_wxStaticBox swig_types[36]
421 #define SWIGTYPE_p_wxArrayInt swig_types[37]
422 #define SWIGTYPE_p_wxContextHelp swig_types[38]
423 #define SWIGTYPE_p_long swig_types[39]
424 #define SWIGTYPE_p_wxEvtHandler swig_types[40]
425 #define SWIGTYPE_p_wxListEvent swig_types[41]
426 #define SWIGTYPE_p_wxListBox swig_types[42]
427 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
428 #define SWIGTYPE_p_wxBookCtrl swig_types[44]
429 #define SWIGTYPE_p_wxSpinButton swig_types[45]
430 #define SWIGTYPE_p_wxButton swig_types[46]
431 #define SWIGTYPE_p_wxBitmapButton swig_types[47]
432 #define SWIGTYPE_p_wxRect swig_types[48]
433 #define SWIGTYPE_p_wxContextHelpButton swig_types[49]
434 #define SWIGTYPE_p_wxRadioBox swig_types[50]
435 #define SWIGTYPE_p_wxScrollBar swig_types[51]
436 #define SWIGTYPE_p_wxTreeItemId swig_types[52]
437 #define SWIGTYPE_p_wxComboBox swig_types[53]
438 #define SWIGTYPE_p_wxHelpEvent swig_types[54]
439 #define SWIGTYPE_p_wxListItem swig_types[55]
440 #define SWIGTYPE_p_wxNotebookSizer swig_types[56]
441 #define SWIGTYPE_p_wxSpinEvent swig_types[57]
442 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
443 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
444 #define SWIGTYPE_p_wxImageList swig_types[60]
445 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
446 #define SWIGTYPE_p_wxTextAttr swig_types[62]
447 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
448 #define SWIGTYPE_p_wxPoint swig_types[64]
449 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
450 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
451 #define SWIGTYPE_p_wxObject swig_types[67]
452 #define SWIGTYPE_p_wxCursor swig_types[68]
453 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
454 #define SWIGTYPE_p_wxWindow swig_types[70]
455 #define SWIGTYPE_p_wxString swig_types[71]
456 #define SWIGTYPE_p_wxBitmap swig_types[72]
457 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
458 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
459 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
460 #define SWIGTYPE_p_wxStaticText swig_types[76]
461 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
462 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
463 #define SWIGTYPE_p_wxColour swig_types[79]
464 #define SWIGTYPE_p_wxToolBar swig_types[80]
465 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
466 #define SWIGTYPE_p_wxValidator swig_types[82]
467 static swig_type_info *swig_types[84];
468
469 /* -------- TYPES TABLE (END) -------- */
470
471
472 /*-----------------------------------------------
473 @(target):= _controls.so
474 ------------------------------------------------*/
475 #define SWIG_init init_controls
476
477 #define SWIG_name "_controls"
478
479 #include "wx/wxPython/wxPython.h"
480 #include "wx/wxPython/pyclasses.h"
481
482 static const wxString wxPyPanelNameStr(wxPanelNameStr);
483 static const wxString wxPyEmptyString(wxEmptyString);
484 static const wxString wxPyControlNameStr(wxControlNameStr);
485 static const wxString wxPyButtonNameStr(wxButtonNameStr);
486 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
487 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
488 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
489 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
490 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
491 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
492 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
493
494 #include <wx/checklst.h>
495
496
497 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
498 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
499 if (clientData) {
500 wxPyClientData* data = new wxPyClientData(clientData);
501 self->Insert(item, pos, data);
502 } else
503 self->Insert(item, pos);
504 }
505 PyObject *wxListBox_GetSelections(wxListBox *self){
506 wxArrayInt lst;
507 self->GetSelections(lst);
508 PyObject *tup = PyTuple_New(lst.GetCount());
509 for(size_t i=0; i<lst.GetCount(); i++) {
510 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
511 }
512 return tup;
513 }
514 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
515
516 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
517 PyObject* o2;
518 PyObject* o3;
519
520 if (!target) {
521 target = o;
522 } else if (target == Py_None) {
523 Py_DECREF(Py_None);
524 target = o;
525 } else {
526 if (!PyTuple_Check(target)) {
527 o2 = target;
528 target = PyTuple_New(1);
529 PyTuple_SetItem(target, 0, o2);
530 }
531 o3 = PyTuple_New(1);
532 PyTuple_SetItem(o3, 0, o);
533
534 o2 = target;
535 target = PySequence_Concat(o2, o3);
536 Py_DECREF(o2);
537 Py_DECREF(o3);
538 }
539 return target;
540 }
541
542 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
543 self->AppendText(text);
544 }
545 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
546 return self->GetValue().Mid(from, to - from);
547 }
548 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
549 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
550 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
551 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
552 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
553
554 #include <wx/slider.h>
555
556
557 static const wxString wxPySliderNameStr(wxSliderNameStr);
558 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
559
560 #if defined(__WXMAC__) || defined(__WXX11__)
561 // implement dummy classes and such for wxMac
562
563 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
564
565 class wxToggleButton : public wxControl
566 {
567 public:
568 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
569 const wxPoint&, const wxSize&, long,
570 const wxValidator&, const wxString&)
571 { wxPyRaiseNotImplemented(); }
572
573 wxToggleButton()
574 { wxPyRaiseNotImplemented(); }
575 };
576 #endif
577
578 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
579 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
580 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
581 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
582 if (udata) {
583 Py_INCREF(udata->m_obj);
584 return udata->m_obj;
585 } else {
586 Py_INCREF(Py_None);
587 return Py_None;
588 }
589 }
590 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
591 self->SetClientData(new wxPyUserData(clientData));
592 }
593 wxToolBarToolBase *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){
594 wxPyUserData* udata = NULL;
595 if (clientData && clientData != Py_None)
596 udata = new wxPyUserData(clientData);
597 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
598 shortHelp, longHelp, udata);
599 }
600 wxToolBarToolBase *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){
601 wxPyUserData* udata = NULL;
602 if (clientData && clientData != Py_None)
603 udata = new wxPyUserData(clientData);
604 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
605 shortHelp, longHelp, udata);
606 }
607 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
608 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
609 if (udata) {
610 Py_INCREF(udata->m_obj);
611 return udata->m_obj;
612 } else {
613 Py_INCREF(Py_None);
614 return Py_None;
615 }
616 }
617 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
618 self->SetToolClientData(id, new wxPyUserData(clientData));
619 }
620
621 #include <wx/listctrl.h>
622
623
624 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
625 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
626 // Python aware sorting function for wxPyListCtrl
627 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
628 int retval = 0;
629 PyObject* func = (PyObject*)funcPtr;
630 wxPyBeginBlockThreads();
631
632 PyObject* args = Py_BuildValue("(ii)", item1, item2);
633 PyObject* result = PyEval_CallObject(func, args);
634 Py_DECREF(args);
635 if (result) {
636 retval = PyInt_AsLong(result);
637 Py_DECREF(result);
638 }
639
640 wxPyEndBlockThreads();
641 return retval;
642 }
643
644 // C++ Version of a Python aware class
645 class wxPyListCtrl : public wxListCtrl {
646 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
647 public:
648 wxPyListCtrl() : wxListCtrl() {}
649 wxPyListCtrl(wxWindow* parent, wxWindowID id,
650 const wxPoint& pos,
651 const wxSize& size,
652 long style,
653 const wxValidator& validator,
654 const wxString& name) :
655 wxListCtrl(parent, id, pos, size, style, validator, name) {}
656
657 bool Create(wxWindow* parent, wxWindowID id,
658 const wxPoint& pos,
659 const wxSize& size,
660 long style,
661 const wxValidator& validator,
662 const wxString& name) {
663 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
664 }
665
666 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
667 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
668 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
669
670 PYPRIVATE;
671 };
672
673 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
674
675 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
676 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
677 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
678
679 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
680 wxListItem item;
681 item.SetMask( wxLIST_MASK_STATE |
682 wxLIST_MASK_TEXT |
683 wxLIST_MASK_IMAGE |
684 wxLIST_MASK_DATA |
685 wxLIST_SET_ITEM |
686 wxLIST_MASK_WIDTH |
687 wxLIST_MASK_FORMAT
688 );
689 if (self->GetColumn(col, item))
690 return new wxListItem(item);
691 else
692 return NULL;
693 }
694 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
695 wxListItem* info = new wxListItem;
696 info->m_itemId = itemId;
697 info->m_col = col;
698 info->m_mask = 0xFFFF;
699 self->GetItem(*info);
700 return info;
701 }
702 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
703 wxPoint pos;
704 self->GetItemPosition(item, pos);
705 return pos;
706 }
707 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
708 wxRect rect;
709 self->GetItemRect(item, rect, code);
710 return rect;
711 }
712 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
713 if (!PyCallable_Check(func))
714 return False;
715 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
716 }
717 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
718
719 return self;
720
721
722
723 }
724
725 #include <wx/treectrl.h>
726 #include "wx/wxPython/pytree.h"
727
728 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
729 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
730 if (!other) return False;
731 return *self == *other;
732 }
733 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
734 if (!other) return True;
735 return *self != *other;
736 }
737 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
738 // C++ version of Python aware wxTreeCtrl
739 class wxPyTreeCtrl : public wxTreeCtrl {
740 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
741 public:
742 wxPyTreeCtrl() : wxTreeCtrl() {}
743 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
744 const wxPoint& pos,
745 const wxSize& size,
746 long style,
747 const wxValidator& validator,
748 const wxString& name) :
749 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
750
751 bool Create(wxWindow *parent, wxWindowID id,
752 const wxPoint& pos,
753 const wxSize& size,
754 long style,
755 const wxValidator& validator,
756 const wxString& name) {
757 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
758 }
759
760
761 int OnCompareItems(const wxTreeItemId& item1,
762 const wxTreeItemId& item2) {
763 int rval = 0;
764 bool found;
765 wxPyBeginBlockThreads();
766 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
767 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
768 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
769 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
770 Py_DECREF(o1);
771 Py_DECREF(o2);
772 }
773 wxPyEndBlockThreads();
774 if (! found)
775 rval = wxTreeCtrl::OnCompareItems(item1, item2);
776 return rval;
777 }
778 PYPRIVATE;
779 };
780
781 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
782
783
784 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
785 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
786 if (data == NULL) {
787 data = new wxPyTreeItemData();
788 data->SetId(item); // set the id
789 self->SetItemData(item, data);
790 }
791 return data;
792 }
793 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
794 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
795 if (data == NULL) {
796 data = new wxPyTreeItemData();
797 data->SetId(item); // set the id
798 self->SetItemData(item, data);
799 }
800 return data->GetData();
801 }
802 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
803 data->SetId(item); // set the id
804 self->SetItemData(item, data);
805 }
806 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
807 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
808 if (data == NULL) {
809 data = new wxPyTreeItemData(obj);
810 data->SetId(item); // set the id
811 self->SetItemData(item, data);
812 } else
813 data->SetData(obj);
814 }
815 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
816 wxPyBeginBlockThreads();
817 PyObject* rval = PyList_New(0);
818 wxArrayTreeItemIds array;
819 size_t num, x;
820 num = self->GetSelections(array);
821 for (x=0; x < num; x++) {
822 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
823 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
824 PyList_Append(rval, item);
825 }
826 wxPyEndBlockThreads();
827 return rval;
828 }
829 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
830 void* cookie = 0;
831 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
832 wxPyBeginBlockThreads();
833 PyObject* tup = PyTuple_New(2);
834 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
835 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
836 wxPyEndBlockThreads();
837 return tup;
838 }
839 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,void *cookie){
840 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
841 wxPyBeginBlockThreads();
842 PyObject* tup = PyTuple_New(2);
843 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), True));
844 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
845 wxPyEndBlockThreads();
846 return tup;
847 }
848 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
849 wxRect rect;
850 if (self->GetBoundingRect(item, rect, textOnly)) {
851 wxPyBeginBlockThreads();
852 wxRect* r = new wxRect(rect);
853 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
854 wxPyEndBlockThreads();
855 return val;
856 }
857 else
858 RETURN_NONE();
859 }
860 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
861 // C++ version of Python aware wxControl
862 class wxPyControl : public wxControl
863 {
864 DECLARE_DYNAMIC_CLASS(wxPyControl)
865 public:
866 wxPyControl() : wxControl() {}
867 wxPyControl(wxWindow* parent, const wxWindowID id,
868 const wxPoint& pos = wxDefaultPosition,
869 const wxSize& size = wxDefaultSize,
870 long style = 0,
871 const wxValidator& validator=wxDefaultValidator,
872 const wxString& name = wxPyControlNameStr)
873 : wxControl(parent, id, pos, size, style, validator, name) {}
874
875
876 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
877 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
878 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
879 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
880
881 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
882 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
883 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
884
885 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
886 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
887
888 DEC_PYCALLBACK__(InitDialog);
889 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
890 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
891 DEC_PYCALLBACK_BOOL_(Validate);
892
893 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
894 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
895 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
896
897 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
898 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
899
900 PYPRIVATE;
901 };
902
903 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
904
905 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
906 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
907 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
908 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
909
910 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
911 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
912 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
913
914 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
915 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
916
917 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
918 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
919 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
920 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
921
922 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
923 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
924 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
925
926 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
927 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
928
929
930
931
932 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
933
934 #include <wx/generic/dragimgg.h>
935
936 #ifdef __cplusplus
937 extern "C" {
938 #endif
939 static int _wrap_ButtonNameStr_set(PyObject *_val) {
940 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
941 return 1;
942 }
943
944
945 static PyObject *_wrap_ButtonNameStr_get() {
946 PyObject *pyobj;
947
948 {
949 #if wxUSE_UNICODE
950 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
951 #else
952 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
953 #endif
954 }
955 return pyobj;
956 }
957
958
959 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
960 PyObject *resultobj;
961 wxWindow *arg1 = (wxWindow *) 0 ;
962 int arg2 ;
963 wxString *arg3 = 0 ;
964 wxPoint const &arg4_defvalue = wxDefaultPosition ;
965 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
966 wxSize const &arg5_defvalue = wxDefaultSize ;
967 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
968 long arg6 = (long) 0 ;
969 wxValidator const &arg7_defvalue = wxDefaultValidator ;
970 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
971 wxString const &arg8_defvalue = wxPyButtonNameStr ;
972 wxString *arg8 = (wxString *) &arg8_defvalue ;
973 wxButton *result;
974 bool temp3 = False ;
975 wxPoint temp4 ;
976 wxSize temp5 ;
977 bool temp8 = False ;
978 PyObject * obj0 = 0 ;
979 PyObject * obj2 = 0 ;
980 PyObject * obj3 = 0 ;
981 PyObject * obj4 = 0 ;
982 PyObject * obj6 = 0 ;
983 PyObject * obj7 = 0 ;
984 char *kwnames[] = {
985 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
986 };
987
988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
990 {
991 arg3 = wxString_in_helper(obj2);
992 if (arg3 == NULL) SWIG_fail;
993 temp3 = True;
994 }
995 if (obj3) {
996 {
997 arg4 = &temp4;
998 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
999 }
1000 }
1001 if (obj4) {
1002 {
1003 arg5 = &temp5;
1004 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1005 }
1006 }
1007 if (obj6) {
1008 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1009 if (arg7 == NULL) {
1010 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1011 }
1012 }
1013 if (obj7) {
1014 {
1015 arg8 = wxString_in_helper(obj7);
1016 if (arg8 == NULL) SWIG_fail;
1017 temp8 = True;
1018 }
1019 }
1020 {
1021 PyThreadState* __tstate = wxPyBeginAllowThreads();
1022 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1023
1024 wxPyEndAllowThreads(__tstate);
1025 if (PyErr_Occurred()) SWIG_fail;
1026 }
1027 {
1028 resultobj = wxPyMake_wxObject(result);
1029 }
1030 {
1031 if (temp3)
1032 delete arg3;
1033 }
1034 {
1035 if (temp8)
1036 delete arg8;
1037 }
1038 return resultobj;
1039 fail:
1040 {
1041 if (temp3)
1042 delete arg3;
1043 }
1044 {
1045 if (temp8)
1046 delete arg8;
1047 }
1048 return NULL;
1049 }
1050
1051
1052 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1053 PyObject *resultobj;
1054 wxButton *result;
1055 char *kwnames[] = {
1056 NULL
1057 };
1058
1059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1060 {
1061 PyThreadState* __tstate = wxPyBeginAllowThreads();
1062 result = (wxButton *)new wxButton();
1063
1064 wxPyEndAllowThreads(__tstate);
1065 if (PyErr_Occurred()) SWIG_fail;
1066 }
1067 {
1068 resultobj = wxPyMake_wxObject(result);
1069 }
1070 return resultobj;
1071 fail:
1072 return NULL;
1073 }
1074
1075
1076 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1077 PyObject *resultobj;
1078 wxButton *arg1 = (wxButton *) 0 ;
1079 wxWindow *arg2 = (wxWindow *) 0 ;
1080 int arg3 ;
1081 wxString *arg4 = 0 ;
1082 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1083 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1084 wxSize const &arg6_defvalue = wxDefaultSize ;
1085 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1086 long arg7 = (long) 0 ;
1087 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1088 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1089 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1090 wxString *arg9 = (wxString *) &arg9_defvalue ;
1091 bool result;
1092 bool temp4 = False ;
1093 wxPoint temp5 ;
1094 wxSize temp6 ;
1095 bool temp9 = False ;
1096 PyObject * obj0 = 0 ;
1097 PyObject * obj1 = 0 ;
1098 PyObject * obj3 = 0 ;
1099 PyObject * obj4 = 0 ;
1100 PyObject * obj5 = 0 ;
1101 PyObject * obj7 = 0 ;
1102 PyObject * obj8 = 0 ;
1103 char *kwnames[] = {
1104 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1105 };
1106
1107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1109 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1110 {
1111 arg4 = wxString_in_helper(obj3);
1112 if (arg4 == NULL) SWIG_fail;
1113 temp4 = True;
1114 }
1115 if (obj4) {
1116 {
1117 arg5 = &temp5;
1118 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1119 }
1120 }
1121 if (obj5) {
1122 {
1123 arg6 = &temp6;
1124 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1125 }
1126 }
1127 if (obj7) {
1128 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1129 if (arg8 == NULL) {
1130 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1131 }
1132 }
1133 if (obj8) {
1134 {
1135 arg9 = wxString_in_helper(obj8);
1136 if (arg9 == NULL) SWIG_fail;
1137 temp9 = True;
1138 }
1139 }
1140 {
1141 PyThreadState* __tstate = wxPyBeginAllowThreads();
1142 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1143
1144 wxPyEndAllowThreads(__tstate);
1145 if (PyErr_Occurred()) SWIG_fail;
1146 }
1147 resultobj = PyInt_FromLong((long)result);
1148 {
1149 if (temp4)
1150 delete arg4;
1151 }
1152 {
1153 if (temp9)
1154 delete arg9;
1155 }
1156 return resultobj;
1157 fail:
1158 {
1159 if (temp4)
1160 delete arg4;
1161 }
1162 {
1163 if (temp9)
1164 delete arg9;
1165 }
1166 return NULL;
1167 }
1168
1169
1170 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1171 PyObject *resultobj;
1172 wxButton *arg1 = (wxButton *) 0 ;
1173 PyObject * obj0 = 0 ;
1174 char *kwnames[] = {
1175 (char *) "self", NULL
1176 };
1177
1178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1180 {
1181 PyThreadState* __tstate = wxPyBeginAllowThreads();
1182 (arg1)->SetDefault();
1183
1184 wxPyEndAllowThreads(__tstate);
1185 if (PyErr_Occurred()) SWIG_fail;
1186 }
1187 Py_INCREF(Py_None); resultobj = Py_None;
1188 return resultobj;
1189 fail:
1190 return NULL;
1191 }
1192
1193
1194 static PyObject *_wrap_Button_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1195 PyObject *resultobj;
1196 wxButton *arg1 = (wxButton *) 0 ;
1197 wxBitmap *arg2 = 0 ;
1198 PyObject * obj0 = 0 ;
1199 PyObject * obj1 = 0 ;
1200 char *kwnames[] = {
1201 (char *) "self",(char *) "bitmap", NULL
1202 };
1203
1204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Button_SetImageLabel",kwnames,&obj0,&obj1)) goto fail;
1205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1207 if (arg2 == NULL) {
1208 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1209 }
1210 {
1211 PyThreadState* __tstate = wxPyBeginAllowThreads();
1212 (arg1)->SetImageLabel((wxBitmap const &)*arg2);
1213
1214 wxPyEndAllowThreads(__tstate);
1215 if (PyErr_Occurred()) SWIG_fail;
1216 }
1217 Py_INCREF(Py_None); resultobj = Py_None;
1218 return resultobj;
1219 fail:
1220 return NULL;
1221 }
1222
1223
1224 static PyObject *_wrap_Button_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1225 PyObject *resultobj;
1226 wxButton *arg1 = (wxButton *) 0 ;
1227 int arg2 ;
1228 int arg3 ;
1229 PyObject * obj0 = 0 ;
1230 char *kwnames[] = {
1231 (char *) "self",(char *) "x",(char *) "y", NULL
1232 };
1233
1234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Button_SetImageMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1236 {
1237 PyThreadState* __tstate = wxPyBeginAllowThreads();
1238 (arg1)->SetImageMargins(arg2,arg3);
1239
1240 wxPyEndAllowThreads(__tstate);
1241 if (PyErr_Occurred()) SWIG_fail;
1242 }
1243 Py_INCREF(Py_None); resultobj = Py_None;
1244 return resultobj;
1245 fail:
1246 return NULL;
1247 }
1248
1249
1250 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1251 PyObject *resultobj;
1252 wxSize result;
1253 char *kwnames[] = {
1254 NULL
1255 };
1256
1257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1258 {
1259 PyThreadState* __tstate = wxPyBeginAllowThreads();
1260 result = wxButton::GetDefaultSize();
1261
1262 wxPyEndAllowThreads(__tstate);
1263 if (PyErr_Occurred()) SWIG_fail;
1264 }
1265 {
1266 wxSize * resultptr;
1267 resultptr = new wxSize((wxSize &) result);
1268 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1269 }
1270 return resultobj;
1271 fail:
1272 return NULL;
1273 }
1274
1275
1276 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1277 PyObject *obj;
1278 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1279 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1280 Py_INCREF(obj);
1281 return Py_BuildValue((char *)"");
1282 }
1283 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1284 PyObject *resultobj;
1285 wxWindow *arg1 = (wxWindow *) 0 ;
1286 int arg2 ;
1287 wxBitmap *arg3 = 0 ;
1288 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1289 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1290 wxSize const &arg5_defvalue = wxDefaultSize ;
1291 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1292 long arg6 = (long) wxBU_AUTODRAW ;
1293 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1294 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1295 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1296 wxString *arg8 = (wxString *) &arg8_defvalue ;
1297 wxBitmapButton *result;
1298 wxPoint temp4 ;
1299 wxSize temp5 ;
1300 bool temp8 = False ;
1301 PyObject * obj0 = 0 ;
1302 PyObject * obj2 = 0 ;
1303 PyObject * obj3 = 0 ;
1304 PyObject * obj4 = 0 ;
1305 PyObject * obj6 = 0 ;
1306 PyObject * obj7 = 0 ;
1307 char *kwnames[] = {
1308 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1309 };
1310
1311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1313 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1314 if (arg3 == NULL) {
1315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1316 }
1317 if (obj3) {
1318 {
1319 arg4 = &temp4;
1320 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1321 }
1322 }
1323 if (obj4) {
1324 {
1325 arg5 = &temp5;
1326 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1327 }
1328 }
1329 if (obj6) {
1330 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1331 if (arg7 == NULL) {
1332 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1333 }
1334 }
1335 if (obj7) {
1336 {
1337 arg8 = wxString_in_helper(obj7);
1338 if (arg8 == NULL) SWIG_fail;
1339 temp8 = True;
1340 }
1341 }
1342 {
1343 PyThreadState* __tstate = wxPyBeginAllowThreads();
1344 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1345
1346 wxPyEndAllowThreads(__tstate);
1347 if (PyErr_Occurred()) SWIG_fail;
1348 }
1349 {
1350 resultobj = wxPyMake_wxObject(result);
1351 }
1352 {
1353 if (temp8)
1354 delete arg8;
1355 }
1356 return resultobj;
1357 fail:
1358 {
1359 if (temp8)
1360 delete arg8;
1361 }
1362 return NULL;
1363 }
1364
1365
1366 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1367 PyObject *resultobj;
1368 wxBitmapButton *result;
1369 char *kwnames[] = {
1370 NULL
1371 };
1372
1373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1374 {
1375 PyThreadState* __tstate = wxPyBeginAllowThreads();
1376 result = (wxBitmapButton *)new wxBitmapButton();
1377
1378 wxPyEndAllowThreads(__tstate);
1379 if (PyErr_Occurred()) SWIG_fail;
1380 }
1381 {
1382 resultobj = wxPyMake_wxObject(result);
1383 }
1384 return resultobj;
1385 fail:
1386 return NULL;
1387 }
1388
1389
1390 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1391 PyObject *resultobj;
1392 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1393 wxWindow *arg2 = (wxWindow *) 0 ;
1394 int arg3 ;
1395 wxBitmap *arg4 = 0 ;
1396 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1397 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1398 wxSize const &arg6_defvalue = wxDefaultSize ;
1399 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1400 long arg7 = (long) wxBU_AUTODRAW ;
1401 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1402 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1403 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1404 wxString *arg9 = (wxString *) &arg9_defvalue ;
1405 bool result;
1406 wxPoint temp5 ;
1407 wxSize temp6 ;
1408 bool temp9 = False ;
1409 PyObject * obj0 = 0 ;
1410 PyObject * obj1 = 0 ;
1411 PyObject * obj3 = 0 ;
1412 PyObject * obj4 = 0 ;
1413 PyObject * obj5 = 0 ;
1414 PyObject * obj7 = 0 ;
1415 PyObject * obj8 = 0 ;
1416 char *kwnames[] = {
1417 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1418 };
1419
1420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1423 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1424 if (arg4 == NULL) {
1425 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1426 }
1427 if (obj4) {
1428 {
1429 arg5 = &temp5;
1430 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1431 }
1432 }
1433 if (obj5) {
1434 {
1435 arg6 = &temp6;
1436 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1437 }
1438 }
1439 if (obj7) {
1440 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1441 if (arg8 == NULL) {
1442 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1443 }
1444 }
1445 if (obj8) {
1446 {
1447 arg9 = wxString_in_helper(obj8);
1448 if (arg9 == NULL) SWIG_fail;
1449 temp9 = True;
1450 }
1451 }
1452 {
1453 PyThreadState* __tstate = wxPyBeginAllowThreads();
1454 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1455
1456 wxPyEndAllowThreads(__tstate);
1457 if (PyErr_Occurred()) SWIG_fail;
1458 }
1459 resultobj = PyInt_FromLong((long)result);
1460 {
1461 if (temp9)
1462 delete arg9;
1463 }
1464 return resultobj;
1465 fail:
1466 {
1467 if (temp9)
1468 delete arg9;
1469 }
1470 return NULL;
1471 }
1472
1473
1474 static PyObject *_wrap_BitmapButton_GetBitmapLabel(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_GetBitmapLabel",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)->GetBitmapLabel();
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
1503 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(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_GetBitmapDisabled",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)->GetBitmapDisabled();
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
1532 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1533 PyObject *resultobj;
1534 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1535 wxBitmap result;
1536 PyObject * obj0 = 0 ;
1537 char *kwnames[] = {
1538 (char *) "self", NULL
1539 };
1540
1541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1543 {
1544 PyThreadState* __tstate = wxPyBeginAllowThreads();
1545 result = (arg1)->GetBitmapFocus();
1546
1547 wxPyEndAllowThreads(__tstate);
1548 if (PyErr_Occurred()) SWIG_fail;
1549 }
1550 {
1551 wxBitmap * resultptr;
1552 resultptr = new wxBitmap((wxBitmap &) result);
1553 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1554 }
1555 return resultobj;
1556 fail:
1557 return NULL;
1558 }
1559
1560
1561 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1562 PyObject *resultobj;
1563 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1564 wxBitmap result;
1565 PyObject * obj0 = 0 ;
1566 char *kwnames[] = {
1567 (char *) "self", NULL
1568 };
1569
1570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1572 {
1573 PyThreadState* __tstate = wxPyBeginAllowThreads();
1574 result = (arg1)->GetBitmapSelected();
1575
1576 wxPyEndAllowThreads(__tstate);
1577 if (PyErr_Occurred()) SWIG_fail;
1578 }
1579 {
1580 wxBitmap * resultptr;
1581 resultptr = new wxBitmap((wxBitmap &) result);
1582 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1583 }
1584 return resultobj;
1585 fail:
1586 return NULL;
1587 }
1588
1589
1590 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1591 PyObject *resultobj;
1592 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1593 wxBitmap *arg2 = 0 ;
1594 PyObject * obj0 = 0 ;
1595 PyObject * obj1 = 0 ;
1596 char *kwnames[] = {
1597 (char *) "self",(char *) "bitmap", NULL
1598 };
1599
1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1602 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1603 if (arg2 == NULL) {
1604 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1605 }
1606 {
1607 PyThreadState* __tstate = wxPyBeginAllowThreads();
1608 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1609
1610 wxPyEndAllowThreads(__tstate);
1611 if (PyErr_Occurred()) SWIG_fail;
1612 }
1613 Py_INCREF(Py_None); resultobj = Py_None;
1614 return resultobj;
1615 fail:
1616 return NULL;
1617 }
1618
1619
1620 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject *resultobj;
1622 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1623 wxBitmap *arg2 = 0 ;
1624 PyObject * obj0 = 0 ;
1625 PyObject * obj1 = 0 ;
1626 char *kwnames[] = {
1627 (char *) "self",(char *) "bitmap", NULL
1628 };
1629
1630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1632 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1633 if (arg2 == NULL) {
1634 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1635 }
1636 {
1637 PyThreadState* __tstate = wxPyBeginAllowThreads();
1638 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1639
1640 wxPyEndAllowThreads(__tstate);
1641 if (PyErr_Occurred()) SWIG_fail;
1642 }
1643 Py_INCREF(Py_None); resultobj = Py_None;
1644 return resultobj;
1645 fail:
1646 return NULL;
1647 }
1648
1649
1650 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1651 PyObject *resultobj;
1652 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1653 wxBitmap *arg2 = 0 ;
1654 PyObject * obj0 = 0 ;
1655 PyObject * obj1 = 0 ;
1656 char *kwnames[] = {
1657 (char *) "self",(char *) "bitmap", NULL
1658 };
1659
1660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1663 if (arg2 == NULL) {
1664 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1665 }
1666 {
1667 PyThreadState* __tstate = wxPyBeginAllowThreads();
1668 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1669
1670 wxPyEndAllowThreads(__tstate);
1671 if (PyErr_Occurred()) SWIG_fail;
1672 }
1673 Py_INCREF(Py_None); resultobj = Py_None;
1674 return resultobj;
1675 fail:
1676 return NULL;
1677 }
1678
1679
1680 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject *resultobj;
1682 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1683 wxBitmap *arg2 = 0 ;
1684 PyObject * obj0 = 0 ;
1685 PyObject * obj1 = 0 ;
1686 char *kwnames[] = {
1687 (char *) "self",(char *) "bitmap", NULL
1688 };
1689
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1692 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1693 if (arg2 == NULL) {
1694 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1695 }
1696 {
1697 PyThreadState* __tstate = wxPyBeginAllowThreads();
1698 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1699
1700 wxPyEndAllowThreads(__tstate);
1701 if (PyErr_Occurred()) SWIG_fail;
1702 }
1703 Py_INCREF(Py_None); resultobj = Py_None;
1704 return resultobj;
1705 fail:
1706 return NULL;
1707 }
1708
1709
1710 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1711 PyObject *resultobj;
1712 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1713 int arg2 ;
1714 int arg3 ;
1715 PyObject * obj0 = 0 ;
1716 char *kwnames[] = {
1717 (char *) "self",(char *) "x",(char *) "y", NULL
1718 };
1719
1720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1722 {
1723 PyThreadState* __tstate = wxPyBeginAllowThreads();
1724 (arg1)->SetMargins(arg2,arg3);
1725
1726 wxPyEndAllowThreads(__tstate);
1727 if (PyErr_Occurred()) SWIG_fail;
1728 }
1729 Py_INCREF(Py_None); resultobj = Py_None;
1730 return resultobj;
1731 fail:
1732 return NULL;
1733 }
1734
1735
1736 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1737 PyObject *resultobj;
1738 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1739 int result;
1740 PyObject * obj0 = 0 ;
1741 char *kwnames[] = {
1742 (char *) "self", NULL
1743 };
1744
1745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1747 {
1748 PyThreadState* __tstate = wxPyBeginAllowThreads();
1749 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1750
1751 wxPyEndAllowThreads(__tstate);
1752 if (PyErr_Occurred()) SWIG_fail;
1753 }
1754 resultobj = PyInt_FromLong((long)result);
1755 return resultobj;
1756 fail:
1757 return NULL;
1758 }
1759
1760
1761 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1762 PyObject *resultobj;
1763 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1764 int result;
1765 PyObject * obj0 = 0 ;
1766 char *kwnames[] = {
1767 (char *) "self", NULL
1768 };
1769
1770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1772 {
1773 PyThreadState* __tstate = wxPyBeginAllowThreads();
1774 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1775
1776 wxPyEndAllowThreads(__tstate);
1777 if (PyErr_Occurred()) SWIG_fail;
1778 }
1779 resultobj = PyInt_FromLong((long)result);
1780 return resultobj;
1781 fail:
1782 return NULL;
1783 }
1784
1785
1786 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1787 PyObject *obj;
1788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1789 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1790 Py_INCREF(obj);
1791 return Py_BuildValue((char *)"");
1792 }
1793 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1794 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1795 return 1;
1796 }
1797
1798
1799 static PyObject *_wrap_CheckBoxNameStr_get() {
1800 PyObject *pyobj;
1801
1802 {
1803 #if wxUSE_UNICODE
1804 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1805 #else
1806 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1807 #endif
1808 }
1809 return pyobj;
1810 }
1811
1812
1813 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1814 PyObject *resultobj;
1815 wxWindow *arg1 = (wxWindow *) 0 ;
1816 int arg2 ;
1817 wxString *arg3 = 0 ;
1818 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1819 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1820 wxSize const &arg5_defvalue = wxDefaultSize ;
1821 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1822 long arg6 = (long) 0 ;
1823 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1824 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1825 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1826 wxString *arg8 = (wxString *) &arg8_defvalue ;
1827 wxCheckBox *result;
1828 bool temp3 = False ;
1829 wxPoint temp4 ;
1830 wxSize temp5 ;
1831 bool temp8 = False ;
1832 PyObject * obj0 = 0 ;
1833 PyObject * obj2 = 0 ;
1834 PyObject * obj3 = 0 ;
1835 PyObject * obj4 = 0 ;
1836 PyObject * obj6 = 0 ;
1837 PyObject * obj7 = 0 ;
1838 char *kwnames[] = {
1839 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1840 };
1841
1842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1844 {
1845 arg3 = wxString_in_helper(obj2);
1846 if (arg3 == NULL) SWIG_fail;
1847 temp3 = True;
1848 }
1849 if (obj3) {
1850 {
1851 arg4 = &temp4;
1852 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1853 }
1854 }
1855 if (obj4) {
1856 {
1857 arg5 = &temp5;
1858 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1859 }
1860 }
1861 if (obj6) {
1862 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1863 if (arg7 == NULL) {
1864 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1865 }
1866 }
1867 if (obj7) {
1868 {
1869 arg8 = wxString_in_helper(obj7);
1870 if (arg8 == NULL) SWIG_fail;
1871 temp8 = True;
1872 }
1873 }
1874 {
1875 PyThreadState* __tstate = wxPyBeginAllowThreads();
1876 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1877
1878 wxPyEndAllowThreads(__tstate);
1879 if (PyErr_Occurred()) SWIG_fail;
1880 }
1881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1882 {
1883 if (temp3)
1884 delete arg3;
1885 }
1886 {
1887 if (temp8)
1888 delete arg8;
1889 }
1890 return resultobj;
1891 fail:
1892 {
1893 if (temp3)
1894 delete arg3;
1895 }
1896 {
1897 if (temp8)
1898 delete arg8;
1899 }
1900 return NULL;
1901 }
1902
1903
1904 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1905 PyObject *resultobj;
1906 wxCheckBox *result;
1907 char *kwnames[] = {
1908 NULL
1909 };
1910
1911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1912 {
1913 PyThreadState* __tstate = wxPyBeginAllowThreads();
1914 result = (wxCheckBox *)new wxCheckBox();
1915
1916 wxPyEndAllowThreads(__tstate);
1917 if (PyErr_Occurred()) SWIG_fail;
1918 }
1919 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1920 return resultobj;
1921 fail:
1922 return NULL;
1923 }
1924
1925
1926 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1927 PyObject *resultobj;
1928 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1929 wxWindow *arg2 = (wxWindow *) 0 ;
1930 int arg3 ;
1931 wxString *arg4 = 0 ;
1932 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1933 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1934 wxSize const &arg6_defvalue = wxDefaultSize ;
1935 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1936 long arg7 = (long) 0 ;
1937 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1938 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1939 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1940 wxString *arg9 = (wxString *) &arg9_defvalue ;
1941 bool result;
1942 bool temp4 = False ;
1943 wxPoint temp5 ;
1944 wxSize temp6 ;
1945 bool temp9 = False ;
1946 PyObject * obj0 = 0 ;
1947 PyObject * obj1 = 0 ;
1948 PyObject * obj3 = 0 ;
1949 PyObject * obj4 = 0 ;
1950 PyObject * obj5 = 0 ;
1951 PyObject * obj7 = 0 ;
1952 PyObject * obj8 = 0 ;
1953 char *kwnames[] = {
1954 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1955 };
1956
1957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1959 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1960 {
1961 arg4 = wxString_in_helper(obj3);
1962 if (arg4 == NULL) SWIG_fail;
1963 temp4 = True;
1964 }
1965 if (obj4) {
1966 {
1967 arg5 = &temp5;
1968 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1969 }
1970 }
1971 if (obj5) {
1972 {
1973 arg6 = &temp6;
1974 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1975 }
1976 }
1977 if (obj7) {
1978 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1979 if (arg8 == NULL) {
1980 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1981 }
1982 }
1983 if (obj8) {
1984 {
1985 arg9 = wxString_in_helper(obj8);
1986 if (arg9 == NULL) SWIG_fail;
1987 temp9 = True;
1988 }
1989 }
1990 {
1991 PyThreadState* __tstate = wxPyBeginAllowThreads();
1992 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1993
1994 wxPyEndAllowThreads(__tstate);
1995 if (PyErr_Occurred()) SWIG_fail;
1996 }
1997 resultobj = PyInt_FromLong((long)result);
1998 {
1999 if (temp4)
2000 delete arg4;
2001 }
2002 {
2003 if (temp9)
2004 delete arg9;
2005 }
2006 return resultobj;
2007 fail:
2008 {
2009 if (temp4)
2010 delete arg4;
2011 }
2012 {
2013 if (temp9)
2014 delete arg9;
2015 }
2016 return NULL;
2017 }
2018
2019
2020 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2021 PyObject *resultobj;
2022 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2023 bool result;
2024 PyObject * obj0 = 0 ;
2025 char *kwnames[] = {
2026 (char *) "self", NULL
2027 };
2028
2029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
2030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2031 {
2032 PyThreadState* __tstate = wxPyBeginAllowThreads();
2033 result = (bool)(arg1)->GetValue();
2034
2035 wxPyEndAllowThreads(__tstate);
2036 if (PyErr_Occurred()) SWIG_fail;
2037 }
2038 resultobj = PyInt_FromLong((long)result);
2039 return resultobj;
2040 fail:
2041 return NULL;
2042 }
2043
2044
2045 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
2046 PyObject *resultobj;
2047 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2048 bool result;
2049 PyObject * obj0 = 0 ;
2050 char *kwnames[] = {
2051 (char *) "self", NULL
2052 };
2053
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2056 {
2057 PyThreadState* __tstate = wxPyBeginAllowThreads();
2058 result = (bool)(arg1)->IsChecked();
2059
2060 wxPyEndAllowThreads(__tstate);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 }
2063 resultobj = PyInt_FromLong((long)result);
2064 return resultobj;
2065 fail:
2066 return NULL;
2067 }
2068
2069
2070 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2071 PyObject *resultobj;
2072 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2073 bool arg2 ;
2074 PyObject * obj0 = 0 ;
2075 PyObject * obj1 = 0 ;
2076 char *kwnames[] = {
2077 (char *) "self",(char *) "state", NULL
2078 };
2079
2080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2082 {
2083 arg2 = (bool const) SPyObj_AsBool(obj1);
2084 if (PyErr_Occurred()) SWIG_fail;
2085 }
2086 {
2087 PyThreadState* __tstate = wxPyBeginAllowThreads();
2088 (arg1)->SetValue(arg2);
2089
2090 wxPyEndAllowThreads(__tstate);
2091 if (PyErr_Occurred()) SWIG_fail;
2092 }
2093 Py_INCREF(Py_None); resultobj = Py_None;
2094 return resultobj;
2095 fail:
2096 return NULL;
2097 }
2098
2099
2100 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2101 PyObject *resultobj;
2102 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2103 int result;
2104 PyObject * obj0 = 0 ;
2105 char *kwnames[] = {
2106 (char *) "self", NULL
2107 };
2108
2109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2111 {
2112 PyThreadState* __tstate = wxPyBeginAllowThreads();
2113 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2114
2115 wxPyEndAllowThreads(__tstate);
2116 if (PyErr_Occurred()) SWIG_fail;
2117 }
2118 resultobj = PyInt_FromLong((long)result);
2119 return resultobj;
2120 fail:
2121 return NULL;
2122 }
2123
2124
2125 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2126 PyObject *resultobj;
2127 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2128 int arg2 ;
2129 PyObject * obj0 = 0 ;
2130 char *kwnames[] = {
2131 (char *) "self",(char *) "state", NULL
2132 };
2133
2134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
2135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2136 {
2137 PyThreadState* __tstate = wxPyBeginAllowThreads();
2138 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2139
2140 wxPyEndAllowThreads(__tstate);
2141 if (PyErr_Occurred()) SWIG_fail;
2142 }
2143 Py_INCREF(Py_None); resultobj = Py_None;
2144 return resultobj;
2145 fail:
2146 return NULL;
2147 }
2148
2149
2150 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2151 PyObject *resultobj;
2152 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2153 bool result;
2154 PyObject * obj0 = 0 ;
2155 char *kwnames[] = {
2156 (char *) "self", NULL
2157 };
2158
2159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2161 {
2162 PyThreadState* __tstate = wxPyBeginAllowThreads();
2163 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2164
2165 wxPyEndAllowThreads(__tstate);
2166 if (PyErr_Occurred()) SWIG_fail;
2167 }
2168 resultobj = PyInt_FromLong((long)result);
2169 return resultobj;
2170 fail:
2171 return NULL;
2172 }
2173
2174
2175 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2176 PyObject *resultobj;
2177 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2178 bool result;
2179 PyObject * obj0 = 0 ;
2180 char *kwnames[] = {
2181 (char *) "self", NULL
2182 };
2183
2184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2186 {
2187 PyThreadState* __tstate = wxPyBeginAllowThreads();
2188 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2189
2190 wxPyEndAllowThreads(__tstate);
2191 if (PyErr_Occurred()) SWIG_fail;
2192 }
2193 resultobj = PyInt_FromLong((long)result);
2194 return resultobj;
2195 fail:
2196 return NULL;
2197 }
2198
2199
2200 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2201 PyObject *obj;
2202 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2203 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2204 Py_INCREF(obj);
2205 return Py_BuildValue((char *)"");
2206 }
2207 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2208 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2209 return 1;
2210 }
2211
2212
2213 static PyObject *_wrap_ChoiceNameStr_get() {
2214 PyObject *pyobj;
2215
2216 {
2217 #if wxUSE_UNICODE
2218 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2219 #else
2220 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2221 #endif
2222 }
2223 return pyobj;
2224 }
2225
2226
2227 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2228 PyObject *resultobj;
2229 wxWindow *arg1 = (wxWindow *) 0 ;
2230 int arg2 ;
2231 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2232 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2233 wxSize const &arg4_defvalue = wxDefaultSize ;
2234 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2235 int arg5 = (int) 0 ;
2236 wxString *arg6 = (wxString *) NULL ;
2237 long arg7 = (long) 0 ;
2238 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2239 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2240 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2241 wxString *arg9 = (wxString *) &arg9_defvalue ;
2242 wxChoice *result;
2243 wxPoint temp3 ;
2244 wxSize temp4 ;
2245 bool temp8 = False ;
2246 PyObject * obj0 = 0 ;
2247 PyObject * obj2 = 0 ;
2248 PyObject * obj3 = 0 ;
2249 PyObject * obj4 = 0 ;
2250 PyObject * obj6 = 0 ;
2251 PyObject * obj7 = 0 ;
2252 char *kwnames[] = {
2253 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2254 };
2255
2256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2258 if (obj2) {
2259 {
2260 arg3 = &temp3;
2261 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2262 }
2263 }
2264 if (obj3) {
2265 {
2266 arg4 = &temp4;
2267 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2268 }
2269 }
2270 if (obj4) {
2271 {
2272 arg5 = PyList_Size(obj4);
2273 arg6 = wxString_LIST_helper(obj4);
2274 if (arg6 == NULL) SWIG_fail;
2275 }
2276 }
2277 if (obj6) {
2278 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2279 if (arg8 == NULL) {
2280 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2281 }
2282 }
2283 if (obj7) {
2284 {
2285 arg9 = wxString_in_helper(obj7);
2286 if (arg9 == NULL) SWIG_fail;
2287 temp8 = True;
2288 }
2289 }
2290 {
2291 PyThreadState* __tstate = wxPyBeginAllowThreads();
2292 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2293
2294 wxPyEndAllowThreads(__tstate);
2295 if (PyErr_Occurred()) SWIG_fail;
2296 }
2297 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2298 {
2299 if (arg6) delete [] arg6;
2300 }
2301 {
2302 if (temp8)
2303 delete arg9;
2304 }
2305 return resultobj;
2306 fail:
2307 {
2308 if (arg6) delete [] arg6;
2309 }
2310 {
2311 if (temp8)
2312 delete arg9;
2313 }
2314 return NULL;
2315 }
2316
2317
2318 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2319 PyObject *resultobj;
2320 wxChoice *result;
2321 char *kwnames[] = {
2322 NULL
2323 };
2324
2325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2326 {
2327 PyThreadState* __tstate = wxPyBeginAllowThreads();
2328 result = (wxChoice *)new wxChoice();
2329
2330 wxPyEndAllowThreads(__tstate);
2331 if (PyErr_Occurred()) SWIG_fail;
2332 }
2333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2334 return resultobj;
2335 fail:
2336 return NULL;
2337 }
2338
2339
2340 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2341 PyObject *resultobj;
2342 wxChoice *arg1 = (wxChoice *) 0 ;
2343 wxWindow *arg2 = (wxWindow *) 0 ;
2344 int arg3 ;
2345 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2346 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2347 wxSize const &arg5_defvalue = wxDefaultSize ;
2348 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2349 int arg6 = (int) 0 ;
2350 wxString *arg7 = (wxString *) NULL ;
2351 long arg8 = (long) 0 ;
2352 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2353 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2354 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2355 wxString *arg10 = (wxString *) &arg10_defvalue ;
2356 bool result;
2357 wxPoint temp4 ;
2358 wxSize temp5 ;
2359 bool temp9 = False ;
2360 PyObject * obj0 = 0 ;
2361 PyObject * obj1 = 0 ;
2362 PyObject * obj3 = 0 ;
2363 PyObject * obj4 = 0 ;
2364 PyObject * obj5 = 0 ;
2365 PyObject * obj7 = 0 ;
2366 PyObject * obj8 = 0 ;
2367 char *kwnames[] = {
2368 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2369 };
2370
2371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2374 if (obj3) {
2375 {
2376 arg4 = &temp4;
2377 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2378 }
2379 }
2380 if (obj4) {
2381 {
2382 arg5 = &temp5;
2383 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2384 }
2385 }
2386 if (obj5) {
2387 {
2388 arg6 = PyList_Size(obj5);
2389 arg7 = wxString_LIST_helper(obj5);
2390 if (arg7 == NULL) SWIG_fail;
2391 }
2392 }
2393 if (obj7) {
2394 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2395 if (arg9 == NULL) {
2396 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2397 }
2398 }
2399 if (obj8) {
2400 {
2401 arg10 = wxString_in_helper(obj8);
2402 if (arg10 == NULL) SWIG_fail;
2403 temp9 = True;
2404 }
2405 }
2406 {
2407 PyThreadState* __tstate = wxPyBeginAllowThreads();
2408 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2409
2410 wxPyEndAllowThreads(__tstate);
2411 if (PyErr_Occurred()) SWIG_fail;
2412 }
2413 resultobj = PyInt_FromLong((long)result);
2414 {
2415 if (arg7) delete [] arg7;
2416 }
2417 {
2418 if (temp9)
2419 delete arg10;
2420 }
2421 return resultobj;
2422 fail:
2423 {
2424 if (arg7) delete [] arg7;
2425 }
2426 {
2427 if (temp9)
2428 delete arg10;
2429 }
2430 return NULL;
2431 }
2432
2433
2434 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2435 PyObject *resultobj;
2436 wxChoice *arg1 = (wxChoice *) 0 ;
2437 int result;
2438 PyObject * obj0 = 0 ;
2439 char *kwnames[] = {
2440 (char *) "self", NULL
2441 };
2442
2443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2445 {
2446 PyThreadState* __tstate = wxPyBeginAllowThreads();
2447 result = (int)(arg1)->GetColumns();
2448
2449 wxPyEndAllowThreads(__tstate);
2450 if (PyErr_Occurred()) SWIG_fail;
2451 }
2452 resultobj = PyInt_FromLong((long)result);
2453 return resultobj;
2454 fail:
2455 return NULL;
2456 }
2457
2458
2459 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2460 PyObject *resultobj;
2461 wxChoice *arg1 = (wxChoice *) 0 ;
2462 int arg2 = (int) (int)1 ;
2463 PyObject * obj0 = 0 ;
2464 char *kwnames[] = {
2465 (char *) "self",(char *) "n", NULL
2466 };
2467
2468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2470 {
2471 PyThreadState* __tstate = wxPyBeginAllowThreads();
2472 (arg1)->SetColumns(arg2);
2473
2474 wxPyEndAllowThreads(__tstate);
2475 if (PyErr_Occurred()) SWIG_fail;
2476 }
2477 Py_INCREF(Py_None); resultobj = Py_None;
2478 return resultobj;
2479 fail:
2480 return NULL;
2481 }
2482
2483
2484 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2485 PyObject *resultobj;
2486 wxChoice *arg1 = (wxChoice *) 0 ;
2487 int arg2 ;
2488 PyObject * obj0 = 0 ;
2489 char *kwnames[] = {
2490 (char *) "self",(char *) "n", NULL
2491 };
2492
2493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2495 {
2496 PyThreadState* __tstate = wxPyBeginAllowThreads();
2497 (arg1)->SetSelection(arg2);
2498
2499 wxPyEndAllowThreads(__tstate);
2500 if (PyErr_Occurred()) SWIG_fail;
2501 }
2502 Py_INCREF(Py_None); resultobj = Py_None;
2503 return resultobj;
2504 fail:
2505 return NULL;
2506 }
2507
2508
2509 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject *resultobj;
2511 wxChoice *arg1 = (wxChoice *) 0 ;
2512 wxString *arg2 = 0 ;
2513 bool temp2 = False ;
2514 PyObject * obj0 = 0 ;
2515 PyObject * obj1 = 0 ;
2516 char *kwnames[] = {
2517 (char *) "self",(char *) "string", NULL
2518 };
2519
2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2522 {
2523 arg2 = wxString_in_helper(obj1);
2524 if (arg2 == NULL) SWIG_fail;
2525 temp2 = True;
2526 }
2527 {
2528 PyThreadState* __tstate = wxPyBeginAllowThreads();
2529 (arg1)->SetStringSelection((wxString const &)*arg2);
2530
2531 wxPyEndAllowThreads(__tstate);
2532 if (PyErr_Occurred()) SWIG_fail;
2533 }
2534 Py_INCREF(Py_None); resultobj = Py_None;
2535 {
2536 if (temp2)
2537 delete arg2;
2538 }
2539 return resultobj;
2540 fail:
2541 {
2542 if (temp2)
2543 delete arg2;
2544 }
2545 return NULL;
2546 }
2547
2548
2549 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2550 PyObject *resultobj;
2551 wxChoice *arg1 = (wxChoice *) 0 ;
2552 int arg2 ;
2553 wxString *arg3 = 0 ;
2554 bool temp3 = False ;
2555 PyObject * obj0 = 0 ;
2556 PyObject * obj2 = 0 ;
2557 char *kwnames[] = {
2558 (char *) "self",(char *) "n",(char *) "s", NULL
2559 };
2560
2561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2563 {
2564 arg3 = wxString_in_helper(obj2);
2565 if (arg3 == NULL) SWIG_fail;
2566 temp3 = True;
2567 }
2568 {
2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
2570 (arg1)->SetString(arg2,(wxString const &)*arg3);
2571
2572 wxPyEndAllowThreads(__tstate);
2573 if (PyErr_Occurred()) SWIG_fail;
2574 }
2575 Py_INCREF(Py_None); resultobj = Py_None;
2576 {
2577 if (temp3)
2578 delete arg3;
2579 }
2580 return resultobj;
2581 fail:
2582 {
2583 if (temp3)
2584 delete arg3;
2585 }
2586 return NULL;
2587 }
2588
2589
2590 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2591 PyObject *obj;
2592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2593 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2594 Py_INCREF(obj);
2595 return Py_BuildValue((char *)"");
2596 }
2597 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2598 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2599 return 1;
2600 }
2601
2602
2603 static PyObject *_wrap_ComboBoxNameStr_get() {
2604 PyObject *pyobj;
2605
2606 {
2607 #if wxUSE_UNICODE
2608 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2609 #else
2610 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2611 #endif
2612 }
2613 return pyobj;
2614 }
2615
2616
2617 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2618 PyObject *resultobj;
2619 wxWindow *arg1 = (wxWindow *) 0 ;
2620 int arg2 ;
2621 wxString const &arg3_defvalue = wxPyEmptyString ;
2622 wxString *arg3 = (wxString *) &arg3_defvalue ;
2623 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2624 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2625 wxSize const &arg5_defvalue = wxDefaultSize ;
2626 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2627 int arg6 = (int) 0 ;
2628 wxString *arg7 = (wxString *) NULL ;
2629 long arg8 = (long) 0 ;
2630 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2631 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2632 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2633 wxString *arg10 = (wxString *) &arg10_defvalue ;
2634 wxComboBox *result;
2635 bool temp3 = False ;
2636 wxPoint temp4 ;
2637 wxSize temp5 ;
2638 bool temp9 = False ;
2639 PyObject * obj0 = 0 ;
2640 PyObject * obj2 = 0 ;
2641 PyObject * obj3 = 0 ;
2642 PyObject * obj4 = 0 ;
2643 PyObject * obj5 = 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 *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2652 if (obj2) {
2653 {
2654 arg3 = wxString_in_helper(obj2);
2655 if (arg3 == NULL) SWIG_fail;
2656 temp3 = True;
2657 }
2658 }
2659 if (obj3) {
2660 {
2661 arg4 = &temp4;
2662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2663 }
2664 }
2665 if (obj4) {
2666 {
2667 arg5 = &temp5;
2668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2669 }
2670 }
2671 if (obj5) {
2672 {
2673 arg6 = PyList_Size(obj5);
2674 arg7 = wxString_LIST_helper(obj5);
2675 if (arg7 == NULL) SWIG_fail;
2676 }
2677 }
2678 if (obj7) {
2679 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2680 if (arg9 == NULL) {
2681 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2682 }
2683 }
2684 if (obj8) {
2685 {
2686 arg10 = wxString_in_helper(obj8);
2687 if (arg10 == NULL) SWIG_fail;
2688 temp9 = True;
2689 }
2690 }
2691 {
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
2693 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2699 {
2700 if (temp3)
2701 delete arg3;
2702 }
2703 {
2704 if (arg7) delete [] arg7;
2705 }
2706 {
2707 if (temp9)
2708 delete arg10;
2709 }
2710 return resultobj;
2711 fail:
2712 {
2713 if (temp3)
2714 delete arg3;
2715 }
2716 {
2717 if (arg7) delete [] arg7;
2718 }
2719 {
2720 if (temp9)
2721 delete arg10;
2722 }
2723 return NULL;
2724 }
2725
2726
2727 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2728 PyObject *resultobj;
2729 wxComboBox *result;
2730 char *kwnames[] = {
2731 NULL
2732 };
2733
2734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2735 {
2736 PyThreadState* __tstate = wxPyBeginAllowThreads();
2737 result = (wxComboBox *)new wxComboBox();
2738
2739 wxPyEndAllowThreads(__tstate);
2740 if (PyErr_Occurred()) SWIG_fail;
2741 }
2742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2743 return resultobj;
2744 fail:
2745 return NULL;
2746 }
2747
2748
2749 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2750 PyObject *resultobj;
2751 wxComboBox *arg1 = (wxComboBox *) 0 ;
2752 wxWindow *arg2 = (wxWindow *) 0 ;
2753 int arg3 ;
2754 wxString const &arg4_defvalue = wxPyEmptyString ;
2755 wxString *arg4 = (wxString *) &arg4_defvalue ;
2756 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2757 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2758 wxSize const &arg6_defvalue = wxDefaultSize ;
2759 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2760 int arg7 = (int) 0 ;
2761 wxString *arg8 = (wxString *) NULL ;
2762 long arg9 = (long) 0 ;
2763 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2764 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2765 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2766 wxString *arg11 = (wxString *) &arg11_defvalue ;
2767 bool result;
2768 bool temp4 = False ;
2769 wxPoint temp5 ;
2770 wxSize temp6 ;
2771 bool temp10 = False ;
2772 PyObject * obj0 = 0 ;
2773 PyObject * obj1 = 0 ;
2774 PyObject * obj3 = 0 ;
2775 PyObject * obj4 = 0 ;
2776 PyObject * obj5 = 0 ;
2777 PyObject * obj6 = 0 ;
2778 PyObject * obj8 = 0 ;
2779 PyObject * obj9 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2787 if (obj3) {
2788 {
2789 arg4 = wxString_in_helper(obj3);
2790 if (arg4 == NULL) SWIG_fail;
2791 temp4 = True;
2792 }
2793 }
2794 if (obj4) {
2795 {
2796 arg5 = &temp5;
2797 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2798 }
2799 }
2800 if (obj5) {
2801 {
2802 arg6 = &temp6;
2803 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2804 }
2805 }
2806 if (obj6) {
2807 {
2808 arg7 = PyList_Size(obj6);
2809 arg8 = wxString_LIST_helper(obj6);
2810 if (arg8 == NULL) SWIG_fail;
2811 }
2812 }
2813 if (obj8) {
2814 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2815 if (arg10 == NULL) {
2816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2817 }
2818 }
2819 if (obj9) {
2820 {
2821 arg11 = wxString_in_helper(obj9);
2822 if (arg11 == NULL) SWIG_fail;
2823 temp10 = True;
2824 }
2825 }
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 resultobj = PyInt_FromLong((long)result);
2834 {
2835 if (temp4)
2836 delete arg4;
2837 }
2838 {
2839 if (arg8) delete [] arg8;
2840 }
2841 {
2842 if (temp10)
2843 delete arg11;
2844 }
2845 return resultobj;
2846 fail:
2847 {
2848 if (temp4)
2849 delete arg4;
2850 }
2851 {
2852 if (arg8) delete [] arg8;
2853 }
2854 {
2855 if (temp10)
2856 delete arg11;
2857 }
2858 return NULL;
2859 }
2860
2861
2862 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2863 PyObject *resultobj;
2864 wxComboBox *arg1 = (wxComboBox *) 0 ;
2865 wxString result;
2866 PyObject * obj0 = 0 ;
2867 char *kwnames[] = {
2868 (char *) "self", NULL
2869 };
2870
2871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2873 {
2874 PyThreadState* __tstate = wxPyBeginAllowThreads();
2875 result = ((wxComboBox const *)arg1)->GetValue();
2876
2877 wxPyEndAllowThreads(__tstate);
2878 if (PyErr_Occurred()) SWIG_fail;
2879 }
2880 {
2881 #if wxUSE_UNICODE
2882 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2883 #else
2884 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2885 #endif
2886 }
2887 return resultobj;
2888 fail:
2889 return NULL;
2890 }
2891
2892
2893 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2894 PyObject *resultobj;
2895 wxComboBox *arg1 = (wxComboBox *) 0 ;
2896 wxString *arg2 = 0 ;
2897 bool temp2 = False ;
2898 PyObject * obj0 = 0 ;
2899 PyObject * obj1 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self",(char *) "value", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2906 {
2907 arg2 = wxString_in_helper(obj1);
2908 if (arg2 == NULL) SWIG_fail;
2909 temp2 = True;
2910 }
2911 {
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 (arg1)->SetValue((wxString const &)*arg2);
2914
2915 wxPyEndAllowThreads(__tstate);
2916 if (PyErr_Occurred()) SWIG_fail;
2917 }
2918 Py_INCREF(Py_None); resultobj = Py_None;
2919 {
2920 if (temp2)
2921 delete arg2;
2922 }
2923 return resultobj;
2924 fail:
2925 {
2926 if (temp2)
2927 delete arg2;
2928 }
2929 return NULL;
2930 }
2931
2932
2933 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2934 PyObject *resultobj;
2935 wxComboBox *arg1 = (wxComboBox *) 0 ;
2936 PyObject * obj0 = 0 ;
2937 char *kwnames[] = {
2938 (char *) "self", NULL
2939 };
2940
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2943 {
2944 PyThreadState* __tstate = wxPyBeginAllowThreads();
2945 (arg1)->Copy();
2946
2947 wxPyEndAllowThreads(__tstate);
2948 if (PyErr_Occurred()) SWIG_fail;
2949 }
2950 Py_INCREF(Py_None); resultobj = Py_None;
2951 return resultobj;
2952 fail:
2953 return NULL;
2954 }
2955
2956
2957 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2958 PyObject *resultobj;
2959 wxComboBox *arg1 = (wxComboBox *) 0 ;
2960 PyObject * obj0 = 0 ;
2961 char *kwnames[] = {
2962 (char *) "self", NULL
2963 };
2964
2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2967 {
2968 PyThreadState* __tstate = wxPyBeginAllowThreads();
2969 (arg1)->Cut();
2970
2971 wxPyEndAllowThreads(__tstate);
2972 if (PyErr_Occurred()) SWIG_fail;
2973 }
2974 Py_INCREF(Py_None); resultobj = Py_None;
2975 return resultobj;
2976 fail:
2977 return NULL;
2978 }
2979
2980
2981 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2982 PyObject *resultobj;
2983 wxComboBox *arg1 = (wxComboBox *) 0 ;
2984 PyObject * obj0 = 0 ;
2985 char *kwnames[] = {
2986 (char *) "self", NULL
2987 };
2988
2989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2991 {
2992 PyThreadState* __tstate = wxPyBeginAllowThreads();
2993 (arg1)->Paste();
2994
2995 wxPyEndAllowThreads(__tstate);
2996 if (PyErr_Occurred()) SWIG_fail;
2997 }
2998 Py_INCREF(Py_None); resultobj = Py_None;
2999 return resultobj;
3000 fail:
3001 return NULL;
3002 }
3003
3004
3005 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3006 PyObject *resultobj;
3007 wxComboBox *arg1 = (wxComboBox *) 0 ;
3008 long arg2 ;
3009 PyObject * obj0 = 0 ;
3010 char *kwnames[] = {
3011 (char *) "self",(char *) "pos", NULL
3012 };
3013
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
3015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3016 {
3017 PyThreadState* __tstate = wxPyBeginAllowThreads();
3018 (arg1)->SetInsertionPoint(arg2);
3019
3020 wxPyEndAllowThreads(__tstate);
3021 if (PyErr_Occurred()) SWIG_fail;
3022 }
3023 Py_INCREF(Py_None); resultobj = Py_None;
3024 return resultobj;
3025 fail:
3026 return NULL;
3027 }
3028
3029
3030 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
3031 PyObject *resultobj;
3032 wxComboBox *arg1 = (wxComboBox *) 0 ;
3033 long result;
3034 PyObject * obj0 = 0 ;
3035 char *kwnames[] = {
3036 (char *) "self", NULL
3037 };
3038
3039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
3040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3041 {
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
3043 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 }
3048 resultobj = PyInt_FromLong((long)result);
3049 return resultobj;
3050 fail:
3051 return NULL;
3052 }
3053
3054
3055 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3056 PyObject *resultobj;
3057 wxComboBox *arg1 = (wxComboBox *) 0 ;
3058 long result;
3059 PyObject * obj0 = 0 ;
3060 char *kwnames[] = {
3061 (char *) "self", NULL
3062 };
3063
3064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3066 {
3067 PyThreadState* __tstate = wxPyBeginAllowThreads();
3068 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3069
3070 wxPyEndAllowThreads(__tstate);
3071 if (PyErr_Occurred()) SWIG_fail;
3072 }
3073 resultobj = PyInt_FromLong((long)result);
3074 return resultobj;
3075 fail:
3076 return NULL;
3077 }
3078
3079
3080 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3081 PyObject *resultobj;
3082 wxComboBox *arg1 = (wxComboBox *) 0 ;
3083 long arg2 ;
3084 long arg3 ;
3085 wxString *arg4 = 0 ;
3086 bool temp4 = False ;
3087 PyObject * obj0 = 0 ;
3088 PyObject * obj3 = 0 ;
3089 char *kwnames[] = {
3090 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3091 };
3092
3093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3095 {
3096 arg4 = wxString_in_helper(obj3);
3097 if (arg4 == NULL) SWIG_fail;
3098 temp4 = True;
3099 }
3100 {
3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
3102 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3103
3104 wxPyEndAllowThreads(__tstate);
3105 if (PyErr_Occurred()) SWIG_fail;
3106 }
3107 Py_INCREF(Py_None); resultobj = Py_None;
3108 {
3109 if (temp4)
3110 delete arg4;
3111 }
3112 return resultobj;
3113 fail:
3114 {
3115 if (temp4)
3116 delete arg4;
3117 }
3118 return NULL;
3119 }
3120
3121
3122 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3123 PyObject *resultobj;
3124 wxComboBox *arg1 = (wxComboBox *) 0 ;
3125 int arg2 ;
3126 PyObject * obj0 = 0 ;
3127 char *kwnames[] = {
3128 (char *) "self",(char *) "n", NULL
3129 };
3130
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
3132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3133 {
3134 PyThreadState* __tstate = wxPyBeginAllowThreads();
3135 (arg1)->SetSelection(arg2);
3136
3137 wxPyEndAllowThreads(__tstate);
3138 if (PyErr_Occurred()) SWIG_fail;
3139 }
3140 Py_INCREF(Py_None); resultobj = Py_None;
3141 return resultobj;
3142 fail:
3143 return NULL;
3144 }
3145
3146
3147 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3148 PyObject *resultobj;
3149 wxComboBox *arg1 = (wxComboBox *) 0 ;
3150 long arg2 ;
3151 long arg3 ;
3152 PyObject * obj0 = 0 ;
3153 char *kwnames[] = {
3154 (char *) "self",(char *) "from",(char *) "to", NULL
3155 };
3156
3157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
3158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3159 {
3160 PyThreadState* __tstate = wxPyBeginAllowThreads();
3161 (arg1)->SetSelection(arg2,arg3);
3162
3163 wxPyEndAllowThreads(__tstate);
3164 if (PyErr_Occurred()) SWIG_fail;
3165 }
3166 Py_INCREF(Py_None); resultobj = Py_None;
3167 return resultobj;
3168 fail:
3169 return NULL;
3170 }
3171
3172
3173 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3174 PyObject *resultobj;
3175 wxComboBox *arg1 = (wxComboBox *) 0 ;
3176 bool arg2 ;
3177 PyObject * obj0 = 0 ;
3178 PyObject * obj1 = 0 ;
3179 char *kwnames[] = {
3180 (char *) "self",(char *) "editable", NULL
3181 };
3182
3183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3185 {
3186 arg2 = (bool) SPyObj_AsBool(obj1);
3187 if (PyErr_Occurred()) SWIG_fail;
3188 }
3189 {
3190 PyThreadState* __tstate = wxPyBeginAllowThreads();
3191 (arg1)->SetEditable(arg2);
3192
3193 wxPyEndAllowThreads(__tstate);
3194 if (PyErr_Occurred()) SWIG_fail;
3195 }
3196 Py_INCREF(Py_None); resultobj = Py_None;
3197 return resultobj;
3198 fail:
3199 return NULL;
3200 }
3201
3202
3203 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3204 PyObject *resultobj;
3205 wxComboBox *arg1 = (wxComboBox *) 0 ;
3206 PyObject * obj0 = 0 ;
3207 char *kwnames[] = {
3208 (char *) "self", NULL
3209 };
3210
3211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 (arg1)->SetInsertionPointEnd();
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 Py_INCREF(Py_None); resultobj = Py_None;
3221 return resultobj;
3222 fail:
3223 return NULL;
3224 }
3225
3226
3227 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3228 PyObject *resultobj;
3229 wxComboBox *arg1 = (wxComboBox *) 0 ;
3230 long arg2 ;
3231 long arg3 ;
3232 PyObject * obj0 = 0 ;
3233 char *kwnames[] = {
3234 (char *) "self",(char *) "from",(char *) "to", NULL
3235 };
3236
3237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3239 {
3240 PyThreadState* __tstate = wxPyBeginAllowThreads();
3241 (arg1)->Remove(arg2,arg3);
3242
3243 wxPyEndAllowThreads(__tstate);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 }
3246 Py_INCREF(Py_None); resultobj = Py_None;
3247 return resultobj;
3248 fail:
3249 return NULL;
3250 }
3251
3252
3253 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3254 PyObject *obj;
3255 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3256 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3257 Py_INCREF(obj);
3258 return Py_BuildValue((char *)"");
3259 }
3260 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3261 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3262 return 1;
3263 }
3264
3265
3266 static PyObject *_wrap_GaugeNameStr_get() {
3267 PyObject *pyobj;
3268
3269 {
3270 #if wxUSE_UNICODE
3271 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3272 #else
3273 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3274 #endif
3275 }
3276 return pyobj;
3277 }
3278
3279
3280 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3281 PyObject *resultobj;
3282 wxWindow *arg1 = (wxWindow *) 0 ;
3283 int arg2 ;
3284 int arg3 ;
3285 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3286 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3287 wxSize const &arg5_defvalue = wxDefaultSize ;
3288 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3289 long arg6 = (long) wxGA_HORIZONTAL ;
3290 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3291 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3292 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3293 wxString *arg8 = (wxString *) &arg8_defvalue ;
3294 wxGauge *result;
3295 wxPoint temp4 ;
3296 wxSize temp5 ;
3297 bool temp8 = False ;
3298 PyObject * obj0 = 0 ;
3299 PyObject * obj3 = 0 ;
3300 PyObject * obj4 = 0 ;
3301 PyObject * obj6 = 0 ;
3302 PyObject * obj7 = 0 ;
3303 char *kwnames[] = {
3304 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3305 };
3306
3307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3309 if (obj3) {
3310 {
3311 arg4 = &temp4;
3312 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3313 }
3314 }
3315 if (obj4) {
3316 {
3317 arg5 = &temp5;
3318 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3319 }
3320 }
3321 if (obj6) {
3322 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3323 if (arg7 == NULL) {
3324 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3325 }
3326 }
3327 if (obj7) {
3328 {
3329 arg8 = wxString_in_helper(obj7);
3330 if (arg8 == NULL) SWIG_fail;
3331 temp8 = True;
3332 }
3333 }
3334 {
3335 PyThreadState* __tstate = wxPyBeginAllowThreads();
3336 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3337
3338 wxPyEndAllowThreads(__tstate);
3339 if (PyErr_Occurred()) SWIG_fail;
3340 }
3341 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3342 {
3343 if (temp8)
3344 delete arg8;
3345 }
3346 return resultobj;
3347 fail:
3348 {
3349 if (temp8)
3350 delete arg8;
3351 }
3352 return NULL;
3353 }
3354
3355
3356 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3357 PyObject *resultobj;
3358 wxGauge *result;
3359 char *kwnames[] = {
3360 NULL
3361 };
3362
3363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3364 {
3365 PyThreadState* __tstate = wxPyBeginAllowThreads();
3366 result = (wxGauge *)new wxGauge();
3367
3368 wxPyEndAllowThreads(__tstate);
3369 if (PyErr_Occurred()) SWIG_fail;
3370 }
3371 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3372 return resultobj;
3373 fail:
3374 return NULL;
3375 }
3376
3377
3378 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3379 PyObject *resultobj;
3380 wxGauge *arg1 = (wxGauge *) 0 ;
3381 wxWindow *arg2 = (wxWindow *) 0 ;
3382 int arg3 ;
3383 int arg4 ;
3384 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3385 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3386 wxSize const &arg6_defvalue = wxDefaultSize ;
3387 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3388 long arg7 = (long) wxGA_HORIZONTAL ;
3389 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3390 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3391 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3392 wxString *arg9 = (wxString *) &arg9_defvalue ;
3393 bool result;
3394 wxPoint temp5 ;
3395 wxSize temp6 ;
3396 bool temp9 = False ;
3397 PyObject * obj0 = 0 ;
3398 PyObject * obj1 = 0 ;
3399 PyObject * obj4 = 0 ;
3400 PyObject * obj5 = 0 ;
3401 PyObject * obj7 = 0 ;
3402 PyObject * obj8 = 0 ;
3403 char *kwnames[] = {
3404 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3405 };
3406
3407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3409 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3410 if (obj4) {
3411 {
3412 arg5 = &temp5;
3413 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3414 }
3415 }
3416 if (obj5) {
3417 {
3418 arg6 = &temp6;
3419 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3420 }
3421 }
3422 if (obj7) {
3423 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3424 if (arg8 == NULL) {
3425 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3426 }
3427 }
3428 if (obj8) {
3429 {
3430 arg9 = wxString_in_helper(obj8);
3431 if (arg9 == NULL) SWIG_fail;
3432 temp9 = True;
3433 }
3434 }
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 resultobj = PyInt_FromLong((long)result);
3443 {
3444 if (temp9)
3445 delete arg9;
3446 }
3447 return resultobj;
3448 fail:
3449 {
3450 if (temp9)
3451 delete arg9;
3452 }
3453 return NULL;
3454 }
3455
3456
3457 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxGauge *arg1 = (wxGauge *) 0 ;
3460 int arg2 ;
3461 PyObject * obj0 = 0 ;
3462 char *kwnames[] = {
3463 (char *) "self",(char *) "range", NULL
3464 };
3465
3466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3468 {
3469 PyThreadState* __tstate = wxPyBeginAllowThreads();
3470 (arg1)->SetRange(arg2);
3471
3472 wxPyEndAllowThreads(__tstate);
3473 if (PyErr_Occurred()) SWIG_fail;
3474 }
3475 Py_INCREF(Py_None); resultobj = Py_None;
3476 return resultobj;
3477 fail:
3478 return NULL;
3479 }
3480
3481
3482 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3483 PyObject *resultobj;
3484 wxGauge *arg1 = (wxGauge *) 0 ;
3485 int result;
3486 PyObject * obj0 = 0 ;
3487 char *kwnames[] = {
3488 (char *) "self", NULL
3489 };
3490
3491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3493 {
3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
3495 result = (int)((wxGauge const *)arg1)->GetRange();
3496
3497 wxPyEndAllowThreads(__tstate);
3498 if (PyErr_Occurred()) SWIG_fail;
3499 }
3500 resultobj = PyInt_FromLong((long)result);
3501 return resultobj;
3502 fail:
3503 return NULL;
3504 }
3505
3506
3507 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3508 PyObject *resultobj;
3509 wxGauge *arg1 = (wxGauge *) 0 ;
3510 int arg2 ;
3511 PyObject * obj0 = 0 ;
3512 char *kwnames[] = {
3513 (char *) "self",(char *) "pos", NULL
3514 };
3515
3516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3518 {
3519 PyThreadState* __tstate = wxPyBeginAllowThreads();
3520 (arg1)->SetValue(arg2);
3521
3522 wxPyEndAllowThreads(__tstate);
3523 if (PyErr_Occurred()) SWIG_fail;
3524 }
3525 Py_INCREF(Py_None); resultobj = Py_None;
3526 return resultobj;
3527 fail:
3528 return NULL;
3529 }
3530
3531
3532 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxGauge *arg1 = (wxGauge *) 0 ;
3535 int result;
3536 PyObject * obj0 = 0 ;
3537 char *kwnames[] = {
3538 (char *) "self", NULL
3539 };
3540
3541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3543 {
3544 PyThreadState* __tstate = wxPyBeginAllowThreads();
3545 result = (int)((wxGauge const *)arg1)->GetValue();
3546
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
3550 resultobj = PyInt_FromLong((long)result);
3551 return resultobj;
3552 fail:
3553 return NULL;
3554 }
3555
3556
3557 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj;
3559 wxGauge *arg1 = (wxGauge *) 0 ;
3560 bool result;
3561 PyObject * obj0 = 0 ;
3562 char *kwnames[] = {
3563 (char *) "self", NULL
3564 };
3565
3566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3568 {
3569 PyThreadState* __tstate = wxPyBeginAllowThreads();
3570 result = (bool)((wxGauge const *)arg1)->IsVertical();
3571
3572 wxPyEndAllowThreads(__tstate);
3573 if (PyErr_Occurred()) SWIG_fail;
3574 }
3575 resultobj = PyInt_FromLong((long)result);
3576 return resultobj;
3577 fail:
3578 return NULL;
3579 }
3580
3581
3582 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3583 PyObject *resultobj;
3584 wxGauge *arg1 = (wxGauge *) 0 ;
3585 int arg2 ;
3586 PyObject * obj0 = 0 ;
3587 char *kwnames[] = {
3588 (char *) "self",(char *) "w", NULL
3589 };
3590
3591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3593 {
3594 PyThreadState* __tstate = wxPyBeginAllowThreads();
3595 (arg1)->SetShadowWidth(arg2);
3596
3597 wxPyEndAllowThreads(__tstate);
3598 if (PyErr_Occurred()) SWIG_fail;
3599 }
3600 Py_INCREF(Py_None); resultobj = Py_None;
3601 return resultobj;
3602 fail:
3603 return NULL;
3604 }
3605
3606
3607 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj;
3609 wxGauge *arg1 = (wxGauge *) 0 ;
3610 int result;
3611 PyObject * obj0 = 0 ;
3612 char *kwnames[] = {
3613 (char *) "self", NULL
3614 };
3615
3616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3618 {
3619 PyThreadState* __tstate = wxPyBeginAllowThreads();
3620 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3621
3622 wxPyEndAllowThreads(__tstate);
3623 if (PyErr_Occurred()) SWIG_fail;
3624 }
3625 resultobj = PyInt_FromLong((long)result);
3626 return resultobj;
3627 fail:
3628 return NULL;
3629 }
3630
3631
3632 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3633 PyObject *resultobj;
3634 wxGauge *arg1 = (wxGauge *) 0 ;
3635 int arg2 ;
3636 PyObject * obj0 = 0 ;
3637 char *kwnames[] = {
3638 (char *) "self",(char *) "w", NULL
3639 };
3640
3641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3643 {
3644 PyThreadState* __tstate = wxPyBeginAllowThreads();
3645 (arg1)->SetBezelFace(arg2);
3646
3647 wxPyEndAllowThreads(__tstate);
3648 if (PyErr_Occurred()) SWIG_fail;
3649 }
3650 Py_INCREF(Py_None); resultobj = Py_None;
3651 return resultobj;
3652 fail:
3653 return NULL;
3654 }
3655
3656
3657 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3658 PyObject *resultobj;
3659 wxGauge *arg1 = (wxGauge *) 0 ;
3660 int result;
3661 PyObject * obj0 = 0 ;
3662 char *kwnames[] = {
3663 (char *) "self", NULL
3664 };
3665
3666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3668 {
3669 PyThreadState* __tstate = wxPyBeginAllowThreads();
3670 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3671
3672 wxPyEndAllowThreads(__tstate);
3673 if (PyErr_Occurred()) SWIG_fail;
3674 }
3675 resultobj = PyInt_FromLong((long)result);
3676 return resultobj;
3677 fail:
3678 return NULL;
3679 }
3680
3681
3682 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3683 PyObject *obj;
3684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3685 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3686 Py_INCREF(obj);
3687 return Py_BuildValue((char *)"");
3688 }
3689 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3690 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3691 return 1;
3692 }
3693
3694
3695 static PyObject *_wrap_StaticBitmapNameStr_get() {
3696 PyObject *pyobj;
3697
3698 {
3699 #if wxUSE_UNICODE
3700 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3701 #else
3702 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3703 #endif
3704 }
3705 return pyobj;
3706 }
3707
3708
3709 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3710 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3711 return 1;
3712 }
3713
3714
3715 static PyObject *_wrap_StaticBoxNameStr_get() {
3716 PyObject *pyobj;
3717
3718 {
3719 #if wxUSE_UNICODE
3720 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3721 #else
3722 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3723 #endif
3724 }
3725 return pyobj;
3726 }
3727
3728
3729 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3730 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3731 return 1;
3732 }
3733
3734
3735 static PyObject *_wrap_StaticTextNameStr_get() {
3736 PyObject *pyobj;
3737
3738 {
3739 #if wxUSE_UNICODE
3740 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3741 #else
3742 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3743 #endif
3744 }
3745 return pyobj;
3746 }
3747
3748
3749 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 wxWindow *arg1 = (wxWindow *) 0 ;
3752 int arg2 ;
3753 wxString *arg3 = 0 ;
3754 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3755 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3756 wxSize const &arg5_defvalue = wxDefaultSize ;
3757 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3758 long arg6 = (long) 0 ;
3759 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3760 wxString *arg7 = (wxString *) &arg7_defvalue ;
3761 wxStaticBox *result;
3762 bool temp3 = False ;
3763 wxPoint temp4 ;
3764 wxSize temp5 ;
3765 bool temp7 = False ;
3766 PyObject * obj0 = 0 ;
3767 PyObject * obj2 = 0 ;
3768 PyObject * obj3 = 0 ;
3769 PyObject * obj4 = 0 ;
3770 PyObject * obj6 = 0 ;
3771 char *kwnames[] = {
3772 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3773 };
3774
3775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3777 {
3778 arg3 = wxString_in_helper(obj2);
3779 if (arg3 == NULL) SWIG_fail;
3780 temp3 = True;
3781 }
3782 if (obj3) {
3783 {
3784 arg4 = &temp4;
3785 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3786 }
3787 }
3788 if (obj4) {
3789 {
3790 arg5 = &temp5;
3791 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3792 }
3793 }
3794 if (obj6) {
3795 {
3796 arg7 = wxString_in_helper(obj6);
3797 if (arg7 == NULL) SWIG_fail;
3798 temp7 = True;
3799 }
3800 }
3801 {
3802 PyThreadState* __tstate = wxPyBeginAllowThreads();
3803 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3804
3805 wxPyEndAllowThreads(__tstate);
3806 if (PyErr_Occurred()) SWIG_fail;
3807 }
3808 {
3809 resultobj = wxPyMake_wxObject(result);
3810 }
3811 {
3812 if (temp3)
3813 delete arg3;
3814 }
3815 {
3816 if (temp7)
3817 delete arg7;
3818 }
3819 return resultobj;
3820 fail:
3821 {
3822 if (temp3)
3823 delete arg3;
3824 }
3825 {
3826 if (temp7)
3827 delete arg7;
3828 }
3829 return NULL;
3830 }
3831
3832
3833 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3834 PyObject *resultobj;
3835 wxStaticBox *result;
3836 char *kwnames[] = {
3837 NULL
3838 };
3839
3840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3841 {
3842 PyThreadState* __tstate = wxPyBeginAllowThreads();
3843 result = (wxStaticBox *)new wxStaticBox();
3844
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 {
3849 resultobj = wxPyMake_wxObject(result);
3850 }
3851 return resultobj;
3852 fail:
3853 return NULL;
3854 }
3855
3856
3857 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3858 PyObject *resultobj;
3859 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3860 wxWindow *arg2 = (wxWindow *) 0 ;
3861 int arg3 ;
3862 wxString *arg4 = 0 ;
3863 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3864 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3865 wxSize const &arg6_defvalue = wxDefaultSize ;
3866 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3867 long arg7 = (long) 0 ;
3868 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3869 wxString *arg8 = (wxString *) &arg8_defvalue ;
3870 bool result;
3871 bool temp4 = False ;
3872 wxPoint temp5 ;
3873 wxSize temp6 ;
3874 bool temp8 = False ;
3875 PyObject * obj0 = 0 ;
3876 PyObject * obj1 = 0 ;
3877 PyObject * obj3 = 0 ;
3878 PyObject * obj4 = 0 ;
3879 PyObject * obj5 = 0 ;
3880 PyObject * obj7 = 0 ;
3881 char *kwnames[] = {
3882 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3883 };
3884
3885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3887 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3888 {
3889 arg4 = wxString_in_helper(obj3);
3890 if (arg4 == NULL) SWIG_fail;
3891 temp4 = True;
3892 }
3893 if (obj4) {
3894 {
3895 arg5 = &temp5;
3896 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3897 }
3898 }
3899 if (obj5) {
3900 {
3901 arg6 = &temp6;
3902 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3903 }
3904 }
3905 if (obj7) {
3906 {
3907 arg8 = wxString_in_helper(obj7);
3908 if (arg8 == NULL) SWIG_fail;
3909 temp8 = True;
3910 }
3911 }
3912 {
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3915
3916 wxPyEndAllowThreads(__tstate);
3917 if (PyErr_Occurred()) SWIG_fail;
3918 }
3919 resultobj = PyInt_FromLong((long)result);
3920 {
3921 if (temp4)
3922 delete arg4;
3923 }
3924 {
3925 if (temp8)
3926 delete arg8;
3927 }
3928 return resultobj;
3929 fail:
3930 {
3931 if (temp4)
3932 delete arg4;
3933 }
3934 {
3935 if (temp8)
3936 delete arg8;
3937 }
3938 return NULL;
3939 }
3940
3941
3942 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3943 PyObject *obj;
3944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3945 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3946 Py_INCREF(obj);
3947 return Py_BuildValue((char *)"");
3948 }
3949 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3950 PyObject *resultobj;
3951 wxWindow *arg1 = (wxWindow *) 0 ;
3952 int arg2 ;
3953 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3954 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3955 wxSize const &arg4_defvalue = wxDefaultSize ;
3956 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3957 long arg5 = (long) wxLI_HORIZONTAL ;
3958 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3959 wxString *arg6 = (wxString *) &arg6_defvalue ;
3960 wxStaticLine *result;
3961 wxPoint temp3 ;
3962 wxSize temp4 ;
3963 bool temp6 = False ;
3964 PyObject * obj0 = 0 ;
3965 PyObject * obj2 = 0 ;
3966 PyObject * obj3 = 0 ;
3967 PyObject * obj5 = 0 ;
3968 char *kwnames[] = {
3969 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3970 };
3971
3972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3974 if (obj2) {
3975 {
3976 arg3 = &temp3;
3977 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3978 }
3979 }
3980 if (obj3) {
3981 {
3982 arg4 = &temp4;
3983 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3984 }
3985 }
3986 if (obj5) {
3987 {
3988 arg6 = wxString_in_helper(obj5);
3989 if (arg6 == NULL) SWIG_fail;
3990 temp6 = True;
3991 }
3992 }
3993 {
3994 PyThreadState* __tstate = wxPyBeginAllowThreads();
3995 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3996
3997 wxPyEndAllowThreads(__tstate);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
4000 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4001 {
4002 if (temp6)
4003 delete arg6;
4004 }
4005 return resultobj;
4006 fail:
4007 {
4008 if (temp6)
4009 delete arg6;
4010 }
4011 return NULL;
4012 }
4013
4014
4015 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4016 PyObject *resultobj;
4017 wxStaticLine *result;
4018 char *kwnames[] = {
4019 NULL
4020 };
4021
4022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
4023 {
4024 PyThreadState* __tstate = wxPyBeginAllowThreads();
4025 result = (wxStaticLine *)new wxStaticLine();
4026
4027 wxPyEndAllowThreads(__tstate);
4028 if (PyErr_Occurred()) SWIG_fail;
4029 }
4030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
4031 return resultobj;
4032 fail:
4033 return NULL;
4034 }
4035
4036
4037 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4038 PyObject *resultobj;
4039 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4040 wxWindow *arg2 = (wxWindow *) 0 ;
4041 int arg3 ;
4042 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4043 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4044 wxSize const &arg5_defvalue = wxDefaultSize ;
4045 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4046 long arg6 = (long) wxLI_HORIZONTAL ;
4047 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4048 wxString *arg7 = (wxString *) &arg7_defvalue ;
4049 bool result;
4050 wxPoint temp4 ;
4051 wxSize temp5 ;
4052 bool temp7 = False ;
4053 PyObject * obj0 = 0 ;
4054 PyObject * obj1 = 0 ;
4055 PyObject * obj3 = 0 ;
4056 PyObject * obj4 = 0 ;
4057 PyObject * obj6 = 0 ;
4058 char *kwnames[] = {
4059 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4060 };
4061
4062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4065 if (obj3) {
4066 {
4067 arg4 = &temp4;
4068 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4069 }
4070 }
4071 if (obj4) {
4072 {
4073 arg5 = &temp5;
4074 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4075 }
4076 }
4077 if (obj6) {
4078 {
4079 arg7 = wxString_in_helper(obj6);
4080 if (arg7 == NULL) SWIG_fail;
4081 temp7 = True;
4082 }
4083 }
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 resultobj = PyInt_FromLong((long)result);
4092 {
4093 if (temp7)
4094 delete arg7;
4095 }
4096 return resultobj;
4097 fail:
4098 {
4099 if (temp7)
4100 delete arg7;
4101 }
4102 return NULL;
4103 }
4104
4105
4106 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4107 PyObject *resultobj;
4108 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4109 bool result;
4110 PyObject * obj0 = 0 ;
4111 char *kwnames[] = {
4112 (char *) "self", NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4120
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 resultobj = PyInt_FromLong((long)result);
4125 return resultobj;
4126 fail:
4127 return NULL;
4128 }
4129
4130
4131 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4132 PyObject *resultobj;
4133 int result;
4134 char *kwnames[] = {
4135 NULL
4136 };
4137
4138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4139 {
4140 PyThreadState* __tstate = wxPyBeginAllowThreads();
4141 result = (int)wxStaticLine::GetDefaultSize();
4142
4143 wxPyEndAllowThreads(__tstate);
4144 if (PyErr_Occurred()) SWIG_fail;
4145 }
4146 resultobj = PyInt_FromLong((long)result);
4147 return resultobj;
4148 fail:
4149 return NULL;
4150 }
4151
4152
4153 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4154 PyObject *obj;
4155 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4156 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4157 Py_INCREF(obj);
4158 return Py_BuildValue((char *)"");
4159 }
4160 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj;
4162 wxWindow *arg1 = (wxWindow *) 0 ;
4163 int arg2 ;
4164 wxString *arg3 = 0 ;
4165 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4166 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4167 wxSize const &arg5_defvalue = wxDefaultSize ;
4168 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4169 long arg6 = (long) 0 ;
4170 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4171 wxString *arg7 = (wxString *) &arg7_defvalue ;
4172 wxStaticText *result;
4173 bool temp3 = False ;
4174 wxPoint temp4 ;
4175 wxSize temp5 ;
4176 bool temp7 = False ;
4177 PyObject * obj0 = 0 ;
4178 PyObject * obj2 = 0 ;
4179 PyObject * obj3 = 0 ;
4180 PyObject * obj4 = 0 ;
4181 PyObject * obj6 = 0 ;
4182 char *kwnames[] = {
4183 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4184 };
4185
4186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4188 {
4189 arg3 = wxString_in_helper(obj2);
4190 if (arg3 == NULL) SWIG_fail;
4191 temp3 = True;
4192 }
4193 if (obj3) {
4194 {
4195 arg4 = &temp4;
4196 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4197 }
4198 }
4199 if (obj4) {
4200 {
4201 arg5 = &temp5;
4202 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4203 }
4204 }
4205 if (obj6) {
4206 {
4207 arg7 = wxString_in_helper(obj6);
4208 if (arg7 == NULL) SWIG_fail;
4209 temp7 = True;
4210 }
4211 }
4212 {
4213 PyThreadState* __tstate = wxPyBeginAllowThreads();
4214 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4215
4216 wxPyEndAllowThreads(__tstate);
4217 if (PyErr_Occurred()) SWIG_fail;
4218 }
4219 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4220 {
4221 if (temp3)
4222 delete arg3;
4223 }
4224 {
4225 if (temp7)
4226 delete arg7;
4227 }
4228 return resultobj;
4229 fail:
4230 {
4231 if (temp3)
4232 delete arg3;
4233 }
4234 {
4235 if (temp7)
4236 delete arg7;
4237 }
4238 return NULL;
4239 }
4240
4241
4242 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj;
4244 wxStaticText *result;
4245 char *kwnames[] = {
4246 NULL
4247 };
4248
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 result = (wxStaticText *)new wxStaticText();
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4258 return resultobj;
4259 fail:
4260 return NULL;
4261 }
4262
4263
4264 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj;
4266 wxStaticText *arg1 = (wxStaticText *) 0 ;
4267 wxWindow *arg2 = (wxWindow *) 0 ;
4268 int arg3 ;
4269 wxString *arg4 = 0 ;
4270 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4271 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4272 wxSize const &arg6_defvalue = wxDefaultSize ;
4273 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4274 long arg7 = (long) 0 ;
4275 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4276 wxString *arg8 = (wxString *) &arg8_defvalue ;
4277 bool result;
4278 bool temp4 = False ;
4279 wxPoint temp5 ;
4280 wxSize temp6 ;
4281 bool temp8 = False ;
4282 PyObject * obj0 = 0 ;
4283 PyObject * obj1 = 0 ;
4284 PyObject * obj3 = 0 ;
4285 PyObject * obj4 = 0 ;
4286 PyObject * obj5 = 0 ;
4287 PyObject * obj7 = 0 ;
4288 char *kwnames[] = {
4289 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4290 };
4291
4292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4295 {
4296 arg4 = wxString_in_helper(obj3);
4297 if (arg4 == NULL) SWIG_fail;
4298 temp4 = True;
4299 }
4300 if (obj4) {
4301 {
4302 arg5 = &temp5;
4303 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4304 }
4305 }
4306 if (obj5) {
4307 {
4308 arg6 = &temp6;
4309 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4310 }
4311 }
4312 if (obj7) {
4313 {
4314 arg8 = wxString_in_helper(obj7);
4315 if (arg8 == NULL) SWIG_fail;
4316 temp8 = True;
4317 }
4318 }
4319 {
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4322
4323 wxPyEndAllowThreads(__tstate);
4324 if (PyErr_Occurred()) SWIG_fail;
4325 }
4326 resultobj = PyInt_FromLong((long)result);
4327 {
4328 if (temp4)
4329 delete arg4;
4330 }
4331 {
4332 if (temp8)
4333 delete arg8;
4334 }
4335 return resultobj;
4336 fail:
4337 {
4338 if (temp4)
4339 delete arg4;
4340 }
4341 {
4342 if (temp8)
4343 delete arg8;
4344 }
4345 return NULL;
4346 }
4347
4348
4349 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4350 PyObject *obj;
4351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4352 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4353 Py_INCREF(obj);
4354 return Py_BuildValue((char *)"");
4355 }
4356 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4357 PyObject *resultobj;
4358 wxWindow *arg1 = (wxWindow *) 0 ;
4359 int arg2 ;
4360 wxBitmap *arg3 = 0 ;
4361 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4362 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4363 wxSize const &arg5_defvalue = wxDefaultSize ;
4364 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4365 long arg6 = (long) 0 ;
4366 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4367 wxString *arg7 = (wxString *) &arg7_defvalue ;
4368 wxStaticBitmap *result;
4369 wxPoint temp4 ;
4370 wxSize temp5 ;
4371 bool temp7 = False ;
4372 PyObject * obj0 = 0 ;
4373 PyObject * obj2 = 0 ;
4374 PyObject * obj3 = 0 ;
4375 PyObject * obj4 = 0 ;
4376 PyObject * obj6 = 0 ;
4377 char *kwnames[] = {
4378 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4379 };
4380
4381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4383 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4384 if (arg3 == NULL) {
4385 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4386 }
4387 if (obj3) {
4388 {
4389 arg4 = &temp4;
4390 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4391 }
4392 }
4393 if (obj4) {
4394 {
4395 arg5 = &temp5;
4396 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4397 }
4398 }
4399 if (obj6) {
4400 {
4401 arg7 = wxString_in_helper(obj6);
4402 if (arg7 == NULL) SWIG_fail;
4403 temp7 = True;
4404 }
4405 }
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4409
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4414 {
4415 if (temp7)
4416 delete arg7;
4417 }
4418 return resultobj;
4419 fail:
4420 {
4421 if (temp7)
4422 delete arg7;
4423 }
4424 return NULL;
4425 }
4426
4427
4428 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4429 PyObject *resultobj;
4430 wxStaticBitmap *result;
4431 char *kwnames[] = {
4432 NULL
4433 };
4434
4435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4436 {
4437 PyThreadState* __tstate = wxPyBeginAllowThreads();
4438 result = (wxStaticBitmap *)new wxStaticBitmap();
4439
4440 wxPyEndAllowThreads(__tstate);
4441 if (PyErr_Occurred()) SWIG_fail;
4442 }
4443 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4444 return resultobj;
4445 fail:
4446 return NULL;
4447 }
4448
4449
4450 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4451 PyObject *resultobj;
4452 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4453 wxWindow *arg2 = (wxWindow *) 0 ;
4454 int arg3 ;
4455 wxBitmap *arg4 = 0 ;
4456 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4457 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4458 wxSize const &arg6_defvalue = wxDefaultSize ;
4459 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4460 long arg7 = (long) 0 ;
4461 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4462 wxString *arg8 = (wxString *) &arg8_defvalue ;
4463 bool result;
4464 wxPoint temp5 ;
4465 wxSize temp6 ;
4466 bool temp8 = False ;
4467 PyObject * obj0 = 0 ;
4468 PyObject * obj1 = 0 ;
4469 PyObject * obj3 = 0 ;
4470 PyObject * obj4 = 0 ;
4471 PyObject * obj5 = 0 ;
4472 PyObject * obj7 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4480 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4481 if (arg4 == NULL) {
4482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4483 }
4484 if (obj4) {
4485 {
4486 arg5 = &temp5;
4487 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4488 }
4489 }
4490 if (obj5) {
4491 {
4492 arg6 = &temp6;
4493 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4494 }
4495 }
4496 if (obj7) {
4497 {
4498 arg8 = wxString_in_helper(obj7);
4499 if (arg8 == NULL) SWIG_fail;
4500 temp8 = True;
4501 }
4502 }
4503 {
4504 PyThreadState* __tstate = wxPyBeginAllowThreads();
4505 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4506
4507 wxPyEndAllowThreads(__tstate);
4508 if (PyErr_Occurred()) SWIG_fail;
4509 }
4510 resultobj = PyInt_FromLong((long)result);
4511 {
4512 if (temp8)
4513 delete arg8;
4514 }
4515 return resultobj;
4516 fail:
4517 {
4518 if (temp8)
4519 delete arg8;
4520 }
4521 return NULL;
4522 }
4523
4524
4525 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4526 PyObject *resultobj;
4527 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4528 wxBitmap result;
4529 PyObject * obj0 = 0 ;
4530 char *kwnames[] = {
4531 (char *) "self", NULL
4532 };
4533
4534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4536 {
4537 PyThreadState* __tstate = wxPyBeginAllowThreads();
4538 result = (arg1)->GetBitmap();
4539
4540 wxPyEndAllowThreads(__tstate);
4541 if (PyErr_Occurred()) SWIG_fail;
4542 }
4543 {
4544 wxBitmap * resultptr;
4545 resultptr = new wxBitmap((wxBitmap &) result);
4546 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4547 }
4548 return resultobj;
4549 fail:
4550 return NULL;
4551 }
4552
4553
4554 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4555 PyObject *resultobj;
4556 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4557 wxBitmap *arg2 = 0 ;
4558 PyObject * obj0 = 0 ;
4559 PyObject * obj1 = 0 ;
4560 char *kwnames[] = {
4561 (char *) "self",(char *) "bitmap", NULL
4562 };
4563
4564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4567 if (arg2 == NULL) {
4568 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4569 }
4570 {
4571 PyThreadState* __tstate = wxPyBeginAllowThreads();
4572 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4573
4574 wxPyEndAllowThreads(__tstate);
4575 if (PyErr_Occurred()) SWIG_fail;
4576 }
4577 Py_INCREF(Py_None); resultobj = Py_None;
4578 return resultobj;
4579 fail:
4580 return NULL;
4581 }
4582
4583
4584 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4585 PyObject *resultobj;
4586 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4587 wxIcon *arg2 = 0 ;
4588 PyObject * obj0 = 0 ;
4589 PyObject * obj1 = 0 ;
4590 char *kwnames[] = {
4591 (char *) "self",(char *) "icon", NULL
4592 };
4593
4594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4596 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4597 if (arg2 == NULL) {
4598 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4599 }
4600 {
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 (arg1)->SetIcon((wxIcon const &)*arg2);
4603
4604 wxPyEndAllowThreads(__tstate);
4605 if (PyErr_Occurred()) SWIG_fail;
4606 }
4607 Py_INCREF(Py_None); resultobj = Py_None;
4608 return resultobj;
4609 fail:
4610 return NULL;
4611 }
4612
4613
4614 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4615 PyObject *obj;
4616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4617 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4618 Py_INCREF(obj);
4619 return Py_BuildValue((char *)"");
4620 }
4621 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4622 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4623 return 1;
4624 }
4625
4626
4627 static PyObject *_wrap_ListBoxNameStr_get() {
4628 PyObject *pyobj;
4629
4630 {
4631 #if wxUSE_UNICODE
4632 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4633 #else
4634 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4635 #endif
4636 }
4637 return pyobj;
4638 }
4639
4640
4641 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4642 PyObject *resultobj;
4643 wxWindow *arg1 = (wxWindow *) 0 ;
4644 int arg2 ;
4645 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4646 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4647 wxSize const &arg4_defvalue = wxDefaultSize ;
4648 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4649 int arg5 = (int) 0 ;
4650 wxString *arg6 = (wxString *) NULL ;
4651 long arg7 = (long) 0 ;
4652 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4653 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4654 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4655 wxString *arg9 = (wxString *) &arg9_defvalue ;
4656 wxListBox *result;
4657 wxPoint temp3 ;
4658 wxSize temp4 ;
4659 bool temp8 = False ;
4660 PyObject * obj0 = 0 ;
4661 PyObject * obj2 = 0 ;
4662 PyObject * obj3 = 0 ;
4663 PyObject * obj4 = 0 ;
4664 PyObject * obj6 = 0 ;
4665 PyObject * obj7 = 0 ;
4666 char *kwnames[] = {
4667 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4668 };
4669
4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4672 if (obj2) {
4673 {
4674 arg3 = &temp3;
4675 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4676 }
4677 }
4678 if (obj3) {
4679 {
4680 arg4 = &temp4;
4681 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4682 }
4683 }
4684 if (obj4) {
4685 {
4686 arg5 = PyList_Size(obj4);
4687 arg6 = wxString_LIST_helper(obj4);
4688 if (arg6 == NULL) SWIG_fail;
4689 }
4690 }
4691 if (obj6) {
4692 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4693 if (arg8 == NULL) {
4694 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4695 }
4696 }
4697 if (obj7) {
4698 {
4699 arg9 = wxString_in_helper(obj7);
4700 if (arg9 == NULL) SWIG_fail;
4701 temp8 = True;
4702 }
4703 }
4704 {
4705 PyThreadState* __tstate = wxPyBeginAllowThreads();
4706 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4707
4708 wxPyEndAllowThreads(__tstate);
4709 if (PyErr_Occurred()) SWIG_fail;
4710 }
4711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4712 {
4713 if (arg6) delete [] arg6;
4714 }
4715 {
4716 if (temp8)
4717 delete arg9;
4718 }
4719 return resultobj;
4720 fail:
4721 {
4722 if (arg6) delete [] arg6;
4723 }
4724 {
4725 if (temp8)
4726 delete arg9;
4727 }
4728 return NULL;
4729 }
4730
4731
4732 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4733 PyObject *resultobj;
4734 wxListBox *result;
4735 char *kwnames[] = {
4736 NULL
4737 };
4738
4739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4740 {
4741 PyThreadState* __tstate = wxPyBeginAllowThreads();
4742 result = (wxListBox *)new wxListBox();
4743
4744 wxPyEndAllowThreads(__tstate);
4745 if (PyErr_Occurred()) SWIG_fail;
4746 }
4747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4748 return resultobj;
4749 fail:
4750 return NULL;
4751 }
4752
4753
4754 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4755 PyObject *resultobj;
4756 wxListBox *arg1 = (wxListBox *) 0 ;
4757 wxWindow *arg2 = (wxWindow *) 0 ;
4758 int arg3 ;
4759 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4760 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4761 wxSize const &arg5_defvalue = wxDefaultSize ;
4762 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4763 int arg6 = (int) 0 ;
4764 wxString *arg7 = (wxString *) NULL ;
4765 long arg8 = (long) 0 ;
4766 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4767 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4768 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4769 wxString *arg10 = (wxString *) &arg10_defvalue ;
4770 bool result;
4771 wxPoint temp4 ;
4772 wxSize temp5 ;
4773 bool temp9 = False ;
4774 PyObject * obj0 = 0 ;
4775 PyObject * obj1 = 0 ;
4776 PyObject * obj3 = 0 ;
4777 PyObject * obj4 = 0 ;
4778 PyObject * obj5 = 0 ;
4779 PyObject * obj7 = 0 ;
4780 PyObject * obj8 = 0 ;
4781 char *kwnames[] = {
4782 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4783 };
4784
4785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4788 if (obj3) {
4789 {
4790 arg4 = &temp4;
4791 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4792 }
4793 }
4794 if (obj4) {
4795 {
4796 arg5 = &temp5;
4797 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4798 }
4799 }
4800 if (obj5) {
4801 {
4802 arg6 = PyList_Size(obj5);
4803 arg7 = wxString_LIST_helper(obj5);
4804 if (arg7 == NULL) SWIG_fail;
4805 }
4806 }
4807 if (obj7) {
4808 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4809 if (arg9 == NULL) {
4810 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4811 }
4812 }
4813 if (obj8) {
4814 {
4815 arg10 = wxString_in_helper(obj8);
4816 if (arg10 == NULL) SWIG_fail;
4817 temp9 = True;
4818 }
4819 }
4820 {
4821 PyThreadState* __tstate = wxPyBeginAllowThreads();
4822 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4823
4824 wxPyEndAllowThreads(__tstate);
4825 if (PyErr_Occurred()) SWIG_fail;
4826 }
4827 resultobj = PyInt_FromLong((long)result);
4828 {
4829 if (arg7) delete [] arg7;
4830 }
4831 {
4832 if (temp9)
4833 delete arg10;
4834 }
4835 return resultobj;
4836 fail:
4837 {
4838 if (arg7) delete [] arg7;
4839 }
4840 {
4841 if (temp9)
4842 delete arg10;
4843 }
4844 return NULL;
4845 }
4846
4847
4848 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4849 PyObject *resultobj;
4850 wxListBox *arg1 = (wxListBox *) 0 ;
4851 wxString *arg2 = 0 ;
4852 int arg3 ;
4853 PyObject *arg4 = (PyObject *) NULL ;
4854 bool temp2 = False ;
4855 PyObject * obj0 = 0 ;
4856 PyObject * obj1 = 0 ;
4857 PyObject * obj3 = 0 ;
4858 char *kwnames[] = {
4859 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4860 };
4861
4862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4864 {
4865 arg2 = wxString_in_helper(obj1);
4866 if (arg2 == NULL) SWIG_fail;
4867 temp2 = True;
4868 }
4869 if (obj3) {
4870 arg4 = obj3;
4871 }
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 Py_INCREF(Py_None); resultobj = Py_None;
4880 {
4881 if (temp2)
4882 delete arg2;
4883 }
4884 return resultobj;
4885 fail:
4886 {
4887 if (temp2)
4888 delete arg2;
4889 }
4890 return NULL;
4891 }
4892
4893
4894 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4895 PyObject *resultobj;
4896 wxListBox *arg1 = (wxListBox *) 0 ;
4897 wxArrayString *arg2 = 0 ;
4898 int arg3 ;
4899 PyObject * obj0 = 0 ;
4900 PyObject * obj1 = 0 ;
4901 char *kwnames[] = {
4902 (char *) "self",(char *) "items",(char *) "pos", NULL
4903 };
4904
4905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4907 {
4908 if (! PySequence_Check(obj1)) {
4909 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4910 SWIG_fail;
4911 }
4912 arg2 = new wxArrayString;
4913 int i, len=PySequence_Length(obj1);
4914 for (i=0; i<len; i++) {
4915 PyObject* item = PySequence_GetItem(obj1, i);
4916 #if wxUSE_UNICODE
4917 PyObject* str = PyObject_Unicode(item);
4918 #else
4919 PyObject* str = PyObject_Str(item);
4920 #endif
4921 arg2->Add(Py2wxString(str));
4922 Py_DECREF(item);
4923 Py_DECREF(str);
4924 }
4925 }
4926 {
4927 PyThreadState* __tstate = wxPyBeginAllowThreads();
4928 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4929
4930 wxPyEndAllowThreads(__tstate);
4931 if (PyErr_Occurred()) SWIG_fail;
4932 }
4933 Py_INCREF(Py_None); resultobj = Py_None;
4934 {
4935 if (arg2) delete arg2;
4936 }
4937 return resultobj;
4938 fail:
4939 {
4940 if (arg2) delete arg2;
4941 }
4942 return NULL;
4943 }
4944
4945
4946 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4947 PyObject *resultobj;
4948 wxListBox *arg1 = (wxListBox *) 0 ;
4949 wxArrayString *arg2 = 0 ;
4950 PyObject * obj0 = 0 ;
4951 PyObject * obj1 = 0 ;
4952 char *kwnames[] = {
4953 (char *) "self",(char *) "items", NULL
4954 };
4955
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4958 {
4959 if (! PySequence_Check(obj1)) {
4960 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4961 SWIG_fail;
4962 }
4963 arg2 = new wxArrayString;
4964 int i, len=PySequence_Length(obj1);
4965 for (i=0; i<len; i++) {
4966 PyObject* item = PySequence_GetItem(obj1, i);
4967 #if wxUSE_UNICODE
4968 PyObject* str = PyObject_Unicode(item);
4969 #else
4970 PyObject* str = PyObject_Str(item);
4971 #endif
4972 arg2->Add(Py2wxString(str));
4973 Py_DECREF(item);
4974 Py_DECREF(str);
4975 }
4976 }
4977 {
4978 PyThreadState* __tstate = wxPyBeginAllowThreads();
4979 (arg1)->Set((wxArrayString const &)*arg2);
4980
4981 wxPyEndAllowThreads(__tstate);
4982 if (PyErr_Occurred()) SWIG_fail;
4983 }
4984 Py_INCREF(Py_None); resultobj = Py_None;
4985 {
4986 if (arg2) delete arg2;
4987 }
4988 return resultobj;
4989 fail:
4990 {
4991 if (arg2) delete arg2;
4992 }
4993 return NULL;
4994 }
4995
4996
4997 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4998 PyObject *resultobj;
4999 wxListBox *arg1 = (wxListBox *) 0 ;
5000 int arg2 ;
5001 bool result;
5002 PyObject * obj0 = 0 ;
5003 char *kwnames[] = {
5004 (char *) "self",(char *) "n", NULL
5005 };
5006
5007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
5008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
5012
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
5016 resultobj = PyInt_FromLong((long)result);
5017 return resultobj;
5018 fail:
5019 return NULL;
5020 }
5021
5022
5023 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxListBox *arg1 = (wxListBox *) 0 ;
5026 int arg2 ;
5027 bool arg3 = (bool) True ;
5028 PyObject * obj0 = 0 ;
5029 PyObject * obj2 = 0 ;
5030 char *kwnames[] = {
5031 (char *) "self",(char *) "n",(char *) "select", NULL
5032 };
5033
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
5035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 if (obj2) {
5037 {
5038 arg3 = (bool) SPyObj_AsBool(obj2);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 }
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 (arg1)->SetSelection(arg2,arg3);
5045
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
5049 Py_INCREF(Py_None); resultobj = Py_None;
5050 return resultobj;
5051 fail:
5052 return NULL;
5053 }
5054
5055
5056 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj;
5058 wxListBox *arg1 = (wxListBox *) 0 ;
5059 int arg2 ;
5060 PyObject * obj0 = 0 ;
5061 char *kwnames[] = {
5062 (char *) "self",(char *) "n", NULL
5063 };
5064
5065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
5066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 (arg1)->Select(arg2);
5070
5071 wxPyEndAllowThreads(__tstate);
5072 if (PyErr_Occurred()) SWIG_fail;
5073 }
5074 Py_INCREF(Py_None); resultobj = Py_None;
5075 return resultobj;
5076 fail:
5077 return NULL;
5078 }
5079
5080
5081 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5082 PyObject *resultobj;
5083 wxListBox *arg1 = (wxListBox *) 0 ;
5084 int arg2 ;
5085 PyObject * obj0 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "self",(char *) "n", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
5091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5092 {
5093 PyThreadState* __tstate = wxPyBeginAllowThreads();
5094 (arg1)->Deselect(arg2);
5095
5096 wxPyEndAllowThreads(__tstate);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 Py_INCREF(Py_None); resultobj = Py_None;
5100 return resultobj;
5101 fail:
5102 return NULL;
5103 }
5104
5105
5106 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj;
5108 wxListBox *arg1 = (wxListBox *) 0 ;
5109 int arg2 = (int) -1 ;
5110 PyObject * obj0 = 0 ;
5111 char *kwnames[] = {
5112 (char *) "self",(char *) "itemToLeaveSelected", NULL
5113 };
5114
5115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
5116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5117 {
5118 PyThreadState* __tstate = wxPyBeginAllowThreads();
5119 (arg1)->DeselectAll(arg2);
5120
5121 wxPyEndAllowThreads(__tstate);
5122 if (PyErr_Occurred()) SWIG_fail;
5123 }
5124 Py_INCREF(Py_None); resultobj = Py_None;
5125 return resultobj;
5126 fail:
5127 return NULL;
5128 }
5129
5130
5131 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5132 PyObject *resultobj;
5133 wxListBox *arg1 = (wxListBox *) 0 ;
5134 wxString *arg2 = 0 ;
5135 bool arg3 = (bool) True ;
5136 bool result;
5137 bool temp2 = False ;
5138 PyObject * obj0 = 0 ;
5139 PyObject * obj1 = 0 ;
5140 PyObject * obj2 = 0 ;
5141 char *kwnames[] = {
5142 (char *) "self",(char *) "s",(char *) "select", NULL
5143 };
5144
5145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5147 {
5148 arg2 = wxString_in_helper(obj1);
5149 if (arg2 == NULL) SWIG_fail;
5150 temp2 = True;
5151 }
5152 if (obj2) {
5153 {
5154 arg3 = (bool) SPyObj_AsBool(obj2);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 }
5158 {
5159 PyThreadState* __tstate = wxPyBeginAllowThreads();
5160 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5161
5162 wxPyEndAllowThreads(__tstate);
5163 if (PyErr_Occurred()) SWIG_fail;
5164 }
5165 resultobj = PyInt_FromLong((long)result);
5166 {
5167 if (temp2)
5168 delete arg2;
5169 }
5170 return resultobj;
5171 fail:
5172 {
5173 if (temp2)
5174 delete arg2;
5175 }
5176 return NULL;
5177 }
5178
5179
5180 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5181 PyObject *resultobj;
5182 wxListBox *arg1 = (wxListBox *) 0 ;
5183 PyObject *result;
5184 PyObject * obj0 = 0 ;
5185 char *kwnames[] = {
5186 (char *) "self", NULL
5187 };
5188
5189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5191 {
5192 PyThreadState* __tstate = wxPyBeginAllowThreads();
5193 result = (PyObject *)wxListBox_GetSelections(arg1);
5194
5195 wxPyEndAllowThreads(__tstate);
5196 if (PyErr_Occurred()) SWIG_fail;
5197 }
5198 resultobj = result;
5199 return resultobj;
5200 fail:
5201 return NULL;
5202 }
5203
5204
5205 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5206 PyObject *resultobj;
5207 wxListBox *arg1 = (wxListBox *) 0 ;
5208 int arg2 ;
5209 PyObject * obj0 = 0 ;
5210 char *kwnames[] = {
5211 (char *) "self",(char *) "n", NULL
5212 };
5213
5214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
5215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 (arg1)->SetFirstItem(arg2);
5219
5220 wxPyEndAllowThreads(__tstate);
5221 if (PyErr_Occurred()) SWIG_fail;
5222 }
5223 Py_INCREF(Py_None); resultobj = Py_None;
5224 return resultobj;
5225 fail:
5226 return NULL;
5227 }
5228
5229
5230 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5231 PyObject *resultobj;
5232 wxListBox *arg1 = (wxListBox *) 0 ;
5233 wxString *arg2 = 0 ;
5234 bool temp2 = False ;
5235 PyObject * obj0 = 0 ;
5236 PyObject * obj1 = 0 ;
5237 char *kwnames[] = {
5238 (char *) "self",(char *) "s", NULL
5239 };
5240
5241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5243 {
5244 arg2 = wxString_in_helper(obj1);
5245 if (arg2 == NULL) SWIG_fail;
5246 temp2 = True;
5247 }
5248 {
5249 PyThreadState* __tstate = wxPyBeginAllowThreads();
5250 (arg1)->SetFirstItem((wxString const &)*arg2);
5251
5252 wxPyEndAllowThreads(__tstate);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 }
5255 Py_INCREF(Py_None); resultobj = Py_None;
5256 {
5257 if (temp2)
5258 delete arg2;
5259 }
5260 return resultobj;
5261 fail:
5262 {
5263 if (temp2)
5264 delete arg2;
5265 }
5266 return NULL;
5267 }
5268
5269
5270 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5271 PyObject *resultobj;
5272 wxListBox *arg1 = (wxListBox *) 0 ;
5273 int arg2 ;
5274 PyObject * obj0 = 0 ;
5275 char *kwnames[] = {
5276 (char *) "self",(char *) "n", NULL
5277 };
5278
5279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
5280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5281 {
5282 PyThreadState* __tstate = wxPyBeginAllowThreads();
5283 (arg1)->EnsureVisible(arg2);
5284
5285 wxPyEndAllowThreads(__tstate);
5286 if (PyErr_Occurred()) SWIG_fail;
5287 }
5288 Py_INCREF(Py_None); resultobj = Py_None;
5289 return resultobj;
5290 fail:
5291 return NULL;
5292 }
5293
5294
5295 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5296 PyObject *resultobj;
5297 wxListBox *arg1 = (wxListBox *) 0 ;
5298 wxString *arg2 = 0 ;
5299 bool temp2 = False ;
5300 PyObject * obj0 = 0 ;
5301 PyObject * obj1 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "self",(char *) "s", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5308 {
5309 arg2 = wxString_in_helper(obj1);
5310 if (arg2 == NULL) SWIG_fail;
5311 temp2 = True;
5312 }
5313 {
5314 PyThreadState* __tstate = wxPyBeginAllowThreads();
5315 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5316
5317 wxPyEndAllowThreads(__tstate);
5318 if (PyErr_Occurred()) SWIG_fail;
5319 }
5320 Py_INCREF(Py_None); resultobj = Py_None;
5321 {
5322 if (temp2)
5323 delete arg2;
5324 }
5325 return resultobj;
5326 fail:
5327 {
5328 if (temp2)
5329 delete arg2;
5330 }
5331 return NULL;
5332 }
5333
5334
5335 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5336 PyObject *resultobj;
5337 wxListBox *arg1 = (wxListBox *) 0 ;
5338 bool result;
5339 PyObject * obj0 = 0 ;
5340 char *kwnames[] = {
5341 (char *) "self", NULL
5342 };
5343
5344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5346 {
5347 PyThreadState* __tstate = wxPyBeginAllowThreads();
5348 result = (bool)((wxListBox const *)arg1)->IsSorted();
5349
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = PyInt_FromLong((long)result);
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5361 PyObject *obj;
5362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5363 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5364 Py_INCREF(obj);
5365 return Py_BuildValue((char *)"");
5366 }
5367 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5368 PyObject *resultobj;
5369 wxWindow *arg1 = (wxWindow *) 0 ;
5370 int arg2 ;
5371 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5372 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5373 wxSize const &arg4_defvalue = wxDefaultSize ;
5374 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5375 int arg5 = (int) 0 ;
5376 wxString *arg6 = (wxString *) NULL ;
5377 long arg7 = (long) 0 ;
5378 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5379 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5380 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5381 wxString *arg9 = (wxString *) &arg9_defvalue ;
5382 wxCheckListBox *result;
5383 wxPoint temp3 ;
5384 wxSize temp4 ;
5385 bool temp8 = False ;
5386 PyObject * obj0 = 0 ;
5387 PyObject * obj2 = 0 ;
5388 PyObject * obj3 = 0 ;
5389 PyObject * obj4 = 0 ;
5390 PyObject * obj6 = 0 ;
5391 PyObject * obj7 = 0 ;
5392 char *kwnames[] = {
5393 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5394 };
5395
5396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5398 if (obj2) {
5399 {
5400 arg3 = &temp3;
5401 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5402 }
5403 }
5404 if (obj3) {
5405 {
5406 arg4 = &temp4;
5407 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5408 }
5409 }
5410 if (obj4) {
5411 {
5412 arg5 = PyList_Size(obj4);
5413 arg6 = wxString_LIST_helper(obj4);
5414 if (arg6 == NULL) SWIG_fail;
5415 }
5416 }
5417 if (obj6) {
5418 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5419 if (arg8 == NULL) {
5420 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5421 }
5422 }
5423 if (obj7) {
5424 {
5425 arg9 = wxString_in_helper(obj7);
5426 if (arg9 == NULL) SWIG_fail;
5427 temp8 = True;
5428 }
5429 }
5430 {
5431 PyThreadState* __tstate = wxPyBeginAllowThreads();
5432 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5433
5434 wxPyEndAllowThreads(__tstate);
5435 if (PyErr_Occurred()) SWIG_fail;
5436 }
5437 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5438 {
5439 if (arg6) delete [] arg6;
5440 }
5441 {
5442 if (temp8)
5443 delete arg9;
5444 }
5445 return resultobj;
5446 fail:
5447 {
5448 if (arg6) delete [] arg6;
5449 }
5450 {
5451 if (temp8)
5452 delete arg9;
5453 }
5454 return NULL;
5455 }
5456
5457
5458 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5459 PyObject *resultobj;
5460 wxCheckListBox *result;
5461 char *kwnames[] = {
5462 NULL
5463 };
5464
5465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5466 {
5467 PyThreadState* __tstate = wxPyBeginAllowThreads();
5468 result = (wxCheckListBox *)new wxCheckListBox();
5469
5470 wxPyEndAllowThreads(__tstate);
5471 if (PyErr_Occurred()) SWIG_fail;
5472 }
5473 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5474 return resultobj;
5475 fail:
5476 return NULL;
5477 }
5478
5479
5480 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5481 PyObject *resultobj;
5482 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5483 wxWindow *arg2 = (wxWindow *) 0 ;
5484 int arg3 ;
5485 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5486 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5487 wxSize const &arg5_defvalue = wxDefaultSize ;
5488 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5489 int arg6 = (int) 0 ;
5490 wxString *arg7 = (wxString *) NULL ;
5491 long arg8 = (long) 0 ;
5492 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5493 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5494 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5495 wxString *arg10 = (wxString *) &arg10_defvalue ;
5496 bool result;
5497 wxPoint temp4 ;
5498 wxSize temp5 ;
5499 bool temp9 = False ;
5500 PyObject * obj0 = 0 ;
5501 PyObject * obj1 = 0 ;
5502 PyObject * obj3 = 0 ;
5503 PyObject * obj4 = 0 ;
5504 PyObject * obj5 = 0 ;
5505 PyObject * obj7 = 0 ;
5506 PyObject * obj8 = 0 ;
5507 char *kwnames[] = {
5508 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5509 };
5510
5511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5513 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5514 if (obj3) {
5515 {
5516 arg4 = &temp4;
5517 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5518 }
5519 }
5520 if (obj4) {
5521 {
5522 arg5 = &temp5;
5523 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5524 }
5525 }
5526 if (obj5) {
5527 {
5528 arg6 = PyList_Size(obj5);
5529 arg7 = wxString_LIST_helper(obj5);
5530 if (arg7 == NULL) SWIG_fail;
5531 }
5532 }
5533 if (obj7) {
5534 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5535 if (arg9 == NULL) {
5536 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5537 }
5538 }
5539 if (obj8) {
5540 {
5541 arg10 = wxString_in_helper(obj8);
5542 if (arg10 == NULL) SWIG_fail;
5543 temp9 = True;
5544 }
5545 }
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 resultobj = PyInt_FromLong((long)result);
5554 {
5555 if (arg7) delete [] arg7;
5556 }
5557 {
5558 if (temp9)
5559 delete arg10;
5560 }
5561 return resultobj;
5562 fail:
5563 {
5564 if (arg7) delete [] arg7;
5565 }
5566 {
5567 if (temp9)
5568 delete arg10;
5569 }
5570 return NULL;
5571 }
5572
5573
5574 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5575 PyObject *resultobj;
5576 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5577 int arg2 ;
5578 bool result;
5579 PyObject * obj0 = 0 ;
5580 char *kwnames[] = {
5581 (char *) "self",(char *) "index", NULL
5582 };
5583
5584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 result = (bool)(arg1)->IsChecked(arg2);
5589
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 resultobj = PyInt_FromLong((long)result);
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5601 PyObject *resultobj;
5602 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5603 int arg2 ;
5604 int arg3 = (int) True ;
5605 PyObject * obj0 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self",(char *) "index",(char *) "check", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5612 {
5613 PyThreadState* __tstate = wxPyBeginAllowThreads();
5614 (arg1)->Check(arg2,arg3);
5615
5616 wxPyEndAllowThreads(__tstate);
5617 if (PyErr_Occurred()) SWIG_fail;
5618 }
5619 Py_INCREF(Py_None); resultobj = Py_None;
5620 return resultobj;
5621 fail:
5622 return NULL;
5623 }
5624
5625
5626 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5627 PyObject *resultobj;
5628 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5629 int result;
5630 PyObject * obj0 = 0 ;
5631 char *kwnames[] = {
5632 (char *) "self", NULL
5633 };
5634
5635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 result = (int)(arg1)->GetItemHeight();
5640
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 resultobj = PyInt_FromLong((long)result);
5645 return resultobj;
5646 fail:
5647 return NULL;
5648 }
5649
5650
5651 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5652 PyObject *resultobj;
5653 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5654 wxPoint *arg2 = 0 ;
5655 int result;
5656 wxPoint temp2 ;
5657 PyObject * obj0 = 0 ;
5658 PyObject * obj1 = 0 ;
5659 char *kwnames[] = {
5660 (char *) "self",(char *) "pt", NULL
5661 };
5662
5663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5665 {
5666 arg2 = &temp2;
5667 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5668 }
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5672
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 resultobj = PyInt_FromLong((long)result);
5677 return resultobj;
5678 fail:
5679 return NULL;
5680 }
5681
5682
5683 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj;
5685 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5686 int arg2 ;
5687 int arg3 ;
5688 int result;
5689 PyObject * obj0 = 0 ;
5690 char *kwnames[] = {
5691 (char *) "self",(char *) "x",(char *) "y", NULL
5692 };
5693
5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5696 {
5697 PyThreadState* __tstate = wxPyBeginAllowThreads();
5698 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5699
5700 wxPyEndAllowThreads(__tstate);
5701 if (PyErr_Occurred()) SWIG_fail;
5702 }
5703 resultobj = PyInt_FromLong((long)result);
5704 return resultobj;
5705 fail:
5706 return NULL;
5707 }
5708
5709
5710 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5711 PyObject *obj;
5712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5713 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5714 Py_INCREF(obj);
5715 return Py_BuildValue((char *)"");
5716 }
5717 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
5718 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
5719 return 1;
5720 }
5721
5722
5723 static PyObject *_wrap_TextCtrlNameStr_get() {
5724 PyObject *pyobj;
5725
5726 {
5727 #if wxUSE_UNICODE
5728 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5729 #else
5730 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5731 #endif
5732 }
5733 return pyobj;
5734 }
5735
5736
5737 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5738 PyObject *resultobj;
5739 wxTextAttr *result;
5740
5741 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5742 {
5743 PyThreadState* __tstate = wxPyBeginAllowThreads();
5744 result = (wxTextAttr *)new wxTextAttr();
5745
5746 wxPyEndAllowThreads(__tstate);
5747 if (PyErr_Occurred()) SWIG_fail;
5748 }
5749 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5750 return resultobj;
5751 fail:
5752 return NULL;
5753 }
5754
5755
5756 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5757 PyObject *resultobj;
5758 wxColour *arg1 = 0 ;
5759 wxColour const &arg2_defvalue = wxNullColour ;
5760 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5761 wxFont const &arg3_defvalue = wxNullFont ;
5762 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5763 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5764 wxTextAttr *result;
5765 wxColour temp1 ;
5766 wxColour temp2 ;
5767 PyObject * obj0 = 0 ;
5768 PyObject * obj1 = 0 ;
5769 PyObject * obj2 = 0 ;
5770
5771 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5772 {
5773 arg1 = &temp1;
5774 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5775 }
5776 if (obj1) {
5777 {
5778 arg2 = &temp2;
5779 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5780 }
5781 }
5782 if (obj2) {
5783 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5784 if (arg3 == NULL) {
5785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5786 }
5787 }
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5803 int argc;
5804 PyObject *argv[5];
5805 int ii;
5806
5807 argc = PyObject_Length(args);
5808 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5809 argv[ii] = PyTuple_GetItem(args,ii);
5810 }
5811 if (argc == 0) {
5812 return _wrap_new_TextAttr__SWIG_0(self,args);
5813 }
5814 if ((argc >= 1) && (argc <= 4)) {
5815 int _v;
5816 {
5817 _v = wxColour_typecheck(argv[0]);
5818 }
5819 if (_v) {
5820 if (argc <= 1) {
5821 return _wrap_new_TextAttr__SWIG_1(self,args);
5822 }
5823 {
5824 _v = wxColour_typecheck(argv[1]);
5825 }
5826 if (_v) {
5827 if (argc <= 2) {
5828 return _wrap_new_TextAttr__SWIG_1(self,args);
5829 }
5830 {
5831 void *ptr;
5832 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5833 _v = 0;
5834 PyErr_Clear();
5835 } else {
5836 _v = 1;
5837 }
5838 }
5839 if (_v) {
5840 if (argc <= 3) {
5841 return _wrap_new_TextAttr__SWIG_1(self,args);
5842 }
5843 return _wrap_new_TextAttr__SWIG_1(self,args);
5844 }
5845 }
5846 }
5847 }
5848
5849 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5850 return NULL;
5851 }
5852
5853
5854 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5855 PyObject *resultobj;
5856 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5857 PyObject * obj0 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "self", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5864 {
5865 PyThreadState* __tstate = wxPyBeginAllowThreads();
5866 (arg1)->Init();
5867
5868 wxPyEndAllowThreads(__tstate);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
5871 Py_INCREF(Py_None); resultobj = Py_None;
5872 return resultobj;
5873 fail:
5874 return NULL;
5875 }
5876
5877
5878 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj;
5880 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5881 wxColour *arg2 = 0 ;
5882 wxColour temp2 ;
5883 PyObject * obj0 = 0 ;
5884 PyObject * obj1 = 0 ;
5885 char *kwnames[] = {
5886 (char *) "self",(char *) "colText", NULL
5887 };
5888
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5891 {
5892 arg2 = &temp2;
5893 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5894 }
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 (arg1)->SetTextColour((wxColour const &)*arg2);
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 Py_INCREF(Py_None); resultobj = Py_None;
5903 return resultobj;
5904 fail:
5905 return NULL;
5906 }
5907
5908
5909 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5910 PyObject *resultobj;
5911 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5912 wxColour *arg2 = 0 ;
5913 wxColour temp2 ;
5914 PyObject * obj0 = 0 ;
5915 PyObject * obj1 = 0 ;
5916 char *kwnames[] = {
5917 (char *) "self",(char *) "colBack", NULL
5918 };
5919
5920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5922 {
5923 arg2 = &temp2;
5924 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5925 }
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 Py_INCREF(Py_None); resultobj = Py_None;
5934 return resultobj;
5935 fail:
5936 return NULL;
5937 }
5938
5939
5940 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5941 PyObject *resultobj;
5942 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5943 wxFont *arg2 = 0 ;
5944 long arg3 = (long) wxTEXT_ATTR_FONT ;
5945 PyObject * obj0 = 0 ;
5946 PyObject * obj1 = 0 ;
5947 char *kwnames[] = {
5948 (char *) "self",(char *) "font",(char *) "flags", NULL
5949 };
5950
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5954 if (arg2 == NULL) {
5955 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5956 }
5957 {
5958 PyThreadState* __tstate = wxPyBeginAllowThreads();
5959 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5960
5961 wxPyEndAllowThreads(__tstate);
5962 if (PyErr_Occurred()) SWIG_fail;
5963 }
5964 Py_INCREF(Py_None); resultobj = Py_None;
5965 return resultobj;
5966 fail:
5967 return NULL;
5968 }
5969
5970
5971 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5972 PyObject *resultobj;
5973 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5974 int arg2 ;
5975 PyObject * obj0 = 0 ;
5976 char *kwnames[] = {
5977 (char *) "self",(char *) "alignment", NULL
5978 };
5979
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5982 {
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5985
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
5989 Py_INCREF(Py_None); resultobj = Py_None;
5990 return resultobj;
5991 fail:
5992 return NULL;
5993 }
5994
5995
5996 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5997 PyObject *resultobj;
5998 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5999 wxArrayInt *arg2 = 0 ;
6000 PyObject * obj0 = 0 ;
6001 PyObject * obj1 = 0 ;
6002 char *kwnames[] = {
6003 (char *) "self",(char *) "tabs", NULL
6004 };
6005
6006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
6007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6008 {
6009 if (! PySequence_Check(obj1)) {
6010 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
6011 SWIG_fail;
6012 }
6013 arg2 = new wxArrayInt;
6014 int i, len=PySequence_Length(obj1);
6015 for (i=0; i<len; i++) {
6016 PyObject* item = PySequence_GetItem(obj1, i);
6017 PyObject* number = PyNumber_Int(item);
6018 arg2->Add(PyInt_AS_LONG(number));
6019 Py_DECREF(item);
6020 Py_DECREF(number);
6021 }
6022 }
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 (arg1)->SetTabs((wxArrayInt const &)*arg2);
6026
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 Py_INCREF(Py_None); resultobj = Py_None;
6031 {
6032 if (arg2) delete arg2;
6033 }
6034 return resultobj;
6035 fail:
6036 {
6037 if (arg2) delete arg2;
6038 }
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6046 int arg2 ;
6047 PyObject * obj0 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self",(char *) "indent", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 (arg1)->SetLeftIndent(arg2);
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 Py_INCREF(Py_None); resultobj = Py_None;
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6071 int arg2 ;
6072 PyObject * obj0 = 0 ;
6073 char *kwnames[] = {
6074 (char *) "self",(char *) "indent", NULL
6075 };
6076
6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
6078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 (arg1)->SetRightIndent(arg2);
6082
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 Py_INCREF(Py_None); resultobj = Py_None;
6087 return resultobj;
6088 fail:
6089 return NULL;
6090 }
6091
6092
6093 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject *resultobj;
6095 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6096 long arg2 ;
6097 PyObject * obj0 = 0 ;
6098 char *kwnames[] = {
6099 (char *) "self",(char *) "flags", NULL
6100 };
6101
6102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6104 {
6105 PyThreadState* __tstate = wxPyBeginAllowThreads();
6106 (arg1)->SetFlags(arg2);
6107
6108 wxPyEndAllowThreads(__tstate);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 }
6111 Py_INCREF(Py_None); resultobj = Py_None;
6112 return resultobj;
6113 fail:
6114 return NULL;
6115 }
6116
6117
6118 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6119 PyObject *resultobj;
6120 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6121 bool result;
6122 PyObject * obj0 = 0 ;
6123 char *kwnames[] = {
6124 (char *) "self", NULL
6125 };
6126
6127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 resultobj = PyInt_FromLong((long)result);
6137 return resultobj;
6138 fail:
6139 return NULL;
6140 }
6141
6142
6143 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6144 PyObject *resultobj;
6145 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6146 bool result;
6147 PyObject * obj0 = 0 ;
6148 char *kwnames[] = {
6149 (char *) "self", NULL
6150 };
6151
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6154 {
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6157
6158 wxPyEndAllowThreads(__tstate);
6159 if (PyErr_Occurred()) SWIG_fail;
6160 }
6161 resultobj = PyInt_FromLong((long)result);
6162 return resultobj;
6163 fail:
6164 return NULL;
6165 }
6166
6167
6168 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6169 PyObject *resultobj;
6170 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6171 bool result;
6172 PyObject * obj0 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "self", NULL
6175 };
6176
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 resultobj = PyInt_FromLong((long)result);
6187 return resultobj;
6188 fail:
6189 return NULL;
6190 }
6191
6192
6193 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6194 PyObject *resultobj;
6195 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6196 bool result;
6197 PyObject * obj0 = 0 ;
6198 char *kwnames[] = {
6199 (char *) "self", NULL
6200 };
6201
6202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6204 {
6205 PyThreadState* __tstate = wxPyBeginAllowThreads();
6206 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6207
6208 wxPyEndAllowThreads(__tstate);
6209 if (PyErr_Occurred()) SWIG_fail;
6210 }
6211 resultobj = PyInt_FromLong((long)result);
6212 return resultobj;
6213 fail:
6214 return NULL;
6215 }
6216
6217
6218 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6219 PyObject *resultobj;
6220 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6221 bool result;
6222 PyObject * obj0 = 0 ;
6223 char *kwnames[] = {
6224 (char *) "self", NULL
6225 };
6226
6227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6229 {
6230 PyThreadState* __tstate = wxPyBeginAllowThreads();
6231 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6232
6233 wxPyEndAllowThreads(__tstate);
6234 if (PyErr_Occurred()) SWIG_fail;
6235 }
6236 resultobj = PyInt_FromLong((long)result);
6237 return resultobj;
6238 fail:
6239 return NULL;
6240 }
6241
6242
6243 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6244 PyObject *resultobj;
6245 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6246 bool result;
6247 PyObject * obj0 = 0 ;
6248 char *kwnames[] = {
6249 (char *) "self", NULL
6250 };
6251
6252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6254 {
6255 PyThreadState* __tstate = wxPyBeginAllowThreads();
6256 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6257
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 resultobj = PyInt_FromLong((long)result);
6262 return resultobj;
6263 fail:
6264 return NULL;
6265 }
6266
6267
6268 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj;
6270 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6271 bool result;
6272 PyObject * obj0 = 0 ;
6273 char *kwnames[] = {
6274 (char *) "self", NULL
6275 };
6276
6277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6282
6283 wxPyEndAllowThreads(__tstate);
6284 if (PyErr_Occurred()) SWIG_fail;
6285 }
6286 resultobj = PyInt_FromLong((long)result);
6287 return resultobj;
6288 fail:
6289 return NULL;
6290 }
6291
6292
6293 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6294 PyObject *resultobj;
6295 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6296 long arg2 ;
6297 bool result;
6298 PyObject * obj0 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self",(char *) "flag", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
6304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6305 {
6306 PyThreadState* __tstate = wxPyBeginAllowThreads();
6307 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6308
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 resultobj = PyInt_FromLong((long)result);
6313 return resultobj;
6314 fail:
6315 return NULL;
6316 }
6317
6318
6319 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj;
6321 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6322 wxColour *result;
6323 PyObject * obj0 = 0 ;
6324 char *kwnames[] = {
6325 (char *) "self", NULL
6326 };
6327
6328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 {
6333 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6334 result = (wxColour *) &_result_ref;
6335 }
6336
6337 wxPyEndAllowThreads(__tstate);
6338 if (PyErr_Occurred()) SWIG_fail;
6339 }
6340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6341 return resultobj;
6342 fail:
6343 return NULL;
6344 }
6345
6346
6347 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6348 PyObject *resultobj;
6349 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6350 wxColour *result;
6351 PyObject * obj0 = 0 ;
6352 char *kwnames[] = {
6353 (char *) "self", NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6358 {
6359 PyThreadState* __tstate = wxPyBeginAllowThreads();
6360 {
6361 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6362 result = (wxColour *) &_result_ref;
6363 }
6364
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6369 return resultobj;
6370 fail:
6371 return NULL;
6372 }
6373
6374
6375 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6376 PyObject *resultobj;
6377 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6378 wxFont *result;
6379 PyObject * obj0 = 0 ;
6380 char *kwnames[] = {
6381 (char *) "self", NULL
6382 };
6383
6384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6386 {
6387 PyThreadState* __tstate = wxPyBeginAllowThreads();
6388 {
6389 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6390 result = (wxFont *) &_result_ref;
6391 }
6392
6393 wxPyEndAllowThreads(__tstate);
6394 if (PyErr_Occurred()) SWIG_fail;
6395 }
6396 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6397 return resultobj;
6398 fail:
6399 return NULL;
6400 }
6401
6402
6403 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6404 PyObject *resultobj;
6405 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6406 int result;
6407 PyObject * obj0 = 0 ;
6408 char *kwnames[] = {
6409 (char *) "self", NULL
6410 };
6411
6412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6417
6418 wxPyEndAllowThreads(__tstate);
6419 if (PyErr_Occurred()) SWIG_fail;
6420 }
6421 resultobj = PyInt_FromLong((long)result);
6422 return resultobj;
6423 fail:
6424 return NULL;
6425 }
6426
6427
6428 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6429 PyObject *resultobj;
6430 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6431 wxArrayInt *result;
6432 PyObject * obj0 = 0 ;
6433 char *kwnames[] = {
6434 (char *) "self", NULL
6435 };
6436
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6439 {
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 {
6442 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6443 result = (wxArrayInt *) &_result_ref;
6444 }
6445
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 {
6450 resultobj = PyList_New(0);
6451 size_t idx;
6452 for (idx = 0; idx < result->GetCount(); idx += 1) {
6453 PyObject* val = PyInt_FromLong( result->Item(idx) );
6454 PyList_Append(resultobj, val);
6455 Py_DECREF(val);
6456 }
6457 }
6458 return resultobj;
6459 fail:
6460 return NULL;
6461 }
6462
6463
6464 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6465 PyObject *resultobj;
6466 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6467 long result;
6468 PyObject * obj0 = 0 ;
6469 char *kwnames[] = {
6470 (char *) "self", NULL
6471 };
6472
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6478
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 resultobj = PyInt_FromLong((long)result);
6483 return resultobj;
6484 fail:
6485 return NULL;
6486 }
6487
6488
6489 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6490 PyObject *resultobj;
6491 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6492 long result;
6493 PyObject * obj0 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 resultobj = PyInt_FromLong((long)result);
6508 return resultobj;
6509 fail:
6510 return NULL;
6511 }
6512
6513
6514 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj;
6516 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6517 long result;
6518 PyObject * obj0 = 0 ;
6519 char *kwnames[] = {
6520 (char *) "self", NULL
6521 };
6522
6523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6525 {
6526 PyThreadState* __tstate = wxPyBeginAllowThreads();
6527 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6528
6529 wxPyEndAllowThreads(__tstate);
6530 if (PyErr_Occurred()) SWIG_fail;
6531 }
6532 resultobj = PyInt_FromLong((long)result);
6533 return resultobj;
6534 fail:
6535 return NULL;
6536 }
6537
6538
6539 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6540 PyObject *resultobj;
6541 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6542 bool result;
6543 PyObject * obj0 = 0 ;
6544 char *kwnames[] = {
6545 (char *) "self", NULL
6546 };
6547
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6550 {
6551 PyThreadState* __tstate = wxPyBeginAllowThreads();
6552 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6553
6554 wxPyEndAllowThreads(__tstate);
6555 if (PyErr_Occurred()) SWIG_fail;
6556 }
6557 resultobj = PyInt_FromLong((long)result);
6558 return resultobj;
6559 fail:
6560 return NULL;
6561 }
6562
6563
6564 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6565 PyObject *resultobj;
6566 wxTextAttr *arg1 = 0 ;
6567 wxTextAttr *arg2 = 0 ;
6568 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6569 wxTextAttr result;
6570 PyObject * obj0 = 0 ;
6571 PyObject * obj1 = 0 ;
6572 PyObject * obj2 = 0 ;
6573 char *kwnames[] = {
6574 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6575 };
6576
6577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6579 if (arg1 == NULL) {
6580 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6581 }
6582 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6583 if (arg2 == NULL) {
6584 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6585 }
6586 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6587 {
6588 PyThreadState* __tstate = wxPyBeginAllowThreads();
6589 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6590
6591 wxPyEndAllowThreads(__tstate);
6592 if (PyErr_Occurred()) SWIG_fail;
6593 }
6594 {
6595 wxTextAttr * resultptr;
6596 resultptr = new wxTextAttr((wxTextAttr &) result);
6597 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6598 }
6599 return resultobj;
6600 fail:
6601 return NULL;
6602 }
6603
6604
6605 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6606 PyObject *obj;
6607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6608 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6609 Py_INCREF(obj);
6610 return Py_BuildValue((char *)"");
6611 }
6612 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6613 PyObject *resultobj;
6614 wxWindow *arg1 = (wxWindow *) 0 ;
6615 int arg2 ;
6616 wxString const &arg3_defvalue = wxPyEmptyString ;
6617 wxString *arg3 = (wxString *) &arg3_defvalue ;
6618 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6619 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6620 wxSize const &arg5_defvalue = wxDefaultSize ;
6621 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6622 long arg6 = (long) 0 ;
6623 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6624 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6625 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6626 wxString *arg8 = (wxString *) &arg8_defvalue ;
6627 wxTextCtrl *result;
6628 bool temp3 = False ;
6629 wxPoint temp4 ;
6630 wxSize temp5 ;
6631 bool temp8 = False ;
6632 PyObject * obj0 = 0 ;
6633 PyObject * obj2 = 0 ;
6634 PyObject * obj3 = 0 ;
6635 PyObject * obj4 = 0 ;
6636 PyObject * obj6 = 0 ;
6637 PyObject * obj7 = 0 ;
6638 char *kwnames[] = {
6639 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6640 };
6641
6642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6644 if (obj2) {
6645 {
6646 arg3 = wxString_in_helper(obj2);
6647 if (arg3 == NULL) SWIG_fail;
6648 temp3 = True;
6649 }
6650 }
6651 if (obj3) {
6652 {
6653 arg4 = &temp4;
6654 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6655 }
6656 }
6657 if (obj4) {
6658 {
6659 arg5 = &temp5;
6660 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6661 }
6662 }
6663 if (obj6) {
6664 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6665 if (arg7 == NULL) {
6666 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6667 }
6668 }
6669 if (obj7) {
6670 {
6671 arg8 = wxString_in_helper(obj7);
6672 if (arg8 == NULL) SWIG_fail;
6673 temp8 = True;
6674 }
6675 }
6676 {
6677 PyThreadState* __tstate = wxPyBeginAllowThreads();
6678 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6679
6680 wxPyEndAllowThreads(__tstate);
6681 if (PyErr_Occurred()) SWIG_fail;
6682 }
6683 {
6684 resultobj = wxPyMake_wxObject(result);
6685 }
6686 {
6687 if (temp3)
6688 delete arg3;
6689 }
6690 {
6691 if (temp8)
6692 delete arg8;
6693 }
6694 return resultobj;
6695 fail:
6696 {
6697 if (temp3)
6698 delete arg3;
6699 }
6700 {
6701 if (temp8)
6702 delete arg8;
6703 }
6704 return NULL;
6705 }
6706
6707
6708 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6709 PyObject *resultobj;
6710 wxTextCtrl *result;
6711 char *kwnames[] = {
6712 NULL
6713 };
6714
6715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6716 {
6717 PyThreadState* __tstate = wxPyBeginAllowThreads();
6718 result = (wxTextCtrl *)new wxTextCtrl();
6719
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 {
6724 resultobj = wxPyMake_wxObject(result);
6725 }
6726 return resultobj;
6727 fail:
6728 return NULL;
6729 }
6730
6731
6732 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj;
6734 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6735 wxWindow *arg2 = (wxWindow *) 0 ;
6736 int arg3 ;
6737 wxString const &arg4_defvalue = wxPyEmptyString ;
6738 wxString *arg4 = (wxString *) &arg4_defvalue ;
6739 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6740 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6741 wxSize const &arg6_defvalue = wxDefaultSize ;
6742 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6743 long arg7 = (long) 0 ;
6744 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6745 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6746 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6747 wxString *arg9 = (wxString *) &arg9_defvalue ;
6748 bool result;
6749 bool temp4 = False ;
6750 wxPoint temp5 ;
6751 wxSize temp6 ;
6752 bool temp9 = False ;
6753 PyObject * obj0 = 0 ;
6754 PyObject * obj1 = 0 ;
6755 PyObject * obj3 = 0 ;
6756 PyObject * obj4 = 0 ;
6757 PyObject * obj5 = 0 ;
6758 PyObject * obj7 = 0 ;
6759 PyObject * obj8 = 0 ;
6760 char *kwnames[] = {
6761 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6762 };
6763
6764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6767 if (obj3) {
6768 {
6769 arg4 = wxString_in_helper(obj3);
6770 if (arg4 == NULL) SWIG_fail;
6771 temp4 = True;
6772 }
6773 }
6774 if (obj4) {
6775 {
6776 arg5 = &temp5;
6777 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6778 }
6779 }
6780 if (obj5) {
6781 {
6782 arg6 = &temp6;
6783 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6784 }
6785 }
6786 if (obj7) {
6787 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6788 if (arg8 == NULL) {
6789 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6790 }
6791 }
6792 if (obj8) {
6793 {
6794 arg9 = wxString_in_helper(obj8);
6795 if (arg9 == NULL) SWIG_fail;
6796 temp9 = True;
6797 }
6798 }
6799 {
6800 PyThreadState* __tstate = wxPyBeginAllowThreads();
6801 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6802
6803 wxPyEndAllowThreads(__tstate);
6804 if (PyErr_Occurred()) SWIG_fail;
6805 }
6806 resultobj = PyInt_FromLong((long)result);
6807 {
6808 if (temp4)
6809 delete arg4;
6810 }
6811 {
6812 if (temp9)
6813 delete arg9;
6814 }
6815 return resultobj;
6816 fail:
6817 {
6818 if (temp4)
6819 delete arg4;
6820 }
6821 {
6822 if (temp9)
6823 delete arg9;
6824 }
6825 return NULL;
6826 }
6827
6828
6829 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6830 PyObject *resultobj;
6831 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6832 wxString result;
6833 PyObject * obj0 = 0 ;
6834 char *kwnames[] = {
6835 (char *) "self", NULL
6836 };
6837
6838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 result = ((wxTextCtrl const *)arg1)->GetValue();
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 {
6848 #if wxUSE_UNICODE
6849 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6850 #else
6851 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6852 #endif
6853 }
6854 return resultobj;
6855 fail:
6856 return NULL;
6857 }
6858
6859
6860 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6861 PyObject *resultobj;
6862 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6863 wxString *arg2 = 0 ;
6864 bool temp2 = False ;
6865 PyObject * obj0 = 0 ;
6866 PyObject * obj1 = 0 ;
6867 char *kwnames[] = {
6868 (char *) "self",(char *) "value", NULL
6869 };
6870
6871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6873 {
6874 arg2 = wxString_in_helper(obj1);
6875 if (arg2 == NULL) SWIG_fail;
6876 temp2 = True;
6877 }
6878 {
6879 PyThreadState* __tstate = wxPyBeginAllowThreads();
6880 (arg1)->SetValue((wxString const &)*arg2);
6881
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 Py_INCREF(Py_None); resultobj = Py_None;
6886 {
6887 if (temp2)
6888 delete arg2;
6889 }
6890 return resultobj;
6891 fail:
6892 {
6893 if (temp2)
6894 delete arg2;
6895 }
6896 return NULL;
6897 }
6898
6899
6900 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6901 PyObject *resultobj;
6902 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6903 long arg2 ;
6904 long arg3 ;
6905 wxString result;
6906 PyObject * obj0 = 0 ;
6907 char *kwnames[] = {
6908 (char *) "self",(char *) "from",(char *) "to", NULL
6909 };
6910
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6916
6917 wxPyEndAllowThreads(__tstate);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 }
6920 {
6921 #if wxUSE_UNICODE
6922 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6923 #else
6924 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6925 #endif
6926 }
6927 return resultobj;
6928 fail:
6929 return NULL;
6930 }
6931
6932
6933 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6936 long arg2 ;
6937 int result;
6938 PyObject * obj0 = 0 ;
6939 char *kwnames[] = {
6940 (char *) "self",(char *) "lineNo", NULL
6941 };
6942
6943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6948
6949 wxPyEndAllowThreads(__tstate);
6950 if (PyErr_Occurred()) SWIG_fail;
6951 }
6952 resultobj = PyInt_FromLong((long)result);
6953 return resultobj;
6954 fail:
6955 return NULL;
6956 }
6957
6958
6959 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6960 PyObject *resultobj;
6961 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6962 long arg2 ;
6963 wxString result;
6964 PyObject * obj0 = 0 ;
6965 char *kwnames[] = {
6966 (char *) "self",(char *) "lineNo", NULL
6967 };
6968
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6971 {
6972 PyThreadState* __tstate = wxPyBeginAllowThreads();
6973 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6974
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
6978 {
6979 #if wxUSE_UNICODE
6980 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6981 #else
6982 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6983 #endif
6984 }
6985 return resultobj;
6986 fail:
6987 return NULL;
6988 }
6989
6990
6991 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6992 PyObject *resultobj;
6993 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6994 int result;
6995 PyObject * obj0 = 0 ;
6996 char *kwnames[] = {
6997 (char *) "self", NULL
6998 };
6999
7000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
7001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7002 {
7003 PyThreadState* __tstate = wxPyBeginAllowThreads();
7004 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
7005
7006 wxPyEndAllowThreads(__tstate);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 resultobj = PyInt_FromLong((long)result);
7010 return resultobj;
7011 fail:
7012 return NULL;
7013 }
7014
7015
7016 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
7017 PyObject *resultobj;
7018 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7019 bool result;
7020 PyObject * obj0 = 0 ;
7021 char *kwnames[] = {
7022 (char *) "self", NULL
7023 };
7024
7025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
7026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
7030
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 resultobj = PyInt_FromLong((long)result);
7035 return resultobj;
7036 fail:
7037 return NULL;
7038 }
7039
7040
7041 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj;
7043 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7044 bool result;
7045 PyObject * obj0 = 0 ;
7046 char *kwnames[] = {
7047 (char *) "self", NULL
7048 };
7049
7050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
7051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 resultobj = PyInt_FromLong((long)result);
7060 return resultobj;
7061 fail:
7062 return NULL;
7063 }
7064
7065
7066 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7067 PyObject *resultobj;
7068 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7069 bool result;
7070 PyObject * obj0 = 0 ;
7071 char *kwnames[] = {
7072 (char *) "self", NULL
7073 };
7074
7075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
7076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7077 {
7078 PyThreadState* __tstate = wxPyBeginAllowThreads();
7079 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7080
7081 wxPyEndAllowThreads(__tstate);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 }
7084 resultobj = PyInt_FromLong((long)result);
7085 return resultobj;
7086 fail:
7087 return NULL;
7088 }
7089
7090
7091 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7092 PyObject *resultobj;
7093 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7094 bool result;
7095 PyObject * obj0 = 0 ;
7096 char *kwnames[] = {
7097 (char *) "self", NULL
7098 };
7099
7100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7102 {
7103 PyThreadState* __tstate = wxPyBeginAllowThreads();
7104 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7105
7106 wxPyEndAllowThreads(__tstate);
7107 if (PyErr_Occurred()) SWIG_fail;
7108 }
7109 resultobj = PyInt_FromLong((long)result);
7110 return resultobj;
7111 fail:
7112 return NULL;
7113 }
7114
7115
7116 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7117 PyObject *resultobj;
7118 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7119 long *arg2 = (long *) 0 ;
7120 long *arg3 = (long *) 0 ;
7121 long temp2 ;
7122 long temp3 ;
7123 PyObject * obj0 = 0 ;
7124 char *kwnames[] = {
7125 (char *) "self", NULL
7126 };
7127
7128 arg2 = &temp2;
7129 arg3 = &temp3;
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7132 {
7133 PyThreadState* __tstate = wxPyBeginAllowThreads();
7134 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7135
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 Py_INCREF(Py_None); resultobj = Py_None;
7140 {
7141 PyObject *o = PyInt_FromLong((long) (*arg2));
7142 resultobj = t_output_helper(resultobj,o);
7143 }
7144 {
7145 PyObject *o = PyInt_FromLong((long) (*arg3));
7146 resultobj = t_output_helper(resultobj,o);
7147 }
7148 return resultobj;
7149 fail:
7150 return NULL;
7151 }
7152
7153
7154 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7155 PyObject *resultobj;
7156 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7157 wxString result;
7158 PyObject * obj0 = 0 ;
7159 char *kwnames[] = {
7160 (char *) "self", NULL
7161 };
7162
7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7165 {
7166 PyThreadState* __tstate = wxPyBeginAllowThreads();
7167 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7168
7169 wxPyEndAllowThreads(__tstate);
7170 if (PyErr_Occurred()) SWIG_fail;
7171 }
7172 {
7173 #if wxUSE_UNICODE
7174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7175 #else
7176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7177 #endif
7178 }
7179 return resultobj;
7180 fail:
7181 return NULL;
7182 }
7183
7184
7185 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7186 PyObject *resultobj;
7187 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7188 PyObject * obj0 = 0 ;
7189 char *kwnames[] = {
7190 (char *) "self", NULL
7191 };
7192
7193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 (arg1)->Clear();
7198
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 Py_INCREF(Py_None); resultobj = Py_None;
7203 return resultobj;
7204 fail:
7205 return NULL;
7206 }
7207
7208
7209 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7210 PyObject *resultobj;
7211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7212 long arg2 ;
7213 long arg3 ;
7214 wxString *arg4 = 0 ;
7215 bool temp4 = False ;
7216 PyObject * obj0 = 0 ;
7217 PyObject * obj3 = 0 ;
7218 char *kwnames[] = {
7219 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7220 };
7221
7222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7224 {
7225 arg4 = wxString_in_helper(obj3);
7226 if (arg4 == NULL) SWIG_fail;
7227 temp4 = True;
7228 }
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 Py_INCREF(Py_None); resultobj = Py_None;
7237 {
7238 if (temp4)
7239 delete arg4;
7240 }
7241 return resultobj;
7242 fail:
7243 {
7244 if (temp4)
7245 delete arg4;
7246 }
7247 return NULL;
7248 }
7249
7250
7251 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj;
7253 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7254 long arg2 ;
7255 long arg3 ;
7256 PyObject * obj0 = 0 ;
7257 char *kwnames[] = {
7258 (char *) "self",(char *) "from",(char *) "to", NULL
7259 };
7260
7261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
7262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 (arg1)->Remove(arg2,arg3);
7266
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 Py_INCREF(Py_None); resultobj = Py_None;
7271 return resultobj;
7272 fail:
7273 return NULL;
7274 }
7275
7276
7277 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7278 PyObject *resultobj;
7279 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7280 wxString *arg2 = 0 ;
7281 bool result;
7282 bool temp2 = False ;
7283 PyObject * obj0 = 0 ;
7284 PyObject * obj1 = 0 ;
7285 char *kwnames[] = {
7286 (char *) "self",(char *) "file", NULL
7287 };
7288
7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7291 {
7292 arg2 = wxString_in_helper(obj1);
7293 if (arg2 == NULL) SWIG_fail;
7294 temp2 = True;
7295 }
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7299
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 resultobj = PyInt_FromLong((long)result);
7304 {
7305 if (temp2)
7306 delete arg2;
7307 }
7308 return resultobj;
7309 fail:
7310 {
7311 if (temp2)
7312 delete arg2;
7313 }
7314 return NULL;
7315 }
7316
7317
7318 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj;
7320 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7321 wxString const &arg2_defvalue = wxPyEmptyString ;
7322 wxString *arg2 = (wxString *) &arg2_defvalue ;
7323 bool result;
7324 bool temp2 = False ;
7325 PyObject * obj0 = 0 ;
7326 PyObject * obj1 = 0 ;
7327 char *kwnames[] = {
7328 (char *) "self",(char *) "file", NULL
7329 };
7330
7331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7333 if (obj1) {
7334 {
7335 arg2 = wxString_in_helper(obj1);
7336 if (arg2 == NULL) SWIG_fail;
7337 temp2 = True;
7338 }
7339 }
7340 {
7341 PyThreadState* __tstate = wxPyBeginAllowThreads();
7342 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7343
7344 wxPyEndAllowThreads(__tstate);
7345 if (PyErr_Occurred()) SWIG_fail;
7346 }
7347 resultobj = PyInt_FromLong((long)result);
7348 {
7349 if (temp2)
7350 delete arg2;
7351 }
7352 return resultobj;
7353 fail:
7354 {
7355 if (temp2)
7356 delete arg2;
7357 }
7358 return NULL;
7359 }
7360
7361
7362 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7365 PyObject * obj0 = 0 ;
7366 char *kwnames[] = {
7367 (char *) "self", NULL
7368 };
7369
7370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 (arg1)->MarkDirty();
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 Py_INCREF(Py_None); resultobj = Py_None;
7380 return resultobj;
7381 fail:
7382 return NULL;
7383 }
7384
7385
7386 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7387 PyObject *resultobj;
7388 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7389 PyObject * obj0 = 0 ;
7390 char *kwnames[] = {
7391 (char *) "self", NULL
7392 };
7393
7394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7396 {
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 (arg1)->DiscardEdits();
7399
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 Py_INCREF(Py_None); resultobj = Py_None;
7404 return resultobj;
7405 fail:
7406 return NULL;
7407 }
7408
7409
7410 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7411 PyObject *resultobj;
7412 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7413 unsigned long arg2 ;
7414 PyObject * obj0 = 0 ;
7415 PyObject * obj1 = 0 ;
7416 char *kwnames[] = {
7417 (char *) "self",(char *) "len", NULL
7418 };
7419
7420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7422 {
7423 arg2 = (unsigned long) SPyObj_AsUnsignedLong(obj1);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 (arg1)->SetMaxLength(arg2);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 Py_INCREF(Py_None); resultobj = Py_None;
7434 return resultobj;
7435 fail:
7436 return NULL;
7437 }
7438
7439
7440 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7443 wxString *arg2 = 0 ;
7444 bool temp2 = False ;
7445 PyObject * obj0 = 0 ;
7446 PyObject * obj1 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "self",(char *) "text", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7453 {
7454 arg2 = wxString_in_helper(obj1);
7455 if (arg2 == NULL) SWIG_fail;
7456 temp2 = True;
7457 }
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 (arg1)->WriteText((wxString const &)*arg2);
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 Py_INCREF(Py_None); resultobj = Py_None;
7466 {
7467 if (temp2)
7468 delete arg2;
7469 }
7470 return resultobj;
7471 fail:
7472 {
7473 if (temp2)
7474 delete arg2;
7475 }
7476 return NULL;
7477 }
7478
7479
7480 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7481 PyObject *resultobj;
7482 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7483 wxString *arg2 = 0 ;
7484 bool temp2 = False ;
7485 PyObject * obj0 = 0 ;
7486 PyObject * obj1 = 0 ;
7487 char *kwnames[] = {
7488 (char *) "self",(char *) "text", NULL
7489 };
7490
7491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7493 {
7494 arg2 = wxString_in_helper(obj1);
7495 if (arg2 == NULL) SWIG_fail;
7496 temp2 = True;
7497 }
7498 {
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 (arg1)->AppendText((wxString const &)*arg2);
7501
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
7505 Py_INCREF(Py_None); resultobj = Py_None;
7506 {
7507 if (temp2)
7508 delete arg2;
7509 }
7510 return resultobj;
7511 fail:
7512 {
7513 if (temp2)
7514 delete arg2;
7515 }
7516 return NULL;
7517 }
7518
7519
7520 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7521 PyObject *resultobj;
7522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7523 wxKeyEvent *arg2 = 0 ;
7524 bool result;
7525 PyObject * obj0 = 0 ;
7526 PyObject * obj1 = 0 ;
7527 char *kwnames[] = {
7528 (char *) "self",(char *) "event", NULL
7529 };
7530
7531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7533 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7534 if (arg2 == NULL) {
7535 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7536 }
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7539 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7540
7541 wxPyEndAllowThreads(__tstate);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 }
7544 resultobj = PyInt_FromLong((long)result);
7545 return resultobj;
7546 fail:
7547 return NULL;
7548 }
7549
7550
7551 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj;
7553 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7554 long arg2 ;
7555 long arg3 ;
7556 wxTextAttr *arg4 = 0 ;
7557 bool result;
7558 PyObject * obj0 = 0 ;
7559 PyObject * obj3 = 0 ;
7560 char *kwnames[] = {
7561 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7566 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7567 if (arg4 == NULL) {
7568 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7569 }
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
7572 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 resultobj = PyInt_FromLong((long)result);
7578 return resultobj;
7579 fail:
7580 return NULL;
7581 }
7582
7583
7584 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7585 PyObject *resultobj;
7586 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7587 long arg2 ;
7588 wxTextAttr *arg3 = 0 ;
7589 bool result;
7590 PyObject * obj0 = 0 ;
7591 PyObject * obj2 = 0 ;
7592 char *kwnames[] = {
7593 (char *) "self",(char *) "position",(char *) "style", NULL
7594 };
7595
7596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7598 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7599 if (arg3 == NULL) {
7600 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7601 }
7602 {
7603 PyThreadState* __tstate = wxPyBeginAllowThreads();
7604 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7605
7606 wxPyEndAllowThreads(__tstate);
7607 if (PyErr_Occurred()) SWIG_fail;
7608 }
7609 resultobj = PyInt_FromLong((long)result);
7610 return resultobj;
7611 fail:
7612 return NULL;
7613 }
7614
7615
7616 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7617 PyObject *resultobj;
7618 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7619 wxTextAttr *arg2 = 0 ;
7620 bool result;
7621 PyObject * obj0 = 0 ;
7622 PyObject * obj1 = 0 ;
7623 char *kwnames[] = {
7624 (char *) "self",(char *) "style", NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7630 if (arg2 == NULL) {
7631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7632 }
7633 {
7634 PyThreadState* __tstate = wxPyBeginAllowThreads();
7635 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7636
7637 wxPyEndAllowThreads(__tstate);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 resultobj = PyInt_FromLong((long)result);
7641 return resultobj;
7642 fail:
7643 return NULL;
7644 }
7645
7646
7647 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7648 PyObject *resultobj;
7649 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7650 wxTextAttr *result;
7651 PyObject * obj0 = 0 ;
7652 char *kwnames[] = {
7653 (char *) "self", NULL
7654 };
7655
7656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 {
7661 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7662 result = (wxTextAttr *) &_result_ref;
7663 }
7664
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
7668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7669 return resultobj;
7670 fail:
7671 return NULL;
7672 }
7673
7674
7675 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7676 PyObject *resultobj;
7677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7678 long arg2 ;
7679 long arg3 ;
7680 long result;
7681 PyObject * obj0 = 0 ;
7682 char *kwnames[] = {
7683 (char *) "self",(char *) "x",(char *) "y", NULL
7684 };
7685
7686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7691
7692 wxPyEndAllowThreads(__tstate);
7693 if (PyErr_Occurred()) SWIG_fail;
7694 }
7695 resultobj = PyInt_FromLong((long)result);
7696 return resultobj;
7697 fail:
7698 return NULL;
7699 }
7700
7701
7702 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7703 PyObject *resultobj;
7704 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7705 long arg2 ;
7706 long *arg3 = (long *) 0 ;
7707 long *arg4 = (long *) 0 ;
7708 long temp3 ;
7709 long temp4 ;
7710 PyObject * obj0 = 0 ;
7711 char *kwnames[] = {
7712 (char *) "self",(char *) "pos", NULL
7713 };
7714
7715 arg3 = &temp3;
7716 arg4 = &temp4;
7717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 Py_INCREF(Py_None); resultobj = Py_None;
7727 {
7728 PyObject *o = PyInt_FromLong((long) (*arg3));
7729 resultobj = t_output_helper(resultobj,o);
7730 }
7731 {
7732 PyObject *o = PyInt_FromLong((long) (*arg4));
7733 resultobj = t_output_helper(resultobj,o);
7734 }
7735 return resultobj;
7736 fail:
7737 return NULL;
7738 }
7739
7740
7741 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj;
7743 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7744 long arg2 ;
7745 PyObject * obj0 = 0 ;
7746 char *kwnames[] = {
7747 (char *) "self",(char *) "pos", NULL
7748 };
7749
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
7754 (arg1)->ShowPosition(arg2);
7755
7756 wxPyEndAllowThreads(__tstate);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
7759 Py_INCREF(Py_None); resultobj = Py_None;
7760 return resultobj;
7761 fail:
7762 return NULL;
7763 }
7764
7765
7766 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7767 PyObject *resultobj;
7768 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7769 PyObject * obj0 = 0 ;
7770 char *kwnames[] = {
7771 (char *) "self", NULL
7772 };
7773
7774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7776 {
7777 PyThreadState* __tstate = wxPyBeginAllowThreads();
7778 (arg1)->Copy();
7779
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 Py_INCREF(Py_None); resultobj = Py_None;
7784 return resultobj;
7785 fail:
7786 return NULL;
7787 }
7788
7789
7790 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7791 PyObject *resultobj;
7792 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7793 PyObject * obj0 = 0 ;
7794 char *kwnames[] = {
7795 (char *) "self", NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 (arg1)->Cut();
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 Py_INCREF(Py_None); resultobj = Py_None;
7808 return resultobj;
7809 fail:
7810 return NULL;
7811 }
7812
7813
7814 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj;
7816 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7817 PyObject * obj0 = 0 ;
7818 char *kwnames[] = {
7819 (char *) "self", NULL
7820 };
7821
7822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7824 {
7825 PyThreadState* __tstate = wxPyBeginAllowThreads();
7826 (arg1)->Paste();
7827
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 Py_INCREF(Py_None); resultobj = Py_None;
7832 return resultobj;
7833 fail:
7834 return NULL;
7835 }
7836
7837
7838 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj;
7840 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7841 bool result;
7842 PyObject * obj0 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7849 {
7850 PyThreadState* __tstate = wxPyBeginAllowThreads();
7851 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7852
7853 wxPyEndAllowThreads(__tstate);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 }
7856 resultobj = PyInt_FromLong((long)result);
7857 return resultobj;
7858 fail:
7859 return NULL;
7860 }
7861
7862
7863 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7864 PyObject *resultobj;
7865 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7866 bool result;
7867 PyObject * obj0 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7874 {
7875 PyThreadState* __tstate = wxPyBeginAllowThreads();
7876 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7877
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
7881 resultobj = PyInt_FromLong((long)result);
7882 return resultobj;
7883 fail:
7884 return NULL;
7885 }
7886
7887
7888 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7889 PyObject *resultobj;
7890 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7891 bool result;
7892 PyObject * obj0 = 0 ;
7893 char *kwnames[] = {
7894 (char *) "self", NULL
7895 };
7896
7897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7899 {
7900 PyThreadState* __tstate = wxPyBeginAllowThreads();
7901 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7902
7903 wxPyEndAllowThreads(__tstate);
7904 if (PyErr_Occurred()) SWIG_fail;
7905 }
7906 resultobj = PyInt_FromLong((long)result);
7907 return resultobj;
7908 fail:
7909 return NULL;
7910 }
7911
7912
7913 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7914 PyObject *resultobj;
7915 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7916 PyObject * obj0 = 0 ;
7917 char *kwnames[] = {
7918 (char *) "self", NULL
7919 };
7920
7921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 (arg1)->Undo();
7926
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
7930 Py_INCREF(Py_None); resultobj = Py_None;
7931 return resultobj;
7932 fail:
7933 return NULL;
7934 }
7935
7936
7937 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7938 PyObject *resultobj;
7939 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7940 PyObject * obj0 = 0 ;
7941 char *kwnames[] = {
7942 (char *) "self", NULL
7943 };
7944
7945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7947 {
7948 PyThreadState* __tstate = wxPyBeginAllowThreads();
7949 (arg1)->Redo();
7950
7951 wxPyEndAllowThreads(__tstate);
7952 if (PyErr_Occurred()) SWIG_fail;
7953 }
7954 Py_INCREF(Py_None); resultobj = Py_None;
7955 return resultobj;
7956 fail:
7957 return NULL;
7958 }
7959
7960
7961 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7962 PyObject *resultobj;
7963 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7964 bool result;
7965 PyObject * obj0 = 0 ;
7966 char *kwnames[] = {
7967 (char *) "self", NULL
7968 };
7969
7970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7975
7976 wxPyEndAllowThreads(__tstate);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 }
7979 resultobj = PyInt_FromLong((long)result);
7980 return resultobj;
7981 fail:
7982 return NULL;
7983 }
7984
7985
7986 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7987 PyObject *resultobj;
7988 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7989 bool result;
7990 PyObject * obj0 = 0 ;
7991 char *kwnames[] = {
7992 (char *) "self", NULL
7993 };
7994
7995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7997 {
7998 PyThreadState* __tstate = wxPyBeginAllowThreads();
7999 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
8000
8001 wxPyEndAllowThreads(__tstate);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 }
8004 resultobj = PyInt_FromLong((long)result);
8005 return resultobj;
8006 fail:
8007 return NULL;
8008 }
8009
8010
8011 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8012 PyObject *resultobj;
8013 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8014 long arg2 ;
8015 PyObject * obj0 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self",(char *) "pos", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
8021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 (arg1)->SetInsertionPoint(arg2);
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 Py_INCREF(Py_None); resultobj = Py_None;
8030 return resultobj;
8031 fail:
8032 return NULL;
8033 }
8034
8035
8036 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8039 PyObject * obj0 = 0 ;
8040 char *kwnames[] = {
8041 (char *) "self", NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
8045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8046 {
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 (arg1)->SetInsertionPointEnd();
8049
8050 wxPyEndAllowThreads(__tstate);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
8053 Py_INCREF(Py_None); resultobj = Py_None;
8054 return resultobj;
8055 fail:
8056 return NULL;
8057 }
8058
8059
8060 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
8061 PyObject *resultobj;
8062 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8063 long result;
8064 PyObject * obj0 = 0 ;
8065 char *kwnames[] = {
8066 (char *) "self", NULL
8067 };
8068
8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
8070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 resultobj = PyInt_FromLong((long)result);
8079 return resultobj;
8080 fail:
8081 return NULL;
8082 }
8083
8084
8085 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8086 PyObject *resultobj;
8087 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8088 long result;
8089 PyObject * obj0 = 0 ;
8090 char *kwnames[] = {
8091 (char *) "self", NULL
8092 };
8093
8094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8099
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 resultobj = PyInt_FromLong((long)result);
8104 return resultobj;
8105 fail:
8106 return NULL;
8107 }
8108
8109
8110 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8111 PyObject *resultobj;
8112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8113 long arg2 ;
8114 long arg3 ;
8115 PyObject * obj0 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "self",(char *) "from",(char *) "to", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
8121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8122 {
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 (arg1)->SetSelection(arg2,arg3);
8125
8126 wxPyEndAllowThreads(__tstate);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 }
8129 Py_INCREF(Py_None); resultobj = Py_None;
8130 return resultobj;
8131 fail:
8132 return NULL;
8133 }
8134
8135
8136 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8137 PyObject *resultobj;
8138 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8139 PyObject * obj0 = 0 ;
8140 char *kwnames[] = {
8141 (char *) "self", NULL
8142 };
8143
8144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8146 {
8147 PyThreadState* __tstate = wxPyBeginAllowThreads();
8148 (arg1)->SelectAll();
8149
8150 wxPyEndAllowThreads(__tstate);
8151 if (PyErr_Occurred()) SWIG_fail;
8152 }
8153 Py_INCREF(Py_None); resultobj = Py_None;
8154 return resultobj;
8155 fail:
8156 return NULL;
8157 }
8158
8159
8160 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8161 PyObject *resultobj;
8162 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8163 bool arg2 ;
8164 PyObject * obj0 = 0 ;
8165 PyObject * obj1 = 0 ;
8166 char *kwnames[] = {
8167 (char *) "self",(char *) "editable", NULL
8168 };
8169
8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
8171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8172 {
8173 arg2 = (bool) SPyObj_AsBool(obj1);
8174 if (PyErr_Occurred()) SWIG_fail;
8175 }
8176 {
8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
8178 (arg1)->SetEditable(arg2);
8179
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 Py_INCREF(Py_None); resultobj = Py_None;
8184 return resultobj;
8185 fail:
8186 return NULL;
8187 }
8188
8189
8190 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8191 PyObject *resultobj;
8192 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8193 bool arg2 = (bool) True ;
8194 bool result;
8195 PyObject * obj0 = 0 ;
8196 PyObject * obj1 = 0 ;
8197 char *kwnames[] = {
8198 (char *) "self",(char *) "show", NULL
8199 };
8200
8201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
8202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8203 if (obj1) {
8204 {
8205 arg2 = (bool) SPyObj_AsBool(obj1);
8206 if (PyErr_Occurred()) SWIG_fail;
8207 }
8208 }
8209 {
8210 PyThreadState* __tstate = wxPyBeginAllowThreads();
8211 result = (bool)(arg1)->ShowNativeCaret(arg2);
8212
8213 wxPyEndAllowThreads(__tstate);
8214 if (PyErr_Occurred()) SWIG_fail;
8215 }
8216 resultobj = PyInt_FromLong((long)result);
8217 return resultobj;
8218 fail:
8219 return NULL;
8220 }
8221
8222
8223 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
8224 PyObject *resultobj;
8225 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8226 bool result;
8227 PyObject * obj0 = 0 ;
8228 char *kwnames[] = {
8229 (char *) "self", NULL
8230 };
8231
8232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
8233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8234 {
8235 PyThreadState* __tstate = wxPyBeginAllowThreads();
8236 result = (bool)(arg1)->HideNativeCaret();
8237
8238 wxPyEndAllowThreads(__tstate);
8239 if (PyErr_Occurred()) SWIG_fail;
8240 }
8241 resultobj = PyInt_FromLong((long)result);
8242 return resultobj;
8243 fail:
8244 return NULL;
8245 }
8246
8247
8248 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj;
8250 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8251 wxString *arg2 = 0 ;
8252 bool temp2 = False ;
8253 PyObject * obj0 = 0 ;
8254 PyObject * obj1 = 0 ;
8255 char *kwnames[] = {
8256 (char *) "self",(char *) "text", NULL
8257 };
8258
8259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
8260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8261 {
8262 arg2 = wxString_in_helper(obj1);
8263 if (arg2 == NULL) SWIG_fail;
8264 temp2 = True;
8265 }
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 wxTextCtrl_write(arg1,(wxString const &)*arg2);
8269
8270 wxPyEndAllowThreads(__tstate);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 Py_INCREF(Py_None); resultobj = Py_None;
8274 {
8275 if (temp2)
8276 delete arg2;
8277 }
8278 return resultobj;
8279 fail:
8280 {
8281 if (temp2)
8282 delete arg2;
8283 }
8284 return NULL;
8285 }
8286
8287
8288 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8289 PyObject *resultobj;
8290 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8291 long arg2 ;
8292 long arg3 ;
8293 wxString result;
8294 PyObject * obj0 = 0 ;
8295 char *kwnames[] = {
8296 (char *) "self",(char *) "from",(char *) "to", NULL
8297 };
8298
8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
8300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8304
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 {
8309 #if wxUSE_UNICODE
8310 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8311 #else
8312 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8313 #endif
8314 }
8315 return resultobj;
8316 fail:
8317 return NULL;
8318 }
8319
8320
8321 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8322 PyObject *obj;
8323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8324 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8325 Py_INCREF(obj);
8326 return Py_BuildValue((char *)"");
8327 }
8328 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8329 PyObject *resultobj;
8330 int arg1 ;
8331 wxMouseEvent *arg2 = 0 ;
8332 long arg3 ;
8333 long arg4 ;
8334 wxTextUrlEvent *result;
8335 PyObject * obj1 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
8341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8342 if (arg2 == NULL) {
8343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8344 }
8345 {
8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
8347 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8348
8349 wxPyEndAllowThreads(__tstate);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 }
8352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8353 return resultobj;
8354 fail:
8355 return NULL;
8356 }
8357
8358
8359 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8360 PyObject *resultobj;
8361 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8362 wxMouseEvent *result;
8363 PyObject * obj0 = 0 ;
8364 char *kwnames[] = {
8365 (char *) "self", NULL
8366 };
8367
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8370 {
8371 PyThreadState* __tstate = wxPyBeginAllowThreads();
8372 {
8373 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8374 result = (wxMouseEvent *) &_result_ref;
8375 }
8376
8377 wxPyEndAllowThreads(__tstate);
8378 if (PyErr_Occurred()) SWIG_fail;
8379 }
8380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8381 return resultobj;
8382 fail:
8383 return NULL;
8384 }
8385
8386
8387 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8388 PyObject *resultobj;
8389 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8390 long result;
8391 PyObject * obj0 = 0 ;
8392 char *kwnames[] = {
8393 (char *) "self", NULL
8394 };
8395
8396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8398 {
8399 PyThreadState* __tstate = wxPyBeginAllowThreads();
8400 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8401
8402 wxPyEndAllowThreads(__tstate);
8403 if (PyErr_Occurred()) SWIG_fail;
8404 }
8405 resultobj = PyInt_FromLong((long)result);
8406 return resultobj;
8407 fail:
8408 return NULL;
8409 }
8410
8411
8412 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8413 PyObject *resultobj;
8414 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8415 long result;
8416 PyObject * obj0 = 0 ;
8417 char *kwnames[] = {
8418 (char *) "self", NULL
8419 };
8420
8421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8423 {
8424 PyThreadState* __tstate = wxPyBeginAllowThreads();
8425 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8426
8427 wxPyEndAllowThreads(__tstate);
8428 if (PyErr_Occurred()) SWIG_fail;
8429 }
8430 resultobj = PyInt_FromLong((long)result);
8431 return resultobj;
8432 fail:
8433 return NULL;
8434 }
8435
8436
8437 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8438 PyObject *obj;
8439 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8440 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8441 Py_INCREF(obj);
8442 return Py_BuildValue((char *)"");
8443 }
8444 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
8445 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
8446 return 1;
8447 }
8448
8449
8450 static PyObject *_wrap_ScrollBarNameStr_get() {
8451 PyObject *pyobj;
8452
8453 {
8454 #if wxUSE_UNICODE
8455 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8456 #else
8457 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8458 #endif
8459 }
8460 return pyobj;
8461 }
8462
8463
8464 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj;
8466 wxWindow *arg1 = (wxWindow *) 0 ;
8467 int arg2 = (int) -1 ;
8468 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8469 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8470 wxSize const &arg4_defvalue = wxDefaultSize ;
8471 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8472 long arg5 = (long) wxSB_HORIZONTAL ;
8473 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8474 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8475 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8476 wxString *arg7 = (wxString *) &arg7_defvalue ;
8477 wxScrollBar *result;
8478 wxPoint temp3 ;
8479 wxSize temp4 ;
8480 bool temp7 = False ;
8481 PyObject * obj0 = 0 ;
8482 PyObject * obj2 = 0 ;
8483 PyObject * obj3 = 0 ;
8484 PyObject * obj5 = 0 ;
8485 PyObject * obj6 = 0 ;
8486 char *kwnames[] = {
8487 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8488 };
8489
8490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8492 if (obj2) {
8493 {
8494 arg3 = &temp3;
8495 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8496 }
8497 }
8498 if (obj3) {
8499 {
8500 arg4 = &temp4;
8501 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8502 }
8503 }
8504 if (obj5) {
8505 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8506 if (arg6 == NULL) {
8507 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8508 }
8509 }
8510 if (obj6) {
8511 {
8512 arg7 = wxString_in_helper(obj6);
8513 if (arg7 == NULL) SWIG_fail;
8514 temp7 = True;
8515 }
8516 }
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8520
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8525 {
8526 if (temp7)
8527 delete arg7;
8528 }
8529 return resultobj;
8530 fail:
8531 {
8532 if (temp7)
8533 delete arg7;
8534 }
8535 return NULL;
8536 }
8537
8538
8539 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj;
8541 wxScrollBar *result;
8542 char *kwnames[] = {
8543 NULL
8544 };
8545
8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8547 {
8548 PyThreadState* __tstate = wxPyBeginAllowThreads();
8549 result = (wxScrollBar *)new wxScrollBar();
8550
8551 wxPyEndAllowThreads(__tstate);
8552 if (PyErr_Occurred()) SWIG_fail;
8553 }
8554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8555 return resultobj;
8556 fail:
8557 return NULL;
8558 }
8559
8560
8561 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8562 PyObject *resultobj;
8563 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8564 wxWindow *arg2 = (wxWindow *) 0 ;
8565 int arg3 = (int) -1 ;
8566 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8567 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8568 wxSize const &arg5_defvalue = wxDefaultSize ;
8569 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8570 long arg6 = (long) wxSB_HORIZONTAL ;
8571 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8572 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8573 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8574 wxString *arg8 = (wxString *) &arg8_defvalue ;
8575 bool result;
8576 wxPoint temp4 ;
8577 wxSize temp5 ;
8578 bool temp8 = False ;
8579 PyObject * obj0 = 0 ;
8580 PyObject * obj1 = 0 ;
8581 PyObject * obj3 = 0 ;
8582 PyObject * obj4 = 0 ;
8583 PyObject * obj6 = 0 ;
8584 PyObject * obj7 = 0 ;
8585 char *kwnames[] = {
8586 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8587 };
8588
8589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8592 if (obj3) {
8593 {
8594 arg4 = &temp4;
8595 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8596 }
8597 }
8598 if (obj4) {
8599 {
8600 arg5 = &temp5;
8601 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8602 }
8603 }
8604 if (obj6) {
8605 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8606 if (arg7 == NULL) {
8607 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8608 }
8609 }
8610 if (obj7) {
8611 {
8612 arg8 = wxString_in_helper(obj7);
8613 if (arg8 == NULL) SWIG_fail;
8614 temp8 = True;
8615 }
8616 }
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8620
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 resultobj = PyInt_FromLong((long)result);
8625 {
8626 if (temp8)
8627 delete arg8;
8628 }
8629 return resultobj;
8630 fail:
8631 {
8632 if (temp8)
8633 delete arg8;
8634 }
8635 return NULL;
8636 }
8637
8638
8639 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8640 PyObject *resultobj;
8641 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8642 int result;
8643 PyObject * obj0 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8650 {
8651 PyThreadState* __tstate = wxPyBeginAllowThreads();
8652 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8653
8654 wxPyEndAllowThreads(__tstate);
8655 if (PyErr_Occurred()) SWIG_fail;
8656 }
8657 resultobj = PyInt_FromLong((long)result);
8658 return resultobj;
8659 fail:
8660 return NULL;
8661 }
8662
8663
8664 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8665 PyObject *resultobj;
8666 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8667 int result;
8668 PyObject * obj0 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8675 {
8676 PyThreadState* __tstate = wxPyBeginAllowThreads();
8677 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8678
8679 wxPyEndAllowThreads(__tstate);
8680 if (PyErr_Occurred()) SWIG_fail;
8681 }
8682 resultobj = PyInt_FromLong((long)result);
8683 return resultobj;
8684 fail:
8685 return NULL;
8686 }
8687
8688
8689 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8690 PyObject *resultobj;
8691 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8692 int result;
8693 PyObject * obj0 = 0 ;
8694 char *kwnames[] = {
8695 (char *) "self", NULL
8696 };
8697
8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8700 {
8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
8702 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8703
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 resultobj = PyInt_FromLong((long)result);
8708 return resultobj;
8709 fail:
8710 return NULL;
8711 }
8712
8713
8714 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8715 PyObject *resultobj;
8716 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8717 int result;
8718 PyObject * obj0 = 0 ;
8719 char *kwnames[] = {
8720 (char *) "self", NULL
8721 };
8722
8723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8725 {
8726 PyThreadState* __tstate = wxPyBeginAllowThreads();
8727 result = (int)((wxScrollBar const *)arg1)->GetRange();
8728
8729 wxPyEndAllowThreads(__tstate);
8730 if (PyErr_Occurred()) SWIG_fail;
8731 }
8732 resultobj = PyInt_FromLong((long)result);
8733 return resultobj;
8734 fail:
8735 return NULL;
8736 }
8737
8738
8739 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8740 PyObject *resultobj;
8741 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8742 bool result;
8743 PyObject * obj0 = 0 ;
8744 char *kwnames[] = {
8745 (char *) "self", NULL
8746 };
8747
8748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 resultobj = PyInt_FromLong((long)result);
8758 return resultobj;
8759 fail:
8760 return NULL;
8761 }
8762
8763
8764 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj;
8766 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8767 int arg2 ;
8768 PyObject * obj0 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "self",(char *) "viewStart", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8775 {
8776 PyThreadState* __tstate = wxPyBeginAllowThreads();
8777 (arg1)->SetThumbPosition(arg2);
8778
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 Py_INCREF(Py_None); resultobj = Py_None;
8783 return resultobj;
8784 fail:
8785 return NULL;
8786 }
8787
8788
8789 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj;
8791 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8792 int arg2 ;
8793 int arg3 ;
8794 int arg4 ;
8795 int arg5 ;
8796 bool arg6 = (bool) True ;
8797 PyObject * obj0 = 0 ;
8798 PyObject * obj5 = 0 ;
8799 char *kwnames[] = {
8800 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8801 };
8802
8803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8805 if (obj5) {
8806 {
8807 arg6 = (bool) SPyObj_AsBool(obj5);
8808 if (PyErr_Occurred()) SWIG_fail;
8809 }
8810 }
8811 {
8812 PyThreadState* __tstate = wxPyBeginAllowThreads();
8813 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8814
8815 wxPyEndAllowThreads(__tstate);
8816 if (PyErr_Occurred()) SWIG_fail;
8817 }
8818 Py_INCREF(Py_None); resultobj = Py_None;
8819 return resultobj;
8820 fail:
8821 return NULL;
8822 }
8823
8824
8825 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8826 PyObject *obj;
8827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8828 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8829 Py_INCREF(obj);
8830 return Py_BuildValue((char *)"");
8831 }
8832 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
8833 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
8834 return 1;
8835 }
8836
8837
8838 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
8839 PyObject *pyobj;
8840
8841 {
8842 #if wxUSE_UNICODE
8843 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8844 #else
8845 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8846 #endif
8847 }
8848 return pyobj;
8849 }
8850
8851
8852 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
8853 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
8854 return 1;
8855 }
8856
8857
8858 static PyObject *_wrap_SpinCtrlNameStr_get() {
8859 PyObject *pyobj;
8860
8861 {
8862 #if wxUSE_UNICODE
8863 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8864 #else
8865 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8866 #endif
8867 }
8868 return pyobj;
8869 }
8870
8871
8872 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8873 PyObject *resultobj;
8874 wxWindow *arg1 = (wxWindow *) 0 ;
8875 int arg2 = (int) -1 ;
8876 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8877 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8878 wxSize const &arg4_defvalue = wxDefaultSize ;
8879 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8880 long arg5 = (long) wxSP_HORIZONTAL ;
8881 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8882 wxString *arg6 = (wxString *) &arg6_defvalue ;
8883 wxSpinButton *result;
8884 wxPoint temp3 ;
8885 wxSize temp4 ;
8886 bool temp6 = False ;
8887 PyObject * obj0 = 0 ;
8888 PyObject * obj2 = 0 ;
8889 PyObject * obj3 = 0 ;
8890 PyObject * obj5 = 0 ;
8891 char *kwnames[] = {
8892 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8893 };
8894
8895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8897 if (obj2) {
8898 {
8899 arg3 = &temp3;
8900 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8901 }
8902 }
8903 if (obj3) {
8904 {
8905 arg4 = &temp4;
8906 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8907 }
8908 }
8909 if (obj5) {
8910 {
8911 arg6 = wxString_in_helper(obj5);
8912 if (arg6 == NULL) SWIG_fail;
8913 temp6 = True;
8914 }
8915 }
8916 {
8917 PyThreadState* __tstate = wxPyBeginAllowThreads();
8918 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8919
8920 wxPyEndAllowThreads(__tstate);
8921 if (PyErr_Occurred()) SWIG_fail;
8922 }
8923 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8924 {
8925 if (temp6)
8926 delete arg6;
8927 }
8928 return resultobj;
8929 fail:
8930 {
8931 if (temp6)
8932 delete arg6;
8933 }
8934 return NULL;
8935 }
8936
8937
8938 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8939 PyObject *resultobj;
8940 wxSpinButton *result;
8941 char *kwnames[] = {
8942 NULL
8943 };
8944
8945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8946 {
8947 PyThreadState* __tstate = wxPyBeginAllowThreads();
8948 result = (wxSpinButton *)new wxSpinButton();
8949
8950 wxPyEndAllowThreads(__tstate);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
8953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8954 return resultobj;
8955 fail:
8956 return NULL;
8957 }
8958
8959
8960 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8961 PyObject *resultobj;
8962 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8963 wxWindow *arg2 = (wxWindow *) 0 ;
8964 int arg3 = (int) -1 ;
8965 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8966 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8967 wxSize const &arg5_defvalue = wxDefaultSize ;
8968 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8969 long arg6 = (long) wxSP_HORIZONTAL ;
8970 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8971 wxString *arg7 = (wxString *) &arg7_defvalue ;
8972 bool result;
8973 wxPoint temp4 ;
8974 wxSize temp5 ;
8975 bool temp7 = False ;
8976 PyObject * obj0 = 0 ;
8977 PyObject * obj1 = 0 ;
8978 PyObject * obj3 = 0 ;
8979 PyObject * obj4 = 0 ;
8980 PyObject * obj6 = 0 ;
8981 char *kwnames[] = {
8982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8983 };
8984
8985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8988 if (obj3) {
8989 {
8990 arg4 = &temp4;
8991 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8992 }
8993 }
8994 if (obj4) {
8995 {
8996 arg5 = &temp5;
8997 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8998 }
8999 }
9000 if (obj6) {
9001 {
9002 arg7 = wxString_in_helper(obj6);
9003 if (arg7 == NULL) SWIG_fail;
9004 temp7 = True;
9005 }
9006 }
9007 {
9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
9009 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9010
9011 wxPyEndAllowThreads(__tstate);
9012 if (PyErr_Occurred()) SWIG_fail;
9013 }
9014 resultobj = PyInt_FromLong((long)result);
9015 {
9016 if (temp7)
9017 delete arg7;
9018 }
9019 return resultobj;
9020 fail:
9021 {
9022 if (temp7)
9023 delete arg7;
9024 }
9025 return NULL;
9026 }
9027
9028
9029 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9030 PyObject *resultobj;
9031 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9032 int result;
9033 PyObject * obj0 = 0 ;
9034 char *kwnames[] = {
9035 (char *) "self", NULL
9036 };
9037
9038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
9039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 result = (int)((wxSpinButton const *)arg1)->GetValue();
9043
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 resultobj = PyInt_FromLong((long)result);
9048 return resultobj;
9049 fail:
9050 return NULL;
9051 }
9052
9053
9054 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9055 PyObject *resultobj;
9056 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9057 int result;
9058 PyObject * obj0 = 0 ;
9059 char *kwnames[] = {
9060 (char *) "self", NULL
9061 };
9062
9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
9064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (int)((wxSpinButton const *)arg1)->GetMin();
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 resultobj = PyInt_FromLong((long)result);
9073 return resultobj;
9074 fail:
9075 return NULL;
9076 }
9077
9078
9079 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9080 PyObject *resultobj;
9081 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9082 int result;
9083 PyObject * obj0 = 0 ;
9084 char *kwnames[] = {
9085 (char *) "self", NULL
9086 };
9087
9088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
9089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 result = (int)((wxSpinButton const *)arg1)->GetMax();
9093
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 resultobj = PyInt_FromLong((long)result);
9098 return resultobj;
9099 fail:
9100 return NULL;
9101 }
9102
9103
9104 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9105 PyObject *resultobj;
9106 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9107 int arg2 ;
9108 PyObject * obj0 = 0 ;
9109 char *kwnames[] = {
9110 (char *) "self",(char *) "val", NULL
9111 };
9112
9113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
9114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9115 {
9116 PyThreadState* __tstate = wxPyBeginAllowThreads();
9117 (arg1)->SetValue(arg2);
9118
9119 wxPyEndAllowThreads(__tstate);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
9122 Py_INCREF(Py_None); resultobj = Py_None;
9123 return resultobj;
9124 fail:
9125 return NULL;
9126 }
9127
9128
9129 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9130 PyObject *resultobj;
9131 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9132 int arg2 ;
9133 PyObject * obj0 = 0 ;
9134 char *kwnames[] = {
9135 (char *) "self",(char *) "minVal", NULL
9136 };
9137
9138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
9139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 (arg1)->SetMin(arg2);
9143
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 Py_INCREF(Py_None); resultobj = Py_None;
9148 return resultobj;
9149 fail:
9150 return NULL;
9151 }
9152
9153
9154 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9155 PyObject *resultobj;
9156 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9157 int arg2 ;
9158 PyObject * obj0 = 0 ;
9159 char *kwnames[] = {
9160 (char *) "self",(char *) "maxVal", NULL
9161 };
9162
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
9164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 (arg1)->SetMax(arg2);
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
9172 Py_INCREF(Py_None); resultobj = Py_None;
9173 return resultobj;
9174 fail:
9175 return NULL;
9176 }
9177
9178
9179 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9180 PyObject *resultobj;
9181 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9182 int arg2 ;
9183 int arg3 ;
9184 PyObject * obj0 = 0 ;
9185 char *kwnames[] = {
9186 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9187 };
9188
9189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9191 {
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 (arg1)->SetRange(arg2,arg3);
9194
9195 wxPyEndAllowThreads(__tstate);
9196 if (PyErr_Occurred()) SWIG_fail;
9197 }
9198 Py_INCREF(Py_None); resultobj = Py_None;
9199 return resultobj;
9200 fail:
9201 return NULL;
9202 }
9203
9204
9205 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9206 PyObject *resultobj;
9207 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9208 bool result;
9209 PyObject * obj0 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
9215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 resultobj = PyInt_FromLong((long)result);
9224 return resultobj;
9225 fail:
9226 return NULL;
9227 }
9228
9229
9230 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
9231 PyObject *obj;
9232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9233 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
9234 Py_INCREF(obj);
9235 return Py_BuildValue((char *)"");
9236 }
9237 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9238 PyObject *resultobj;
9239 wxWindow *arg1 = (wxWindow *) 0 ;
9240 int arg2 = (int) -1 ;
9241 wxString const &arg3_defvalue = wxPyEmptyString ;
9242 wxString *arg3 = (wxString *) &arg3_defvalue ;
9243 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9244 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9245 wxSize const &arg5_defvalue = wxDefaultSize ;
9246 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9247 long arg6 = (long) wxSP_ARROW_KEYS ;
9248 int arg7 = (int) 0 ;
9249 int arg8 = (int) 100 ;
9250 int arg9 = (int) 0 ;
9251 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
9252 wxString *arg10 = (wxString *) &arg10_defvalue ;
9253 wxSpinCtrl *result;
9254 bool temp3 = False ;
9255 wxPoint temp4 ;
9256 wxSize temp5 ;
9257 bool temp10 = False ;
9258 PyObject * obj0 = 0 ;
9259 PyObject * obj2 = 0 ;
9260 PyObject * obj3 = 0 ;
9261 PyObject * obj4 = 0 ;
9262 PyObject * obj9 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9265 };
9266
9267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
9268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9269 if (obj2) {
9270 {
9271 arg3 = wxString_in_helper(obj2);
9272 if (arg3 == NULL) SWIG_fail;
9273 temp3 = True;
9274 }
9275 }
9276 if (obj3) {
9277 {
9278 arg4 = &temp4;
9279 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9280 }
9281 }
9282 if (obj4) {
9283 {
9284 arg5 = &temp5;
9285 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9286 }
9287 }
9288 if (obj9) {
9289 {
9290 arg10 = wxString_in_helper(obj9);
9291 if (arg10 == NULL) SWIG_fail;
9292 temp10 = True;
9293 }
9294 }
9295 {
9296 PyThreadState* __tstate = wxPyBeginAllowThreads();
9297 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
9298
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9303 {
9304 if (temp3)
9305 delete arg3;
9306 }
9307 {
9308 if (temp10)
9309 delete arg10;
9310 }
9311 return resultobj;
9312 fail:
9313 {
9314 if (temp3)
9315 delete arg3;
9316 }
9317 {
9318 if (temp10)
9319 delete arg10;
9320 }
9321 return NULL;
9322 }
9323
9324
9325 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9326 PyObject *resultobj;
9327 wxSpinCtrl *result;
9328 char *kwnames[] = {
9329 NULL
9330 };
9331
9332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
9333 {
9334 PyThreadState* __tstate = wxPyBeginAllowThreads();
9335 result = (wxSpinCtrl *)new wxSpinCtrl();
9336
9337 wxPyEndAllowThreads(__tstate);
9338 if (PyErr_Occurred()) SWIG_fail;
9339 }
9340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9341 return resultobj;
9342 fail:
9343 return NULL;
9344 }
9345
9346
9347 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9348 PyObject *resultobj;
9349 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9350 wxWindow *arg2 = (wxWindow *) 0 ;
9351 int arg3 = (int) -1 ;
9352 wxString const &arg4_defvalue = wxPyEmptyString ;
9353 wxString *arg4 = (wxString *) &arg4_defvalue ;
9354 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9355 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9356 wxSize const &arg6_defvalue = wxDefaultSize ;
9357 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9358 long arg7 = (long) wxSP_ARROW_KEYS ;
9359 int arg8 = (int) 0 ;
9360 int arg9 = (int) 100 ;
9361 int arg10 = (int) 0 ;
9362 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
9363 wxString *arg11 = (wxString *) &arg11_defvalue ;
9364 bool result;
9365 bool temp4 = False ;
9366 wxPoint temp5 ;
9367 wxSize temp6 ;
9368 bool temp11 = False ;
9369 PyObject * obj0 = 0 ;
9370 PyObject * obj1 = 0 ;
9371 PyObject * obj3 = 0 ;
9372 PyObject * obj4 = 0 ;
9373 PyObject * obj5 = 0 ;
9374 PyObject * obj10 = 0 ;
9375 char *kwnames[] = {
9376 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9377 };
9378
9379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
9380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9381 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9382 if (obj3) {
9383 {
9384 arg4 = wxString_in_helper(obj3);
9385 if (arg4 == NULL) SWIG_fail;
9386 temp4 = True;
9387 }
9388 }
9389 if (obj4) {
9390 {
9391 arg5 = &temp5;
9392 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9393 }
9394 }
9395 if (obj5) {
9396 {
9397 arg6 = &temp6;
9398 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9399 }
9400 }
9401 if (obj10) {
9402 {
9403 arg11 = wxString_in_helper(obj10);
9404 if (arg11 == NULL) SWIG_fail;
9405 temp11 = True;
9406 }
9407 }
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9411
9412 wxPyEndAllowThreads(__tstate);
9413 if (PyErr_Occurred()) SWIG_fail;
9414 }
9415 resultobj = PyInt_FromLong((long)result);
9416 {
9417 if (temp4)
9418 delete arg4;
9419 }
9420 {
9421 if (temp11)
9422 delete arg11;
9423 }
9424 return resultobj;
9425 fail:
9426 {
9427 if (temp4)
9428 delete arg4;
9429 }
9430 {
9431 if (temp11)
9432 delete arg11;
9433 }
9434 return NULL;
9435 }
9436
9437
9438 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9439 PyObject *resultobj;
9440 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9441 int result;
9442 PyObject * obj0 = 0 ;
9443 char *kwnames[] = {
9444 (char *) "self", NULL
9445 };
9446
9447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9449 {
9450 PyThreadState* __tstate = wxPyBeginAllowThreads();
9451 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9452
9453 wxPyEndAllowThreads(__tstate);
9454 if (PyErr_Occurred()) SWIG_fail;
9455 }
9456 resultobj = PyInt_FromLong((long)result);
9457 return resultobj;
9458 fail:
9459 return NULL;
9460 }
9461
9462
9463 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9464 PyObject *resultobj;
9465 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9466 int arg2 ;
9467 PyObject * obj0 = 0 ;
9468 char *kwnames[] = {
9469 (char *) "self",(char *) "value", NULL
9470 };
9471
9472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9474 {
9475 PyThreadState* __tstate = wxPyBeginAllowThreads();
9476 (arg1)->SetValue(arg2);
9477
9478 wxPyEndAllowThreads(__tstate);
9479 if (PyErr_Occurred()) SWIG_fail;
9480 }
9481 Py_INCREF(Py_None); resultobj = Py_None;
9482 return resultobj;
9483 fail:
9484 return NULL;
9485 }
9486
9487
9488 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9489 PyObject *resultobj;
9490 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9491 wxString *arg2 = 0 ;
9492 bool temp2 = False ;
9493 PyObject * obj0 = 0 ;
9494 PyObject * obj1 = 0 ;
9495 char *kwnames[] = {
9496 (char *) "self",(char *) "text", NULL
9497 };
9498
9499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9501 {
9502 arg2 = wxString_in_helper(obj1);
9503 if (arg2 == NULL) SWIG_fail;
9504 temp2 = True;
9505 }
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 (arg1)->SetValue((wxString const &)*arg2);
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 Py_INCREF(Py_None); resultobj = Py_None;
9514 {
9515 if (temp2)
9516 delete arg2;
9517 }
9518 return resultobj;
9519 fail:
9520 {
9521 if (temp2)
9522 delete arg2;
9523 }
9524 return NULL;
9525 }
9526
9527
9528 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9529 PyObject *resultobj;
9530 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9531 int arg2 ;
9532 int arg3 ;
9533 PyObject * obj0 = 0 ;
9534 char *kwnames[] = {
9535 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9536 };
9537
9538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9540 {
9541 PyThreadState* __tstate = wxPyBeginAllowThreads();
9542 (arg1)->SetRange(arg2,arg3);
9543
9544 wxPyEndAllowThreads(__tstate);
9545 if (PyErr_Occurred()) SWIG_fail;
9546 }
9547 Py_INCREF(Py_None); resultobj = Py_None;
9548 return resultobj;
9549 fail:
9550 return NULL;
9551 }
9552
9553
9554 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9555 PyObject *resultobj;
9556 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9557 int result;
9558 PyObject * obj0 = 0 ;
9559 char *kwnames[] = {
9560 (char *) "self", NULL
9561 };
9562
9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9568
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 resultobj = PyInt_FromLong((long)result);
9573 return resultobj;
9574 fail:
9575 return NULL;
9576 }
9577
9578
9579 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9580 PyObject *resultobj;
9581 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9582 int result;
9583 PyObject * obj0 = 0 ;
9584 char *kwnames[] = {
9585 (char *) "self", NULL
9586 };
9587
9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9590 {
9591 PyThreadState* __tstate = wxPyBeginAllowThreads();
9592 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9593
9594 wxPyEndAllowThreads(__tstate);
9595 if (PyErr_Occurred()) SWIG_fail;
9596 }
9597 resultobj = PyInt_FromLong((long)result);
9598 return resultobj;
9599 fail:
9600 return NULL;
9601 }
9602
9603
9604 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9605 PyObject *resultobj;
9606 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9607 long arg2 ;
9608 long arg3 ;
9609 PyObject * obj0 = 0 ;
9610 char *kwnames[] = {
9611 (char *) "self",(char *) "from",(char *) "to", NULL
9612 };
9613
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 (arg1)->SetSelection(arg2,arg3);
9619
9620 wxPyEndAllowThreads(__tstate);
9621 if (PyErr_Occurred()) SWIG_fail;
9622 }
9623 Py_INCREF(Py_None); resultobj = Py_None;
9624 return resultobj;
9625 fail:
9626 return NULL;
9627 }
9628
9629
9630 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9631 PyObject *obj;
9632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9633 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9634 Py_INCREF(obj);
9635 return Py_BuildValue((char *)"");
9636 }
9637 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9638 PyObject *resultobj;
9639 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9640 int arg2 = (int) 0 ;
9641 wxSpinEvent *result;
9642 char *kwnames[] = {
9643 (char *) "commandType",(char *) "winid", NULL
9644 };
9645
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SpinEvent",kwnames,&arg1,&arg2)) goto fail;
9647 {
9648 PyThreadState* __tstate = wxPyBeginAllowThreads();
9649 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
9650
9651 wxPyEndAllowThreads(__tstate);
9652 if (PyErr_Occurred()) SWIG_fail;
9653 }
9654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
9655 return resultobj;
9656 fail:
9657 return NULL;
9658 }
9659
9660
9661 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9662 PyObject *resultobj;
9663 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9664 int result;
9665 PyObject * obj0 = 0 ;
9666 char *kwnames[] = {
9667 (char *) "self", NULL
9668 };
9669
9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
9671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 resultobj = PyInt_FromLong((long)result);
9680 return resultobj;
9681 fail:
9682 return NULL;
9683 }
9684
9685
9686 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9687 PyObject *resultobj;
9688 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9689 int arg2 ;
9690 PyObject * obj0 = 0 ;
9691 char *kwnames[] = {
9692 (char *) "self",(char *) "pos", NULL
9693 };
9694
9695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
9696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 (arg1)->SetPosition(arg2);
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 Py_INCREF(Py_None); resultobj = Py_None;
9705 return resultobj;
9706 fail:
9707 return NULL;
9708 }
9709
9710
9711 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
9712 PyObject *obj;
9713 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9714 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
9715 Py_INCREF(obj);
9716 return Py_BuildValue((char *)"");
9717 }
9718 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
9719 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
9720 return 1;
9721 }
9722
9723
9724 static PyObject *_wrap_RadioBoxNameStr_get() {
9725 PyObject *pyobj;
9726
9727 {
9728 #if wxUSE_UNICODE
9729 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9730 #else
9731 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9732 #endif
9733 }
9734 return pyobj;
9735 }
9736
9737
9738 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
9739 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
9740 return 1;
9741 }
9742
9743
9744 static PyObject *_wrap_RadioButtonNameStr_get() {
9745 PyObject *pyobj;
9746
9747 {
9748 #if wxUSE_UNICODE
9749 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9750 #else
9751 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9752 #endif
9753 }
9754 return pyobj;
9755 }
9756
9757
9758 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9759 PyObject *resultobj;
9760 wxWindow *arg1 = (wxWindow *) 0 ;
9761 int arg2 ;
9762 wxString *arg3 = 0 ;
9763 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9764 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9765 wxSize const &arg5_defvalue = wxDefaultSize ;
9766 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9767 int arg6 = (int) 0 ;
9768 wxString *arg7 = (wxString *) NULL ;
9769 int arg8 = (int) 0 ;
9770 long arg9 = (long) wxRA_HORIZONTAL ;
9771 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9772 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9773 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9774 wxString *arg11 = (wxString *) &arg11_defvalue ;
9775 wxRadioBox *result;
9776 bool temp3 = False ;
9777 wxPoint temp4 ;
9778 wxSize temp5 ;
9779 bool temp10 = False ;
9780 PyObject * obj0 = 0 ;
9781 PyObject * obj2 = 0 ;
9782 PyObject * obj3 = 0 ;
9783 PyObject * obj4 = 0 ;
9784 PyObject * obj5 = 0 ;
9785 PyObject * obj8 = 0 ;
9786 PyObject * obj9 = 0 ;
9787 char *kwnames[] = {
9788 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9789 };
9790
9791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9793 {
9794 arg3 = wxString_in_helper(obj2);
9795 if (arg3 == NULL) SWIG_fail;
9796 temp3 = True;
9797 }
9798 if (obj3) {
9799 {
9800 arg4 = &temp4;
9801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9802 }
9803 }
9804 if (obj4) {
9805 {
9806 arg5 = &temp5;
9807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9808 }
9809 }
9810 if (obj5) {
9811 {
9812 arg6 = PyList_Size(obj5);
9813 arg7 = wxString_LIST_helper(obj5);
9814 if (arg7 == NULL) SWIG_fail;
9815 }
9816 }
9817 if (obj8) {
9818 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9819 if (arg10 == NULL) {
9820 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9821 }
9822 }
9823 if (obj9) {
9824 {
9825 arg11 = wxString_in_helper(obj9);
9826 if (arg11 == NULL) SWIG_fail;
9827 temp10 = True;
9828 }
9829 }
9830 {
9831 PyThreadState* __tstate = wxPyBeginAllowThreads();
9832 result = (wxRadioBox *)new wxRadioBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
9833
9834 wxPyEndAllowThreads(__tstate);
9835 if (PyErr_Occurred()) SWIG_fail;
9836 }
9837 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9838 {
9839 if (temp3)
9840 delete arg3;
9841 }
9842 {
9843 if (arg7) delete [] arg7;
9844 }
9845 {
9846 if (temp10)
9847 delete arg11;
9848 }
9849 return resultobj;
9850 fail:
9851 {
9852 if (temp3)
9853 delete arg3;
9854 }
9855 {
9856 if (arg7) delete [] arg7;
9857 }
9858 {
9859 if (temp10)
9860 delete arg11;
9861 }
9862 return NULL;
9863 }
9864
9865
9866 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9867 PyObject *resultobj;
9868 wxRadioBox *result;
9869 char *kwnames[] = {
9870 NULL
9871 };
9872
9873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9874 {
9875 PyThreadState* __tstate = wxPyBeginAllowThreads();
9876 result = (wxRadioBox *)new wxRadioBox();
9877
9878 wxPyEndAllowThreads(__tstate);
9879 if (PyErr_Occurred()) SWIG_fail;
9880 }
9881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9882 return resultobj;
9883 fail:
9884 return NULL;
9885 }
9886
9887
9888 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9889 PyObject *resultobj;
9890 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9891 wxWindow *arg2 = (wxWindow *) 0 ;
9892 int arg3 ;
9893 wxString *arg4 = 0 ;
9894 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9895 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9896 wxSize const &arg6_defvalue = wxDefaultSize ;
9897 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9898 int arg7 = (int) 0 ;
9899 wxString *arg8 = (wxString *) NULL ;
9900 int arg9 = (int) 0 ;
9901 long arg10 = (long) wxRA_HORIZONTAL ;
9902 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9903 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9904 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9905 wxString *arg12 = (wxString *) &arg12_defvalue ;
9906 bool result;
9907 bool temp4 = False ;
9908 wxPoint temp5 ;
9909 wxSize temp6 ;
9910 bool temp11 = False ;
9911 PyObject * obj0 = 0 ;
9912 PyObject * obj1 = 0 ;
9913 PyObject * obj3 = 0 ;
9914 PyObject * obj4 = 0 ;
9915 PyObject * obj5 = 0 ;
9916 PyObject * obj6 = 0 ;
9917 PyObject * obj9 = 0 ;
9918 PyObject * obj10 = 0 ;
9919 char *kwnames[] = {
9920 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9921 };
9922
9923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9926 {
9927 arg4 = wxString_in_helper(obj3);
9928 if (arg4 == NULL) SWIG_fail;
9929 temp4 = True;
9930 }
9931 if (obj4) {
9932 {
9933 arg5 = &temp5;
9934 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9935 }
9936 }
9937 if (obj5) {
9938 {
9939 arg6 = &temp6;
9940 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9941 }
9942 }
9943 if (obj6) {
9944 {
9945 arg7 = PyList_Size(obj6);
9946 arg8 = wxString_LIST_helper(obj6);
9947 if (arg8 == NULL) SWIG_fail;
9948 }
9949 }
9950 if (obj9) {
9951 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9952 if (arg11 == NULL) {
9953 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9954 }
9955 }
9956 if (obj10) {
9957 {
9958 arg12 = wxString_in_helper(obj10);
9959 if (arg12 == NULL) SWIG_fail;
9960 temp11 = True;
9961 }
9962 }
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxValidator const &)*arg11,(wxString const &)*arg12);
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 resultobj = PyInt_FromLong((long)result);
9971 {
9972 if (temp4)
9973 delete arg4;
9974 }
9975 {
9976 if (arg8) delete [] arg8;
9977 }
9978 {
9979 if (temp11)
9980 delete arg12;
9981 }
9982 return resultobj;
9983 fail:
9984 {
9985 if (temp4)
9986 delete arg4;
9987 }
9988 {
9989 if (arg8) delete [] arg8;
9990 }
9991 {
9992 if (temp11)
9993 delete arg12;
9994 }
9995 return NULL;
9996 }
9997
9998
9999 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10000 PyObject *resultobj;
10001 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10002 int arg2 ;
10003 PyObject * obj0 = 0 ;
10004 char *kwnames[] = {
10005 (char *) "self",(char *) "n", NULL
10006 };
10007
10008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
10009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 (arg1)->SetSelection(arg2);
10013
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 Py_INCREF(Py_None); resultobj = Py_None;
10018 return resultobj;
10019 fail:
10020 return NULL;
10021 }
10022
10023
10024 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10025 PyObject *resultobj;
10026 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10027 int result;
10028 PyObject * obj0 = 0 ;
10029 char *kwnames[] = {
10030 (char *) "self", NULL
10031 };
10032
10033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
10034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10035 {
10036 PyThreadState* __tstate = wxPyBeginAllowThreads();
10037 result = (int)((wxRadioBox const *)arg1)->GetSelection();
10038
10039 wxPyEndAllowThreads(__tstate);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 }
10042 resultobj = PyInt_FromLong((long)result);
10043 return resultobj;
10044 fail:
10045 return NULL;
10046 }
10047
10048
10049 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10050 PyObject *resultobj;
10051 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10052 wxString result;
10053 PyObject * obj0 = 0 ;
10054 char *kwnames[] = {
10055 (char *) "self", NULL
10056 };
10057
10058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
10059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10060 {
10061 PyThreadState* __tstate = wxPyBeginAllowThreads();
10062 result = ((wxRadioBox const *)arg1)->GetStringSelection();
10063
10064 wxPyEndAllowThreads(__tstate);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
10067 {
10068 #if wxUSE_UNICODE
10069 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10070 #else
10071 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10072 #endif
10073 }
10074 return resultobj;
10075 fail:
10076 return NULL;
10077 }
10078
10079
10080 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10081 PyObject *resultobj;
10082 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10083 wxString *arg2 = 0 ;
10084 bool result;
10085 bool temp2 = False ;
10086 PyObject * obj0 = 0 ;
10087 PyObject * obj1 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self",(char *) "s", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
10093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10094 {
10095 arg2 = wxString_in_helper(obj1);
10096 if (arg2 == NULL) SWIG_fail;
10097 temp2 = True;
10098 }
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 resultobj = PyInt_FromLong((long)result);
10107 {
10108 if (temp2)
10109 delete arg2;
10110 }
10111 return resultobj;
10112 fail:
10113 {
10114 if (temp2)
10115 delete arg2;
10116 }
10117 return NULL;
10118 }
10119
10120
10121 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10124 int result;
10125 PyObject * obj0 = 0 ;
10126 char *kwnames[] = {
10127 (char *) "self", NULL
10128 };
10129
10130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
10131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10132 {
10133 PyThreadState* __tstate = wxPyBeginAllowThreads();
10134 result = (int)((wxRadioBox const *)arg1)->GetCount();
10135
10136 wxPyEndAllowThreads(__tstate);
10137 if (PyErr_Occurred()) SWIG_fail;
10138 }
10139 resultobj = PyInt_FromLong((long)result);
10140 return resultobj;
10141 fail:
10142 return NULL;
10143 }
10144
10145
10146 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
10147 PyObject *resultobj;
10148 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10149 wxString *arg2 = 0 ;
10150 int result;
10151 bool temp2 = False ;
10152 PyObject * obj0 = 0 ;
10153 PyObject * obj1 = 0 ;
10154 char *kwnames[] = {
10155 (char *) "self",(char *) "s", NULL
10156 };
10157
10158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
10159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10160 {
10161 arg2 = wxString_in_helper(obj1);
10162 if (arg2 == NULL) SWIG_fail;
10163 temp2 = True;
10164 }
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 resultobj = PyInt_FromLong((long)result);
10173 {
10174 if (temp2)
10175 delete arg2;
10176 }
10177 return resultobj;
10178 fail:
10179 {
10180 if (temp2)
10181 delete arg2;
10182 }
10183 return NULL;
10184 }
10185
10186
10187 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10188 PyObject *resultobj;
10189 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10190 int arg2 ;
10191 wxString result;
10192 PyObject * obj0 = 0 ;
10193 char *kwnames[] = {
10194 (char *) "self",(char *) "n", NULL
10195 };
10196
10197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
10198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 result = ((wxRadioBox const *)arg1)->GetString(arg2);
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 {
10207 #if wxUSE_UNICODE
10208 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10209 #else
10210 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10211 #endif
10212 }
10213 return resultobj;
10214 fail:
10215 return NULL;
10216 }
10217
10218
10219 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj;
10221 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10222 int arg2 ;
10223 wxString *arg3 = 0 ;
10224 bool temp3 = False ;
10225 PyObject * obj0 = 0 ;
10226 PyObject * obj2 = 0 ;
10227 char *kwnames[] = {
10228 (char *) "self",(char *) "n",(char *) "label", NULL
10229 };
10230
10231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
10232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10233 {
10234 arg3 = wxString_in_helper(obj2);
10235 if (arg3 == NULL) SWIG_fail;
10236 temp3 = True;
10237 }
10238 {
10239 PyThreadState* __tstate = wxPyBeginAllowThreads();
10240 (arg1)->SetString(arg2,(wxString const &)*arg3);
10241
10242 wxPyEndAllowThreads(__tstate);
10243 if (PyErr_Occurred()) SWIG_fail;
10244 }
10245 Py_INCREF(Py_None); resultobj = Py_None;
10246 {
10247 if (temp3)
10248 delete arg3;
10249 }
10250 return resultobj;
10251 fail:
10252 {
10253 if (temp3)
10254 delete arg3;
10255 }
10256 return NULL;
10257 }
10258
10259
10260 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10261 PyObject *resultobj;
10262 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10263 int arg2 ;
10264 bool arg3 = (bool) True ;
10265 PyObject * obj0 = 0 ;
10266 PyObject * obj2 = 0 ;
10267 char *kwnames[] = {
10268 (char *) "self",(char *) "n",(char *) "enable", NULL
10269 };
10270
10271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10273 if (obj2) {
10274 {
10275 arg3 = (bool) SPyObj_AsBool(obj2);
10276 if (PyErr_Occurred()) SWIG_fail;
10277 }
10278 }
10279 {
10280 PyThreadState* __tstate = wxPyBeginAllowThreads();
10281 (arg1)->Enable(arg2,arg3);
10282
10283 wxPyEndAllowThreads(__tstate);
10284 if (PyErr_Occurred()) SWIG_fail;
10285 }
10286 Py_INCREF(Py_None); resultobj = Py_None;
10287 return resultobj;
10288 fail:
10289 return NULL;
10290 }
10291
10292
10293 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10294 PyObject *resultobj;
10295 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10296 int arg2 ;
10297 bool arg3 = (bool) True ;
10298 PyObject * obj0 = 0 ;
10299 PyObject * obj2 = 0 ;
10300 char *kwnames[] = {
10301 (char *) "self",(char *) "n",(char *) "show", NULL
10302 };
10303
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10306 if (obj2) {
10307 {
10308 arg3 = (bool) SPyObj_AsBool(obj2);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 }
10312 {
10313 PyThreadState* __tstate = wxPyBeginAllowThreads();
10314 (arg1)->Show(arg2,arg3);
10315
10316 wxPyEndAllowThreads(__tstate);
10317 if (PyErr_Occurred()) SWIG_fail;
10318 }
10319 Py_INCREF(Py_None); resultobj = Py_None;
10320 return resultobj;
10321 fail:
10322 return NULL;
10323 }
10324
10325
10326 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10327 PyObject *resultobj;
10328 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10329 int result;
10330 PyObject * obj0 = 0 ;
10331 char *kwnames[] = {
10332 (char *) "self", NULL
10333 };
10334
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
10336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 resultobj = PyInt_FromLong((long)result);
10345 return resultobj;
10346 fail:
10347 return NULL;
10348 }
10349
10350
10351 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj;
10353 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10354 int result;
10355 PyObject * obj0 = 0 ;
10356 char *kwnames[] = {
10357 (char *) "self", NULL
10358 };
10359
10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
10361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) SWIG_fail;
10368 }
10369 resultobj = PyInt_FromLong((long)result);
10370 return resultobj;
10371 fail:
10372 return NULL;
10373 }
10374
10375
10376 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj;
10378 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10379 int arg2 ;
10380 int arg3 ;
10381 long arg4 ;
10382 int result;
10383 PyObject * obj0 = 0 ;
10384 char *kwnames[] = {
10385 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10386 };
10387
10388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10390 {
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
10393
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 resultobj = PyInt_FromLong((long)result);
10398 return resultobj;
10399 fail:
10400 return NULL;
10401 }
10402
10403
10404 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
10405 PyObject *obj;
10406 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10407 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
10408 Py_INCREF(obj);
10409 return Py_BuildValue((char *)"");
10410 }
10411 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10412 PyObject *resultobj;
10413 wxWindow *arg1 = (wxWindow *) 0 ;
10414 int arg2 ;
10415 wxString *arg3 = 0 ;
10416 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10417 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10418 wxSize const &arg5_defvalue = wxDefaultSize ;
10419 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10420 long arg6 = (long) 0 ;
10421 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10422 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10423 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
10424 wxString *arg8 = (wxString *) &arg8_defvalue ;
10425 wxRadioButton *result;
10426 bool temp3 = False ;
10427 wxPoint temp4 ;
10428 wxSize temp5 ;
10429 bool temp8 = False ;
10430 PyObject * obj0 = 0 ;
10431 PyObject * obj2 = 0 ;
10432 PyObject * obj3 = 0 ;
10433 PyObject * obj4 = 0 ;
10434 PyObject * obj6 = 0 ;
10435 PyObject * obj7 = 0 ;
10436 char *kwnames[] = {
10437 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10438 };
10439
10440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10442 {
10443 arg3 = wxString_in_helper(obj2);
10444 if (arg3 == NULL) SWIG_fail;
10445 temp3 = True;
10446 }
10447 if (obj3) {
10448 {
10449 arg4 = &temp4;
10450 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10451 }
10452 }
10453 if (obj4) {
10454 {
10455 arg5 = &temp5;
10456 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10457 }
10458 }
10459 if (obj6) {
10460 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10461 if (arg7 == NULL) {
10462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10463 }
10464 }
10465 if (obj7) {
10466 {
10467 arg8 = wxString_in_helper(obj7);
10468 if (arg8 == NULL) SWIG_fail;
10469 temp8 = True;
10470 }
10471 }
10472 {
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10475
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10480 {
10481 if (temp3)
10482 delete arg3;
10483 }
10484 {
10485 if (temp8)
10486 delete arg8;
10487 }
10488 return resultobj;
10489 fail:
10490 {
10491 if (temp3)
10492 delete arg3;
10493 }
10494 {
10495 if (temp8)
10496 delete arg8;
10497 }
10498 return NULL;
10499 }
10500
10501
10502 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10503 PyObject *resultobj;
10504 wxRadioButton *result;
10505 char *kwnames[] = {
10506 NULL
10507 };
10508
10509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
10512 result = (wxRadioButton *)new wxRadioButton();
10513
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10518 return resultobj;
10519 fail:
10520 return NULL;
10521 }
10522
10523
10524 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10525 PyObject *resultobj;
10526 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10527 wxWindow *arg2 = (wxWindow *) 0 ;
10528 int arg3 ;
10529 wxString *arg4 = 0 ;
10530 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10531 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10532 wxSize const &arg6_defvalue = wxDefaultSize ;
10533 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10534 long arg7 = (long) 0 ;
10535 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10536 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10537 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10538 wxString *arg9 = (wxString *) &arg9_defvalue ;
10539 bool result;
10540 bool temp4 = False ;
10541 wxPoint temp5 ;
10542 wxSize temp6 ;
10543 bool temp9 = False ;
10544 PyObject * obj0 = 0 ;
10545 PyObject * obj1 = 0 ;
10546 PyObject * obj3 = 0 ;
10547 PyObject * obj4 = 0 ;
10548 PyObject * obj5 = 0 ;
10549 PyObject * obj7 = 0 ;
10550 PyObject * obj8 = 0 ;
10551 char *kwnames[] = {
10552 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10553 };
10554
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10558 {
10559 arg4 = wxString_in_helper(obj3);
10560 if (arg4 == NULL) SWIG_fail;
10561 temp4 = True;
10562 }
10563 if (obj4) {
10564 {
10565 arg5 = &temp5;
10566 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10567 }
10568 }
10569 if (obj5) {
10570 {
10571 arg6 = &temp6;
10572 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10573 }
10574 }
10575 if (obj7) {
10576 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10577 if (arg8 == NULL) {
10578 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10579 }
10580 }
10581 if (obj8) {
10582 {
10583 arg9 = wxString_in_helper(obj8);
10584 if (arg9 == NULL) SWIG_fail;
10585 temp9 = True;
10586 }
10587 }
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 resultobj = PyInt_FromLong((long)result);
10596 {
10597 if (temp4)
10598 delete arg4;
10599 }
10600 {
10601 if (temp9)
10602 delete arg9;
10603 }
10604 return resultobj;
10605 fail:
10606 {
10607 if (temp4)
10608 delete arg4;
10609 }
10610 {
10611 if (temp9)
10612 delete arg9;
10613 }
10614 return NULL;
10615 }
10616
10617
10618 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10619 PyObject *resultobj;
10620 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10621 bool result;
10622 PyObject * obj0 = 0 ;
10623 char *kwnames[] = {
10624 (char *) "self", NULL
10625 };
10626
10627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10629 {
10630 PyThreadState* __tstate = wxPyBeginAllowThreads();
10631 result = (bool)(arg1)->GetValue();
10632
10633 wxPyEndAllowThreads(__tstate);
10634 if (PyErr_Occurred()) SWIG_fail;
10635 }
10636 resultobj = PyInt_FromLong((long)result);
10637 return resultobj;
10638 fail:
10639 return NULL;
10640 }
10641
10642
10643 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10644 PyObject *resultobj;
10645 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10646 bool arg2 ;
10647 PyObject * obj0 = 0 ;
10648 PyObject * obj1 = 0 ;
10649 char *kwnames[] = {
10650 (char *) "self",(char *) "value", NULL
10651 };
10652
10653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10655 {
10656 arg2 = (bool) SPyObj_AsBool(obj1);
10657 if (PyErr_Occurred()) SWIG_fail;
10658 }
10659 {
10660 PyThreadState* __tstate = wxPyBeginAllowThreads();
10661 (arg1)->SetValue(arg2);
10662
10663 wxPyEndAllowThreads(__tstate);
10664 if (PyErr_Occurred()) SWIG_fail;
10665 }
10666 Py_INCREF(Py_None); resultobj = Py_None;
10667 return resultobj;
10668 fail:
10669 return NULL;
10670 }
10671
10672
10673 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10674 PyObject *obj;
10675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10676 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10677 Py_INCREF(obj);
10678 return Py_BuildValue((char *)"");
10679 }
10680 static int _wrap_SliderNameStr_set(PyObject *_val) {
10681 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
10682 return 1;
10683 }
10684
10685
10686 static PyObject *_wrap_SliderNameStr_get() {
10687 PyObject *pyobj;
10688
10689 {
10690 #if wxUSE_UNICODE
10691 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10692 #else
10693 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10694 #endif
10695 }
10696 return pyobj;
10697 }
10698
10699
10700 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10701 PyObject *resultobj;
10702 wxWindow *arg1 = (wxWindow *) 0 ;
10703 int arg2 ;
10704 int arg3 ;
10705 int arg4 ;
10706 int arg5 ;
10707 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10708 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10709 wxSize const &arg7_defvalue = wxDefaultSize ;
10710 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10711 long arg8 = (long) wxSL_HORIZONTAL ;
10712 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10713 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10714 wxString const &arg10_defvalue = wxPySliderNameStr ;
10715 wxString *arg10 = (wxString *) &arg10_defvalue ;
10716 wxSlider *result;
10717 wxPoint temp6 ;
10718 wxSize temp7 ;
10719 bool temp10 = False ;
10720 PyObject * obj0 = 0 ;
10721 PyObject * obj5 = 0 ;
10722 PyObject * obj6 = 0 ;
10723 PyObject * obj8 = 0 ;
10724 PyObject * obj9 = 0 ;
10725 char *kwnames[] = {
10726 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10727 };
10728
10729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10731 if (obj5) {
10732 {
10733 arg6 = &temp6;
10734 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10735 }
10736 }
10737 if (obj6) {
10738 {
10739 arg7 = &temp7;
10740 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10741 }
10742 }
10743 if (obj8) {
10744 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10745 if (arg9 == NULL) {
10746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10747 }
10748 }
10749 if (obj9) {
10750 {
10751 arg10 = wxString_in_helper(obj9);
10752 if (arg10 == NULL) SWIG_fail;
10753 temp10 = True;
10754 }
10755 }
10756 {
10757 PyThreadState* __tstate = wxPyBeginAllowThreads();
10758 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10759
10760 wxPyEndAllowThreads(__tstate);
10761 if (PyErr_Occurred()) SWIG_fail;
10762 }
10763 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10764 {
10765 if (temp10)
10766 delete arg10;
10767 }
10768 return resultobj;
10769 fail:
10770 {
10771 if (temp10)
10772 delete arg10;
10773 }
10774 return NULL;
10775 }
10776
10777
10778 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10779 PyObject *resultobj;
10780 wxSlider *result;
10781 char *kwnames[] = {
10782 NULL
10783 };
10784
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 result = (wxSlider *)new wxSlider();
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
10793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10794 return resultobj;
10795 fail:
10796 return NULL;
10797 }
10798
10799
10800 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj;
10802 wxSlider *arg1 = (wxSlider *) 0 ;
10803 wxWindow *arg2 = (wxWindow *) 0 ;
10804 int arg3 ;
10805 int arg4 ;
10806 int arg5 ;
10807 int arg6 ;
10808 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10809 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10810 wxSize const &arg8_defvalue = wxDefaultSize ;
10811 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10812 long arg9 = (long) wxSL_HORIZONTAL ;
10813 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10814 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10815 wxString const &arg11_defvalue = wxPySliderNameStr ;
10816 wxString *arg11 = (wxString *) &arg11_defvalue ;
10817 bool result;
10818 wxPoint temp7 ;
10819 wxSize temp8 ;
10820 bool temp11 = False ;
10821 PyObject * obj0 = 0 ;
10822 PyObject * obj1 = 0 ;
10823 PyObject * obj6 = 0 ;
10824 PyObject * obj7 = 0 ;
10825 PyObject * obj9 = 0 ;
10826 PyObject * obj10 = 0 ;
10827 char *kwnames[] = {
10828 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10829 };
10830
10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10834 if (obj6) {
10835 {
10836 arg7 = &temp7;
10837 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10838 }
10839 }
10840 if (obj7) {
10841 {
10842 arg8 = &temp8;
10843 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10844 }
10845 }
10846 if (obj9) {
10847 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10848 if (arg10 == NULL) {
10849 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10850 }
10851 }
10852 if (obj10) {
10853 {
10854 arg11 = wxString_in_helper(obj10);
10855 if (arg11 == NULL) SWIG_fail;
10856 temp11 = True;
10857 }
10858 }
10859 {
10860 PyThreadState* __tstate = wxPyBeginAllowThreads();
10861 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10862
10863 wxPyEndAllowThreads(__tstate);
10864 if (PyErr_Occurred()) SWIG_fail;
10865 }
10866 resultobj = PyInt_FromLong((long)result);
10867 {
10868 if (temp11)
10869 delete arg11;
10870 }
10871 return resultobj;
10872 fail:
10873 {
10874 if (temp11)
10875 delete arg11;
10876 }
10877 return NULL;
10878 }
10879
10880
10881 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10882 PyObject *resultobj;
10883 wxSlider *arg1 = (wxSlider *) 0 ;
10884 int result;
10885 PyObject * obj0 = 0 ;
10886 char *kwnames[] = {
10887 (char *) "self", NULL
10888 };
10889
10890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10892 {
10893 PyThreadState* __tstate = wxPyBeginAllowThreads();
10894 result = (int)((wxSlider const *)arg1)->GetValue();
10895
10896 wxPyEndAllowThreads(__tstate);
10897 if (PyErr_Occurred()) SWIG_fail;
10898 }
10899 resultobj = PyInt_FromLong((long)result);
10900 return resultobj;
10901 fail:
10902 return NULL;
10903 }
10904
10905
10906 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10907 PyObject *resultobj;
10908 wxSlider *arg1 = (wxSlider *) 0 ;
10909 int arg2 ;
10910 PyObject * obj0 = 0 ;
10911 char *kwnames[] = {
10912 (char *) "self",(char *) "value", NULL
10913 };
10914
10915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10917 {
10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
10919 (arg1)->SetValue(arg2);
10920
10921 wxPyEndAllowThreads(__tstate);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 }
10924 Py_INCREF(Py_None); resultobj = Py_None;
10925 return resultobj;
10926 fail:
10927 return NULL;
10928 }
10929
10930
10931 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj;
10933 wxSlider *arg1 = (wxSlider *) 0 ;
10934 int arg2 ;
10935 int arg3 ;
10936 PyObject * obj0 = 0 ;
10937 char *kwnames[] = {
10938 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10939 };
10940
10941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10943 {
10944 PyThreadState* __tstate = wxPyBeginAllowThreads();
10945 (arg1)->SetRange(arg2,arg3);
10946
10947 wxPyEndAllowThreads(__tstate);
10948 if (PyErr_Occurred()) SWIG_fail;
10949 }
10950 Py_INCREF(Py_None); resultobj = Py_None;
10951 return resultobj;
10952 fail:
10953 return NULL;
10954 }
10955
10956
10957 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10958 PyObject *resultobj;
10959 wxSlider *arg1 = (wxSlider *) 0 ;
10960 int result;
10961 PyObject * obj0 = 0 ;
10962 char *kwnames[] = {
10963 (char *) "self", NULL
10964 };
10965
10966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10968 {
10969 PyThreadState* __tstate = wxPyBeginAllowThreads();
10970 result = (int)((wxSlider const *)arg1)->GetMin();
10971
10972 wxPyEndAllowThreads(__tstate);
10973 if (PyErr_Occurred()) SWIG_fail;
10974 }
10975 resultobj = PyInt_FromLong((long)result);
10976 return resultobj;
10977 fail:
10978 return NULL;
10979 }
10980
10981
10982 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10983 PyObject *resultobj;
10984 wxSlider *arg1 = (wxSlider *) 0 ;
10985 int result;
10986 PyObject * obj0 = 0 ;
10987 char *kwnames[] = {
10988 (char *) "self", NULL
10989 };
10990
10991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 result = (int)((wxSlider const *)arg1)->GetMax();
10996
10997 wxPyEndAllowThreads(__tstate);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
11000 resultobj = PyInt_FromLong((long)result);
11001 return resultobj;
11002 fail:
11003 return NULL;
11004 }
11005
11006
11007 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
11008 PyObject *resultobj;
11009 wxSlider *arg1 = (wxSlider *) 0 ;
11010 int arg2 ;
11011 PyObject * obj0 = 0 ;
11012 char *kwnames[] = {
11013 (char *) "self",(char *) "minValue", NULL
11014 };
11015
11016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
11017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11018 {
11019 PyThreadState* __tstate = wxPyBeginAllowThreads();
11020 (arg1)->SetMin(arg2);
11021
11022 wxPyEndAllowThreads(__tstate);
11023 if (PyErr_Occurred()) SWIG_fail;
11024 }
11025 Py_INCREF(Py_None); resultobj = Py_None;
11026 return resultobj;
11027 fail:
11028 return NULL;
11029 }
11030
11031
11032 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
11033 PyObject *resultobj;
11034 wxSlider *arg1 = (wxSlider *) 0 ;
11035 int arg2 ;
11036 PyObject * obj0 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "self",(char *) "maxValue", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
11042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11043 {
11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
11045 (arg1)->SetMax(arg2);
11046
11047 wxPyEndAllowThreads(__tstate);
11048 if (PyErr_Occurred()) SWIG_fail;
11049 }
11050 Py_INCREF(Py_None); resultobj = Py_None;
11051 return resultobj;
11052 fail:
11053 return NULL;
11054 }
11055
11056
11057 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11058 PyObject *resultobj;
11059 wxSlider *arg1 = (wxSlider *) 0 ;
11060 int arg2 ;
11061 PyObject * obj0 = 0 ;
11062 char *kwnames[] = {
11063 (char *) "self",(char *) "lineSize", NULL
11064 };
11065
11066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
11067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 (arg1)->SetLineSize(arg2);
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 Py_INCREF(Py_None); resultobj = Py_None;
11076 return resultobj;
11077 fail:
11078 return NULL;
11079 }
11080
11081
11082 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11083 PyObject *resultobj;
11084 wxSlider *arg1 = (wxSlider *) 0 ;
11085 int arg2 ;
11086 PyObject * obj0 = 0 ;
11087 char *kwnames[] = {
11088 (char *) "self",(char *) "pageSize", NULL
11089 };
11090
11091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
11092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11093 {
11094 PyThreadState* __tstate = wxPyBeginAllowThreads();
11095 (arg1)->SetPageSize(arg2);
11096
11097 wxPyEndAllowThreads(__tstate);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 }
11100 Py_INCREF(Py_None); resultobj = Py_None;
11101 return resultobj;
11102 fail:
11103 return NULL;
11104 }
11105
11106
11107 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11108 PyObject *resultobj;
11109 wxSlider *arg1 = (wxSlider *) 0 ;
11110 int result;
11111 PyObject * obj0 = 0 ;
11112 char *kwnames[] = {
11113 (char *) "self", NULL
11114 };
11115
11116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
11117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11118 {
11119 PyThreadState* __tstate = wxPyBeginAllowThreads();
11120 result = (int)((wxSlider const *)arg1)->GetLineSize();
11121
11122 wxPyEndAllowThreads(__tstate);
11123 if (PyErr_Occurred()) SWIG_fail;
11124 }
11125 resultobj = PyInt_FromLong((long)result);
11126 return resultobj;
11127 fail:
11128 return NULL;
11129 }
11130
11131
11132 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11133 PyObject *resultobj;
11134 wxSlider *arg1 = (wxSlider *) 0 ;
11135 int result;
11136 PyObject * obj0 = 0 ;
11137 char *kwnames[] = {
11138 (char *) "self", NULL
11139 };
11140
11141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
11142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11143 {
11144 PyThreadState* __tstate = wxPyBeginAllowThreads();
11145 result = (int)((wxSlider const *)arg1)->GetPageSize();
11146
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 resultobj = PyInt_FromLong((long)result);
11151 return resultobj;
11152 fail:
11153 return NULL;
11154 }
11155
11156
11157 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11158 PyObject *resultobj;
11159 wxSlider *arg1 = (wxSlider *) 0 ;
11160 int arg2 ;
11161 PyObject * obj0 = 0 ;
11162 char *kwnames[] = {
11163 (char *) "self",(char *) "lenPixels", NULL
11164 };
11165
11166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
11167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 (arg1)->SetThumbLength(arg2);
11171
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 Py_INCREF(Py_None); resultobj = Py_None;
11176 return resultobj;
11177 fail:
11178 return NULL;
11179 }
11180
11181
11182 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj;
11184 wxSlider *arg1 = (wxSlider *) 0 ;
11185 int result;
11186 PyObject * obj0 = 0 ;
11187 char *kwnames[] = {
11188 (char *) "self", NULL
11189 };
11190
11191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
11192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11193 {
11194 PyThreadState* __tstate = wxPyBeginAllowThreads();
11195 result = (int)((wxSlider const *)arg1)->GetThumbLength();
11196
11197 wxPyEndAllowThreads(__tstate);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 }
11200 resultobj = PyInt_FromLong((long)result);
11201 return resultobj;
11202 fail:
11203 return NULL;
11204 }
11205
11206
11207 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11208 PyObject *resultobj;
11209 wxSlider *arg1 = (wxSlider *) 0 ;
11210 int arg2 ;
11211 int arg3 ;
11212 PyObject * obj0 = 0 ;
11213 char *kwnames[] = {
11214 (char *) "self",(char *) "n",(char *) "pos", NULL
11215 };
11216
11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
11218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11219 {
11220 PyThreadState* __tstate = wxPyBeginAllowThreads();
11221 (arg1)->SetTickFreq(arg2,arg3);
11222
11223 wxPyEndAllowThreads(__tstate);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 }
11226 Py_INCREF(Py_None); resultobj = Py_None;
11227 return resultobj;
11228 fail:
11229 return NULL;
11230 }
11231
11232
11233 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11234 PyObject *resultobj;
11235 wxSlider *arg1 = (wxSlider *) 0 ;
11236 int result;
11237 PyObject * obj0 = 0 ;
11238 char *kwnames[] = {
11239 (char *) "self", NULL
11240 };
11241
11242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
11243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11244 {
11245 PyThreadState* __tstate = wxPyBeginAllowThreads();
11246 result = (int)((wxSlider const *)arg1)->GetTickFreq();
11247
11248 wxPyEndAllowThreads(__tstate);
11249 if (PyErr_Occurred()) SWIG_fail;
11250 }
11251 resultobj = PyInt_FromLong((long)result);
11252 return resultobj;
11253 fail:
11254 return NULL;
11255 }
11256
11257
11258 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
11259 PyObject *resultobj;
11260 wxSlider *arg1 = (wxSlider *) 0 ;
11261 PyObject * obj0 = 0 ;
11262 char *kwnames[] = {
11263 (char *) "self", NULL
11264 };
11265
11266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
11267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11268 {
11269 PyThreadState* __tstate = wxPyBeginAllowThreads();
11270 (arg1)->ClearTicks();
11271
11272 wxPyEndAllowThreads(__tstate);
11273 if (PyErr_Occurred()) SWIG_fail;
11274 }
11275 Py_INCREF(Py_None); resultobj = Py_None;
11276 return resultobj;
11277 fail:
11278 return NULL;
11279 }
11280
11281
11282 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
11283 PyObject *resultobj;
11284 wxSlider *arg1 = (wxSlider *) 0 ;
11285 int arg2 ;
11286 PyObject * obj0 = 0 ;
11287 char *kwnames[] = {
11288 (char *) "self",(char *) "tickPos", NULL
11289 };
11290
11291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
11292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11293 {
11294 PyThreadState* __tstate = wxPyBeginAllowThreads();
11295 (arg1)->SetTick(arg2);
11296
11297 wxPyEndAllowThreads(__tstate);
11298 if (PyErr_Occurred()) SWIG_fail;
11299 }
11300 Py_INCREF(Py_None); resultobj = Py_None;
11301 return resultobj;
11302 fail:
11303 return NULL;
11304 }
11305
11306
11307 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
11308 PyObject *resultobj;
11309 wxSlider *arg1 = (wxSlider *) 0 ;
11310 PyObject * obj0 = 0 ;
11311 char *kwnames[] = {
11312 (char *) "self", NULL
11313 };
11314
11315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
11316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11317 {
11318 PyThreadState* __tstate = wxPyBeginAllowThreads();
11319 (arg1)->ClearSel();
11320
11321 wxPyEndAllowThreads(__tstate);
11322 if (PyErr_Occurred()) SWIG_fail;
11323 }
11324 Py_INCREF(Py_None); resultobj = Py_None;
11325 return resultobj;
11326 fail:
11327 return NULL;
11328 }
11329
11330
11331 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11332 PyObject *resultobj;
11333 wxSlider *arg1 = (wxSlider *) 0 ;
11334 int result;
11335 PyObject * obj0 = 0 ;
11336 char *kwnames[] = {
11337 (char *) "self", NULL
11338 };
11339
11340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
11341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11342 {
11343 PyThreadState* __tstate = wxPyBeginAllowThreads();
11344 result = (int)((wxSlider const *)arg1)->GetSelEnd();
11345
11346 wxPyEndAllowThreads(__tstate);
11347 if (PyErr_Occurred()) SWIG_fail;
11348 }
11349 resultobj = PyInt_FromLong((long)result);
11350 return resultobj;
11351 fail:
11352 return NULL;
11353 }
11354
11355
11356 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
11357 PyObject *resultobj;
11358 wxSlider *arg1 = (wxSlider *) 0 ;
11359 int result;
11360 PyObject * obj0 = 0 ;
11361 char *kwnames[] = {
11362 (char *) "self", NULL
11363 };
11364
11365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
11366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11367 {
11368 PyThreadState* __tstate = wxPyBeginAllowThreads();
11369 result = (int)((wxSlider const *)arg1)->GetSelStart();
11370
11371 wxPyEndAllowThreads(__tstate);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 resultobj = PyInt_FromLong((long)result);
11375 return resultobj;
11376 fail:
11377 return NULL;
11378 }
11379
11380
11381 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11382 PyObject *resultobj;
11383 wxSlider *arg1 = (wxSlider *) 0 ;
11384 int arg2 ;
11385 int arg3 ;
11386 PyObject * obj0 = 0 ;
11387 char *kwnames[] = {
11388 (char *) "self",(char *) "min",(char *) "max", NULL
11389 };
11390
11391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
11392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 (arg1)->SetSelection(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
11407 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
11408 PyObject *obj;
11409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11410 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
11411 Py_INCREF(obj);
11412 return Py_BuildValue((char *)"");
11413 }
11414 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
11415 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
11416 return 1;
11417 }
11418
11419
11420 static PyObject *_wrap_ToggleButtonNameStr_get() {
11421 PyObject *pyobj;
11422
11423 {
11424 #if wxUSE_UNICODE
11425 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11426 #else
11427 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11428 #endif
11429 }
11430 return pyobj;
11431 }
11432
11433
11434 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11435 PyObject *resultobj;
11436 wxWindow *arg1 = (wxWindow *) 0 ;
11437 int arg2 ;
11438 wxString *arg3 = 0 ;
11439 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11440 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11441 wxSize const &arg5_defvalue = wxDefaultSize ;
11442 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11443 long arg6 = (long) 0 ;
11444 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11445 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11446 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
11447 wxString *arg8 = (wxString *) &arg8_defvalue ;
11448 wxToggleButton *result;
11449 bool temp3 = False ;
11450 wxPoint temp4 ;
11451 wxSize temp5 ;
11452 bool temp8 = False ;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj2 = 0 ;
11455 PyObject * obj3 = 0 ;
11456 PyObject * obj4 = 0 ;
11457 PyObject * obj6 = 0 ;
11458 PyObject * obj7 = 0 ;
11459 char *kwnames[] = {
11460 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11461 };
11462
11463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
11464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11465 {
11466 arg3 = wxString_in_helper(obj2);
11467 if (arg3 == NULL) SWIG_fail;
11468 temp3 = True;
11469 }
11470 if (obj3) {
11471 {
11472 arg4 = &temp4;
11473 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11474 }
11475 }
11476 if (obj4) {
11477 {
11478 arg5 = &temp5;
11479 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11480 }
11481 }
11482 if (obj6) {
11483 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11484 if (arg7 == NULL) {
11485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11486 }
11487 }
11488 if (obj7) {
11489 {
11490 arg8 = wxString_in_helper(obj7);
11491 if (arg8 == NULL) SWIG_fail;
11492 temp8 = True;
11493 }
11494 }
11495 {
11496 PyThreadState* __tstate = wxPyBeginAllowThreads();
11497 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11498
11499 wxPyEndAllowThreads(__tstate);
11500 if (PyErr_Occurred()) SWIG_fail;
11501 }
11502 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11503 {
11504 if (temp3)
11505 delete arg3;
11506 }
11507 {
11508 if (temp8)
11509 delete arg8;
11510 }
11511 return resultobj;
11512 fail:
11513 {
11514 if (temp3)
11515 delete arg3;
11516 }
11517 {
11518 if (temp8)
11519 delete arg8;
11520 }
11521 return NULL;
11522 }
11523
11524
11525 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11526 PyObject *resultobj;
11527 wxToggleButton *result;
11528 char *kwnames[] = {
11529 NULL
11530 };
11531
11532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
11533 {
11534 PyThreadState* __tstate = wxPyBeginAllowThreads();
11535 result = (wxToggleButton *)new wxToggleButton();
11536
11537 wxPyEndAllowThreads(__tstate);
11538 if (PyErr_Occurred()) SWIG_fail;
11539 }
11540 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11541 return resultobj;
11542 fail:
11543 return NULL;
11544 }
11545
11546
11547 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11550 wxWindow *arg2 = (wxWindow *) 0 ;
11551 int arg3 ;
11552 wxString *arg4 = 0 ;
11553 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11554 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11555 wxSize const &arg6_defvalue = wxDefaultSize ;
11556 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11557 long arg7 = (long) 0 ;
11558 wxValidator const &arg8_defvalue = wxDefaultValidator ;
11559 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
11560 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
11561 wxString *arg9 = (wxString *) &arg9_defvalue ;
11562 bool result;
11563 bool temp4 = False ;
11564 wxPoint temp5 ;
11565 wxSize temp6 ;
11566 bool temp9 = False ;
11567 PyObject * obj0 = 0 ;
11568 PyObject * obj1 = 0 ;
11569 PyObject * obj3 = 0 ;
11570 PyObject * obj4 = 0 ;
11571 PyObject * obj5 = 0 ;
11572 PyObject * obj7 = 0 ;
11573 PyObject * obj8 = 0 ;
11574 char *kwnames[] = {
11575 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11576 };
11577
11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
11579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11581 {
11582 arg4 = wxString_in_helper(obj3);
11583 if (arg4 == NULL) SWIG_fail;
11584 temp4 = True;
11585 }
11586 if (obj4) {
11587 {
11588 arg5 = &temp5;
11589 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11590 }
11591 }
11592 if (obj5) {
11593 {
11594 arg6 = &temp6;
11595 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11596 }
11597 }
11598 if (obj7) {
11599 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11600 if (arg8 == NULL) {
11601 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11602 }
11603 }
11604 if (obj8) {
11605 {
11606 arg9 = wxString_in_helper(obj8);
11607 if (arg9 == NULL) SWIG_fail;
11608 temp9 = True;
11609 }
11610 }
11611 {
11612 PyThreadState* __tstate = wxPyBeginAllowThreads();
11613 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11614
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 resultobj = PyInt_FromLong((long)result);
11619 {
11620 if (temp4)
11621 delete arg4;
11622 }
11623 {
11624 if (temp9)
11625 delete arg9;
11626 }
11627 return resultobj;
11628 fail:
11629 {
11630 if (temp4)
11631 delete arg4;
11632 }
11633 {
11634 if (temp9)
11635 delete arg9;
11636 }
11637 return NULL;
11638 }
11639
11640
11641 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11642 PyObject *resultobj;
11643 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11644 bool arg2 ;
11645 PyObject * obj0 = 0 ;
11646 PyObject * obj1 = 0 ;
11647 char *kwnames[] = {
11648 (char *) "self",(char *) "value", NULL
11649 };
11650
11651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11653 {
11654 arg2 = (bool) SPyObj_AsBool(obj1);
11655 if (PyErr_Occurred()) SWIG_fail;
11656 }
11657 {
11658 PyThreadState* __tstate = wxPyBeginAllowThreads();
11659 (arg1)->SetValue(arg2);
11660
11661 wxPyEndAllowThreads(__tstate);
11662 if (PyErr_Occurred()) SWIG_fail;
11663 }
11664 Py_INCREF(Py_None); resultobj = Py_None;
11665 return resultobj;
11666 fail:
11667 return NULL;
11668 }
11669
11670
11671 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11672 PyObject *resultobj;
11673 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11674 bool result;
11675 PyObject * obj0 = 0 ;
11676 char *kwnames[] = {
11677 (char *) "self", NULL
11678 };
11679
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11682 {
11683 PyThreadState* __tstate = wxPyBeginAllowThreads();
11684 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11685
11686 wxPyEndAllowThreads(__tstate);
11687 if (PyErr_Occurred()) SWIG_fail;
11688 }
11689 resultobj = PyInt_FromLong((long)result);
11690 return resultobj;
11691 fail:
11692 return NULL;
11693 }
11694
11695
11696 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11697 PyObject *resultobj;
11698 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11699 wxString *arg2 = 0 ;
11700 bool temp2 = False ;
11701 PyObject * obj0 = 0 ;
11702 PyObject * obj1 = 0 ;
11703 char *kwnames[] = {
11704 (char *) "self",(char *) "label", NULL
11705 };
11706
11707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11709 {
11710 arg2 = wxString_in_helper(obj1);
11711 if (arg2 == NULL) SWIG_fail;
11712 temp2 = True;
11713 }
11714 {
11715 PyThreadState* __tstate = wxPyBeginAllowThreads();
11716 (arg1)->SetLabel((wxString const &)*arg2);
11717
11718 wxPyEndAllowThreads(__tstate);
11719 if (PyErr_Occurred()) SWIG_fail;
11720 }
11721 Py_INCREF(Py_None); resultobj = Py_None;
11722 {
11723 if (temp2)
11724 delete arg2;
11725 }
11726 return resultobj;
11727 fail:
11728 {
11729 if (temp2)
11730 delete arg2;
11731 }
11732 return NULL;
11733 }
11734
11735
11736 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11737 PyObject *obj;
11738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11739 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11740 Py_INCREF(obj);
11741 return Py_BuildValue((char *)"");
11742 }
11743 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
11744 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
11745 return 1;
11746 }
11747
11748
11749 static PyObject *_wrap_NOTEBOOK_NAME_get() {
11750 PyObject *pyobj;
11751
11752 {
11753 #if wxUSE_UNICODE
11754 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11755 #else
11756 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11757 #endif
11758 }
11759 return pyobj;
11760 }
11761
11762
11763 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11764 PyObject *resultobj;
11765 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11766 size_t result;
11767 PyObject * obj0 = 0 ;
11768 char *kwnames[] = {
11769 (char *) "self", NULL
11770 };
11771
11772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11774 {
11775 PyThreadState* __tstate = wxPyBeginAllowThreads();
11776 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11777
11778 wxPyEndAllowThreads(__tstate);
11779 if (PyErr_Occurred()) SWIG_fail;
11780 }
11781 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
11782 return resultobj;
11783 fail:
11784 return NULL;
11785 }
11786
11787
11788 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11789 PyObject *resultobj;
11790 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11791 size_t arg2 ;
11792 wxWindow *result;
11793 PyObject * obj0 = 0 ;
11794 PyObject * obj1 = 0 ;
11795 char *kwnames[] = {
11796 (char *) "self",(char *) "n", NULL
11797 };
11798
11799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11801 {
11802 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 {
11806 PyThreadState* __tstate = wxPyBeginAllowThreads();
11807 result = (wxWindow *)(arg1)->GetPage(arg2);
11808
11809 wxPyEndAllowThreads(__tstate);
11810 if (PyErr_Occurred()) SWIG_fail;
11811 }
11812 {
11813 resultobj = wxPyMake_wxObject(result);
11814 }
11815 return resultobj;
11816 fail:
11817 return NULL;
11818 }
11819
11820
11821 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11822 PyObject *resultobj;
11823 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11824 int result;
11825 PyObject * obj0 = 0 ;
11826 char *kwnames[] = {
11827 (char *) "self", NULL
11828 };
11829
11830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11832 {
11833 PyThreadState* __tstate = wxPyBeginAllowThreads();
11834 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11835
11836 wxPyEndAllowThreads(__tstate);
11837 if (PyErr_Occurred()) SWIG_fail;
11838 }
11839 resultobj = PyInt_FromLong((long)result);
11840 return resultobj;
11841 fail:
11842 return NULL;
11843 }
11844
11845
11846 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11847 PyObject *resultobj;
11848 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11849 size_t arg2 ;
11850 wxString *arg3 = 0 ;
11851 bool result;
11852 bool temp3 = False ;
11853 PyObject * obj0 = 0 ;
11854 PyObject * obj1 = 0 ;
11855 PyObject * obj2 = 0 ;
11856 char *kwnames[] = {
11857 (char *) "self",(char *) "n",(char *) "strText", NULL
11858 };
11859
11860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11862 {
11863 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 {
11867 arg3 = wxString_in_helper(obj2);
11868 if (arg3 == NULL) SWIG_fail;
11869 temp3 = True;
11870 }
11871 {
11872 PyThreadState* __tstate = wxPyBeginAllowThreads();
11873 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11874
11875 wxPyEndAllowThreads(__tstate);
11876 if (PyErr_Occurred()) SWIG_fail;
11877 }
11878 resultobj = PyInt_FromLong((long)result);
11879 {
11880 if (temp3)
11881 delete arg3;
11882 }
11883 return resultobj;
11884 fail:
11885 {
11886 if (temp3)
11887 delete arg3;
11888 }
11889 return NULL;
11890 }
11891
11892
11893 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11894 PyObject *resultobj;
11895 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11896 size_t arg2 ;
11897 wxString result;
11898 PyObject * obj0 = 0 ;
11899 PyObject * obj1 = 0 ;
11900 char *kwnames[] = {
11901 (char *) "self",(char *) "n", NULL
11902 };
11903
11904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11906 {
11907 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 }
11910 {
11911 PyThreadState* __tstate = wxPyBeginAllowThreads();
11912 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11913
11914 wxPyEndAllowThreads(__tstate);
11915 if (PyErr_Occurred()) SWIG_fail;
11916 }
11917 {
11918 #if wxUSE_UNICODE
11919 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11920 #else
11921 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11922 #endif
11923 }
11924 return resultobj;
11925 fail:
11926 return NULL;
11927 }
11928
11929
11930 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11931 PyObject *resultobj;
11932 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11933 wxImageList *arg2 = (wxImageList *) 0 ;
11934 PyObject * obj0 = 0 ;
11935 PyObject * obj1 = 0 ;
11936 char *kwnames[] = {
11937 (char *) "self",(char *) "imageList", NULL
11938 };
11939
11940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 (arg1)->SetImageList(arg2);
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
11950 Py_INCREF(Py_None); resultobj = Py_None;
11951 return resultobj;
11952 fail:
11953 return NULL;
11954 }
11955
11956
11957 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11958 PyObject *resultobj;
11959 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11960 wxImageList *arg2 = (wxImageList *) 0 ;
11961 PyObject * obj0 = 0 ;
11962 PyObject * obj1 = 0 ;
11963 char *kwnames[] = {
11964 (char *) "self",(char *) "imageList", NULL
11965 };
11966
11967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
11970 {
11971 PyThreadState* __tstate = wxPyBeginAllowThreads();
11972 (arg1)->AssignImageList(arg2);
11973
11974 wxPyEndAllowThreads(__tstate);
11975 if (PyErr_Occurred()) SWIG_fail;
11976 }
11977 Py_INCREF(Py_None); resultobj = Py_None;
11978 return resultobj;
11979 fail:
11980 return NULL;
11981 }
11982
11983
11984 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11985 PyObject *resultobj;
11986 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11987 wxImageList *result;
11988 PyObject * obj0 = 0 ;
11989 char *kwnames[] = {
11990 (char *) "self", NULL
11991 };
11992
11993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11995 {
11996 PyThreadState* __tstate = wxPyBeginAllowThreads();
11997 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11998
11999 wxPyEndAllowThreads(__tstate);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
12002 {
12003 resultobj = wxPyMake_wxObject(result);
12004 }
12005 return resultobj;
12006 fail:
12007 return NULL;
12008 }
12009
12010
12011 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
12012 PyObject *resultobj;
12013 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12014 size_t arg2 ;
12015 int result;
12016 PyObject * obj0 = 0 ;
12017 PyObject * obj1 = 0 ;
12018 char *kwnames[] = {
12019 (char *) "self",(char *) "n", NULL
12020 };
12021
12022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
12023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12024 {
12025 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
12028 {
12029 PyThreadState* __tstate = wxPyBeginAllowThreads();
12030 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
12031
12032 wxPyEndAllowThreads(__tstate);
12033 if (PyErr_Occurred()) SWIG_fail;
12034 }
12035 resultobj = PyInt_FromLong((long)result);
12036 return resultobj;
12037 fail:
12038 return NULL;
12039 }
12040
12041
12042 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
12043 PyObject *resultobj;
12044 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12045 size_t arg2 ;
12046 int arg3 ;
12047 bool result;
12048 PyObject * obj0 = 0 ;
12049 PyObject * obj1 = 0 ;
12050 char *kwnames[] = {
12051 (char *) "self",(char *) "n",(char *) "imageId", NULL
12052 };
12053
12054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
12055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12056 {
12057 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 {
12061 PyThreadState* __tstate = wxPyBeginAllowThreads();
12062 result = (bool)(arg1)->SetPageImage(arg2,arg3);
12063
12064 wxPyEndAllowThreads(__tstate);
12065 if (PyErr_Occurred()) SWIG_fail;
12066 }
12067 resultobj = PyInt_FromLong((long)result);
12068 return resultobj;
12069 fail:
12070 return NULL;
12071 }
12072
12073
12074 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj;
12076 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12077 wxSize *arg2 = 0 ;
12078 wxSize temp2 ;
12079 PyObject * obj0 = 0 ;
12080 PyObject * obj1 = 0 ;
12081 char *kwnames[] = {
12082 (char *) "self",(char *) "size", NULL
12083 };
12084
12085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
12086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12087 {
12088 arg2 = &temp2;
12089 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12090 }
12091 {
12092 PyThreadState* __tstate = wxPyBeginAllowThreads();
12093 (arg1)->SetPageSize((wxSize const &)*arg2);
12094
12095 wxPyEndAllowThreads(__tstate);
12096 if (PyErr_Occurred()) SWIG_fail;
12097 }
12098 Py_INCREF(Py_None); resultobj = Py_None;
12099 return resultobj;
12100 fail:
12101 return NULL;
12102 }
12103
12104
12105 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12106 PyObject *resultobj;
12107 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12108 wxSize *arg2 = 0 ;
12109 wxSize result;
12110 wxSize temp2 ;
12111 PyObject * obj0 = 0 ;
12112 PyObject * obj1 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "self",(char *) "sizePage", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12119 {
12120 arg2 = &temp2;
12121 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12122 }
12123 {
12124 PyThreadState* __tstate = wxPyBeginAllowThreads();
12125 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12126
12127 wxPyEndAllowThreads(__tstate);
12128 if (PyErr_Occurred()) SWIG_fail;
12129 }
12130 {
12131 wxSize * resultptr;
12132 resultptr = new wxSize((wxSize &) result);
12133 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12134 }
12135 return resultobj;
12136 fail:
12137 return NULL;
12138 }
12139
12140
12141 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
12142 PyObject *resultobj;
12143 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12144 size_t arg2 ;
12145 bool result;
12146 PyObject * obj0 = 0 ;
12147 PyObject * obj1 = 0 ;
12148 char *kwnames[] = {
12149 (char *) "self",(char *) "n", NULL
12150 };
12151
12152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
12153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12154 {
12155 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 {
12159 PyThreadState* __tstate = wxPyBeginAllowThreads();
12160 result = (bool)(arg1)->DeletePage(arg2);
12161
12162 wxPyEndAllowThreads(__tstate);
12163 if (PyErr_Occurred()) SWIG_fail;
12164 }
12165 resultobj = PyInt_FromLong((long)result);
12166 return resultobj;
12167 fail:
12168 return NULL;
12169 }
12170
12171
12172 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
12173 PyObject *resultobj;
12174 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12175 size_t arg2 ;
12176 bool result;
12177 PyObject * obj0 = 0 ;
12178 PyObject * obj1 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self",(char *) "n", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
12184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12185 {
12186 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12187 if (PyErr_Occurred()) SWIG_fail;
12188 }
12189 {
12190 PyThreadState* __tstate = wxPyBeginAllowThreads();
12191 result = (bool)(arg1)->RemovePage(arg2);
12192
12193 wxPyEndAllowThreads(__tstate);
12194 if (PyErr_Occurred()) SWIG_fail;
12195 }
12196 resultobj = PyInt_FromLong((long)result);
12197 return resultobj;
12198 fail:
12199 return NULL;
12200 }
12201
12202
12203 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj;
12205 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12206 bool result;
12207 PyObject * obj0 = 0 ;
12208 char *kwnames[] = {
12209 (char *) "self", NULL
12210 };
12211
12212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
12213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12214 {
12215 PyThreadState* __tstate = wxPyBeginAllowThreads();
12216 result = (bool)(arg1)->DeleteAllPages();
12217
12218 wxPyEndAllowThreads(__tstate);
12219 if (PyErr_Occurred()) SWIG_fail;
12220 }
12221 resultobj = PyInt_FromLong((long)result);
12222 return resultobj;
12223 fail:
12224 return NULL;
12225 }
12226
12227
12228 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12229 PyObject *resultobj;
12230 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12231 wxWindow *arg2 = (wxWindow *) 0 ;
12232 wxString *arg3 = 0 ;
12233 bool arg4 = (bool) False ;
12234 int arg5 = (int) -1 ;
12235 bool result;
12236 bool temp3 = False ;
12237 PyObject * obj0 = 0 ;
12238 PyObject * obj1 = 0 ;
12239 PyObject * obj2 = 0 ;
12240 PyObject * obj3 = 0 ;
12241 char *kwnames[] = {
12242 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12243 };
12244
12245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12248 {
12249 arg3 = wxString_in_helper(obj2);
12250 if (arg3 == NULL) SWIG_fail;
12251 temp3 = True;
12252 }
12253 if (obj3) {
12254 {
12255 arg4 = (bool) SPyObj_AsBool(obj3);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 }
12259 {
12260 PyThreadState* __tstate = wxPyBeginAllowThreads();
12261 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
12262
12263 wxPyEndAllowThreads(__tstate);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 }
12266 resultobj = PyInt_FromLong((long)result);
12267 {
12268 if (temp3)
12269 delete arg3;
12270 }
12271 return resultobj;
12272 fail:
12273 {
12274 if (temp3)
12275 delete arg3;
12276 }
12277 return NULL;
12278 }
12279
12280
12281 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12282 PyObject *resultobj;
12283 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12284 size_t arg2 ;
12285 wxWindow *arg3 = (wxWindow *) 0 ;
12286 wxString *arg4 = 0 ;
12287 bool arg5 = (bool) False ;
12288 int arg6 = (int) -1 ;
12289 bool result;
12290 bool temp4 = False ;
12291 PyObject * obj0 = 0 ;
12292 PyObject * obj1 = 0 ;
12293 PyObject * obj2 = 0 ;
12294 PyObject * obj3 = 0 ;
12295 PyObject * obj4 = 0 ;
12296 char *kwnames[] = {
12297 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
12298 };
12299
12300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
12301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12302 {
12303 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12304 if (PyErr_Occurred()) SWIG_fail;
12305 }
12306 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12307 {
12308 arg4 = wxString_in_helper(obj3);
12309 if (arg4 == NULL) SWIG_fail;
12310 temp4 = True;
12311 }
12312 if (obj4) {
12313 {
12314 arg5 = (bool) SPyObj_AsBool(obj4);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
12317 }
12318 {
12319 PyThreadState* __tstate = wxPyBeginAllowThreads();
12320 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
12321
12322 wxPyEndAllowThreads(__tstate);
12323 if (PyErr_Occurred()) SWIG_fail;
12324 }
12325 resultobj = PyInt_FromLong((long)result);
12326 {
12327 if (temp4)
12328 delete arg4;
12329 }
12330 return resultobj;
12331 fail:
12332 {
12333 if (temp4)
12334 delete arg4;
12335 }
12336 return NULL;
12337 }
12338
12339
12340 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12341 PyObject *resultobj;
12342 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12343 size_t arg2 ;
12344 int result;
12345 PyObject * obj0 = 0 ;
12346 PyObject * obj1 = 0 ;
12347 char *kwnames[] = {
12348 (char *) "self",(char *) "n", NULL
12349 };
12350
12351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12353 {
12354 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12355 if (PyErr_Occurred()) SWIG_fail;
12356 }
12357 {
12358 PyThreadState* __tstate = wxPyBeginAllowThreads();
12359 result = (int)(arg1)->SetSelection(arg2);
12360
12361 wxPyEndAllowThreads(__tstate);
12362 if (PyErr_Occurred()) SWIG_fail;
12363 }
12364 resultobj = PyInt_FromLong((long)result);
12365 return resultobj;
12366 fail:
12367 return NULL;
12368 }
12369
12370
12371 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj;
12373 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12374 bool arg2 = (bool) True ;
12375 PyObject * obj0 = 0 ;
12376 PyObject * obj1 = 0 ;
12377 char *kwnames[] = {
12378 (char *) "self",(char *) "forward", NULL
12379 };
12380
12381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
12382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12383 if (obj1) {
12384 {
12385 arg2 = (bool) SPyObj_AsBool(obj1);
12386 if (PyErr_Occurred()) SWIG_fail;
12387 }
12388 }
12389 {
12390 PyThreadState* __tstate = wxPyBeginAllowThreads();
12391 (arg1)->AdvanceSelection(arg2);
12392
12393 wxPyEndAllowThreads(__tstate);
12394 if (PyErr_Occurred()) SWIG_fail;
12395 }
12396 Py_INCREF(Py_None); resultobj = Py_None;
12397 return resultobj;
12398 fail:
12399 return NULL;
12400 }
12401
12402
12403 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
12404 PyObject *obj;
12405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12406 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
12407 Py_INCREF(obj);
12408 return Py_BuildValue((char *)"");
12409 }
12410 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12411 PyObject *resultobj;
12412 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12413 int arg2 = (int) 0 ;
12414 int arg3 = (int) -1 ;
12415 int arg4 = (int) -1 ;
12416 wxBookCtrlEvent *result;
12417 char *kwnames[] = {
12418 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12419 };
12420
12421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
12430 return resultobj;
12431 fail:
12432 return NULL;
12433 }
12434
12435
12436 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12439 int result;
12440 PyObject * obj0 = 0 ;
12441 char *kwnames[] = {
12442 (char *) "self", NULL
12443 };
12444
12445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
12446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 resultobj = PyInt_FromLong((long)result);
12455 return resultobj;
12456 fail:
12457 return NULL;
12458 }
12459
12460
12461 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12462 PyObject *resultobj;
12463 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12464 int arg2 ;
12465 PyObject * obj0 = 0 ;
12466 char *kwnames[] = {
12467 (char *) "self",(char *) "nSel", NULL
12468 };
12469
12470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
12471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12472 {
12473 PyThreadState* __tstate = wxPyBeginAllowThreads();
12474 (arg1)->SetSelection(arg2);
12475
12476 wxPyEndAllowThreads(__tstate);
12477 if (PyErr_Occurred()) SWIG_fail;
12478 }
12479 Py_INCREF(Py_None); resultobj = Py_None;
12480 return resultobj;
12481 fail:
12482 return NULL;
12483 }
12484
12485
12486 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12487 PyObject *resultobj;
12488 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12489 int result;
12490 PyObject * obj0 = 0 ;
12491 char *kwnames[] = {
12492 (char *) "self", NULL
12493 };
12494
12495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
12496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12497 {
12498 PyThreadState* __tstate = wxPyBeginAllowThreads();
12499 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
12500
12501 wxPyEndAllowThreads(__tstate);
12502 if (PyErr_Occurred()) SWIG_fail;
12503 }
12504 resultobj = PyInt_FromLong((long)result);
12505 return resultobj;
12506 fail:
12507 return NULL;
12508 }
12509
12510
12511 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12512 PyObject *resultobj;
12513 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12514 int arg2 ;
12515 PyObject * obj0 = 0 ;
12516 char *kwnames[] = {
12517 (char *) "self",(char *) "nOldSel", NULL
12518 };
12519
12520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
12521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12522 {
12523 PyThreadState* __tstate = wxPyBeginAllowThreads();
12524 (arg1)->SetOldSelection(arg2);
12525
12526 wxPyEndAllowThreads(__tstate);
12527 if (PyErr_Occurred()) SWIG_fail;
12528 }
12529 Py_INCREF(Py_None); resultobj = Py_None;
12530 return resultobj;
12531 fail:
12532 return NULL;
12533 }
12534
12535
12536 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
12537 PyObject *obj;
12538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12539 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
12540 Py_INCREF(obj);
12541 return Py_BuildValue((char *)"");
12542 }
12543 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12544 PyObject *resultobj;
12545 wxWindow *arg1 = (wxWindow *) 0 ;
12546 int arg2 ;
12547 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12548 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12549 wxSize const &arg4_defvalue = wxDefaultSize ;
12550 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12551 long arg5 = (long) 0 ;
12552 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
12553 wxString *arg6 = (wxString *) &arg6_defvalue ;
12554 wxNotebook *result;
12555 wxPoint temp3 ;
12556 wxSize temp4 ;
12557 bool temp6 = False ;
12558 PyObject * obj0 = 0 ;
12559 PyObject * obj2 = 0 ;
12560 PyObject * obj3 = 0 ;
12561 PyObject * obj5 = 0 ;
12562 char *kwnames[] = {
12563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12564 };
12565
12566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12568 if (obj2) {
12569 {
12570 arg3 = &temp3;
12571 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12572 }
12573 }
12574 if (obj3) {
12575 {
12576 arg4 = &temp4;
12577 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12578 }
12579 }
12580 if (obj5) {
12581 {
12582 arg6 = wxString_in_helper(obj5);
12583 if (arg6 == NULL) SWIG_fail;
12584 temp6 = True;
12585 }
12586 }
12587 {
12588 PyThreadState* __tstate = wxPyBeginAllowThreads();
12589 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12590
12591 wxPyEndAllowThreads(__tstate);
12592 if (PyErr_Occurred()) SWIG_fail;
12593 }
12594 {
12595 resultobj = wxPyMake_wxObject(result);
12596 }
12597 {
12598 if (temp6)
12599 delete arg6;
12600 }
12601 return resultobj;
12602 fail:
12603 {
12604 if (temp6)
12605 delete arg6;
12606 }
12607 return NULL;
12608 }
12609
12610
12611 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12612 PyObject *resultobj;
12613 wxNotebook *result;
12614 char *kwnames[] = {
12615 NULL
12616 };
12617
12618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
12619 {
12620 PyThreadState* __tstate = wxPyBeginAllowThreads();
12621 result = (wxNotebook *)new wxNotebook();
12622
12623 wxPyEndAllowThreads(__tstate);
12624 if (PyErr_Occurred()) SWIG_fail;
12625 }
12626 {
12627 resultobj = wxPyMake_wxObject(result);
12628 }
12629 return resultobj;
12630 fail:
12631 return NULL;
12632 }
12633
12634
12635 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12636 PyObject *resultobj;
12637 wxNotebook *arg1 = (wxNotebook *) 0 ;
12638 wxWindow *arg2 = (wxWindow *) 0 ;
12639 int arg3 ;
12640 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12641 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12642 wxSize const &arg5_defvalue = wxDefaultSize ;
12643 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12644 long arg6 = (long) 0 ;
12645 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12646 wxString *arg7 = (wxString *) &arg7_defvalue ;
12647 bool result;
12648 wxPoint temp4 ;
12649 wxSize temp5 ;
12650 bool temp7 = False ;
12651 PyObject * obj0 = 0 ;
12652 PyObject * obj1 = 0 ;
12653 PyObject * obj3 = 0 ;
12654 PyObject * obj4 = 0 ;
12655 PyObject * obj6 = 0 ;
12656 char *kwnames[] = {
12657 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12658 };
12659
12660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12662 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12663 if (obj3) {
12664 {
12665 arg4 = &temp4;
12666 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12667 }
12668 }
12669 if (obj4) {
12670 {
12671 arg5 = &temp5;
12672 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12673 }
12674 }
12675 if (obj6) {
12676 {
12677 arg7 = wxString_in_helper(obj6);
12678 if (arg7 == NULL) SWIG_fail;
12679 temp7 = True;
12680 }
12681 }
12682 {
12683 PyThreadState* __tstate = wxPyBeginAllowThreads();
12684 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12685
12686 wxPyEndAllowThreads(__tstate);
12687 if (PyErr_Occurred()) SWIG_fail;
12688 }
12689 resultobj = PyInt_FromLong((long)result);
12690 {
12691 if (temp7)
12692 delete arg7;
12693 }
12694 return resultobj;
12695 fail:
12696 {
12697 if (temp7)
12698 delete arg7;
12699 }
12700 return NULL;
12701 }
12702
12703
12704 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12705 PyObject *resultobj;
12706 wxNotebook *arg1 = (wxNotebook *) 0 ;
12707 int result;
12708 PyObject * obj0 = 0 ;
12709 char *kwnames[] = {
12710 (char *) "self", NULL
12711 };
12712
12713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12715 {
12716 PyThreadState* __tstate = wxPyBeginAllowThreads();
12717 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12718
12719 wxPyEndAllowThreads(__tstate);
12720 if (PyErr_Occurred()) SWIG_fail;
12721 }
12722 resultobj = PyInt_FromLong((long)result);
12723 return resultobj;
12724 fail:
12725 return NULL;
12726 }
12727
12728
12729 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12730 PyObject *resultobj;
12731 wxNotebook *arg1 = (wxNotebook *) 0 ;
12732 wxSize *arg2 = 0 ;
12733 wxSize temp2 ;
12734 PyObject * obj0 = 0 ;
12735 PyObject * obj1 = 0 ;
12736 char *kwnames[] = {
12737 (char *) "self",(char *) "padding", NULL
12738 };
12739
12740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12742 {
12743 arg2 = &temp2;
12744 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12745 }
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 (arg1)->SetPadding((wxSize const &)*arg2);
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 Py_INCREF(Py_None); resultobj = Py_None;
12754 return resultobj;
12755 fail:
12756 return NULL;
12757 }
12758
12759
12760 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12761 PyObject *resultobj;
12762 wxNotebook *arg1 = (wxNotebook *) 0 ;
12763 wxSize *arg2 = 0 ;
12764 wxSize temp2 ;
12765 PyObject * obj0 = 0 ;
12766 PyObject * obj1 = 0 ;
12767 char *kwnames[] = {
12768 (char *) "self",(char *) "sz", NULL
12769 };
12770
12771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12773 {
12774 arg2 = &temp2;
12775 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12776 }
12777 {
12778 PyThreadState* __tstate = wxPyBeginAllowThreads();
12779 (arg1)->SetTabSize((wxSize const &)*arg2);
12780
12781 wxPyEndAllowThreads(__tstate);
12782 if (PyErr_Occurred()) SWIG_fail;
12783 }
12784 Py_INCREF(Py_None); resultobj = Py_None;
12785 return resultobj;
12786 fail:
12787 return NULL;
12788 }
12789
12790
12791 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12792 PyObject *resultobj;
12793 wxNotebook *arg1 = (wxNotebook *) 0 ;
12794 wxPoint *arg2 = 0 ;
12795 long *arg3 = (long *) 0 ;
12796 int result;
12797 wxPoint temp2 ;
12798 long temp3 ;
12799 PyObject * obj0 = 0 ;
12800 PyObject * obj1 = 0 ;
12801 char *kwnames[] = {
12802 (char *) "self",(char *) "pt", NULL
12803 };
12804
12805 arg3 = &temp3;
12806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12808 {
12809 arg2 = &temp2;
12810 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12811 }
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 resultobj = PyInt_FromLong((long)result);
12820 {
12821 PyObject *o = PyInt_FromLong((long) (*arg3));
12822 resultobj = t_output_helper(resultobj,o);
12823 }
12824 return resultobj;
12825 fail:
12826 return NULL;
12827 }
12828
12829
12830 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12831 PyObject *resultobj;
12832 wxNotebook *arg1 = (wxNotebook *) 0 ;
12833 wxSize *arg2 = 0 ;
12834 wxSize result;
12835 wxSize temp2 ;
12836 PyObject * obj0 = 0 ;
12837 PyObject * obj1 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "self",(char *) "sizePage", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12844 {
12845 arg2 = &temp2;
12846 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12847 }
12848 {
12849 PyThreadState* __tstate = wxPyBeginAllowThreads();
12850 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12851
12852 wxPyEndAllowThreads(__tstate);
12853 if (PyErr_Occurred()) SWIG_fail;
12854 }
12855 {
12856 wxSize * resultptr;
12857 resultptr = new wxSize((wxSize &) result);
12858 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12859 }
12860 return resultobj;
12861 fail:
12862 return NULL;
12863 }
12864
12865
12866 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12867 PyObject *resultobj;
12868 wxNotebook *arg1 = (wxNotebook *) 0 ;
12869 wxWindow *arg2 = (wxWindow *) 0 ;
12870 wxColour *arg3 = 0 ;
12871 wxColour temp3 ;
12872 PyObject * obj0 = 0 ;
12873 PyObject * obj1 = 0 ;
12874 PyObject * obj2 = 0 ;
12875 char *kwnames[] = {
12876 (char *) "self",(char *) "window",(char *) "colour", NULL
12877 };
12878
12879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
12880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12882 {
12883 arg3 = &temp3;
12884 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12885 }
12886 {
12887 PyThreadState* __tstate = wxPyBeginAllowThreads();
12888 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
12889
12890 wxPyEndAllowThreads(__tstate);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
12893 Py_INCREF(Py_None); resultobj = Py_None;
12894 return resultobj;
12895 fail:
12896 return NULL;
12897 }
12898
12899
12900 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12901 PyObject *obj;
12902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12903 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12904 Py_INCREF(obj);
12905 return Py_BuildValue((char *)"");
12906 }
12907 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12908 PyObject *resultobj;
12909 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12910 int arg2 = (int) 0 ;
12911 int arg3 = (int) -1 ;
12912 int arg4 = (int) -1 ;
12913 wxNotebookEvent *result;
12914 char *kwnames[] = {
12915 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12916 };
12917
12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12919 {
12920 PyThreadState* __tstate = wxPyBeginAllowThreads();
12921 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12922
12923 wxPyEndAllowThreads(__tstate);
12924 if (PyErr_Occurred()) SWIG_fail;
12925 }
12926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12927 return resultobj;
12928 fail:
12929 return NULL;
12930 }
12931
12932
12933 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12934 PyObject *obj;
12935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12936 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12937 Py_INCREF(obj);
12938 return Py_BuildValue((char *)"");
12939 }
12940 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12941 PyObject *resultobj;
12942 wxWindow *arg1 = (wxWindow *) 0 ;
12943 int arg2 ;
12944 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12945 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12946 wxSize const &arg4_defvalue = wxDefaultSize ;
12947 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12948 long arg5 = (long) 0 ;
12949 wxString const &arg6_defvalue = wxPyEmptyString ;
12950 wxString *arg6 = (wxString *) &arg6_defvalue ;
12951 wxListbook *result;
12952 wxPoint temp3 ;
12953 wxSize temp4 ;
12954 bool temp6 = False ;
12955 PyObject * obj0 = 0 ;
12956 PyObject * obj2 = 0 ;
12957 PyObject * obj3 = 0 ;
12958 PyObject * obj5 = 0 ;
12959 char *kwnames[] = {
12960 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12961 };
12962
12963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12965 if (obj2) {
12966 {
12967 arg3 = &temp3;
12968 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12969 }
12970 }
12971 if (obj3) {
12972 {
12973 arg4 = &temp4;
12974 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12975 }
12976 }
12977 if (obj5) {
12978 {
12979 arg6 = wxString_in_helper(obj5);
12980 if (arg6 == NULL) SWIG_fail;
12981 temp6 = True;
12982 }
12983 }
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12992 {
12993 if (temp6)
12994 delete arg6;
12995 }
12996 return resultobj;
12997 fail:
12998 {
12999 if (temp6)
13000 delete arg6;
13001 }
13002 return NULL;
13003 }
13004
13005
13006 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
13007 PyObject *resultobj;
13008 wxListbook *result;
13009 char *kwnames[] = {
13010 NULL
13011 };
13012
13013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
13014 {
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 result = (wxListbook *)new wxListbook();
13017
13018 wxPyEndAllowThreads(__tstate);
13019 if (PyErr_Occurred()) SWIG_fail;
13020 }
13021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
13022 return resultobj;
13023 fail:
13024 return NULL;
13025 }
13026
13027
13028 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13029 PyObject *resultobj;
13030 wxListbook *arg1 = (wxListbook *) 0 ;
13031 wxWindow *arg2 = (wxWindow *) 0 ;
13032 int arg3 ;
13033 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13034 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13035 wxSize const &arg5_defvalue = wxDefaultSize ;
13036 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13037 long arg6 = (long) 0 ;
13038 wxString const &arg7_defvalue = wxPyEmptyString ;
13039 wxString *arg7 = (wxString *) &arg7_defvalue ;
13040 bool result;
13041 wxPoint temp4 ;
13042 wxSize temp5 ;
13043 bool temp7 = False ;
13044 PyObject * obj0 = 0 ;
13045 PyObject * obj1 = 0 ;
13046 PyObject * obj3 = 0 ;
13047 PyObject * obj4 = 0 ;
13048 PyObject * obj6 = 0 ;
13049 char *kwnames[] = {
13050 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13051 };
13052
13053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
13054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13056 if (obj3) {
13057 {
13058 arg4 = &temp4;
13059 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13060 }
13061 }
13062 if (obj4) {
13063 {
13064 arg5 = &temp5;
13065 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13066 }
13067 }
13068 if (obj6) {
13069 {
13070 arg7 = wxString_in_helper(obj6);
13071 if (arg7 == NULL) SWIG_fail;
13072 temp7 = True;
13073 }
13074 }
13075 {
13076 PyThreadState* __tstate = wxPyBeginAllowThreads();
13077 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13078
13079 wxPyEndAllowThreads(__tstate);
13080 if (PyErr_Occurred()) SWIG_fail;
13081 }
13082 resultobj = PyInt_FromLong((long)result);
13083 {
13084 if (temp7)
13085 delete arg7;
13086 }
13087 return resultobj;
13088 fail:
13089 {
13090 if (temp7)
13091 delete arg7;
13092 }
13093 return NULL;
13094 }
13095
13096
13097 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
13098 PyObject *resultobj;
13099 wxListbook *arg1 = (wxListbook *) 0 ;
13100 bool result;
13101 PyObject * obj0 = 0 ;
13102 char *kwnames[] = {
13103 (char *) "self", NULL
13104 };
13105
13106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
13107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13108 {
13109 PyThreadState* __tstate = wxPyBeginAllowThreads();
13110 result = (bool)((wxListbook const *)arg1)->IsVertical();
13111
13112 wxPyEndAllowThreads(__tstate);
13113 if (PyErr_Occurred()) SWIG_fail;
13114 }
13115 resultobj = PyInt_FromLong((long)result);
13116 return resultobj;
13117 fail:
13118 return NULL;
13119 }
13120
13121
13122 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
13123 PyObject *obj;
13124 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13125 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
13126 Py_INCREF(obj);
13127 return Py_BuildValue((char *)"");
13128 }
13129 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13130 PyObject *resultobj;
13131 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13132 int arg2 = (int) 0 ;
13133 int arg3 = (int) -1 ;
13134 int arg4 = (int) -1 ;
13135 wxListbookEvent *result;
13136 char *kwnames[] = {
13137 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
13138 };
13139
13140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
13141 {
13142 PyThreadState* __tstate = wxPyBeginAllowThreads();
13143 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
13144
13145 wxPyEndAllowThreads(__tstate);
13146 if (PyErr_Occurred()) SWIG_fail;
13147 }
13148 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
13149 return resultobj;
13150 fail:
13151 return NULL;
13152 }
13153
13154
13155 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
13156 PyObject *obj;
13157 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13158 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
13159 Py_INCREF(obj);
13160 return Py_BuildValue((char *)"");
13161 }
13162 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
13163 PyObject *resultobj;
13164 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
13165 wxBookCtrlSizer *result;
13166 PyObject * obj0 = 0 ;
13167 char *kwnames[] = {
13168 (char *) "nb", NULL
13169 };
13170
13171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
13172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
13176
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
13181 return resultobj;
13182 fail:
13183 return NULL;
13184 }
13185
13186
13187 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
13188 PyObject *resultobj;
13189 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
13190 PyObject * obj0 = 0 ;
13191 char *kwnames[] = {
13192 (char *) "self", NULL
13193 };
13194
13195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
13196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13197 {
13198 PyThreadState* __tstate = wxPyBeginAllowThreads();
13199 (arg1)->RecalcSizes();
13200
13201 wxPyEndAllowThreads(__tstate);
13202 if (PyErr_Occurred()) SWIG_fail;
13203 }
13204 Py_INCREF(Py_None); resultobj = Py_None;
13205 return resultobj;
13206 fail:
13207 return NULL;
13208 }
13209
13210
13211 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13212 PyObject *resultobj;
13213 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
13214 wxSize result;
13215 PyObject * obj0 = 0 ;
13216 char *kwnames[] = {
13217 (char *) "self", NULL
13218 };
13219
13220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
13221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13222 {
13223 PyThreadState* __tstate = wxPyBeginAllowThreads();
13224 result = (arg1)->CalcMin();
13225
13226 wxPyEndAllowThreads(__tstate);
13227 if (PyErr_Occurred()) SWIG_fail;
13228 }
13229 {
13230 wxSize * resultptr;
13231 resultptr = new wxSize((wxSize &) result);
13232 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13233 }
13234 return resultobj;
13235 fail:
13236 return NULL;
13237 }
13238
13239
13240 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13241 PyObject *resultobj;
13242 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
13243 wxBookCtrl *result;
13244 PyObject * obj0 = 0 ;
13245 char *kwnames[] = {
13246 (char *) "self", NULL
13247 };
13248
13249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
13250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13251 {
13252 PyThreadState* __tstate = wxPyBeginAllowThreads();
13253 result = (wxBookCtrl *)(arg1)->GetControl();
13254
13255 wxPyEndAllowThreads(__tstate);
13256 if (PyErr_Occurred()) SWIG_fail;
13257 }
13258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
13259 return resultobj;
13260 fail:
13261 return NULL;
13262 }
13263
13264
13265 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
13266 PyObject *obj;
13267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13268 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
13269 Py_INCREF(obj);
13270 return Py_BuildValue((char *)"");
13271 }
13272 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
13273 PyObject *resultobj;
13274 wxNotebook *arg1 = (wxNotebook *) 0 ;
13275 wxNotebookSizer *result;
13276 PyObject * obj0 = 0 ;
13277 char *kwnames[] = {
13278 (char *) "nb", NULL
13279 };
13280
13281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
13282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13283 {
13284 PyThreadState* __tstate = wxPyBeginAllowThreads();
13285 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
13286
13287 wxPyEndAllowThreads(__tstate);
13288 if (PyErr_Occurred()) SWIG_fail;
13289 }
13290 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
13291 return resultobj;
13292 fail:
13293 return NULL;
13294 }
13295
13296
13297 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
13298 PyObject *resultobj;
13299 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13300 PyObject * obj0 = 0 ;
13301 char *kwnames[] = {
13302 (char *) "self", NULL
13303 };
13304
13305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
13306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13307 {
13308 PyThreadState* __tstate = wxPyBeginAllowThreads();
13309 (arg1)->RecalcSizes();
13310
13311 wxPyEndAllowThreads(__tstate);
13312 if (PyErr_Occurred()) SWIG_fail;
13313 }
13314 Py_INCREF(Py_None); resultobj = Py_None;
13315 return resultobj;
13316 fail:
13317 return NULL;
13318 }
13319
13320
13321 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
13322 PyObject *resultobj;
13323 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13324 wxSize result;
13325 PyObject * obj0 = 0 ;
13326 char *kwnames[] = {
13327 (char *) "self", NULL
13328 };
13329
13330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
13331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13332 {
13333 PyThreadState* __tstate = wxPyBeginAllowThreads();
13334 result = (arg1)->CalcMin();
13335
13336 wxPyEndAllowThreads(__tstate);
13337 if (PyErr_Occurred()) SWIG_fail;
13338 }
13339 {
13340 wxSize * resultptr;
13341 resultptr = new wxSize((wxSize &) result);
13342 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13343 }
13344 return resultobj;
13345 fail:
13346 return NULL;
13347 }
13348
13349
13350 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
13351 PyObject *resultobj;
13352 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
13353 wxNotebook *result;
13354 PyObject * obj0 = 0 ;
13355 char *kwnames[] = {
13356 (char *) "self", NULL
13357 };
13358
13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
13360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 result = (wxNotebook *)(arg1)->GetNotebook();
13364
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 {
13369 resultobj = wxPyMake_wxObject(result);
13370 }
13371 return resultobj;
13372 fail:
13373 return NULL;
13374 }
13375
13376
13377 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
13378 PyObject *obj;
13379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13380 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
13381 Py_INCREF(obj);
13382 return Py_BuildValue((char *)"");
13383 }
13384 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
13385 PyObject *resultobj;
13386 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13387 int result;
13388 PyObject * obj0 = 0 ;
13389 char *kwnames[] = {
13390 (char *) "self", NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
13394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13395 {
13396 PyThreadState* __tstate = wxPyBeginAllowThreads();
13397 result = (int)(arg1)->GetId();
13398
13399 wxPyEndAllowThreads(__tstate);
13400 if (PyErr_Occurred()) SWIG_fail;
13401 }
13402 resultobj = PyInt_FromLong((long)result);
13403 return resultobj;
13404 fail:
13405 return NULL;
13406 }
13407
13408
13409 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13410 PyObject *resultobj;
13411 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13412 wxControl *result;
13413 PyObject * obj0 = 0 ;
13414 char *kwnames[] = {
13415 (char *) "self", NULL
13416 };
13417
13418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
13419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13420 {
13421 PyThreadState* __tstate = wxPyBeginAllowThreads();
13422 result = (wxControl *)(arg1)->GetControl();
13423
13424 wxPyEndAllowThreads(__tstate);
13425 if (PyErr_Occurred()) SWIG_fail;
13426 }
13427 {
13428 resultobj = wxPyMake_wxObject(result);
13429 }
13430 return resultobj;
13431 fail:
13432 return NULL;
13433 }
13434
13435
13436 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13437 PyObject *resultobj;
13438 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13439 wxToolBarBase *result;
13440 PyObject * obj0 = 0 ;
13441 char *kwnames[] = {
13442 (char *) "self", NULL
13443 };
13444
13445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
13446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13447 {
13448 PyThreadState* __tstate = wxPyBeginAllowThreads();
13449 result = (wxToolBarBase *)(arg1)->GetToolBar();
13450
13451 wxPyEndAllowThreads(__tstate);
13452 if (PyErr_Occurred()) SWIG_fail;
13453 }
13454 {
13455 resultobj = wxPyMake_wxObject(result);
13456 }
13457 return resultobj;
13458 fail:
13459 return NULL;
13460 }
13461
13462
13463 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13464 PyObject *resultobj;
13465 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13466 int result;
13467 PyObject * obj0 = 0 ;
13468 char *kwnames[] = {
13469 (char *) "self", NULL
13470 };
13471
13472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
13473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13474 {
13475 PyThreadState* __tstate = wxPyBeginAllowThreads();
13476 result = (int)(arg1)->IsButton();
13477
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
13481 resultobj = PyInt_FromLong((long)result);
13482 return resultobj;
13483 fail:
13484 return NULL;
13485 }
13486
13487
13488 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13489 PyObject *resultobj;
13490 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13491 int result;
13492 PyObject * obj0 = 0 ;
13493 char *kwnames[] = {
13494 (char *) "self", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
13498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 result = (int)(arg1)->IsControl();
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 resultobj = PyInt_FromLong((long)result);
13507 return resultobj;
13508 fail:
13509 return NULL;
13510 }
13511
13512
13513 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13514 PyObject *resultobj;
13515 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13516 int result;
13517 PyObject * obj0 = 0 ;
13518 char *kwnames[] = {
13519 (char *) "self", NULL
13520 };
13521
13522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
13523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13524 {
13525 PyThreadState* __tstate = wxPyBeginAllowThreads();
13526 result = (int)(arg1)->IsSeparator();
13527
13528 wxPyEndAllowThreads(__tstate);
13529 if (PyErr_Occurred()) SWIG_fail;
13530 }
13531 resultobj = PyInt_FromLong((long)result);
13532 return resultobj;
13533 fail:
13534 return NULL;
13535 }
13536
13537
13538 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
13539 PyObject *resultobj;
13540 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13541 int result;
13542 PyObject * obj0 = 0 ;
13543 char *kwnames[] = {
13544 (char *) "self", NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
13548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13549 {
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
13551 result = (int)(arg1)->GetStyle();
13552
13553 wxPyEndAllowThreads(__tstate);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 }
13556 resultobj = PyInt_FromLong((long)result);
13557 return resultobj;
13558 fail:
13559 return NULL;
13560 }
13561
13562
13563 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
13564 PyObject *resultobj;
13565 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13566 int result;
13567 PyObject * obj0 = 0 ;
13568 char *kwnames[] = {
13569 (char *) "self", NULL
13570 };
13571
13572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
13573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 result = (int)(arg1)->GetKind();
13577
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
13581 resultobj = PyInt_FromLong((long)result);
13582 return resultobj;
13583 fail:
13584 return NULL;
13585 }
13586
13587
13588 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13589 PyObject *resultobj;
13590 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13591 bool result;
13592 PyObject * obj0 = 0 ;
13593 char *kwnames[] = {
13594 (char *) "self", NULL
13595 };
13596
13597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
13598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13599 {
13600 PyThreadState* __tstate = wxPyBeginAllowThreads();
13601 result = (bool)(arg1)->IsEnabled();
13602
13603 wxPyEndAllowThreads(__tstate);
13604 if (PyErr_Occurred()) SWIG_fail;
13605 }
13606 resultobj = PyInt_FromLong((long)result);
13607 return resultobj;
13608 fail:
13609 return NULL;
13610 }
13611
13612
13613 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13614 PyObject *resultobj;
13615 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13616 bool result;
13617 PyObject * obj0 = 0 ;
13618 char *kwnames[] = {
13619 (char *) "self", NULL
13620 };
13621
13622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13624 {
13625 PyThreadState* __tstate = wxPyBeginAllowThreads();
13626 result = (bool)(arg1)->IsToggled();
13627
13628 wxPyEndAllowThreads(__tstate);
13629 if (PyErr_Occurred()) SWIG_fail;
13630 }
13631 resultobj = PyInt_FromLong((long)result);
13632 return resultobj;
13633 fail:
13634 return NULL;
13635 }
13636
13637
13638 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13639 PyObject *resultobj;
13640 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13641 bool result;
13642 PyObject * obj0 = 0 ;
13643 char *kwnames[] = {
13644 (char *) "self", NULL
13645 };
13646
13647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13649 {
13650 PyThreadState* __tstate = wxPyBeginAllowThreads();
13651 result = (bool)(arg1)->CanBeToggled();
13652
13653 wxPyEndAllowThreads(__tstate);
13654 if (PyErr_Occurred()) SWIG_fail;
13655 }
13656 resultobj = PyInt_FromLong((long)result);
13657 return resultobj;
13658 fail:
13659 return NULL;
13660 }
13661
13662
13663 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13664 PyObject *resultobj;
13665 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13666 wxBitmap *result;
13667 PyObject * obj0 = 0 ;
13668 char *kwnames[] = {
13669 (char *) "self", NULL
13670 };
13671
13672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13674 {
13675 PyThreadState* __tstate = wxPyBeginAllowThreads();
13676 {
13677 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13678 result = (wxBitmap *) &_result_ref;
13679 }
13680
13681 wxPyEndAllowThreads(__tstate);
13682 if (PyErr_Occurred()) SWIG_fail;
13683 }
13684 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13685 return resultobj;
13686 fail:
13687 return NULL;
13688 }
13689
13690
13691 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13692 PyObject *resultobj;
13693 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13694 wxBitmap *result;
13695 PyObject * obj0 = 0 ;
13696 char *kwnames[] = {
13697 (char *) "self", NULL
13698 };
13699
13700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13702 {
13703 PyThreadState* __tstate = wxPyBeginAllowThreads();
13704 {
13705 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13706 result = (wxBitmap *) &_result_ref;
13707 }
13708
13709 wxPyEndAllowThreads(__tstate);
13710 if (PyErr_Occurred()) SWIG_fail;
13711 }
13712 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13713 return resultobj;
13714 fail:
13715 return NULL;
13716 }
13717
13718
13719 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13720 PyObject *resultobj;
13721 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13722 wxBitmap result;
13723 PyObject * obj0 = 0 ;
13724 char *kwnames[] = {
13725 (char *) "self", NULL
13726 };
13727
13728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13730 {
13731 PyThreadState* __tstate = wxPyBeginAllowThreads();
13732 result = (arg1)->GetBitmap();
13733
13734 wxPyEndAllowThreads(__tstate);
13735 if (PyErr_Occurred()) SWIG_fail;
13736 }
13737 {
13738 wxBitmap * resultptr;
13739 resultptr = new wxBitmap((wxBitmap &) result);
13740 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13741 }
13742 return resultobj;
13743 fail:
13744 return NULL;
13745 }
13746
13747
13748 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj;
13750 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13751 wxString result;
13752 PyObject * obj0 = 0 ;
13753 char *kwnames[] = {
13754 (char *) "self", NULL
13755 };
13756
13757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13759 {
13760 PyThreadState* __tstate = wxPyBeginAllowThreads();
13761 result = (arg1)->GetLabel();
13762
13763 wxPyEndAllowThreads(__tstate);
13764 if (PyErr_Occurred()) SWIG_fail;
13765 }
13766 {
13767 #if wxUSE_UNICODE
13768 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13769 #else
13770 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13771 #endif
13772 }
13773 return resultobj;
13774 fail:
13775 return NULL;
13776 }
13777
13778
13779 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13780 PyObject *resultobj;
13781 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13782 wxString result;
13783 PyObject * obj0 = 0 ;
13784 char *kwnames[] = {
13785 (char *) "self", NULL
13786 };
13787
13788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13790 {
13791 PyThreadState* __tstate = wxPyBeginAllowThreads();
13792 result = (arg1)->GetShortHelp();
13793
13794 wxPyEndAllowThreads(__tstate);
13795 if (PyErr_Occurred()) SWIG_fail;
13796 }
13797 {
13798 #if wxUSE_UNICODE
13799 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13800 #else
13801 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13802 #endif
13803 }
13804 return resultobj;
13805 fail:
13806 return NULL;
13807 }
13808
13809
13810 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13811 PyObject *resultobj;
13812 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13813 wxString result;
13814 PyObject * obj0 = 0 ;
13815 char *kwnames[] = {
13816 (char *) "self", NULL
13817 };
13818
13819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13821 {
13822 PyThreadState* __tstate = wxPyBeginAllowThreads();
13823 result = (arg1)->GetLongHelp();
13824
13825 wxPyEndAllowThreads(__tstate);
13826 if (PyErr_Occurred()) SWIG_fail;
13827 }
13828 {
13829 #if wxUSE_UNICODE
13830 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13831 #else
13832 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13833 #endif
13834 }
13835 return resultobj;
13836 fail:
13837 return NULL;
13838 }
13839
13840
13841 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13842 PyObject *resultobj;
13843 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13844 bool arg2 ;
13845 bool result;
13846 PyObject * obj0 = 0 ;
13847 PyObject * obj1 = 0 ;
13848 char *kwnames[] = {
13849 (char *) "self",(char *) "enable", NULL
13850 };
13851
13852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13854 {
13855 arg2 = (bool) SPyObj_AsBool(obj1);
13856 if (PyErr_Occurred()) SWIG_fail;
13857 }
13858 {
13859 PyThreadState* __tstate = wxPyBeginAllowThreads();
13860 result = (bool)(arg1)->Enable(arg2);
13861
13862 wxPyEndAllowThreads(__tstate);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 }
13865 resultobj = PyInt_FromLong((long)result);
13866 return resultobj;
13867 fail:
13868 return NULL;
13869 }
13870
13871
13872 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13873 PyObject *resultobj;
13874 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13875 PyObject * obj0 = 0 ;
13876 char *kwnames[] = {
13877 (char *) "self", NULL
13878 };
13879
13880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 (arg1)->Toggle();
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
13896 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13897 PyObject *resultobj;
13898 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13899 bool arg2 ;
13900 bool result;
13901 PyObject * obj0 = 0 ;
13902 PyObject * obj1 = 0 ;
13903 char *kwnames[] = {
13904 (char *) "self",(char *) "toggle", NULL
13905 };
13906
13907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13909 {
13910 arg2 = (bool) SPyObj_AsBool(obj1);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = (bool)(arg1)->SetToggle(arg2);
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 resultobj = PyInt_FromLong((long)result);
13921 return resultobj;
13922 fail:
13923 return NULL;
13924 }
13925
13926
13927 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13928 PyObject *resultobj;
13929 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13930 wxString *arg2 = 0 ;
13931 bool result;
13932 bool temp2 = False ;
13933 PyObject * obj0 = 0 ;
13934 PyObject * obj1 = 0 ;
13935 char *kwnames[] = {
13936 (char *) "self",(char *) "help", NULL
13937 };
13938
13939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13941 {
13942 arg2 = wxString_in_helper(obj1);
13943 if (arg2 == NULL) SWIG_fail;
13944 temp2 = True;
13945 }
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 resultobj = PyInt_FromLong((long)result);
13954 {
13955 if (temp2)
13956 delete arg2;
13957 }
13958 return resultobj;
13959 fail:
13960 {
13961 if (temp2)
13962 delete arg2;
13963 }
13964 return NULL;
13965 }
13966
13967
13968 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13969 PyObject *resultobj;
13970 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13971 wxString *arg2 = 0 ;
13972 bool result;
13973 bool temp2 = False ;
13974 PyObject * obj0 = 0 ;
13975 PyObject * obj1 = 0 ;
13976 char *kwnames[] = {
13977 (char *) "self",(char *) "help", NULL
13978 };
13979
13980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13982 {
13983 arg2 = wxString_in_helper(obj1);
13984 if (arg2 == NULL) SWIG_fail;
13985 temp2 = True;
13986 }
13987 {
13988 PyThreadState* __tstate = wxPyBeginAllowThreads();
13989 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13990
13991 wxPyEndAllowThreads(__tstate);
13992 if (PyErr_Occurred()) SWIG_fail;
13993 }
13994 resultobj = PyInt_FromLong((long)result);
13995 {
13996 if (temp2)
13997 delete arg2;
13998 }
13999 return resultobj;
14000 fail:
14001 {
14002 if (temp2)
14003 delete arg2;
14004 }
14005 return NULL;
14006 }
14007
14008
14009 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14010 PyObject *resultobj;
14011 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14012 wxBitmap *arg2 = 0 ;
14013 PyObject * obj0 = 0 ;
14014 PyObject * obj1 = 0 ;
14015 char *kwnames[] = {
14016 (char *) "self",(char *) "bmp", NULL
14017 };
14018
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
14020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14021 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14022 if (arg2 == NULL) {
14023 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14024 }
14025 {
14026 PyThreadState* __tstate = wxPyBeginAllowThreads();
14027 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
14028
14029 wxPyEndAllowThreads(__tstate);
14030 if (PyErr_Occurred()) SWIG_fail;
14031 }
14032 Py_INCREF(Py_None); resultobj = Py_None;
14033 return resultobj;
14034 fail:
14035 return NULL;
14036 }
14037
14038
14039 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
14040 PyObject *resultobj;
14041 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14042 wxBitmap *arg2 = 0 ;
14043 PyObject * obj0 = 0 ;
14044 PyObject * obj1 = 0 ;
14045 char *kwnames[] = {
14046 (char *) "self",(char *) "bmp", NULL
14047 };
14048
14049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
14050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14051 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14052 if (arg2 == NULL) {
14053 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14054 }
14055 {
14056 PyThreadState* __tstate = wxPyBeginAllowThreads();
14057 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
14058
14059 wxPyEndAllowThreads(__tstate);
14060 if (PyErr_Occurred()) SWIG_fail;
14061 }
14062 Py_INCREF(Py_None); resultobj = Py_None;
14063 return resultobj;
14064 fail:
14065 return NULL;
14066 }
14067
14068
14069 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
14070 PyObject *resultobj;
14071 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14072 wxString *arg2 = 0 ;
14073 bool temp2 = False ;
14074 PyObject * obj0 = 0 ;
14075 PyObject * obj1 = 0 ;
14076 char *kwnames[] = {
14077 (char *) "self",(char *) "label", NULL
14078 };
14079
14080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
14081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14082 {
14083 arg2 = wxString_in_helper(obj1);
14084 if (arg2 == NULL) SWIG_fail;
14085 temp2 = True;
14086 }
14087 {
14088 PyThreadState* __tstate = wxPyBeginAllowThreads();
14089 (arg1)->SetLabel((wxString const &)*arg2);
14090
14091 wxPyEndAllowThreads(__tstate);
14092 if (PyErr_Occurred()) SWIG_fail;
14093 }
14094 Py_INCREF(Py_None); resultobj = Py_None;
14095 {
14096 if (temp2)
14097 delete arg2;
14098 }
14099 return resultobj;
14100 fail:
14101 {
14102 if (temp2)
14103 delete arg2;
14104 }
14105 return NULL;
14106 }
14107
14108
14109 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
14110 PyObject *resultobj;
14111 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14112 PyObject * obj0 = 0 ;
14113 char *kwnames[] = {
14114 (char *) "self", NULL
14115 };
14116
14117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
14118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14119 {
14120 PyThreadState* __tstate = wxPyBeginAllowThreads();
14121 (arg1)->Detach();
14122
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 Py_INCREF(Py_None); resultobj = Py_None;
14127 return resultobj;
14128 fail:
14129 return NULL;
14130 }
14131
14132
14133 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
14134 PyObject *resultobj;
14135 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14136 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
14137 PyObject * obj0 = 0 ;
14138 PyObject * obj1 = 0 ;
14139 char *kwnames[] = {
14140 (char *) "self",(char *) "tbar", NULL
14141 };
14142
14143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
14144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14145 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14146 {
14147 PyThreadState* __tstate = wxPyBeginAllowThreads();
14148 (arg1)->Attach(arg2);
14149
14150 wxPyEndAllowThreads(__tstate);
14151 if (PyErr_Occurred()) SWIG_fail;
14152 }
14153 Py_INCREF(Py_None); resultobj = Py_None;
14154 return resultobj;
14155 fail:
14156 return NULL;
14157 }
14158
14159
14160 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14161 PyObject *resultobj;
14162 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14163 PyObject *result;
14164 PyObject * obj0 = 0 ;
14165 char *kwnames[] = {
14166 (char *) "self", NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
14170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14171 {
14172 PyThreadState* __tstate = wxPyBeginAllowThreads();
14173 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
14174
14175 wxPyEndAllowThreads(__tstate);
14176 if (PyErr_Occurred()) SWIG_fail;
14177 }
14178 resultobj = result;
14179 return resultobj;
14180 fail:
14181 return NULL;
14182 }
14183
14184
14185 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14186 PyObject *resultobj;
14187 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
14188 PyObject *arg2 = (PyObject *) 0 ;
14189 PyObject * obj0 = 0 ;
14190 PyObject * obj1 = 0 ;
14191 char *kwnames[] = {
14192 (char *) "self",(char *) "clientData", NULL
14193 };
14194
14195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
14196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14197 arg2 = obj1;
14198 {
14199 PyThreadState* __tstate = wxPyBeginAllowThreads();
14200 wxToolBarToolBase_SetClientData(arg1,arg2);
14201
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 Py_INCREF(Py_None); resultobj = Py_None;
14206 return resultobj;
14207 fail:
14208 return NULL;
14209 }
14210
14211
14212 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
14213 PyObject *obj;
14214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14215 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
14216 Py_INCREF(obj);
14217 return Py_BuildValue((char *)"");
14218 }
14219 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj;
14221 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14222 int arg2 ;
14223 wxString *arg3 = 0 ;
14224 wxBitmap *arg4 = 0 ;
14225 wxBitmap const &arg5_defvalue = wxNullBitmap ;
14226 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
14227 int arg6 = (int) wxITEM_NORMAL ;
14228 wxString const &arg7_defvalue = wxPyEmptyString ;
14229 wxString *arg7 = (wxString *) &arg7_defvalue ;
14230 wxString const &arg8_defvalue = wxPyEmptyString ;
14231 wxString *arg8 = (wxString *) &arg8_defvalue ;
14232 PyObject *arg9 = (PyObject *) NULL ;
14233 wxToolBarToolBase *result;
14234 bool temp3 = False ;
14235 bool temp7 = False ;
14236 bool temp8 = False ;
14237 PyObject * obj0 = 0 ;
14238 PyObject * obj2 = 0 ;
14239 PyObject * obj3 = 0 ;
14240 PyObject * obj4 = 0 ;
14241 PyObject * obj6 = 0 ;
14242 PyObject * obj7 = 0 ;
14243 PyObject * obj8 = 0 ;
14244 char *kwnames[] = {
14245 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14246 };
14247
14248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
14249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14250 {
14251 arg3 = wxString_in_helper(obj2);
14252 if (arg3 == NULL) SWIG_fail;
14253 temp3 = True;
14254 }
14255 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14256 if (arg4 == NULL) {
14257 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14258 }
14259 if (obj4) {
14260 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14261 if (arg5 == NULL) {
14262 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14263 }
14264 }
14265 if (obj6) {
14266 {
14267 arg7 = wxString_in_helper(obj6);
14268 if (arg7 == NULL) SWIG_fail;
14269 temp7 = True;
14270 }
14271 }
14272 if (obj7) {
14273 {
14274 arg8 = wxString_in_helper(obj7);
14275 if (arg8 == NULL) SWIG_fail;
14276 temp8 = True;
14277 }
14278 }
14279 if (obj8) {
14280 arg9 = obj8;
14281 }
14282 {
14283 PyThreadState* __tstate = wxPyBeginAllowThreads();
14284 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
14285
14286 wxPyEndAllowThreads(__tstate);
14287 if (PyErr_Occurred()) SWIG_fail;
14288 }
14289 {
14290 resultobj = wxPyMake_wxObject(result);
14291 }
14292 {
14293 if (temp3)
14294 delete arg3;
14295 }
14296 {
14297 if (temp7)
14298 delete arg7;
14299 }
14300 {
14301 if (temp8)
14302 delete arg8;
14303 }
14304 return resultobj;
14305 fail:
14306 {
14307 if (temp3)
14308 delete arg3;
14309 }
14310 {
14311 if (temp7)
14312 delete arg7;
14313 }
14314 {
14315 if (temp8)
14316 delete arg8;
14317 }
14318 return NULL;
14319 }
14320
14321
14322 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14323 PyObject *resultobj;
14324 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14325 size_t arg2 ;
14326 int arg3 ;
14327 wxString *arg4 = 0 ;
14328 wxBitmap *arg5 = 0 ;
14329 wxBitmap const &arg6_defvalue = wxNullBitmap ;
14330 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
14331 int arg7 = (int) wxITEM_NORMAL ;
14332 wxString const &arg8_defvalue = wxPyEmptyString ;
14333 wxString *arg8 = (wxString *) &arg8_defvalue ;
14334 wxString const &arg9_defvalue = wxPyEmptyString ;
14335 wxString *arg9 = (wxString *) &arg9_defvalue ;
14336 PyObject *arg10 = (PyObject *) NULL ;
14337 wxToolBarToolBase *result;
14338 bool temp4 = False ;
14339 bool temp8 = False ;
14340 bool temp9 = False ;
14341 PyObject * obj0 = 0 ;
14342 PyObject * obj1 = 0 ;
14343 PyObject * obj3 = 0 ;
14344 PyObject * obj4 = 0 ;
14345 PyObject * obj5 = 0 ;
14346 PyObject * obj7 = 0 ;
14347 PyObject * obj8 = 0 ;
14348 PyObject * obj9 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
14351 };
14352
14353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
14354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14355 {
14356 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 {
14360 arg4 = wxString_in_helper(obj3);
14361 if (arg4 == NULL) SWIG_fail;
14362 temp4 = True;
14363 }
14364 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14365 if (arg5 == NULL) {
14366 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14367 }
14368 if (obj5) {
14369 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14370 if (arg6 == NULL) {
14371 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14372 }
14373 }
14374 if (obj7) {
14375 {
14376 arg8 = wxString_in_helper(obj7);
14377 if (arg8 == NULL) SWIG_fail;
14378 temp8 = True;
14379 }
14380 }
14381 if (obj8) {
14382 {
14383 arg9 = wxString_in_helper(obj8);
14384 if (arg9 == NULL) SWIG_fail;
14385 temp9 = True;
14386 }
14387 }
14388 if (obj9) {
14389 arg10 = obj9;
14390 }
14391 {
14392 PyThreadState* __tstate = wxPyBeginAllowThreads();
14393 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);
14394
14395 wxPyEndAllowThreads(__tstate);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 {
14399 resultobj = wxPyMake_wxObject(result);
14400 }
14401 {
14402 if (temp4)
14403 delete arg4;
14404 }
14405 {
14406 if (temp8)
14407 delete arg8;
14408 }
14409 {
14410 if (temp9)
14411 delete arg9;
14412 }
14413 return resultobj;
14414 fail:
14415 {
14416 if (temp4)
14417 delete arg4;
14418 }
14419 {
14420 if (temp8)
14421 delete arg8;
14422 }
14423 {
14424 if (temp9)
14425 delete arg9;
14426 }
14427 return NULL;
14428 }
14429
14430
14431 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14434 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
14435 wxToolBarToolBase *result;
14436 PyObject * obj0 = 0 ;
14437 PyObject * obj1 = 0 ;
14438 char *kwnames[] = {
14439 (char *) "self",(char *) "tool", NULL
14440 };
14441
14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
14443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14445 {
14446 PyThreadState* __tstate = wxPyBeginAllowThreads();
14447 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
14448
14449 wxPyEndAllowThreads(__tstate);
14450 if (PyErr_Occurred()) SWIG_fail;
14451 }
14452 {
14453 resultobj = wxPyMake_wxObject(result);
14454 }
14455 return resultobj;
14456 fail:
14457 return NULL;
14458 }
14459
14460
14461 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14462 PyObject *resultobj;
14463 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14464 size_t arg2 ;
14465 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
14466 wxToolBarToolBase *result;
14467 PyObject * obj0 = 0 ;
14468 PyObject * obj1 = 0 ;
14469 PyObject * obj2 = 0 ;
14470 char *kwnames[] = {
14471 (char *) "self",(char *) "pos",(char *) "tool", NULL
14472 };
14473
14474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14476 {
14477 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14478 if (PyErr_Occurred()) SWIG_fail;
14479 }
14480 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14481 {
14482 PyThreadState* __tstate = wxPyBeginAllowThreads();
14483 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
14484
14485 wxPyEndAllowThreads(__tstate);
14486 if (PyErr_Occurred()) SWIG_fail;
14487 }
14488 {
14489 resultobj = wxPyMake_wxObject(result);
14490 }
14491 return resultobj;
14492 fail:
14493 return NULL;
14494 }
14495
14496
14497 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14498 PyObject *resultobj;
14499 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14500 wxControl *arg2 = (wxControl *) 0 ;
14501 wxToolBarToolBase *result;
14502 PyObject * obj0 = 0 ;
14503 PyObject * obj1 = 0 ;
14504 char *kwnames[] = {
14505 (char *) "self",(char *) "control", NULL
14506 };
14507
14508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
14509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14511 {
14512 PyThreadState* __tstate = wxPyBeginAllowThreads();
14513 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
14514
14515 wxPyEndAllowThreads(__tstate);
14516 if (PyErr_Occurred()) SWIG_fail;
14517 }
14518 {
14519 resultobj = wxPyMake_wxObject(result);
14520 }
14521 return resultobj;
14522 fail:
14523 return NULL;
14524 }
14525
14526
14527 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14528 PyObject *resultobj;
14529 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14530 size_t arg2 ;
14531 wxControl *arg3 = (wxControl *) 0 ;
14532 wxToolBarToolBase *result;
14533 PyObject * obj0 = 0 ;
14534 PyObject * obj1 = 0 ;
14535 PyObject * obj2 = 0 ;
14536 char *kwnames[] = {
14537 (char *) "self",(char *) "pos",(char *) "control", NULL
14538 };
14539
14540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
14541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14542 {
14543 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14544 if (PyErr_Occurred()) SWIG_fail;
14545 }
14546 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14547 {
14548 PyThreadState* __tstate = wxPyBeginAllowThreads();
14549 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
14550
14551 wxPyEndAllowThreads(__tstate);
14552 if (PyErr_Occurred()) SWIG_fail;
14553 }
14554 {
14555 resultobj = wxPyMake_wxObject(result);
14556 }
14557 return resultobj;
14558 fail:
14559 return NULL;
14560 }
14561
14562
14563 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14564 PyObject *resultobj;
14565 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14566 int arg2 ;
14567 wxControl *result;
14568 PyObject * obj0 = 0 ;
14569 char *kwnames[] = {
14570 (char *) "self",(char *) "id", NULL
14571 };
14572
14573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
14574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14575 {
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 result = (wxControl *)(arg1)->FindControl(arg2);
14578
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 {
14583 resultobj = wxPyMake_wxObject(result);
14584 }
14585 return resultobj;
14586 fail:
14587 return NULL;
14588 }
14589
14590
14591 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14592 PyObject *resultobj;
14593 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14594 wxToolBarToolBase *result;
14595 PyObject * obj0 = 0 ;
14596 char *kwnames[] = {
14597 (char *) "self", NULL
14598 };
14599
14600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
14601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14602 {
14603 PyThreadState* __tstate = wxPyBeginAllowThreads();
14604 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
14605
14606 wxPyEndAllowThreads(__tstate);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 {
14610 resultobj = wxPyMake_wxObject(result);
14611 }
14612 return resultobj;
14613 fail:
14614 return NULL;
14615 }
14616
14617
14618 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj;
14620 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14621 size_t arg2 ;
14622 wxToolBarToolBase *result;
14623 PyObject * obj0 = 0 ;
14624 PyObject * obj1 = 0 ;
14625 char *kwnames[] = {
14626 (char *) "self",(char *) "pos", NULL
14627 };
14628
14629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
14630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14631 {
14632 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14633 if (PyErr_Occurred()) SWIG_fail;
14634 }
14635 {
14636 PyThreadState* __tstate = wxPyBeginAllowThreads();
14637 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
14638
14639 wxPyEndAllowThreads(__tstate);
14640 if (PyErr_Occurred()) SWIG_fail;
14641 }
14642 {
14643 resultobj = wxPyMake_wxObject(result);
14644 }
14645 return resultobj;
14646 fail:
14647 return NULL;
14648 }
14649
14650
14651 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14652 PyObject *resultobj;
14653 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14654 int arg2 ;
14655 wxToolBarToolBase *result;
14656 PyObject * obj0 = 0 ;
14657 char *kwnames[] = {
14658 (char *) "self",(char *) "id", NULL
14659 };
14660
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
14662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14663 {
14664 PyThreadState* __tstate = wxPyBeginAllowThreads();
14665 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
14666
14667 wxPyEndAllowThreads(__tstate);
14668 if (PyErr_Occurred()) SWIG_fail;
14669 }
14670 {
14671 resultobj = wxPyMake_wxObject(result);
14672 }
14673 return resultobj;
14674 fail:
14675 return NULL;
14676 }
14677
14678
14679 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14680 PyObject *resultobj;
14681 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14682 size_t arg2 ;
14683 bool result;
14684 PyObject * obj0 = 0 ;
14685 PyObject * obj1 = 0 ;
14686 char *kwnames[] = {
14687 (char *) "self",(char *) "pos", NULL
14688 };
14689
14690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
14691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14692 {
14693 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14694 if (PyErr_Occurred()) SWIG_fail;
14695 }
14696 {
14697 PyThreadState* __tstate = wxPyBeginAllowThreads();
14698 result = (bool)(arg1)->DeleteToolByPos(arg2);
14699
14700 wxPyEndAllowThreads(__tstate);
14701 if (PyErr_Occurred()) SWIG_fail;
14702 }
14703 resultobj = PyInt_FromLong((long)result);
14704 return resultobj;
14705 fail:
14706 return NULL;
14707 }
14708
14709
14710 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14711 PyObject *resultobj;
14712 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14713 int arg2 ;
14714 bool result;
14715 PyObject * obj0 = 0 ;
14716 char *kwnames[] = {
14717 (char *) "self",(char *) "id", NULL
14718 };
14719
14720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14722 {
14723 PyThreadState* __tstate = wxPyBeginAllowThreads();
14724 result = (bool)(arg1)->DeleteTool(arg2);
14725
14726 wxPyEndAllowThreads(__tstate);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
14729 resultobj = PyInt_FromLong((long)result);
14730 return resultobj;
14731 fail:
14732 return NULL;
14733 }
14734
14735
14736 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14737 PyObject *resultobj;
14738 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14739 PyObject * obj0 = 0 ;
14740 char *kwnames[] = {
14741 (char *) "self", NULL
14742 };
14743
14744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14746 {
14747 PyThreadState* __tstate = wxPyBeginAllowThreads();
14748 (arg1)->ClearTools();
14749
14750 wxPyEndAllowThreads(__tstate);
14751 if (PyErr_Occurred()) SWIG_fail;
14752 }
14753 Py_INCREF(Py_None); resultobj = Py_None;
14754 return resultobj;
14755 fail:
14756 return NULL;
14757 }
14758
14759
14760 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14761 PyObject *resultobj;
14762 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14763 bool result;
14764 PyObject * obj0 = 0 ;
14765 char *kwnames[] = {
14766 (char *) "self", NULL
14767 };
14768
14769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14771 {
14772 PyThreadState* __tstate = wxPyBeginAllowThreads();
14773 result = (bool)(arg1)->Realize();
14774
14775 wxPyEndAllowThreads(__tstate);
14776 if (PyErr_Occurred()) SWIG_fail;
14777 }
14778 resultobj = PyInt_FromLong((long)result);
14779 return resultobj;
14780 fail:
14781 return NULL;
14782 }
14783
14784
14785 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14786 PyObject *resultobj;
14787 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14788 int arg2 ;
14789 bool arg3 ;
14790 PyObject * obj0 = 0 ;
14791 PyObject * obj2 = 0 ;
14792 char *kwnames[] = {
14793 (char *) "self",(char *) "id",(char *) "enable", NULL
14794 };
14795
14796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14798 {
14799 arg3 = (bool) SPyObj_AsBool(obj2);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 {
14803 PyThreadState* __tstate = wxPyBeginAllowThreads();
14804 (arg1)->EnableTool(arg2,arg3);
14805
14806 wxPyEndAllowThreads(__tstate);
14807 if (PyErr_Occurred()) SWIG_fail;
14808 }
14809 Py_INCREF(Py_None); resultobj = Py_None;
14810 return resultobj;
14811 fail:
14812 return NULL;
14813 }
14814
14815
14816 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14817 PyObject *resultobj;
14818 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14819 int arg2 ;
14820 bool arg3 ;
14821 PyObject * obj0 = 0 ;
14822 PyObject * obj2 = 0 ;
14823 char *kwnames[] = {
14824 (char *) "self",(char *) "id",(char *) "toggle", NULL
14825 };
14826
14827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14829 {
14830 arg3 = (bool) SPyObj_AsBool(obj2);
14831 if (PyErr_Occurred()) SWIG_fail;
14832 }
14833 {
14834 PyThreadState* __tstate = wxPyBeginAllowThreads();
14835 (arg1)->ToggleTool(arg2,arg3);
14836
14837 wxPyEndAllowThreads(__tstate);
14838 if (PyErr_Occurred()) SWIG_fail;
14839 }
14840 Py_INCREF(Py_None); resultobj = Py_None;
14841 return resultobj;
14842 fail:
14843 return NULL;
14844 }
14845
14846
14847 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14848 PyObject *resultobj;
14849 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14850 int arg2 ;
14851 bool arg3 ;
14852 PyObject * obj0 = 0 ;
14853 PyObject * obj2 = 0 ;
14854 char *kwnames[] = {
14855 (char *) "self",(char *) "id",(char *) "toggle", NULL
14856 };
14857
14858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14860 {
14861 arg3 = (bool) SPyObj_AsBool(obj2);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 {
14865 PyThreadState* __tstate = wxPyBeginAllowThreads();
14866 (arg1)->SetToggle(arg2,arg3);
14867
14868 wxPyEndAllowThreads(__tstate);
14869 if (PyErr_Occurred()) SWIG_fail;
14870 }
14871 Py_INCREF(Py_None); resultobj = Py_None;
14872 return resultobj;
14873 fail:
14874 return NULL;
14875 }
14876
14877
14878 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14879 PyObject *resultobj;
14880 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14881 int arg2 ;
14882 PyObject *result;
14883 PyObject * obj0 = 0 ;
14884 char *kwnames[] = {
14885 (char *) "self",(char *) "id", NULL
14886 };
14887
14888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14890 {
14891 PyThreadState* __tstate = wxPyBeginAllowThreads();
14892 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14893
14894 wxPyEndAllowThreads(__tstate);
14895 if (PyErr_Occurred()) SWIG_fail;
14896 }
14897 resultobj = result;
14898 return resultobj;
14899 fail:
14900 return NULL;
14901 }
14902
14903
14904 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14905 PyObject *resultobj;
14906 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14907 int arg2 ;
14908 PyObject *arg3 = (PyObject *) 0 ;
14909 PyObject * obj0 = 0 ;
14910 PyObject * obj2 = 0 ;
14911 char *kwnames[] = {
14912 (char *) "self",(char *) "id",(char *) "clientData", NULL
14913 };
14914
14915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14917 arg3 = obj2;
14918 {
14919 PyThreadState* __tstate = wxPyBeginAllowThreads();
14920 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14921
14922 wxPyEndAllowThreads(__tstate);
14923 if (PyErr_Occurred()) SWIG_fail;
14924 }
14925 Py_INCREF(Py_None); resultobj = Py_None;
14926 return resultobj;
14927 fail:
14928 return NULL;
14929 }
14930
14931
14932 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14933 PyObject *resultobj;
14934 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14935 int arg2 ;
14936 int result;
14937 PyObject * obj0 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "self",(char *) "id", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14944 {
14945 PyThreadState* __tstate = wxPyBeginAllowThreads();
14946 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14947
14948 wxPyEndAllowThreads(__tstate);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
14951 resultobj = PyInt_FromLong((long)result);
14952 return resultobj;
14953 fail:
14954 return NULL;
14955 }
14956
14957
14958 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14959 PyObject *resultobj;
14960 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14961 int arg2 ;
14962 bool result;
14963 PyObject * obj0 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self",(char *) "id", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 result = (bool)(arg1)->GetToolState(arg2);
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
14977 resultobj = PyInt_FromLong((long)result);
14978 return resultobj;
14979 fail:
14980 return NULL;
14981 }
14982
14983
14984 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14985 PyObject *resultobj;
14986 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14987 int arg2 ;
14988 bool result;
14989 PyObject * obj0 = 0 ;
14990 char *kwnames[] = {
14991 (char *) "self",(char *) "id", NULL
14992 };
14993
14994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 result = (bool)(arg1)->GetToolEnabled(arg2);
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 resultobj = PyInt_FromLong((long)result);
15004 return resultobj;
15005 fail:
15006 return NULL;
15007 }
15008
15009
15010 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15011 PyObject *resultobj;
15012 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15013 int arg2 ;
15014 wxString *arg3 = 0 ;
15015 bool temp3 = False ;
15016 PyObject * obj0 = 0 ;
15017 PyObject * obj2 = 0 ;
15018 char *kwnames[] = {
15019 (char *) "self",(char *) "id",(char *) "helpString", NULL
15020 };
15021
15022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
15023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15024 {
15025 arg3 = wxString_in_helper(obj2);
15026 if (arg3 == NULL) SWIG_fail;
15027 temp3 = True;
15028 }
15029 {
15030 PyThreadState* __tstate = wxPyBeginAllowThreads();
15031 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
15032
15033 wxPyEndAllowThreads(__tstate);
15034 if (PyErr_Occurred()) SWIG_fail;
15035 }
15036 Py_INCREF(Py_None); resultobj = Py_None;
15037 {
15038 if (temp3)
15039 delete arg3;
15040 }
15041 return resultobj;
15042 fail:
15043 {
15044 if (temp3)
15045 delete arg3;
15046 }
15047 return NULL;
15048 }
15049
15050
15051 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15052 PyObject *resultobj;
15053 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15054 int arg2 ;
15055 wxString result;
15056 PyObject * obj0 = 0 ;
15057 char *kwnames[] = {
15058 (char *) "self",(char *) "id", NULL
15059 };
15060
15061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
15062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15063 {
15064 PyThreadState* __tstate = wxPyBeginAllowThreads();
15065 result = (arg1)->GetToolShortHelp(arg2);
15066
15067 wxPyEndAllowThreads(__tstate);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 {
15071 #if wxUSE_UNICODE
15072 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15073 #else
15074 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15075 #endif
15076 }
15077 return resultobj;
15078 fail:
15079 return NULL;
15080 }
15081
15082
15083 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15084 PyObject *resultobj;
15085 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15086 int arg2 ;
15087 wxString *arg3 = 0 ;
15088 bool temp3 = False ;
15089 PyObject * obj0 = 0 ;
15090 PyObject * obj2 = 0 ;
15091 char *kwnames[] = {
15092 (char *) "self",(char *) "id",(char *) "helpString", NULL
15093 };
15094
15095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
15096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15097 {
15098 arg3 = wxString_in_helper(obj2);
15099 if (arg3 == NULL) SWIG_fail;
15100 temp3 = True;
15101 }
15102 {
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
15105
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
15109 Py_INCREF(Py_None); resultobj = Py_None;
15110 {
15111 if (temp3)
15112 delete arg3;
15113 }
15114 return resultobj;
15115 fail:
15116 {
15117 if (temp3)
15118 delete arg3;
15119 }
15120 return NULL;
15121 }
15122
15123
15124 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15125 PyObject *resultobj;
15126 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15127 int arg2 ;
15128 wxString result;
15129 PyObject * obj0 = 0 ;
15130 char *kwnames[] = {
15131 (char *) "self",(char *) "id", NULL
15132 };
15133
15134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
15135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15136 {
15137 PyThreadState* __tstate = wxPyBeginAllowThreads();
15138 result = (arg1)->GetToolLongHelp(arg2);
15139
15140 wxPyEndAllowThreads(__tstate);
15141 if (PyErr_Occurred()) SWIG_fail;
15142 }
15143 {
15144 #if wxUSE_UNICODE
15145 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
15146 #else
15147 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
15148 #endif
15149 }
15150 return resultobj;
15151 fail:
15152 return NULL;
15153 }
15154
15155
15156 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
15157 PyObject *resultobj;
15158 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15159 int arg2 ;
15160 int arg3 ;
15161 PyObject * obj0 = 0 ;
15162 char *kwnames[] = {
15163 (char *) "self",(char *) "x",(char *) "y", NULL
15164 };
15165
15166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
15167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15168 {
15169 PyThreadState* __tstate = wxPyBeginAllowThreads();
15170 (arg1)->SetMargins(arg2,arg3);
15171
15172 wxPyEndAllowThreads(__tstate);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 }
15175 Py_INCREF(Py_None); resultobj = Py_None;
15176 return resultobj;
15177 fail:
15178 return NULL;
15179 }
15180
15181
15182 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15183 PyObject *resultobj;
15184 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15185 wxSize *arg2 = 0 ;
15186 wxSize temp2 ;
15187 PyObject * obj0 = 0 ;
15188 PyObject * obj1 = 0 ;
15189 char *kwnames[] = {
15190 (char *) "self",(char *) "size", NULL
15191 };
15192
15193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
15194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15195 {
15196 arg2 = &temp2;
15197 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15198 }
15199 {
15200 PyThreadState* __tstate = wxPyBeginAllowThreads();
15201 (arg1)->SetMargins((wxSize const &)*arg2);
15202
15203 wxPyEndAllowThreads(__tstate);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
15206 Py_INCREF(Py_None); resultobj = Py_None;
15207 return resultobj;
15208 fail:
15209 return NULL;
15210 }
15211
15212
15213 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
15214 PyObject *resultobj;
15215 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15216 int arg2 ;
15217 PyObject * obj0 = 0 ;
15218 char *kwnames[] = {
15219 (char *) "self",(char *) "packing", NULL
15220 };
15221
15222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
15223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15224 {
15225 PyThreadState* __tstate = wxPyBeginAllowThreads();
15226 (arg1)->SetToolPacking(arg2);
15227
15228 wxPyEndAllowThreads(__tstate);
15229 if (PyErr_Occurred()) SWIG_fail;
15230 }
15231 Py_INCREF(Py_None); resultobj = Py_None;
15232 return resultobj;
15233 fail:
15234 return NULL;
15235 }
15236
15237
15238 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
15239 PyObject *resultobj;
15240 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15241 int arg2 ;
15242 PyObject * obj0 = 0 ;
15243 char *kwnames[] = {
15244 (char *) "self",(char *) "separation", NULL
15245 };
15246
15247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
15248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15249 {
15250 PyThreadState* __tstate = wxPyBeginAllowThreads();
15251 (arg1)->SetToolSeparation(arg2);
15252
15253 wxPyEndAllowThreads(__tstate);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
15256 Py_INCREF(Py_None); resultobj = Py_None;
15257 return resultobj;
15258 fail:
15259 return NULL;
15260 }
15261
15262
15263 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj;
15265 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15266 wxSize result;
15267 PyObject * obj0 = 0 ;
15268 char *kwnames[] = {
15269 (char *) "self", NULL
15270 };
15271
15272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
15273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = (arg1)->GetToolMargins();
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 {
15282 wxSize * resultptr;
15283 resultptr = new wxSize((wxSize &) result);
15284 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15285 }
15286 return resultobj;
15287 fail:
15288 return NULL;
15289 }
15290
15291
15292 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15293 PyObject *resultobj;
15294 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15295 wxSize result;
15296 PyObject * obj0 = 0 ;
15297 char *kwnames[] = {
15298 (char *) "self", NULL
15299 };
15300
15301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
15302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15303 {
15304 PyThreadState* __tstate = wxPyBeginAllowThreads();
15305 result = (arg1)->GetMargins();
15306
15307 wxPyEndAllowThreads(__tstate);
15308 if (PyErr_Occurred()) SWIG_fail;
15309 }
15310 {
15311 wxSize * resultptr;
15312 resultptr = new wxSize((wxSize &) result);
15313 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15314 }
15315 return resultobj;
15316 fail:
15317 return NULL;
15318 }
15319
15320
15321 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
15322 PyObject *resultobj;
15323 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15324 int result;
15325 PyObject * obj0 = 0 ;
15326 char *kwnames[] = {
15327 (char *) "self", NULL
15328 };
15329
15330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
15331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 result = (int)(arg1)->GetToolPacking();
15335
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15339 resultobj = PyInt_FromLong((long)result);
15340 return resultobj;
15341 fail:
15342 return NULL;
15343 }
15344
15345
15346 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
15347 PyObject *resultobj;
15348 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15349 int result;
15350 PyObject * obj0 = 0 ;
15351 char *kwnames[] = {
15352 (char *) "self", NULL
15353 };
15354
15355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
15356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15357 {
15358 PyThreadState* __tstate = wxPyBeginAllowThreads();
15359 result = (int)(arg1)->GetToolSeparation();
15360
15361 wxPyEndAllowThreads(__tstate);
15362 if (PyErr_Occurred()) SWIG_fail;
15363 }
15364 resultobj = PyInt_FromLong((long)result);
15365 return resultobj;
15366 fail:
15367 return NULL;
15368 }
15369
15370
15371 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15372 PyObject *resultobj;
15373 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15374 int arg2 ;
15375 PyObject * obj0 = 0 ;
15376 char *kwnames[] = {
15377 (char *) "self",(char *) "nRows", NULL
15378 };
15379
15380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
15381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15382 {
15383 PyThreadState* __tstate = wxPyBeginAllowThreads();
15384 (arg1)->SetRows(arg2);
15385
15386 wxPyEndAllowThreads(__tstate);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 }
15389 Py_INCREF(Py_None); resultobj = Py_None;
15390 return resultobj;
15391 fail:
15392 return NULL;
15393 }
15394
15395
15396 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15397 PyObject *resultobj;
15398 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15399 int arg2 ;
15400 int arg3 ;
15401 PyObject * obj0 = 0 ;
15402 char *kwnames[] = {
15403 (char *) "self",(char *) "rows",(char *) "cols", NULL
15404 };
15405
15406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
15407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15408 {
15409 PyThreadState* __tstate = wxPyBeginAllowThreads();
15410 (arg1)->SetMaxRowsCols(arg2,arg3);
15411
15412 wxPyEndAllowThreads(__tstate);
15413 if (PyErr_Occurred()) SWIG_fail;
15414 }
15415 Py_INCREF(Py_None); resultobj = Py_None;
15416 return resultobj;
15417 fail:
15418 return NULL;
15419 }
15420
15421
15422 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15423 PyObject *resultobj;
15424 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15425 int result;
15426 PyObject * obj0 = 0 ;
15427 char *kwnames[] = {
15428 (char *) "self", NULL
15429 };
15430
15431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15433 {
15434 PyThreadState* __tstate = wxPyBeginAllowThreads();
15435 result = (int)(arg1)->GetMaxRows();
15436
15437 wxPyEndAllowThreads(__tstate);
15438 if (PyErr_Occurred()) SWIG_fail;
15439 }
15440 resultobj = PyInt_FromLong((long)result);
15441 return resultobj;
15442 fail:
15443 return NULL;
15444 }
15445
15446
15447 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15448 PyObject *resultobj;
15449 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15450 int result;
15451 PyObject * obj0 = 0 ;
15452 char *kwnames[] = {
15453 (char *) "self", NULL
15454 };
15455
15456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15458 {
15459 PyThreadState* __tstate = wxPyBeginAllowThreads();
15460 result = (int)(arg1)->GetMaxCols();
15461
15462 wxPyEndAllowThreads(__tstate);
15463 if (PyErr_Occurred()) SWIG_fail;
15464 }
15465 resultobj = PyInt_FromLong((long)result);
15466 return resultobj;
15467 fail:
15468 return NULL;
15469 }
15470
15471
15472 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15473 PyObject *resultobj;
15474 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15475 wxSize *arg2 = 0 ;
15476 wxSize temp2 ;
15477 PyObject * obj0 = 0 ;
15478 PyObject * obj1 = 0 ;
15479 char *kwnames[] = {
15480 (char *) "self",(char *) "size", NULL
15481 };
15482
15483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15485 {
15486 arg2 = &temp2;
15487 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15488 }
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 (arg1)->SetToolBitmapSize((wxSize 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
15503 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15504 PyObject *resultobj;
15505 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15506 wxSize result;
15507 PyObject * obj0 = 0 ;
15508 char *kwnames[] = {
15509 (char *) "self", NULL
15510 };
15511
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15514 {
15515 PyThreadState* __tstate = wxPyBeginAllowThreads();
15516 result = (arg1)->GetToolBitmapSize();
15517
15518 wxPyEndAllowThreads(__tstate);
15519 if (PyErr_Occurred()) SWIG_fail;
15520 }
15521 {
15522 wxSize * resultptr;
15523 resultptr = new wxSize((wxSize &) result);
15524 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15525 }
15526 return resultobj;
15527 fail:
15528 return NULL;
15529 }
15530
15531
15532 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15533 PyObject *resultobj;
15534 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15535 wxSize result;
15536 PyObject * obj0 = 0 ;
15537 char *kwnames[] = {
15538 (char *) "self", NULL
15539 };
15540
15541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 result = (arg1)->GetToolSize();
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 {
15551 wxSize * resultptr;
15552 resultptr = new wxSize((wxSize &) result);
15553 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15554 }
15555 return resultobj;
15556 fail:
15557 return NULL;
15558 }
15559
15560
15561 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15562 PyObject *resultobj;
15563 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15564 int arg2 ;
15565 int arg3 ;
15566 wxToolBarToolBase *result;
15567 PyObject * obj0 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self",(char *) "x",(char *) "y", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15574 {
15575 PyThreadState* __tstate = wxPyBeginAllowThreads();
15576 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15577
15578 wxPyEndAllowThreads(__tstate);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 {
15582 resultobj = wxPyMake_wxObject(result);
15583 }
15584 return resultobj;
15585 fail:
15586 return NULL;
15587 }
15588
15589
15590 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
15591 PyObject *resultobj;
15592 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15593 int arg2 ;
15594 wxToolBarToolBase *result;
15595 PyObject * obj0 = 0 ;
15596 char *kwnames[] = {
15597 (char *) "self",(char *) "toolid", NULL
15598 };
15599
15600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
15601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15602 {
15603 PyThreadState* __tstate = wxPyBeginAllowThreads();
15604 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
15605
15606 wxPyEndAllowThreads(__tstate);
15607 if (PyErr_Occurred()) SWIG_fail;
15608 }
15609 {
15610 resultobj = wxPyMake_wxObject(result);
15611 }
15612 return resultobj;
15613 fail:
15614 return NULL;
15615 }
15616
15617
15618 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15619 PyObject *resultobj;
15620 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15621 bool result;
15622 PyObject * obj0 = 0 ;
15623 char *kwnames[] = {
15624 (char *) "self", NULL
15625 };
15626
15627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15629 {
15630 PyThreadState* __tstate = wxPyBeginAllowThreads();
15631 result = (bool)(arg1)->IsVertical();
15632
15633 wxPyEndAllowThreads(__tstate);
15634 if (PyErr_Occurred()) SWIG_fail;
15635 }
15636 resultobj = PyInt_FromLong((long)result);
15637 return resultobj;
15638 fail:
15639 return NULL;
15640 }
15641
15642
15643 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
15644 PyObject *obj;
15645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15646 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
15647 Py_INCREF(obj);
15648 return Py_BuildValue((char *)"");
15649 }
15650 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15651 PyObject *resultobj;
15652 wxWindow *arg1 = (wxWindow *) 0 ;
15653 int arg2 ;
15654 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15655 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15656 wxSize const &arg4_defvalue = wxDefaultSize ;
15657 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15658 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15659 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
15660 wxString *arg6 = (wxString *) &arg6_defvalue ;
15661 wxToolBar *result;
15662 wxPoint temp3 ;
15663 wxSize temp4 ;
15664 bool temp6 = False ;
15665 PyObject * obj0 = 0 ;
15666 PyObject * obj2 = 0 ;
15667 PyObject * obj3 = 0 ;
15668 PyObject * obj5 = 0 ;
15669 char *kwnames[] = {
15670 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15671 };
15672
15673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
15674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15675 if (obj2) {
15676 {
15677 arg3 = &temp3;
15678 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15679 }
15680 }
15681 if (obj3) {
15682 {
15683 arg4 = &temp4;
15684 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15685 }
15686 }
15687 if (obj5) {
15688 {
15689 arg6 = wxString_in_helper(obj5);
15690 if (arg6 == NULL) SWIG_fail;
15691 temp6 = True;
15692 }
15693 }
15694 {
15695 PyThreadState* __tstate = wxPyBeginAllowThreads();
15696 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15697
15698 wxPyEndAllowThreads(__tstate);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 {
15702 resultobj = wxPyMake_wxObject(result);
15703 }
15704 {
15705 if (temp6)
15706 delete arg6;
15707 }
15708 return resultobj;
15709 fail:
15710 {
15711 if (temp6)
15712 delete arg6;
15713 }
15714 return NULL;
15715 }
15716
15717
15718 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15719 PyObject *resultobj;
15720 wxToolBar *result;
15721 char *kwnames[] = {
15722 NULL
15723 };
15724
15725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
15726 {
15727 PyThreadState* __tstate = wxPyBeginAllowThreads();
15728 result = (wxToolBar *)new wxToolBar();
15729
15730 wxPyEndAllowThreads(__tstate);
15731 if (PyErr_Occurred()) SWIG_fail;
15732 }
15733 {
15734 resultobj = wxPyMake_wxObject(result);
15735 }
15736 return resultobj;
15737 fail:
15738 return NULL;
15739 }
15740
15741
15742 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj;
15744 wxToolBar *arg1 = (wxToolBar *) 0 ;
15745 wxWindow *arg2 = (wxWindow *) 0 ;
15746 int arg3 ;
15747 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15748 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15749 wxSize const &arg5_defvalue = wxDefaultSize ;
15750 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15751 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15752 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15753 wxString *arg7 = (wxString *) &arg7_defvalue ;
15754 bool result;
15755 wxPoint temp4 ;
15756 wxSize temp5 ;
15757 bool temp7 = False ;
15758 PyObject * obj0 = 0 ;
15759 PyObject * obj1 = 0 ;
15760 PyObject * obj3 = 0 ;
15761 PyObject * obj4 = 0 ;
15762 PyObject * obj6 = 0 ;
15763 char *kwnames[] = {
15764 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15765 };
15766
15767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15769 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15770 if (obj3) {
15771 {
15772 arg4 = &temp4;
15773 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15774 }
15775 }
15776 if (obj4) {
15777 {
15778 arg5 = &temp5;
15779 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15780 }
15781 }
15782 if (obj6) {
15783 {
15784 arg7 = wxString_in_helper(obj6);
15785 if (arg7 == NULL) SWIG_fail;
15786 temp7 = True;
15787 }
15788 }
15789 {
15790 PyThreadState* __tstate = wxPyBeginAllowThreads();
15791 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15792
15793 wxPyEndAllowThreads(__tstate);
15794 if (PyErr_Occurred()) SWIG_fail;
15795 }
15796 resultobj = PyInt_FromLong((long)result);
15797 {
15798 if (temp7)
15799 delete arg7;
15800 }
15801 return resultobj;
15802 fail:
15803 {
15804 if (temp7)
15805 delete arg7;
15806 }
15807 return NULL;
15808 }
15809
15810
15811 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15812 PyObject *resultobj;
15813 wxToolBar *arg1 = (wxToolBar *) 0 ;
15814 int arg2 ;
15815 int arg3 ;
15816 wxToolBarToolBase *result;
15817 PyObject * obj0 = 0 ;
15818 char *kwnames[] = {
15819 (char *) "self",(char *) "x",(char *) "y", NULL
15820 };
15821
15822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15824 {
15825 PyThreadState* __tstate = wxPyBeginAllowThreads();
15826 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15827
15828 wxPyEndAllowThreads(__tstate);
15829 if (PyErr_Occurred()) SWIG_fail;
15830 }
15831 {
15832 resultobj = wxPyMake_wxObject(result);
15833 }
15834 return resultobj;
15835 fail:
15836 return NULL;
15837 }
15838
15839
15840 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15841 PyObject *obj;
15842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15843 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15844 Py_INCREF(obj);
15845 return Py_BuildValue((char *)"");
15846 }
15847 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
15848 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
15849 return 1;
15850 }
15851
15852
15853 static PyObject *_wrap_ListCtrlNameStr_get() {
15854 PyObject *pyobj;
15855
15856 {
15857 #if wxUSE_UNICODE
15858 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15859 #else
15860 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15861 #endif
15862 }
15863 return pyobj;
15864 }
15865
15866
15867 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15868 PyObject *resultobj;
15869 wxColour const &arg1_defvalue = wxNullColour ;
15870 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15871 wxColour const &arg2_defvalue = wxNullColour ;
15872 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15873 wxFont const &arg3_defvalue = wxNullFont ;
15874 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15875 wxListItemAttr *result;
15876 wxColour temp1 ;
15877 wxColour temp2 ;
15878 PyObject * obj0 = 0 ;
15879 PyObject * obj1 = 0 ;
15880 PyObject * obj2 = 0 ;
15881 char *kwnames[] = {
15882 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15883 };
15884
15885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15886 if (obj0) {
15887 {
15888 arg1 = &temp1;
15889 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15890 }
15891 }
15892 if (obj1) {
15893 {
15894 arg2 = &temp2;
15895 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15896 }
15897 }
15898 if (obj2) {
15899 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15900 if (arg3 == NULL) {
15901 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15902 }
15903 }
15904 {
15905 PyThreadState* __tstate = wxPyBeginAllowThreads();
15906 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15907
15908 wxPyEndAllowThreads(__tstate);
15909 if (PyErr_Occurred()) SWIG_fail;
15910 }
15911 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15912 return resultobj;
15913 fail:
15914 return NULL;
15915 }
15916
15917
15918 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15919 PyObject *resultobj;
15920 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15921 wxColour *arg2 = 0 ;
15922 wxColour temp2 ;
15923 PyObject * obj0 = 0 ;
15924 PyObject * obj1 = 0 ;
15925 char *kwnames[] = {
15926 (char *) "self",(char *) "colText", NULL
15927 };
15928
15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15931 {
15932 arg2 = &temp2;
15933 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15934 }
15935 {
15936 PyThreadState* __tstate = wxPyBeginAllowThreads();
15937 (arg1)->SetTextColour((wxColour const &)*arg2);
15938
15939 wxPyEndAllowThreads(__tstate);
15940 if (PyErr_Occurred()) SWIG_fail;
15941 }
15942 Py_INCREF(Py_None); resultobj = Py_None;
15943 return resultobj;
15944 fail:
15945 return NULL;
15946 }
15947
15948
15949 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15950 PyObject *resultobj;
15951 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15952 wxColour *arg2 = 0 ;
15953 wxColour temp2 ;
15954 PyObject * obj0 = 0 ;
15955 PyObject * obj1 = 0 ;
15956 char *kwnames[] = {
15957 (char *) "self",(char *) "colBack", NULL
15958 };
15959
15960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15962 {
15963 arg2 = &temp2;
15964 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15965 }
15966 {
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
15968 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 Py_INCREF(Py_None); resultobj = Py_None;
15974 return resultobj;
15975 fail:
15976 return NULL;
15977 }
15978
15979
15980 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15981 PyObject *resultobj;
15982 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15983 wxFont *arg2 = 0 ;
15984 PyObject * obj0 = 0 ;
15985 PyObject * obj1 = 0 ;
15986 char *kwnames[] = {
15987 (char *) "self",(char *) "font", NULL
15988 };
15989
15990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15993 if (arg2 == NULL) {
15994 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15995 }
15996 {
15997 PyThreadState* __tstate = wxPyBeginAllowThreads();
15998 (arg1)->SetFont((wxFont const &)*arg2);
15999
16000 wxPyEndAllowThreads(__tstate);
16001 if (PyErr_Occurred()) SWIG_fail;
16002 }
16003 Py_INCREF(Py_None); resultobj = Py_None;
16004 return resultobj;
16005 fail:
16006 return NULL;
16007 }
16008
16009
16010 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16011 PyObject *resultobj;
16012 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16013 bool result;
16014 PyObject * obj0 = 0 ;
16015 char *kwnames[] = {
16016 (char *) "self", NULL
16017 };
16018
16019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
16020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16021 {
16022 PyThreadState* __tstate = wxPyBeginAllowThreads();
16023 result = (bool)(arg1)->HasTextColour();
16024
16025 wxPyEndAllowThreads(__tstate);
16026 if (PyErr_Occurred()) SWIG_fail;
16027 }
16028 resultobj = PyInt_FromLong((long)result);
16029 return resultobj;
16030 fail:
16031 return NULL;
16032 }
16033
16034
16035 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16036 PyObject *resultobj;
16037 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16038 bool result;
16039 PyObject * obj0 = 0 ;
16040 char *kwnames[] = {
16041 (char *) "self", NULL
16042 };
16043
16044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
16045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16046 {
16047 PyThreadState* __tstate = wxPyBeginAllowThreads();
16048 result = (bool)(arg1)->HasBackgroundColour();
16049
16050 wxPyEndAllowThreads(__tstate);
16051 if (PyErr_Occurred()) SWIG_fail;
16052 }
16053 resultobj = PyInt_FromLong((long)result);
16054 return resultobj;
16055 fail:
16056 return NULL;
16057 }
16058
16059
16060 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16061 PyObject *resultobj;
16062 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16063 bool result;
16064 PyObject * obj0 = 0 ;
16065 char *kwnames[] = {
16066 (char *) "self", NULL
16067 };
16068
16069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
16070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16071 {
16072 PyThreadState* __tstate = wxPyBeginAllowThreads();
16073 result = (bool)(arg1)->HasFont();
16074
16075 wxPyEndAllowThreads(__tstate);
16076 if (PyErr_Occurred()) SWIG_fail;
16077 }
16078 resultobj = PyInt_FromLong((long)result);
16079 return resultobj;
16080 fail:
16081 return NULL;
16082 }
16083
16084
16085 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16086 PyObject *resultobj;
16087 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16088 wxColour result;
16089 PyObject * obj0 = 0 ;
16090 char *kwnames[] = {
16091 (char *) "self", NULL
16092 };
16093
16094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
16095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16096 {
16097 PyThreadState* __tstate = wxPyBeginAllowThreads();
16098 result = (arg1)->GetTextColour();
16099
16100 wxPyEndAllowThreads(__tstate);
16101 if (PyErr_Occurred()) SWIG_fail;
16102 }
16103 {
16104 wxColour * resultptr;
16105 resultptr = new wxColour((wxColour &) result);
16106 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16107 }
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16117 wxColour result;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
16124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16125 {
16126 PyThreadState* __tstate = wxPyBeginAllowThreads();
16127 result = (arg1)->GetBackgroundColour();
16128
16129 wxPyEndAllowThreads(__tstate);
16130 if (PyErr_Occurred()) SWIG_fail;
16131 }
16132 {
16133 wxColour * resultptr;
16134 resultptr = new wxColour((wxColour &) result);
16135 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16136 }
16137 return resultobj;
16138 fail:
16139 return NULL;
16140 }
16141
16142
16143 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16144 PyObject *resultobj;
16145 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16146 wxFont result;
16147 PyObject * obj0 = 0 ;
16148 char *kwnames[] = {
16149 (char *) "self", NULL
16150 };
16151
16152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
16153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16154 {
16155 PyThreadState* __tstate = wxPyBeginAllowThreads();
16156 result = (arg1)->GetFont();
16157
16158 wxPyEndAllowThreads(__tstate);
16159 if (PyErr_Occurred()) SWIG_fail;
16160 }
16161 {
16162 wxFont * resultptr;
16163 resultptr = new wxFont((wxFont &) result);
16164 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16165 }
16166 return resultobj;
16167 fail:
16168 return NULL;
16169 }
16170
16171
16172 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
16173 PyObject *resultobj;
16174 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
16175 PyObject * obj0 = 0 ;
16176 char *kwnames[] = {
16177 (char *) "self", NULL
16178 };
16179
16180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
16181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16182 {
16183 PyThreadState* __tstate = wxPyBeginAllowThreads();
16184 wxListItemAttr_Destroy(arg1);
16185
16186 wxPyEndAllowThreads(__tstate);
16187 if (PyErr_Occurred()) SWIG_fail;
16188 }
16189 Py_INCREF(Py_None); resultobj = Py_None;
16190 return resultobj;
16191 fail:
16192 return NULL;
16193 }
16194
16195
16196 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
16197 PyObject *obj;
16198 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16199 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
16200 Py_INCREF(obj);
16201 return Py_BuildValue((char *)"");
16202 }
16203 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16204 PyObject *resultobj;
16205 wxListItem *result;
16206 char *kwnames[] = {
16207 NULL
16208 };
16209
16210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
16211 {
16212 PyThreadState* __tstate = wxPyBeginAllowThreads();
16213 result = (wxListItem *)new wxListItem();
16214
16215 wxPyEndAllowThreads(__tstate);
16216 if (PyErr_Occurred()) SWIG_fail;
16217 }
16218 {
16219 resultobj = wxPyMake_wxObject(result);
16220 }
16221 return resultobj;
16222 fail:
16223 return NULL;
16224 }
16225
16226
16227 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16228 PyObject *resultobj;
16229 wxListItem *arg1 = (wxListItem *) 0 ;
16230 PyObject * obj0 = 0 ;
16231 char *kwnames[] = {
16232 (char *) "self", NULL
16233 };
16234
16235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
16236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16237 {
16238 PyThreadState* __tstate = wxPyBeginAllowThreads();
16239 delete arg1;
16240
16241 wxPyEndAllowThreads(__tstate);
16242 if (PyErr_Occurred()) SWIG_fail;
16243 }
16244 Py_INCREF(Py_None); resultobj = Py_None;
16245 return resultobj;
16246 fail:
16247 return NULL;
16248 }
16249
16250
16251 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
16252 PyObject *resultobj;
16253 wxListItem *arg1 = (wxListItem *) 0 ;
16254 PyObject * obj0 = 0 ;
16255 char *kwnames[] = {
16256 (char *) "self", NULL
16257 };
16258
16259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
16260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16261 {
16262 PyThreadState* __tstate = wxPyBeginAllowThreads();
16263 (arg1)->Clear();
16264
16265 wxPyEndAllowThreads(__tstate);
16266 if (PyErr_Occurred()) SWIG_fail;
16267 }
16268 Py_INCREF(Py_None); resultobj = Py_None;
16269 return resultobj;
16270 fail:
16271 return NULL;
16272 }
16273
16274
16275 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16276 PyObject *resultobj;
16277 wxListItem *arg1 = (wxListItem *) 0 ;
16278 PyObject * obj0 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16285 {
16286 PyThreadState* __tstate = wxPyBeginAllowThreads();
16287 (arg1)->ClearAttributes();
16288
16289 wxPyEndAllowThreads(__tstate);
16290 if (PyErr_Occurred()) SWIG_fail;
16291 }
16292 Py_INCREF(Py_None); resultobj = Py_None;
16293 return resultobj;
16294 fail:
16295 return NULL;
16296 }
16297
16298
16299 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16300 PyObject *resultobj;
16301 wxListItem *arg1 = (wxListItem *) 0 ;
16302 long arg2 ;
16303 PyObject * obj0 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self",(char *) "mask", NULL
16306 };
16307
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
16309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 (arg1)->SetMask(arg2);
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
16324 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16325 PyObject *resultobj;
16326 wxListItem *arg1 = (wxListItem *) 0 ;
16327 long arg2 ;
16328 PyObject * obj0 = 0 ;
16329 char *kwnames[] = {
16330 (char *) "self",(char *) "id", NULL
16331 };
16332
16333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
16334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16335 {
16336 PyThreadState* __tstate = wxPyBeginAllowThreads();
16337 (arg1)->SetId(arg2);
16338
16339 wxPyEndAllowThreads(__tstate);
16340 if (PyErr_Occurred()) SWIG_fail;
16341 }
16342 Py_INCREF(Py_None); resultobj = Py_None;
16343 return resultobj;
16344 fail:
16345 return NULL;
16346 }
16347
16348
16349 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16350 PyObject *resultobj;
16351 wxListItem *arg1 = (wxListItem *) 0 ;
16352 int arg2 ;
16353 PyObject * obj0 = 0 ;
16354 char *kwnames[] = {
16355 (char *) "self",(char *) "col", NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
16359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16360 {
16361 PyThreadState* __tstate = wxPyBeginAllowThreads();
16362 (arg1)->SetColumn(arg2);
16363
16364 wxPyEndAllowThreads(__tstate);
16365 if (PyErr_Occurred()) SWIG_fail;
16366 }
16367 Py_INCREF(Py_None); resultobj = Py_None;
16368 return resultobj;
16369 fail:
16370 return NULL;
16371 }
16372
16373
16374 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16375 PyObject *resultobj;
16376 wxListItem *arg1 = (wxListItem *) 0 ;
16377 long arg2 ;
16378 PyObject * obj0 = 0 ;
16379 char *kwnames[] = {
16380 (char *) "self",(char *) "state", NULL
16381 };
16382
16383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
16384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16385 {
16386 PyThreadState* __tstate = wxPyBeginAllowThreads();
16387 (arg1)->SetState(arg2);
16388
16389 wxPyEndAllowThreads(__tstate);
16390 if (PyErr_Occurred()) SWIG_fail;
16391 }
16392 Py_INCREF(Py_None); resultobj = Py_None;
16393 return resultobj;
16394 fail:
16395 return NULL;
16396 }
16397
16398
16399 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16400 PyObject *resultobj;
16401 wxListItem *arg1 = (wxListItem *) 0 ;
16402 long arg2 ;
16403 PyObject * obj0 = 0 ;
16404 char *kwnames[] = {
16405 (char *) "self",(char *) "stateMask", NULL
16406 };
16407
16408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
16409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16410 {
16411 PyThreadState* __tstate = wxPyBeginAllowThreads();
16412 (arg1)->SetStateMask(arg2);
16413
16414 wxPyEndAllowThreads(__tstate);
16415 if (PyErr_Occurred()) SWIG_fail;
16416 }
16417 Py_INCREF(Py_None); resultobj = Py_None;
16418 return resultobj;
16419 fail:
16420 return NULL;
16421 }
16422
16423
16424 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16425 PyObject *resultobj;
16426 wxListItem *arg1 = (wxListItem *) 0 ;
16427 wxString *arg2 = 0 ;
16428 bool temp2 = False ;
16429 PyObject * obj0 = 0 ;
16430 PyObject * obj1 = 0 ;
16431 char *kwnames[] = {
16432 (char *) "self",(char *) "text", NULL
16433 };
16434
16435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
16436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16437 {
16438 arg2 = wxString_in_helper(obj1);
16439 if (arg2 == NULL) SWIG_fail;
16440 temp2 = True;
16441 }
16442 {
16443 PyThreadState* __tstate = wxPyBeginAllowThreads();
16444 (arg1)->SetText((wxString const &)*arg2);
16445
16446 wxPyEndAllowThreads(__tstate);
16447 if (PyErr_Occurred()) SWIG_fail;
16448 }
16449 Py_INCREF(Py_None); resultobj = Py_None;
16450 {
16451 if (temp2)
16452 delete arg2;
16453 }
16454 return resultobj;
16455 fail:
16456 {
16457 if (temp2)
16458 delete arg2;
16459 }
16460 return NULL;
16461 }
16462
16463
16464 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16465 PyObject *resultobj;
16466 wxListItem *arg1 = (wxListItem *) 0 ;
16467 int arg2 ;
16468 PyObject * obj0 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self",(char *) "image", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
16474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 (arg1)->SetImage(arg2);
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 Py_INCREF(Py_None); resultobj = Py_None;
16483 return resultobj;
16484 fail:
16485 return NULL;
16486 }
16487
16488
16489 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16490 PyObject *resultobj;
16491 wxListItem *arg1 = (wxListItem *) 0 ;
16492 long arg2 ;
16493 PyObject * obj0 = 0 ;
16494 char *kwnames[] = {
16495 (char *) "self",(char *) "data", NULL
16496 };
16497
16498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
16499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16500 {
16501 PyThreadState* __tstate = wxPyBeginAllowThreads();
16502 (arg1)->SetData(arg2);
16503
16504 wxPyEndAllowThreads(__tstate);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 }
16507 Py_INCREF(Py_None); resultobj = Py_None;
16508 return resultobj;
16509 fail:
16510 return NULL;
16511 }
16512
16513
16514 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16515 PyObject *resultobj;
16516 wxListItem *arg1 = (wxListItem *) 0 ;
16517 int arg2 ;
16518 PyObject * obj0 = 0 ;
16519 char *kwnames[] = {
16520 (char *) "self",(char *) "width", NULL
16521 };
16522
16523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
16524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 (arg1)->SetWidth(arg2);
16528
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 Py_INCREF(Py_None); resultobj = Py_None;
16533 return resultobj;
16534 fail:
16535 return NULL;
16536 }
16537
16538
16539 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16540 PyObject *resultobj;
16541 wxListItem *arg1 = (wxListItem *) 0 ;
16542 int arg2 ;
16543 PyObject * obj0 = 0 ;
16544 char *kwnames[] = {
16545 (char *) "self",(char *) "align", NULL
16546 };
16547
16548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
16549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16550 {
16551 PyThreadState* __tstate = wxPyBeginAllowThreads();
16552 (arg1)->SetAlign((wxListColumnFormat )arg2);
16553
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 Py_INCREF(Py_None); resultobj = Py_None;
16558 return resultobj;
16559 fail:
16560 return NULL;
16561 }
16562
16563
16564 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16565 PyObject *resultobj;
16566 wxListItem *arg1 = (wxListItem *) 0 ;
16567 wxColour *arg2 = 0 ;
16568 wxColour temp2 ;
16569 PyObject * obj0 = 0 ;
16570 PyObject * obj1 = 0 ;
16571 char *kwnames[] = {
16572 (char *) "self",(char *) "colText", NULL
16573 };
16574
16575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
16576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16577 {
16578 arg2 = &temp2;
16579 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16580 }
16581 {
16582 PyThreadState* __tstate = wxPyBeginAllowThreads();
16583 (arg1)->SetTextColour((wxColour const &)*arg2);
16584
16585 wxPyEndAllowThreads(__tstate);
16586 if (PyErr_Occurred()) SWIG_fail;
16587 }
16588 Py_INCREF(Py_None); resultobj = Py_None;
16589 return resultobj;
16590 fail:
16591 return NULL;
16592 }
16593
16594
16595 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16596 PyObject *resultobj;
16597 wxListItem *arg1 = (wxListItem *) 0 ;
16598 wxColour *arg2 = 0 ;
16599 wxColour temp2 ;
16600 PyObject * obj0 = 0 ;
16601 PyObject * obj1 = 0 ;
16602 char *kwnames[] = {
16603 (char *) "self",(char *) "colBack", NULL
16604 };
16605
16606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
16607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16608 {
16609 arg2 = &temp2;
16610 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16611 }
16612 {
16613 PyThreadState* __tstate = wxPyBeginAllowThreads();
16614 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
16615
16616 wxPyEndAllowThreads(__tstate);
16617 if (PyErr_Occurred()) SWIG_fail;
16618 }
16619 Py_INCREF(Py_None); resultobj = Py_None;
16620 return resultobj;
16621 fail:
16622 return NULL;
16623 }
16624
16625
16626 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16627 PyObject *resultobj;
16628 wxListItem *arg1 = (wxListItem *) 0 ;
16629 wxFont *arg2 = 0 ;
16630 PyObject * obj0 = 0 ;
16631 PyObject * obj1 = 0 ;
16632 char *kwnames[] = {
16633 (char *) "self",(char *) "font", NULL
16634 };
16635
16636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
16637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16639 if (arg2 == NULL) {
16640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16641 }
16642 {
16643 PyThreadState* __tstate = wxPyBeginAllowThreads();
16644 (arg1)->SetFont((wxFont const &)*arg2);
16645
16646 wxPyEndAllowThreads(__tstate);
16647 if (PyErr_Occurred()) SWIG_fail;
16648 }
16649 Py_INCREF(Py_None); resultobj = Py_None;
16650 return resultobj;
16651 fail:
16652 return NULL;
16653 }
16654
16655
16656 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16657 PyObject *resultobj;
16658 wxListItem *arg1 = (wxListItem *) 0 ;
16659 long result;
16660 PyObject * obj0 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
16666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16667 {
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 result = (long)(arg1)->GetMask();
16670
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 resultobj = PyInt_FromLong((long)result);
16675 return resultobj;
16676 fail:
16677 return NULL;
16678 }
16679
16680
16681 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj;
16683 wxListItem *arg1 = (wxListItem *) 0 ;
16684 long result;
16685 PyObject * obj0 = 0 ;
16686 char *kwnames[] = {
16687 (char *) "self", NULL
16688 };
16689
16690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
16691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 result = (long)(arg1)->GetId();
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 resultobj = PyInt_FromLong((long)result);
16700 return resultobj;
16701 fail:
16702 return NULL;
16703 }
16704
16705
16706 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 wxListItem *arg1 = (wxListItem *) 0 ;
16709 int result;
16710 PyObject * obj0 = 0 ;
16711 char *kwnames[] = {
16712 (char *) "self", NULL
16713 };
16714
16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
16716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16717 {
16718 PyThreadState* __tstate = wxPyBeginAllowThreads();
16719 result = (int)(arg1)->GetColumn();
16720
16721 wxPyEndAllowThreads(__tstate);
16722 if (PyErr_Occurred()) SWIG_fail;
16723 }
16724 resultobj = PyInt_FromLong((long)result);
16725 return resultobj;
16726 fail:
16727 return NULL;
16728 }
16729
16730
16731 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16732 PyObject *resultobj;
16733 wxListItem *arg1 = (wxListItem *) 0 ;
16734 long result;
16735 PyObject * obj0 = 0 ;
16736 char *kwnames[] = {
16737 (char *) "self", NULL
16738 };
16739
16740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
16741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16742 {
16743 PyThreadState* __tstate = wxPyBeginAllowThreads();
16744 result = (long)(arg1)->GetState();
16745
16746 wxPyEndAllowThreads(__tstate);
16747 if (PyErr_Occurred()) SWIG_fail;
16748 }
16749 resultobj = PyInt_FromLong((long)result);
16750 return resultobj;
16751 fail:
16752 return NULL;
16753 }
16754
16755
16756 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16757 PyObject *resultobj;
16758 wxListItem *arg1 = (wxListItem *) 0 ;
16759 wxString *result;
16760 PyObject * obj0 = 0 ;
16761 char *kwnames[] = {
16762 (char *) "self", NULL
16763 };
16764
16765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16767 {
16768 PyThreadState* __tstate = wxPyBeginAllowThreads();
16769 {
16770 wxString const &_result_ref = (arg1)->GetText();
16771 result = (wxString *) &_result_ref;
16772 }
16773
16774 wxPyEndAllowThreads(__tstate);
16775 if (PyErr_Occurred()) SWIG_fail;
16776 }
16777 {
16778 #if wxUSE_UNICODE
16779 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16780 #else
16781 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16782 #endif
16783 }
16784 return resultobj;
16785 fail:
16786 return NULL;
16787 }
16788
16789
16790 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16791 PyObject *resultobj;
16792 wxListItem *arg1 = (wxListItem *) 0 ;
16793 int result;
16794 PyObject * obj0 = 0 ;
16795 char *kwnames[] = {
16796 (char *) "self", NULL
16797 };
16798
16799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16801 {
16802 PyThreadState* __tstate = wxPyBeginAllowThreads();
16803 result = (int)(arg1)->GetImage();
16804
16805 wxPyEndAllowThreads(__tstate);
16806 if (PyErr_Occurred()) SWIG_fail;
16807 }
16808 resultobj = PyInt_FromLong((long)result);
16809 return resultobj;
16810 fail:
16811 return NULL;
16812 }
16813
16814
16815 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16816 PyObject *resultobj;
16817 wxListItem *arg1 = (wxListItem *) 0 ;
16818 long result;
16819 PyObject * obj0 = 0 ;
16820 char *kwnames[] = {
16821 (char *) "self", NULL
16822 };
16823
16824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 result = (long)(arg1)->GetData();
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
16833 resultobj = PyInt_FromLong((long)result);
16834 return resultobj;
16835 fail:
16836 return NULL;
16837 }
16838
16839
16840 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16841 PyObject *resultobj;
16842 wxListItem *arg1 = (wxListItem *) 0 ;
16843 int result;
16844 PyObject * obj0 = 0 ;
16845 char *kwnames[] = {
16846 (char *) "self", NULL
16847 };
16848
16849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16851 {
16852 PyThreadState* __tstate = wxPyBeginAllowThreads();
16853 result = (int)(arg1)->GetWidth();
16854
16855 wxPyEndAllowThreads(__tstate);
16856 if (PyErr_Occurred()) SWIG_fail;
16857 }
16858 resultobj = PyInt_FromLong((long)result);
16859 return resultobj;
16860 fail:
16861 return NULL;
16862 }
16863
16864
16865 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16866 PyObject *resultobj;
16867 wxListItem *arg1 = (wxListItem *) 0 ;
16868 int result;
16869 PyObject * obj0 = 0 ;
16870 char *kwnames[] = {
16871 (char *) "self", NULL
16872 };
16873
16874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16876 {
16877 PyThreadState* __tstate = wxPyBeginAllowThreads();
16878 result = (int)(arg1)->GetAlign();
16879
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 resultobj = PyInt_FromLong((long)result);
16884 return resultobj;
16885 fail:
16886 return NULL;
16887 }
16888
16889
16890 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj;
16892 wxListItem *arg1 = (wxListItem *) 0 ;
16893 wxListItemAttr *result;
16894 PyObject * obj0 = 0 ;
16895 char *kwnames[] = {
16896 (char *) "self", NULL
16897 };
16898
16899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16901 {
16902 PyThreadState* __tstate = wxPyBeginAllowThreads();
16903 result = (wxListItemAttr *)(arg1)->GetAttributes();
16904
16905 wxPyEndAllowThreads(__tstate);
16906 if (PyErr_Occurred()) SWIG_fail;
16907 }
16908 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16909 return resultobj;
16910 fail:
16911 return NULL;
16912 }
16913
16914
16915 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16916 PyObject *resultobj;
16917 wxListItem *arg1 = (wxListItem *) 0 ;
16918 bool result;
16919 PyObject * obj0 = 0 ;
16920 char *kwnames[] = {
16921 (char *) "self", NULL
16922 };
16923
16924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16926 {
16927 PyThreadState* __tstate = wxPyBeginAllowThreads();
16928 result = (bool)(arg1)->HasAttributes();
16929
16930 wxPyEndAllowThreads(__tstate);
16931 if (PyErr_Occurred()) SWIG_fail;
16932 }
16933 resultobj = PyInt_FromLong((long)result);
16934 return resultobj;
16935 fail:
16936 return NULL;
16937 }
16938
16939
16940 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16941 PyObject *resultobj;
16942 wxListItem *arg1 = (wxListItem *) 0 ;
16943 wxColour result;
16944 PyObject * obj0 = 0 ;
16945 char *kwnames[] = {
16946 (char *) "self", NULL
16947 };
16948
16949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16951 {
16952 PyThreadState* __tstate = wxPyBeginAllowThreads();
16953 result = ((wxListItem const *)arg1)->GetTextColour();
16954
16955 wxPyEndAllowThreads(__tstate);
16956 if (PyErr_Occurred()) SWIG_fail;
16957 }
16958 {
16959 wxColour * resultptr;
16960 resultptr = new wxColour((wxColour &) result);
16961 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16962 }
16963 return resultobj;
16964 fail:
16965 return NULL;
16966 }
16967
16968
16969 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16970 PyObject *resultobj;
16971 wxListItem *arg1 = (wxListItem *) 0 ;
16972 wxColour result;
16973 PyObject * obj0 = 0 ;
16974 char *kwnames[] = {
16975 (char *) "self", NULL
16976 };
16977
16978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16980 {
16981 PyThreadState* __tstate = wxPyBeginAllowThreads();
16982 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16983
16984 wxPyEndAllowThreads(__tstate);
16985 if (PyErr_Occurred()) SWIG_fail;
16986 }
16987 {
16988 wxColour * resultptr;
16989 resultptr = new wxColour((wxColour &) result);
16990 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16991 }
16992 return resultobj;
16993 fail:
16994 return NULL;
16995 }
16996
16997
16998 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16999 PyObject *resultobj;
17000 wxListItem *arg1 = (wxListItem *) 0 ;
17001 wxFont result;
17002 PyObject * obj0 = 0 ;
17003 char *kwnames[] = {
17004 (char *) "self", NULL
17005 };
17006
17007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
17008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17009 {
17010 PyThreadState* __tstate = wxPyBeginAllowThreads();
17011 result = ((wxListItem const *)arg1)->GetFont();
17012
17013 wxPyEndAllowThreads(__tstate);
17014 if (PyErr_Occurred()) SWIG_fail;
17015 }
17016 {
17017 wxFont * resultptr;
17018 resultptr = new wxFont((wxFont &) result);
17019 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
17020 }
17021 return resultobj;
17022 fail:
17023 return NULL;
17024 }
17025
17026
17027 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17028 PyObject *resultobj;
17029 wxListItem *arg1 = (wxListItem *) 0 ;
17030 long arg2 ;
17031 PyObject * obj0 = 0 ;
17032 char *kwnames[] = {
17033 (char *) "self",(char *) "m_mask", NULL
17034 };
17035
17036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
17037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17038 if (arg1) (arg1)->m_mask = arg2;
17039
17040 Py_INCREF(Py_None); resultobj = Py_None;
17041 return resultobj;
17042 fail:
17043 return NULL;
17044 }
17045
17046
17047 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj;
17049 wxListItem *arg1 = (wxListItem *) 0 ;
17050 long result;
17051 PyObject * obj0 = 0 ;
17052 char *kwnames[] = {
17053 (char *) "self", NULL
17054 };
17055
17056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
17057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17058 result = (long) ((arg1)->m_mask);
17059
17060 resultobj = PyInt_FromLong((long)result);
17061 return resultobj;
17062 fail:
17063 return NULL;
17064 }
17065
17066
17067 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj;
17069 wxListItem *arg1 = (wxListItem *) 0 ;
17070 long arg2 ;
17071 PyObject * obj0 = 0 ;
17072 char *kwnames[] = {
17073 (char *) "self",(char *) "m_itemId", NULL
17074 };
17075
17076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
17077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17078 if (arg1) (arg1)->m_itemId = arg2;
17079
17080 Py_INCREF(Py_None); resultobj = Py_None;
17081 return resultobj;
17082 fail:
17083 return NULL;
17084 }
17085
17086
17087 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17088 PyObject *resultobj;
17089 wxListItem *arg1 = (wxListItem *) 0 ;
17090 long result;
17091 PyObject * obj0 = 0 ;
17092 char *kwnames[] = {
17093 (char *) "self", NULL
17094 };
17095
17096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
17097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17098 result = (long) ((arg1)->m_itemId);
17099
17100 resultobj = PyInt_FromLong((long)result);
17101 return resultobj;
17102 fail:
17103 return NULL;
17104 }
17105
17106
17107 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17108 PyObject *resultobj;
17109 wxListItem *arg1 = (wxListItem *) 0 ;
17110 int arg2 ;
17111 PyObject * obj0 = 0 ;
17112 char *kwnames[] = {
17113 (char *) "self",(char *) "m_col", NULL
17114 };
17115
17116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17118 if (arg1) (arg1)->m_col = arg2;
17119
17120 Py_INCREF(Py_None); resultobj = Py_None;
17121 return resultobj;
17122 fail:
17123 return NULL;
17124 }
17125
17126
17127 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17128 PyObject *resultobj;
17129 wxListItem *arg1 = (wxListItem *) 0 ;
17130 int result;
17131 PyObject * obj0 = 0 ;
17132 char *kwnames[] = {
17133 (char *) "self", NULL
17134 };
17135
17136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
17137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17138 result = (int) ((arg1)->m_col);
17139
17140 resultobj = PyInt_FromLong((long)result);
17141 return resultobj;
17142 fail:
17143 return NULL;
17144 }
17145
17146
17147 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17148 PyObject *resultobj;
17149 wxListItem *arg1 = (wxListItem *) 0 ;
17150 long arg2 ;
17151 PyObject * obj0 = 0 ;
17152 char *kwnames[] = {
17153 (char *) "self",(char *) "m_state", NULL
17154 };
17155
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
17157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17158 if (arg1) (arg1)->m_state = arg2;
17159
17160 Py_INCREF(Py_None); resultobj = Py_None;
17161 return resultobj;
17162 fail:
17163 return NULL;
17164 }
17165
17166
17167 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj;
17169 wxListItem *arg1 = (wxListItem *) 0 ;
17170 long result;
17171 PyObject * obj0 = 0 ;
17172 char *kwnames[] = {
17173 (char *) "self", NULL
17174 };
17175
17176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
17177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17178 result = (long) ((arg1)->m_state);
17179
17180 resultobj = PyInt_FromLong((long)result);
17181 return resultobj;
17182 fail:
17183 return NULL;
17184 }
17185
17186
17187 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17188 PyObject *resultobj;
17189 wxListItem *arg1 = (wxListItem *) 0 ;
17190 long arg2 ;
17191 PyObject * obj0 = 0 ;
17192 char *kwnames[] = {
17193 (char *) "self",(char *) "m_stateMask", NULL
17194 };
17195
17196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
17197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17198 if (arg1) (arg1)->m_stateMask = arg2;
17199
17200 Py_INCREF(Py_None); resultobj = Py_None;
17201 return resultobj;
17202 fail:
17203 return NULL;
17204 }
17205
17206
17207 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17208 PyObject *resultobj;
17209 wxListItem *arg1 = (wxListItem *) 0 ;
17210 long result;
17211 PyObject * obj0 = 0 ;
17212 char *kwnames[] = {
17213 (char *) "self", NULL
17214 };
17215
17216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
17217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17218 result = (long) ((arg1)->m_stateMask);
17219
17220 resultobj = PyInt_FromLong((long)result);
17221 return resultobj;
17222 fail:
17223 return NULL;
17224 }
17225
17226
17227 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17228 PyObject *resultobj;
17229 wxListItem *arg1 = (wxListItem *) 0 ;
17230 wxString *arg2 = (wxString *) 0 ;
17231 bool temp2 = False ;
17232 PyObject * obj0 = 0 ;
17233 PyObject * obj1 = 0 ;
17234 char *kwnames[] = {
17235 (char *) "self",(char *) "m_text", NULL
17236 };
17237
17238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
17239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17240 {
17241 arg2 = wxString_in_helper(obj1);
17242 if (arg2 == NULL) SWIG_fail;
17243 temp2 = True;
17244 }
17245 if (arg1) (arg1)->m_text = *arg2;
17246
17247 Py_INCREF(Py_None); resultobj = Py_None;
17248 {
17249 if (temp2)
17250 delete arg2;
17251 }
17252 return resultobj;
17253 fail:
17254 {
17255 if (temp2)
17256 delete arg2;
17257 }
17258 return NULL;
17259 }
17260
17261
17262 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17263 PyObject *resultobj;
17264 wxListItem *arg1 = (wxListItem *) 0 ;
17265 wxString *result;
17266 PyObject * obj0 = 0 ;
17267 char *kwnames[] = {
17268 (char *) "self", NULL
17269 };
17270
17271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
17272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17273 result = (wxString *)& ((arg1)->m_text);
17274
17275 {
17276 #if wxUSE_UNICODE
17277 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17278 #else
17279 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17280 #endif
17281 }
17282 return resultobj;
17283 fail:
17284 return NULL;
17285 }
17286
17287
17288 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17289 PyObject *resultobj;
17290 wxListItem *arg1 = (wxListItem *) 0 ;
17291 int arg2 ;
17292 PyObject * obj0 = 0 ;
17293 char *kwnames[] = {
17294 (char *) "self",(char *) "m_image", NULL
17295 };
17296
17297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
17298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17299 if (arg1) (arg1)->m_image = arg2;
17300
17301 Py_INCREF(Py_None); resultobj = Py_None;
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17309 PyObject *resultobj;
17310 wxListItem *arg1 = (wxListItem *) 0 ;
17311 int result;
17312 PyObject * obj0 = 0 ;
17313 char *kwnames[] = {
17314 (char *) "self", NULL
17315 };
17316
17317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
17318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17319 result = (int) ((arg1)->m_image);
17320
17321 resultobj = PyInt_FromLong((long)result);
17322 return resultobj;
17323 fail:
17324 return NULL;
17325 }
17326
17327
17328 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj;
17330 wxListItem *arg1 = (wxListItem *) 0 ;
17331 long arg2 ;
17332 PyObject * obj0 = 0 ;
17333 char *kwnames[] = {
17334 (char *) "self",(char *) "m_data", NULL
17335 };
17336
17337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
17338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17339 if (arg1) (arg1)->m_data = arg2;
17340
17341 Py_INCREF(Py_None); resultobj = Py_None;
17342 return resultobj;
17343 fail:
17344 return NULL;
17345 }
17346
17347
17348 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17349 PyObject *resultobj;
17350 wxListItem *arg1 = (wxListItem *) 0 ;
17351 long result;
17352 PyObject * obj0 = 0 ;
17353 char *kwnames[] = {
17354 (char *) "self", NULL
17355 };
17356
17357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
17358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17359 result = (long) ((arg1)->m_data);
17360
17361 resultobj = PyInt_FromLong((long)result);
17362 return resultobj;
17363 fail:
17364 return NULL;
17365 }
17366
17367
17368 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17369 PyObject *resultobj;
17370 wxListItem *arg1 = (wxListItem *) 0 ;
17371 int arg2 ;
17372 PyObject * obj0 = 0 ;
17373 char *kwnames[] = {
17374 (char *) "self",(char *) "m_format", NULL
17375 };
17376
17377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
17378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17379 if (arg1) (arg1)->m_format = arg2;
17380
17381 Py_INCREF(Py_None); resultobj = Py_None;
17382 return resultobj;
17383 fail:
17384 return NULL;
17385 }
17386
17387
17388 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17389 PyObject *resultobj;
17390 wxListItem *arg1 = (wxListItem *) 0 ;
17391 int result;
17392 PyObject * obj0 = 0 ;
17393 char *kwnames[] = {
17394 (char *) "self", NULL
17395 };
17396
17397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
17398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17399 result = (int) ((arg1)->m_format);
17400
17401 resultobj = PyInt_FromLong((long)result);
17402 return resultobj;
17403 fail:
17404 return NULL;
17405 }
17406
17407
17408 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17409 PyObject *resultobj;
17410 wxListItem *arg1 = (wxListItem *) 0 ;
17411 int arg2 ;
17412 PyObject * obj0 = 0 ;
17413 char *kwnames[] = {
17414 (char *) "self",(char *) "m_width", NULL
17415 };
17416
17417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
17418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17419 if (arg1) (arg1)->m_width = arg2;
17420
17421 Py_INCREF(Py_None); resultobj = Py_None;
17422 return resultobj;
17423 fail:
17424 return NULL;
17425 }
17426
17427
17428 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj;
17430 wxListItem *arg1 = (wxListItem *) 0 ;
17431 int result;
17432 PyObject * obj0 = 0 ;
17433 char *kwnames[] = {
17434 (char *) "self", NULL
17435 };
17436
17437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
17438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17439 result = (int) ((arg1)->m_width);
17440
17441 resultobj = PyInt_FromLong((long)result);
17442 return resultobj;
17443 fail:
17444 return NULL;
17445 }
17446
17447
17448 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
17449 PyObject *obj;
17450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17451 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
17452 Py_INCREF(obj);
17453 return Py_BuildValue((char *)"");
17454 }
17455 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17456 PyObject *resultobj;
17457 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17458 int arg2 = (int) 0 ;
17459 wxListEvent *result;
17460 char *kwnames[] = {
17461 (char *) "commandType",(char *) "id", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 result = (wxListEvent *)new wxListEvent(arg1,arg2);
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
17473 return resultobj;
17474 fail:
17475 return NULL;
17476 }
17477
17478
17479 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxListEvent *arg1 = (wxListEvent *) 0 ;
17482 int arg2 ;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self",(char *) "m_code", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17490 if (arg1) (arg1)->m_code = arg2;
17491
17492 Py_INCREF(Py_None); resultobj = Py_None;
17493 return resultobj;
17494 fail:
17495 return NULL;
17496 }
17497
17498
17499 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17500 PyObject *resultobj;
17501 wxListEvent *arg1 = (wxListEvent *) 0 ;
17502 int result;
17503 PyObject * obj0 = 0 ;
17504 char *kwnames[] = {
17505 (char *) "self", NULL
17506 };
17507
17508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
17509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17510 result = (int) ((arg1)->m_code);
17511
17512 resultobj = PyInt_FromLong((long)result);
17513 return resultobj;
17514 fail:
17515 return NULL;
17516 }
17517
17518
17519 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17520 PyObject *resultobj;
17521 wxListEvent *arg1 = (wxListEvent *) 0 ;
17522 long arg2 ;
17523 PyObject * obj0 = 0 ;
17524 char *kwnames[] = {
17525 (char *) "self",(char *) "m_oldItemIndex", NULL
17526 };
17527
17528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17530 if (arg1) (arg1)->m_oldItemIndex = arg2;
17531
17532 Py_INCREF(Py_None); resultobj = Py_None;
17533 return resultobj;
17534 fail:
17535 return NULL;
17536 }
17537
17538
17539 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17540 PyObject *resultobj;
17541 wxListEvent *arg1 = (wxListEvent *) 0 ;
17542 long result;
17543 PyObject * obj0 = 0 ;
17544 char *kwnames[] = {
17545 (char *) "self", NULL
17546 };
17547
17548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
17549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17550 result = (long) ((arg1)->m_oldItemIndex);
17551
17552 resultobj = PyInt_FromLong((long)result);
17553 return resultobj;
17554 fail:
17555 return NULL;
17556 }
17557
17558
17559 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 wxListEvent *arg1 = (wxListEvent *) 0 ;
17562 long arg2 ;
17563 PyObject * obj0 = 0 ;
17564 char *kwnames[] = {
17565 (char *) "self",(char *) "m_itemIndex", NULL
17566 };
17567
17568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17570 if (arg1) (arg1)->m_itemIndex = arg2;
17571
17572 Py_INCREF(Py_None); resultobj = Py_None;
17573 return resultobj;
17574 fail:
17575 return NULL;
17576 }
17577
17578
17579 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17580 PyObject *resultobj;
17581 wxListEvent *arg1 = (wxListEvent *) 0 ;
17582 long result;
17583 PyObject * obj0 = 0 ;
17584 char *kwnames[] = {
17585 (char *) "self", NULL
17586 };
17587
17588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
17589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17590 result = (long) ((arg1)->m_itemIndex);
17591
17592 resultobj = PyInt_FromLong((long)result);
17593 return resultobj;
17594 fail:
17595 return NULL;
17596 }
17597
17598
17599 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17600 PyObject *resultobj;
17601 wxListEvent *arg1 = (wxListEvent *) 0 ;
17602 int arg2 ;
17603 PyObject * obj0 = 0 ;
17604 char *kwnames[] = {
17605 (char *) "self",(char *) "m_col", NULL
17606 };
17607
17608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17610 if (arg1) (arg1)->m_col = arg2;
17611
17612 Py_INCREF(Py_None); resultobj = Py_None;
17613 return resultobj;
17614 fail:
17615 return NULL;
17616 }
17617
17618
17619 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17620 PyObject *resultobj;
17621 wxListEvent *arg1 = (wxListEvent *) 0 ;
17622 int result;
17623 PyObject * obj0 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "self", NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
17629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17630 result = (int) ((arg1)->m_col);
17631
17632 resultobj = PyInt_FromLong((long)result);
17633 return resultobj;
17634 fail:
17635 return NULL;
17636 }
17637
17638
17639 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17640 PyObject *resultobj;
17641 wxListEvent *arg1 = (wxListEvent *) 0 ;
17642 wxPoint *arg2 = (wxPoint *) 0 ;
17643 PyObject * obj0 = 0 ;
17644 PyObject * obj1 = 0 ;
17645 char *kwnames[] = {
17646 (char *) "self",(char *) "m_pointDrag", NULL
17647 };
17648
17649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
17650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17652 if (arg1) (arg1)->m_pointDrag = *arg2;
17653
17654 Py_INCREF(Py_None); resultobj = Py_None;
17655 return resultobj;
17656 fail:
17657 return NULL;
17658 }
17659
17660
17661 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17662 PyObject *resultobj;
17663 wxListEvent *arg1 = (wxListEvent *) 0 ;
17664 wxPoint *result;
17665 PyObject * obj0 = 0 ;
17666 char *kwnames[] = {
17667 (char *) "self", NULL
17668 };
17669
17670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
17671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17672 result = (wxPoint *)& ((arg1)->m_pointDrag);
17673
17674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
17675 return resultobj;
17676 fail:
17677 return NULL;
17678 }
17679
17680
17681 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17682 PyObject *resultobj;
17683 wxListEvent *arg1 = (wxListEvent *) 0 ;
17684 wxListItem *result;
17685 PyObject * obj0 = 0 ;
17686 char *kwnames[] = {
17687 (char *) "self", NULL
17688 };
17689
17690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
17691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17692 result = (wxListItem *)& ((arg1)->m_item);
17693
17694 {
17695 resultobj = wxPyMake_wxObject(result);
17696 }
17697 return resultobj;
17698 fail:
17699 return NULL;
17700 }
17701
17702
17703 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
17704 PyObject *resultobj;
17705 wxListEvent *arg1 = (wxListEvent *) 0 ;
17706 int result;
17707 PyObject * obj0 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
17713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17714 {
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 result = (int)(arg1)->GetKeyCode();
17717
17718 wxPyEndAllowThreads(__tstate);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 }
17721 resultobj = PyInt_FromLong((long)result);
17722 return resultobj;
17723 fail:
17724 return NULL;
17725 }
17726
17727
17728 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
17729 PyObject *resultobj;
17730 wxListEvent *arg1 = (wxListEvent *) 0 ;
17731 long result;
17732 PyObject * obj0 = 0 ;
17733 char *kwnames[] = {
17734 (char *) "self", NULL
17735 };
17736
17737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
17738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17739 {
17740 PyThreadState* __tstate = wxPyBeginAllowThreads();
17741 result = (long)(arg1)->GetIndex();
17742
17743 wxPyEndAllowThreads(__tstate);
17744 if (PyErr_Occurred()) SWIG_fail;
17745 }
17746 resultobj = PyInt_FromLong((long)result);
17747 return resultobj;
17748 fail:
17749 return NULL;
17750 }
17751
17752
17753 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17754 PyObject *resultobj;
17755 wxListEvent *arg1 = (wxListEvent *) 0 ;
17756 int result;
17757 PyObject * obj0 = 0 ;
17758 char *kwnames[] = {
17759 (char *) "self", NULL
17760 };
17761
17762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17764 {
17765 PyThreadState* __tstate = wxPyBeginAllowThreads();
17766 result = (int)(arg1)->GetColumn();
17767
17768 wxPyEndAllowThreads(__tstate);
17769 if (PyErr_Occurred()) SWIG_fail;
17770 }
17771 resultobj = PyInt_FromLong((long)result);
17772 return resultobj;
17773 fail:
17774 return NULL;
17775 }
17776
17777
17778 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17779 PyObject *resultobj;
17780 wxListEvent *arg1 = (wxListEvent *) 0 ;
17781 wxPoint result;
17782 PyObject * obj0 = 0 ;
17783 char *kwnames[] = {
17784 (char *) "self", NULL
17785 };
17786
17787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17789 {
17790 PyThreadState* __tstate = wxPyBeginAllowThreads();
17791 result = (arg1)->GetPoint();
17792
17793 wxPyEndAllowThreads(__tstate);
17794 if (PyErr_Occurred()) SWIG_fail;
17795 }
17796 {
17797 wxPoint * resultptr;
17798 resultptr = new wxPoint((wxPoint &) result);
17799 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17800 }
17801 return resultobj;
17802 fail:
17803 return NULL;
17804 }
17805
17806
17807 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17808 PyObject *resultobj;
17809 wxListEvent *arg1 = (wxListEvent *) 0 ;
17810 wxString *result;
17811 PyObject * obj0 = 0 ;
17812 char *kwnames[] = {
17813 (char *) "self", NULL
17814 };
17815
17816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17818 {
17819 PyThreadState* __tstate = wxPyBeginAllowThreads();
17820 {
17821 wxString const &_result_ref = (arg1)->GetLabel();
17822 result = (wxString *) &_result_ref;
17823 }
17824
17825 wxPyEndAllowThreads(__tstate);
17826 if (PyErr_Occurred()) SWIG_fail;
17827 }
17828 {
17829 #if wxUSE_UNICODE
17830 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17831 #else
17832 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17833 #endif
17834 }
17835 return resultobj;
17836 fail:
17837 return NULL;
17838 }
17839
17840
17841 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17842 PyObject *resultobj;
17843 wxListEvent *arg1 = (wxListEvent *) 0 ;
17844 wxString *result;
17845 PyObject * obj0 = 0 ;
17846 char *kwnames[] = {
17847 (char *) "self", NULL
17848 };
17849
17850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17852 {
17853 PyThreadState* __tstate = wxPyBeginAllowThreads();
17854 {
17855 wxString const &_result_ref = (arg1)->GetText();
17856 result = (wxString *) &_result_ref;
17857 }
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 {
17863 #if wxUSE_UNICODE
17864 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17865 #else
17866 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17867 #endif
17868 }
17869 return resultobj;
17870 fail:
17871 return NULL;
17872 }
17873
17874
17875 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17876 PyObject *resultobj;
17877 wxListEvent *arg1 = (wxListEvent *) 0 ;
17878 int result;
17879 PyObject * obj0 = 0 ;
17880 char *kwnames[] = {
17881 (char *) "self", NULL
17882 };
17883
17884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17886 {
17887 PyThreadState* __tstate = wxPyBeginAllowThreads();
17888 result = (int)(arg1)->GetImage();
17889
17890 wxPyEndAllowThreads(__tstate);
17891 if (PyErr_Occurred()) SWIG_fail;
17892 }
17893 resultobj = PyInt_FromLong((long)result);
17894 return resultobj;
17895 fail:
17896 return NULL;
17897 }
17898
17899
17900 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17901 PyObject *resultobj;
17902 wxListEvent *arg1 = (wxListEvent *) 0 ;
17903 long result;
17904 PyObject * obj0 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "self", NULL
17907 };
17908
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 result = (long)(arg1)->GetData();
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 resultobj = PyInt_FromLong((long)result);
17919 return resultobj;
17920 fail:
17921 return NULL;
17922 }
17923
17924
17925 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17926 PyObject *resultobj;
17927 wxListEvent *arg1 = (wxListEvent *) 0 ;
17928 long result;
17929 PyObject * obj0 = 0 ;
17930 char *kwnames[] = {
17931 (char *) "self", NULL
17932 };
17933
17934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17936 {
17937 PyThreadState* __tstate = wxPyBeginAllowThreads();
17938 result = (long)(arg1)->GetMask();
17939
17940 wxPyEndAllowThreads(__tstate);
17941 if (PyErr_Occurred()) SWIG_fail;
17942 }
17943 resultobj = PyInt_FromLong((long)result);
17944 return resultobj;
17945 fail:
17946 return NULL;
17947 }
17948
17949
17950 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17951 PyObject *resultobj;
17952 wxListEvent *arg1 = (wxListEvent *) 0 ;
17953 wxListItem *result;
17954 PyObject * obj0 = 0 ;
17955 char *kwnames[] = {
17956 (char *) "self", NULL
17957 };
17958
17959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17961 {
17962 PyThreadState* __tstate = wxPyBeginAllowThreads();
17963 {
17964 wxListItem const &_result_ref = (arg1)->GetItem();
17965 result = (wxListItem *) &_result_ref;
17966 }
17967
17968 wxPyEndAllowThreads(__tstate);
17969 if (PyErr_Occurred()) SWIG_fail;
17970 }
17971 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17972 return resultobj;
17973 fail:
17974 return NULL;
17975 }
17976
17977
17978 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17979 PyObject *resultobj;
17980 wxListEvent *arg1 = (wxListEvent *) 0 ;
17981 long result;
17982 PyObject * obj0 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17989 {
17990 PyThreadState* __tstate = wxPyBeginAllowThreads();
17991 result = (long)(arg1)->GetCacheFrom();
17992
17993 wxPyEndAllowThreads(__tstate);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 }
17996 resultobj = PyInt_FromLong((long)result);
17997 return resultobj;
17998 fail:
17999 return NULL;
18000 }
18001
18002
18003 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
18004 PyObject *resultobj;
18005 wxListEvent *arg1 = (wxListEvent *) 0 ;
18006 long result;
18007 PyObject * obj0 = 0 ;
18008 char *kwnames[] = {
18009 (char *) "self", NULL
18010 };
18011
18012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
18013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 result = (long)(arg1)->GetCacheTo();
18017
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 resultobj = PyInt_FromLong((long)result);
18022 return resultobj;
18023 fail:
18024 return NULL;
18025 }
18026
18027
18028 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
18029 PyObject *resultobj;
18030 wxListEvent *arg1 = (wxListEvent *) 0 ;
18031 bool result;
18032 PyObject * obj0 = 0 ;
18033 char *kwnames[] = {
18034 (char *) "self", NULL
18035 };
18036
18037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
18038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 resultobj = PyInt_FromLong((long)result);
18047 return resultobj;
18048 fail:
18049 return NULL;
18050 }
18051
18052
18053 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
18054 PyObject *resultobj;
18055 wxListEvent *arg1 = (wxListEvent *) 0 ;
18056 bool arg2 ;
18057 PyObject * obj0 = 0 ;
18058 PyObject * obj1 = 0 ;
18059 char *kwnames[] = {
18060 (char *) "self",(char *) "editCancelled", NULL
18061 };
18062
18063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
18064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18065 {
18066 arg2 = (bool) SPyObj_AsBool(obj1);
18067 if (PyErr_Occurred()) SWIG_fail;
18068 }
18069 {
18070 PyThreadState* __tstate = wxPyBeginAllowThreads();
18071 (arg1)->SetEditCanceled(arg2);
18072
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 Py_INCREF(Py_None); resultobj = Py_None;
18077 return resultobj;
18078 fail:
18079 return NULL;
18080 }
18081
18082
18083 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
18084 PyObject *obj;
18085 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18086 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
18087 Py_INCREF(obj);
18088 return Py_BuildValue((char *)"");
18089 }
18090 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
18091 PyObject *resultobj;
18092 wxWindow *arg1 = (wxWindow *) 0 ;
18093 int arg2 = (int) -1 ;
18094 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18095 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18096 wxSize const &arg4_defvalue = wxDefaultSize ;
18097 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18098 long arg5 = (long) wxLC_ICON ;
18099 wxValidator const &arg6_defvalue = wxDefaultValidator ;
18100 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
18101 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
18102 wxString *arg7 = (wxString *) &arg7_defvalue ;
18103 wxPyListCtrl *result;
18104 wxPoint temp3 ;
18105 wxSize temp4 ;
18106 bool temp7 = False ;
18107 PyObject * obj0 = 0 ;
18108 PyObject * obj2 = 0 ;
18109 PyObject * obj3 = 0 ;
18110 PyObject * obj5 = 0 ;
18111 PyObject * obj6 = 0 ;
18112 char *kwnames[] = {
18113 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18114 };
18115
18116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
18117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18118 if (obj2) {
18119 {
18120 arg3 = &temp3;
18121 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18122 }
18123 }
18124 if (obj3) {
18125 {
18126 arg4 = &temp4;
18127 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18128 }
18129 }
18130 if (obj5) {
18131 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18132 if (arg6 == NULL) {
18133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18134 }
18135 }
18136 if (obj6) {
18137 {
18138 arg7 = wxString_in_helper(obj6);
18139 if (arg7 == NULL) SWIG_fail;
18140 temp7 = True;
18141 }
18142 }
18143 {
18144 PyThreadState* __tstate = wxPyBeginAllowThreads();
18145 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
18146
18147 wxPyEndAllowThreads(__tstate);
18148 if (PyErr_Occurred()) SWIG_fail;
18149 }
18150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
18151 {
18152 if (temp7)
18153 delete arg7;
18154 }
18155 return resultobj;
18156 fail:
18157 {
18158 if (temp7)
18159 delete arg7;
18160 }
18161 return NULL;
18162 }
18163
18164
18165 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
18166 PyObject *resultobj;
18167 wxPyListCtrl *result;
18168 char *kwnames[] = {
18169 NULL
18170 };
18171
18172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
18173 {
18174 PyThreadState* __tstate = wxPyBeginAllowThreads();
18175 result = (wxPyListCtrl *)new wxPyListCtrl();
18176
18177 wxPyEndAllowThreads(__tstate);
18178 if (PyErr_Occurred()) SWIG_fail;
18179 }
18180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
18181 return resultobj;
18182 fail:
18183 return NULL;
18184 }
18185
18186
18187 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj;
18189 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18190 wxWindow *arg2 = (wxWindow *) 0 ;
18191 int arg3 = (int) -1 ;
18192 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18193 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18194 wxSize const &arg5_defvalue = wxDefaultSize ;
18195 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18196 long arg6 = (long) wxLC_ICON ;
18197 wxValidator const &arg7_defvalue = wxDefaultValidator ;
18198 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
18199 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
18200 wxString *arg8 = (wxString *) &arg8_defvalue ;
18201 bool result;
18202 wxPoint temp4 ;
18203 wxSize temp5 ;
18204 bool temp8 = False ;
18205 PyObject * obj0 = 0 ;
18206 PyObject * obj1 = 0 ;
18207 PyObject * obj3 = 0 ;
18208 PyObject * obj4 = 0 ;
18209 PyObject * obj6 = 0 ;
18210 PyObject * obj7 = 0 ;
18211 char *kwnames[] = {
18212 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
18213 };
18214
18215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
18216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18218 if (obj3) {
18219 {
18220 arg4 = &temp4;
18221 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18222 }
18223 }
18224 if (obj4) {
18225 {
18226 arg5 = &temp5;
18227 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18228 }
18229 }
18230 if (obj6) {
18231 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18232 if (arg7 == NULL) {
18233 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18234 }
18235 }
18236 if (obj7) {
18237 {
18238 arg8 = wxString_in_helper(obj7);
18239 if (arg8 == NULL) SWIG_fail;
18240 temp8 = True;
18241 }
18242 }
18243 {
18244 PyThreadState* __tstate = wxPyBeginAllowThreads();
18245 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
18246
18247 wxPyEndAllowThreads(__tstate);
18248 if (PyErr_Occurred()) SWIG_fail;
18249 }
18250 resultobj = PyInt_FromLong((long)result);
18251 {
18252 if (temp8)
18253 delete arg8;
18254 }
18255 return resultobj;
18256 fail:
18257 {
18258 if (temp8)
18259 delete arg8;
18260 }
18261 return NULL;
18262 }
18263
18264
18265 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18266 PyObject *resultobj;
18267 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18268 PyObject *arg2 = (PyObject *) 0 ;
18269 PyObject *arg3 = (PyObject *) 0 ;
18270 PyObject * obj0 = 0 ;
18271 PyObject * obj1 = 0 ;
18272 PyObject * obj2 = 0 ;
18273 char *kwnames[] = {
18274 (char *) "self",(char *) "self",(char *) "_class", NULL
18275 };
18276
18277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18279 arg2 = obj1;
18280 arg3 = obj2;
18281 {
18282 PyThreadState* __tstate = wxPyBeginAllowThreads();
18283 (arg1)->_setCallbackInfo(arg2,arg3);
18284
18285 wxPyEndAllowThreads(__tstate);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 }
18288 Py_INCREF(Py_None); resultobj = Py_None;
18289 return resultobj;
18290 fail:
18291 return NULL;
18292 }
18293
18294
18295 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18296 PyObject *resultobj;
18297 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18298 wxColour *arg2 = 0 ;
18299 bool result;
18300 wxColour temp2 ;
18301 PyObject * obj0 = 0 ;
18302 PyObject * obj1 = 0 ;
18303 char *kwnames[] = {
18304 (char *) "self",(char *) "col", NULL
18305 };
18306
18307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
18308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18309 {
18310 arg2 = &temp2;
18311 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18312 }
18313 {
18314 PyThreadState* __tstate = wxPyBeginAllowThreads();
18315 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
18316
18317 wxPyEndAllowThreads(__tstate);
18318 if (PyErr_Occurred()) SWIG_fail;
18319 }
18320 resultobj = PyInt_FromLong((long)result);
18321 return resultobj;
18322 fail:
18323 return NULL;
18324 }
18325
18326
18327 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18328 PyObject *resultobj;
18329 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18330 wxColour *arg2 = 0 ;
18331 bool result;
18332 wxColour temp2 ;
18333 PyObject * obj0 = 0 ;
18334 PyObject * obj1 = 0 ;
18335 char *kwnames[] = {
18336 (char *) "self",(char *) "col", NULL
18337 };
18338
18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
18340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18341 {
18342 arg2 = &temp2;
18343 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18344 }
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
18347 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
18348
18349 wxPyEndAllowThreads(__tstate);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 resultobj = PyInt_FromLong((long)result);
18353 return resultobj;
18354 fail:
18355 return NULL;
18356 }
18357
18358
18359 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18360 PyObject *resultobj;
18361 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18362 int arg2 ;
18363 wxListItem *result;
18364 PyObject * obj0 = 0 ;
18365 char *kwnames[] = {
18366 (char *) "self",(char *) "col", NULL
18367 };
18368
18369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
18370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18371 {
18372 PyThreadState* __tstate = wxPyBeginAllowThreads();
18373 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
18374
18375 wxPyEndAllowThreads(__tstate);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 }
18378 {
18379 resultobj = wxPyMake_wxObject(result);
18380 }
18381 return resultobj;
18382 fail:
18383 return NULL;
18384 }
18385
18386
18387 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18388 PyObject *resultobj;
18389 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18390 int arg2 ;
18391 wxListItem *arg3 = 0 ;
18392 bool result;
18393 PyObject * obj0 = 0 ;
18394 PyObject * obj2 = 0 ;
18395 char *kwnames[] = {
18396 (char *) "self",(char *) "col",(char *) "item", NULL
18397 };
18398
18399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
18400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18401 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18402 if (arg3 == NULL) {
18403 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18404 }
18405 {
18406 PyThreadState* __tstate = wxPyBeginAllowThreads();
18407 result = (bool)(arg1)->SetColumn(arg2,*arg3);
18408
18409 wxPyEndAllowThreads(__tstate);
18410 if (PyErr_Occurred()) SWIG_fail;
18411 }
18412 resultobj = PyInt_FromLong((long)result);
18413 return resultobj;
18414 fail:
18415 return NULL;
18416 }
18417
18418
18419 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18420 PyObject *resultobj;
18421 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18422 int arg2 ;
18423 int result;
18424 PyObject * obj0 = 0 ;
18425 char *kwnames[] = {
18426 (char *) "self",(char *) "col", NULL
18427 };
18428
18429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
18430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18431 {
18432 PyThreadState* __tstate = wxPyBeginAllowThreads();
18433 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
18434
18435 wxPyEndAllowThreads(__tstate);
18436 if (PyErr_Occurred()) SWIG_fail;
18437 }
18438 resultobj = PyInt_FromLong((long)result);
18439 return resultobj;
18440 fail:
18441 return NULL;
18442 }
18443
18444
18445 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18446 PyObject *resultobj;
18447 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18448 int arg2 ;
18449 int arg3 ;
18450 bool result;
18451 PyObject * obj0 = 0 ;
18452 char *kwnames[] = {
18453 (char *) "self",(char *) "col",(char *) "width", NULL
18454 };
18455
18456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
18457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18458 {
18459 PyThreadState* __tstate = wxPyBeginAllowThreads();
18460 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
18461
18462 wxPyEndAllowThreads(__tstate);
18463 if (PyErr_Occurred()) SWIG_fail;
18464 }
18465 resultobj = PyInt_FromLong((long)result);
18466 return resultobj;
18467 fail:
18468 return NULL;
18469 }
18470
18471
18472 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18473 PyObject *resultobj;
18474 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18475 int result;
18476 PyObject * obj0 = 0 ;
18477 char *kwnames[] = {
18478 (char *) "self", NULL
18479 };
18480
18481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
18482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18483 {
18484 PyThreadState* __tstate = wxPyBeginAllowThreads();
18485 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
18486
18487 wxPyEndAllowThreads(__tstate);
18488 if (PyErr_Occurred()) SWIG_fail;
18489 }
18490 resultobj = PyInt_FromLong((long)result);
18491 return resultobj;
18492 fail:
18493 return NULL;
18494 }
18495
18496
18497 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18498 PyObject *resultobj;
18499 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18500 wxRect result;
18501 PyObject * obj0 = 0 ;
18502 char *kwnames[] = {
18503 (char *) "self", NULL
18504 };
18505
18506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
18507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18508 {
18509 PyThreadState* __tstate = wxPyBeginAllowThreads();
18510 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
18511
18512 wxPyEndAllowThreads(__tstate);
18513 if (PyErr_Occurred()) SWIG_fail;
18514 }
18515 {
18516 wxRect * resultptr;
18517 resultptr = new wxRect((wxRect &) result);
18518 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18519 }
18520 return resultobj;
18521 fail:
18522 return NULL;
18523 }
18524
18525
18526 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
18527 PyObject *resultobj;
18528 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18529 wxTextCtrl *result;
18530 PyObject * obj0 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
18536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18537 {
18538 PyThreadState* __tstate = wxPyBeginAllowThreads();
18539 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
18540
18541 wxPyEndAllowThreads(__tstate);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 }
18544 {
18545 resultobj = wxPyMake_wxObject(result);
18546 }
18547 return resultobj;
18548 fail:
18549 return NULL;
18550 }
18551
18552
18553 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj;
18555 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18556 long arg2 ;
18557 int arg3 = (int) 0 ;
18558 wxListItem *result;
18559 PyObject * obj0 = 0 ;
18560 char *kwnames[] = {
18561 (char *) "self",(char *) "itemId",(char *) "col", NULL
18562 };
18563
18564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18566 {
18567 PyThreadState* __tstate = wxPyBeginAllowThreads();
18568 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
18569
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
18573 {
18574 resultobj = wxPyMake_wxObject(result);
18575 }
18576 return resultobj;
18577 fail:
18578 return NULL;
18579 }
18580
18581
18582 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj;
18584 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18585 wxListItem *arg2 = 0 ;
18586 bool result;
18587 PyObject * obj0 = 0 ;
18588 PyObject * obj1 = 0 ;
18589 char *kwnames[] = {
18590 (char *) "self",(char *) "info", NULL
18591 };
18592
18593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
18594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18596 if (arg2 == NULL) {
18597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18598 }
18599 {
18600 PyThreadState* __tstate = wxPyBeginAllowThreads();
18601 result = (bool)(arg1)->SetItem(*arg2);
18602
18603 wxPyEndAllowThreads(__tstate);
18604 if (PyErr_Occurred()) SWIG_fail;
18605 }
18606 resultobj = PyInt_FromLong((long)result);
18607 return resultobj;
18608 fail:
18609 return NULL;
18610 }
18611
18612
18613 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18614 PyObject *resultobj;
18615 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18616 long arg2 ;
18617 int arg3 ;
18618 wxString *arg4 = 0 ;
18619 int arg5 = (int) -1 ;
18620 long result;
18621 bool temp4 = False ;
18622 PyObject * obj0 = 0 ;
18623 PyObject * obj3 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18626 };
18627
18628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
18629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18630 {
18631 arg4 = wxString_in_helper(obj3);
18632 if (arg4 == NULL) SWIG_fail;
18633 temp4 = True;
18634 }
18635 {
18636 PyThreadState* __tstate = wxPyBeginAllowThreads();
18637 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
18638
18639 wxPyEndAllowThreads(__tstate);
18640 if (PyErr_Occurred()) SWIG_fail;
18641 }
18642 resultobj = PyInt_FromLong((long)result);
18643 {
18644 if (temp4)
18645 delete arg4;
18646 }
18647 return resultobj;
18648 fail:
18649 {
18650 if (temp4)
18651 delete arg4;
18652 }
18653 return NULL;
18654 }
18655
18656
18657 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18658 PyObject *resultobj;
18659 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18660 long arg2 ;
18661 long arg3 ;
18662 int result;
18663 PyObject * obj0 = 0 ;
18664 char *kwnames[] = {
18665 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18666 };
18667
18668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
18669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18670 {
18671 PyThreadState* __tstate = wxPyBeginAllowThreads();
18672 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
18673
18674 wxPyEndAllowThreads(__tstate);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
18677 resultobj = PyInt_FromLong((long)result);
18678 return resultobj;
18679 fail:
18680 return NULL;
18681 }
18682
18683
18684 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18685 PyObject *resultobj;
18686 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18687 long arg2 ;
18688 long arg3 ;
18689 long arg4 ;
18690 bool result;
18691 PyObject * obj0 = 0 ;
18692 char *kwnames[] = {
18693 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18694 };
18695
18696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18698 {
18699 PyThreadState* __tstate = wxPyBeginAllowThreads();
18700 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
18701
18702 wxPyEndAllowThreads(__tstate);
18703 if (PyErr_Occurred()) SWIG_fail;
18704 }
18705 resultobj = PyInt_FromLong((long)result);
18706 return resultobj;
18707 fail:
18708 return NULL;
18709 }
18710
18711
18712 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18713 PyObject *resultobj;
18714 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18715 long arg2 ;
18716 int arg3 ;
18717 int arg4 ;
18718 bool result;
18719 PyObject * obj0 = 0 ;
18720 char *kwnames[] = {
18721 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18722 };
18723
18724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18726 {
18727 PyThreadState* __tstate = wxPyBeginAllowThreads();
18728 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
18729
18730 wxPyEndAllowThreads(__tstate);
18731 if (PyErr_Occurred()) SWIG_fail;
18732 }
18733 resultobj = PyInt_FromLong((long)result);
18734 return resultobj;
18735 fail:
18736 return NULL;
18737 }
18738
18739
18740 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18741 PyObject *resultobj;
18742 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18743 long arg2 ;
18744 wxString result;
18745 PyObject * obj0 = 0 ;
18746 char *kwnames[] = {
18747 (char *) "self",(char *) "item", NULL
18748 };
18749
18750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
18751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18752 {
18753 PyThreadState* __tstate = wxPyBeginAllowThreads();
18754 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
18755
18756 wxPyEndAllowThreads(__tstate);
18757 if (PyErr_Occurred()) SWIG_fail;
18758 }
18759 {
18760 #if wxUSE_UNICODE
18761 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18762 #else
18763 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18764 #endif
18765 }
18766 return resultobj;
18767 fail:
18768 return NULL;
18769 }
18770
18771
18772 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18773 PyObject *resultobj;
18774 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18775 long arg2 ;
18776 wxString *arg3 = 0 ;
18777 bool temp3 = False ;
18778 PyObject * obj0 = 0 ;
18779 PyObject * obj2 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self",(char *) "item",(char *) "str", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18786 {
18787 arg3 = wxString_in_helper(obj2);
18788 if (arg3 == NULL) SWIG_fail;
18789 temp3 = True;
18790 }
18791 {
18792 PyThreadState* __tstate = wxPyBeginAllowThreads();
18793 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18794
18795 wxPyEndAllowThreads(__tstate);
18796 if (PyErr_Occurred()) SWIG_fail;
18797 }
18798 Py_INCREF(Py_None); resultobj = Py_None;
18799 {
18800 if (temp3)
18801 delete arg3;
18802 }
18803 return resultobj;
18804 fail:
18805 {
18806 if (temp3)
18807 delete arg3;
18808 }
18809 return NULL;
18810 }
18811
18812
18813 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18814 PyObject *resultobj;
18815 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18816 long arg2 ;
18817 long result;
18818 PyObject * obj0 = 0 ;
18819 char *kwnames[] = {
18820 (char *) "self",(char *) "item", NULL
18821 };
18822
18823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18825 {
18826 PyThreadState* __tstate = wxPyBeginAllowThreads();
18827 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18828
18829 wxPyEndAllowThreads(__tstate);
18830 if (PyErr_Occurred()) SWIG_fail;
18831 }
18832 resultobj = PyInt_FromLong((long)result);
18833 return resultobj;
18834 fail:
18835 return NULL;
18836 }
18837
18838
18839 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj;
18841 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18842 long arg2 ;
18843 long arg3 ;
18844 bool result;
18845 PyObject * obj0 = 0 ;
18846 char *kwnames[] = {
18847 (char *) "self",(char *) "item",(char *) "data", NULL
18848 };
18849
18850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18852 {
18853 PyThreadState* __tstate = wxPyBeginAllowThreads();
18854 result = (bool)(arg1)->SetItemData(arg2,arg3);
18855
18856 wxPyEndAllowThreads(__tstate);
18857 if (PyErr_Occurred()) SWIG_fail;
18858 }
18859 resultobj = PyInt_FromLong((long)result);
18860 return resultobj;
18861 fail:
18862 return NULL;
18863 }
18864
18865
18866 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18867 PyObject *resultobj;
18868 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18869 long arg2 ;
18870 wxPoint result;
18871 PyObject * obj0 = 0 ;
18872 char *kwnames[] = {
18873 (char *) "self",(char *) "item", NULL
18874 };
18875
18876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18878 {
18879 PyThreadState* __tstate = wxPyBeginAllowThreads();
18880 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18881
18882 wxPyEndAllowThreads(__tstate);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 }
18885 {
18886 wxPoint * resultptr;
18887 resultptr = new wxPoint((wxPoint &) result);
18888 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18889 }
18890 return resultobj;
18891 fail:
18892 return NULL;
18893 }
18894
18895
18896 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18897 PyObject *resultobj;
18898 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18899 long arg2 ;
18900 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18901 wxRect result;
18902 PyObject * obj0 = 0 ;
18903 char *kwnames[] = {
18904 (char *) "self",(char *) "item",(char *) "code", NULL
18905 };
18906
18907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18909 {
18910 PyThreadState* __tstate = wxPyBeginAllowThreads();
18911 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18912
18913 wxPyEndAllowThreads(__tstate);
18914 if (PyErr_Occurred()) SWIG_fail;
18915 }
18916 {
18917 wxRect * resultptr;
18918 resultptr = new wxRect((wxRect &) result);
18919 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18920 }
18921 return resultobj;
18922 fail:
18923 return NULL;
18924 }
18925
18926
18927 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18928 PyObject *resultobj;
18929 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18930 long arg2 ;
18931 wxPoint *arg3 = 0 ;
18932 bool result;
18933 wxPoint temp3 ;
18934 PyObject * obj0 = 0 ;
18935 PyObject * obj2 = 0 ;
18936 char *kwnames[] = {
18937 (char *) "self",(char *) "item",(char *) "pos", NULL
18938 };
18939
18940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18942 {
18943 arg3 = &temp3;
18944 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18945 }
18946 {
18947 PyThreadState* __tstate = wxPyBeginAllowThreads();
18948 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18949
18950 wxPyEndAllowThreads(__tstate);
18951 if (PyErr_Occurred()) SWIG_fail;
18952 }
18953 resultobj = PyInt_FromLong((long)result);
18954 return resultobj;
18955 fail:
18956 return NULL;
18957 }
18958
18959
18960 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18961 PyObject *resultobj;
18962 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18963 int result;
18964 PyObject * obj0 = 0 ;
18965 char *kwnames[] = {
18966 (char *) "self", NULL
18967 };
18968
18969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18971 {
18972 PyThreadState* __tstate = wxPyBeginAllowThreads();
18973 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18974
18975 wxPyEndAllowThreads(__tstate);
18976 if (PyErr_Occurred()) SWIG_fail;
18977 }
18978 resultobj = PyInt_FromLong((long)result);
18979 return resultobj;
18980 fail:
18981 return NULL;
18982 }
18983
18984
18985 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18986 PyObject *resultobj;
18987 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18988 int result;
18989 PyObject * obj0 = 0 ;
18990 char *kwnames[] = {
18991 (char *) "self", NULL
18992 };
18993
18994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18996 {
18997 PyThreadState* __tstate = wxPyBeginAllowThreads();
18998 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18999
19000 wxPyEndAllowThreads(__tstate);
19001 if (PyErr_Occurred()) SWIG_fail;
19002 }
19003 resultobj = PyInt_FromLong((long)result);
19004 return resultobj;
19005 fail:
19006 return NULL;
19007 }
19008
19009
19010 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
19011 PyObject *resultobj;
19012 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19013 wxSize result;
19014 PyObject * obj0 = 0 ;
19015 char *kwnames[] = {
19016 (char *) "self", NULL
19017 };
19018
19019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
19020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19021 {
19022 PyThreadState* __tstate = wxPyBeginAllowThreads();
19023 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
19024
19025 wxPyEndAllowThreads(__tstate);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
19028 {
19029 wxSize * resultptr;
19030 resultptr = new wxSize((wxSize &) result);
19031 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
19032 }
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19042 int result;
19043 PyObject * obj0 = 0 ;
19044 char *kwnames[] = {
19045 (char *) "self", NULL
19046 };
19047
19048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
19049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19050 {
19051 PyThreadState* __tstate = wxPyBeginAllowThreads();
19052 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
19053
19054 wxPyEndAllowThreads(__tstate);
19055 if (PyErr_Occurred()) SWIG_fail;
19056 }
19057 resultobj = PyInt_FromLong((long)result);
19058 return resultobj;
19059 fail:
19060 return NULL;
19061 }
19062
19063
19064 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19065 PyObject *resultobj;
19066 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19067 wxColour result;
19068 PyObject * obj0 = 0 ;
19069 char *kwnames[] = {
19070 (char *) "self", NULL
19071 };
19072
19073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
19074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19075 {
19076 PyThreadState* __tstate = wxPyBeginAllowThreads();
19077 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
19078
19079 wxPyEndAllowThreads(__tstate);
19080 if (PyErr_Occurred()) SWIG_fail;
19081 }
19082 {
19083 wxColour * resultptr;
19084 resultptr = new wxColour((wxColour &) result);
19085 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19086 }
19087 return resultobj;
19088 fail:
19089 return NULL;
19090 }
19091
19092
19093 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19094 PyObject *resultobj;
19095 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19096 wxColour *arg2 = 0 ;
19097 wxColour temp2 ;
19098 PyObject * obj0 = 0 ;
19099 PyObject * obj1 = 0 ;
19100 char *kwnames[] = {
19101 (char *) "self",(char *) "col", NULL
19102 };
19103
19104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
19105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19106 {
19107 arg2 = &temp2;
19108 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
19109 }
19110 {
19111 PyThreadState* __tstate = wxPyBeginAllowThreads();
19112 (arg1)->SetTextColour((wxColour const &)*arg2);
19113
19114 wxPyEndAllowThreads(__tstate);
19115 if (PyErr_Occurred()) SWIG_fail;
19116 }
19117 Py_INCREF(Py_None); resultobj = Py_None;
19118 return resultobj;
19119 fail:
19120 return NULL;
19121 }
19122
19123
19124 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19125 PyObject *resultobj;
19126 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19127 long result;
19128 PyObject * obj0 = 0 ;
19129 char *kwnames[] = {
19130 (char *) "self", NULL
19131 };
19132
19133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
19134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19135 {
19136 PyThreadState* __tstate = wxPyBeginAllowThreads();
19137 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
19138
19139 wxPyEndAllowThreads(__tstate);
19140 if (PyErr_Occurred()) SWIG_fail;
19141 }
19142 resultobj = PyInt_FromLong((long)result);
19143 return resultobj;
19144 fail:
19145 return NULL;
19146 }
19147
19148
19149 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
19150 PyObject *resultobj;
19151 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19152 long arg2 ;
19153 bool arg3 = (bool) True ;
19154 PyObject * obj0 = 0 ;
19155 PyObject * obj2 = 0 ;
19156 char *kwnames[] = {
19157 (char *) "self",(char *) "style",(char *) "add", NULL
19158 };
19159
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
19161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19162 if (obj2) {
19163 {
19164 arg3 = (bool) SPyObj_AsBool(obj2);
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
19167 }
19168 {
19169 PyThreadState* __tstate = wxPyBeginAllowThreads();
19170 (arg1)->SetSingleStyle(arg2,arg3);
19171
19172 wxPyEndAllowThreads(__tstate);
19173 if (PyErr_Occurred()) SWIG_fail;
19174 }
19175 Py_INCREF(Py_None); resultobj = Py_None;
19176 return resultobj;
19177 fail:
19178 return NULL;
19179 }
19180
19181
19182 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
19183 PyObject *resultobj;
19184 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19185 long arg2 ;
19186 PyObject * obj0 = 0 ;
19187 char *kwnames[] = {
19188 (char *) "self",(char *) "style", NULL
19189 };
19190
19191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
19192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19193 {
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 (arg1)->SetWindowStyleFlag(arg2);
19196
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 Py_INCREF(Py_None); resultobj = Py_None;
19201 return resultobj;
19202 fail:
19203 return NULL;
19204 }
19205
19206
19207 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19208 PyObject *resultobj;
19209 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19210 long arg2 ;
19211 int arg3 = (int) wxLIST_NEXT_ALL ;
19212 int arg4 = (int) wxLIST_STATE_DONTCARE ;
19213 long result;
19214 PyObject * obj0 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
19220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19221 {
19222 PyThreadState* __tstate = wxPyBeginAllowThreads();
19223 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
19224
19225 wxPyEndAllowThreads(__tstate);
19226 if (PyErr_Occurred()) SWIG_fail;
19227 }
19228 resultobj = PyInt_FromLong((long)result);
19229 return resultobj;
19230 fail:
19231 return NULL;
19232 }
19233
19234
19235 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
19236 PyObject *resultobj;
19237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19238 int arg2 ;
19239 wxImageList *result;
19240 PyObject * obj0 = 0 ;
19241 char *kwnames[] = {
19242 (char *) "self",(char *) "which", NULL
19243 };
19244
19245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
19246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
19250
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 {
19255 resultobj = wxPyMake_wxObject(result);
19256 }
19257 return resultobj;
19258 fail:
19259 return NULL;
19260 }
19261
19262
19263 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
19264 PyObject *resultobj;
19265 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19266 wxImageList *arg2 = (wxImageList *) 0 ;
19267 int arg3 ;
19268 PyObject * obj0 = 0 ;
19269 PyObject * obj1 = 0 ;
19270 char *kwnames[] = {
19271 (char *) "self",(char *) "imageList",(char *) "which", NULL
19272 };
19273
19274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
19275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19277 {
19278 PyThreadState* __tstate = wxPyBeginAllowThreads();
19279 (arg1)->SetImageList(arg2,arg3);
19280
19281 wxPyEndAllowThreads(__tstate);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 }
19284 Py_INCREF(Py_None); resultobj = Py_None;
19285 return resultobj;
19286 fail:
19287 return NULL;
19288 }
19289
19290
19291 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
19292 PyObject *resultobj;
19293 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19294 wxImageList *arg2 = (wxImageList *) 0 ;
19295 int arg3 ;
19296 PyObject * obj0 = 0 ;
19297 PyObject * obj1 = 0 ;
19298 char *kwnames[] = {
19299 (char *) "self",(char *) "imageList",(char *) "which", NULL
19300 };
19301
19302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
19303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19304 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19305 {
19306 PyThreadState* __tstate = wxPyBeginAllowThreads();
19307 (arg1)->AssignImageList(arg2,arg3);
19308
19309 wxPyEndAllowThreads(__tstate);
19310 if (PyErr_Occurred()) SWIG_fail;
19311 }
19312 Py_INCREF(Py_None); resultobj = Py_None;
19313 return resultobj;
19314 fail:
19315 return NULL;
19316 }
19317
19318
19319 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
19320 PyObject *resultobj;
19321 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19322 bool result;
19323 PyObject * obj0 = 0 ;
19324 char *kwnames[] = {
19325 (char *) "self", NULL
19326 };
19327
19328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
19329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19330 {
19331 PyThreadState* __tstate = wxPyBeginAllowThreads();
19332 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
19333
19334 wxPyEndAllowThreads(__tstate);
19335 if (PyErr_Occurred()) SWIG_fail;
19336 }
19337 resultobj = PyInt_FromLong((long)result);
19338 return resultobj;
19339 fail:
19340 return NULL;
19341 }
19342
19343
19344 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19345 PyObject *resultobj;
19346 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19347 long arg2 ;
19348 PyObject * obj0 = 0 ;
19349 char *kwnames[] = {
19350 (char *) "self",(char *) "item", NULL
19351 };
19352
19353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
19354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19355 {
19356 PyThreadState* __tstate = wxPyBeginAllowThreads();
19357 (arg1)->RefreshItem(arg2);
19358
19359 wxPyEndAllowThreads(__tstate);
19360 if (PyErr_Occurred()) SWIG_fail;
19361 }
19362 Py_INCREF(Py_None); resultobj = Py_None;
19363 return resultobj;
19364 fail:
19365 return NULL;
19366 }
19367
19368
19369 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19370 PyObject *resultobj;
19371 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19372 long arg2 ;
19373 long arg3 ;
19374 PyObject * obj0 = 0 ;
19375 char *kwnames[] = {
19376 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19377 };
19378
19379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
19380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19381 {
19382 PyThreadState* __tstate = wxPyBeginAllowThreads();
19383 (arg1)->RefreshItems(arg2,arg3);
19384
19385 wxPyEndAllowThreads(__tstate);
19386 if (PyErr_Occurred()) SWIG_fail;
19387 }
19388 Py_INCREF(Py_None); resultobj = Py_None;
19389 return resultobj;
19390 fail:
19391 return NULL;
19392 }
19393
19394
19395 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
19396 PyObject *resultobj;
19397 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19398 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
19399 bool result;
19400 PyObject * obj0 = 0 ;
19401 char *kwnames[] = {
19402 (char *) "self",(char *) "flag", NULL
19403 };
19404
19405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
19406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
19409 result = (bool)(arg1)->Arrange(arg2);
19410
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 resultobj = PyInt_FromLong((long)result);
19415 return resultobj;
19416 fail:
19417 return NULL;
19418 }
19419
19420
19421 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19422 PyObject *resultobj;
19423 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19424 long arg2 ;
19425 bool result;
19426 PyObject * obj0 = 0 ;
19427 char *kwnames[] = {
19428 (char *) "self",(char *) "item", NULL
19429 };
19430
19431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
19432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19433 {
19434 PyThreadState* __tstate = wxPyBeginAllowThreads();
19435 result = (bool)(arg1)->DeleteItem(arg2);
19436
19437 wxPyEndAllowThreads(__tstate);
19438 if (PyErr_Occurred()) SWIG_fail;
19439 }
19440 resultobj = PyInt_FromLong((long)result);
19441 return resultobj;
19442 fail:
19443 return NULL;
19444 }
19445
19446
19447 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19448 PyObject *resultobj;
19449 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19450 bool result;
19451 PyObject * obj0 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
19457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19458 {
19459 PyThreadState* __tstate = wxPyBeginAllowThreads();
19460 result = (bool)(arg1)->DeleteAllItems();
19461
19462 wxPyEndAllowThreads(__tstate);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 }
19465 resultobj = PyInt_FromLong((long)result);
19466 return resultobj;
19467 fail:
19468 return NULL;
19469 }
19470
19471
19472 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19473 PyObject *resultobj;
19474 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19475 int arg2 ;
19476 bool result;
19477 PyObject * obj0 = 0 ;
19478 char *kwnames[] = {
19479 (char *) "self",(char *) "col", NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
19483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19484 {
19485 PyThreadState* __tstate = wxPyBeginAllowThreads();
19486 result = (bool)(arg1)->DeleteColumn(arg2);
19487
19488 wxPyEndAllowThreads(__tstate);
19489 if (PyErr_Occurred()) SWIG_fail;
19490 }
19491 resultobj = PyInt_FromLong((long)result);
19492 return resultobj;
19493 fail:
19494 return NULL;
19495 }
19496
19497
19498 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
19499 PyObject *resultobj;
19500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19501 bool result;
19502 PyObject * obj0 = 0 ;
19503 char *kwnames[] = {
19504 (char *) "self", NULL
19505 };
19506
19507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
19508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19509 {
19510 PyThreadState* __tstate = wxPyBeginAllowThreads();
19511 result = (bool)(arg1)->DeleteAllColumns();
19512
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
19516 resultobj = PyInt_FromLong((long)result);
19517 return resultobj;
19518 fail:
19519 return NULL;
19520 }
19521
19522
19523 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
19524 PyObject *resultobj;
19525 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19526 PyObject * obj0 = 0 ;
19527 char *kwnames[] = {
19528 (char *) "self", NULL
19529 };
19530
19531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
19532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19533 {
19534 PyThreadState* __tstate = wxPyBeginAllowThreads();
19535 (arg1)->ClearAll();
19536
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 Py_INCREF(Py_None); resultobj = Py_None;
19541 return resultobj;
19542 fail:
19543 return NULL;
19544 }
19545
19546
19547 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19548 PyObject *resultobj;
19549 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19550 long arg2 ;
19551 wxTextCtrl *result;
19552 PyObject * obj0 = 0 ;
19553 char *kwnames[] = {
19554 (char *) "self",(char *) "item", NULL
19555 };
19556
19557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
19558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19559 {
19560 PyThreadState* __tstate = wxPyBeginAllowThreads();
19561 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
19562
19563 wxPyEndAllowThreads(__tstate);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
19566 {
19567 resultobj = wxPyMake_wxObject(result);
19568 }
19569 return resultobj;
19570 fail:
19571 return NULL;
19572 }
19573
19574
19575 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19576 PyObject *resultobj;
19577 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19578 bool arg2 ;
19579 bool result;
19580 PyObject * obj0 = 0 ;
19581 PyObject * obj1 = 0 ;
19582 char *kwnames[] = {
19583 (char *) "self",(char *) "cancel", NULL
19584 };
19585
19586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
19587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19588 {
19589 arg2 = (bool) SPyObj_AsBool(obj1);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 }
19592 {
19593 PyThreadState* __tstate = wxPyBeginAllowThreads();
19594 result = (bool)(arg1)->EndEditLabel(arg2);
19595
19596 wxPyEndAllowThreads(__tstate);
19597 if (PyErr_Occurred()) SWIG_fail;
19598 }
19599 resultobj = PyInt_FromLong((long)result);
19600 return resultobj;
19601 fail:
19602 return NULL;
19603 }
19604
19605
19606 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
19607 PyObject *resultobj;
19608 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19609 long arg2 ;
19610 bool result;
19611 PyObject * obj0 = 0 ;
19612 char *kwnames[] = {
19613 (char *) "self",(char *) "item", NULL
19614 };
19615
19616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
19617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19618 {
19619 PyThreadState* __tstate = wxPyBeginAllowThreads();
19620 result = (bool)(arg1)->EnsureVisible(arg2);
19621
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 resultobj = PyInt_FromLong((long)result);
19626 return resultobj;
19627 fail:
19628 return NULL;
19629 }
19630
19631
19632 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19633 PyObject *resultobj;
19634 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19635 long arg2 ;
19636 wxString *arg3 = 0 ;
19637 bool arg4 = (bool) False ;
19638 long result;
19639 bool temp3 = False ;
19640 PyObject * obj0 = 0 ;
19641 PyObject * obj2 = 0 ;
19642 PyObject * obj3 = 0 ;
19643 char *kwnames[] = {
19644 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19645 };
19646
19647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
19648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19649 {
19650 arg3 = wxString_in_helper(obj2);
19651 if (arg3 == NULL) SWIG_fail;
19652 temp3 = True;
19653 }
19654 if (obj3) {
19655 {
19656 arg4 = (bool) SPyObj_AsBool(obj3);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 }
19659 }
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
19663
19664 wxPyEndAllowThreads(__tstate);
19665 if (PyErr_Occurred()) SWIG_fail;
19666 }
19667 resultobj = PyInt_FromLong((long)result);
19668 {
19669 if (temp3)
19670 delete arg3;
19671 }
19672 return resultobj;
19673 fail:
19674 {
19675 if (temp3)
19676 delete arg3;
19677 }
19678 return NULL;
19679 }
19680
19681
19682 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19683 PyObject *resultobj;
19684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19685 long arg2 ;
19686 long arg3 ;
19687 long result;
19688 PyObject * obj0 = 0 ;
19689 char *kwnames[] = {
19690 (char *) "self",(char *) "start",(char *) "data", NULL
19691 };
19692
19693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
19694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19695 {
19696 PyThreadState* __tstate = wxPyBeginAllowThreads();
19697 result = (long)(arg1)->FindItem(arg2,arg3);
19698
19699 wxPyEndAllowThreads(__tstate);
19700 if (PyErr_Occurred()) SWIG_fail;
19701 }
19702 resultobj = PyInt_FromLong((long)result);
19703 return resultobj;
19704 fail:
19705 return NULL;
19706 }
19707
19708
19709 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
19710 PyObject *resultobj;
19711 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19712 long arg2 ;
19713 wxPoint *arg3 = 0 ;
19714 int arg4 ;
19715 long result;
19716 wxPoint temp3 ;
19717 PyObject * obj0 = 0 ;
19718 PyObject * obj2 = 0 ;
19719 char *kwnames[] = {
19720 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19721 };
19722
19723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19725 {
19726 arg3 = &temp3;
19727 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19728 }
19729 {
19730 PyThreadState* __tstate = wxPyBeginAllowThreads();
19731 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
19732
19733 wxPyEndAllowThreads(__tstate);
19734 if (PyErr_Occurred()) SWIG_fail;
19735 }
19736 resultobj = PyInt_FromLong((long)result);
19737 return resultobj;
19738 fail:
19739 return NULL;
19740 }
19741
19742
19743 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
19744 PyObject *resultobj;
19745 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19746 wxPoint *arg2 = 0 ;
19747 int *arg3 = 0 ;
19748 long result;
19749 wxPoint temp2 ;
19750 int temp3 ;
19751 PyObject * obj0 = 0 ;
19752 PyObject * obj1 = 0 ;
19753 char *kwnames[] = {
19754 (char *) "self",(char *) "point", NULL
19755 };
19756
19757 arg3 = &temp3;
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
19759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19760 {
19761 arg2 = &temp2;
19762 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19763 }
19764 {
19765 PyThreadState* __tstate = wxPyBeginAllowThreads();
19766 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
19767
19768 wxPyEndAllowThreads(__tstate);
19769 if (PyErr_Occurred()) SWIG_fail;
19770 }
19771 resultobj = PyInt_FromLong((long)result);
19772 {
19773 PyObject *o = PyInt_FromLong((long) (*arg3));
19774 resultobj = t_output_helper(resultobj,o);
19775 }
19776 return resultobj;
19777 fail:
19778 return NULL;
19779 }
19780
19781
19782 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19783 PyObject *resultobj;
19784 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19785 wxListItem *arg2 = 0 ;
19786 long result;
19787 PyObject * obj0 = 0 ;
19788 PyObject * obj1 = 0 ;
19789 char *kwnames[] = {
19790 (char *) "self",(char *) "info", NULL
19791 };
19792
19793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19795 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19796 if (arg2 == NULL) {
19797 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19798 }
19799 {
19800 PyThreadState* __tstate = wxPyBeginAllowThreads();
19801 result = (long)(arg1)->InsertItem(*arg2);
19802
19803 wxPyEndAllowThreads(__tstate);
19804 if (PyErr_Occurred()) SWIG_fail;
19805 }
19806 resultobj = PyInt_FromLong((long)result);
19807 return resultobj;
19808 fail:
19809 return NULL;
19810 }
19811
19812
19813 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19814 PyObject *resultobj;
19815 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19816 long arg2 ;
19817 wxString *arg3 = 0 ;
19818 long result;
19819 bool temp3 = False ;
19820 PyObject * obj0 = 0 ;
19821 PyObject * obj2 = 0 ;
19822 char *kwnames[] = {
19823 (char *) "self",(char *) "index",(char *) "label", NULL
19824 };
19825
19826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19828 {
19829 arg3 = wxString_in_helper(obj2);
19830 if (arg3 == NULL) SWIG_fail;
19831 temp3 = True;
19832 }
19833 {
19834 PyThreadState* __tstate = wxPyBeginAllowThreads();
19835 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19836
19837 wxPyEndAllowThreads(__tstate);
19838 if (PyErr_Occurred()) SWIG_fail;
19839 }
19840 resultobj = PyInt_FromLong((long)result);
19841 {
19842 if (temp3)
19843 delete arg3;
19844 }
19845 return resultobj;
19846 fail:
19847 {
19848 if (temp3)
19849 delete arg3;
19850 }
19851 return NULL;
19852 }
19853
19854
19855 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19856 PyObject *resultobj;
19857 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19858 long arg2 ;
19859 int arg3 ;
19860 long result;
19861 PyObject * obj0 = 0 ;
19862 char *kwnames[] = {
19863 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19864 };
19865
19866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 result = (long)(arg1)->InsertItem(arg2,arg3);
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 resultobj = PyInt_FromLong((long)result);
19876 return resultobj;
19877 fail:
19878 return NULL;
19879 }
19880
19881
19882 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19883 PyObject *resultobj;
19884 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19885 long arg2 ;
19886 wxString *arg3 = 0 ;
19887 int arg4 ;
19888 long result;
19889 bool temp3 = False ;
19890 PyObject * obj0 = 0 ;
19891 PyObject * obj2 = 0 ;
19892 char *kwnames[] = {
19893 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19894 };
19895
19896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19898 {
19899 arg3 = wxString_in_helper(obj2);
19900 if (arg3 == NULL) SWIG_fail;
19901 temp3 = True;
19902 }
19903 {
19904 PyThreadState* __tstate = wxPyBeginAllowThreads();
19905 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19906
19907 wxPyEndAllowThreads(__tstate);
19908 if (PyErr_Occurred()) SWIG_fail;
19909 }
19910 resultobj = PyInt_FromLong((long)result);
19911 {
19912 if (temp3)
19913 delete arg3;
19914 }
19915 return resultobj;
19916 fail:
19917 {
19918 if (temp3)
19919 delete arg3;
19920 }
19921 return NULL;
19922 }
19923
19924
19925 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19928 long arg2 ;
19929 wxListItem *arg3 = 0 ;
19930 long result;
19931 PyObject * obj0 = 0 ;
19932 PyObject * obj2 = 0 ;
19933 char *kwnames[] = {
19934 (char *) "self",(char *) "col",(char *) "info", NULL
19935 };
19936
19937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19939 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19940 if (arg3 == NULL) {
19941 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19942 }
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 resultobj = PyInt_FromLong((long)result);
19951 return resultobj;
19952 fail:
19953 return NULL;
19954 }
19955
19956
19957 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19958 PyObject *resultobj;
19959 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19960 long arg2 ;
19961 wxString *arg3 = 0 ;
19962 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19963 int arg5 = (int) -1 ;
19964 long result;
19965 bool temp3 = False ;
19966 PyObject * obj0 = 0 ;
19967 PyObject * obj2 = 0 ;
19968 char *kwnames[] = {
19969 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19970 };
19971
19972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19974 {
19975 arg3 = wxString_in_helper(obj2);
19976 if (arg3 == NULL) SWIG_fail;
19977 temp3 = True;
19978 }
19979 {
19980 PyThreadState* __tstate = wxPyBeginAllowThreads();
19981 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19982
19983 wxPyEndAllowThreads(__tstate);
19984 if (PyErr_Occurred()) SWIG_fail;
19985 }
19986 resultobj = PyInt_FromLong((long)result);
19987 {
19988 if (temp3)
19989 delete arg3;
19990 }
19991 return resultobj;
19992 fail:
19993 {
19994 if (temp3)
19995 delete arg3;
19996 }
19997 return NULL;
19998 }
19999
20000
20001 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20002 PyObject *resultobj;
20003 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20004 long arg2 ;
20005 PyObject * obj0 = 0 ;
20006 char *kwnames[] = {
20007 (char *) "self",(char *) "count", NULL
20008 };
20009
20010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
20011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20012 {
20013 PyThreadState* __tstate = wxPyBeginAllowThreads();
20014 (arg1)->SetItemCount(arg2);
20015
20016 wxPyEndAllowThreads(__tstate);
20017 if (PyErr_Occurred()) SWIG_fail;
20018 }
20019 Py_INCREF(Py_None); resultobj = Py_None;
20020 return resultobj;
20021 fail:
20022 return NULL;
20023 }
20024
20025
20026 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
20027 PyObject *resultobj;
20028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20029 int arg2 ;
20030 int arg3 ;
20031 bool result;
20032 PyObject * obj0 = 0 ;
20033 char *kwnames[] = {
20034 (char *) "self",(char *) "dx",(char *) "dy", NULL
20035 };
20036
20037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
20038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20039 {
20040 PyThreadState* __tstate = wxPyBeginAllowThreads();
20041 result = (bool)(arg1)->ScrollList(arg2,arg3);
20042
20043 wxPyEndAllowThreads(__tstate);
20044 if (PyErr_Occurred()) SWIG_fail;
20045 }
20046 resultobj = PyInt_FromLong((long)result);
20047 return resultobj;
20048 fail:
20049 return NULL;
20050 }
20051
20052
20053 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20054 PyObject *resultobj;
20055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20056 long arg2 ;
20057 wxColour *arg3 = 0 ;
20058 wxColour temp3 ;
20059 PyObject * obj0 = 0 ;
20060 PyObject * obj2 = 0 ;
20061 char *kwnames[] = {
20062 (char *) "self",(char *) "item",(char *) "col", NULL
20063 };
20064
20065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
20066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20067 {
20068 arg3 = &temp3;
20069 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
20070 }
20071 {
20072 PyThreadState* __tstate = wxPyBeginAllowThreads();
20073 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
20074
20075 wxPyEndAllowThreads(__tstate);
20076 if (PyErr_Occurred()) SWIG_fail;
20077 }
20078 Py_INCREF(Py_None); resultobj = Py_None;
20079 return resultobj;
20080 fail:
20081 return NULL;
20082 }
20083
20084
20085 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20086 PyObject *resultobj;
20087 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20088 long arg2 ;
20089 wxColour result;
20090 PyObject * obj0 = 0 ;
20091 char *kwnames[] = {
20092 (char *) "self",(char *) "item", NULL
20093 };
20094
20095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
20096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20097 {
20098 PyThreadState* __tstate = wxPyBeginAllowThreads();
20099 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
20100
20101 wxPyEndAllowThreads(__tstate);
20102 if (PyErr_Occurred()) SWIG_fail;
20103 }
20104 {
20105 wxColour * resultptr;
20106 resultptr = new wxColour((wxColour &) result);
20107 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20108 }
20109 return resultobj;
20110 fail:
20111 return NULL;
20112 }
20113
20114
20115 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj;
20117 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20118 long arg2 ;
20119 wxColour *arg3 = 0 ;
20120 wxColour temp3 ;
20121 PyObject * obj0 = 0 ;
20122 PyObject * obj2 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self",(char *) "item",(char *) "col", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
20128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20129 {
20130 arg3 = &temp3;
20131 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
20132 }
20133 {
20134 PyThreadState* __tstate = wxPyBeginAllowThreads();
20135 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
20136
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 Py_INCREF(Py_None); resultobj = Py_None;
20141 return resultobj;
20142 fail:
20143 return NULL;
20144 }
20145
20146
20147 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20148 PyObject *resultobj;
20149 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20150 long arg2 ;
20151 wxColour result;
20152 PyObject * obj0 = 0 ;
20153 char *kwnames[] = {
20154 (char *) "self",(char *) "item", NULL
20155 };
20156
20157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
20158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 {
20167 wxColour * resultptr;
20168 resultptr = new wxColour((wxColour &) result);
20169 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20170 }
20171 return resultobj;
20172 fail:
20173 return NULL;
20174 }
20175
20176
20177 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
20178 PyObject *resultobj;
20179 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20180 PyObject *arg2 = (PyObject *) 0 ;
20181 bool result;
20182 PyObject * obj0 = 0 ;
20183 PyObject * obj1 = 0 ;
20184 char *kwnames[] = {
20185 (char *) "self",(char *) "func", NULL
20186 };
20187
20188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
20189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20190 arg2 = obj1;
20191 {
20192 PyThreadState* __tstate = wxPyBeginAllowThreads();
20193 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
20194
20195 wxPyEndAllowThreads(__tstate);
20196 if (PyErr_Occurred()) SWIG_fail;
20197 }
20198 resultobj = PyInt_FromLong((long)result);
20199 return resultobj;
20200 fail:
20201 return NULL;
20202 }
20203
20204
20205 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
20208 wxWindow *result;
20209 PyObject * obj0 = 0 ;
20210 char *kwnames[] = {
20211 (char *) "self", NULL
20212 };
20213
20214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
20215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20216 {
20217 PyThreadState* __tstate = wxPyBeginAllowThreads();
20218 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
20219
20220 wxPyEndAllowThreads(__tstate);
20221 if (PyErr_Occurred()) SWIG_fail;
20222 }
20223 {
20224 resultobj = wxPyMake_wxObject(result);
20225 }
20226 return resultobj;
20227 fail:
20228 return NULL;
20229 }
20230
20231
20232 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
20233 PyObject *obj;
20234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20235 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
20236 Py_INCREF(obj);
20237 return Py_BuildValue((char *)"");
20238 }
20239 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
20240 PyObject *resultobj;
20241 wxWindow *arg1 = (wxWindow *) 0 ;
20242 int arg2 = (int) -1 ;
20243 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20244 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20245 wxSize const &arg4_defvalue = wxDefaultSize ;
20246 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20247 long arg5 = (long) wxLC_REPORT ;
20248 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20249 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20250 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
20251 wxString *arg7 = (wxString *) &arg7_defvalue ;
20252 wxListView *result;
20253 wxPoint temp3 ;
20254 wxSize temp4 ;
20255 bool temp7 = False ;
20256 PyObject * obj0 = 0 ;
20257 PyObject * obj2 = 0 ;
20258 PyObject * obj3 = 0 ;
20259 PyObject * obj5 = 0 ;
20260 PyObject * obj6 = 0 ;
20261 char *kwnames[] = {
20262 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20263 };
20264
20265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20267 if (obj2) {
20268 {
20269 arg3 = &temp3;
20270 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20271 }
20272 }
20273 if (obj3) {
20274 {
20275 arg4 = &temp4;
20276 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20277 }
20278 }
20279 if (obj5) {
20280 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20281 if (arg6 == NULL) {
20282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20283 }
20284 }
20285 if (obj6) {
20286 {
20287 arg7 = wxString_in_helper(obj6);
20288 if (arg7 == NULL) SWIG_fail;
20289 temp7 = True;
20290 }
20291 }
20292 {
20293 PyThreadState* __tstate = wxPyBeginAllowThreads();
20294 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20295
20296 wxPyEndAllowThreads(__tstate);
20297 if (PyErr_Occurred()) SWIG_fail;
20298 }
20299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
20300 {
20301 if (temp7)
20302 delete arg7;
20303 }
20304 return resultobj;
20305 fail:
20306 {
20307 if (temp7)
20308 delete arg7;
20309 }
20310 return NULL;
20311 }
20312
20313
20314 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
20315 PyObject *resultobj;
20316 wxListView *result;
20317 char *kwnames[] = {
20318 NULL
20319 };
20320
20321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
20322 {
20323 PyThreadState* __tstate = wxPyBeginAllowThreads();
20324 result = (wxListView *)new wxListView();
20325
20326 wxPyEndAllowThreads(__tstate);
20327 if (PyErr_Occurred()) SWIG_fail;
20328 }
20329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
20330 return resultobj;
20331 fail:
20332 return NULL;
20333 }
20334
20335
20336 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20337 PyObject *resultobj;
20338 wxListView *arg1 = (wxListView *) 0 ;
20339 wxWindow *arg2 = (wxWindow *) 0 ;
20340 int arg3 = (int) -1 ;
20341 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20342 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20343 wxSize const &arg5_defvalue = wxDefaultSize ;
20344 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20345 long arg6 = (long) wxLC_REPORT ;
20346 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20347 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20348 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
20349 wxString *arg8 = (wxString *) &arg8_defvalue ;
20350 bool result;
20351 wxPoint temp4 ;
20352 wxSize temp5 ;
20353 bool temp8 = False ;
20354 PyObject * obj0 = 0 ;
20355 PyObject * obj1 = 0 ;
20356 PyObject * obj3 = 0 ;
20357 PyObject * obj4 = 0 ;
20358 PyObject * obj6 = 0 ;
20359 PyObject * obj7 = 0 ;
20360 char *kwnames[] = {
20361 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20362 };
20363
20364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20367 if (obj3) {
20368 {
20369 arg4 = &temp4;
20370 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20371 }
20372 }
20373 if (obj4) {
20374 {
20375 arg5 = &temp5;
20376 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20377 }
20378 }
20379 if (obj6) {
20380 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20381 if (arg7 == NULL) {
20382 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20383 }
20384 }
20385 if (obj7) {
20386 {
20387 arg8 = wxString_in_helper(obj7);
20388 if (arg8 == NULL) SWIG_fail;
20389 temp8 = True;
20390 }
20391 }
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 resultobj = PyInt_FromLong((long)result);
20400 {
20401 if (temp8)
20402 delete arg8;
20403 }
20404 return resultobj;
20405 fail:
20406 {
20407 if (temp8)
20408 delete arg8;
20409 }
20410 return NULL;
20411 }
20412
20413
20414 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
20415 PyObject *resultobj;
20416 wxListView *arg1 = (wxListView *) 0 ;
20417 long arg2 ;
20418 bool arg3 = (bool) True ;
20419 PyObject * obj0 = 0 ;
20420 PyObject * obj2 = 0 ;
20421 char *kwnames[] = {
20422 (char *) "self",(char *) "n",(char *) "on", NULL
20423 };
20424
20425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
20426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20427 if (obj2) {
20428 {
20429 arg3 = (bool) SPyObj_AsBool(obj2);
20430 if (PyErr_Occurred()) SWIG_fail;
20431 }
20432 }
20433 {
20434 PyThreadState* __tstate = wxPyBeginAllowThreads();
20435 (arg1)->Select(arg2,arg3);
20436
20437 wxPyEndAllowThreads(__tstate);
20438 if (PyErr_Occurred()) SWIG_fail;
20439 }
20440 Py_INCREF(Py_None); resultobj = Py_None;
20441 return resultobj;
20442 fail:
20443 return NULL;
20444 }
20445
20446
20447 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
20448 PyObject *resultobj;
20449 wxListView *arg1 = (wxListView *) 0 ;
20450 long arg2 ;
20451 PyObject * obj0 = 0 ;
20452 char *kwnames[] = {
20453 (char *) "self",(char *) "index", NULL
20454 };
20455
20456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
20457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20458 {
20459 PyThreadState* __tstate = wxPyBeginAllowThreads();
20460 (arg1)->Focus(arg2);
20461
20462 wxPyEndAllowThreads(__tstate);
20463 if (PyErr_Occurred()) SWIG_fail;
20464 }
20465 Py_INCREF(Py_None); resultobj = Py_None;
20466 return resultobj;
20467 fail:
20468 return NULL;
20469 }
20470
20471
20472 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20473 PyObject *resultobj;
20474 wxListView *arg1 = (wxListView *) 0 ;
20475 long result;
20476 PyObject * obj0 = 0 ;
20477 char *kwnames[] = {
20478 (char *) "self", NULL
20479 };
20480
20481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
20482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20483 {
20484 PyThreadState* __tstate = wxPyBeginAllowThreads();
20485 result = (long)((wxListView const *)arg1)->GetFocusedItem();
20486
20487 wxPyEndAllowThreads(__tstate);
20488 if (PyErr_Occurred()) SWIG_fail;
20489 }
20490 resultobj = PyInt_FromLong((long)result);
20491 return resultobj;
20492 fail:
20493 return NULL;
20494 }
20495
20496
20497 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20498 PyObject *resultobj;
20499 wxListView *arg1 = (wxListView *) 0 ;
20500 long arg2 ;
20501 long result;
20502 PyObject * obj0 = 0 ;
20503 char *kwnames[] = {
20504 (char *) "self",(char *) "item", NULL
20505 };
20506
20507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
20508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20509 {
20510 PyThreadState* __tstate = wxPyBeginAllowThreads();
20511 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
20512
20513 wxPyEndAllowThreads(__tstate);
20514 if (PyErr_Occurred()) SWIG_fail;
20515 }
20516 resultobj = PyInt_FromLong((long)result);
20517 return resultobj;
20518 fail:
20519 return NULL;
20520 }
20521
20522
20523 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20524 PyObject *resultobj;
20525 wxListView *arg1 = (wxListView *) 0 ;
20526 long result;
20527 PyObject * obj0 = 0 ;
20528 char *kwnames[] = {
20529 (char *) "self", NULL
20530 };
20531
20532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
20533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20534 {
20535 PyThreadState* __tstate = wxPyBeginAllowThreads();
20536 result = (long)((wxListView const *)arg1)->GetFirstSelected();
20537
20538 wxPyEndAllowThreads(__tstate);
20539 if (PyErr_Occurred()) SWIG_fail;
20540 }
20541 resultobj = PyInt_FromLong((long)result);
20542 return resultobj;
20543 fail:
20544 return NULL;
20545 }
20546
20547
20548 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20549 PyObject *resultobj;
20550 wxListView *arg1 = (wxListView *) 0 ;
20551 long arg2 ;
20552 bool result;
20553 PyObject * obj0 = 0 ;
20554 char *kwnames[] = {
20555 (char *) "self",(char *) "index", NULL
20556 };
20557
20558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
20559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20560 {
20561 PyThreadState* __tstate = wxPyBeginAllowThreads();
20562 result = (bool)(arg1)->IsSelected(arg2);
20563
20564 wxPyEndAllowThreads(__tstate);
20565 if (PyErr_Occurred()) SWIG_fail;
20566 }
20567 resultobj = PyInt_FromLong((long)result);
20568 return resultobj;
20569 fail:
20570 return NULL;
20571 }
20572
20573
20574 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20575 PyObject *resultobj;
20576 wxListView *arg1 = (wxListView *) 0 ;
20577 int arg2 ;
20578 int arg3 ;
20579 PyObject * obj0 = 0 ;
20580 char *kwnames[] = {
20581 (char *) "self",(char *) "col",(char *) "image", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
20585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20586 {
20587 PyThreadState* __tstate = wxPyBeginAllowThreads();
20588 (arg1)->SetColumnImage(arg2,arg3);
20589
20590 wxPyEndAllowThreads(__tstate);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 }
20593 Py_INCREF(Py_None); resultobj = Py_None;
20594 return resultobj;
20595 fail:
20596 return NULL;
20597 }
20598
20599
20600 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20601 PyObject *resultobj;
20602 wxListView *arg1 = (wxListView *) 0 ;
20603 int arg2 ;
20604 PyObject * obj0 = 0 ;
20605 char *kwnames[] = {
20606 (char *) "self",(char *) "col", NULL
20607 };
20608
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
20610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20611 {
20612 PyThreadState* __tstate = wxPyBeginAllowThreads();
20613 (arg1)->ClearColumnImage(arg2);
20614
20615 wxPyEndAllowThreads(__tstate);
20616 if (PyErr_Occurred()) SWIG_fail;
20617 }
20618 Py_INCREF(Py_None); resultobj = Py_None;
20619 return resultobj;
20620 fail:
20621 return NULL;
20622 }
20623
20624
20625 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
20626 PyObject *obj;
20627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20628 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
20629 Py_INCREF(obj);
20630 return Py_BuildValue((char *)"");
20631 }
20632 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
20633 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
20634 return 1;
20635 }
20636
20637
20638 static PyObject *_wrap_TreeCtrlNameStr_get() {
20639 PyObject *pyobj;
20640
20641 {
20642 #if wxUSE_UNICODE
20643 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20644 #else
20645 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20646 #endif
20647 }
20648 return pyobj;
20649 }
20650
20651
20652 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20653 PyObject *resultobj;
20654 wxTreeItemId *result;
20655 char *kwnames[] = {
20656 NULL
20657 };
20658
20659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
20660 {
20661 PyThreadState* __tstate = wxPyBeginAllowThreads();
20662 result = (wxTreeItemId *)new wxTreeItemId();
20663
20664 wxPyEndAllowThreads(__tstate);
20665 if (PyErr_Occurred()) SWIG_fail;
20666 }
20667 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
20668 return resultobj;
20669 fail:
20670 return NULL;
20671 }
20672
20673
20674 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20675 PyObject *resultobj;
20676 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20677 PyObject * obj0 = 0 ;
20678 char *kwnames[] = {
20679 (char *) "self", NULL
20680 };
20681
20682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
20683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20684 {
20685 PyThreadState* __tstate = wxPyBeginAllowThreads();
20686 delete arg1;
20687
20688 wxPyEndAllowThreads(__tstate);
20689 if (PyErr_Occurred()) SWIG_fail;
20690 }
20691 Py_INCREF(Py_None); resultobj = Py_None;
20692 return resultobj;
20693 fail:
20694 return NULL;
20695 }
20696
20697
20698 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20699 PyObject *resultobj;
20700 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20701 bool result;
20702 PyObject * obj0 = 0 ;
20703 char *kwnames[] = {
20704 (char *) "self", NULL
20705 };
20706
20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
20708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
20711 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
20712
20713 wxPyEndAllowThreads(__tstate);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 }
20716 resultobj = PyInt_FromLong((long)result);
20717 return resultobj;
20718 fail:
20719 return NULL;
20720 }
20721
20722
20723 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20724 PyObject *resultobj;
20725 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20726 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20727 bool result;
20728 PyObject * obj0 = 0 ;
20729 PyObject * obj1 = 0 ;
20730 char *kwnames[] = {
20731 (char *) "self",(char *) "other", NULL
20732 };
20733
20734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
20735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20736 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20737 {
20738 PyThreadState* __tstate = wxPyBeginAllowThreads();
20739 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
20740
20741 wxPyEndAllowThreads(__tstate);
20742 if (PyErr_Occurred()) SWIG_fail;
20743 }
20744 resultobj = PyInt_FromLong((long)result);
20745 return resultobj;
20746 fail:
20747 return NULL;
20748 }
20749
20750
20751 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20752 PyObject *resultobj;
20753 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20754 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20755 bool result;
20756 PyObject * obj0 = 0 ;
20757 PyObject * obj1 = 0 ;
20758 char *kwnames[] = {
20759 (char *) "self",(char *) "other", NULL
20760 };
20761
20762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
20763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
20768
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 resultobj = PyInt_FromLong((long)result);
20773 return resultobj;
20774 fail:
20775 return NULL;
20776 }
20777
20778
20779 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20780 PyObject *resultobj;
20781 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20782 void *arg2 = (void *) 0 ;
20783 PyObject * obj0 = 0 ;
20784 PyObject * obj1 = 0 ;
20785 char *kwnames[] = {
20786 (char *) "self",(char *) "m_pItem", NULL
20787 };
20788
20789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
20790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20792 if (arg1) (arg1)->m_pItem = arg2;
20793
20794 Py_INCREF(Py_None); resultobj = Py_None;
20795 return resultobj;
20796 fail:
20797 return NULL;
20798 }
20799
20800
20801 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20802 PyObject *resultobj;
20803 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20804 void *result;
20805 PyObject * obj0 = 0 ;
20806 char *kwnames[] = {
20807 (char *) "self", NULL
20808 };
20809
20810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20812 result = (void *) ((arg1)->m_pItem);
20813
20814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
20815 return resultobj;
20816 fail:
20817 return NULL;
20818 }
20819
20820
20821 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20822 PyObject *obj;
20823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20824 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20825 Py_INCREF(obj);
20826 return Py_BuildValue((char *)"");
20827 }
20828 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj;
20830 PyObject *arg1 = (PyObject *) NULL ;
20831 wxPyTreeItemData *result;
20832 PyObject * obj0 = 0 ;
20833 char *kwnames[] = {
20834 (char *) "obj", NULL
20835 };
20836
20837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20838 if (obj0) {
20839 arg1 = obj0;
20840 }
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20844
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20849 return resultobj;
20850 fail:
20851 return NULL;
20852 }
20853
20854
20855 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20856 PyObject *resultobj;
20857 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20858 PyObject *result;
20859 PyObject * obj0 = 0 ;
20860 char *kwnames[] = {
20861 (char *) "self", NULL
20862 };
20863
20864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20866 {
20867 PyThreadState* __tstate = wxPyBeginAllowThreads();
20868 result = (PyObject *)(arg1)->GetData();
20869
20870 wxPyEndAllowThreads(__tstate);
20871 if (PyErr_Occurred()) SWIG_fail;
20872 }
20873 resultobj = result;
20874 return resultobj;
20875 fail:
20876 return NULL;
20877 }
20878
20879
20880 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20881 PyObject *resultobj;
20882 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20883 PyObject *arg2 = (PyObject *) 0 ;
20884 PyObject * obj0 = 0 ;
20885 PyObject * obj1 = 0 ;
20886 char *kwnames[] = {
20887 (char *) "self",(char *) "obj", NULL
20888 };
20889
20890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20892 arg2 = obj1;
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 (arg1)->SetData(arg2);
20896
20897 wxPyEndAllowThreads(__tstate);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 }
20900 Py_INCREF(Py_None); resultobj = Py_None;
20901 return resultobj;
20902 fail:
20903 return NULL;
20904 }
20905
20906
20907 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20908 PyObject *resultobj;
20909 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20910 wxTreeItemId *result;
20911 PyObject * obj0 = 0 ;
20912 char *kwnames[] = {
20913 (char *) "self", NULL
20914 };
20915
20916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20918 {
20919 PyThreadState* __tstate = wxPyBeginAllowThreads();
20920 {
20921 wxTreeItemId const &_result_ref = (arg1)->GetId();
20922 result = (wxTreeItemId *) &_result_ref;
20923 }
20924
20925 wxPyEndAllowThreads(__tstate);
20926 if (PyErr_Occurred()) SWIG_fail;
20927 }
20928 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20929 return resultobj;
20930 fail:
20931 return NULL;
20932 }
20933
20934
20935 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20936 PyObject *resultobj;
20937 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20938 wxTreeItemId *arg2 = 0 ;
20939 PyObject * obj0 = 0 ;
20940 PyObject * obj1 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "self",(char *) "id", NULL
20943 };
20944
20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20948 if (arg2 == NULL) {
20949 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20950 }
20951 {
20952 PyThreadState* __tstate = wxPyBeginAllowThreads();
20953 (arg1)->SetId((wxTreeItemId const &)*arg2);
20954
20955 wxPyEndAllowThreads(__tstate);
20956 if (PyErr_Occurred()) SWIG_fail;
20957 }
20958 Py_INCREF(Py_None); resultobj = Py_None;
20959 return resultobj;
20960 fail:
20961 return NULL;
20962 }
20963
20964
20965 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20966 PyObject *resultobj;
20967 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20968 PyObject * obj0 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "self", NULL
20971 };
20972
20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20975 {
20976 PyThreadState* __tstate = wxPyBeginAllowThreads();
20977 wxPyTreeItemData_Destroy(arg1);
20978
20979 wxPyEndAllowThreads(__tstate);
20980 if (PyErr_Occurred()) SWIG_fail;
20981 }
20982 Py_INCREF(Py_None); resultobj = Py_None;
20983 return resultobj;
20984 fail:
20985 return NULL;
20986 }
20987
20988
20989 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20990 PyObject *obj;
20991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20992 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20993 Py_INCREF(obj);
20994 return Py_BuildValue((char *)"");
20995 }
20996 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20997 PyObject *resultobj;
20998 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20999 int arg2 = (int) 0 ;
21000 wxTreeEvent *result;
21001 char *kwnames[] = {
21002 (char *) "commandType",(char *) "id", NULL
21003 };
21004
21005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
21006 {
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
21009
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
21013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
21014 return resultobj;
21015 fail:
21016 return NULL;
21017 }
21018
21019
21020 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21021 PyObject *resultobj;
21022 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21023 wxTreeItemId result;
21024 PyObject * obj0 = 0 ;
21025 char *kwnames[] = {
21026 (char *) "self", NULL
21027 };
21028
21029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
21030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21031 {
21032 PyThreadState* __tstate = wxPyBeginAllowThreads();
21033 result = ((wxTreeEvent const *)arg1)->GetItem();
21034
21035 wxPyEndAllowThreads(__tstate);
21036 if (PyErr_Occurred()) SWIG_fail;
21037 }
21038 {
21039 wxTreeItemId * resultptr;
21040 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21041 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21042 }
21043 return resultobj;
21044 fail:
21045 return NULL;
21046 }
21047
21048
21049 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21050 PyObject *resultobj;
21051 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21052 wxTreeItemId *arg2 = 0 ;
21053 PyObject * obj0 = 0 ;
21054 PyObject * obj1 = 0 ;
21055 char *kwnames[] = {
21056 (char *) "self",(char *) "item", NULL
21057 };
21058
21059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
21060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21062 if (arg2 == NULL) {
21063 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21064 }
21065 {
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 (arg1)->SetItem((wxTreeItemId const &)*arg2);
21068
21069 wxPyEndAllowThreads(__tstate);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
21072 Py_INCREF(Py_None); resultobj = Py_None;
21073 return resultobj;
21074 fail:
21075 return NULL;
21076 }
21077
21078
21079 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21080 PyObject *resultobj;
21081 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21082 wxTreeItemId result;
21083 PyObject * obj0 = 0 ;
21084 char *kwnames[] = {
21085 (char *) "self", NULL
21086 };
21087
21088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
21089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 result = ((wxTreeEvent const *)arg1)->GetOldItem();
21093
21094 wxPyEndAllowThreads(__tstate);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 }
21097 {
21098 wxTreeItemId * resultptr;
21099 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21100 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21101 }
21102 return resultobj;
21103 fail:
21104 return NULL;
21105 }
21106
21107
21108 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21109 PyObject *resultobj;
21110 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21111 wxTreeItemId *arg2 = 0 ;
21112 PyObject * obj0 = 0 ;
21113 PyObject * obj1 = 0 ;
21114 char *kwnames[] = {
21115 (char *) "self",(char *) "item", NULL
21116 };
21117
21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
21119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21121 if (arg2 == NULL) {
21122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21123 }
21124 {
21125 PyThreadState* __tstate = wxPyBeginAllowThreads();
21126 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
21127
21128 wxPyEndAllowThreads(__tstate);
21129 if (PyErr_Occurred()) SWIG_fail;
21130 }
21131 Py_INCREF(Py_None); resultobj = Py_None;
21132 return resultobj;
21133 fail:
21134 return NULL;
21135 }
21136
21137
21138 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21139 PyObject *resultobj;
21140 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21141 wxPoint result;
21142 PyObject * obj0 = 0 ;
21143 char *kwnames[] = {
21144 (char *) "self", NULL
21145 };
21146
21147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
21148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21149 {
21150 PyThreadState* __tstate = wxPyBeginAllowThreads();
21151 result = ((wxTreeEvent const *)arg1)->GetPoint();
21152
21153 wxPyEndAllowThreads(__tstate);
21154 if (PyErr_Occurred()) SWIG_fail;
21155 }
21156 {
21157 wxPoint * resultptr;
21158 resultptr = new wxPoint((wxPoint &) result);
21159 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
21160 }
21161 return resultobj;
21162 fail:
21163 return NULL;
21164 }
21165
21166
21167 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
21168 PyObject *resultobj;
21169 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21170 wxPoint *arg2 = 0 ;
21171 wxPoint temp2 ;
21172 PyObject * obj0 = 0 ;
21173 PyObject * obj1 = 0 ;
21174 char *kwnames[] = {
21175 (char *) "self",(char *) "pt", NULL
21176 };
21177
21178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
21179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21180 {
21181 arg2 = &temp2;
21182 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21183 }
21184 {
21185 PyThreadState* __tstate = wxPyBeginAllowThreads();
21186 (arg1)->SetPoint((wxPoint const &)*arg2);
21187
21188 wxPyEndAllowThreads(__tstate);
21189 if (PyErr_Occurred()) SWIG_fail;
21190 }
21191 Py_INCREF(Py_None); resultobj = Py_None;
21192 return resultobj;
21193 fail:
21194 return NULL;
21195 }
21196
21197
21198 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
21199 PyObject *resultobj;
21200 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21201 wxKeyEvent *result;
21202 PyObject * obj0 = 0 ;
21203 char *kwnames[] = {
21204 (char *) "self", NULL
21205 };
21206
21207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
21208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21209 {
21210 PyThreadState* __tstate = wxPyBeginAllowThreads();
21211 {
21212 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
21213 result = (wxKeyEvent *) &_result_ref;
21214 }
21215
21216 wxPyEndAllowThreads(__tstate);
21217 if (PyErr_Occurred()) SWIG_fail;
21218 }
21219 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
21220 return resultobj;
21221 fail:
21222 return NULL;
21223 }
21224
21225
21226 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
21227 PyObject *resultobj;
21228 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21229 int result;
21230 PyObject * obj0 = 0 ;
21231 char *kwnames[] = {
21232 (char *) "self", NULL
21233 };
21234
21235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
21236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21237 {
21238 PyThreadState* __tstate = wxPyBeginAllowThreads();
21239 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
21240
21241 wxPyEndAllowThreads(__tstate);
21242 if (PyErr_Occurred()) SWIG_fail;
21243 }
21244 resultobj = PyInt_FromLong((long)result);
21245 return resultobj;
21246 fail:
21247 return NULL;
21248 }
21249
21250
21251 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
21252 PyObject *resultobj;
21253 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21254 wxKeyEvent *arg2 = 0 ;
21255 PyObject * obj0 = 0 ;
21256 PyObject * obj1 = 0 ;
21257 char *kwnames[] = {
21258 (char *) "self",(char *) "evt", NULL
21259 };
21260
21261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
21262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21263 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21264 if (arg2 == NULL) {
21265 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21266 }
21267 {
21268 PyThreadState* __tstate = wxPyBeginAllowThreads();
21269 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
21270
21271 wxPyEndAllowThreads(__tstate);
21272 if (PyErr_Occurred()) SWIG_fail;
21273 }
21274 Py_INCREF(Py_None); resultobj = Py_None;
21275 return resultobj;
21276 fail:
21277 return NULL;
21278 }
21279
21280
21281 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21282 PyObject *resultobj;
21283 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21284 wxString *result;
21285 PyObject * obj0 = 0 ;
21286 char *kwnames[] = {
21287 (char *) "self", NULL
21288 };
21289
21290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
21291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21292 {
21293 PyThreadState* __tstate = wxPyBeginAllowThreads();
21294 {
21295 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
21296 result = (wxString *) &_result_ref;
21297 }
21298
21299 wxPyEndAllowThreads(__tstate);
21300 if (PyErr_Occurred()) SWIG_fail;
21301 }
21302 {
21303 #if wxUSE_UNICODE
21304 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
21305 #else
21306 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
21307 #endif
21308 }
21309 return resultobj;
21310 fail:
21311 return NULL;
21312 }
21313
21314
21315 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21316 PyObject *resultobj;
21317 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21318 wxString *arg2 = 0 ;
21319 bool temp2 = False ;
21320 PyObject * obj0 = 0 ;
21321 PyObject * obj1 = 0 ;
21322 char *kwnames[] = {
21323 (char *) "self",(char *) "label", NULL
21324 };
21325
21326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
21327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21328 {
21329 arg2 = wxString_in_helper(obj1);
21330 if (arg2 == NULL) SWIG_fail;
21331 temp2 = True;
21332 }
21333 {
21334 PyThreadState* __tstate = wxPyBeginAllowThreads();
21335 (arg1)->SetLabel((wxString const &)*arg2);
21336
21337 wxPyEndAllowThreads(__tstate);
21338 if (PyErr_Occurred()) SWIG_fail;
21339 }
21340 Py_INCREF(Py_None); resultobj = Py_None;
21341 {
21342 if (temp2)
21343 delete arg2;
21344 }
21345 return resultobj;
21346 fail:
21347 {
21348 if (temp2)
21349 delete arg2;
21350 }
21351 return NULL;
21352 }
21353
21354
21355 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
21356 PyObject *resultobj;
21357 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21358 bool result;
21359 PyObject * obj0 = 0 ;
21360 char *kwnames[] = {
21361 (char *) "self", NULL
21362 };
21363
21364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
21365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21366 {
21367 PyThreadState* __tstate = wxPyBeginAllowThreads();
21368 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
21369
21370 wxPyEndAllowThreads(__tstate);
21371 if (PyErr_Occurred()) SWIG_fail;
21372 }
21373 resultobj = PyInt_FromLong((long)result);
21374 return resultobj;
21375 fail:
21376 return NULL;
21377 }
21378
21379
21380 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
21381 PyObject *resultobj;
21382 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21383 bool arg2 ;
21384 PyObject * obj0 = 0 ;
21385 PyObject * obj1 = 0 ;
21386 char *kwnames[] = {
21387 (char *) "self",(char *) "editCancelled", NULL
21388 };
21389
21390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21392 {
21393 arg2 = (bool) SPyObj_AsBool(obj1);
21394 if (PyErr_Occurred()) SWIG_fail;
21395 }
21396 {
21397 PyThreadState* __tstate = wxPyBeginAllowThreads();
21398 (arg1)->SetEditCanceled(arg2);
21399
21400 wxPyEndAllowThreads(__tstate);
21401 if (PyErr_Occurred()) SWIG_fail;
21402 }
21403 Py_INCREF(Py_None); resultobj = Py_None;
21404 return resultobj;
21405 fail:
21406 return NULL;
21407 }
21408
21409
21410 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
21411 PyObject *resultobj;
21412 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21413 wxString *arg2 = 0 ;
21414 bool temp2 = False ;
21415 PyObject * obj0 = 0 ;
21416 PyObject * obj1 = 0 ;
21417 char *kwnames[] = {
21418 (char *) "self",(char *) "toolTip", NULL
21419 };
21420
21421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
21422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21423 {
21424 arg2 = wxString_in_helper(obj1);
21425 if (arg2 == NULL) SWIG_fail;
21426 temp2 = True;
21427 }
21428 {
21429 PyThreadState* __tstate = wxPyBeginAllowThreads();
21430 (arg1)->SetToolTip((wxString const &)*arg2);
21431
21432 wxPyEndAllowThreads(__tstate);
21433 if (PyErr_Occurred()) SWIG_fail;
21434 }
21435 Py_INCREF(Py_None); resultobj = Py_None;
21436 {
21437 if (temp2)
21438 delete arg2;
21439 }
21440 return resultobj;
21441 fail:
21442 {
21443 if (temp2)
21444 delete arg2;
21445 }
21446 return NULL;
21447 }
21448
21449
21450 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
21451 PyObject *obj;
21452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21453 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
21454 Py_INCREF(obj);
21455 return Py_BuildValue((char *)"");
21456 }
21457 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21458 PyObject *resultobj;
21459 wxWindow *arg1 = (wxWindow *) 0 ;
21460 int arg2 = (int) -1 ;
21461 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21462 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21463 wxSize const &arg4_defvalue = wxDefaultSize ;
21464 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21465 long arg5 = (long) wxTR_DEFAULT_STYLE ;
21466 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21467 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21468 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
21469 wxString *arg7 = (wxString *) &arg7_defvalue ;
21470 wxPyTreeCtrl *result;
21471 wxPoint temp3 ;
21472 wxSize temp4 ;
21473 bool temp7 = False ;
21474 PyObject * obj0 = 0 ;
21475 PyObject * obj2 = 0 ;
21476 PyObject * obj3 = 0 ;
21477 PyObject * obj5 = 0 ;
21478 PyObject * obj6 = 0 ;
21479 char *kwnames[] = {
21480 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21481 };
21482
21483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
21484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21485 if (obj2) {
21486 {
21487 arg3 = &temp3;
21488 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21489 }
21490 }
21491 if (obj3) {
21492 {
21493 arg4 = &temp4;
21494 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21495 }
21496 }
21497 if (obj5) {
21498 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21499 if (arg6 == NULL) {
21500 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21501 }
21502 }
21503 if (obj6) {
21504 {
21505 arg7 = wxString_in_helper(obj6);
21506 if (arg7 == NULL) SWIG_fail;
21507 temp7 = True;
21508 }
21509 }
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21513
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 {
21518 resultobj = wxPyMake_wxObject(result);
21519 }
21520 {
21521 if (temp7)
21522 delete arg7;
21523 }
21524 return resultobj;
21525 fail:
21526 {
21527 if (temp7)
21528 delete arg7;
21529 }
21530 return NULL;
21531 }
21532
21533
21534 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21535 PyObject *resultobj;
21536 wxPyTreeCtrl *result;
21537 char *kwnames[] = {
21538 NULL
21539 };
21540
21541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
21542 {
21543 PyThreadState* __tstate = wxPyBeginAllowThreads();
21544 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
21545
21546 wxPyEndAllowThreads(__tstate);
21547 if (PyErr_Occurred()) SWIG_fail;
21548 }
21549 {
21550 resultobj = wxPyMake_wxObject(result);
21551 }
21552 return resultobj;
21553 fail:
21554 return NULL;
21555 }
21556
21557
21558 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21559 PyObject *resultobj;
21560 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21561 wxWindow *arg2 = (wxWindow *) 0 ;
21562 int arg3 = (int) -1 ;
21563 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21564 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21565 wxSize const &arg5_defvalue = wxDefaultSize ;
21566 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21567 long arg6 = (long) wxTR_DEFAULT_STYLE ;
21568 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21569 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21570 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
21571 wxString *arg8 = (wxString *) &arg8_defvalue ;
21572 bool result;
21573 wxPoint temp4 ;
21574 wxSize temp5 ;
21575 bool temp8 = False ;
21576 PyObject * obj0 = 0 ;
21577 PyObject * obj1 = 0 ;
21578 PyObject * obj3 = 0 ;
21579 PyObject * obj4 = 0 ;
21580 PyObject * obj6 = 0 ;
21581 PyObject * obj7 = 0 ;
21582 char *kwnames[] = {
21583 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21584 };
21585
21586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
21587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21589 if (obj3) {
21590 {
21591 arg4 = &temp4;
21592 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21593 }
21594 }
21595 if (obj4) {
21596 {
21597 arg5 = &temp5;
21598 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21599 }
21600 }
21601 if (obj6) {
21602 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21603 if (arg7 == NULL) {
21604 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21605 }
21606 }
21607 if (obj7) {
21608 {
21609 arg8 = wxString_in_helper(obj7);
21610 if (arg8 == NULL) SWIG_fail;
21611 temp8 = True;
21612 }
21613 }
21614 {
21615 PyThreadState* __tstate = wxPyBeginAllowThreads();
21616 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21617
21618 wxPyEndAllowThreads(__tstate);
21619 if (PyErr_Occurred()) SWIG_fail;
21620 }
21621 resultobj = PyInt_FromLong((long)result);
21622 {
21623 if (temp8)
21624 delete arg8;
21625 }
21626 return resultobj;
21627 fail:
21628 {
21629 if (temp8)
21630 delete arg8;
21631 }
21632 return NULL;
21633 }
21634
21635
21636 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21637 PyObject *resultobj;
21638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21639 PyObject *arg2 = (PyObject *) 0 ;
21640 PyObject *arg3 = (PyObject *) 0 ;
21641 PyObject * obj0 = 0 ;
21642 PyObject * obj1 = 0 ;
21643 PyObject * obj2 = 0 ;
21644 char *kwnames[] = {
21645 (char *) "self",(char *) "self",(char *) "_class", NULL
21646 };
21647
21648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21650 arg2 = obj1;
21651 arg3 = obj2;
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 (arg1)->_setCallbackInfo(arg2,arg3);
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 Py_INCREF(Py_None); resultobj = Py_None;
21660 return resultobj;
21661 fail:
21662 return NULL;
21663 }
21664
21665
21666 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21667 PyObject *resultobj;
21668 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21669 size_t result;
21670 PyObject * obj0 = 0 ;
21671 char *kwnames[] = {
21672 (char *) "self", NULL
21673 };
21674
21675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
21676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21677 {
21678 PyThreadState* __tstate = wxPyBeginAllowThreads();
21679 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
21680
21681 wxPyEndAllowThreads(__tstate);
21682 if (PyErr_Occurred()) SWIG_fail;
21683 }
21684 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21685 return resultobj;
21686 fail:
21687 return NULL;
21688 }
21689
21690
21691 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21692 PyObject *resultobj;
21693 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21694 unsigned int result;
21695 PyObject * obj0 = 0 ;
21696 char *kwnames[] = {
21697 (char *) "self", NULL
21698 };
21699
21700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
21701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21702 {
21703 PyThreadState* __tstate = wxPyBeginAllowThreads();
21704 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
21705
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21710 return resultobj;
21711 fail:
21712 return NULL;
21713 }
21714
21715
21716 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21717 PyObject *resultobj;
21718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21719 unsigned int arg2 ;
21720 PyObject * obj0 = 0 ;
21721 PyObject * obj1 = 0 ;
21722 char *kwnames[] = {
21723 (char *) "self",(char *) "indent", NULL
21724 };
21725
21726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
21727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21728 {
21729 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 {
21733 PyThreadState* __tstate = wxPyBeginAllowThreads();
21734 (arg1)->SetIndent(arg2);
21735
21736 wxPyEndAllowThreads(__tstate);
21737 if (PyErr_Occurred()) SWIG_fail;
21738 }
21739 Py_INCREF(Py_None); resultobj = Py_None;
21740 return resultobj;
21741 fail:
21742 return NULL;
21743 }
21744
21745
21746 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21747 PyObject *resultobj;
21748 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21749 unsigned int result;
21750 PyObject * obj0 = 0 ;
21751 char *kwnames[] = {
21752 (char *) "self", NULL
21753 };
21754
21755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
21756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21757 {
21758 PyThreadState* __tstate = wxPyBeginAllowThreads();
21759 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
21760
21761 wxPyEndAllowThreads(__tstate);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 }
21764 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21765 return resultobj;
21766 fail:
21767 return NULL;
21768 }
21769
21770
21771 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21772 PyObject *resultobj;
21773 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21774 unsigned int arg2 ;
21775 PyObject * obj0 = 0 ;
21776 PyObject * obj1 = 0 ;
21777 char *kwnames[] = {
21778 (char *) "self",(char *) "spacing", NULL
21779 };
21780
21781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
21782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21783 {
21784 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
21785 if (PyErr_Occurred()) SWIG_fail;
21786 }
21787 {
21788 PyThreadState* __tstate = wxPyBeginAllowThreads();
21789 (arg1)->SetSpacing(arg2);
21790
21791 wxPyEndAllowThreads(__tstate);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
21794 Py_INCREF(Py_None); resultobj = Py_None;
21795 return resultobj;
21796 fail:
21797 return NULL;
21798 }
21799
21800
21801 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21802 PyObject *resultobj;
21803 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21804 wxImageList *result;
21805 PyObject * obj0 = 0 ;
21806 char *kwnames[] = {
21807 (char *) "self", NULL
21808 };
21809
21810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21812 {
21813 PyThreadState* __tstate = wxPyBeginAllowThreads();
21814 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21815
21816 wxPyEndAllowThreads(__tstate);
21817 if (PyErr_Occurred()) SWIG_fail;
21818 }
21819 {
21820 resultobj = wxPyMake_wxObject(result);
21821 }
21822 return resultobj;
21823 fail:
21824 return NULL;
21825 }
21826
21827
21828 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21829 PyObject *resultobj;
21830 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21831 wxImageList *result;
21832 PyObject * obj0 = 0 ;
21833 char *kwnames[] = {
21834 (char *) "self", NULL
21835 };
21836
21837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21839 {
21840 PyThreadState* __tstate = wxPyBeginAllowThreads();
21841 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21842
21843 wxPyEndAllowThreads(__tstate);
21844 if (PyErr_Occurred()) SWIG_fail;
21845 }
21846 {
21847 resultobj = wxPyMake_wxObject(result);
21848 }
21849 return resultobj;
21850 fail:
21851 return NULL;
21852 }
21853
21854
21855 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21856 PyObject *resultobj;
21857 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21858 wxImageList *arg2 = (wxImageList *) 0 ;
21859 PyObject * obj0 = 0 ;
21860 PyObject * obj1 = 0 ;
21861 char *kwnames[] = {
21862 (char *) "self",(char *) "imageList", NULL
21863 };
21864
21865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21867 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21868 {
21869 PyThreadState* __tstate = wxPyBeginAllowThreads();
21870 (arg1)->SetImageList(arg2);
21871
21872 wxPyEndAllowThreads(__tstate);
21873 if (PyErr_Occurred()) SWIG_fail;
21874 }
21875 Py_INCREF(Py_None); resultobj = Py_None;
21876 return resultobj;
21877 fail:
21878 return NULL;
21879 }
21880
21881
21882 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21883 PyObject *resultobj;
21884 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21885 wxImageList *arg2 = (wxImageList *) 0 ;
21886 PyObject * obj0 = 0 ;
21887 PyObject * obj1 = 0 ;
21888 char *kwnames[] = {
21889 (char *) "self",(char *) "imageList", NULL
21890 };
21891
21892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21894 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21895 {
21896 PyThreadState* __tstate = wxPyBeginAllowThreads();
21897 (arg1)->SetStateImageList(arg2);
21898
21899 wxPyEndAllowThreads(__tstate);
21900 if (PyErr_Occurred()) SWIG_fail;
21901 }
21902 Py_INCREF(Py_None); resultobj = Py_None;
21903 return resultobj;
21904 fail:
21905 return NULL;
21906 }
21907
21908
21909 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21910 PyObject *resultobj;
21911 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21912 wxImageList *arg2 = (wxImageList *) 0 ;
21913 PyObject * obj0 = 0 ;
21914 PyObject * obj1 = 0 ;
21915 char *kwnames[] = {
21916 (char *) "self",(char *) "imageList", NULL
21917 };
21918
21919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21921 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
21922 {
21923 PyThreadState* __tstate = wxPyBeginAllowThreads();
21924 (arg1)->AssignImageList(arg2);
21925
21926 wxPyEndAllowThreads(__tstate);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 }
21929 Py_INCREF(Py_None); resultobj = Py_None;
21930 return resultobj;
21931 fail:
21932 return NULL;
21933 }
21934
21935
21936 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21937 PyObject *resultobj;
21938 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21939 wxImageList *arg2 = (wxImageList *) 0 ;
21940 PyObject * obj0 = 0 ;
21941 PyObject * obj1 = 0 ;
21942 char *kwnames[] = {
21943 (char *) "self",(char *) "imageList", NULL
21944 };
21945
21946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
21949 {
21950 PyThreadState* __tstate = wxPyBeginAllowThreads();
21951 (arg1)->AssignStateImageList(arg2);
21952
21953 wxPyEndAllowThreads(__tstate);
21954 if (PyErr_Occurred()) SWIG_fail;
21955 }
21956 Py_INCREF(Py_None); resultobj = Py_None;
21957 return resultobj;
21958 fail:
21959 return NULL;
21960 }
21961
21962
21963 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21964 PyObject *resultobj;
21965 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21966 wxTreeItemId *arg2 = 0 ;
21967 wxString result;
21968 PyObject * obj0 = 0 ;
21969 PyObject * obj1 = 0 ;
21970 char *kwnames[] = {
21971 (char *) "self",(char *) "item", NULL
21972 };
21973
21974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21976 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21977 if (arg2 == NULL) {
21978 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21979 }
21980 {
21981 PyThreadState* __tstate = wxPyBeginAllowThreads();
21982 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21983
21984 wxPyEndAllowThreads(__tstate);
21985 if (PyErr_Occurred()) SWIG_fail;
21986 }
21987 {
21988 #if wxUSE_UNICODE
21989 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21990 #else
21991 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21992 #endif
21993 }
21994 return resultobj;
21995 fail:
21996 return NULL;
21997 }
21998
21999
22000 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22001 PyObject *resultobj;
22002 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22003 wxTreeItemId *arg2 = 0 ;
22004 int arg3 = (int) wxTreeItemIcon_Normal ;
22005 int result;
22006 PyObject * obj0 = 0 ;
22007 PyObject * obj1 = 0 ;
22008 char *kwnames[] = {
22009 (char *) "self",(char *) "item",(char *) "which", NULL
22010 };
22011
22012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
22013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22014 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22015 if (arg2 == NULL) {
22016 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22017 }
22018 {
22019 PyThreadState* __tstate = wxPyBeginAllowThreads();
22020 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
22021
22022 wxPyEndAllowThreads(__tstate);
22023 if (PyErr_Occurred()) SWIG_fail;
22024 }
22025 resultobj = PyInt_FromLong((long)result);
22026 return resultobj;
22027 fail:
22028 return NULL;
22029 }
22030
22031
22032 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22033 PyObject *resultobj;
22034 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22035 wxTreeItemId *arg2 = 0 ;
22036 wxPyTreeItemData *result;
22037 PyObject * obj0 = 0 ;
22038 PyObject * obj1 = 0 ;
22039 char *kwnames[] = {
22040 (char *) "self",(char *) "item", NULL
22041 };
22042
22043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
22044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22046 if (arg2 == NULL) {
22047 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22048 }
22049 {
22050 PyThreadState* __tstate = wxPyBeginAllowThreads();
22051 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
22052
22053 wxPyEndAllowThreads(__tstate);
22054 if (PyErr_Occurred()) SWIG_fail;
22055 }
22056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
22057 return resultobj;
22058 fail:
22059 return NULL;
22060 }
22061
22062
22063 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
22064 PyObject *resultobj;
22065 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22066 wxTreeItemId *arg2 = 0 ;
22067 PyObject *result;
22068 PyObject * obj0 = 0 ;
22069 PyObject * obj1 = 0 ;
22070 char *kwnames[] = {
22071 (char *) "self",(char *) "item", NULL
22072 };
22073
22074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
22075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22077 if (arg2 == NULL) {
22078 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22079 }
22080 {
22081 PyThreadState* __tstate = wxPyBeginAllowThreads();
22082 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
22083
22084 wxPyEndAllowThreads(__tstate);
22085 if (PyErr_Occurred()) SWIG_fail;
22086 }
22087 resultobj = result;
22088 return resultobj;
22089 fail:
22090 return NULL;
22091 }
22092
22093
22094 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22095 PyObject *resultobj;
22096 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22097 wxTreeItemId *arg2 = 0 ;
22098 wxColour result;
22099 PyObject * obj0 = 0 ;
22100 PyObject * obj1 = 0 ;
22101 char *kwnames[] = {
22102 (char *) "self",(char *) "item", NULL
22103 };
22104
22105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
22106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22107 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22108 if (arg2 == NULL) {
22109 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22110 }
22111 {
22112 PyThreadState* __tstate = wxPyBeginAllowThreads();
22113 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
22114
22115 wxPyEndAllowThreads(__tstate);
22116 if (PyErr_Occurred()) SWIG_fail;
22117 }
22118 {
22119 wxColour * resultptr;
22120 resultptr = new wxColour((wxColour &) result);
22121 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22122 }
22123 return resultobj;
22124 fail:
22125 return NULL;
22126 }
22127
22128
22129 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22130 PyObject *resultobj;
22131 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22132 wxTreeItemId *arg2 = 0 ;
22133 wxColour result;
22134 PyObject * obj0 = 0 ;
22135 PyObject * obj1 = 0 ;
22136 char *kwnames[] = {
22137 (char *) "self",(char *) "item", NULL
22138 };
22139
22140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
22141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22143 if (arg2 == NULL) {
22144 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22145 }
22146 {
22147 PyThreadState* __tstate = wxPyBeginAllowThreads();
22148 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
22149
22150 wxPyEndAllowThreads(__tstate);
22151 if (PyErr_Occurred()) SWIG_fail;
22152 }
22153 {
22154 wxColour * resultptr;
22155 resultptr = new wxColour((wxColour &) result);
22156 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
22157 }
22158 return resultobj;
22159 fail:
22160 return NULL;
22161 }
22162
22163
22164 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22165 PyObject *resultobj;
22166 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22167 wxTreeItemId *arg2 = 0 ;
22168 wxFont result;
22169 PyObject * obj0 = 0 ;
22170 PyObject * obj1 = 0 ;
22171 char *kwnames[] = {
22172 (char *) "self",(char *) "item", NULL
22173 };
22174
22175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
22176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22178 if (arg2 == NULL) {
22179 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22180 }
22181 {
22182 PyThreadState* __tstate = wxPyBeginAllowThreads();
22183 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
22184
22185 wxPyEndAllowThreads(__tstate);
22186 if (PyErr_Occurred()) SWIG_fail;
22187 }
22188 {
22189 wxFont * resultptr;
22190 resultptr = new wxFont((wxFont &) result);
22191 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
22192 }
22193 return resultobj;
22194 fail:
22195 return NULL;
22196 }
22197
22198
22199 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
22200 PyObject *resultobj;
22201 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22202 wxTreeItemId *arg2 = 0 ;
22203 wxString *arg3 = 0 ;
22204 bool temp3 = False ;
22205 PyObject * obj0 = 0 ;
22206 PyObject * obj1 = 0 ;
22207 PyObject * obj2 = 0 ;
22208 char *kwnames[] = {
22209 (char *) "self",(char *) "item",(char *) "text", NULL
22210 };
22211
22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
22213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22215 if (arg2 == NULL) {
22216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22217 }
22218 {
22219 arg3 = wxString_in_helper(obj2);
22220 if (arg3 == NULL) SWIG_fail;
22221 temp3 = True;
22222 }
22223 {
22224 PyThreadState* __tstate = wxPyBeginAllowThreads();
22225 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
22226
22227 wxPyEndAllowThreads(__tstate);
22228 if (PyErr_Occurred()) SWIG_fail;
22229 }
22230 Py_INCREF(Py_None); resultobj = Py_None;
22231 {
22232 if (temp3)
22233 delete arg3;
22234 }
22235 return resultobj;
22236 fail:
22237 {
22238 if (temp3)
22239 delete arg3;
22240 }
22241 return NULL;
22242 }
22243
22244
22245 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
22246 PyObject *resultobj;
22247 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22248 wxTreeItemId *arg2 = 0 ;
22249 int arg3 ;
22250 int arg4 = (int) wxTreeItemIcon_Normal ;
22251 PyObject * obj0 = 0 ;
22252 PyObject * obj1 = 0 ;
22253 char *kwnames[] = {
22254 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
22255 };
22256
22257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
22258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22260 if (arg2 == NULL) {
22261 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22262 }
22263 {
22264 PyThreadState* __tstate = wxPyBeginAllowThreads();
22265 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
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
22277 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
22278 PyObject *resultobj;
22279 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22280 wxTreeItemId *arg2 = 0 ;
22281 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
22282 PyObject * obj0 = 0 ;
22283 PyObject * obj1 = 0 ;
22284 PyObject * obj2 = 0 ;
22285 char *kwnames[] = {
22286 (char *) "self",(char *) "item",(char *) "data", NULL
22287 };
22288
22289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22291 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22292 if (arg2 == NULL) {
22293 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22294 }
22295 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22296 {
22297 PyThreadState* __tstate = wxPyBeginAllowThreads();
22298 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
22299
22300 wxPyEndAllowThreads(__tstate);
22301 if (PyErr_Occurred()) SWIG_fail;
22302 }
22303 Py_INCREF(Py_None); resultobj = Py_None;
22304 return resultobj;
22305 fail:
22306 return NULL;
22307 }
22308
22309
22310 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
22311 PyObject *resultobj;
22312 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22313 wxTreeItemId *arg2 = 0 ;
22314 PyObject *arg3 = (PyObject *) 0 ;
22315 PyObject * obj0 = 0 ;
22316 PyObject * obj1 = 0 ;
22317 PyObject * obj2 = 0 ;
22318 char *kwnames[] = {
22319 (char *) "self",(char *) "item",(char *) "obj", NULL
22320 };
22321
22322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
22323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22325 if (arg2 == NULL) {
22326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22327 }
22328 arg3 = obj2;
22329 {
22330 PyThreadState* __tstate = wxPyBeginAllowThreads();
22331 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
22332
22333 wxPyEndAllowThreads(__tstate);
22334 if (PyErr_Occurred()) SWIG_fail;
22335 }
22336 Py_INCREF(Py_None); resultobj = Py_None;
22337 return resultobj;
22338 fail:
22339 return NULL;
22340 }
22341
22342
22343 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22344 PyObject *resultobj;
22345 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22346 wxTreeItemId *arg2 = 0 ;
22347 bool arg3 = (bool) True ;
22348 PyObject * obj0 = 0 ;
22349 PyObject * obj1 = 0 ;
22350 PyObject * obj2 = 0 ;
22351 char *kwnames[] = {
22352 (char *) "self",(char *) "item",(char *) "has", NULL
22353 };
22354
22355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
22356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22358 if (arg2 == NULL) {
22359 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22360 }
22361 if (obj2) {
22362 {
22363 arg3 = (bool) SPyObj_AsBool(obj2);
22364 if (PyErr_Occurred()) SWIG_fail;
22365 }
22366 }
22367 {
22368 PyThreadState* __tstate = wxPyBeginAllowThreads();
22369 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
22370
22371 wxPyEndAllowThreads(__tstate);
22372 if (PyErr_Occurred()) SWIG_fail;
22373 }
22374 Py_INCREF(Py_None); resultobj = Py_None;
22375 return resultobj;
22376 fail:
22377 return NULL;
22378 }
22379
22380
22381 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22382 PyObject *resultobj;
22383 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22384 wxTreeItemId *arg2 = 0 ;
22385 bool arg3 = (bool) True ;
22386 PyObject * obj0 = 0 ;
22387 PyObject * obj1 = 0 ;
22388 PyObject * obj2 = 0 ;
22389 char *kwnames[] = {
22390 (char *) "self",(char *) "item",(char *) "bold", NULL
22391 };
22392
22393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
22394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22396 if (arg2 == NULL) {
22397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22398 }
22399 if (obj2) {
22400 {
22401 arg3 = (bool) SPyObj_AsBool(obj2);
22402 if (PyErr_Occurred()) SWIG_fail;
22403 }
22404 }
22405 {
22406 PyThreadState* __tstate = wxPyBeginAllowThreads();
22407 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
22408
22409 wxPyEndAllowThreads(__tstate);
22410 if (PyErr_Occurred()) SWIG_fail;
22411 }
22412 Py_INCREF(Py_None); resultobj = Py_None;
22413 return resultobj;
22414 fail:
22415 return NULL;
22416 }
22417
22418
22419 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
22420 PyObject *resultobj;
22421 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22422 wxTreeItemId *arg2 = 0 ;
22423 bool arg3 = (bool) True ;
22424 PyObject * obj0 = 0 ;
22425 PyObject * obj1 = 0 ;
22426 PyObject * obj2 = 0 ;
22427 char *kwnames[] = {
22428 (char *) "self",(char *) "item",(char *) "highlight", NULL
22429 };
22430
22431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
22432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22433 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22434 if (arg2 == NULL) {
22435 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22436 }
22437 if (obj2) {
22438 {
22439 arg3 = (bool) SPyObj_AsBool(obj2);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 }
22443 {
22444 PyThreadState* __tstate = wxPyBeginAllowThreads();
22445 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
22446
22447 wxPyEndAllowThreads(__tstate);
22448 if (PyErr_Occurred()) SWIG_fail;
22449 }
22450 Py_INCREF(Py_None); resultobj = Py_None;
22451 return resultobj;
22452 fail:
22453 return NULL;
22454 }
22455
22456
22457 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22458 PyObject *resultobj;
22459 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22460 wxTreeItemId *arg2 = 0 ;
22461 wxColour *arg3 = 0 ;
22462 wxColour temp3 ;
22463 PyObject * obj0 = 0 ;
22464 PyObject * obj1 = 0 ;
22465 PyObject * obj2 = 0 ;
22466 char *kwnames[] = {
22467 (char *) "self",(char *) "item",(char *) "col", NULL
22468 };
22469
22470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22473 if (arg2 == NULL) {
22474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22475 }
22476 {
22477 arg3 = &temp3;
22478 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22479 }
22480 {
22481 PyThreadState* __tstate = wxPyBeginAllowThreads();
22482 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22483
22484 wxPyEndAllowThreads(__tstate);
22485 if (PyErr_Occurred()) SWIG_fail;
22486 }
22487 Py_INCREF(Py_None); resultobj = Py_None;
22488 return resultobj;
22489 fail:
22490 return NULL;
22491 }
22492
22493
22494 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22495 PyObject *resultobj;
22496 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22497 wxTreeItemId *arg2 = 0 ;
22498 wxColour *arg3 = 0 ;
22499 wxColour temp3 ;
22500 PyObject * obj0 = 0 ;
22501 PyObject * obj1 = 0 ;
22502 PyObject * obj2 = 0 ;
22503 char *kwnames[] = {
22504 (char *) "self",(char *) "item",(char *) "col", NULL
22505 };
22506
22507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22510 if (arg2 == NULL) {
22511 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22512 }
22513 {
22514 arg3 = &temp3;
22515 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22516 }
22517 {
22518 PyThreadState* __tstate = wxPyBeginAllowThreads();
22519 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22520
22521 wxPyEndAllowThreads(__tstate);
22522 if (PyErr_Occurred()) SWIG_fail;
22523 }
22524 Py_INCREF(Py_None); resultobj = Py_None;
22525 return resultobj;
22526 fail:
22527 return NULL;
22528 }
22529
22530
22531 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22532 PyObject *resultobj;
22533 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22534 wxTreeItemId *arg2 = 0 ;
22535 wxFont *arg3 = 0 ;
22536 PyObject * obj0 = 0 ;
22537 PyObject * obj1 = 0 ;
22538 PyObject * obj2 = 0 ;
22539 char *kwnames[] = {
22540 (char *) "self",(char *) "item",(char *) "font", NULL
22541 };
22542
22543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
22544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22545 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22546 if (arg2 == NULL) {
22547 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22548 }
22549 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22550 if (arg3 == NULL) {
22551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22552 }
22553 {
22554 PyThreadState* __tstate = wxPyBeginAllowThreads();
22555 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
22556
22557 wxPyEndAllowThreads(__tstate);
22558 if (PyErr_Occurred()) SWIG_fail;
22559 }
22560 Py_INCREF(Py_None); resultobj = Py_None;
22561 return resultobj;
22562 fail:
22563 return NULL;
22564 }
22565
22566
22567 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22568 PyObject *resultobj;
22569 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22570 wxTreeItemId *arg2 = 0 ;
22571 bool result;
22572 PyObject * obj0 = 0 ;
22573 PyObject * obj1 = 0 ;
22574 char *kwnames[] = {
22575 (char *) "self",(char *) "item", NULL
22576 };
22577
22578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
22579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22581 if (arg2 == NULL) {
22582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22583 }
22584 {
22585 PyThreadState* __tstate = wxPyBeginAllowThreads();
22586 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
22587
22588 wxPyEndAllowThreads(__tstate);
22589 if (PyErr_Occurred()) SWIG_fail;
22590 }
22591 resultobj = PyInt_FromLong((long)result);
22592 return resultobj;
22593 fail:
22594 return NULL;
22595 }
22596
22597
22598 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22599 PyObject *resultobj;
22600 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22601 wxTreeItemId *arg2 = 0 ;
22602 bool result;
22603 PyObject * obj0 = 0 ;
22604 PyObject * obj1 = 0 ;
22605 char *kwnames[] = {
22606 (char *) "self",(char *) "item", NULL
22607 };
22608
22609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
22610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22611 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22612 if (arg2 == NULL) {
22613 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22614 }
22615 {
22616 PyThreadState* __tstate = wxPyBeginAllowThreads();
22617 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
22618
22619 wxPyEndAllowThreads(__tstate);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
22622 resultobj = PyInt_FromLong((long)result);
22623 return resultobj;
22624 fail:
22625 return NULL;
22626 }
22627
22628
22629 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj;
22631 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22632 wxTreeItemId *arg2 = 0 ;
22633 bool result;
22634 PyObject * obj0 = 0 ;
22635 PyObject * obj1 = 0 ;
22636 char *kwnames[] = {
22637 (char *) "self",(char *) "item", NULL
22638 };
22639
22640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
22641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22643 if (arg2 == NULL) {
22644 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22645 }
22646 {
22647 PyThreadState* __tstate = wxPyBeginAllowThreads();
22648 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
22649
22650 wxPyEndAllowThreads(__tstate);
22651 if (PyErr_Occurred()) SWIG_fail;
22652 }
22653 resultobj = PyInt_FromLong((long)result);
22654 return resultobj;
22655 fail:
22656 return NULL;
22657 }
22658
22659
22660 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22661 PyObject *resultobj;
22662 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22663 wxTreeItemId *arg2 = 0 ;
22664 bool result;
22665 PyObject * obj0 = 0 ;
22666 PyObject * obj1 = 0 ;
22667 char *kwnames[] = {
22668 (char *) "self",(char *) "item", NULL
22669 };
22670
22671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22673 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22674 if (arg2 == NULL) {
22675 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22676 }
22677 {
22678 PyThreadState* __tstate = wxPyBeginAllowThreads();
22679 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
22680
22681 wxPyEndAllowThreads(__tstate);
22682 if (PyErr_Occurred()) SWIG_fail;
22683 }
22684 resultobj = PyInt_FromLong((long)result);
22685 return resultobj;
22686 fail:
22687 return NULL;
22688 }
22689
22690
22691 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22692 PyObject *resultobj;
22693 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22694 wxTreeItemId *arg2 = 0 ;
22695 bool result;
22696 PyObject * obj0 = 0 ;
22697 PyObject * obj1 = 0 ;
22698 char *kwnames[] = {
22699 (char *) "self",(char *) "item", NULL
22700 };
22701
22702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
22703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22705 if (arg2 == NULL) {
22706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22707 }
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
22711
22712 wxPyEndAllowThreads(__tstate);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 }
22715 resultobj = PyInt_FromLong((long)result);
22716 return resultobj;
22717 fail:
22718 return NULL;
22719 }
22720
22721
22722 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22723 PyObject *resultobj;
22724 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22725 wxTreeItemId *arg2 = 0 ;
22726 bool arg3 = (bool) True ;
22727 size_t result;
22728 PyObject * obj0 = 0 ;
22729 PyObject * obj1 = 0 ;
22730 PyObject * obj2 = 0 ;
22731 char *kwnames[] = {
22732 (char *) "self",(char *) "item",(char *) "recursively", NULL
22733 };
22734
22735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
22736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22737 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22738 if (arg2 == NULL) {
22739 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22740 }
22741 if (obj2) {
22742 {
22743 arg3 = (bool) SPyObj_AsBool(obj2);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 }
22746 }
22747 {
22748 PyThreadState* __tstate = wxPyBeginAllowThreads();
22749 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
22750
22751 wxPyEndAllowThreads(__tstate);
22752 if (PyErr_Occurred()) SWIG_fail;
22753 }
22754 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
22755 return resultobj;
22756 fail:
22757 return NULL;
22758 }
22759
22760
22761 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22762 PyObject *resultobj;
22763 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22764 wxTreeItemId result;
22765 PyObject * obj0 = 0 ;
22766 char *kwnames[] = {
22767 (char *) "self", NULL
22768 };
22769
22770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
22771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22772 {
22773 PyThreadState* __tstate = wxPyBeginAllowThreads();
22774 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
22775
22776 wxPyEndAllowThreads(__tstate);
22777 if (PyErr_Occurred()) SWIG_fail;
22778 }
22779 {
22780 wxTreeItemId * resultptr;
22781 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22782 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22783 }
22784 return resultobj;
22785 fail:
22786 return NULL;
22787 }
22788
22789
22790 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
22791 PyObject *resultobj;
22792 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22793 wxTreeItemId result;
22794 PyObject * obj0 = 0 ;
22795 char *kwnames[] = {
22796 (char *) "self", NULL
22797 };
22798
22799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
22800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22801 {
22802 PyThreadState* __tstate = wxPyBeginAllowThreads();
22803 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 {
22809 wxTreeItemId * resultptr;
22810 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22811 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22812 }
22813 return resultobj;
22814 fail:
22815 return NULL;
22816 }
22817
22818
22819 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22820 PyObject *resultobj;
22821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22822 PyObject *result;
22823 PyObject * obj0 = 0 ;
22824 char *kwnames[] = {
22825 (char *) "self", NULL
22826 };
22827
22828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22830 {
22831 PyThreadState* __tstate = wxPyBeginAllowThreads();
22832 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22833
22834 wxPyEndAllowThreads(__tstate);
22835 if (PyErr_Occurred()) SWIG_fail;
22836 }
22837 resultobj = result;
22838 return resultobj;
22839 fail:
22840 return NULL;
22841 }
22842
22843
22844 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22845 PyObject *resultobj;
22846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22847 wxTreeItemId *arg2 = 0 ;
22848 wxTreeItemId result;
22849 PyObject * obj0 = 0 ;
22850 PyObject * obj1 = 0 ;
22851 char *kwnames[] = {
22852 (char *) "self",(char *) "item", NULL
22853 };
22854
22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22857 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22858 if (arg2 == NULL) {
22859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22860 }
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 {
22869 wxTreeItemId * resultptr;
22870 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22871 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22872 }
22873 return resultobj;
22874 fail:
22875 return NULL;
22876 }
22877
22878
22879 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22880 PyObject *resultobj;
22881 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22882 wxTreeItemId *arg2 = 0 ;
22883 PyObject *result;
22884 PyObject * obj0 = 0 ;
22885 PyObject * obj1 = 0 ;
22886 char *kwnames[] = {
22887 (char *) "self",(char *) "item", NULL
22888 };
22889
22890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22892 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22893 if (arg2 == NULL) {
22894 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22895 }
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 resultobj = result;
22904 return resultobj;
22905 fail:
22906 return NULL;
22907 }
22908
22909
22910 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22911 PyObject *resultobj;
22912 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22913 wxTreeItemId *arg2 = 0 ;
22914 void *arg3 = (void *) 0 ;
22915 PyObject *result;
22916 PyObject * obj0 = 0 ;
22917 PyObject * obj1 = 0 ;
22918 PyObject * obj2 = 0 ;
22919 char *kwnames[] = {
22920 (char *) "self",(char *) "item",(char *) "cookie", NULL
22921 };
22922
22923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22926 if (arg2 == NULL) {
22927 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22928 }
22929 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22930 {
22931 PyThreadState* __tstate = wxPyBeginAllowThreads();
22932 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
22933
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
22937 resultobj = result;
22938 return resultobj;
22939 fail:
22940 return NULL;
22941 }
22942
22943
22944 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22945 PyObject *resultobj;
22946 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22947 wxTreeItemId *arg2 = 0 ;
22948 wxTreeItemId result;
22949 PyObject * obj0 = 0 ;
22950 PyObject * obj1 = 0 ;
22951 char *kwnames[] = {
22952 (char *) "self",(char *) "item", NULL
22953 };
22954
22955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22958 if (arg2 == NULL) {
22959 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22960 }
22961 {
22962 PyThreadState* __tstate = wxPyBeginAllowThreads();
22963 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22964
22965 wxPyEndAllowThreads(__tstate);
22966 if (PyErr_Occurred()) SWIG_fail;
22967 }
22968 {
22969 wxTreeItemId * resultptr;
22970 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22971 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22972 }
22973 return resultobj;
22974 fail:
22975 return NULL;
22976 }
22977
22978
22979 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22980 PyObject *resultobj;
22981 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22982 wxTreeItemId *arg2 = 0 ;
22983 wxTreeItemId result;
22984 PyObject * obj0 = 0 ;
22985 PyObject * obj1 = 0 ;
22986 char *kwnames[] = {
22987 (char *) "self",(char *) "item", NULL
22988 };
22989
22990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22993 if (arg2 == NULL) {
22994 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22995 }
22996 {
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22999
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
23003 {
23004 wxTreeItemId * resultptr;
23005 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23006 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23007 }
23008 return resultobj;
23009 fail:
23010 return NULL;
23011 }
23012
23013
23014 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
23015 PyObject *resultobj;
23016 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23017 wxTreeItemId *arg2 = 0 ;
23018 wxTreeItemId result;
23019 PyObject * obj0 = 0 ;
23020 PyObject * obj1 = 0 ;
23021 char *kwnames[] = {
23022 (char *) "self",(char *) "item", NULL
23023 };
23024
23025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
23026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23027 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23028 if (arg2 == NULL) {
23029 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23030 }
23031 {
23032 PyThreadState* __tstate = wxPyBeginAllowThreads();
23033 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
23034
23035 wxPyEndAllowThreads(__tstate);
23036 if (PyErr_Occurred()) SWIG_fail;
23037 }
23038 {
23039 wxTreeItemId * resultptr;
23040 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23041 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23042 }
23043 return resultobj;
23044 fail:
23045 return NULL;
23046 }
23047
23048
23049 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23050 PyObject *resultobj;
23051 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23052 wxTreeItemId result;
23053 PyObject * obj0 = 0 ;
23054 char *kwnames[] = {
23055 (char *) "self", NULL
23056 };
23057
23058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
23059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23060 {
23061 PyThreadState* __tstate = wxPyBeginAllowThreads();
23062 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
23063
23064 wxPyEndAllowThreads(__tstate);
23065 if (PyErr_Occurred()) SWIG_fail;
23066 }
23067 {
23068 wxTreeItemId * resultptr;
23069 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23070 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23071 }
23072 return resultobj;
23073 fail:
23074 return NULL;
23075 }
23076
23077
23078 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23079 PyObject *resultobj;
23080 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23081 wxTreeItemId *arg2 = 0 ;
23082 wxTreeItemId result;
23083 PyObject * obj0 = 0 ;
23084 PyObject * obj1 = 0 ;
23085 char *kwnames[] = {
23086 (char *) "self",(char *) "item", NULL
23087 };
23088
23089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
23090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23091 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23092 if (arg2 == NULL) {
23093 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23094 }
23095 {
23096 PyThreadState* __tstate = wxPyBeginAllowThreads();
23097 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
23098
23099 wxPyEndAllowThreads(__tstate);
23100 if (PyErr_Occurred()) SWIG_fail;
23101 }
23102 {
23103 wxTreeItemId * resultptr;
23104 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23105 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23106 }
23107 return resultobj;
23108 fail:
23109 return NULL;
23110 }
23111
23112
23113 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23114 PyObject *resultobj;
23115 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23116 wxTreeItemId *arg2 = 0 ;
23117 wxTreeItemId result;
23118 PyObject * obj0 = 0 ;
23119 PyObject * obj1 = 0 ;
23120 char *kwnames[] = {
23121 (char *) "self",(char *) "item", NULL
23122 };
23123
23124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
23125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23127 if (arg2 == NULL) {
23128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23129 }
23130 {
23131 PyThreadState* __tstate = wxPyBeginAllowThreads();
23132 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
23133
23134 wxPyEndAllowThreads(__tstate);
23135 if (PyErr_Occurred()) SWIG_fail;
23136 }
23137 {
23138 wxTreeItemId * resultptr;
23139 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23140 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23141 }
23142 return resultobj;
23143 fail:
23144 return NULL;
23145 }
23146
23147
23148 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
23149 PyObject *resultobj;
23150 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23151 wxString *arg2 = 0 ;
23152 int arg3 = (int) -1 ;
23153 int arg4 = (int) -1 ;
23154 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
23155 wxTreeItemId result;
23156 bool temp2 = False ;
23157 PyObject * obj0 = 0 ;
23158 PyObject * obj1 = 0 ;
23159 PyObject * obj4 = 0 ;
23160 char *kwnames[] = {
23161 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23162 };
23163
23164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
23165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23166 {
23167 arg2 = wxString_in_helper(obj1);
23168 if (arg2 == NULL) SWIG_fail;
23169 temp2 = True;
23170 }
23171 if (obj4) {
23172 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23173 }
23174 {
23175 PyThreadState* __tstate = wxPyBeginAllowThreads();
23176 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
23177
23178 wxPyEndAllowThreads(__tstate);
23179 if (PyErr_Occurred()) SWIG_fail;
23180 }
23181 {
23182 wxTreeItemId * resultptr;
23183 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23184 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23185 }
23186 {
23187 if (temp2)
23188 delete arg2;
23189 }
23190 return resultobj;
23191 fail:
23192 {
23193 if (temp2)
23194 delete arg2;
23195 }
23196 return NULL;
23197 }
23198
23199
23200 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23201 PyObject *resultobj;
23202 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23203 wxTreeItemId *arg2 = 0 ;
23204 wxString *arg3 = 0 ;
23205 int arg4 = (int) -1 ;
23206 int arg5 = (int) -1 ;
23207 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
23208 wxTreeItemId result;
23209 bool temp3 = False ;
23210 PyObject * obj0 = 0 ;
23211 PyObject * obj1 = 0 ;
23212 PyObject * obj2 = 0 ;
23213 PyObject * obj5 = 0 ;
23214 char *kwnames[] = {
23215 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23216 };
23217
23218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
23219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23221 if (arg2 == NULL) {
23222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23223 }
23224 {
23225 arg3 = wxString_in_helper(obj2);
23226 if (arg3 == NULL) SWIG_fail;
23227 temp3 = True;
23228 }
23229 if (obj5) {
23230 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23231 }
23232 {
23233 PyThreadState* __tstate = wxPyBeginAllowThreads();
23234 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
23235
23236 wxPyEndAllowThreads(__tstate);
23237 if (PyErr_Occurred()) SWIG_fail;
23238 }
23239 {
23240 wxTreeItemId * resultptr;
23241 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23242 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23243 }
23244 {
23245 if (temp3)
23246 delete arg3;
23247 }
23248 return resultobj;
23249 fail:
23250 {
23251 if (temp3)
23252 delete arg3;
23253 }
23254 return NULL;
23255 }
23256
23257
23258 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23259 PyObject *resultobj;
23260 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23261 wxTreeItemId *arg2 = 0 ;
23262 wxTreeItemId *arg3 = 0 ;
23263 wxString *arg4 = 0 ;
23264 int arg5 = (int) -1 ;
23265 int arg6 = (int) -1 ;
23266 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
23267 wxTreeItemId result;
23268 bool temp4 = False ;
23269 PyObject * obj0 = 0 ;
23270 PyObject * obj1 = 0 ;
23271 PyObject * obj2 = 0 ;
23272 PyObject * obj3 = 0 ;
23273 PyObject * obj6 = 0 ;
23274 char *kwnames[] = {
23275 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23276 };
23277
23278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
23279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23281 if (arg2 == NULL) {
23282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23283 }
23284 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23285 if (arg3 == NULL) {
23286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23287 }
23288 {
23289 arg4 = wxString_in_helper(obj3);
23290 if (arg4 == NULL) SWIG_fail;
23291 temp4 = True;
23292 }
23293 if (obj6) {
23294 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23295 }
23296 {
23297 PyThreadState* __tstate = wxPyBeginAllowThreads();
23298 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
23299
23300 wxPyEndAllowThreads(__tstate);
23301 if (PyErr_Occurred()) SWIG_fail;
23302 }
23303 {
23304 wxTreeItemId * resultptr;
23305 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23306 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23307 }
23308 {
23309 if (temp4)
23310 delete arg4;
23311 }
23312 return resultobj;
23313 fail:
23314 {
23315 if (temp4)
23316 delete arg4;
23317 }
23318 return NULL;
23319 }
23320
23321
23322 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
23323 PyObject *resultobj;
23324 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23325 wxTreeItemId *arg2 = 0 ;
23326 size_t arg3 ;
23327 wxString *arg4 = 0 ;
23328 int arg5 = (int) -1 ;
23329 int arg6 = (int) -1 ;
23330 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
23331 wxTreeItemId result;
23332 bool temp4 = False ;
23333 PyObject * obj0 = 0 ;
23334 PyObject * obj1 = 0 ;
23335 PyObject * obj2 = 0 ;
23336 PyObject * obj3 = 0 ;
23337 PyObject * obj6 = 0 ;
23338 char *kwnames[] = {
23339 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23340 };
23341
23342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
23343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23344 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23345 if (arg2 == NULL) {
23346 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23347 }
23348 {
23349 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
23350 if (PyErr_Occurred()) SWIG_fail;
23351 }
23352 {
23353 arg4 = wxString_in_helper(obj3);
23354 if (arg4 == NULL) SWIG_fail;
23355 temp4 = True;
23356 }
23357 if (obj6) {
23358 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23359 }
23360 {
23361 PyThreadState* __tstate = wxPyBeginAllowThreads();
23362 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
23363
23364 wxPyEndAllowThreads(__tstate);
23365 if (PyErr_Occurred()) SWIG_fail;
23366 }
23367 {
23368 wxTreeItemId * resultptr;
23369 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23370 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23371 }
23372 {
23373 if (temp4)
23374 delete arg4;
23375 }
23376 return resultobj;
23377 fail:
23378 {
23379 if (temp4)
23380 delete arg4;
23381 }
23382 return NULL;
23383 }
23384
23385
23386 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23387 PyObject *resultobj;
23388 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23389 wxTreeItemId *arg2 = 0 ;
23390 wxString *arg3 = 0 ;
23391 int arg4 = (int) -1 ;
23392 int arg5 = (int) -1 ;
23393 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
23394 wxTreeItemId result;
23395 bool temp3 = False ;
23396 PyObject * obj0 = 0 ;
23397 PyObject * obj1 = 0 ;
23398 PyObject * obj2 = 0 ;
23399 PyObject * obj5 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
23405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23407 if (arg2 == NULL) {
23408 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23409 }
23410 {
23411 arg3 = wxString_in_helper(obj2);
23412 if (arg3 == NULL) SWIG_fail;
23413 temp3 = True;
23414 }
23415 if (obj5) {
23416 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23417 }
23418 {
23419 PyThreadState* __tstate = wxPyBeginAllowThreads();
23420 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
23421
23422 wxPyEndAllowThreads(__tstate);
23423 if (PyErr_Occurred()) SWIG_fail;
23424 }
23425 {
23426 wxTreeItemId * resultptr;
23427 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23428 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23429 }
23430 {
23431 if (temp3)
23432 delete arg3;
23433 }
23434 return resultobj;
23435 fail:
23436 {
23437 if (temp3)
23438 delete arg3;
23439 }
23440 return NULL;
23441 }
23442
23443
23444 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
23445 PyObject *resultobj;
23446 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23447 wxTreeItemId *arg2 = 0 ;
23448 PyObject * obj0 = 0 ;
23449 PyObject * obj1 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "self",(char *) "item", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
23455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23457 if (arg2 == NULL) {
23458 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23459 }
23460 {
23461 PyThreadState* __tstate = wxPyBeginAllowThreads();
23462 (arg1)->Delete((wxTreeItemId const &)*arg2);
23463
23464 wxPyEndAllowThreads(__tstate);
23465 if (PyErr_Occurred()) SWIG_fail;
23466 }
23467 Py_INCREF(Py_None); resultobj = Py_None;
23468 return resultobj;
23469 fail:
23470 return NULL;
23471 }
23472
23473
23474 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23475 PyObject *resultobj;
23476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23477 wxTreeItemId *arg2 = 0 ;
23478 PyObject * obj0 = 0 ;
23479 PyObject * obj1 = 0 ;
23480 char *kwnames[] = {
23481 (char *) "self",(char *) "item", NULL
23482 };
23483
23484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
23485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23487 if (arg2 == NULL) {
23488 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23489 }
23490 {
23491 PyThreadState* __tstate = wxPyBeginAllowThreads();
23492 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
23493
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
23497 Py_INCREF(Py_None); resultobj = Py_None;
23498 return resultobj;
23499 fail:
23500 return NULL;
23501 }
23502
23503
23504 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23505 PyObject *resultobj;
23506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23507 PyObject * obj0 = 0 ;
23508 char *kwnames[] = {
23509 (char *) "self", NULL
23510 };
23511
23512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23514 {
23515 PyThreadState* __tstate = wxPyBeginAllowThreads();
23516 (arg1)->DeleteAllItems();
23517
23518 wxPyEndAllowThreads(__tstate);
23519 if (PyErr_Occurred()) SWIG_fail;
23520 }
23521 Py_INCREF(Py_None); resultobj = Py_None;
23522 return resultobj;
23523 fail:
23524 return NULL;
23525 }
23526
23527
23528 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
23529 PyObject *resultobj;
23530 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23531 wxTreeItemId *arg2 = 0 ;
23532 PyObject * obj0 = 0 ;
23533 PyObject * obj1 = 0 ;
23534 char *kwnames[] = {
23535 (char *) "self",(char *) "item", NULL
23536 };
23537
23538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
23539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23541 if (arg2 == NULL) {
23542 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23543 }
23544 {
23545 PyThreadState* __tstate = wxPyBeginAllowThreads();
23546 (arg1)->Expand((wxTreeItemId const &)*arg2);
23547
23548 wxPyEndAllowThreads(__tstate);
23549 if (PyErr_Occurred()) SWIG_fail;
23550 }
23551 Py_INCREF(Py_None); resultobj = Py_None;
23552 return resultobj;
23553 fail:
23554 return NULL;
23555 }
23556
23557
23558 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23561 wxTreeItemId *arg2 = 0 ;
23562 PyObject * obj0 = 0 ;
23563 PyObject * obj1 = 0 ;
23564 char *kwnames[] = {
23565 (char *) "self",(char *) "item", NULL
23566 };
23567
23568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
23569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23570 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23571 if (arg2 == NULL) {
23572 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23573 }
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 (arg1)->Collapse((wxTreeItemId const &)*arg2);
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 Py_INCREF(Py_None); resultobj = Py_None;
23582 return resultobj;
23583 fail:
23584 return NULL;
23585 }
23586
23587
23588 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
23589 PyObject *resultobj;
23590 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23591 wxTreeItemId *arg2 = 0 ;
23592 PyObject * obj0 = 0 ;
23593 PyObject * obj1 = 0 ;
23594 char *kwnames[] = {
23595 (char *) "self",(char *) "item", NULL
23596 };
23597
23598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
23599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23601 if (arg2 == NULL) {
23602 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23603 }
23604 {
23605 PyThreadState* __tstate = wxPyBeginAllowThreads();
23606 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
23607
23608 wxPyEndAllowThreads(__tstate);
23609 if (PyErr_Occurred()) SWIG_fail;
23610 }
23611 Py_INCREF(Py_None); resultobj = Py_None;
23612 return resultobj;
23613 fail:
23614 return NULL;
23615 }
23616
23617
23618 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
23619 PyObject *resultobj;
23620 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23621 wxTreeItemId *arg2 = 0 ;
23622 PyObject * obj0 = 0 ;
23623 PyObject * obj1 = 0 ;
23624 char *kwnames[] = {
23625 (char *) "self",(char *) "item", NULL
23626 };
23627
23628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
23629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23631 if (arg2 == NULL) {
23632 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23633 }
23634 {
23635 PyThreadState* __tstate = wxPyBeginAllowThreads();
23636 (arg1)->Toggle((wxTreeItemId const &)*arg2);
23637
23638 wxPyEndAllowThreads(__tstate);
23639 if (PyErr_Occurred()) SWIG_fail;
23640 }
23641 Py_INCREF(Py_None); resultobj = Py_None;
23642 return resultobj;
23643 fail:
23644 return NULL;
23645 }
23646
23647
23648 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
23649 PyObject *resultobj;
23650 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23651 PyObject * obj0 = 0 ;
23652 char *kwnames[] = {
23653 (char *) "self", NULL
23654 };
23655
23656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
23657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23658 {
23659 PyThreadState* __tstate = wxPyBeginAllowThreads();
23660 (arg1)->Unselect();
23661
23662 wxPyEndAllowThreads(__tstate);
23663 if (PyErr_Occurred()) SWIG_fail;
23664 }
23665 Py_INCREF(Py_None); resultobj = Py_None;
23666 return resultobj;
23667 fail:
23668 return NULL;
23669 }
23670
23671
23672 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
23673 PyObject *resultobj;
23674 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23675 PyObject * obj0 = 0 ;
23676 char *kwnames[] = {
23677 (char *) "self", NULL
23678 };
23679
23680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
23681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23682 {
23683 PyThreadState* __tstate = wxPyBeginAllowThreads();
23684 (arg1)->UnselectAll();
23685
23686 wxPyEndAllowThreads(__tstate);
23687 if (PyErr_Occurred()) SWIG_fail;
23688 }
23689 Py_INCREF(Py_None); resultobj = Py_None;
23690 return resultobj;
23691 fail:
23692 return NULL;
23693 }
23694
23695
23696 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23697 PyObject *resultobj;
23698 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23699 wxTreeItemId *arg2 = 0 ;
23700 PyObject * obj0 = 0 ;
23701 PyObject * obj1 = 0 ;
23702 char *kwnames[] = {
23703 (char *) "self",(char *) "item", NULL
23704 };
23705
23706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
23707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23709 if (arg2 == NULL) {
23710 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23711 }
23712 {
23713 PyThreadState* __tstate = wxPyBeginAllowThreads();
23714 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
23715
23716 wxPyEndAllowThreads(__tstate);
23717 if (PyErr_Occurred()) SWIG_fail;
23718 }
23719 Py_INCREF(Py_None); resultobj = Py_None;
23720 return resultobj;
23721 fail:
23722 return NULL;
23723 }
23724
23725
23726 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23727 PyObject *resultobj;
23728 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23729 wxTreeItemId *arg2 = 0 ;
23730 PyObject * obj0 = 0 ;
23731 PyObject * obj1 = 0 ;
23732 char *kwnames[] = {
23733 (char *) "self",(char *) "item", NULL
23734 };
23735
23736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23739 if (arg2 == NULL) {
23740 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23741 }
23742 {
23743 PyThreadState* __tstate = wxPyBeginAllowThreads();
23744 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
23745
23746 wxPyEndAllowThreads(__tstate);
23747 if (PyErr_Occurred()) SWIG_fail;
23748 }
23749 Py_INCREF(Py_None); resultobj = Py_None;
23750 return resultobj;
23751 fail:
23752 return NULL;
23753 }
23754
23755
23756 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
23757 PyObject *resultobj;
23758 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23759 wxTreeItemId *arg2 = 0 ;
23760 PyObject * obj0 = 0 ;
23761 PyObject * obj1 = 0 ;
23762 char *kwnames[] = {
23763 (char *) "self",(char *) "item", NULL
23764 };
23765
23766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
23767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23769 if (arg2 == NULL) {
23770 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23771 }
23772 {
23773 PyThreadState* __tstate = wxPyBeginAllowThreads();
23774 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
23775
23776 wxPyEndAllowThreads(__tstate);
23777 if (PyErr_Occurred()) SWIG_fail;
23778 }
23779 Py_INCREF(Py_None); resultobj = Py_None;
23780 return resultobj;
23781 fail:
23782 return NULL;
23783 }
23784
23785
23786 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23787 PyObject *resultobj;
23788 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23789 wxTreeItemId *arg2 = 0 ;
23790 PyObject * obj0 = 0 ;
23791 PyObject * obj1 = 0 ;
23792 char *kwnames[] = {
23793 (char *) "self",(char *) "item", NULL
23794 };
23795
23796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23798 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23799 if (arg2 == NULL) {
23800 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23801 }
23802 {
23803 PyThreadState* __tstate = wxPyBeginAllowThreads();
23804 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
23805
23806 wxPyEndAllowThreads(__tstate);
23807 if (PyErr_Occurred()) SWIG_fail;
23808 }
23809 Py_INCREF(Py_None); resultobj = Py_None;
23810 return resultobj;
23811 fail:
23812 return NULL;
23813 }
23814
23815
23816 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23817 PyObject *resultobj;
23818 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23819 wxTextCtrl *result;
23820 PyObject * obj0 = 0 ;
23821 char *kwnames[] = {
23822 (char *) "self", NULL
23823 };
23824
23825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23827 {
23828 PyThreadState* __tstate = wxPyBeginAllowThreads();
23829 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23830
23831 wxPyEndAllowThreads(__tstate);
23832 if (PyErr_Occurred()) SWIG_fail;
23833 }
23834 {
23835 resultobj = wxPyMake_wxObject(result);
23836 }
23837 return resultobj;
23838 fail:
23839 return NULL;
23840 }
23841
23842
23843 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23844 PyObject *resultobj;
23845 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23846 wxTreeItemId *arg2 = 0 ;
23847 bool arg3 = (bool) False ;
23848 PyObject * obj0 = 0 ;
23849 PyObject * obj1 = 0 ;
23850 PyObject * obj2 = 0 ;
23851 char *kwnames[] = {
23852 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23853 };
23854
23855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
23856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23857 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23858 if (arg2 == NULL) {
23859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23860 }
23861 if (obj2) {
23862 {
23863 arg3 = (bool) SPyObj_AsBool(obj2);
23864 if (PyErr_Occurred()) SWIG_fail;
23865 }
23866 }
23867 {
23868 PyThreadState* __tstate = wxPyBeginAllowThreads();
23869 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
23870
23871 wxPyEndAllowThreads(__tstate);
23872 if (PyErr_Occurred()) SWIG_fail;
23873 }
23874 Py_INCREF(Py_None); resultobj = Py_None;
23875 return resultobj;
23876 fail:
23877 return NULL;
23878 }
23879
23880
23881 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23882 PyObject *resultobj;
23883 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23884 wxTreeItemId *arg2 = 0 ;
23885 PyObject * obj0 = 0 ;
23886 PyObject * obj1 = 0 ;
23887 char *kwnames[] = {
23888 (char *) "self",(char *) "item", NULL
23889 };
23890
23891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23893 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23894 if (arg2 == NULL) {
23895 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23896 }
23897 {
23898 PyThreadState* __tstate = wxPyBeginAllowThreads();
23899 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23900
23901 wxPyEndAllowThreads(__tstate);
23902 if (PyErr_Occurred()) SWIG_fail;
23903 }
23904 Py_INCREF(Py_None); resultobj = Py_None;
23905 return resultobj;
23906 fail:
23907 return NULL;
23908 }
23909
23910
23911 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23912 PyObject *resultobj;
23913 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23914 wxPoint *arg2 = 0 ;
23915 int *arg3 = 0 ;
23916 wxTreeItemId result;
23917 wxPoint temp2 ;
23918 int temp3 ;
23919 PyObject * obj0 = 0 ;
23920 PyObject * obj1 = 0 ;
23921 char *kwnames[] = {
23922 (char *) "self",(char *) "point", NULL
23923 };
23924
23925 arg3 = &temp3;
23926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23928 {
23929 arg2 = &temp2;
23930 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23931 }
23932 {
23933 PyThreadState* __tstate = wxPyBeginAllowThreads();
23934 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23935
23936 wxPyEndAllowThreads(__tstate);
23937 if (PyErr_Occurred()) SWIG_fail;
23938 }
23939 {
23940 wxTreeItemId * resultptr;
23941 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23942 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23943 }
23944 {
23945 PyObject *o = PyInt_FromLong((long) (*arg3));
23946 resultobj = t_output_helper(resultobj,o);
23947 }
23948 return resultobj;
23949 fail:
23950 return NULL;
23951 }
23952
23953
23954 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23955 PyObject *resultobj;
23956 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23957 wxTreeItemId *arg2 = 0 ;
23958 bool arg3 = (bool) False ;
23959 PyObject *result;
23960 PyObject * obj0 = 0 ;
23961 PyObject * obj1 = 0 ;
23962 PyObject * obj2 = 0 ;
23963 char *kwnames[] = {
23964 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23965 };
23966
23967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23970 if (arg2 == NULL) {
23971 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23972 }
23973 if (obj2) {
23974 {
23975 arg3 = (bool) SPyObj_AsBool(obj2);
23976 if (PyErr_Occurred()) SWIG_fail;
23977 }
23978 }
23979 {
23980 PyThreadState* __tstate = wxPyBeginAllowThreads();
23981 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23982
23983 wxPyEndAllowThreads(__tstate);
23984 if (PyErr_Occurred()) SWIG_fail;
23985 }
23986 resultobj = result;
23987 return resultobj;
23988 fail:
23989 return NULL;
23990 }
23991
23992
23993 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23994 PyObject *obj;
23995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23996 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23997 Py_INCREF(obj);
23998 return Py_BuildValue((char *)"");
23999 }
24000 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
24001 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
24002 return 1;
24003 }
24004
24005
24006 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
24007 PyObject *pyobj;
24008
24009 {
24010 #if wxUSE_UNICODE
24011 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
24012 #else
24013 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
24014 #endif
24015 }
24016 return pyobj;
24017 }
24018
24019
24020 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24021 PyObject *resultobj;
24022 wxWindow *arg1 = (wxWindow *) 0 ;
24023 int arg2 = (int) (int)-1 ;
24024 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
24025 wxString *arg3 = (wxString *) &arg3_defvalue ;
24026 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24027 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24028 wxSize const &arg5_defvalue = wxDefaultSize ;
24029 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24030 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
24031 wxString const &arg7_defvalue = wxPyEmptyString ;
24032 wxString *arg7 = (wxString *) &arg7_defvalue ;
24033 int arg8 = (int) 0 ;
24034 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
24035 wxString *arg9 = (wxString *) &arg9_defvalue ;
24036 wxGenericDirCtrl *result;
24037 bool temp3 = False ;
24038 wxPoint temp4 ;
24039 wxSize temp5 ;
24040 bool temp7 = False ;
24041 bool temp9 = False ;
24042 PyObject * obj0 = 0 ;
24043 PyObject * obj2 = 0 ;
24044 PyObject * obj3 = 0 ;
24045 PyObject * obj4 = 0 ;
24046 PyObject * obj6 = 0 ;
24047 PyObject * obj8 = 0 ;
24048 char *kwnames[] = {
24049 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
24050 };
24051
24052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
24053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24054 if (obj2) {
24055 {
24056 arg3 = wxString_in_helper(obj2);
24057 if (arg3 == NULL) SWIG_fail;
24058 temp3 = True;
24059 }
24060 }
24061 if (obj3) {
24062 {
24063 arg4 = &temp4;
24064 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24065 }
24066 }
24067 if (obj4) {
24068 {
24069 arg5 = &temp5;
24070 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24071 }
24072 }
24073 if (obj6) {
24074 {
24075 arg7 = wxString_in_helper(obj6);
24076 if (arg7 == NULL) SWIG_fail;
24077 temp7 = True;
24078 }
24079 }
24080 if (obj8) {
24081 {
24082 arg9 = wxString_in_helper(obj8);
24083 if (arg9 == NULL) SWIG_fail;
24084 temp9 = True;
24085 }
24086 }
24087 {
24088 PyThreadState* __tstate = wxPyBeginAllowThreads();
24089 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
24090
24091 wxPyEndAllowThreads(__tstate);
24092 if (PyErr_Occurred()) SWIG_fail;
24093 }
24094 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
24095 {
24096 if (temp3)
24097 delete arg3;
24098 }
24099 {
24100 if (temp7)
24101 delete arg7;
24102 }
24103 {
24104 if (temp9)
24105 delete arg9;
24106 }
24107 return resultobj;
24108 fail:
24109 {
24110 if (temp3)
24111 delete arg3;
24112 }
24113 {
24114 if (temp7)
24115 delete arg7;
24116 }
24117 {
24118 if (temp9)
24119 delete arg9;
24120 }
24121 return NULL;
24122 }
24123
24124
24125 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24126 PyObject *resultobj;
24127 wxGenericDirCtrl *result;
24128 char *kwnames[] = {
24129 NULL
24130 };
24131
24132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
24133 {
24134 PyThreadState* __tstate = wxPyBeginAllowThreads();
24135 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
24136
24137 wxPyEndAllowThreads(__tstate);
24138 if (PyErr_Occurred()) SWIG_fail;
24139 }
24140 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
24141 return resultobj;
24142 fail:
24143 return NULL;
24144 }
24145
24146
24147 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24148 PyObject *resultobj;
24149 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24150 wxWindow *arg2 = (wxWindow *) 0 ;
24151 int arg3 = (int) (int)-1 ;
24152 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
24153 wxString *arg4 = (wxString *) &arg4_defvalue ;
24154 wxPoint const &arg5_defvalue = wxDefaultPosition ;
24155 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
24156 wxSize const &arg6_defvalue = wxDefaultSize ;
24157 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
24158 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
24159 wxString const &arg8_defvalue = wxPyEmptyString ;
24160 wxString *arg8 = (wxString *) &arg8_defvalue ;
24161 int arg9 = (int) 0 ;
24162 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
24163 wxString *arg10 = (wxString *) &arg10_defvalue ;
24164 bool result;
24165 bool temp4 = False ;
24166 wxPoint temp5 ;
24167 wxSize temp6 ;
24168 bool temp8 = False ;
24169 bool temp10 = False ;
24170 PyObject * obj0 = 0 ;
24171 PyObject * obj1 = 0 ;
24172 PyObject * obj3 = 0 ;
24173 PyObject * obj4 = 0 ;
24174 PyObject * obj5 = 0 ;
24175 PyObject * obj7 = 0 ;
24176 PyObject * obj9 = 0 ;
24177 char *kwnames[] = {
24178 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
24179 };
24180
24181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
24182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24184 if (obj3) {
24185 {
24186 arg4 = wxString_in_helper(obj3);
24187 if (arg4 == NULL) SWIG_fail;
24188 temp4 = True;
24189 }
24190 }
24191 if (obj4) {
24192 {
24193 arg5 = &temp5;
24194 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
24195 }
24196 }
24197 if (obj5) {
24198 {
24199 arg6 = &temp6;
24200 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
24201 }
24202 }
24203 if (obj7) {
24204 {
24205 arg8 = wxString_in_helper(obj7);
24206 if (arg8 == NULL) SWIG_fail;
24207 temp8 = True;
24208 }
24209 }
24210 if (obj9) {
24211 {
24212 arg10 = wxString_in_helper(obj9);
24213 if (arg10 == NULL) SWIG_fail;
24214 temp10 = True;
24215 }
24216 }
24217 {
24218 PyThreadState* __tstate = wxPyBeginAllowThreads();
24219 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
24220
24221 wxPyEndAllowThreads(__tstate);
24222 if (PyErr_Occurred()) SWIG_fail;
24223 }
24224 resultobj = PyInt_FromLong((long)result);
24225 {
24226 if (temp4)
24227 delete arg4;
24228 }
24229 {
24230 if (temp8)
24231 delete arg8;
24232 }
24233 {
24234 if (temp10)
24235 delete arg10;
24236 }
24237 return resultobj;
24238 fail:
24239 {
24240 if (temp4)
24241 delete arg4;
24242 }
24243 {
24244 if (temp8)
24245 delete arg8;
24246 }
24247 {
24248 if (temp10)
24249 delete arg10;
24250 }
24251 return NULL;
24252 }
24253
24254
24255 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24256 PyObject *resultobj;
24257 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24258 wxString *arg2 = 0 ;
24259 bool result;
24260 bool temp2 = False ;
24261 PyObject * obj0 = 0 ;
24262 PyObject * obj1 = 0 ;
24263 char *kwnames[] = {
24264 (char *) "self",(char *) "path", NULL
24265 };
24266
24267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
24268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24269 {
24270 arg2 = wxString_in_helper(obj1);
24271 if (arg2 == NULL) SWIG_fail;
24272 temp2 = True;
24273 }
24274 {
24275 PyThreadState* __tstate = wxPyBeginAllowThreads();
24276 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
24277
24278 wxPyEndAllowThreads(__tstate);
24279 if (PyErr_Occurred()) SWIG_fail;
24280 }
24281 resultobj = PyInt_FromLong((long)result);
24282 {
24283 if (temp2)
24284 delete arg2;
24285 }
24286 return resultobj;
24287 fail:
24288 {
24289 if (temp2)
24290 delete arg2;
24291 }
24292 return NULL;
24293 }
24294
24295
24296 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24297 PyObject *resultobj;
24298 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24299 wxString result;
24300 PyObject * obj0 = 0 ;
24301 char *kwnames[] = {
24302 (char *) "self", NULL
24303 };
24304
24305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
24306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24307 {
24308 PyThreadState* __tstate = wxPyBeginAllowThreads();
24309 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
24310
24311 wxPyEndAllowThreads(__tstate);
24312 if (PyErr_Occurred()) SWIG_fail;
24313 }
24314 {
24315 #if wxUSE_UNICODE
24316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24317 #else
24318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24319 #endif
24320 }
24321 return resultobj;
24322 fail:
24323 return NULL;
24324 }
24325
24326
24327 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24328 PyObject *resultobj;
24329 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24330 wxString *arg2 = 0 ;
24331 bool temp2 = False ;
24332 PyObject * obj0 = 0 ;
24333 PyObject * obj1 = 0 ;
24334 char *kwnames[] = {
24335 (char *) "self",(char *) "path", NULL
24336 };
24337
24338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
24339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24340 {
24341 arg2 = wxString_in_helper(obj1);
24342 if (arg2 == NULL) SWIG_fail;
24343 temp2 = True;
24344 }
24345 {
24346 PyThreadState* __tstate = wxPyBeginAllowThreads();
24347 (arg1)->SetDefaultPath((wxString const &)*arg2);
24348
24349 wxPyEndAllowThreads(__tstate);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 }
24352 Py_INCREF(Py_None); resultobj = Py_None;
24353 {
24354 if (temp2)
24355 delete arg2;
24356 }
24357 return resultobj;
24358 fail:
24359 {
24360 if (temp2)
24361 delete arg2;
24362 }
24363 return NULL;
24364 }
24365
24366
24367 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24368 PyObject *resultobj;
24369 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24370 wxString result;
24371 PyObject * obj0 = 0 ;
24372 char *kwnames[] = {
24373 (char *) "self", NULL
24374 };
24375
24376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
24377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24378 {
24379 PyThreadState* __tstate = wxPyBeginAllowThreads();
24380 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
24381
24382 wxPyEndAllowThreads(__tstate);
24383 if (PyErr_Occurred()) SWIG_fail;
24384 }
24385 {
24386 #if wxUSE_UNICODE
24387 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24388 #else
24389 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24390 #endif
24391 }
24392 return resultobj;
24393 fail:
24394 return NULL;
24395 }
24396
24397
24398 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
24399 PyObject *resultobj;
24400 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24401 wxString result;
24402 PyObject * obj0 = 0 ;
24403 char *kwnames[] = {
24404 (char *) "self", NULL
24405 };
24406
24407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
24408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24409 {
24410 PyThreadState* __tstate = wxPyBeginAllowThreads();
24411 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
24412
24413 wxPyEndAllowThreads(__tstate);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 {
24417 #if wxUSE_UNICODE
24418 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24419 #else
24420 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24421 #endif
24422 }
24423 return resultobj;
24424 fail:
24425 return NULL;
24426 }
24427
24428
24429 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
24430 PyObject *resultobj;
24431 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24432 wxString *arg2 = 0 ;
24433 bool temp2 = False ;
24434 PyObject * obj0 = 0 ;
24435 PyObject * obj1 = 0 ;
24436 char *kwnames[] = {
24437 (char *) "self",(char *) "path", NULL
24438 };
24439
24440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
24441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24442 {
24443 arg2 = wxString_in_helper(obj1);
24444 if (arg2 == NULL) SWIG_fail;
24445 temp2 = True;
24446 }
24447 {
24448 PyThreadState* __tstate = wxPyBeginAllowThreads();
24449 (arg1)->SetPath((wxString const &)*arg2);
24450
24451 wxPyEndAllowThreads(__tstate);
24452 if (PyErr_Occurred()) SWIG_fail;
24453 }
24454 Py_INCREF(Py_None); resultobj = Py_None;
24455 {
24456 if (temp2)
24457 delete arg2;
24458 }
24459 return resultobj;
24460 fail:
24461 {
24462 if (temp2)
24463 delete arg2;
24464 }
24465 return NULL;
24466 }
24467
24468
24469 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24470 PyObject *resultobj;
24471 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24472 bool arg2 ;
24473 PyObject * obj0 = 0 ;
24474 PyObject * obj1 = 0 ;
24475 char *kwnames[] = {
24476 (char *) "self",(char *) "show", NULL
24477 };
24478
24479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
24480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24481 {
24482 arg2 = (bool) SPyObj_AsBool(obj1);
24483 if (PyErr_Occurred()) SWIG_fail;
24484 }
24485 {
24486 PyThreadState* __tstate = wxPyBeginAllowThreads();
24487 (arg1)->ShowHidden(arg2);
24488
24489 wxPyEndAllowThreads(__tstate);
24490 if (PyErr_Occurred()) SWIG_fail;
24491 }
24492 Py_INCREF(Py_None); resultobj = Py_None;
24493 return resultobj;
24494 fail:
24495 return NULL;
24496 }
24497
24498
24499 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24500 PyObject *resultobj;
24501 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24502 bool result;
24503 PyObject * obj0 = 0 ;
24504 char *kwnames[] = {
24505 (char *) "self", NULL
24506 };
24507
24508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
24509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 result = (bool)(arg1)->GetShowHidden();
24513
24514 wxPyEndAllowThreads(__tstate);
24515 if (PyErr_Occurred()) SWIG_fail;
24516 }
24517 resultobj = PyInt_FromLong((long)result);
24518 return resultobj;
24519 fail:
24520 return NULL;
24521 }
24522
24523
24524 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24525 PyObject *resultobj;
24526 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24527 wxString result;
24528 PyObject * obj0 = 0 ;
24529 char *kwnames[] = {
24530 (char *) "self", NULL
24531 };
24532
24533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
24534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24535 {
24536 PyThreadState* __tstate = wxPyBeginAllowThreads();
24537 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
24538
24539 wxPyEndAllowThreads(__tstate);
24540 if (PyErr_Occurred()) SWIG_fail;
24541 }
24542 {
24543 #if wxUSE_UNICODE
24544 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24545 #else
24546 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24547 #endif
24548 }
24549 return resultobj;
24550 fail:
24551 return NULL;
24552 }
24553
24554
24555 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24556 PyObject *resultobj;
24557 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24558 wxString *arg2 = 0 ;
24559 bool temp2 = False ;
24560 PyObject * obj0 = 0 ;
24561 PyObject * obj1 = 0 ;
24562 char *kwnames[] = {
24563 (char *) "self",(char *) "filter", NULL
24564 };
24565
24566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
24567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24568 {
24569 arg2 = wxString_in_helper(obj1);
24570 if (arg2 == NULL) SWIG_fail;
24571 temp2 = True;
24572 }
24573 {
24574 PyThreadState* __tstate = wxPyBeginAllowThreads();
24575 (arg1)->SetFilter((wxString const &)*arg2);
24576
24577 wxPyEndAllowThreads(__tstate);
24578 if (PyErr_Occurred()) SWIG_fail;
24579 }
24580 Py_INCREF(Py_None); resultobj = Py_None;
24581 {
24582 if (temp2)
24583 delete arg2;
24584 }
24585 return resultobj;
24586 fail:
24587 {
24588 if (temp2)
24589 delete arg2;
24590 }
24591 return NULL;
24592 }
24593
24594
24595 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24596 PyObject *resultobj;
24597 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24598 int result;
24599 PyObject * obj0 = 0 ;
24600 char *kwnames[] = {
24601 (char *) "self", NULL
24602 };
24603
24604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
24605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24606 {
24607 PyThreadState* __tstate = wxPyBeginAllowThreads();
24608 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
24609
24610 wxPyEndAllowThreads(__tstate);
24611 if (PyErr_Occurred()) SWIG_fail;
24612 }
24613 resultobj = PyInt_FromLong((long)result);
24614 return resultobj;
24615 fail:
24616 return NULL;
24617 }
24618
24619
24620 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24621 PyObject *resultobj;
24622 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24623 int arg2 ;
24624 PyObject * obj0 = 0 ;
24625 char *kwnames[] = {
24626 (char *) "self",(char *) "n", NULL
24627 };
24628
24629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
24630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24631 {
24632 PyThreadState* __tstate = wxPyBeginAllowThreads();
24633 (arg1)->SetFilterIndex(arg2);
24634
24635 wxPyEndAllowThreads(__tstate);
24636 if (PyErr_Occurred()) SWIG_fail;
24637 }
24638 Py_INCREF(Py_None); resultobj = Py_None;
24639 return resultobj;
24640 fail:
24641 return NULL;
24642 }
24643
24644
24645 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
24646 PyObject *resultobj;
24647 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24648 wxTreeItemId result;
24649 PyObject * obj0 = 0 ;
24650 char *kwnames[] = {
24651 (char *) "self", NULL
24652 };
24653
24654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
24655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24656 {
24657 PyThreadState* __tstate = wxPyBeginAllowThreads();
24658 result = (arg1)->GetRootId();
24659
24660 wxPyEndAllowThreads(__tstate);
24661 if (PyErr_Occurred()) SWIG_fail;
24662 }
24663 {
24664 wxTreeItemId * resultptr;
24665 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24666 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24667 }
24668 return resultobj;
24669 fail:
24670 return NULL;
24671 }
24672
24673
24674 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24675 PyObject *resultobj;
24676 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24677 wxPyTreeCtrl *result;
24678 PyObject * obj0 = 0 ;
24679 char *kwnames[] = {
24680 (char *) "self", NULL
24681 };
24682
24683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
24684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24685 {
24686 PyThreadState* __tstate = wxPyBeginAllowThreads();
24687 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
24688
24689 wxPyEndAllowThreads(__tstate);
24690 if (PyErr_Occurred()) SWIG_fail;
24691 }
24692 {
24693 resultobj = wxPyMake_wxObject(result);
24694 }
24695 return resultobj;
24696 fail:
24697 return NULL;
24698 }
24699
24700
24701 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24702 PyObject *resultobj;
24703 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24704 wxDirFilterListCtrl *result;
24705 PyObject * obj0 = 0 ;
24706 char *kwnames[] = {
24707 (char *) "self", NULL
24708 };
24709
24710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
24711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24712 {
24713 PyThreadState* __tstate = wxPyBeginAllowThreads();
24714 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
24715
24716 wxPyEndAllowThreads(__tstate);
24717 if (PyErr_Occurred()) SWIG_fail;
24718 }
24719 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
24720 return resultobj;
24721 fail:
24722 return NULL;
24723 }
24724
24725
24726 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24727 PyObject *resultobj;
24728 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24729 wxTreeItemId arg2 ;
24730 wxString *arg3 = 0 ;
24731 bool *arg4 = 0 ;
24732 wxTreeItemId result;
24733 wxTreeItemId *argp2 ;
24734 bool temp3 = False ;
24735 bool temp4 ;
24736 PyObject * obj0 = 0 ;
24737 PyObject * obj1 = 0 ;
24738 PyObject * obj2 = 0 ;
24739 char *kwnames[] = {
24740 (char *) "self",(char *) "parentId",(char *) "path", NULL
24741 };
24742
24743 arg4 = &temp4;
24744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24746 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
24747 arg2 = *argp2;
24748 {
24749 arg3 = wxString_in_helper(obj2);
24750 if (arg3 == NULL) SWIG_fail;
24751 temp3 = True;
24752 }
24753 {
24754 PyThreadState* __tstate = wxPyBeginAllowThreads();
24755 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
24756
24757 wxPyEndAllowThreads(__tstate);
24758 if (PyErr_Occurred()) SWIG_fail;
24759 }
24760 {
24761 wxTreeItemId * resultptr;
24762 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24763 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24764 }
24765 {
24766 PyObject *o = PyInt_FromLong((long) (*arg4));
24767 resultobj = t_output_helper(resultobj,o);
24768 }
24769 {
24770 if (temp3)
24771 delete arg3;
24772 }
24773 return resultobj;
24774 fail:
24775 {
24776 if (temp3)
24777 delete arg3;
24778 }
24779 return NULL;
24780 }
24781
24782
24783 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
24784 PyObject *resultobj;
24785 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24786 PyObject * obj0 = 0 ;
24787 char *kwnames[] = {
24788 (char *) "self", NULL
24789 };
24790
24791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
24792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24793 {
24794 PyThreadState* __tstate = wxPyBeginAllowThreads();
24795 (arg1)->DoResize();
24796
24797 wxPyEndAllowThreads(__tstate);
24798 if (PyErr_Occurred()) SWIG_fail;
24799 }
24800 Py_INCREF(Py_None); resultobj = Py_None;
24801 return resultobj;
24802 fail:
24803 return NULL;
24804 }
24805
24806
24807 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
24808 PyObject *resultobj;
24809 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24810 PyObject * obj0 = 0 ;
24811 char *kwnames[] = {
24812 (char *) "self", NULL
24813 };
24814
24815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
24816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 (arg1)->ReCreateTree();
24820
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
24824 Py_INCREF(Py_None); resultobj = Py_None;
24825 return resultobj;
24826 fail:
24827 return NULL;
24828 }
24829
24830
24831 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
24832 PyObject *obj;
24833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24834 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24835 Py_INCREF(obj);
24836 return Py_BuildValue((char *)"");
24837 }
24838 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24839 PyObject *resultobj;
24840 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24841 int arg2 = (int) (int)-1 ;
24842 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24843 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24844 wxSize const &arg4_defvalue = wxDefaultSize ;
24845 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24846 long arg5 = (long) 0 ;
24847 wxDirFilterListCtrl *result;
24848 wxPoint temp3 ;
24849 wxSize temp4 ;
24850 PyObject * obj0 = 0 ;
24851 PyObject * obj2 = 0 ;
24852 PyObject * obj3 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24859 if (obj2) {
24860 {
24861 arg3 = &temp3;
24862 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24863 }
24864 }
24865 if (obj3) {
24866 {
24867 arg4 = &temp4;
24868 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24869 }
24870 }
24871 {
24872 PyThreadState* __tstate = wxPyBeginAllowThreads();
24873 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24874
24875 wxPyEndAllowThreads(__tstate);
24876 if (PyErr_Occurred()) SWIG_fail;
24877 }
24878 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24879 return resultobj;
24880 fail:
24881 return NULL;
24882 }
24883
24884
24885 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24886 PyObject *resultobj;
24887 wxDirFilterListCtrl *result;
24888 char *kwnames[] = {
24889 NULL
24890 };
24891
24892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24893 {
24894 PyThreadState* __tstate = wxPyBeginAllowThreads();
24895 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24896
24897 wxPyEndAllowThreads(__tstate);
24898 if (PyErr_Occurred()) SWIG_fail;
24899 }
24900 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24901 return resultobj;
24902 fail:
24903 return NULL;
24904 }
24905
24906
24907 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24908 PyObject *resultobj;
24909 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24910 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24911 int arg3 = (int) (int)-1 ;
24912 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24913 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24914 wxSize const &arg5_defvalue = wxDefaultSize ;
24915 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24916 long arg6 = (long) 0 ;
24917 bool result;
24918 wxPoint temp4 ;
24919 wxSize temp5 ;
24920 PyObject * obj0 = 0 ;
24921 PyObject * obj1 = 0 ;
24922 PyObject * obj3 = 0 ;
24923 PyObject * obj4 = 0 ;
24924 char *kwnames[] = {
24925 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24926 };
24927
24928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24931 if (obj3) {
24932 {
24933 arg4 = &temp4;
24934 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24935 }
24936 }
24937 if (obj4) {
24938 {
24939 arg5 = &temp5;
24940 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24941 }
24942 }
24943 {
24944 PyThreadState* __tstate = wxPyBeginAllowThreads();
24945 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24946
24947 wxPyEndAllowThreads(__tstate);
24948 if (PyErr_Occurred()) SWIG_fail;
24949 }
24950 resultobj = PyInt_FromLong((long)result);
24951 return resultobj;
24952 fail:
24953 return NULL;
24954 }
24955
24956
24957 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24958 PyObject *resultobj;
24959 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24960 wxString *arg2 = 0 ;
24961 int arg3 ;
24962 bool temp2 = False ;
24963 PyObject * obj0 = 0 ;
24964 PyObject * obj1 = 0 ;
24965 char *kwnames[] = {
24966 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24967 };
24968
24969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24971 {
24972 arg2 = wxString_in_helper(obj1);
24973 if (arg2 == NULL) SWIG_fail;
24974 temp2 = True;
24975 }
24976 {
24977 PyThreadState* __tstate = wxPyBeginAllowThreads();
24978 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24979
24980 wxPyEndAllowThreads(__tstate);
24981 if (PyErr_Occurred()) SWIG_fail;
24982 }
24983 Py_INCREF(Py_None); resultobj = Py_None;
24984 {
24985 if (temp2)
24986 delete arg2;
24987 }
24988 return resultobj;
24989 fail:
24990 {
24991 if (temp2)
24992 delete arg2;
24993 }
24994 return NULL;
24995 }
24996
24997
24998 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24999 PyObject *obj;
25000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25001 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
25002 Py_INCREF(obj);
25003 return Py_BuildValue((char *)"");
25004 }
25005 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
25006 PyObject *resultobj;
25007 wxWindow *arg1 = (wxWindow *) 0 ;
25008 int arg2 ;
25009 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25010 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25011 wxSize const &arg4_defvalue = wxDefaultSize ;
25012 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25013 long arg5 = (long) 0 ;
25014 wxValidator const &arg6_defvalue = wxDefaultValidator ;
25015 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
25016 wxString const &arg7_defvalue = wxPyControlNameStr ;
25017 wxString *arg7 = (wxString *) &arg7_defvalue ;
25018 wxPyControl *result;
25019 wxPoint temp3 ;
25020 wxSize temp4 ;
25021 bool temp7 = False ;
25022 PyObject * obj0 = 0 ;
25023 PyObject * obj2 = 0 ;
25024 PyObject * obj3 = 0 ;
25025 PyObject * obj5 = 0 ;
25026 PyObject * obj6 = 0 ;
25027 char *kwnames[] = {
25028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25029 };
25030
25031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
25032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25033 if (obj2) {
25034 {
25035 arg3 = &temp3;
25036 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25037 }
25038 }
25039 if (obj3) {
25040 {
25041 arg4 = &temp4;
25042 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25043 }
25044 }
25045 if (obj5) {
25046 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25047 if (arg6 == NULL) {
25048 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25049 }
25050 }
25051 if (obj6) {
25052 {
25053 arg7 = wxString_in_helper(obj6);
25054 if (arg7 == NULL) SWIG_fail;
25055 temp7 = True;
25056 }
25057 }
25058 {
25059 PyThreadState* __tstate = wxPyBeginAllowThreads();
25060 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
25061
25062 wxPyEndAllowThreads(__tstate);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
25066 {
25067 if (temp7)
25068 delete arg7;
25069 }
25070 return resultobj;
25071 fail:
25072 {
25073 if (temp7)
25074 delete arg7;
25075 }
25076 return NULL;
25077 }
25078
25079
25080 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
25081 PyObject *resultobj;
25082 wxPyControl *arg1 = (wxPyControl *) 0 ;
25083 PyObject *arg2 = (PyObject *) 0 ;
25084 PyObject *arg3 = (PyObject *) 0 ;
25085 PyObject * obj0 = 0 ;
25086 PyObject * obj1 = 0 ;
25087 PyObject * obj2 = 0 ;
25088 char *kwnames[] = {
25089 (char *) "self",(char *) "self",(char *) "_class", NULL
25090 };
25091
25092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
25093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25094 arg2 = obj1;
25095 arg3 = obj2;
25096 {
25097 PyThreadState* __tstate = wxPyBeginAllowThreads();
25098 (arg1)->_setCallbackInfo(arg2,arg3);
25099
25100 wxPyEndAllowThreads(__tstate);
25101 if (PyErr_Occurred()) SWIG_fail;
25102 }
25103 Py_INCREF(Py_None); resultobj = Py_None;
25104 return resultobj;
25105 fail:
25106 return NULL;
25107 }
25108
25109
25110 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25111 PyObject *resultobj;
25112 wxPyControl *arg1 = (wxPyControl *) 0 ;
25113 int arg2 ;
25114 int arg3 ;
25115 int arg4 ;
25116 int arg5 ;
25117 PyObject * obj0 = 0 ;
25118 char *kwnames[] = {
25119 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
25120 };
25121
25122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
25123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
25127
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 Py_INCREF(Py_None); resultobj = Py_None;
25132 return resultobj;
25133 fail:
25134 return NULL;
25135 }
25136
25137
25138 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25139 PyObject *resultobj;
25140 wxPyControl *arg1 = (wxPyControl *) 0 ;
25141 int arg2 ;
25142 int arg3 ;
25143 int arg4 ;
25144 int arg5 ;
25145 int arg6 = (int) wxSIZE_AUTO ;
25146 PyObject * obj0 = 0 ;
25147 char *kwnames[] = {
25148 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
25149 };
25150
25151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
25152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25153 {
25154 PyThreadState* __tstate = wxPyBeginAllowThreads();
25155 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
25156
25157 wxPyEndAllowThreads(__tstate);
25158 if (PyErr_Occurred()) SWIG_fail;
25159 }
25160 Py_INCREF(Py_None); resultobj = Py_None;
25161 return resultobj;
25162 fail:
25163 return NULL;
25164 }
25165
25166
25167 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25168 PyObject *resultobj;
25169 wxPyControl *arg1 = (wxPyControl *) 0 ;
25170 int arg2 ;
25171 int arg3 ;
25172 PyObject * obj0 = 0 ;
25173 char *kwnames[] = {
25174 (char *) "self",(char *) "width",(char *) "height", NULL
25175 };
25176
25177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
25178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25179 {
25180 PyThreadState* __tstate = wxPyBeginAllowThreads();
25181 (arg1)->base_DoSetClientSize(arg2,arg3);
25182
25183 wxPyEndAllowThreads(__tstate);
25184 if (PyErr_Occurred()) SWIG_fail;
25185 }
25186 Py_INCREF(Py_None); resultobj = Py_None;
25187 return resultobj;
25188 fail:
25189 return NULL;
25190 }
25191
25192
25193 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25194 PyObject *resultobj;
25195 wxPyControl *arg1 = (wxPyControl *) 0 ;
25196 int arg2 ;
25197 int arg3 ;
25198 PyObject * obj0 = 0 ;
25199 char *kwnames[] = {
25200 (char *) "self",(char *) "x",(char *) "y", NULL
25201 };
25202
25203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
25204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25205 {
25206 PyThreadState* __tstate = wxPyBeginAllowThreads();
25207 (arg1)->base_DoSetVirtualSize(arg2,arg3);
25208
25209 wxPyEndAllowThreads(__tstate);
25210 if (PyErr_Occurred()) SWIG_fail;
25211 }
25212 Py_INCREF(Py_None); resultobj = Py_None;
25213 return resultobj;
25214 fail:
25215 return NULL;
25216 }
25217
25218
25219 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25220 PyObject *resultobj;
25221 wxPyControl *arg1 = (wxPyControl *) 0 ;
25222 int *arg2 = (int *) 0 ;
25223 int *arg3 = (int *) 0 ;
25224 int temp2 ;
25225 int temp3 ;
25226 PyObject * obj0 = 0 ;
25227 char *kwnames[] = {
25228 (char *) "self", NULL
25229 };
25230
25231 arg2 = &temp2;
25232 arg3 = &temp3;
25233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
25234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25235 {
25236 PyThreadState* __tstate = wxPyBeginAllowThreads();
25237 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
25238
25239 wxPyEndAllowThreads(__tstate);
25240 if (PyErr_Occurred()) SWIG_fail;
25241 }
25242 Py_INCREF(Py_None); resultobj = Py_None;
25243 {
25244 PyObject *o = PyInt_FromLong((long) (*arg2));
25245 resultobj = t_output_helper(resultobj,o);
25246 }
25247 {
25248 PyObject *o = PyInt_FromLong((long) (*arg3));
25249 resultobj = t_output_helper(resultobj,o);
25250 }
25251 return resultobj;
25252 fail:
25253 return NULL;
25254 }
25255
25256
25257 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25258 PyObject *resultobj;
25259 wxPyControl *arg1 = (wxPyControl *) 0 ;
25260 int *arg2 = (int *) 0 ;
25261 int *arg3 = (int *) 0 ;
25262 int temp2 ;
25263 int temp3 ;
25264 PyObject * obj0 = 0 ;
25265 char *kwnames[] = {
25266 (char *) "self", NULL
25267 };
25268
25269 arg2 = &temp2;
25270 arg3 = &temp3;
25271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
25272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25273 {
25274 PyThreadState* __tstate = wxPyBeginAllowThreads();
25275 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
25276
25277 wxPyEndAllowThreads(__tstate);
25278 if (PyErr_Occurred()) SWIG_fail;
25279 }
25280 Py_INCREF(Py_None); resultobj = Py_None;
25281 {
25282 PyObject *o = PyInt_FromLong((long) (*arg2));
25283 resultobj = t_output_helper(resultobj,o);
25284 }
25285 {
25286 PyObject *o = PyInt_FromLong((long) (*arg3));
25287 resultobj = t_output_helper(resultobj,o);
25288 }
25289 return resultobj;
25290 fail:
25291 return NULL;
25292 }
25293
25294
25295 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25296 PyObject *resultobj;
25297 wxPyControl *arg1 = (wxPyControl *) 0 ;
25298 int *arg2 = (int *) 0 ;
25299 int *arg3 = (int *) 0 ;
25300 int temp2 ;
25301 int temp3 ;
25302 PyObject * obj0 = 0 ;
25303 char *kwnames[] = {
25304 (char *) "self", NULL
25305 };
25306
25307 arg2 = &temp2;
25308 arg3 = &temp3;
25309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
25310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25311 {
25312 PyThreadState* __tstate = wxPyBeginAllowThreads();
25313 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
25314
25315 wxPyEndAllowThreads(__tstate);
25316 if (PyErr_Occurred()) SWIG_fail;
25317 }
25318 Py_INCREF(Py_None); resultobj = Py_None;
25319 {
25320 PyObject *o = PyInt_FromLong((long) (*arg2));
25321 resultobj = t_output_helper(resultobj,o);
25322 }
25323 {
25324 PyObject *o = PyInt_FromLong((long) (*arg3));
25325 resultobj = t_output_helper(resultobj,o);
25326 }
25327 return resultobj;
25328 fail:
25329 return NULL;
25330 }
25331
25332
25333 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25334 PyObject *resultobj;
25335 wxPyControl *arg1 = (wxPyControl *) 0 ;
25336 wxSize result;
25337 PyObject * obj0 = 0 ;
25338 char *kwnames[] = {
25339 (char *) "self", NULL
25340 };
25341
25342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
25343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25344 {
25345 PyThreadState* __tstate = wxPyBeginAllowThreads();
25346 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
25347
25348 wxPyEndAllowThreads(__tstate);
25349 if (PyErr_Occurred()) SWIG_fail;
25350 }
25351 {
25352 wxSize * resultptr;
25353 resultptr = new wxSize((wxSize &) result);
25354 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25355 }
25356 return resultobj;
25357 fail:
25358 return NULL;
25359 }
25360
25361
25362 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25363 PyObject *resultobj;
25364 wxPyControl *arg1 = (wxPyControl *) 0 ;
25365 wxSize result;
25366 PyObject * obj0 = 0 ;
25367 char *kwnames[] = {
25368 (char *) "self", NULL
25369 };
25370
25371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
25372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25373 {
25374 PyThreadState* __tstate = wxPyBeginAllowThreads();
25375 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
25376
25377 wxPyEndAllowThreads(__tstate);
25378 if (PyErr_Occurred()) SWIG_fail;
25379 }
25380 {
25381 wxSize * resultptr;
25382 resultptr = new wxSize((wxSize &) result);
25383 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25384 }
25385 return resultobj;
25386 fail:
25387 return NULL;
25388 }
25389
25390
25391 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
25392 PyObject *resultobj;
25393 wxPyControl *arg1 = (wxPyControl *) 0 ;
25394 PyObject * obj0 = 0 ;
25395 char *kwnames[] = {
25396 (char *) "self", NULL
25397 };
25398
25399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
25400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25401 {
25402 PyThreadState* __tstate = wxPyBeginAllowThreads();
25403 (arg1)->base_InitDialog();
25404
25405 wxPyEndAllowThreads(__tstate);
25406 if (PyErr_Occurred()) SWIG_fail;
25407 }
25408 Py_INCREF(Py_None); resultobj = Py_None;
25409 return resultobj;
25410 fail:
25411 return NULL;
25412 }
25413
25414
25415 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25416 PyObject *resultobj;
25417 wxPyControl *arg1 = (wxPyControl *) 0 ;
25418 bool result;
25419 PyObject * obj0 = 0 ;
25420 char *kwnames[] = {
25421 (char *) "self", NULL
25422 };
25423
25424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
25425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25426 {
25427 PyThreadState* __tstate = wxPyBeginAllowThreads();
25428 result = (bool)(arg1)->base_TransferDataToWindow();
25429
25430 wxPyEndAllowThreads(__tstate);
25431 if (PyErr_Occurred()) SWIG_fail;
25432 }
25433 resultobj = PyInt_FromLong((long)result);
25434 return resultobj;
25435 fail:
25436 return NULL;
25437 }
25438
25439
25440 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25441 PyObject *resultobj;
25442 wxPyControl *arg1 = (wxPyControl *) 0 ;
25443 bool result;
25444 PyObject * obj0 = 0 ;
25445 char *kwnames[] = {
25446 (char *) "self", NULL
25447 };
25448
25449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25451 {
25452 PyThreadState* __tstate = wxPyBeginAllowThreads();
25453 result = (bool)(arg1)->base_TransferDataFromWindow();
25454
25455 wxPyEndAllowThreads(__tstate);
25456 if (PyErr_Occurred()) SWIG_fail;
25457 }
25458 resultobj = PyInt_FromLong((long)result);
25459 return resultobj;
25460 fail:
25461 return NULL;
25462 }
25463
25464
25465 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
25466 PyObject *resultobj;
25467 wxPyControl *arg1 = (wxPyControl *) 0 ;
25468 bool result;
25469 PyObject * obj0 = 0 ;
25470 char *kwnames[] = {
25471 (char *) "self", NULL
25472 };
25473
25474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
25475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25476 {
25477 PyThreadState* __tstate = wxPyBeginAllowThreads();
25478 result = (bool)(arg1)->base_Validate();
25479
25480 wxPyEndAllowThreads(__tstate);
25481 if (PyErr_Occurred()) SWIG_fail;
25482 }
25483 resultobj = PyInt_FromLong((long)result);
25484 return resultobj;
25485 fail:
25486 return NULL;
25487 }
25488
25489
25490 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
25491 PyObject *resultobj;
25492 wxPyControl *arg1 = (wxPyControl *) 0 ;
25493 bool result;
25494 PyObject * obj0 = 0 ;
25495 char *kwnames[] = {
25496 (char *) "self", NULL
25497 };
25498
25499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
25500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25501 {
25502 PyThreadState* __tstate = wxPyBeginAllowThreads();
25503 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
25504
25505 wxPyEndAllowThreads(__tstate);
25506 if (PyErr_Occurred()) SWIG_fail;
25507 }
25508 resultobj = PyInt_FromLong((long)result);
25509 return resultobj;
25510 fail:
25511 return NULL;
25512 }
25513
25514
25515 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
25516 PyObject *resultobj;
25517 wxPyControl *arg1 = (wxPyControl *) 0 ;
25518 bool result;
25519 PyObject * obj0 = 0 ;
25520 char *kwnames[] = {
25521 (char *) "self", NULL
25522 };
25523
25524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
25525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25526 {
25527 PyThreadState* __tstate = wxPyBeginAllowThreads();
25528 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
25529
25530 wxPyEndAllowThreads(__tstate);
25531 if (PyErr_Occurred()) SWIG_fail;
25532 }
25533 resultobj = PyInt_FromLong((long)result);
25534 return resultobj;
25535 fail:
25536 return NULL;
25537 }
25538
25539
25540 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25541 PyObject *resultobj;
25542 wxPyControl *arg1 = (wxPyControl *) 0 ;
25543 wxSize result;
25544 PyObject * obj0 = 0 ;
25545 char *kwnames[] = {
25546 (char *) "self", NULL
25547 };
25548
25549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
25550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25551 {
25552 PyThreadState* __tstate = wxPyBeginAllowThreads();
25553 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
25554
25555 wxPyEndAllowThreads(__tstate);
25556 if (PyErr_Occurred()) SWIG_fail;
25557 }
25558 {
25559 wxSize * resultptr;
25560 resultptr = new wxSize((wxSize &) result);
25561 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25562 }
25563 return resultobj;
25564 fail:
25565 return NULL;
25566 }
25567
25568
25569 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25570 PyObject *resultobj;
25571 wxPyControl *arg1 = (wxPyControl *) 0 ;
25572 wxWindow *arg2 = (wxWindow *) 0 ;
25573 PyObject * obj0 = 0 ;
25574 PyObject * obj1 = 0 ;
25575 char *kwnames[] = {
25576 (char *) "self",(char *) "child", NULL
25577 };
25578
25579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
25580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25582 {
25583 PyThreadState* __tstate = wxPyBeginAllowThreads();
25584 (arg1)->base_AddChild(arg2);
25585
25586 wxPyEndAllowThreads(__tstate);
25587 if (PyErr_Occurred()) SWIG_fail;
25588 }
25589 Py_INCREF(Py_None); resultobj = Py_None;
25590 return resultobj;
25591 fail:
25592 return NULL;
25593 }
25594
25595
25596 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25597 PyObject *resultobj;
25598 wxPyControl *arg1 = (wxPyControl *) 0 ;
25599 wxWindow *arg2 = (wxWindow *) 0 ;
25600 PyObject * obj0 = 0 ;
25601 PyObject * obj1 = 0 ;
25602 char *kwnames[] = {
25603 (char *) "self",(char *) "child", NULL
25604 };
25605
25606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
25607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25609 {
25610 PyThreadState* __tstate = wxPyBeginAllowThreads();
25611 (arg1)->base_RemoveChild(arg2);
25612
25613 wxPyEndAllowThreads(__tstate);
25614 if (PyErr_Occurred()) SWIG_fail;
25615 }
25616 Py_INCREF(Py_None); resultobj = Py_None;
25617 return resultobj;
25618 fail:
25619 return NULL;
25620 }
25621
25622
25623 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
25624 PyObject *obj;
25625 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25626 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
25627 Py_INCREF(obj);
25628 return Py_BuildValue((char *)"");
25629 }
25630 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
25631 PyObject *resultobj;
25632 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
25633 int arg2 = (int) 0 ;
25634 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25635 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25636 wxHelpEvent *result;
25637 wxPoint temp3 ;
25638 PyObject * obj2 = 0 ;
25639 char *kwnames[] = {
25640 (char *) "type",(char *) "winid",(char *) "pt", NULL
25641 };
25642
25643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
25644 if (obj2) {
25645 {
25646 arg3 = &temp3;
25647 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25648 }
25649 }
25650 {
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
25653
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
25658 return resultobj;
25659 fail:
25660 return NULL;
25661 }
25662
25663
25664 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25665 PyObject *resultobj;
25666 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25667 wxPoint *result;
25668 PyObject * obj0 = 0 ;
25669 char *kwnames[] = {
25670 (char *) "self", NULL
25671 };
25672
25673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
25674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25675 {
25676 PyThreadState* __tstate = wxPyBeginAllowThreads();
25677 {
25678 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
25679 result = (wxPoint *) &_result_ref;
25680 }
25681
25682 wxPyEndAllowThreads(__tstate);
25683 if (PyErr_Occurred()) SWIG_fail;
25684 }
25685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
25686 return resultobj;
25687 fail:
25688 return NULL;
25689 }
25690
25691
25692 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25693 PyObject *resultobj;
25694 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25695 wxPoint *arg2 = 0 ;
25696 wxPoint temp2 ;
25697 PyObject * obj0 = 0 ;
25698 PyObject * obj1 = 0 ;
25699 char *kwnames[] = {
25700 (char *) "self",(char *) "pos", NULL
25701 };
25702
25703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
25704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25705 {
25706 arg2 = &temp2;
25707 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25708 }
25709 {
25710 PyThreadState* __tstate = wxPyBeginAllowThreads();
25711 (arg1)->SetPosition((wxPoint const &)*arg2);
25712
25713 wxPyEndAllowThreads(__tstate);
25714 if (PyErr_Occurred()) SWIG_fail;
25715 }
25716 Py_INCREF(Py_None); resultobj = Py_None;
25717 return resultobj;
25718 fail:
25719 return NULL;
25720 }
25721
25722
25723 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25724 PyObject *resultobj;
25725 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25726 wxString *result;
25727 PyObject * obj0 = 0 ;
25728 char *kwnames[] = {
25729 (char *) "self", NULL
25730 };
25731
25732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
25733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25734 {
25735 PyThreadState* __tstate = wxPyBeginAllowThreads();
25736 {
25737 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
25738 result = (wxString *) &_result_ref;
25739 }
25740
25741 wxPyEndAllowThreads(__tstate);
25742 if (PyErr_Occurred()) SWIG_fail;
25743 }
25744 {
25745 #if wxUSE_UNICODE
25746 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25747 #else
25748 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25749 #endif
25750 }
25751 return resultobj;
25752 fail:
25753 return NULL;
25754 }
25755
25756
25757 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25758 PyObject *resultobj;
25759 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25760 wxString *arg2 = 0 ;
25761 bool temp2 = False ;
25762 PyObject * obj0 = 0 ;
25763 PyObject * obj1 = 0 ;
25764 char *kwnames[] = {
25765 (char *) "self",(char *) "link", NULL
25766 };
25767
25768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
25769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25770 {
25771 arg2 = wxString_in_helper(obj1);
25772 if (arg2 == NULL) SWIG_fail;
25773 temp2 = True;
25774 }
25775 {
25776 PyThreadState* __tstate = wxPyBeginAllowThreads();
25777 (arg1)->SetLink((wxString const &)*arg2);
25778
25779 wxPyEndAllowThreads(__tstate);
25780 if (PyErr_Occurred()) SWIG_fail;
25781 }
25782 Py_INCREF(Py_None); resultobj = Py_None;
25783 {
25784 if (temp2)
25785 delete arg2;
25786 }
25787 return resultobj;
25788 fail:
25789 {
25790 if (temp2)
25791 delete arg2;
25792 }
25793 return NULL;
25794 }
25795
25796
25797 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25798 PyObject *resultobj;
25799 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25800 wxString *result;
25801 PyObject * obj0 = 0 ;
25802 char *kwnames[] = {
25803 (char *) "self", NULL
25804 };
25805
25806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
25807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25808 {
25809 PyThreadState* __tstate = wxPyBeginAllowThreads();
25810 {
25811 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
25812 result = (wxString *) &_result_ref;
25813 }
25814
25815 wxPyEndAllowThreads(__tstate);
25816 if (PyErr_Occurred()) SWIG_fail;
25817 }
25818 {
25819 #if wxUSE_UNICODE
25820 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25821 #else
25822 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25823 #endif
25824 }
25825 return resultobj;
25826 fail:
25827 return NULL;
25828 }
25829
25830
25831 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25832 PyObject *resultobj;
25833 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25834 wxString *arg2 = 0 ;
25835 bool temp2 = False ;
25836 PyObject * obj0 = 0 ;
25837 PyObject * obj1 = 0 ;
25838 char *kwnames[] = {
25839 (char *) "self",(char *) "target", NULL
25840 };
25841
25842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25844 {
25845 arg2 = wxString_in_helper(obj1);
25846 if (arg2 == NULL) SWIG_fail;
25847 temp2 = True;
25848 }
25849 {
25850 PyThreadState* __tstate = wxPyBeginAllowThreads();
25851 (arg1)->SetTarget((wxString const &)*arg2);
25852
25853 wxPyEndAllowThreads(__tstate);
25854 if (PyErr_Occurred()) SWIG_fail;
25855 }
25856 Py_INCREF(Py_None); resultobj = Py_None;
25857 {
25858 if (temp2)
25859 delete arg2;
25860 }
25861 return resultobj;
25862 fail:
25863 {
25864 if (temp2)
25865 delete arg2;
25866 }
25867 return NULL;
25868 }
25869
25870
25871 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25872 PyObject *obj;
25873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25874 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25875 Py_INCREF(obj);
25876 return Py_BuildValue((char *)"");
25877 }
25878 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25879 PyObject *resultobj;
25880 wxWindow *arg1 = (wxWindow *) NULL ;
25881 bool arg2 = (bool) True ;
25882 wxContextHelp *result;
25883 PyObject * obj0 = 0 ;
25884 PyObject * obj1 = 0 ;
25885 char *kwnames[] = {
25886 (char *) "window",(char *) "doNow", NULL
25887 };
25888
25889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25890 if (obj0) {
25891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25892 }
25893 if (obj1) {
25894 {
25895 arg2 = (bool) SPyObj_AsBool(obj1);
25896 if (PyErr_Occurred()) SWIG_fail;
25897 }
25898 }
25899 {
25900 PyThreadState* __tstate = wxPyBeginAllowThreads();
25901 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25902
25903 wxPyEndAllowThreads(__tstate);
25904 if (PyErr_Occurred()) SWIG_fail;
25905 }
25906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25907 return resultobj;
25908 fail:
25909 return NULL;
25910 }
25911
25912
25913 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25914 PyObject *resultobj;
25915 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25916 PyObject * obj0 = 0 ;
25917 char *kwnames[] = {
25918 (char *) "self", NULL
25919 };
25920
25921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25923 {
25924 PyThreadState* __tstate = wxPyBeginAllowThreads();
25925 delete arg1;
25926
25927 wxPyEndAllowThreads(__tstate);
25928 if (PyErr_Occurred()) SWIG_fail;
25929 }
25930 Py_INCREF(Py_None); resultobj = Py_None;
25931 return resultobj;
25932 fail:
25933 return NULL;
25934 }
25935
25936
25937 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25938 PyObject *resultobj;
25939 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25940 wxWindow *arg2 = (wxWindow *) NULL ;
25941 bool result;
25942 PyObject * obj0 = 0 ;
25943 PyObject * obj1 = 0 ;
25944 char *kwnames[] = {
25945 (char *) "self",(char *) "window", NULL
25946 };
25947
25948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25950 if (obj1) {
25951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25952 }
25953 {
25954 PyThreadState* __tstate = wxPyBeginAllowThreads();
25955 result = (bool)(arg1)->BeginContextHelp(arg2);
25956
25957 wxPyEndAllowThreads(__tstate);
25958 if (PyErr_Occurred()) SWIG_fail;
25959 }
25960 resultobj = PyInt_FromLong((long)result);
25961 return resultobj;
25962 fail:
25963 return NULL;
25964 }
25965
25966
25967 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25968 PyObject *resultobj;
25969 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25970 bool result;
25971 PyObject * obj0 = 0 ;
25972 char *kwnames[] = {
25973 (char *) "self", NULL
25974 };
25975
25976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25978 {
25979 PyThreadState* __tstate = wxPyBeginAllowThreads();
25980 result = (bool)(arg1)->EndContextHelp();
25981
25982 wxPyEndAllowThreads(__tstate);
25983 if (PyErr_Occurred()) SWIG_fail;
25984 }
25985 resultobj = PyInt_FromLong((long)result);
25986 return resultobj;
25987 fail:
25988 return NULL;
25989 }
25990
25991
25992 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25993 PyObject *obj;
25994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25995 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25996 Py_INCREF(obj);
25997 return Py_BuildValue((char *)"");
25998 }
25999 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
26000 PyObject *resultobj;
26001 wxWindow *arg1 = (wxWindow *) 0 ;
26002 int arg2 = (int) wxID_CONTEXT_HELP ;
26003 wxPoint const &arg3_defvalue = wxDefaultPosition ;
26004 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
26005 wxSize const &arg4_defvalue = wxDefaultSize ;
26006 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
26007 long arg5 = (long) wxBU_AUTODRAW ;
26008 wxContextHelpButton *result;
26009 wxPoint temp3 ;
26010 wxSize temp4 ;
26011 PyObject * obj0 = 0 ;
26012 PyObject * obj2 = 0 ;
26013 PyObject * obj3 = 0 ;
26014 char *kwnames[] = {
26015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
26016 };
26017
26018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
26019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26020 if (obj2) {
26021 {
26022 arg3 = &temp3;
26023 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26024 }
26025 }
26026 if (obj3) {
26027 {
26028 arg4 = &temp4;
26029 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
26030 }
26031 }
26032 {
26033 PyThreadState* __tstate = wxPyBeginAllowThreads();
26034 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
26035
26036 wxPyEndAllowThreads(__tstate);
26037 if (PyErr_Occurred()) SWIG_fail;
26038 }
26039 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
26040 return resultobj;
26041 fail:
26042 return NULL;
26043 }
26044
26045
26046 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
26047 PyObject *obj;
26048 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26049 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
26050 Py_INCREF(obj);
26051 return Py_BuildValue((char *)"");
26052 }
26053 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
26054 PyObject *resultobj;
26055 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26056 wxHelpProvider *result;
26057 PyObject * obj0 = 0 ;
26058 char *kwnames[] = {
26059 (char *) "helpProvider", NULL
26060 };
26061
26062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
26063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26064 {
26065 PyThreadState* __tstate = wxPyBeginAllowThreads();
26066 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
26067
26068 wxPyEndAllowThreads(__tstate);
26069 if (PyErr_Occurred()) SWIG_fail;
26070 }
26071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
26072 return resultobj;
26073 fail:
26074 return NULL;
26075 }
26076
26077
26078 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
26079 PyObject *resultobj;
26080 wxHelpProvider *result;
26081 char *kwnames[] = {
26082 NULL
26083 };
26084
26085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
26086 {
26087 PyThreadState* __tstate = wxPyBeginAllowThreads();
26088 result = (wxHelpProvider *)wxHelpProvider::Get();
26089
26090 wxPyEndAllowThreads(__tstate);
26091 if (PyErr_Occurred()) SWIG_fail;
26092 }
26093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
26094 return resultobj;
26095 fail:
26096 return NULL;
26097 }
26098
26099
26100 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
26101 PyObject *resultobj;
26102 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26103 wxWindow *arg2 = (wxWindow *) 0 ;
26104 wxString result;
26105 PyObject * obj0 = 0 ;
26106 PyObject * obj1 = 0 ;
26107 char *kwnames[] = {
26108 (char *) "self",(char *) "window", NULL
26109 };
26110
26111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
26112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26113 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26114 {
26115 PyThreadState* __tstate = wxPyBeginAllowThreads();
26116 result = (arg1)->GetHelp((wxWindow const *)arg2);
26117
26118 wxPyEndAllowThreads(__tstate);
26119 if (PyErr_Occurred()) SWIG_fail;
26120 }
26121 {
26122 #if wxUSE_UNICODE
26123 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26124 #else
26125 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26126 #endif
26127 }
26128 return resultobj;
26129 fail:
26130 return NULL;
26131 }
26132
26133
26134 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
26135 PyObject *resultobj;
26136 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26137 wxWindow *arg2 = (wxWindow *) 0 ;
26138 bool result;
26139 PyObject * obj0 = 0 ;
26140 PyObject * obj1 = 0 ;
26141 char *kwnames[] = {
26142 (char *) "self",(char *) "window", NULL
26143 };
26144
26145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
26146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26147 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26148 {
26149 PyThreadState* __tstate = wxPyBeginAllowThreads();
26150 result = (bool)(arg1)->ShowHelp(arg2);
26151
26152 wxPyEndAllowThreads(__tstate);
26153 if (PyErr_Occurred()) SWIG_fail;
26154 }
26155 resultobj = PyInt_FromLong((long)result);
26156 return resultobj;
26157 fail:
26158 return NULL;
26159 }
26160
26161
26162 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
26163 PyObject *resultobj;
26164 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26165 wxWindow *arg2 = (wxWindow *) 0 ;
26166 wxString *arg3 = 0 ;
26167 bool temp3 = False ;
26168 PyObject * obj0 = 0 ;
26169 PyObject * obj1 = 0 ;
26170 PyObject * obj2 = 0 ;
26171 char *kwnames[] = {
26172 (char *) "self",(char *) "window",(char *) "text", NULL
26173 };
26174
26175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
26176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26178 {
26179 arg3 = wxString_in_helper(obj2);
26180 if (arg3 == NULL) SWIG_fail;
26181 temp3 = True;
26182 }
26183 {
26184 PyThreadState* __tstate = wxPyBeginAllowThreads();
26185 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
26186
26187 wxPyEndAllowThreads(__tstate);
26188 if (PyErr_Occurred()) SWIG_fail;
26189 }
26190 Py_INCREF(Py_None); resultobj = Py_None;
26191 {
26192 if (temp3)
26193 delete arg3;
26194 }
26195 return resultobj;
26196 fail:
26197 {
26198 if (temp3)
26199 delete arg3;
26200 }
26201 return NULL;
26202 }
26203
26204
26205 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
26206 PyObject *resultobj;
26207 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26208 int arg2 ;
26209 wxString *arg3 = 0 ;
26210 bool temp3 = False ;
26211 PyObject * obj0 = 0 ;
26212 PyObject * obj2 = 0 ;
26213 char *kwnames[] = {
26214 (char *) "self",(char *) "id",(char *) "text", NULL
26215 };
26216
26217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
26218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26219 {
26220 arg3 = wxString_in_helper(obj2);
26221 if (arg3 == NULL) SWIG_fail;
26222 temp3 = True;
26223 }
26224 {
26225 PyThreadState* __tstate = wxPyBeginAllowThreads();
26226 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
26227
26228 wxPyEndAllowThreads(__tstate);
26229 if (PyErr_Occurred()) SWIG_fail;
26230 }
26231 Py_INCREF(Py_None); resultobj = Py_None;
26232 {
26233 if (temp3)
26234 delete arg3;
26235 }
26236 return resultobj;
26237 fail:
26238 {
26239 if (temp3)
26240 delete arg3;
26241 }
26242 return NULL;
26243 }
26244
26245
26246 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
26247 PyObject *resultobj;
26248 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
26249 PyObject * obj0 = 0 ;
26250 char *kwnames[] = {
26251 (char *) "self", NULL
26252 };
26253
26254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
26255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26256 {
26257 PyThreadState* __tstate = wxPyBeginAllowThreads();
26258 wxHelpProvider_Destroy(arg1);
26259
26260 wxPyEndAllowThreads(__tstate);
26261 if (PyErr_Occurred()) SWIG_fail;
26262 }
26263 Py_INCREF(Py_None); resultobj = Py_None;
26264 return resultobj;
26265 fail:
26266 return NULL;
26267 }
26268
26269
26270 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
26271 PyObject *obj;
26272 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26273 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
26274 Py_INCREF(obj);
26275 return Py_BuildValue((char *)"");
26276 }
26277 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
26278 PyObject *resultobj;
26279 wxSimpleHelpProvider *result;
26280 char *kwnames[] = {
26281 NULL
26282 };
26283
26284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
26285 {
26286 PyThreadState* __tstate = wxPyBeginAllowThreads();
26287 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
26288
26289 wxPyEndAllowThreads(__tstate);
26290 if (PyErr_Occurred()) SWIG_fail;
26291 }
26292 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
26293 return resultobj;
26294 fail:
26295 return NULL;
26296 }
26297
26298
26299 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
26300 PyObject *obj;
26301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26302 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
26303 Py_INCREF(obj);
26304 return Py_BuildValue((char *)"");
26305 }
26306 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26307 PyObject *resultobj;
26308 wxBitmap *arg1 = 0 ;
26309 wxCursor const &arg2_defvalue = wxNullCursor ;
26310 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26311 wxGenericDragImage *result;
26312 PyObject * obj0 = 0 ;
26313 PyObject * obj1 = 0 ;
26314 char *kwnames[] = {
26315 (char *) "image",(char *) "cursor", NULL
26316 };
26317
26318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
26319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26320 if (arg1 == NULL) {
26321 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26322 }
26323 if (obj1) {
26324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26325 if (arg2 == NULL) {
26326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26327 }
26328 }
26329 {
26330 PyThreadState* __tstate = wxPyBeginAllowThreads();
26331 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
26332
26333 wxPyEndAllowThreads(__tstate);
26334 if (PyErr_Occurred()) SWIG_fail;
26335 }
26336 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26337 return resultobj;
26338 fail:
26339 return NULL;
26340 }
26341
26342
26343 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
26344 PyObject *resultobj;
26345 wxIcon *arg1 = 0 ;
26346 wxCursor const &arg2_defvalue = wxNullCursor ;
26347 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26348 wxGenericDragImage *result;
26349 PyObject * obj0 = 0 ;
26350 PyObject * obj1 = 0 ;
26351 char *kwnames[] = {
26352 (char *) "image",(char *) "cursor", NULL
26353 };
26354
26355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
26356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26357 if (arg1 == NULL) {
26358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26359 }
26360 if (obj1) {
26361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26362 if (arg2 == NULL) {
26363 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26364 }
26365 }
26366 {
26367 PyThreadState* __tstate = wxPyBeginAllowThreads();
26368 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
26369
26370 wxPyEndAllowThreads(__tstate);
26371 if (PyErr_Occurred()) SWIG_fail;
26372 }
26373 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26374 return resultobj;
26375 fail:
26376 return NULL;
26377 }
26378
26379
26380 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
26381 PyObject *resultobj;
26382 wxString *arg1 = 0 ;
26383 wxCursor const &arg2_defvalue = wxNullCursor ;
26384 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
26385 wxGenericDragImage *result;
26386 bool temp1 = False ;
26387 PyObject * obj0 = 0 ;
26388 PyObject * obj1 = 0 ;
26389 char *kwnames[] = {
26390 (char *) "str",(char *) "cursor", NULL
26391 };
26392
26393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
26394 {
26395 arg1 = wxString_in_helper(obj0);
26396 if (arg1 == NULL) SWIG_fail;
26397 temp1 = True;
26398 }
26399 if (obj1) {
26400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26401 if (arg2 == NULL) {
26402 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26403 }
26404 }
26405 {
26406 PyThreadState* __tstate = wxPyBeginAllowThreads();
26407 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
26408
26409 wxPyEndAllowThreads(__tstate);
26410 if (PyErr_Occurred()) SWIG_fail;
26411 }
26412 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26413 {
26414 if (temp1)
26415 delete arg1;
26416 }
26417 return resultobj;
26418 fail:
26419 {
26420 if (temp1)
26421 delete arg1;
26422 }
26423 return NULL;
26424 }
26425
26426
26427 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26428 PyObject *resultobj;
26429 wxPyTreeCtrl *arg1 = 0 ;
26430 wxTreeItemId *arg2 = 0 ;
26431 wxGenericDragImage *result;
26432 PyObject * obj0 = 0 ;
26433 PyObject * obj1 = 0 ;
26434 char *kwnames[] = {
26435 (char *) "treeCtrl",(char *) "id", NULL
26436 };
26437
26438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
26439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26440 if (arg1 == NULL) {
26441 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26442 }
26443 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26444 if (arg2 == NULL) {
26445 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26446 }
26447 {
26448 PyThreadState* __tstate = wxPyBeginAllowThreads();
26449 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
26450
26451 wxPyEndAllowThreads(__tstate);
26452 if (PyErr_Occurred()) SWIG_fail;
26453 }
26454 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26455 return resultobj;
26456 fail:
26457 return NULL;
26458 }
26459
26460
26461 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26462 PyObject *resultobj;
26463 wxPyListCtrl *arg1 = 0 ;
26464 long arg2 ;
26465 wxGenericDragImage *result;
26466 PyObject * obj0 = 0 ;
26467 char *kwnames[] = {
26468 (char *) "listCtrl",(char *) "id", NULL
26469 };
26470
26471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
26472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26473 if (arg1 == NULL) {
26474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26475 }
26476 {
26477 PyThreadState* __tstate = wxPyBeginAllowThreads();
26478 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
26479
26480 wxPyEndAllowThreads(__tstate);
26481 if (PyErr_Occurred()) SWIG_fail;
26482 }
26483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26484 return resultobj;
26485 fail:
26486 return NULL;
26487 }
26488
26489
26490 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26491 PyObject *resultobj;
26492 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26493 PyObject * obj0 = 0 ;
26494 char *kwnames[] = {
26495 (char *) "self", NULL
26496 };
26497
26498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
26499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26500 {
26501 PyThreadState* __tstate = wxPyBeginAllowThreads();
26502 delete arg1;
26503
26504 wxPyEndAllowThreads(__tstate);
26505 if (PyErr_Occurred()) SWIG_fail;
26506 }
26507 Py_INCREF(Py_None); resultobj = Py_None;
26508 return resultobj;
26509 fail:
26510 return NULL;
26511 }
26512
26513
26514 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
26515 PyObject *resultobj;
26516 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26517 wxBitmap *arg2 = (wxBitmap *) 0 ;
26518 PyObject * obj0 = 0 ;
26519 PyObject * obj1 = 0 ;
26520 char *kwnames[] = {
26521 (char *) "self",(char *) "bitmap", NULL
26522 };
26523
26524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
26525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26526 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26527 {
26528 PyThreadState* __tstate = wxPyBeginAllowThreads();
26529 (arg1)->SetBackingBitmap(arg2);
26530
26531 wxPyEndAllowThreads(__tstate);
26532 if (PyErr_Occurred()) SWIG_fail;
26533 }
26534 Py_INCREF(Py_None); resultobj = Py_None;
26535 return resultobj;
26536 fail:
26537 return NULL;
26538 }
26539
26540
26541 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26542 PyObject *resultobj;
26543 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26544 wxPoint *arg2 = 0 ;
26545 wxWindow *arg3 = (wxWindow *) 0 ;
26546 bool arg4 = (bool) False ;
26547 wxRect *arg5 = (wxRect *) NULL ;
26548 bool result;
26549 wxPoint temp2 ;
26550 PyObject * obj0 = 0 ;
26551 PyObject * obj1 = 0 ;
26552 PyObject * obj2 = 0 ;
26553 PyObject * obj3 = 0 ;
26554 PyObject * obj4 = 0 ;
26555 char *kwnames[] = {
26556 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26557 };
26558
26559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26561 {
26562 arg2 = &temp2;
26563 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26564 }
26565 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26566 if (obj3) {
26567 {
26568 arg4 = (bool) SPyObj_AsBool(obj3);
26569 if (PyErr_Occurred()) SWIG_fail;
26570 }
26571 }
26572 if (obj4) {
26573 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26574 }
26575 {
26576 PyThreadState* __tstate = wxPyBeginAllowThreads();
26577 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
26578
26579 wxPyEndAllowThreads(__tstate);
26580 if (PyErr_Occurred()) SWIG_fail;
26581 }
26582 resultobj = PyInt_FromLong((long)result);
26583 return resultobj;
26584 fail:
26585 return NULL;
26586 }
26587
26588
26589 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
26590 PyObject *resultobj;
26591 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26592 wxPoint *arg2 = 0 ;
26593 wxWindow *arg3 = (wxWindow *) 0 ;
26594 wxWindow *arg4 = (wxWindow *) 0 ;
26595 bool result;
26596 wxPoint temp2 ;
26597 PyObject * obj0 = 0 ;
26598 PyObject * obj1 = 0 ;
26599 PyObject * obj2 = 0 ;
26600 PyObject * obj3 = 0 ;
26601 char *kwnames[] = {
26602 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26603 };
26604
26605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26607 {
26608 arg2 = &temp2;
26609 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26610 }
26611 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26612 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26613 {
26614 PyThreadState* __tstate = wxPyBeginAllowThreads();
26615 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
26616
26617 wxPyEndAllowThreads(__tstate);
26618 if (PyErr_Occurred()) SWIG_fail;
26619 }
26620 resultobj = PyInt_FromLong((long)result);
26621 return resultobj;
26622 fail:
26623 return NULL;
26624 }
26625
26626
26627 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26628 PyObject *resultobj;
26629 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26630 bool result;
26631 PyObject * obj0 = 0 ;
26632 char *kwnames[] = {
26633 (char *) "self", NULL
26634 };
26635
26636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
26637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26638 {
26639 PyThreadState* __tstate = wxPyBeginAllowThreads();
26640 result = (bool)(arg1)->EndDrag();
26641
26642 wxPyEndAllowThreads(__tstate);
26643 if (PyErr_Occurred()) SWIG_fail;
26644 }
26645 resultobj = PyInt_FromLong((long)result);
26646 return resultobj;
26647 fail:
26648 return NULL;
26649 }
26650
26651
26652 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
26653 PyObject *resultobj;
26654 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26655 wxPoint *arg2 = 0 ;
26656 bool result;
26657 wxPoint temp2 ;
26658 PyObject * obj0 = 0 ;
26659 PyObject * obj1 = 0 ;
26660 char *kwnames[] = {
26661 (char *) "self",(char *) "pt", NULL
26662 };
26663
26664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
26665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26666 {
26667 arg2 = &temp2;
26668 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26669 }
26670 {
26671 PyThreadState* __tstate = wxPyBeginAllowThreads();
26672 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
26673
26674 wxPyEndAllowThreads(__tstate);
26675 if (PyErr_Occurred()) SWIG_fail;
26676 }
26677 resultobj = PyInt_FromLong((long)result);
26678 return resultobj;
26679 fail:
26680 return NULL;
26681 }
26682
26683
26684 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
26685 PyObject *resultobj;
26686 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26687 bool result;
26688 PyObject * obj0 = 0 ;
26689 char *kwnames[] = {
26690 (char *) "self", NULL
26691 };
26692
26693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
26694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26695 {
26696 PyThreadState* __tstate = wxPyBeginAllowThreads();
26697 result = (bool)(arg1)->Show();
26698
26699 wxPyEndAllowThreads(__tstate);
26700 if (PyErr_Occurred()) SWIG_fail;
26701 }
26702 resultobj = PyInt_FromLong((long)result);
26703 return resultobj;
26704 fail:
26705 return NULL;
26706 }
26707
26708
26709 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
26710 PyObject *resultobj;
26711 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26712 bool result;
26713 PyObject * obj0 = 0 ;
26714 char *kwnames[] = {
26715 (char *) "self", NULL
26716 };
26717
26718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
26719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26720 {
26721 PyThreadState* __tstate = wxPyBeginAllowThreads();
26722 result = (bool)(arg1)->Hide();
26723
26724 wxPyEndAllowThreads(__tstate);
26725 if (PyErr_Occurred()) SWIG_fail;
26726 }
26727 resultobj = PyInt_FromLong((long)result);
26728 return resultobj;
26729 fail:
26730 return NULL;
26731 }
26732
26733
26734 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26735 PyObject *resultobj;
26736 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26737 wxPoint *arg2 = 0 ;
26738 wxRect result;
26739 wxPoint temp2 ;
26740 PyObject * obj0 = 0 ;
26741 PyObject * obj1 = 0 ;
26742 char *kwnames[] = {
26743 (char *) "self",(char *) "pos", NULL
26744 };
26745
26746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
26747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26748 {
26749 arg2 = &temp2;
26750 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26751 }
26752 {
26753 PyThreadState* __tstate = wxPyBeginAllowThreads();
26754 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
26755
26756 wxPyEndAllowThreads(__tstate);
26757 if (PyErr_Occurred()) SWIG_fail;
26758 }
26759 {
26760 wxRect * resultptr;
26761 resultptr = new wxRect((wxRect &) result);
26762 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
26763 }
26764 return resultobj;
26765 fail:
26766 return NULL;
26767 }
26768
26769
26770 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26771 PyObject *resultobj;
26772 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26773 wxDC *arg2 = 0 ;
26774 wxPoint *arg3 = 0 ;
26775 bool result;
26776 wxPoint temp3 ;
26777 PyObject * obj0 = 0 ;
26778 PyObject * obj1 = 0 ;
26779 PyObject * obj2 = 0 ;
26780 char *kwnames[] = {
26781 (char *) "self",(char *) "dc",(char *) "pos", NULL
26782 };
26783
26784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26787 if (arg2 == NULL) {
26788 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26789 }
26790 {
26791 arg3 = &temp3;
26792 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26793 }
26794 {
26795 PyThreadState* __tstate = wxPyBeginAllowThreads();
26796 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
26797
26798 wxPyEndAllowThreads(__tstate);
26799 if (PyErr_Occurred()) SWIG_fail;
26800 }
26801 resultobj = PyInt_FromLong((long)result);
26802 return resultobj;
26803 fail:
26804 return NULL;
26805 }
26806
26807
26808 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26809 PyObject *resultobj;
26810 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26811 wxDC *arg2 = 0 ;
26812 wxMemoryDC *arg3 = 0 ;
26813 wxRect *arg4 = 0 ;
26814 wxRect *arg5 = 0 ;
26815 bool result;
26816 wxRect temp4 ;
26817 wxRect temp5 ;
26818 PyObject * obj0 = 0 ;
26819 PyObject * obj1 = 0 ;
26820 PyObject * obj2 = 0 ;
26821 PyObject * obj3 = 0 ;
26822 PyObject * obj4 = 0 ;
26823 char *kwnames[] = {
26824 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26825 };
26826
26827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26829 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26830 if (arg2 == NULL) {
26831 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26832 }
26833 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26834 if (arg3 == NULL) {
26835 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26836 }
26837 {
26838 arg4 = &temp4;
26839 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26840 }
26841 {
26842 arg5 = &temp5;
26843 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26844 }
26845 {
26846 PyThreadState* __tstate = wxPyBeginAllowThreads();
26847 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26848
26849 wxPyEndAllowThreads(__tstate);
26850 if (PyErr_Occurred()) SWIG_fail;
26851 }
26852 resultobj = PyInt_FromLong((long)result);
26853 return resultobj;
26854 fail:
26855 return NULL;
26856 }
26857
26858
26859 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26860 PyObject *resultobj;
26861 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26862 wxPoint *arg2 = 0 ;
26863 wxPoint *arg3 = 0 ;
26864 bool arg4 ;
26865 bool arg5 ;
26866 bool result;
26867 wxPoint temp2 ;
26868 wxPoint temp3 ;
26869 PyObject * obj0 = 0 ;
26870 PyObject * obj1 = 0 ;
26871 PyObject * obj2 = 0 ;
26872 PyObject * obj3 = 0 ;
26873 PyObject * obj4 = 0 ;
26874 char *kwnames[] = {
26875 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26876 };
26877
26878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26880 {
26881 arg2 = &temp2;
26882 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26883 }
26884 {
26885 arg3 = &temp3;
26886 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26887 }
26888 {
26889 arg4 = (bool) SPyObj_AsBool(obj3);
26890 if (PyErr_Occurred()) SWIG_fail;
26891 }
26892 {
26893 arg5 = (bool) SPyObj_AsBool(obj4);
26894 if (PyErr_Occurred()) SWIG_fail;
26895 }
26896 {
26897 PyThreadState* __tstate = wxPyBeginAllowThreads();
26898 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26899
26900 wxPyEndAllowThreads(__tstate);
26901 if (PyErr_Occurred()) SWIG_fail;
26902 }
26903 resultobj = PyInt_FromLong((long)result);
26904 return resultobj;
26905 fail:
26906 return NULL;
26907 }
26908
26909
26910 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26911 PyObject *obj;
26912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26913 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26914 Py_INCREF(obj);
26915 return Py_BuildValue((char *)"");
26916 }
26917 static PyMethodDef SwigMethods[] = {
26918 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26926 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26941 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26952 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26961 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26979 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26992 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26996 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
27002 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
27006 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
27013 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
27032 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
27041 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
27042 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
27070 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
27125 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
27130 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
27141 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
27153 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
27155 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
27157 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
27161 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
27162 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
27164 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
27168 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
27185 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
27189 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
27191 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
27216 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
27220 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
27223 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
27224 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
27234 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
27239 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
27241 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
27243 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
27244 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
27245 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
27246 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
27247 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
27248 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
27249 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
27250 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
27251 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
27252 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
27253 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
27254 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
27255 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
27256 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
27257 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
27258 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
27259 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
27260 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
27261 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
27262 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
27263 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
27264 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
27265 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
27266 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
27267 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
27268 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
27269 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
27270 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
27271 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
27272 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
27273 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
27274 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
27275 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
27276 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
27277 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
27278 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
27279 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
27280 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
27281 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
27282 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
27283 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
27284 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
27285 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
27286 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
27287 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
27288 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
27289 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
27290 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
27291 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
27292 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
27293 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
27294 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
27295 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
27296 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
27297 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
27298 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
27299 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
27300 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
27301 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
27302 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
27303 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
27304 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
27305 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
27306 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
27307 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
27308 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
27309 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
27310 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
27311 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
27312 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
27313 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
27314 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
27315 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
27316 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
27317 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
27318 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
27319 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
27320 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
27321 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
27322 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
27323 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
27324 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
27325 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
27326 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
27327 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
27328 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
27329 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
27330 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
27331 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
27332 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
27333 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
27334 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
27335 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
27336 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
27337 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
27338 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
27339 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
27340 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
27341 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
27342 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
27343 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
27344 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
27345 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
27346 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
27347 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
27348 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
27349 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
27350 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
27351 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
27352 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
27353 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
27354 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
27355 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
27356 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
27357 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
27358 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
27359 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27360 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27361 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
27362 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
27363 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27364 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
27365 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27366 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27367 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
27368 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
27369 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
27370 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
27371 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
27372 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
27373 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
27374 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
27375 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
27376 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
27377 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
27378 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
27379 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
27380 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
27381 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
27382 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
27383 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
27384 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27385 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27386 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
27387 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
27388 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
27389 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
27390 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
27391 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
27392 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
27393 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
27394 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
27395 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
27396 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
27397 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
27398 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27399 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27400 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
27401 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
27402 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
27403 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
27404 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
27405 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
27406 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
27407 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
27408 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
27409 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
27410 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
27411 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
27412 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
27413 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
27414 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
27415 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
27416 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
27417 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
27418 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
27419 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
27420 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
27421 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
27422 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
27423 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
27424 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
27425 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
27426 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
27427 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
27428 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
27429 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
27430 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
27431 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
27432 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
27433 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
27434 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27435 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
27436 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
27437 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27438 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27439 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
27440 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
27441 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
27442 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
27443 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27444 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
27445 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
27446 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27447 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27448 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
27449 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
27450 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
27451 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27452 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27453 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
27454 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27455 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
27456 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
27457 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
27458 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
27459 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
27460 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
27461 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27462 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
27463 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
27464 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
27465 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
27466 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
27467 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27468 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27469 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27470 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27471 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27472 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
27473 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
27474 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
27475 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
27476 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
27477 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
27478 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
27479 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27480 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27481 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
27482 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
27483 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
27484 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
27485 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27486 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27487 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27488 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
27489 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
27490 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
27491 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
27492 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
27493 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27494 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
27495 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
27496 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
27497 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27498 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
27499 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27500 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
27501 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
27502 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
27503 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27504 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27505 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
27506 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
27507 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
27508 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
27509 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
27510 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
27511 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
27512 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27513 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27514 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27515 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27516 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
27517 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
27518 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
27519 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
27520 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
27521 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
27522 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
27523 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
27524 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
27525 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
27526 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
27527 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
27528 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
27529 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
27530 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
27531 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27532 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27533 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
27534 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
27535 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
27536 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
27537 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
27538 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
27539 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
27540 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
27541 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
27542 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
27543 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
27544 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
27545 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
27546 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
27547 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27548 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
27549 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
27550 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
27551 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27552 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
27553 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27554 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27555 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27556 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27557 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
27558 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27559 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27560 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
27561 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
27562 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
27563 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27564 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27565 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27566 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
27567 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
27568 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
27569 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
27570 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
27571 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27572 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
27573 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27574 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
27575 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27576 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
27577 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27578 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
27579 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27580 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
27581 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27582 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27583 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
27584 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27585 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27586 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27587 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
27588 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27589 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
27590 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
27591 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27592 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27593 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
27594 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
27595 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27596 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
27597 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
27598 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
27599 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
27600 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
27601 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27602 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
27603 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
27604 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
27605 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
27606 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
27607 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
27608 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
27609 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
27610 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
27611 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
27612 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
27613 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
27614 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27615 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
27616 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
27617 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
27618 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
27619 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27620 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
27621 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
27622 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
27623 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
27624 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
27625 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
27626 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
27627 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27628 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
27629 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27630 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27631 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
27632 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
27633 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27634 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
27635 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
27636 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27637 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27638 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27639 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
27640 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27641 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27642 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
27643 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
27644 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
27645 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
27646 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
27647 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
27648 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
27649 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27650 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27651 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
27652 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27653 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27654 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
27655 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
27656 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
27657 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
27658 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27659 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27660 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27661 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
27662 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
27663 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
27664 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27665 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
27666 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
27667 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
27668 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27669 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
27670 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
27671 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
27672 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27673 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
27674 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
27675 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
27676 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
27677 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
27678 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
27679 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
27680 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
27681 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
27682 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
27683 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
27684 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
27685 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27686 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27687 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
27688 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
27689 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
27690 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
27691 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
27692 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27693 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27694 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
27695 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
27696 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
27697 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
27698 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
27699 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
27700 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
27701 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
27702 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
27703 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
27704 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
27705 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
27706 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
27707 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
27708 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
27709 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
27710 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
27711 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
27712 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
27713 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
27714 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
27715 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
27716 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
27717 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
27718 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
27719 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
27720 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
27721 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
27722 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
27723 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
27724 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
27725 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
27726 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
27727 { NULL, NULL }
27728 };
27729
27730
27731 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27732
27733 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
27734 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27735 }
27736 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
27737 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
27738 }
27739 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
27740 return (void *)((wxSizer *) ((wxBoxSizer *) x));
27741 }
27742 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
27743 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
27744 }
27745 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
27746 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27747 }
27748 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
27749 return (void *)((wxSizer *) ((wxGridSizer *) x));
27750 }
27751 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
27752 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
27753 }
27754 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
27755 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
27756 }
27757 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
27758 return (void *)((wxSizer *) ((wxPySizer *) x));
27759 }
27760 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
27761 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
27762 }
27763 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27764 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27765 }
27766 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27767 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27768 }
27769 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27770 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27771 }
27772 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27773 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27774 }
27775 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27776 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27777 }
27778 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
27779 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27780 }
27781 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27782 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27783 }
27784 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27785 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27786 }
27787 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27788 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27789 }
27790 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
27791 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
27792 }
27793 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
27794 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27795 }
27796 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27797 return (void *)((wxEvent *) ((wxPyEvent *) x));
27798 }
27799 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27800 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27801 }
27802 static void *_p_wxListEventTo_p_wxEvent(void *x) {
27803 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27804 }
27805 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
27806 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27807 }
27808 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
27809 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27810 }
27811 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
27812 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
27813 }
27814 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27815 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27816 }
27817 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27818 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27819 }
27820 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27821 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27822 }
27823 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27824 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27825 }
27826 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27827 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27828 }
27829 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27830 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27831 }
27832 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27833 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27834 }
27835 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27836 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27837 }
27838 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27839 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27840 }
27841 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27842 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27843 }
27844 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27845 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27846 }
27847 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27848 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27849 }
27850 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27851 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27852 }
27853 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27854 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27855 }
27856 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27857 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27858 }
27859 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27860 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27861 }
27862 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27863 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27864 }
27865 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27866 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27867 }
27868 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27869 return (void *)((wxEvent *) ((wxShowEvent *) x));
27870 }
27871 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27872 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27873 }
27874 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27875 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27876 }
27877 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27878 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27879 }
27880 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27881 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27882 }
27883 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27884 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27885 }
27886 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27887 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27888 }
27889 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
27890 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
27891 }
27892 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27893 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27894 }
27895 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27896 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27897 }
27898 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27899 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27900 }
27901 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27902 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27903 }
27904 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27905 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27906 }
27907 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27908 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27909 }
27910 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27911 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27912 }
27913 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27914 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27915 }
27916 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27917 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27918 }
27919 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27920 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27921 }
27922 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27923 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27924 }
27925 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27926 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27927 }
27928 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27929 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27930 }
27931 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27932 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27933 }
27934 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27935 return (void *)((wxControl *) ((wxStaticBox *) x));
27936 }
27937 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27938 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27939 }
27940 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27941 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27942 }
27943 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27944 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27945 }
27946 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27947 return (void *)((wxControl *) ((wxScrollBar *) x));
27948 }
27949 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27950 return (void *)((wxControl *) ((wxBookCtrl *) x));
27951 }
27952 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27953 return (void *)((wxControl *) ((wxRadioButton *) x));
27954 }
27955 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27956 return (void *)((wxControl *) ((wxToggleButton *) x));
27957 }
27958 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27959 return (void *)((wxControl *) ((wxGauge *) x));
27960 }
27961 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27962 return (void *)((wxControl *) ((wxToolBarBase *) x));
27963 }
27964 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27965 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27966 }
27967 static void *_p_wxButtonTo_p_wxControl(void *x) {
27968 return (void *)((wxControl *) ((wxButton *) x));
27969 }
27970 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27971 return (void *)((wxControl *) ((wxSpinButton *) x));
27972 }
27973 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27974 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27975 }
27976 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27977 return (void *)((wxControl *) ((wxControlWithItems *) x));
27978 }
27979 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27980 return (void *)((wxControl *) ((wxRadioBox *) x));
27981 }
27982 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27983 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27984 }
27985 static void *_p_wxListbookTo_p_wxControl(void *x) {
27986 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27987 }
27988 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27989 return (void *)((wxControl *) ((wxCheckBox *) x));
27990 }
27991 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27992 return (void *)((wxControl *) ((wxTextCtrl *) x));
27993 }
27994 static void *_p_wxListViewTo_p_wxControl(void *x) {
27995 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27996 }
27997 static void *_p_wxSliderTo_p_wxControl(void *x) {
27998 return (void *)((wxControl *) ((wxSlider *) x));
27999 }
28000 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
28001 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
28002 }
28003 static void *_p_wxPyControlTo_p_wxControl(void *x) {
28004 return (void *)((wxControl *) ((wxPyControl *) x));
28005 }
28006 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
28007 return (void *)((wxControl *) ((wxStaticLine *) x));
28008 }
28009 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
28010 return (void *)((wxControl *) ((wxStaticText *) x));
28011 }
28012 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
28013 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
28014 }
28015 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
28016 return (void *)((wxChoice *) ((wxComboBox *) x));
28017 }
28018 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
28019 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
28020 }
28021 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
28022 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
28023 }
28024 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
28025 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28026 }
28027 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
28028 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
28029 }
28030 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
28031 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
28032 }
28033 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
28034 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28035 }
28036 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
28037 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
28038 }
28039 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
28040 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
28041 }
28042 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
28043 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
28044 }
28045 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
28046 return (void *)((wxEvtHandler *) ((wxValidator *) x));
28047 }
28048 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
28049 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
28050 }
28051 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
28052 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28053 }
28054 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
28055 return (void *)((wxEvtHandler *) ((wxMenu *) x));
28056 }
28057 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
28058 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
28059 }
28060 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
28061 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
28062 }
28063 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
28064 return (void *)((wxEvtHandler *) ((wxWindow *) x));
28065 }
28066 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
28067 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
28068 }
28069 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
28070 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
28071 }
28072 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
28073 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
28074 }
28075 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
28076 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
28077 }
28078 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
28079 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28080 }
28081 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
28082 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
28083 }
28084 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
28085 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
28086 }
28087 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
28088 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
28089 }
28090 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
28091 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
28092 }
28093 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
28094 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28095 }
28096 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
28097 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
28098 }
28099 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
28100 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
28101 }
28102 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
28103 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28104 }
28105 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
28106 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
28107 }
28108 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
28109 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
28110 }
28111 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
28112 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
28113 }
28114 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
28115 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28116 }
28117 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
28118 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28119 }
28120 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
28121 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28122 }
28123 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
28124 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28125 }
28126 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
28127 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
28128 }
28129 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
28130 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28131 }
28132 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
28133 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
28134 }
28135 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
28136 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
28137 }
28138 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
28139 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
28140 }
28141 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
28142 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
28143 }
28144 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
28145 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
28146 }
28147 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
28148 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
28149 }
28150 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
28151 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
28152 }
28153 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
28154 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28155 }
28156 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
28157 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
28158 }
28159 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
28160 return (void *)((wxListBox *) ((wxCheckListBox *) x));
28161 }
28162 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
28163 return (void *)((wxBookCtrl *) ((wxListbook *) x));
28164 }
28165 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
28166 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
28167 }
28168 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
28169 return (void *)((wxButton *) ((wxBitmapButton *) x));
28170 }
28171 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
28172 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
28173 }
28174 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
28175 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
28176 }
28177 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
28178 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
28179 }
28180 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
28181 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
28182 }
28183 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
28184 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
28185 }
28186 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
28187 return (void *)((wxObject *) ((wxSizerItem *) x));
28188 }
28189 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
28190 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
28191 }
28192 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
28193 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
28194 }
28195 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
28196 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
28197 }
28198 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
28199 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28200 }
28201 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
28202 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
28203 }
28204 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
28205 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
28206 }
28207 static void *_p_wxSizerTo_p_wxObject(void *x) {
28208 return (void *)((wxObject *) ((wxSizer *) x));
28209 }
28210 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
28211 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
28212 }
28213 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
28214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
28215 }
28216 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
28217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
28218 }
28219 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
28220 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
28221 }
28222 static void *_p_wxEventTo_p_wxObject(void *x) {
28223 return (void *)((wxObject *) ((wxEvent *) x));
28224 }
28225 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
28226 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
28227 }
28228 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
28229 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
28230 }
28231 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
28232 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
28233 }
28234 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
28235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
28236 }
28237 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
28238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
28239 }
28240 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
28241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28242 }
28243 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
28244 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
28245 }
28246 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
28247 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
28248 }
28249 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
28250 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
28251 }
28252 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
28253 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
28254 }
28255 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
28256 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
28257 }
28258 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
28259 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
28260 }
28261 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
28262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
28263 }
28264 static void *_p_wxControlTo_p_wxObject(void *x) {
28265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
28266 }
28267 static void *_p_wxPyControlTo_p_wxObject(void *x) {
28268 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
28269 }
28270 static void *_p_wxGaugeTo_p_wxObject(void *x) {
28271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
28272 }
28273 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
28274 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
28275 }
28276 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
28277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
28278 }
28279 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
28280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
28281 }
28282 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
28283 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
28284 }
28285 static void *_p_wxChoiceTo_p_wxObject(void *x) {
28286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28287 }
28288 static void *_p_wxFSFileTo_p_wxObject(void *x) {
28289 return (void *)((wxObject *) ((wxFSFile *) x));
28290 }
28291 static void *_p_wxPySizerTo_p_wxObject(void *x) {
28292 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
28293 }
28294 static void *_p_wxListViewTo_p_wxObject(void *x) {
28295 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28296 }
28297 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
28298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
28299 }
28300 static void *_p_wxNotebookTo_p_wxObject(void *x) {
28301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28302 }
28303 static void *_p_wxPyEventTo_p_wxObject(void *x) {
28304 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
28305 }
28306 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
28307 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
28308 }
28309 static void *_p_wxListbookTo_p_wxObject(void *x) {
28310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28311 }
28312 static void *_p_wxShowEventTo_p_wxObject(void *x) {
28313 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
28314 }
28315 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
28316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
28317 }
28318 static void *_p_wxSliderTo_p_wxObject(void *x) {
28319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
28320 }
28321 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
28322 return (void *)((wxObject *) ((wxMenuItem *) x));
28323 }
28324 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
28325 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
28326 }
28327 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
28328 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
28329 }
28330 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
28331 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
28332 }
28333 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
28334 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
28335 }
28336 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
28337 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
28338 }
28339 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
28340 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
28341 }
28342 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
28343 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
28344 }
28345 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
28346 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
28347 }
28348 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
28349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
28350 }
28351 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
28352 return (void *)((wxObject *) ((wxContextHelp *) x));
28353 }
28354 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
28355 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
28356 }
28357 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
28358 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
28359 }
28360 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
28361 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
28362 }
28363 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
28364 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
28365 }
28366 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
28367 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
28368 }
28369 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
28370 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
28371 }
28372 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
28373 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
28374 }
28375 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
28376 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
28377 }
28378 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
28379 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
28380 }
28381 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
28382 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
28383 }
28384 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
28385 return (void *)((wxObject *) ((wxImageHandler *) x));
28386 }
28387 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
28388 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
28389 }
28390 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
28391 return (void *)((wxObject *) ((wxEvtHandler *) x));
28392 }
28393 static void *_p_wxListEventTo_p_wxObject(void *x) {
28394 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
28395 }
28396 static void *_p_wxListBoxTo_p_wxObject(void *x) {
28397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28398 }
28399 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
28400 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28401 }
28402 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
28403 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
28404 }
28405 static void *_p_wxButtonTo_p_wxObject(void *x) {
28406 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
28407 }
28408 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
28409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
28410 }
28411 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
28412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
28413 }
28414 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
28415 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28416 }
28417 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
28418 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
28419 }
28420 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
28421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
28422 }
28423 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
28424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
28425 }
28426 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
28427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
28428 }
28429 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
28430 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
28431 }
28432 static void *_p_wxListItemTo_p_wxObject(void *x) {
28433 return (void *)((wxObject *) ((wxListItem *) x));
28434 }
28435 static void *_p_wxImageTo_p_wxObject(void *x) {
28436 return (void *)((wxObject *) ((wxImage *) x));
28437 }
28438 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
28439 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
28440 }
28441 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
28442 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
28443 }
28444 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
28445 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
28446 }
28447 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
28448 return (void *)((wxObject *) ((wxGenericDragImage *) x));
28449 }
28450 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
28451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
28452 }
28453 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
28454 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28455 }
28456 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
28457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28458 }
28459 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
28460 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28461 }
28462 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
28463 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
28464 }
28465 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
28466 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
28467 }
28468 static void *_p_wxWindowTo_p_wxObject(void *x) {
28469 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
28470 }
28471 static void *_p_wxMenuTo_p_wxObject(void *x) {
28472 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
28473 }
28474 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
28475 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
28476 }
28477 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28478 return (void *)((wxObject *) ((wxFileSystem *) x));
28479 }
28480 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28481 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28482 }
28483 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28484 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28485 }
28486 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28487 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28488 }
28489 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28490 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28491 }
28492 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28493 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28494 }
28495 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28496 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28497 }
28498 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
28499 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
28500 }
28501 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28502 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28503 }
28504 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28505 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28506 }
28507 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
28508 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
28509 }
28510 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28511 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28512 }
28513 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28514 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28515 }
28516 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28517 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28518 }
28519 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28521 }
28522 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
28523 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
28524 }
28525 static void *_p_wxToolBarTo_p_wxObject(void *x) {
28526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28527 }
28528 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28529 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28530 }
28531 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28532 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28533 }
28534 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
28535 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
28536 }
28537 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
28538 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
28539 }
28540 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28541 return (void *)((wxWindow *) ((wxMenuBar *) x));
28542 }
28543 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
28544 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28545 }
28546 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
28547 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
28548 }
28549 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
28550 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
28551 }
28552 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
28553 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
28554 }
28555 static void *_p_wxControlTo_p_wxWindow(void *x) {
28556 return (void *)((wxWindow *) ((wxControl *) x));
28557 }
28558 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
28559 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
28560 }
28561 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
28562 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28563 }
28564 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
28565 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
28566 }
28567 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
28568 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
28569 }
28570 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
28571 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
28572 }
28573 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
28574 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
28575 }
28576 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28577 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28578 }
28579 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
28580 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
28581 }
28582 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
28583 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
28584 }
28585 static void *_p_wxListbookTo_p_wxWindow(void *x) {
28586 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28587 }
28588 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
28589 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
28590 }
28591 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
28592 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
28593 }
28594 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
28595 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
28596 }
28597 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
28598 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28599 }
28600 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
28601 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28602 }
28603 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
28604 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28605 }
28606 static void *_p_wxListViewTo_p_wxWindow(void *x) {
28607 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28608 }
28609 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
28610 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28611 }
28612 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
28613 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
28614 }
28615 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
28616 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
28617 }
28618 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
28619 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
28620 }
28621 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
28622 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
28623 }
28624 static void *_p_wxSliderTo_p_wxWindow(void *x) {
28625 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
28626 }
28627 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
28628 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
28629 }
28630 static void *_p_wxButtonTo_p_wxWindow(void *x) {
28631 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
28632 }
28633 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
28634 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
28635 }
28636 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
28637 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28638 }
28639 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
28640 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
28641 }
28642 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
28643 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28644 }
28645 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
28646 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28647 }
28648 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
28649 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
28650 }
28651 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
28652 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
28653 }
28654 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
28655 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
28656 }
28657 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
28658 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
28659 }
28660 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
28661 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
28662 }
28663 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
28664 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28665 }
28666 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
28667 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28668 }
28669 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
28670 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
28671 }
28672 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
28673 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
28674 }
28675 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
28676 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
28677 }
28678 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
28679 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
28680 }
28681 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
28682 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
28683 }
28684 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
28685 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
28686 }
28687 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
28688 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
28689 }
28690 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
28691 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
28692 }
28693 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
28694 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
28695 }
28696 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
28697 return (void *)((wxControlWithItems *) ((wxChoice *) x));
28698 }
28699 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
28700 return (void *)((wxControlWithItems *) ((wxListBox *) x));
28701 }
28702 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
28703 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
28704 }
28705 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
28706 return (void *)((wxValidator *) ((wxPyValidator *) x));
28707 }
28708 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28709 static 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}};
28710 static 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}};
28711 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28712 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28713 static 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}};
28714 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28715 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28716 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28717 static 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}};
28718 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28719 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
28720 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28721 static 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}};
28722 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28723 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28724 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
28725 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28726 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28727 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28728 static 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}};
28729 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28730 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28731 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
28732 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28733 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28734 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28735 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28736 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28737 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28738 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28739 static 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}};
28740 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28741 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28742 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28743 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28744 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28745 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28746 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28747 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28748 static 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}};
28749 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28750 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
28751 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28752 static 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}};
28753 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28754 static 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}};
28755 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
28756 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28757 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28758 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28759 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28760 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28761 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28762 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28763 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28764 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28765 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
28766 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28767 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28768 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28769 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
28770 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28771 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28772 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28773 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28774 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28775 static 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}};
28776 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28777 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28778 static 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}};
28779 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28780 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28781 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28782 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28783 static 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}};
28784 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28785 static 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}};
28786 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28787 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28788 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28789 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28790 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
28791
28792 static swig_type_info *swig_types_initial[] = {
28793 _swigt__p_wxTextUrlEvent,
28794 _swigt__p_wxBookCtrlEvent,
28795 _swigt__p_wxSizer,
28796 _swigt__p_wxCheckBox,
28797 _swigt__p_wxPyTreeCtrl,
28798 _swigt__p_wxEvent,
28799 _swigt__p_wxGenericDirCtrl,
28800 _swigt__p_bool,
28801 _swigt__p_wxPyTreeItemData,
28802 _swigt__p_wxItemContainer,
28803 _swigt__p_wxDirFilterListCtrl,
28804 _swigt__p_wxPyListCtrl,
28805 _swigt__p_wxStaticLine,
28806 _swigt__p_wxControl,
28807 _swigt__p_wxPyControl,
28808 _swigt__p_wxGauge,
28809 _swigt__p_wxToolBarBase,
28810 _swigt__p_wxFont,
28811 _swigt__p_wxToggleButton,
28812 _swigt__p_wxRadioButton,
28813 _swigt__p_wxChoice,
28814 _swigt__p_wxMemoryDC,
28815 _swigt__p_wxListItemAttr,
28816 _swigt__p_void,
28817 _swigt__p_int,
28818 _swigt__p_wxSize,
28819 _swigt__p_wxDC,
28820 _swigt__p_wxListView,
28821 _swigt__p_wxIcon,
28822 _swigt__p_wxTextCtrl,
28823 _swigt__p_wxNotebook,
28824 _swigt__p_wxNotifyEvent,
28825 _swigt__p_wxArrayString,
28826 _swigt__p_wxListbook,
28827 _swigt__p_wxStaticBitmap,
28828 _swigt__p_wxSlider,
28829 _swigt__p_wxStaticBox,
28830 _swigt__p_wxArrayInt,
28831 _swigt__p_wxContextHelp,
28832 _swigt__p_long,
28833 _swigt__p_wxEvtHandler,
28834 _swigt__p_wxListEvent,
28835 _swigt__p_wxListBox,
28836 _swigt__p_wxCheckListBox,
28837 _swigt__p_wxBookCtrl,
28838 _swigt__p_wxSpinButton,
28839 _swigt__p_wxButton,
28840 _swigt__p_wxBitmapButton,
28841 _swigt__p_wxRect,
28842 _swigt__p_wxContextHelpButton,
28843 _swigt__p_wxRadioBox,
28844 _swigt__p_wxScrollBar,
28845 _swigt__p_wxTreeItemId,
28846 _swigt__p_wxComboBox,
28847 _swigt__p_wxHelpEvent,
28848 _swigt__p_wxListItem,
28849 _swigt__p_wxNotebookSizer,
28850 _swigt__p_wxSpinEvent,
28851 _swigt__p_wxGenericDragImage,
28852 _swigt__p_wxSpinCtrl,
28853 _swigt__p_wxImageList,
28854 _swigt__p_wxHelpProvider,
28855 _swigt__p_wxTextAttr,
28856 _swigt__p_wxSimpleHelpProvider,
28857 _swigt__p_wxPoint,
28858 _swigt__p_wxListbookEvent,
28859 _swigt__p_wxNotebookEvent,
28860 _swigt__p_wxObject,
28861 _swigt__p_wxCursor,
28862 _swigt__p_wxKeyEvent,
28863 _swigt__p_wxWindow,
28864 _swigt__p_wxString,
28865 _swigt__p_wxBitmap,
28866 _swigt__p_wxTreeEvent,
28867 _swigt__p_wxMouseEvent,
28868 _swigt__p_wxCommandEvent,
28869 _swigt__p_wxStaticText,
28870 _swigt__p_wxControlWithItems,
28871 _swigt__p_wxToolBarToolBase,
28872 _swigt__p_wxColour,
28873 _swigt__p_wxToolBar,
28874 _swigt__p_wxBookCtrlSizer,
28875 _swigt__p_wxValidator,
28876 0
28877 };
28878
28879
28880 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28881
28882 static swig_const_info swig_const_table[] = {
28883 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28884 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28885 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28886 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28887 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28888 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28889 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28890 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28891 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28892 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28893 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28894 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28895 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28896 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28897 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28898 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28899 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28900 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28901 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28902 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28903 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28904 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28905 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28906 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28907 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28908 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28909 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28910 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28911 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28912 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28913 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28914 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28915 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28916 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28917 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28918 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28919 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28920 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28921 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28922 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28923 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28924 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28925 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28926 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28927 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28928 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28929 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28930 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28931 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28932 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28933 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28934 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28935 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28936 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28937 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28938 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28939 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28940 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28941 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28942 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28943 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28944 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28945 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28946 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28947 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28948 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28949 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28950 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28951 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28952 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28953 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28954 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28955 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28956 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28957 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28958 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28959 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28960 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28961 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28962 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28963 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28964 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28965 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28966 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28967 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28968 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28969 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28970 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28971 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28972 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28973 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28974 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28975 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28976 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28977 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28978 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28979 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28980 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28981 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28982 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28983 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28984 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28985 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28986 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28987 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28988 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28989 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28990 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28991 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28992 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28993 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28994 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28995 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28996 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28997 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28998 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28999 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
29000 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
29001 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
29002 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
29003 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
29004 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
29005 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
29006 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
29007 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
29008 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
29009 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
29010 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
29011 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
29012 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
29013 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
29014 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
29015 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
29016 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
29017 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
29018 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
29019 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
29020 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
29021 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
29022 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
29023 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
29024 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
29025 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
29026 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
29027 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
29028 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
29029 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
29030 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
29031 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
29032 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
29033 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
29034 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
29035 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
29036 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
29037 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
29038 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
29039 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
29040 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
29041 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
29042 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
29043 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
29044 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
29045 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
29046 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
29047 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
29048 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
29049 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
29050 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
29051 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
29052 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
29053 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
29054 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
29055 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
29056 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
29057 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
29058 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
29059 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
29060 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
29061 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
29062 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
29063 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
29064 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
29065 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
29066 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
29067 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
29068 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
29069 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
29070 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
29071 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
29072 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
29073 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
29074 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
29075 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
29076 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
29077 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
29078 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
29079 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
29080 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
29081 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
29082 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
29083 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
29084 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
29085 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
29086 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
29087 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
29088 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
29089 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
29090 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
29091 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
29092 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
29093 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
29094 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
29095 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
29096 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
29097 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
29098 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
29099 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
29100 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
29101 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
29102 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
29103 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
29104 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
29105 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
29106 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
29107 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
29108 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
29109 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
29110 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
29111 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
29112 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
29113 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
29114 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
29115 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
29116 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
29117 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
29118 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
29119 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
29120 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
29121 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
29122 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
29123 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
29124 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
29125 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
29126 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
29127 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
29128 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
29129 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
29130 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
29131 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
29132 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
29133 {0}};
29134
29135 #ifdef __cplusplus
29136 }
29137 #endif
29138
29139 #ifdef __cplusplus
29140 extern "C"
29141 #endif
29142 SWIGEXPORT(void) SWIG_init(void) {
29143 static PyObject *SWIG_globals = 0;
29144 static int typeinit = 0;
29145 PyObject *m, *d;
29146 int i;
29147 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
29148 m = Py_InitModule((char *) SWIG_name, SwigMethods);
29149 d = PyModule_GetDict(m);
29150
29151 if (!typeinit) {
29152 for (i = 0; swig_types_initial[i]; i++) {
29153 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
29154 }
29155 typeinit = 1;
29156 }
29157 SWIG_InstallConstants(d,swig_const_table);
29158
29159 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
29160 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
29161 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
29162 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
29163 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
29164 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
29165 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
29166 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
29167 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
29168 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
29169 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
29170 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
29171 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
29172 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
29173 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
29174 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
29175 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
29176 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
29177 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
29178 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
29179 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
29180 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
29181 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
29182 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
29183 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
29184 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
29185 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
29186 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
29187 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
29188 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
29189 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
29190 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
29191 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
29192 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
29193 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
29194 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
29195 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
29196 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
29197 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
29198 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
29199 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
29200 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
29201 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
29202 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
29203 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
29204 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
29205 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
29206 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
29207 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
29208 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
29209 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
29210 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
29211
29212 // Map renamed classes back to their common name for OOR
29213 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
29214
29215 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
29216 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
29217 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
29218 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
29219 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
29220 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
29221 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
29222 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
29223 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
29224 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
29225 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
29226 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
29227 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
29228 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
29229 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
29230 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
29231 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
29232 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
29233 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
29234 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
29235 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
29236
29237 // Map renamed classes back to their common name for OOR
29238 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
29239 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
29240
29241 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
29242 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
29243 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
29244
29245 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
29246
29247 }
29248