]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
Updated SWIG runtime code
[wxWidgets.git] / wxPython / src / mac / 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
720
721 return (wxWindow*)self->m_mainWin;
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_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1195 PyObject *resultobj;
1196 wxSize result;
1197 char *kwnames[] = {
1198 NULL
1199 };
1200
1201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1202 {
1203 PyThreadState* __tstate = wxPyBeginAllowThreads();
1204 result = wxButton::GetDefaultSize();
1205
1206 wxPyEndAllowThreads(__tstate);
1207 if (PyErr_Occurred()) SWIG_fail;
1208 }
1209 {
1210 wxSize * resultptr;
1211 resultptr = new wxSize((wxSize &) result);
1212 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1213 }
1214 return resultobj;
1215 fail:
1216 return NULL;
1217 }
1218
1219
1220 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1221 PyObject *obj;
1222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1223 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1224 Py_INCREF(obj);
1225 return Py_BuildValue((char *)"");
1226 }
1227 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1228 PyObject *resultobj;
1229 wxWindow *arg1 = (wxWindow *) 0 ;
1230 int arg2 ;
1231 wxBitmap *arg3 = 0 ;
1232 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1233 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1234 wxSize const &arg5_defvalue = wxDefaultSize ;
1235 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1236 long arg6 = (long) wxBU_AUTODRAW ;
1237 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1238 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1239 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1240 wxString *arg8 = (wxString *) &arg8_defvalue ;
1241 wxBitmapButton *result;
1242 wxPoint temp4 ;
1243 wxSize temp5 ;
1244 bool temp8 = False ;
1245 PyObject * obj0 = 0 ;
1246 PyObject * obj2 = 0 ;
1247 PyObject * obj3 = 0 ;
1248 PyObject * obj4 = 0 ;
1249 PyObject * obj6 = 0 ;
1250 PyObject * obj7 = 0 ;
1251 char *kwnames[] = {
1252 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1253 };
1254
1255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1257 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1258 if (arg3 == NULL) {
1259 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1260 }
1261 if (obj3) {
1262 {
1263 arg4 = &temp4;
1264 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1265 }
1266 }
1267 if (obj4) {
1268 {
1269 arg5 = &temp5;
1270 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1271 }
1272 }
1273 if (obj6) {
1274 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1275 if (arg7 == NULL) {
1276 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1277 }
1278 }
1279 if (obj7) {
1280 {
1281 arg8 = wxString_in_helper(obj7);
1282 if (arg8 == NULL) SWIG_fail;
1283 temp8 = True;
1284 }
1285 }
1286 {
1287 PyThreadState* __tstate = wxPyBeginAllowThreads();
1288 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1289
1290 wxPyEndAllowThreads(__tstate);
1291 if (PyErr_Occurred()) SWIG_fail;
1292 }
1293 {
1294 resultobj = wxPyMake_wxObject(result);
1295 }
1296 {
1297 if (temp8)
1298 delete arg8;
1299 }
1300 return resultobj;
1301 fail:
1302 {
1303 if (temp8)
1304 delete arg8;
1305 }
1306 return NULL;
1307 }
1308
1309
1310 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1311 PyObject *resultobj;
1312 wxBitmapButton *result;
1313 char *kwnames[] = {
1314 NULL
1315 };
1316
1317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1318 {
1319 PyThreadState* __tstate = wxPyBeginAllowThreads();
1320 result = (wxBitmapButton *)new wxBitmapButton();
1321
1322 wxPyEndAllowThreads(__tstate);
1323 if (PyErr_Occurred()) SWIG_fail;
1324 }
1325 {
1326 resultobj = wxPyMake_wxObject(result);
1327 }
1328 return resultobj;
1329 fail:
1330 return NULL;
1331 }
1332
1333
1334 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1335 PyObject *resultobj;
1336 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1337 wxWindow *arg2 = (wxWindow *) 0 ;
1338 int arg3 ;
1339 wxBitmap *arg4 = 0 ;
1340 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1341 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1342 wxSize const &arg6_defvalue = wxDefaultSize ;
1343 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1344 long arg7 = (long) wxBU_AUTODRAW ;
1345 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1346 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1347 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1348 wxString *arg9 = (wxString *) &arg9_defvalue ;
1349 bool result;
1350 wxPoint temp5 ;
1351 wxSize temp6 ;
1352 bool temp9 = False ;
1353 PyObject * obj0 = 0 ;
1354 PyObject * obj1 = 0 ;
1355 PyObject * obj3 = 0 ;
1356 PyObject * obj4 = 0 ;
1357 PyObject * obj5 = 0 ;
1358 PyObject * obj7 = 0 ;
1359 PyObject * obj8 = 0 ;
1360 char *kwnames[] = {
1361 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1362 };
1363
1364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1367 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1368 if (arg4 == NULL) {
1369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1370 }
1371 if (obj4) {
1372 {
1373 arg5 = &temp5;
1374 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1375 }
1376 }
1377 if (obj5) {
1378 {
1379 arg6 = &temp6;
1380 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1381 }
1382 }
1383 if (obj7) {
1384 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1385 if (arg8 == NULL) {
1386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1387 }
1388 }
1389 if (obj8) {
1390 {
1391 arg9 = wxString_in_helper(obj8);
1392 if (arg9 == NULL) SWIG_fail;
1393 temp9 = True;
1394 }
1395 }
1396 {
1397 PyThreadState* __tstate = wxPyBeginAllowThreads();
1398 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1399
1400 wxPyEndAllowThreads(__tstate);
1401 if (PyErr_Occurred()) SWIG_fail;
1402 }
1403 resultobj = PyInt_FromLong((long)result);
1404 {
1405 if (temp9)
1406 delete arg9;
1407 }
1408 return resultobj;
1409 fail:
1410 {
1411 if (temp9)
1412 delete arg9;
1413 }
1414 return NULL;
1415 }
1416
1417
1418 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1419 PyObject *resultobj;
1420 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1421 wxBitmap result;
1422 PyObject * obj0 = 0 ;
1423 char *kwnames[] = {
1424 (char *) "self", NULL
1425 };
1426
1427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1429 {
1430 PyThreadState* __tstate = wxPyBeginAllowThreads();
1431 result = (arg1)->GetBitmapLabel();
1432
1433 wxPyEndAllowThreads(__tstate);
1434 if (PyErr_Occurred()) SWIG_fail;
1435 }
1436 {
1437 wxBitmap * resultptr;
1438 resultptr = new wxBitmap((wxBitmap &) result);
1439 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1440 }
1441 return resultobj;
1442 fail:
1443 return NULL;
1444 }
1445
1446
1447 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1448 PyObject *resultobj;
1449 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1450 wxBitmap result;
1451 PyObject * obj0 = 0 ;
1452 char *kwnames[] = {
1453 (char *) "self", NULL
1454 };
1455
1456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1458 {
1459 PyThreadState* __tstate = wxPyBeginAllowThreads();
1460 result = (arg1)->GetBitmapDisabled();
1461
1462 wxPyEndAllowThreads(__tstate);
1463 if (PyErr_Occurred()) SWIG_fail;
1464 }
1465 {
1466 wxBitmap * resultptr;
1467 resultptr = new wxBitmap((wxBitmap &) result);
1468 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1469 }
1470 return resultobj;
1471 fail:
1472 return NULL;
1473 }
1474
1475
1476 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1477 PyObject *resultobj;
1478 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1479 wxBitmap result;
1480 PyObject * obj0 = 0 ;
1481 char *kwnames[] = {
1482 (char *) "self", NULL
1483 };
1484
1485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1487 {
1488 PyThreadState* __tstate = wxPyBeginAllowThreads();
1489 result = (arg1)->GetBitmapFocus();
1490
1491 wxPyEndAllowThreads(__tstate);
1492 if (PyErr_Occurred()) SWIG_fail;
1493 }
1494 {
1495 wxBitmap * resultptr;
1496 resultptr = new wxBitmap((wxBitmap &) result);
1497 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1498 }
1499 return resultobj;
1500 fail:
1501 return NULL;
1502 }
1503
1504
1505 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1506 PyObject *resultobj;
1507 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1508 wxBitmap result;
1509 PyObject * obj0 = 0 ;
1510 char *kwnames[] = {
1511 (char *) "self", NULL
1512 };
1513
1514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1516 {
1517 PyThreadState* __tstate = wxPyBeginAllowThreads();
1518 result = (arg1)->GetBitmapSelected();
1519
1520 wxPyEndAllowThreads(__tstate);
1521 if (PyErr_Occurred()) SWIG_fail;
1522 }
1523 {
1524 wxBitmap * resultptr;
1525 resultptr = new wxBitmap((wxBitmap &) result);
1526 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1527 }
1528 return resultobj;
1529 fail:
1530 return NULL;
1531 }
1532
1533
1534 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1535 PyObject *resultobj;
1536 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1537 wxBitmap *arg2 = 0 ;
1538 PyObject * obj0 = 0 ;
1539 PyObject * obj1 = 0 ;
1540 char *kwnames[] = {
1541 (char *) "self",(char *) "bitmap", NULL
1542 };
1543
1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1546 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1547 if (arg2 == NULL) {
1548 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1549 }
1550 {
1551 PyThreadState* __tstate = wxPyBeginAllowThreads();
1552 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1553
1554 wxPyEndAllowThreads(__tstate);
1555 if (PyErr_Occurred()) SWIG_fail;
1556 }
1557 Py_INCREF(Py_None); resultobj = Py_None;
1558 return resultobj;
1559 fail:
1560 return NULL;
1561 }
1562
1563
1564 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1565 PyObject *resultobj;
1566 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1567 wxBitmap *arg2 = 0 ;
1568 PyObject * obj0 = 0 ;
1569 PyObject * obj1 = 0 ;
1570 char *kwnames[] = {
1571 (char *) "self",(char *) "bitmap", NULL
1572 };
1573
1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1577 if (arg2 == NULL) {
1578 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1579 }
1580 {
1581 PyThreadState* __tstate = wxPyBeginAllowThreads();
1582 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1583
1584 wxPyEndAllowThreads(__tstate);
1585 if (PyErr_Occurred()) SWIG_fail;
1586 }
1587 Py_INCREF(Py_None); resultobj = Py_None;
1588 return resultobj;
1589 fail:
1590 return NULL;
1591 }
1592
1593
1594 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject *resultobj;
1596 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1597 wxBitmap *arg2 = 0 ;
1598 PyObject * obj0 = 0 ;
1599 PyObject * obj1 = 0 ;
1600 char *kwnames[] = {
1601 (char *) "self",(char *) "bitmap", NULL
1602 };
1603
1604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1606 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1607 if (arg2 == NULL) {
1608 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1609 }
1610 {
1611 PyThreadState* __tstate = wxPyBeginAllowThreads();
1612 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1613
1614 wxPyEndAllowThreads(__tstate);
1615 if (PyErr_Occurred()) SWIG_fail;
1616 }
1617 Py_INCREF(Py_None); resultobj = Py_None;
1618 return resultobj;
1619 fail:
1620 return NULL;
1621 }
1622
1623
1624 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1625 PyObject *resultobj;
1626 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1627 wxBitmap *arg2 = 0 ;
1628 PyObject * obj0 = 0 ;
1629 PyObject * obj1 = 0 ;
1630 char *kwnames[] = {
1631 (char *) "self",(char *) "bitmap", NULL
1632 };
1633
1634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1636 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1637 if (arg2 == NULL) {
1638 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1639 }
1640 {
1641 PyThreadState* __tstate = wxPyBeginAllowThreads();
1642 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1643
1644 wxPyEndAllowThreads(__tstate);
1645 if (PyErr_Occurred()) SWIG_fail;
1646 }
1647 Py_INCREF(Py_None); resultobj = Py_None;
1648 return resultobj;
1649 fail:
1650 return NULL;
1651 }
1652
1653
1654 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1655 PyObject *resultobj;
1656 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1657 int arg2 ;
1658 int arg3 ;
1659 PyObject * obj0 = 0 ;
1660 char *kwnames[] = {
1661 (char *) "self",(char *) "x",(char *) "y", NULL
1662 };
1663
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1666 {
1667 PyThreadState* __tstate = wxPyBeginAllowThreads();
1668 (arg1)->SetMargins(arg2,arg3);
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_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1681 PyObject *resultobj;
1682 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1683 int result;
1684 PyObject * obj0 = 0 ;
1685 char *kwnames[] = {
1686 (char *) "self", NULL
1687 };
1688
1689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1691 {
1692 PyThreadState* __tstate = wxPyBeginAllowThreads();
1693 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1694
1695 wxPyEndAllowThreads(__tstate);
1696 if (PyErr_Occurred()) SWIG_fail;
1697 }
1698 resultobj = PyInt_FromLong((long)result);
1699 return resultobj;
1700 fail:
1701 return NULL;
1702 }
1703
1704
1705 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1706 PyObject *resultobj;
1707 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1708 int result;
1709 PyObject * obj0 = 0 ;
1710 char *kwnames[] = {
1711 (char *) "self", NULL
1712 };
1713
1714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1716 {
1717 PyThreadState* __tstate = wxPyBeginAllowThreads();
1718 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1719
1720 wxPyEndAllowThreads(__tstate);
1721 if (PyErr_Occurred()) SWIG_fail;
1722 }
1723 resultobj = PyInt_FromLong((long)result);
1724 return resultobj;
1725 fail:
1726 return NULL;
1727 }
1728
1729
1730 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1731 PyObject *obj;
1732 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1733 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1734 Py_INCREF(obj);
1735 return Py_BuildValue((char *)"");
1736 }
1737 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1738 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1739 return 1;
1740 }
1741
1742
1743 static PyObject *_wrap_CheckBoxNameStr_get() {
1744 PyObject *pyobj;
1745
1746 {
1747 #if wxUSE_UNICODE
1748 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1749 #else
1750 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1751 #endif
1752 }
1753 return pyobj;
1754 }
1755
1756
1757 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1758 PyObject *resultobj;
1759 wxWindow *arg1 = (wxWindow *) 0 ;
1760 int arg2 ;
1761 wxString *arg3 = 0 ;
1762 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1763 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1764 wxSize const &arg5_defvalue = wxDefaultSize ;
1765 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1766 long arg6 = (long) 0 ;
1767 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1768 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1769 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1770 wxString *arg8 = (wxString *) &arg8_defvalue ;
1771 wxCheckBox *result;
1772 bool temp3 = False ;
1773 wxPoint temp4 ;
1774 wxSize temp5 ;
1775 bool temp8 = False ;
1776 PyObject * obj0 = 0 ;
1777 PyObject * obj2 = 0 ;
1778 PyObject * obj3 = 0 ;
1779 PyObject * obj4 = 0 ;
1780 PyObject * obj6 = 0 ;
1781 PyObject * obj7 = 0 ;
1782 char *kwnames[] = {
1783 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1784 };
1785
1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1788 {
1789 arg3 = wxString_in_helper(obj2);
1790 if (arg3 == NULL) SWIG_fail;
1791 temp3 = True;
1792 }
1793 if (obj3) {
1794 {
1795 arg4 = &temp4;
1796 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1797 }
1798 }
1799 if (obj4) {
1800 {
1801 arg5 = &temp5;
1802 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1803 }
1804 }
1805 if (obj6) {
1806 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1807 if (arg7 == NULL) {
1808 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1809 }
1810 }
1811 if (obj7) {
1812 {
1813 arg8 = wxString_in_helper(obj7);
1814 if (arg8 == NULL) SWIG_fail;
1815 temp8 = True;
1816 }
1817 }
1818 {
1819 PyThreadState* __tstate = wxPyBeginAllowThreads();
1820 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1821
1822 wxPyEndAllowThreads(__tstate);
1823 if (PyErr_Occurred()) SWIG_fail;
1824 }
1825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1826 {
1827 if (temp3)
1828 delete arg3;
1829 }
1830 {
1831 if (temp8)
1832 delete arg8;
1833 }
1834 return resultobj;
1835 fail:
1836 {
1837 if (temp3)
1838 delete arg3;
1839 }
1840 {
1841 if (temp8)
1842 delete arg8;
1843 }
1844 return NULL;
1845 }
1846
1847
1848 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1849 PyObject *resultobj;
1850 wxCheckBox *result;
1851 char *kwnames[] = {
1852 NULL
1853 };
1854
1855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1856 {
1857 PyThreadState* __tstate = wxPyBeginAllowThreads();
1858 result = (wxCheckBox *)new wxCheckBox();
1859
1860 wxPyEndAllowThreads(__tstate);
1861 if (PyErr_Occurred()) SWIG_fail;
1862 }
1863 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1864 return resultobj;
1865 fail:
1866 return NULL;
1867 }
1868
1869
1870 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject *resultobj;
1872 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1873 wxWindow *arg2 = (wxWindow *) 0 ;
1874 int arg3 ;
1875 wxString *arg4 = 0 ;
1876 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1877 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1878 wxSize const &arg6_defvalue = wxDefaultSize ;
1879 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1880 long arg7 = (long) 0 ;
1881 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1882 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1883 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1884 wxString *arg9 = (wxString *) &arg9_defvalue ;
1885 bool result;
1886 bool temp4 = False ;
1887 wxPoint temp5 ;
1888 wxSize temp6 ;
1889 bool temp9 = False ;
1890 PyObject * obj0 = 0 ;
1891 PyObject * obj1 = 0 ;
1892 PyObject * obj3 = 0 ;
1893 PyObject * obj4 = 0 ;
1894 PyObject * obj5 = 0 ;
1895 PyObject * obj7 = 0 ;
1896 PyObject * obj8 = 0 ;
1897 char *kwnames[] = {
1898 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1899 };
1900
1901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1903 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1904 {
1905 arg4 = wxString_in_helper(obj3);
1906 if (arg4 == NULL) SWIG_fail;
1907 temp4 = True;
1908 }
1909 if (obj4) {
1910 {
1911 arg5 = &temp5;
1912 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1913 }
1914 }
1915 if (obj5) {
1916 {
1917 arg6 = &temp6;
1918 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1919 }
1920 }
1921 if (obj7) {
1922 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1923 if (arg8 == NULL) {
1924 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1925 }
1926 }
1927 if (obj8) {
1928 {
1929 arg9 = wxString_in_helper(obj8);
1930 if (arg9 == NULL) SWIG_fail;
1931 temp9 = True;
1932 }
1933 }
1934 {
1935 PyThreadState* __tstate = wxPyBeginAllowThreads();
1936 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1937
1938 wxPyEndAllowThreads(__tstate);
1939 if (PyErr_Occurred()) SWIG_fail;
1940 }
1941 resultobj = PyInt_FromLong((long)result);
1942 {
1943 if (temp4)
1944 delete arg4;
1945 }
1946 {
1947 if (temp9)
1948 delete arg9;
1949 }
1950 return resultobj;
1951 fail:
1952 {
1953 if (temp4)
1954 delete arg4;
1955 }
1956 {
1957 if (temp9)
1958 delete arg9;
1959 }
1960 return NULL;
1961 }
1962
1963
1964 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1965 PyObject *resultobj;
1966 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1967 bool result;
1968 PyObject * obj0 = 0 ;
1969 char *kwnames[] = {
1970 (char *) "self", NULL
1971 };
1972
1973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 result = (bool)(arg1)->GetValue();
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 resultobj = PyInt_FromLong((long)result);
1983 return resultobj;
1984 fail:
1985 return NULL;
1986 }
1987
1988
1989 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject *resultobj;
1991 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1992 bool result;
1993 PyObject * obj0 = 0 ;
1994 char *kwnames[] = {
1995 (char *) "self", NULL
1996 };
1997
1998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2000 {
2001 PyThreadState* __tstate = wxPyBeginAllowThreads();
2002 result = (bool)(arg1)->IsChecked();
2003
2004 wxPyEndAllowThreads(__tstate);
2005 if (PyErr_Occurred()) SWIG_fail;
2006 }
2007 resultobj = PyInt_FromLong((long)result);
2008 return resultobj;
2009 fail:
2010 return NULL;
2011 }
2012
2013
2014 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2015 PyObject *resultobj;
2016 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2017 bool arg2 ;
2018 PyObject * obj0 = 0 ;
2019 PyObject * obj1 = 0 ;
2020 char *kwnames[] = {
2021 (char *) "self",(char *) "state", NULL
2022 };
2023
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2026 {
2027 arg2 = (bool const) SPyObj_AsBool(obj1);
2028 if (PyErr_Occurred()) SWIG_fail;
2029 }
2030 {
2031 PyThreadState* __tstate = wxPyBeginAllowThreads();
2032 (arg1)->SetValue(arg2);
2033
2034 wxPyEndAllowThreads(__tstate);
2035 if (PyErr_Occurred()) SWIG_fail;
2036 }
2037 Py_INCREF(Py_None); resultobj = Py_None;
2038 return resultobj;
2039 fail:
2040 return NULL;
2041 }
2042
2043
2044 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2045 PyObject *resultobj;
2046 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2047 int result;
2048 PyObject * obj0 = 0 ;
2049 char *kwnames[] = {
2050 (char *) "self", NULL
2051 };
2052
2053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 resultobj = PyInt_FromLong((long)result);
2063 return resultobj;
2064 fail:
2065 return NULL;
2066 }
2067
2068
2069 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2070 PyObject *resultobj;
2071 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2072 int arg2 ;
2073 PyObject * obj0 = 0 ;
2074 char *kwnames[] = {
2075 (char *) "self",(char *) "state", NULL
2076 };
2077
2078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
2079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2080 {
2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
2082 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2083
2084 wxPyEndAllowThreads(__tstate);
2085 if (PyErr_Occurred()) SWIG_fail;
2086 }
2087 Py_INCREF(Py_None); resultobj = Py_None;
2088 return resultobj;
2089 fail:
2090 return NULL;
2091 }
2092
2093
2094 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2095 PyObject *resultobj;
2096 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2097 bool result;
2098 PyObject * obj0 = 0 ;
2099 char *kwnames[] = {
2100 (char *) "self", NULL
2101 };
2102
2103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2105 {
2106 PyThreadState* __tstate = wxPyBeginAllowThreads();
2107 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2108
2109 wxPyEndAllowThreads(__tstate);
2110 if (PyErr_Occurred()) SWIG_fail;
2111 }
2112 resultobj = PyInt_FromLong((long)result);
2113 return resultobj;
2114 fail:
2115 return NULL;
2116 }
2117
2118
2119 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2120 PyObject *resultobj;
2121 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2122 bool result;
2123 PyObject * obj0 = 0 ;
2124 char *kwnames[] = {
2125 (char *) "self", NULL
2126 };
2127
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2130 {
2131 PyThreadState* __tstate = wxPyBeginAllowThreads();
2132 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2133
2134 wxPyEndAllowThreads(__tstate);
2135 if (PyErr_Occurred()) SWIG_fail;
2136 }
2137 resultobj = PyInt_FromLong((long)result);
2138 return resultobj;
2139 fail:
2140 return NULL;
2141 }
2142
2143
2144 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2145 PyObject *obj;
2146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2147 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2148 Py_INCREF(obj);
2149 return Py_BuildValue((char *)"");
2150 }
2151 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2152 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2153 return 1;
2154 }
2155
2156
2157 static PyObject *_wrap_ChoiceNameStr_get() {
2158 PyObject *pyobj;
2159
2160 {
2161 #if wxUSE_UNICODE
2162 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2163 #else
2164 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2165 #endif
2166 }
2167 return pyobj;
2168 }
2169
2170
2171 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2172 PyObject *resultobj;
2173 wxWindow *arg1 = (wxWindow *) 0 ;
2174 int arg2 ;
2175 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2176 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2177 wxSize const &arg4_defvalue = wxDefaultSize ;
2178 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2179 int arg5 = (int) 0 ;
2180 wxString *arg6 = (wxString *) NULL ;
2181 long arg7 = (long) 0 ;
2182 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2183 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2184 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2185 wxString *arg9 = (wxString *) &arg9_defvalue ;
2186 wxChoice *result;
2187 wxPoint temp3 ;
2188 wxSize temp4 ;
2189 bool temp8 = False ;
2190 PyObject * obj0 = 0 ;
2191 PyObject * obj2 = 0 ;
2192 PyObject * obj3 = 0 ;
2193 PyObject * obj4 = 0 ;
2194 PyObject * obj6 = 0 ;
2195 PyObject * obj7 = 0 ;
2196 char *kwnames[] = {
2197 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2198 };
2199
2200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2202 if (obj2) {
2203 {
2204 arg3 = &temp3;
2205 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2206 }
2207 }
2208 if (obj3) {
2209 {
2210 arg4 = &temp4;
2211 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2212 }
2213 }
2214 if (obj4) {
2215 {
2216 arg5 = PyList_Size(obj4);
2217 arg6 = wxString_LIST_helper(obj4);
2218 if (arg6 == NULL) SWIG_fail;
2219 }
2220 }
2221 if (obj6) {
2222 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2223 if (arg8 == NULL) {
2224 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2225 }
2226 }
2227 if (obj7) {
2228 {
2229 arg9 = wxString_in_helper(obj7);
2230 if (arg9 == NULL) SWIG_fail;
2231 temp8 = True;
2232 }
2233 }
2234 {
2235 PyThreadState* __tstate = wxPyBeginAllowThreads();
2236 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2237
2238 wxPyEndAllowThreads(__tstate);
2239 if (PyErr_Occurred()) SWIG_fail;
2240 }
2241 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2242 {
2243 if (arg6) delete [] arg6;
2244 }
2245 {
2246 if (temp8)
2247 delete arg9;
2248 }
2249 return resultobj;
2250 fail:
2251 {
2252 if (arg6) delete [] arg6;
2253 }
2254 {
2255 if (temp8)
2256 delete arg9;
2257 }
2258 return NULL;
2259 }
2260
2261
2262 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2263 PyObject *resultobj;
2264 wxChoice *result;
2265 char *kwnames[] = {
2266 NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 result = (wxChoice *)new wxChoice();
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
2277 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2278 return resultobj;
2279 fail:
2280 return NULL;
2281 }
2282
2283
2284 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject *resultobj;
2286 wxChoice *arg1 = (wxChoice *) 0 ;
2287 wxWindow *arg2 = (wxWindow *) 0 ;
2288 int arg3 ;
2289 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2290 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2291 wxSize const &arg5_defvalue = wxDefaultSize ;
2292 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2293 int arg6 = (int) 0 ;
2294 wxString *arg7 = (wxString *) NULL ;
2295 long arg8 = (long) 0 ;
2296 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2297 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2298 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2299 wxString *arg10 = (wxString *) &arg10_defvalue ;
2300 bool result;
2301 wxPoint temp4 ;
2302 wxSize temp5 ;
2303 bool temp9 = False ;
2304 PyObject * obj0 = 0 ;
2305 PyObject * obj1 = 0 ;
2306 PyObject * obj3 = 0 ;
2307 PyObject * obj4 = 0 ;
2308 PyObject * obj5 = 0 ;
2309 PyObject * obj7 = 0 ;
2310 PyObject * obj8 = 0 ;
2311 char *kwnames[] = {
2312 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2313 };
2314
2315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2317 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2318 if (obj3) {
2319 {
2320 arg4 = &temp4;
2321 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2322 }
2323 }
2324 if (obj4) {
2325 {
2326 arg5 = &temp5;
2327 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2328 }
2329 }
2330 if (obj5) {
2331 {
2332 arg6 = PyList_Size(obj5);
2333 arg7 = wxString_LIST_helper(obj5);
2334 if (arg7 == NULL) SWIG_fail;
2335 }
2336 }
2337 if (obj7) {
2338 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2339 if (arg9 == NULL) {
2340 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2341 }
2342 }
2343 if (obj8) {
2344 {
2345 arg10 = wxString_in_helper(obj8);
2346 if (arg10 == NULL) SWIG_fail;
2347 temp9 = True;
2348 }
2349 }
2350 {
2351 PyThreadState* __tstate = wxPyBeginAllowThreads();
2352 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2353
2354 wxPyEndAllowThreads(__tstate);
2355 if (PyErr_Occurred()) SWIG_fail;
2356 }
2357 resultobj = PyInt_FromLong((long)result);
2358 {
2359 if (arg7) delete [] arg7;
2360 }
2361 {
2362 if (temp9)
2363 delete arg10;
2364 }
2365 return resultobj;
2366 fail:
2367 {
2368 if (arg7) delete [] arg7;
2369 }
2370 {
2371 if (temp9)
2372 delete arg10;
2373 }
2374 return NULL;
2375 }
2376
2377
2378 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2379 PyObject *resultobj;
2380 wxChoice *arg1 = (wxChoice *) 0 ;
2381 int result;
2382 PyObject * obj0 = 0 ;
2383 char *kwnames[] = {
2384 (char *) "self", NULL
2385 };
2386
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2389 {
2390 PyThreadState* __tstate = wxPyBeginAllowThreads();
2391 result = (int)(arg1)->GetColumns();
2392
2393 wxPyEndAllowThreads(__tstate);
2394 if (PyErr_Occurred()) SWIG_fail;
2395 }
2396 resultobj = PyInt_FromLong((long)result);
2397 return resultobj;
2398 fail:
2399 return NULL;
2400 }
2401
2402
2403 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2404 PyObject *resultobj;
2405 wxChoice *arg1 = (wxChoice *) 0 ;
2406 int arg2 = (int) (int)1 ;
2407 PyObject * obj0 = 0 ;
2408 char *kwnames[] = {
2409 (char *) "self",(char *) "n", NULL
2410 };
2411
2412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2414 {
2415 PyThreadState* __tstate = wxPyBeginAllowThreads();
2416 (arg1)->SetColumns(arg2);
2417
2418 wxPyEndAllowThreads(__tstate);
2419 if (PyErr_Occurred()) SWIG_fail;
2420 }
2421 Py_INCREF(Py_None); resultobj = Py_None;
2422 return resultobj;
2423 fail:
2424 return NULL;
2425 }
2426
2427
2428 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2429 PyObject *resultobj;
2430 wxChoice *arg1 = (wxChoice *) 0 ;
2431 int arg2 ;
2432 PyObject * obj0 = 0 ;
2433 char *kwnames[] = {
2434 (char *) "self",(char *) "n", NULL
2435 };
2436
2437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2439 {
2440 PyThreadState* __tstate = wxPyBeginAllowThreads();
2441 (arg1)->SetSelection(arg2);
2442
2443 wxPyEndAllowThreads(__tstate);
2444 if (PyErr_Occurred()) SWIG_fail;
2445 }
2446 Py_INCREF(Py_None); resultobj = Py_None;
2447 return resultobj;
2448 fail:
2449 return NULL;
2450 }
2451
2452
2453 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2454 PyObject *resultobj;
2455 wxChoice *arg1 = (wxChoice *) 0 ;
2456 wxString *arg2 = 0 ;
2457 bool temp2 = False ;
2458 PyObject * obj0 = 0 ;
2459 PyObject * obj1 = 0 ;
2460 char *kwnames[] = {
2461 (char *) "self",(char *) "string", NULL
2462 };
2463
2464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2466 {
2467 arg2 = wxString_in_helper(obj1);
2468 if (arg2 == NULL) SWIG_fail;
2469 temp2 = True;
2470 }
2471 {
2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
2473 (arg1)->SetStringSelection((wxString const &)*arg2);
2474
2475 wxPyEndAllowThreads(__tstate);
2476 if (PyErr_Occurred()) SWIG_fail;
2477 }
2478 Py_INCREF(Py_None); resultobj = Py_None;
2479 {
2480 if (temp2)
2481 delete arg2;
2482 }
2483 return resultobj;
2484 fail:
2485 {
2486 if (temp2)
2487 delete arg2;
2488 }
2489 return NULL;
2490 }
2491
2492
2493 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2494 PyObject *resultobj;
2495 wxChoice *arg1 = (wxChoice *) 0 ;
2496 int arg2 ;
2497 wxString *arg3 = 0 ;
2498 bool temp3 = False ;
2499 PyObject * obj0 = 0 ;
2500 PyObject * obj2 = 0 ;
2501 char *kwnames[] = {
2502 (char *) "self",(char *) "n",(char *) "s", NULL
2503 };
2504
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2507 {
2508 arg3 = wxString_in_helper(obj2);
2509 if (arg3 == NULL) SWIG_fail;
2510 temp3 = True;
2511 }
2512 {
2513 PyThreadState* __tstate = wxPyBeginAllowThreads();
2514 (arg1)->SetString(arg2,(wxString const &)*arg3);
2515
2516 wxPyEndAllowThreads(__tstate);
2517 if (PyErr_Occurred()) SWIG_fail;
2518 }
2519 Py_INCREF(Py_None); resultobj = Py_None;
2520 {
2521 if (temp3)
2522 delete arg3;
2523 }
2524 return resultobj;
2525 fail:
2526 {
2527 if (temp3)
2528 delete arg3;
2529 }
2530 return NULL;
2531 }
2532
2533
2534 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2535 PyObject *obj;
2536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2537 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2538 Py_INCREF(obj);
2539 return Py_BuildValue((char *)"");
2540 }
2541 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2542 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2543 return 1;
2544 }
2545
2546
2547 static PyObject *_wrap_ComboBoxNameStr_get() {
2548 PyObject *pyobj;
2549
2550 {
2551 #if wxUSE_UNICODE
2552 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2553 #else
2554 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2555 #endif
2556 }
2557 return pyobj;
2558 }
2559
2560
2561 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2562 PyObject *resultobj;
2563 wxWindow *arg1 = (wxWindow *) 0 ;
2564 int arg2 ;
2565 wxString const &arg3_defvalue = wxPyEmptyString ;
2566 wxString *arg3 = (wxString *) &arg3_defvalue ;
2567 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2568 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2569 wxSize const &arg5_defvalue = wxDefaultSize ;
2570 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2571 int arg6 = (int) 0 ;
2572 wxString *arg7 = (wxString *) NULL ;
2573 long arg8 = (long) 0 ;
2574 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2575 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2576 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2577 wxString *arg10 = (wxString *) &arg10_defvalue ;
2578 wxComboBox *result;
2579 bool temp3 = False ;
2580 wxPoint temp4 ;
2581 wxSize temp5 ;
2582 bool temp9 = False ;
2583 PyObject * obj0 = 0 ;
2584 PyObject * obj2 = 0 ;
2585 PyObject * obj3 = 0 ;
2586 PyObject * obj4 = 0 ;
2587 PyObject * obj5 = 0 ;
2588 PyObject * obj7 = 0 ;
2589 PyObject * obj8 = 0 ;
2590 char *kwnames[] = {
2591 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2592 };
2593
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2596 if (obj2) {
2597 {
2598 arg3 = wxString_in_helper(obj2);
2599 if (arg3 == NULL) SWIG_fail;
2600 temp3 = True;
2601 }
2602 }
2603 if (obj3) {
2604 {
2605 arg4 = &temp4;
2606 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2607 }
2608 }
2609 if (obj4) {
2610 {
2611 arg5 = &temp5;
2612 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2613 }
2614 }
2615 if (obj5) {
2616 {
2617 arg6 = PyList_Size(obj5);
2618 arg7 = wxString_LIST_helper(obj5);
2619 if (arg7 == NULL) SWIG_fail;
2620 }
2621 }
2622 if (obj7) {
2623 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2624 if (arg9 == NULL) {
2625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2626 }
2627 }
2628 if (obj8) {
2629 {
2630 arg10 = wxString_in_helper(obj8);
2631 if (arg10 == NULL) SWIG_fail;
2632 temp9 = True;
2633 }
2634 }
2635 {
2636 PyThreadState* __tstate = wxPyBeginAllowThreads();
2637 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2638
2639 wxPyEndAllowThreads(__tstate);
2640 if (PyErr_Occurred()) SWIG_fail;
2641 }
2642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2643 {
2644 if (temp3)
2645 delete arg3;
2646 }
2647 {
2648 if (arg7) delete [] arg7;
2649 }
2650 {
2651 if (temp9)
2652 delete arg10;
2653 }
2654 return resultobj;
2655 fail:
2656 {
2657 if (temp3)
2658 delete arg3;
2659 }
2660 {
2661 if (arg7) delete [] arg7;
2662 }
2663 {
2664 if (temp9)
2665 delete arg10;
2666 }
2667 return NULL;
2668 }
2669
2670
2671 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2672 PyObject *resultobj;
2673 wxComboBox *result;
2674 char *kwnames[] = {
2675 NULL
2676 };
2677
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2679 {
2680 PyThreadState* __tstate = wxPyBeginAllowThreads();
2681 result = (wxComboBox *)new wxComboBox();
2682
2683 wxPyEndAllowThreads(__tstate);
2684 if (PyErr_Occurred()) SWIG_fail;
2685 }
2686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2687 return resultobj;
2688 fail:
2689 return NULL;
2690 }
2691
2692
2693 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2694 PyObject *resultobj;
2695 wxComboBox *arg1 = (wxComboBox *) 0 ;
2696 wxWindow *arg2 = (wxWindow *) 0 ;
2697 int arg3 ;
2698 wxString const &arg4_defvalue = wxPyEmptyString ;
2699 wxString *arg4 = (wxString *) &arg4_defvalue ;
2700 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2701 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2702 wxSize const &arg6_defvalue = wxDefaultSize ;
2703 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2704 int arg7 = (int) 0 ;
2705 wxString *arg8 = (wxString *) NULL ;
2706 long arg9 = (long) 0 ;
2707 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2708 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2709 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2710 wxString *arg11 = (wxString *) &arg11_defvalue ;
2711 bool result;
2712 bool temp4 = False ;
2713 wxPoint temp5 ;
2714 wxSize temp6 ;
2715 bool temp10 = False ;
2716 PyObject * obj0 = 0 ;
2717 PyObject * obj1 = 0 ;
2718 PyObject * obj3 = 0 ;
2719 PyObject * obj4 = 0 ;
2720 PyObject * obj5 = 0 ;
2721 PyObject * obj6 = 0 ;
2722 PyObject * obj8 = 0 ;
2723 PyObject * obj9 = 0 ;
2724 char *kwnames[] = {
2725 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2726 };
2727
2728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2730 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2731 if (obj3) {
2732 {
2733 arg4 = wxString_in_helper(obj3);
2734 if (arg4 == NULL) SWIG_fail;
2735 temp4 = True;
2736 }
2737 }
2738 if (obj4) {
2739 {
2740 arg5 = &temp5;
2741 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2742 }
2743 }
2744 if (obj5) {
2745 {
2746 arg6 = &temp6;
2747 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2748 }
2749 }
2750 if (obj6) {
2751 {
2752 arg7 = PyList_Size(obj6);
2753 arg8 = wxString_LIST_helper(obj6);
2754 if (arg8 == NULL) SWIG_fail;
2755 }
2756 }
2757 if (obj8) {
2758 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2759 if (arg10 == NULL) {
2760 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2761 }
2762 }
2763 if (obj9) {
2764 {
2765 arg11 = wxString_in_helper(obj9);
2766 if (arg11 == NULL) SWIG_fail;
2767 temp10 = True;
2768 }
2769 }
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 resultobj = PyInt_FromLong((long)result);
2778 {
2779 if (temp4)
2780 delete arg4;
2781 }
2782 {
2783 if (arg8) delete [] arg8;
2784 }
2785 {
2786 if (temp10)
2787 delete arg11;
2788 }
2789 return resultobj;
2790 fail:
2791 {
2792 if (temp4)
2793 delete arg4;
2794 }
2795 {
2796 if (arg8) delete [] arg8;
2797 }
2798 {
2799 if (temp10)
2800 delete arg11;
2801 }
2802 return NULL;
2803 }
2804
2805
2806 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2807 PyObject *resultobj;
2808 wxComboBox *arg1 = (wxComboBox *) 0 ;
2809 wxString result;
2810 PyObject * obj0 = 0 ;
2811 char *kwnames[] = {
2812 (char *) "self", NULL
2813 };
2814
2815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2817 {
2818 PyThreadState* __tstate = wxPyBeginAllowThreads();
2819 result = ((wxComboBox const *)arg1)->GetValue();
2820
2821 wxPyEndAllowThreads(__tstate);
2822 if (PyErr_Occurred()) SWIG_fail;
2823 }
2824 {
2825 #if wxUSE_UNICODE
2826 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2827 #else
2828 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2829 #endif
2830 }
2831 return resultobj;
2832 fail:
2833 return NULL;
2834 }
2835
2836
2837 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2838 PyObject *resultobj;
2839 wxComboBox *arg1 = (wxComboBox *) 0 ;
2840 wxString *arg2 = 0 ;
2841 bool temp2 = False ;
2842 PyObject * obj0 = 0 ;
2843 PyObject * obj1 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "self",(char *) "value", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2850 {
2851 arg2 = wxString_in_helper(obj1);
2852 if (arg2 == NULL) SWIG_fail;
2853 temp2 = True;
2854 }
2855 {
2856 PyThreadState* __tstate = wxPyBeginAllowThreads();
2857 (arg1)->SetValue((wxString const &)*arg2);
2858
2859 wxPyEndAllowThreads(__tstate);
2860 if (PyErr_Occurred()) SWIG_fail;
2861 }
2862 Py_INCREF(Py_None); resultobj = Py_None;
2863 {
2864 if (temp2)
2865 delete arg2;
2866 }
2867 return resultobj;
2868 fail:
2869 {
2870 if (temp2)
2871 delete arg2;
2872 }
2873 return NULL;
2874 }
2875
2876
2877 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2878 PyObject *resultobj;
2879 wxComboBox *arg1 = (wxComboBox *) 0 ;
2880 PyObject * obj0 = 0 ;
2881 char *kwnames[] = {
2882 (char *) "self", NULL
2883 };
2884
2885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2887 {
2888 PyThreadState* __tstate = wxPyBeginAllowThreads();
2889 (arg1)->Copy();
2890
2891 wxPyEndAllowThreads(__tstate);
2892 if (PyErr_Occurred()) SWIG_fail;
2893 }
2894 Py_INCREF(Py_None); resultobj = Py_None;
2895 return resultobj;
2896 fail:
2897 return NULL;
2898 }
2899
2900
2901 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2902 PyObject *resultobj;
2903 wxComboBox *arg1 = (wxComboBox *) 0 ;
2904 PyObject * obj0 = 0 ;
2905 char *kwnames[] = {
2906 (char *) "self", NULL
2907 };
2908
2909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2911 {
2912 PyThreadState* __tstate = wxPyBeginAllowThreads();
2913 (arg1)->Cut();
2914
2915 wxPyEndAllowThreads(__tstate);
2916 if (PyErr_Occurred()) SWIG_fail;
2917 }
2918 Py_INCREF(Py_None); resultobj = Py_None;
2919 return resultobj;
2920 fail:
2921 return NULL;
2922 }
2923
2924
2925 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2926 PyObject *resultobj;
2927 wxComboBox *arg1 = (wxComboBox *) 0 ;
2928 PyObject * obj0 = 0 ;
2929 char *kwnames[] = {
2930 (char *) "self", NULL
2931 };
2932
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2935 {
2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
2937 (arg1)->Paste();
2938
2939 wxPyEndAllowThreads(__tstate);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
2942 Py_INCREF(Py_None); resultobj = Py_None;
2943 return resultobj;
2944 fail:
2945 return NULL;
2946 }
2947
2948
2949 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj;
2951 wxComboBox *arg1 = (wxComboBox *) 0 ;
2952 long arg2 ;
2953 PyObject * obj0 = 0 ;
2954 char *kwnames[] = {
2955 (char *) "self",(char *) "pos", NULL
2956 };
2957
2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2960 {
2961 PyThreadState* __tstate = wxPyBeginAllowThreads();
2962 (arg1)->SetInsertionPoint(arg2);
2963
2964 wxPyEndAllowThreads(__tstate);
2965 if (PyErr_Occurred()) SWIG_fail;
2966 }
2967 Py_INCREF(Py_None); resultobj = Py_None;
2968 return resultobj;
2969 fail:
2970 return NULL;
2971 }
2972
2973
2974 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2975 PyObject *resultobj;
2976 wxComboBox *arg1 = (wxComboBox *) 0 ;
2977 long result;
2978 PyObject * obj0 = 0 ;
2979 char *kwnames[] = {
2980 (char *) "self", NULL
2981 };
2982
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
2987 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 resultobj = PyInt_FromLong((long)result);
2993 return resultobj;
2994 fail:
2995 return NULL;
2996 }
2997
2998
2999 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3000 PyObject *resultobj;
3001 wxComboBox *arg1 = (wxComboBox *) 0 ;
3002 long result;
3003 PyObject * obj0 = 0 ;
3004 char *kwnames[] = {
3005 (char *) "self", NULL
3006 };
3007
3008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3010 {
3011 PyThreadState* __tstate = wxPyBeginAllowThreads();
3012 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3013
3014 wxPyEndAllowThreads(__tstate);
3015 if (PyErr_Occurred()) SWIG_fail;
3016 }
3017 resultobj = PyInt_FromLong((long)result);
3018 return resultobj;
3019 fail:
3020 return NULL;
3021 }
3022
3023
3024 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3025 PyObject *resultobj;
3026 wxComboBox *arg1 = (wxComboBox *) 0 ;
3027 long arg2 ;
3028 long arg3 ;
3029 wxString *arg4 = 0 ;
3030 bool temp4 = False ;
3031 PyObject * obj0 = 0 ;
3032 PyObject * obj3 = 0 ;
3033 char *kwnames[] = {
3034 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3035 };
3036
3037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3039 {
3040 arg4 = wxString_in_helper(obj3);
3041 if (arg4 == NULL) SWIG_fail;
3042 temp4 = True;
3043 }
3044 {
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3047
3048 wxPyEndAllowThreads(__tstate);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
3051 Py_INCREF(Py_None); resultobj = Py_None;
3052 {
3053 if (temp4)
3054 delete arg4;
3055 }
3056 return resultobj;
3057 fail:
3058 {
3059 if (temp4)
3060 delete arg4;
3061 }
3062 return NULL;
3063 }
3064
3065
3066 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3067 PyObject *resultobj;
3068 wxComboBox *arg1 = (wxComboBox *) 0 ;
3069 int arg2 ;
3070 PyObject * obj0 = 0 ;
3071 char *kwnames[] = {
3072 (char *) "self",(char *) "n", NULL
3073 };
3074
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
3076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 (arg1)->SetSelection(arg2);
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 Py_INCREF(Py_None); resultobj = Py_None;
3085 return resultobj;
3086 fail:
3087 return NULL;
3088 }
3089
3090
3091 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3092 PyObject *resultobj;
3093 wxComboBox *arg1 = (wxComboBox *) 0 ;
3094 long arg2 ;
3095 long arg3 ;
3096 PyObject * obj0 = 0 ;
3097 char *kwnames[] = {
3098 (char *) "self",(char *) "from",(char *) "to", NULL
3099 };
3100
3101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
3102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3103 {
3104 PyThreadState* __tstate = wxPyBeginAllowThreads();
3105 (arg1)->SetSelection(arg2,arg3);
3106
3107 wxPyEndAllowThreads(__tstate);
3108 if (PyErr_Occurred()) SWIG_fail;
3109 }
3110 Py_INCREF(Py_None); resultobj = Py_None;
3111 return resultobj;
3112 fail:
3113 return NULL;
3114 }
3115
3116
3117 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3118 PyObject *resultobj;
3119 wxComboBox *arg1 = (wxComboBox *) 0 ;
3120 bool arg2 ;
3121 PyObject * obj0 = 0 ;
3122 PyObject * obj1 = 0 ;
3123 char *kwnames[] = {
3124 (char *) "self",(char *) "editable", NULL
3125 };
3126
3127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3129 {
3130 arg2 = (bool) SPyObj_AsBool(obj1);
3131 if (PyErr_Occurred()) SWIG_fail;
3132 }
3133 {
3134 PyThreadState* __tstate = wxPyBeginAllowThreads();
3135 (arg1)->SetEditable(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_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3148 PyObject *resultobj;
3149 wxComboBox *arg1 = (wxComboBox *) 0 ;
3150 PyObject * obj0 = 0 ;
3151 char *kwnames[] = {
3152 (char *) "self", NULL
3153 };
3154
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3157 {
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 (arg1)->SetInsertionPointEnd();
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 Py_INCREF(Py_None); resultobj = Py_None;
3165 return resultobj;
3166 fail:
3167 return NULL;
3168 }
3169
3170
3171 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3172 PyObject *resultobj;
3173 wxComboBox *arg1 = (wxComboBox *) 0 ;
3174 long arg2 ;
3175 long arg3 ;
3176 PyObject * obj0 = 0 ;
3177 char *kwnames[] = {
3178 (char *) "self",(char *) "from",(char *) "to", NULL
3179 };
3180
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3183 {
3184 PyThreadState* __tstate = wxPyBeginAllowThreads();
3185 (arg1)->Remove(arg2,arg3);
3186
3187 wxPyEndAllowThreads(__tstate);
3188 if (PyErr_Occurred()) SWIG_fail;
3189 }
3190 Py_INCREF(Py_None); resultobj = Py_None;
3191 return resultobj;
3192 fail:
3193 return NULL;
3194 }
3195
3196
3197 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3198 PyObject *obj;
3199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3200 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3201 Py_INCREF(obj);
3202 return Py_BuildValue((char *)"");
3203 }
3204 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3205 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3206 return 1;
3207 }
3208
3209
3210 static PyObject *_wrap_GaugeNameStr_get() {
3211 PyObject *pyobj;
3212
3213 {
3214 #if wxUSE_UNICODE
3215 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3216 #else
3217 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3218 #endif
3219 }
3220 return pyobj;
3221 }
3222
3223
3224 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3225 PyObject *resultobj;
3226 wxWindow *arg1 = (wxWindow *) 0 ;
3227 int arg2 ;
3228 int arg3 ;
3229 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3230 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3231 wxSize const &arg5_defvalue = wxDefaultSize ;
3232 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3233 long arg6 = (long) wxGA_HORIZONTAL ;
3234 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3235 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3236 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3237 wxString *arg8 = (wxString *) &arg8_defvalue ;
3238 wxGauge *result;
3239 wxPoint temp4 ;
3240 wxSize temp5 ;
3241 bool temp8 = False ;
3242 PyObject * obj0 = 0 ;
3243 PyObject * obj3 = 0 ;
3244 PyObject * obj4 = 0 ;
3245 PyObject * obj6 = 0 ;
3246 PyObject * obj7 = 0 ;
3247 char *kwnames[] = {
3248 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3249 };
3250
3251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3253 if (obj3) {
3254 {
3255 arg4 = &temp4;
3256 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3257 }
3258 }
3259 if (obj4) {
3260 {
3261 arg5 = &temp5;
3262 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3263 }
3264 }
3265 if (obj6) {
3266 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3267 if (arg7 == NULL) {
3268 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3269 }
3270 }
3271 if (obj7) {
3272 {
3273 arg8 = wxString_in_helper(obj7);
3274 if (arg8 == NULL) SWIG_fail;
3275 temp8 = True;
3276 }
3277 }
3278 {
3279 PyThreadState* __tstate = wxPyBeginAllowThreads();
3280 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3281
3282 wxPyEndAllowThreads(__tstate);
3283 if (PyErr_Occurred()) SWIG_fail;
3284 }
3285 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3286 {
3287 if (temp8)
3288 delete arg8;
3289 }
3290 return resultobj;
3291 fail:
3292 {
3293 if (temp8)
3294 delete arg8;
3295 }
3296 return NULL;
3297 }
3298
3299
3300 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3301 PyObject *resultobj;
3302 wxGauge *result;
3303 char *kwnames[] = {
3304 NULL
3305 };
3306
3307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3308 {
3309 PyThreadState* __tstate = wxPyBeginAllowThreads();
3310 result = (wxGauge *)new wxGauge();
3311
3312 wxPyEndAllowThreads(__tstate);
3313 if (PyErr_Occurred()) SWIG_fail;
3314 }
3315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3316 return resultobj;
3317 fail:
3318 return NULL;
3319 }
3320
3321
3322 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3323 PyObject *resultobj;
3324 wxGauge *arg1 = (wxGauge *) 0 ;
3325 wxWindow *arg2 = (wxWindow *) 0 ;
3326 int arg3 ;
3327 int arg4 ;
3328 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3329 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3330 wxSize const &arg6_defvalue = wxDefaultSize ;
3331 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3332 long arg7 = (long) wxGA_HORIZONTAL ;
3333 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3334 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3335 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3336 wxString *arg9 = (wxString *) &arg9_defvalue ;
3337 bool result;
3338 wxPoint temp5 ;
3339 wxSize temp6 ;
3340 bool temp9 = False ;
3341 PyObject * obj0 = 0 ;
3342 PyObject * obj1 = 0 ;
3343 PyObject * obj4 = 0 ;
3344 PyObject * obj5 = 0 ;
3345 PyObject * obj7 = 0 ;
3346 PyObject * obj8 = 0 ;
3347 char *kwnames[] = {
3348 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3349 };
3350
3351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3353 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3354 if (obj4) {
3355 {
3356 arg5 = &temp5;
3357 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3358 }
3359 }
3360 if (obj5) {
3361 {
3362 arg6 = &temp6;
3363 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3364 }
3365 }
3366 if (obj7) {
3367 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3368 if (arg8 == NULL) {
3369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3370 }
3371 }
3372 if (obj8) {
3373 {
3374 arg9 = wxString_in_helper(obj8);
3375 if (arg9 == NULL) SWIG_fail;
3376 temp9 = True;
3377 }
3378 }
3379 {
3380 PyThreadState* __tstate = wxPyBeginAllowThreads();
3381 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3382
3383 wxPyEndAllowThreads(__tstate);
3384 if (PyErr_Occurred()) SWIG_fail;
3385 }
3386 resultobj = PyInt_FromLong((long)result);
3387 {
3388 if (temp9)
3389 delete arg9;
3390 }
3391 return resultobj;
3392 fail:
3393 {
3394 if (temp9)
3395 delete arg9;
3396 }
3397 return NULL;
3398 }
3399
3400
3401 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3402 PyObject *resultobj;
3403 wxGauge *arg1 = (wxGauge *) 0 ;
3404 int arg2 ;
3405 PyObject * obj0 = 0 ;
3406 char *kwnames[] = {
3407 (char *) "self",(char *) "range", NULL
3408 };
3409
3410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3412 {
3413 PyThreadState* __tstate = wxPyBeginAllowThreads();
3414 (arg1)->SetRange(arg2);
3415
3416 wxPyEndAllowThreads(__tstate);
3417 if (PyErr_Occurred()) SWIG_fail;
3418 }
3419 Py_INCREF(Py_None); resultobj = Py_None;
3420 return resultobj;
3421 fail:
3422 return NULL;
3423 }
3424
3425
3426 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3427 PyObject *resultobj;
3428 wxGauge *arg1 = (wxGauge *) 0 ;
3429 int result;
3430 PyObject * obj0 = 0 ;
3431 char *kwnames[] = {
3432 (char *) "self", NULL
3433 };
3434
3435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3437 {
3438 PyThreadState* __tstate = wxPyBeginAllowThreads();
3439 result = (int)((wxGauge const *)arg1)->GetRange();
3440
3441 wxPyEndAllowThreads(__tstate);
3442 if (PyErr_Occurred()) SWIG_fail;
3443 }
3444 resultobj = PyInt_FromLong((long)result);
3445 return resultobj;
3446 fail:
3447 return NULL;
3448 }
3449
3450
3451 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3452 PyObject *resultobj;
3453 wxGauge *arg1 = (wxGauge *) 0 ;
3454 int arg2 ;
3455 PyObject * obj0 = 0 ;
3456 char *kwnames[] = {
3457 (char *) "self",(char *) "pos", NULL
3458 };
3459
3460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3462 {
3463 PyThreadState* __tstate = wxPyBeginAllowThreads();
3464 (arg1)->SetValue(arg2);
3465
3466 wxPyEndAllowThreads(__tstate);
3467 if (PyErr_Occurred()) SWIG_fail;
3468 }
3469 Py_INCREF(Py_None); resultobj = Py_None;
3470 return resultobj;
3471 fail:
3472 return NULL;
3473 }
3474
3475
3476 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3477 PyObject *resultobj;
3478 wxGauge *arg1 = (wxGauge *) 0 ;
3479 int result;
3480 PyObject * obj0 = 0 ;
3481 char *kwnames[] = {
3482 (char *) "self", NULL
3483 };
3484
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3487 {
3488 PyThreadState* __tstate = wxPyBeginAllowThreads();
3489 result = (int)((wxGauge const *)arg1)->GetValue();
3490
3491 wxPyEndAllowThreads(__tstate);
3492 if (PyErr_Occurred()) SWIG_fail;
3493 }
3494 resultobj = PyInt_FromLong((long)result);
3495 return resultobj;
3496 fail:
3497 return NULL;
3498 }
3499
3500
3501 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3502 PyObject *resultobj;
3503 wxGauge *arg1 = (wxGauge *) 0 ;
3504 bool result;
3505 PyObject * obj0 = 0 ;
3506 char *kwnames[] = {
3507 (char *) "self", NULL
3508 };
3509
3510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 result = (bool)((wxGauge const *)arg1)->IsVertical();
3515
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 resultobj = PyInt_FromLong((long)result);
3520 return resultobj;
3521 fail:
3522 return NULL;
3523 }
3524
3525
3526 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3527 PyObject *resultobj;
3528 wxGauge *arg1 = (wxGauge *) 0 ;
3529 int arg2 ;
3530 PyObject * obj0 = 0 ;
3531 char *kwnames[] = {
3532 (char *) "self",(char *) "w", NULL
3533 };
3534
3535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3537 {
3538 PyThreadState* __tstate = wxPyBeginAllowThreads();
3539 (arg1)->SetShadowWidth(arg2);
3540
3541 wxPyEndAllowThreads(__tstate);
3542 if (PyErr_Occurred()) SWIG_fail;
3543 }
3544 Py_INCREF(Py_None); resultobj = Py_None;
3545 return resultobj;
3546 fail:
3547 return NULL;
3548 }
3549
3550
3551 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3552 PyObject *resultobj;
3553 wxGauge *arg1 = (wxGauge *) 0 ;
3554 int result;
3555 PyObject * obj0 = 0 ;
3556 char *kwnames[] = {
3557 (char *) "self", NULL
3558 };
3559
3560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3562 {
3563 PyThreadState* __tstate = wxPyBeginAllowThreads();
3564 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3565
3566 wxPyEndAllowThreads(__tstate);
3567 if (PyErr_Occurred()) SWIG_fail;
3568 }
3569 resultobj = PyInt_FromLong((long)result);
3570 return resultobj;
3571 fail:
3572 return NULL;
3573 }
3574
3575
3576 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3577 PyObject *resultobj;
3578 wxGauge *arg1 = (wxGauge *) 0 ;
3579 int arg2 ;
3580 PyObject * obj0 = 0 ;
3581 char *kwnames[] = {
3582 (char *) "self",(char *) "w", NULL
3583 };
3584
3585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3587 {
3588 PyThreadState* __tstate = wxPyBeginAllowThreads();
3589 (arg1)->SetBezelFace(arg2);
3590
3591 wxPyEndAllowThreads(__tstate);
3592 if (PyErr_Occurred()) SWIG_fail;
3593 }
3594 Py_INCREF(Py_None); resultobj = Py_None;
3595 return resultobj;
3596 fail:
3597 return NULL;
3598 }
3599
3600
3601 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3602 PyObject *resultobj;
3603 wxGauge *arg1 = (wxGauge *) 0 ;
3604 int result;
3605 PyObject * obj0 = 0 ;
3606 char *kwnames[] = {
3607 (char *) "self", NULL
3608 };
3609
3610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3612 {
3613 PyThreadState* __tstate = wxPyBeginAllowThreads();
3614 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3615
3616 wxPyEndAllowThreads(__tstate);
3617 if (PyErr_Occurred()) SWIG_fail;
3618 }
3619 resultobj = PyInt_FromLong((long)result);
3620 return resultobj;
3621 fail:
3622 return NULL;
3623 }
3624
3625
3626 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3627 PyObject *obj;
3628 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3629 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3630 Py_INCREF(obj);
3631 return Py_BuildValue((char *)"");
3632 }
3633 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3634 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3635 return 1;
3636 }
3637
3638
3639 static PyObject *_wrap_StaticBitmapNameStr_get() {
3640 PyObject *pyobj;
3641
3642 {
3643 #if wxUSE_UNICODE
3644 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3645 #else
3646 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3647 #endif
3648 }
3649 return pyobj;
3650 }
3651
3652
3653 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3654 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3655 return 1;
3656 }
3657
3658
3659 static PyObject *_wrap_StaticBoxNameStr_get() {
3660 PyObject *pyobj;
3661
3662 {
3663 #if wxUSE_UNICODE
3664 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3665 #else
3666 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3667 #endif
3668 }
3669 return pyobj;
3670 }
3671
3672
3673 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3674 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3675 return 1;
3676 }
3677
3678
3679 static PyObject *_wrap_StaticTextNameStr_get() {
3680 PyObject *pyobj;
3681
3682 {
3683 #if wxUSE_UNICODE
3684 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3685 #else
3686 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3687 #endif
3688 }
3689 return pyobj;
3690 }
3691
3692
3693 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3694 PyObject *resultobj;
3695 wxWindow *arg1 = (wxWindow *) 0 ;
3696 int arg2 ;
3697 wxString *arg3 = 0 ;
3698 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3699 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3700 wxSize const &arg5_defvalue = wxDefaultSize ;
3701 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3702 long arg6 = (long) 0 ;
3703 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3704 wxString *arg7 = (wxString *) &arg7_defvalue ;
3705 wxStaticBox *result;
3706 bool temp3 = False ;
3707 wxPoint temp4 ;
3708 wxSize temp5 ;
3709 bool temp7 = False ;
3710 PyObject * obj0 = 0 ;
3711 PyObject * obj2 = 0 ;
3712 PyObject * obj3 = 0 ;
3713 PyObject * obj4 = 0 ;
3714 PyObject * obj6 = 0 ;
3715 char *kwnames[] = {
3716 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3717 };
3718
3719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3721 {
3722 arg3 = wxString_in_helper(obj2);
3723 if (arg3 == NULL) SWIG_fail;
3724 temp3 = True;
3725 }
3726 if (obj3) {
3727 {
3728 arg4 = &temp4;
3729 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3730 }
3731 }
3732 if (obj4) {
3733 {
3734 arg5 = &temp5;
3735 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3736 }
3737 }
3738 if (obj6) {
3739 {
3740 arg7 = wxString_in_helper(obj6);
3741 if (arg7 == NULL) SWIG_fail;
3742 temp7 = True;
3743 }
3744 }
3745 {
3746 PyThreadState* __tstate = wxPyBeginAllowThreads();
3747 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3748
3749 wxPyEndAllowThreads(__tstate);
3750 if (PyErr_Occurred()) SWIG_fail;
3751 }
3752 {
3753 resultobj = wxPyMake_wxObject(result);
3754 }
3755 {
3756 if (temp3)
3757 delete arg3;
3758 }
3759 {
3760 if (temp7)
3761 delete arg7;
3762 }
3763 return resultobj;
3764 fail:
3765 {
3766 if (temp3)
3767 delete arg3;
3768 }
3769 {
3770 if (temp7)
3771 delete arg7;
3772 }
3773 return NULL;
3774 }
3775
3776
3777 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3778 PyObject *resultobj;
3779 wxStaticBox *result;
3780 char *kwnames[] = {
3781 NULL
3782 };
3783
3784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 result = (wxStaticBox *)new wxStaticBox();
3788
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) SWIG_fail;
3791 }
3792 {
3793 resultobj = wxPyMake_wxObject(result);
3794 }
3795 return resultobj;
3796 fail:
3797 return NULL;
3798 }
3799
3800
3801 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3802 PyObject *resultobj;
3803 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3804 wxWindow *arg2 = (wxWindow *) 0 ;
3805 int arg3 ;
3806 wxString *arg4 = 0 ;
3807 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3808 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3809 wxSize const &arg6_defvalue = wxDefaultSize ;
3810 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3811 long arg7 = (long) 0 ;
3812 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3813 wxString *arg8 = (wxString *) &arg8_defvalue ;
3814 bool result;
3815 bool temp4 = False ;
3816 wxPoint temp5 ;
3817 wxSize temp6 ;
3818 bool temp8 = False ;
3819 PyObject * obj0 = 0 ;
3820 PyObject * obj1 = 0 ;
3821 PyObject * obj3 = 0 ;
3822 PyObject * obj4 = 0 ;
3823 PyObject * obj5 = 0 ;
3824 PyObject * obj7 = 0 ;
3825 char *kwnames[] = {
3826 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3827 };
3828
3829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3832 {
3833 arg4 = wxString_in_helper(obj3);
3834 if (arg4 == NULL) SWIG_fail;
3835 temp4 = True;
3836 }
3837 if (obj4) {
3838 {
3839 arg5 = &temp5;
3840 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3841 }
3842 }
3843 if (obj5) {
3844 {
3845 arg6 = &temp6;
3846 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3847 }
3848 }
3849 if (obj7) {
3850 {
3851 arg8 = wxString_in_helper(obj7);
3852 if (arg8 == NULL) SWIG_fail;
3853 temp8 = True;
3854 }
3855 }
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3859
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 resultobj = PyInt_FromLong((long)result);
3864 {
3865 if (temp4)
3866 delete arg4;
3867 }
3868 {
3869 if (temp8)
3870 delete arg8;
3871 }
3872 return resultobj;
3873 fail:
3874 {
3875 if (temp4)
3876 delete arg4;
3877 }
3878 {
3879 if (temp8)
3880 delete arg8;
3881 }
3882 return NULL;
3883 }
3884
3885
3886 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3887 PyObject *obj;
3888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3889 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3890 Py_INCREF(obj);
3891 return Py_BuildValue((char *)"");
3892 }
3893 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3894 PyObject *resultobj;
3895 wxWindow *arg1 = (wxWindow *) 0 ;
3896 int arg2 ;
3897 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3898 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3899 wxSize const &arg4_defvalue = wxDefaultSize ;
3900 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3901 long arg5 = (long) wxLI_HORIZONTAL ;
3902 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3903 wxString *arg6 = (wxString *) &arg6_defvalue ;
3904 wxStaticLine *result;
3905 wxPoint temp3 ;
3906 wxSize temp4 ;
3907 bool temp6 = False ;
3908 PyObject * obj0 = 0 ;
3909 PyObject * obj2 = 0 ;
3910 PyObject * obj3 = 0 ;
3911 PyObject * obj5 = 0 ;
3912 char *kwnames[] = {
3913 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3914 };
3915
3916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3918 if (obj2) {
3919 {
3920 arg3 = &temp3;
3921 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3922 }
3923 }
3924 if (obj3) {
3925 {
3926 arg4 = &temp4;
3927 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3928 }
3929 }
3930 if (obj5) {
3931 {
3932 arg6 = wxString_in_helper(obj5);
3933 if (arg6 == NULL) SWIG_fail;
3934 temp6 = True;
3935 }
3936 }
3937 {
3938 PyThreadState* __tstate = wxPyBeginAllowThreads();
3939 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3940
3941 wxPyEndAllowThreads(__tstate);
3942 if (PyErr_Occurred()) SWIG_fail;
3943 }
3944 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3945 {
3946 if (temp6)
3947 delete arg6;
3948 }
3949 return resultobj;
3950 fail:
3951 {
3952 if (temp6)
3953 delete arg6;
3954 }
3955 return NULL;
3956 }
3957
3958
3959 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3960 PyObject *resultobj;
3961 wxStaticLine *result;
3962 char *kwnames[] = {
3963 NULL
3964 };
3965
3966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 result = (wxStaticLine *)new wxStaticLine();
3970
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) SWIG_fail;
3973 }
3974 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3975 return resultobj;
3976 fail:
3977 return NULL;
3978 }
3979
3980
3981 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3982 PyObject *resultobj;
3983 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3984 wxWindow *arg2 = (wxWindow *) 0 ;
3985 int arg3 ;
3986 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3987 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3988 wxSize const &arg5_defvalue = wxDefaultSize ;
3989 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3990 long arg6 = (long) wxLI_HORIZONTAL ;
3991 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3992 wxString *arg7 = (wxString *) &arg7_defvalue ;
3993 bool result;
3994 wxPoint temp4 ;
3995 wxSize temp5 ;
3996 bool temp7 = False ;
3997 PyObject * obj0 = 0 ;
3998 PyObject * obj1 = 0 ;
3999 PyObject * obj3 = 0 ;
4000 PyObject * obj4 = 0 ;
4001 PyObject * obj6 = 0 ;
4002 char *kwnames[] = {
4003 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4004 };
4005
4006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4009 if (obj3) {
4010 {
4011 arg4 = &temp4;
4012 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4013 }
4014 }
4015 if (obj4) {
4016 {
4017 arg5 = &temp5;
4018 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4019 }
4020 }
4021 if (obj6) {
4022 {
4023 arg7 = wxString_in_helper(obj6);
4024 if (arg7 == NULL) SWIG_fail;
4025 temp7 = True;
4026 }
4027 }
4028 {
4029 PyThreadState* __tstate = wxPyBeginAllowThreads();
4030 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4031
4032 wxPyEndAllowThreads(__tstate);
4033 if (PyErr_Occurred()) SWIG_fail;
4034 }
4035 resultobj = PyInt_FromLong((long)result);
4036 {
4037 if (temp7)
4038 delete arg7;
4039 }
4040 return resultobj;
4041 fail:
4042 {
4043 if (temp7)
4044 delete arg7;
4045 }
4046 return NULL;
4047 }
4048
4049
4050 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4053 bool result;
4054 PyObject * obj0 = 0 ;
4055 char *kwnames[] = {
4056 (char *) "self", NULL
4057 };
4058
4059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4061 {
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4064
4065 wxPyEndAllowThreads(__tstate);
4066 if (PyErr_Occurred()) SWIG_fail;
4067 }
4068 resultobj = PyInt_FromLong((long)result);
4069 return resultobj;
4070 fail:
4071 return NULL;
4072 }
4073
4074
4075 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4076 PyObject *resultobj;
4077 int result;
4078 char *kwnames[] = {
4079 NULL
4080 };
4081
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 result = (int)wxStaticLine::GetDefaultSize();
4086
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 resultobj = PyInt_FromLong((long)result);
4091 return resultobj;
4092 fail:
4093 return NULL;
4094 }
4095
4096
4097 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4098 PyObject *obj;
4099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4100 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4101 Py_INCREF(obj);
4102 return Py_BuildValue((char *)"");
4103 }
4104 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4105 PyObject *resultobj;
4106 wxWindow *arg1 = (wxWindow *) 0 ;
4107 int arg2 ;
4108 wxString *arg3 = 0 ;
4109 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4110 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4111 wxSize const &arg5_defvalue = wxDefaultSize ;
4112 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4113 long arg6 = (long) 0 ;
4114 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4115 wxString *arg7 = (wxString *) &arg7_defvalue ;
4116 wxStaticText *result;
4117 bool temp3 = False ;
4118 wxPoint temp4 ;
4119 wxSize temp5 ;
4120 bool temp7 = False ;
4121 PyObject * obj0 = 0 ;
4122 PyObject * obj2 = 0 ;
4123 PyObject * obj3 = 0 ;
4124 PyObject * obj4 = 0 ;
4125 PyObject * obj6 = 0 ;
4126 char *kwnames[] = {
4127 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4128 };
4129
4130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4132 {
4133 arg3 = wxString_in_helper(obj2);
4134 if (arg3 == NULL) SWIG_fail;
4135 temp3 = True;
4136 }
4137 if (obj3) {
4138 {
4139 arg4 = &temp4;
4140 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4141 }
4142 }
4143 if (obj4) {
4144 {
4145 arg5 = &temp5;
4146 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4147 }
4148 }
4149 if (obj6) {
4150 {
4151 arg7 = wxString_in_helper(obj6);
4152 if (arg7 == NULL) SWIG_fail;
4153 temp7 = True;
4154 }
4155 }
4156 {
4157 PyThreadState* __tstate = wxPyBeginAllowThreads();
4158 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4159
4160 wxPyEndAllowThreads(__tstate);
4161 if (PyErr_Occurred()) SWIG_fail;
4162 }
4163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4164 {
4165 if (temp3)
4166 delete arg3;
4167 }
4168 {
4169 if (temp7)
4170 delete arg7;
4171 }
4172 return resultobj;
4173 fail:
4174 {
4175 if (temp3)
4176 delete arg3;
4177 }
4178 {
4179 if (temp7)
4180 delete arg7;
4181 }
4182 return NULL;
4183 }
4184
4185
4186 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4187 PyObject *resultobj;
4188 wxStaticText *result;
4189 char *kwnames[] = {
4190 NULL
4191 };
4192
4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4194 {
4195 PyThreadState* __tstate = wxPyBeginAllowThreads();
4196 result = (wxStaticText *)new wxStaticText();
4197
4198 wxPyEndAllowThreads(__tstate);
4199 if (PyErr_Occurred()) SWIG_fail;
4200 }
4201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4202 return resultobj;
4203 fail:
4204 return NULL;
4205 }
4206
4207
4208 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4209 PyObject *resultobj;
4210 wxStaticText *arg1 = (wxStaticText *) 0 ;
4211 wxWindow *arg2 = (wxWindow *) 0 ;
4212 int arg3 ;
4213 wxString *arg4 = 0 ;
4214 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4215 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4216 wxSize const &arg6_defvalue = wxDefaultSize ;
4217 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4218 long arg7 = (long) 0 ;
4219 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4220 wxString *arg8 = (wxString *) &arg8_defvalue ;
4221 bool result;
4222 bool temp4 = False ;
4223 wxPoint temp5 ;
4224 wxSize temp6 ;
4225 bool temp8 = False ;
4226 PyObject * obj0 = 0 ;
4227 PyObject * obj1 = 0 ;
4228 PyObject * obj3 = 0 ;
4229 PyObject * obj4 = 0 ;
4230 PyObject * obj5 = 0 ;
4231 PyObject * obj7 = 0 ;
4232 char *kwnames[] = {
4233 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4234 };
4235
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4238 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4239 {
4240 arg4 = wxString_in_helper(obj3);
4241 if (arg4 == NULL) SWIG_fail;
4242 temp4 = True;
4243 }
4244 if (obj4) {
4245 {
4246 arg5 = &temp5;
4247 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4248 }
4249 }
4250 if (obj5) {
4251 {
4252 arg6 = &temp6;
4253 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4254 }
4255 }
4256 if (obj7) {
4257 {
4258 arg8 = wxString_in_helper(obj7);
4259 if (arg8 == NULL) SWIG_fail;
4260 temp8 = True;
4261 }
4262 }
4263 {
4264 PyThreadState* __tstate = wxPyBeginAllowThreads();
4265 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4266
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 resultobj = PyInt_FromLong((long)result);
4271 {
4272 if (temp4)
4273 delete arg4;
4274 }
4275 {
4276 if (temp8)
4277 delete arg8;
4278 }
4279 return resultobj;
4280 fail:
4281 {
4282 if (temp4)
4283 delete arg4;
4284 }
4285 {
4286 if (temp8)
4287 delete arg8;
4288 }
4289 return NULL;
4290 }
4291
4292
4293 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4294 PyObject *obj;
4295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4296 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4297 Py_INCREF(obj);
4298 return Py_BuildValue((char *)"");
4299 }
4300 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4301 PyObject *resultobj;
4302 wxWindow *arg1 = (wxWindow *) 0 ;
4303 int arg2 ;
4304 wxBitmap *arg3 = 0 ;
4305 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4306 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4307 wxSize const &arg5_defvalue = wxDefaultSize ;
4308 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4309 long arg6 = (long) 0 ;
4310 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4311 wxString *arg7 = (wxString *) &arg7_defvalue ;
4312 wxStaticBitmap *result;
4313 wxPoint temp4 ;
4314 wxSize temp5 ;
4315 bool temp7 = False ;
4316 PyObject * obj0 = 0 ;
4317 PyObject * obj2 = 0 ;
4318 PyObject * obj3 = 0 ;
4319 PyObject * obj4 = 0 ;
4320 PyObject * obj6 = 0 ;
4321 char *kwnames[] = {
4322 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4323 };
4324
4325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4327 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4328 if (arg3 == NULL) {
4329 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4330 }
4331 if (obj3) {
4332 {
4333 arg4 = &temp4;
4334 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4335 }
4336 }
4337 if (obj4) {
4338 {
4339 arg5 = &temp5;
4340 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4341 }
4342 }
4343 if (obj6) {
4344 {
4345 arg7 = wxString_in_helper(obj6);
4346 if (arg7 == NULL) SWIG_fail;
4347 temp7 = True;
4348 }
4349 }
4350 {
4351 PyThreadState* __tstate = wxPyBeginAllowThreads();
4352 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4353
4354 wxPyEndAllowThreads(__tstate);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
4357 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4358 {
4359 if (temp7)
4360 delete arg7;
4361 }
4362 return resultobj;
4363 fail:
4364 {
4365 if (temp7)
4366 delete arg7;
4367 }
4368 return NULL;
4369 }
4370
4371
4372 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4373 PyObject *resultobj;
4374 wxStaticBitmap *result;
4375 char *kwnames[] = {
4376 NULL
4377 };
4378
4379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 result = (wxStaticBitmap *)new wxStaticBitmap();
4383
4384 wxPyEndAllowThreads(__tstate);
4385 if (PyErr_Occurred()) SWIG_fail;
4386 }
4387 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4388 return resultobj;
4389 fail:
4390 return NULL;
4391 }
4392
4393
4394 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4395 PyObject *resultobj;
4396 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4397 wxWindow *arg2 = (wxWindow *) 0 ;
4398 int arg3 ;
4399 wxBitmap *arg4 = 0 ;
4400 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4401 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4402 wxSize const &arg6_defvalue = wxDefaultSize ;
4403 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4404 long arg7 = (long) 0 ;
4405 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4406 wxString *arg8 = (wxString *) &arg8_defvalue ;
4407 bool result;
4408 wxPoint temp5 ;
4409 wxSize temp6 ;
4410 bool temp8 = False ;
4411 PyObject * obj0 = 0 ;
4412 PyObject * obj1 = 0 ;
4413 PyObject * obj3 = 0 ;
4414 PyObject * obj4 = 0 ;
4415 PyObject * obj5 = 0 ;
4416 PyObject * obj7 = 0 ;
4417 char *kwnames[] = {
4418 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4419 };
4420
4421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4424 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4425 if (arg4 == NULL) {
4426 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4427 }
4428 if (obj4) {
4429 {
4430 arg5 = &temp5;
4431 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4432 }
4433 }
4434 if (obj5) {
4435 {
4436 arg6 = &temp6;
4437 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4438 }
4439 }
4440 if (obj7) {
4441 {
4442 arg8 = wxString_in_helper(obj7);
4443 if (arg8 == NULL) SWIG_fail;
4444 temp8 = True;
4445 }
4446 }
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 resultobj = PyInt_FromLong((long)result);
4455 {
4456 if (temp8)
4457 delete arg8;
4458 }
4459 return resultobj;
4460 fail:
4461 {
4462 if (temp8)
4463 delete arg8;
4464 }
4465 return NULL;
4466 }
4467
4468
4469 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4470 PyObject *resultobj;
4471 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4472 wxBitmap result;
4473 PyObject * obj0 = 0 ;
4474 char *kwnames[] = {
4475 (char *) "self", NULL
4476 };
4477
4478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 result = (arg1)->GetBitmap();
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 {
4488 wxBitmap * resultptr;
4489 resultptr = new wxBitmap((wxBitmap &) result);
4490 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4491 }
4492 return resultobj;
4493 fail:
4494 return NULL;
4495 }
4496
4497
4498 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj;
4500 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4501 wxBitmap *arg2 = 0 ;
4502 PyObject * obj0 = 0 ;
4503 PyObject * obj1 = 0 ;
4504 char *kwnames[] = {
4505 (char *) "self",(char *) "bitmap", NULL
4506 };
4507
4508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4511 if (arg2 == NULL) {
4512 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4513 }
4514 {
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4517
4518 wxPyEndAllowThreads(__tstate);
4519 if (PyErr_Occurred()) SWIG_fail;
4520 }
4521 Py_INCREF(Py_None); resultobj = Py_None;
4522 return resultobj;
4523 fail:
4524 return NULL;
4525 }
4526
4527
4528 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4529 PyObject *resultobj;
4530 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4531 wxIcon *arg2 = 0 ;
4532 PyObject * obj0 = 0 ;
4533 PyObject * obj1 = 0 ;
4534 char *kwnames[] = {
4535 (char *) "self",(char *) "icon", NULL
4536 };
4537
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4541 if (arg2 == NULL) {
4542 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4543 }
4544 {
4545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4546 (arg1)->SetIcon((wxIcon const &)*arg2);
4547
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 Py_INCREF(Py_None); resultobj = Py_None;
4552 return resultobj;
4553 fail:
4554 return NULL;
4555 }
4556
4557
4558 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4559 PyObject *obj;
4560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4561 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4562 Py_INCREF(obj);
4563 return Py_BuildValue((char *)"");
4564 }
4565 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4566 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4567 return 1;
4568 }
4569
4570
4571 static PyObject *_wrap_ListBoxNameStr_get() {
4572 PyObject *pyobj;
4573
4574 {
4575 #if wxUSE_UNICODE
4576 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4577 #else
4578 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4579 #endif
4580 }
4581 return pyobj;
4582 }
4583
4584
4585 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4586 PyObject *resultobj;
4587 wxWindow *arg1 = (wxWindow *) 0 ;
4588 int arg2 ;
4589 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4590 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4591 wxSize const &arg4_defvalue = wxDefaultSize ;
4592 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4593 int arg5 = (int) 0 ;
4594 wxString *arg6 = (wxString *) NULL ;
4595 long arg7 = (long) 0 ;
4596 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4597 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4598 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4599 wxString *arg9 = (wxString *) &arg9_defvalue ;
4600 wxListBox *result;
4601 wxPoint temp3 ;
4602 wxSize temp4 ;
4603 bool temp8 = False ;
4604 PyObject * obj0 = 0 ;
4605 PyObject * obj2 = 0 ;
4606 PyObject * obj3 = 0 ;
4607 PyObject * obj4 = 0 ;
4608 PyObject * obj6 = 0 ;
4609 PyObject * obj7 = 0 ;
4610 char *kwnames[] = {
4611 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4612 };
4613
4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4616 if (obj2) {
4617 {
4618 arg3 = &temp3;
4619 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4620 }
4621 }
4622 if (obj3) {
4623 {
4624 arg4 = &temp4;
4625 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4626 }
4627 }
4628 if (obj4) {
4629 {
4630 arg5 = PyList_Size(obj4);
4631 arg6 = wxString_LIST_helper(obj4);
4632 if (arg6 == NULL) SWIG_fail;
4633 }
4634 }
4635 if (obj6) {
4636 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4637 if (arg8 == NULL) {
4638 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4639 }
4640 }
4641 if (obj7) {
4642 {
4643 arg9 = wxString_in_helper(obj7);
4644 if (arg9 == NULL) SWIG_fail;
4645 temp8 = True;
4646 }
4647 }
4648 {
4649 PyThreadState* __tstate = wxPyBeginAllowThreads();
4650 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4651
4652 wxPyEndAllowThreads(__tstate);
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4656 {
4657 if (arg6) delete [] arg6;
4658 }
4659 {
4660 if (temp8)
4661 delete arg9;
4662 }
4663 return resultobj;
4664 fail:
4665 {
4666 if (arg6) delete [] arg6;
4667 }
4668 {
4669 if (temp8)
4670 delete arg9;
4671 }
4672 return NULL;
4673 }
4674
4675
4676 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4677 PyObject *resultobj;
4678 wxListBox *result;
4679 char *kwnames[] = {
4680 NULL
4681 };
4682
4683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4684 {
4685 PyThreadState* __tstate = wxPyBeginAllowThreads();
4686 result = (wxListBox *)new wxListBox();
4687
4688 wxPyEndAllowThreads(__tstate);
4689 if (PyErr_Occurred()) SWIG_fail;
4690 }
4691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4692 return resultobj;
4693 fail:
4694 return NULL;
4695 }
4696
4697
4698 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4699 PyObject *resultobj;
4700 wxListBox *arg1 = (wxListBox *) 0 ;
4701 wxWindow *arg2 = (wxWindow *) 0 ;
4702 int arg3 ;
4703 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4704 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4705 wxSize const &arg5_defvalue = wxDefaultSize ;
4706 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4707 int arg6 = (int) 0 ;
4708 wxString *arg7 = (wxString *) NULL ;
4709 long arg8 = (long) 0 ;
4710 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4711 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4712 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4713 wxString *arg10 = (wxString *) &arg10_defvalue ;
4714 bool result;
4715 wxPoint temp4 ;
4716 wxSize temp5 ;
4717 bool temp9 = False ;
4718 PyObject * obj0 = 0 ;
4719 PyObject * obj1 = 0 ;
4720 PyObject * obj3 = 0 ;
4721 PyObject * obj4 = 0 ;
4722 PyObject * obj5 = 0 ;
4723 PyObject * obj7 = 0 ;
4724 PyObject * obj8 = 0 ;
4725 char *kwnames[] = {
4726 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4727 };
4728
4729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4732 if (obj3) {
4733 {
4734 arg4 = &temp4;
4735 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4736 }
4737 }
4738 if (obj4) {
4739 {
4740 arg5 = &temp5;
4741 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4742 }
4743 }
4744 if (obj5) {
4745 {
4746 arg6 = PyList_Size(obj5);
4747 arg7 = wxString_LIST_helper(obj5);
4748 if (arg7 == NULL) SWIG_fail;
4749 }
4750 }
4751 if (obj7) {
4752 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4753 if (arg9 == NULL) {
4754 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4755 }
4756 }
4757 if (obj8) {
4758 {
4759 arg10 = wxString_in_helper(obj8);
4760 if (arg10 == NULL) SWIG_fail;
4761 temp9 = True;
4762 }
4763 }
4764 {
4765 PyThreadState* __tstate = wxPyBeginAllowThreads();
4766 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4767
4768 wxPyEndAllowThreads(__tstate);
4769 if (PyErr_Occurred()) SWIG_fail;
4770 }
4771 resultobj = PyInt_FromLong((long)result);
4772 {
4773 if (arg7) delete [] arg7;
4774 }
4775 {
4776 if (temp9)
4777 delete arg10;
4778 }
4779 return resultobj;
4780 fail:
4781 {
4782 if (arg7) delete [] arg7;
4783 }
4784 {
4785 if (temp9)
4786 delete arg10;
4787 }
4788 return NULL;
4789 }
4790
4791
4792 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4793 PyObject *resultobj;
4794 wxListBox *arg1 = (wxListBox *) 0 ;
4795 wxString *arg2 = 0 ;
4796 int arg3 ;
4797 PyObject *arg4 = (PyObject *) NULL ;
4798 bool temp2 = False ;
4799 PyObject * obj0 = 0 ;
4800 PyObject * obj1 = 0 ;
4801 PyObject * obj3 = 0 ;
4802 char *kwnames[] = {
4803 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4804 };
4805
4806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4808 {
4809 arg2 = wxString_in_helper(obj1);
4810 if (arg2 == NULL) SWIG_fail;
4811 temp2 = True;
4812 }
4813 if (obj3) {
4814 arg4 = obj3;
4815 }
4816 {
4817 PyThreadState* __tstate = wxPyBeginAllowThreads();
4818 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4819
4820 wxPyEndAllowThreads(__tstate);
4821 if (PyErr_Occurred()) SWIG_fail;
4822 }
4823 Py_INCREF(Py_None); resultobj = Py_None;
4824 {
4825 if (temp2)
4826 delete arg2;
4827 }
4828 return resultobj;
4829 fail:
4830 {
4831 if (temp2)
4832 delete arg2;
4833 }
4834 return NULL;
4835 }
4836
4837
4838 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4839 PyObject *resultobj;
4840 wxListBox *arg1 = (wxListBox *) 0 ;
4841 wxArrayString *arg2 = 0 ;
4842 int arg3 ;
4843 PyObject * obj0 = 0 ;
4844 PyObject * obj1 = 0 ;
4845 char *kwnames[] = {
4846 (char *) "self",(char *) "items",(char *) "pos", NULL
4847 };
4848
4849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4851 {
4852 if (! PySequence_Check(obj1)) {
4853 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4854 SWIG_fail;
4855 }
4856 arg2 = new wxArrayString;
4857 int i, len=PySequence_Length(obj1);
4858 for (i=0; i<len; i++) {
4859 PyObject* item = PySequence_GetItem(obj1, i);
4860 #if wxUSE_UNICODE
4861 PyObject* str = PyObject_Unicode(item);
4862 #else
4863 PyObject* str = PyObject_Str(item);
4864 #endif
4865 arg2->Add(Py2wxString(str));
4866 Py_DECREF(item);
4867 Py_DECREF(str);
4868 }
4869 }
4870 {
4871 PyThreadState* __tstate = wxPyBeginAllowThreads();
4872 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4873
4874 wxPyEndAllowThreads(__tstate);
4875 if (PyErr_Occurred()) SWIG_fail;
4876 }
4877 Py_INCREF(Py_None); resultobj = Py_None;
4878 {
4879 if (arg2) delete arg2;
4880 }
4881 return resultobj;
4882 fail:
4883 {
4884 if (arg2) delete arg2;
4885 }
4886 return NULL;
4887 }
4888
4889
4890 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4891 PyObject *resultobj;
4892 wxListBox *arg1 = (wxListBox *) 0 ;
4893 wxArrayString *arg2 = 0 ;
4894 PyObject * obj0 = 0 ;
4895 PyObject * obj1 = 0 ;
4896 char *kwnames[] = {
4897 (char *) "self",(char *) "items", NULL
4898 };
4899
4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4902 {
4903 if (! PySequence_Check(obj1)) {
4904 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4905 SWIG_fail;
4906 }
4907 arg2 = new wxArrayString;
4908 int i, len=PySequence_Length(obj1);
4909 for (i=0; i<len; i++) {
4910 PyObject* item = PySequence_GetItem(obj1, i);
4911 #if wxUSE_UNICODE
4912 PyObject* str = PyObject_Unicode(item);
4913 #else
4914 PyObject* str = PyObject_Str(item);
4915 #endif
4916 arg2->Add(Py2wxString(str));
4917 Py_DECREF(item);
4918 Py_DECREF(str);
4919 }
4920 }
4921 {
4922 PyThreadState* __tstate = wxPyBeginAllowThreads();
4923 (arg1)->Set((wxArrayString const &)*arg2);
4924
4925 wxPyEndAllowThreads(__tstate);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 Py_INCREF(Py_None); resultobj = Py_None;
4929 {
4930 if (arg2) delete arg2;
4931 }
4932 return resultobj;
4933 fail:
4934 {
4935 if (arg2) delete arg2;
4936 }
4937 return NULL;
4938 }
4939
4940
4941 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4942 PyObject *resultobj;
4943 wxListBox *arg1 = (wxListBox *) 0 ;
4944 int arg2 ;
4945 bool result;
4946 PyObject * obj0 = 0 ;
4947 char *kwnames[] = {
4948 (char *) "self",(char *) "n", NULL
4949 };
4950
4951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4953 {
4954 PyThreadState* __tstate = wxPyBeginAllowThreads();
4955 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4956
4957 wxPyEndAllowThreads(__tstate);
4958 if (PyErr_Occurred()) SWIG_fail;
4959 }
4960 resultobj = PyInt_FromLong((long)result);
4961 return resultobj;
4962 fail:
4963 return NULL;
4964 }
4965
4966
4967 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4968 PyObject *resultobj;
4969 wxListBox *arg1 = (wxListBox *) 0 ;
4970 int arg2 ;
4971 bool arg3 = (bool) True ;
4972 PyObject * obj0 = 0 ;
4973 PyObject * obj2 = 0 ;
4974 char *kwnames[] = {
4975 (char *) "self",(char *) "n",(char *) "select", NULL
4976 };
4977
4978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4980 if (obj2) {
4981 {
4982 arg3 = (bool) SPyObj_AsBool(obj2);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 }
4986 {
4987 PyThreadState* __tstate = wxPyBeginAllowThreads();
4988 (arg1)->SetSelection(arg2,arg3);
4989
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 Py_INCREF(Py_None); resultobj = Py_None;
4994 return resultobj;
4995 fail:
4996 return NULL;
4997 }
4998
4999
5000 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj;
5002 wxListBox *arg1 = (wxListBox *) 0 ;
5003 int arg2 ;
5004 PyObject * obj0 = 0 ;
5005 char *kwnames[] = {
5006 (char *) "self",(char *) "n", NULL
5007 };
5008
5009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
5010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5011 {
5012 PyThreadState* __tstate = wxPyBeginAllowThreads();
5013 (arg1)->Select(arg2);
5014
5015 wxPyEndAllowThreads(__tstate);
5016 if (PyErr_Occurred()) SWIG_fail;
5017 }
5018 Py_INCREF(Py_None); resultobj = Py_None;
5019 return resultobj;
5020 fail:
5021 return NULL;
5022 }
5023
5024
5025 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5026 PyObject *resultobj;
5027 wxListBox *arg1 = (wxListBox *) 0 ;
5028 int arg2 ;
5029 PyObject * obj0 = 0 ;
5030 char *kwnames[] = {
5031 (char *) "self",(char *) "n", NULL
5032 };
5033
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
5035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5036 {
5037 PyThreadState* __tstate = wxPyBeginAllowThreads();
5038 (arg1)->Deselect(arg2);
5039
5040 wxPyEndAllowThreads(__tstate);
5041 if (PyErr_Occurred()) SWIG_fail;
5042 }
5043 Py_INCREF(Py_None); resultobj = Py_None;
5044 return resultobj;
5045 fail:
5046 return NULL;
5047 }
5048
5049
5050 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5051 PyObject *resultobj;
5052 wxListBox *arg1 = (wxListBox *) 0 ;
5053 int arg2 = (int) -1 ;
5054 PyObject * obj0 = 0 ;
5055 char *kwnames[] = {
5056 (char *) "self",(char *) "itemToLeaveSelected", NULL
5057 };
5058
5059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
5060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5061 {
5062 PyThreadState* __tstate = wxPyBeginAllowThreads();
5063 (arg1)->DeselectAll(arg2);
5064
5065 wxPyEndAllowThreads(__tstate);
5066 if (PyErr_Occurred()) SWIG_fail;
5067 }
5068 Py_INCREF(Py_None); resultobj = Py_None;
5069 return resultobj;
5070 fail:
5071 return NULL;
5072 }
5073
5074
5075 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5076 PyObject *resultobj;
5077 wxListBox *arg1 = (wxListBox *) 0 ;
5078 wxString *arg2 = 0 ;
5079 bool arg3 = (bool) True ;
5080 bool result;
5081 bool temp2 = False ;
5082 PyObject * obj0 = 0 ;
5083 PyObject * obj1 = 0 ;
5084 PyObject * obj2 = 0 ;
5085 char *kwnames[] = {
5086 (char *) "self",(char *) "s",(char *) "select", NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5091 {
5092 arg2 = wxString_in_helper(obj1);
5093 if (arg2 == NULL) SWIG_fail;
5094 temp2 = True;
5095 }
5096 if (obj2) {
5097 {
5098 arg3 = (bool) SPyObj_AsBool(obj2);
5099 if (PyErr_Occurred()) SWIG_fail;
5100 }
5101 }
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 resultobj = PyInt_FromLong((long)result);
5110 {
5111 if (temp2)
5112 delete arg2;
5113 }
5114 return resultobj;
5115 fail:
5116 {
5117 if (temp2)
5118 delete arg2;
5119 }
5120 return NULL;
5121 }
5122
5123
5124 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5125 PyObject *resultobj;
5126 wxListBox *arg1 = (wxListBox *) 0 ;
5127 PyObject *result;
5128 PyObject * obj0 = 0 ;
5129 char *kwnames[] = {
5130 (char *) "self", NULL
5131 };
5132
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 result = (PyObject *)wxListBox_GetSelections(arg1);
5138
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 resultobj = result;
5143 return resultobj;
5144 fail:
5145 return NULL;
5146 }
5147
5148
5149 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5150 PyObject *resultobj;
5151 wxListBox *arg1 = (wxListBox *) 0 ;
5152 int arg2 ;
5153 PyObject * obj0 = 0 ;
5154 char *kwnames[] = {
5155 (char *) "self",(char *) "n", NULL
5156 };
5157
5158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
5159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5160 {
5161 PyThreadState* __tstate = wxPyBeginAllowThreads();
5162 (arg1)->SetFirstItem(arg2);
5163
5164 wxPyEndAllowThreads(__tstate);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 Py_INCREF(Py_None); resultobj = Py_None;
5168 return resultobj;
5169 fail:
5170 return NULL;
5171 }
5172
5173
5174 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5175 PyObject *resultobj;
5176 wxListBox *arg1 = (wxListBox *) 0 ;
5177 wxString *arg2 = 0 ;
5178 bool temp2 = False ;
5179 PyObject * obj0 = 0 ;
5180 PyObject * obj1 = 0 ;
5181 char *kwnames[] = {
5182 (char *) "self",(char *) "s", NULL
5183 };
5184
5185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5187 {
5188 arg2 = wxString_in_helper(obj1);
5189 if (arg2 == NULL) SWIG_fail;
5190 temp2 = True;
5191 }
5192 {
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 (arg1)->SetFirstItem((wxString const &)*arg2);
5195
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 Py_INCREF(Py_None); resultobj = Py_None;
5200 {
5201 if (temp2)
5202 delete arg2;
5203 }
5204 return resultobj;
5205 fail:
5206 {
5207 if (temp2)
5208 delete arg2;
5209 }
5210 return NULL;
5211 }
5212
5213
5214 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5215 PyObject *resultobj;
5216 wxListBox *arg1 = (wxListBox *) 0 ;
5217 int arg2 ;
5218 PyObject * obj0 = 0 ;
5219 char *kwnames[] = {
5220 (char *) "self",(char *) "n", NULL
5221 };
5222
5223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
5224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5225 {
5226 PyThreadState* __tstate = wxPyBeginAllowThreads();
5227 (arg1)->EnsureVisible(arg2);
5228
5229 wxPyEndAllowThreads(__tstate);
5230 if (PyErr_Occurred()) SWIG_fail;
5231 }
5232 Py_INCREF(Py_None); resultobj = Py_None;
5233 return resultobj;
5234 fail:
5235 return NULL;
5236 }
5237
5238
5239 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5240 PyObject *resultobj;
5241 wxListBox *arg1 = (wxListBox *) 0 ;
5242 wxString *arg2 = 0 ;
5243 bool temp2 = False ;
5244 PyObject * obj0 = 0 ;
5245 PyObject * obj1 = 0 ;
5246 char *kwnames[] = {
5247 (char *) "self",(char *) "s", NULL
5248 };
5249
5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5252 {
5253 arg2 = wxString_in_helper(obj1);
5254 if (arg2 == NULL) SWIG_fail;
5255 temp2 = True;
5256 }
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5260
5261 wxPyEndAllowThreads(__tstate);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 }
5264 Py_INCREF(Py_None); resultobj = Py_None;
5265 {
5266 if (temp2)
5267 delete arg2;
5268 }
5269 return resultobj;
5270 fail:
5271 {
5272 if (temp2)
5273 delete arg2;
5274 }
5275 return NULL;
5276 }
5277
5278
5279 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5280 PyObject *resultobj;
5281 wxListBox *arg1 = (wxListBox *) 0 ;
5282 bool result;
5283 PyObject * obj0 = 0 ;
5284 char *kwnames[] = {
5285 (char *) "self", NULL
5286 };
5287
5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5290 {
5291 PyThreadState* __tstate = wxPyBeginAllowThreads();
5292 result = (bool)((wxListBox const *)arg1)->IsSorted();
5293
5294 wxPyEndAllowThreads(__tstate);
5295 if (PyErr_Occurred()) SWIG_fail;
5296 }
5297 resultobj = PyInt_FromLong((long)result);
5298 return resultobj;
5299 fail:
5300 return NULL;
5301 }
5302
5303
5304 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5305 PyObject *obj;
5306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5307 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5308 Py_INCREF(obj);
5309 return Py_BuildValue((char *)"");
5310 }
5311 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5312 PyObject *resultobj;
5313 wxWindow *arg1 = (wxWindow *) 0 ;
5314 int arg2 ;
5315 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5316 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5317 wxSize const &arg4_defvalue = wxDefaultSize ;
5318 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5319 int arg5 = (int) 0 ;
5320 wxString *arg6 = (wxString *) NULL ;
5321 long arg7 = (long) 0 ;
5322 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5323 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5324 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5325 wxString *arg9 = (wxString *) &arg9_defvalue ;
5326 wxCheckListBox *result;
5327 wxPoint temp3 ;
5328 wxSize temp4 ;
5329 bool temp8 = False ;
5330 PyObject * obj0 = 0 ;
5331 PyObject * obj2 = 0 ;
5332 PyObject * obj3 = 0 ;
5333 PyObject * obj4 = 0 ;
5334 PyObject * obj6 = 0 ;
5335 PyObject * obj7 = 0 ;
5336 char *kwnames[] = {
5337 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5338 };
5339
5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5342 if (obj2) {
5343 {
5344 arg3 = &temp3;
5345 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5346 }
5347 }
5348 if (obj3) {
5349 {
5350 arg4 = &temp4;
5351 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5352 }
5353 }
5354 if (obj4) {
5355 {
5356 arg5 = PyList_Size(obj4);
5357 arg6 = wxString_LIST_helper(obj4);
5358 if (arg6 == NULL) SWIG_fail;
5359 }
5360 }
5361 if (obj6) {
5362 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5363 if (arg8 == NULL) {
5364 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5365 }
5366 }
5367 if (obj7) {
5368 {
5369 arg9 = wxString_in_helper(obj7);
5370 if (arg9 == NULL) SWIG_fail;
5371 temp8 = True;
5372 }
5373 }
5374 {
5375 PyThreadState* __tstate = wxPyBeginAllowThreads();
5376 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5377
5378 wxPyEndAllowThreads(__tstate);
5379 if (PyErr_Occurred()) SWIG_fail;
5380 }
5381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5382 {
5383 if (arg6) delete [] arg6;
5384 }
5385 {
5386 if (temp8)
5387 delete arg9;
5388 }
5389 return resultobj;
5390 fail:
5391 {
5392 if (arg6) delete [] arg6;
5393 }
5394 {
5395 if (temp8)
5396 delete arg9;
5397 }
5398 return NULL;
5399 }
5400
5401
5402 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5403 PyObject *resultobj;
5404 wxCheckListBox *result;
5405 char *kwnames[] = {
5406 NULL
5407 };
5408
5409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 result = (wxCheckListBox *)new wxCheckListBox();
5413
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5418 return resultobj;
5419 fail:
5420 return NULL;
5421 }
5422
5423
5424 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5425 PyObject *resultobj;
5426 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5427 wxWindow *arg2 = (wxWindow *) 0 ;
5428 int arg3 ;
5429 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5430 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5431 wxSize const &arg5_defvalue = wxDefaultSize ;
5432 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5433 int arg6 = (int) 0 ;
5434 wxString *arg7 = (wxString *) NULL ;
5435 long arg8 = (long) 0 ;
5436 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5437 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5438 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5439 wxString *arg10 = (wxString *) &arg10_defvalue ;
5440 bool result;
5441 wxPoint temp4 ;
5442 wxSize temp5 ;
5443 bool temp9 = False ;
5444 PyObject * obj0 = 0 ;
5445 PyObject * obj1 = 0 ;
5446 PyObject * obj3 = 0 ;
5447 PyObject * obj4 = 0 ;
5448 PyObject * obj5 = 0 ;
5449 PyObject * obj7 = 0 ;
5450 PyObject * obj8 = 0 ;
5451 char *kwnames[] = {
5452 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5453 };
5454
5455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5457 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5458 if (obj3) {
5459 {
5460 arg4 = &temp4;
5461 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5462 }
5463 }
5464 if (obj4) {
5465 {
5466 arg5 = &temp5;
5467 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5468 }
5469 }
5470 if (obj5) {
5471 {
5472 arg6 = PyList_Size(obj5);
5473 arg7 = wxString_LIST_helper(obj5);
5474 if (arg7 == NULL) SWIG_fail;
5475 }
5476 }
5477 if (obj7) {
5478 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5479 if (arg9 == NULL) {
5480 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5481 }
5482 }
5483 if (obj8) {
5484 {
5485 arg10 = wxString_in_helper(obj8);
5486 if (arg10 == NULL) SWIG_fail;
5487 temp9 = True;
5488 }
5489 }
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5493
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 resultobj = PyInt_FromLong((long)result);
5498 {
5499 if (arg7) delete [] arg7;
5500 }
5501 {
5502 if (temp9)
5503 delete arg10;
5504 }
5505 return resultobj;
5506 fail:
5507 {
5508 if (arg7) delete [] arg7;
5509 }
5510 {
5511 if (temp9)
5512 delete arg10;
5513 }
5514 return NULL;
5515 }
5516
5517
5518 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj;
5520 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5521 int arg2 ;
5522 bool result;
5523 PyObject * obj0 = 0 ;
5524 char *kwnames[] = {
5525 (char *) "self",(char *) "index", NULL
5526 };
5527
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5530 {
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 result = (bool)(arg1)->IsChecked(arg2);
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 resultobj = PyInt_FromLong((long)result);
5538 return resultobj;
5539 fail:
5540 return NULL;
5541 }
5542
5543
5544 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj;
5546 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5547 int arg2 ;
5548 int arg3 = (int) True ;
5549 PyObject * obj0 = 0 ;
5550 char *kwnames[] = {
5551 (char *) "self",(char *) "index",(char *) "check", NULL
5552 };
5553
5554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 (arg1)->Check(arg2,arg3);
5559
5560 wxPyEndAllowThreads(__tstate);
5561 if (PyErr_Occurred()) SWIG_fail;
5562 }
5563 Py_INCREF(Py_None); resultobj = Py_None;
5564 return resultobj;
5565 fail:
5566 return NULL;
5567 }
5568
5569
5570 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5571 PyObject *resultobj;
5572 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5573 wxPoint *arg2 = 0 ;
5574 int result;
5575 wxPoint temp2 ;
5576 PyObject * obj0 = 0 ;
5577 PyObject * obj1 = 0 ;
5578 char *kwnames[] = {
5579 (char *) "self",(char *) "pt", NULL
5580 };
5581
5582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5584 {
5585 arg2 = &temp2;
5586 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5587 }
5588 {
5589 PyThreadState* __tstate = wxPyBeginAllowThreads();
5590 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5591
5592 wxPyEndAllowThreads(__tstate);
5593 if (PyErr_Occurred()) SWIG_fail;
5594 }
5595 resultobj = PyInt_FromLong((long)result);
5596 return resultobj;
5597 fail:
5598 return NULL;
5599 }
5600
5601
5602 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5603 PyObject *resultobj;
5604 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5605 int arg2 ;
5606 int arg3 ;
5607 int result;
5608 PyObject * obj0 = 0 ;
5609 char *kwnames[] = {
5610 (char *) "self",(char *) "x",(char *) "y", NULL
5611 };
5612
5613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5615 {
5616 PyThreadState* __tstate = wxPyBeginAllowThreads();
5617 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5618
5619 wxPyEndAllowThreads(__tstate);
5620 if (PyErr_Occurred()) SWIG_fail;
5621 }
5622 resultobj = PyInt_FromLong((long)result);
5623 return resultobj;
5624 fail:
5625 return NULL;
5626 }
5627
5628
5629 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5630 PyObject *obj;
5631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5632 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5633 Py_INCREF(obj);
5634 return Py_BuildValue((char *)"");
5635 }
5636 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
5637 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
5638 return 1;
5639 }
5640
5641
5642 static PyObject *_wrap_TextCtrlNameStr_get() {
5643 PyObject *pyobj;
5644
5645 {
5646 #if wxUSE_UNICODE
5647 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5648 #else
5649 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5650 #endif
5651 }
5652 return pyobj;
5653 }
5654
5655
5656 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5657 PyObject *resultobj;
5658 wxTextAttr *result;
5659
5660 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5661 {
5662 PyThreadState* __tstate = wxPyBeginAllowThreads();
5663 result = (wxTextAttr *)new wxTextAttr();
5664
5665 wxPyEndAllowThreads(__tstate);
5666 if (PyErr_Occurred()) SWIG_fail;
5667 }
5668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5669 return resultobj;
5670 fail:
5671 return NULL;
5672 }
5673
5674
5675 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5676 PyObject *resultobj;
5677 wxColour *arg1 = 0 ;
5678 wxColour const &arg2_defvalue = wxNullColour ;
5679 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5680 wxFont const &arg3_defvalue = wxNullFont ;
5681 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5682 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5683 wxTextAttr *result;
5684 wxColour temp1 ;
5685 wxColour temp2 ;
5686 PyObject * obj0 = 0 ;
5687 PyObject * obj1 = 0 ;
5688 PyObject * obj2 = 0 ;
5689
5690 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5691 {
5692 arg1 = &temp1;
5693 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5694 }
5695 if (obj1) {
5696 {
5697 arg2 = &temp2;
5698 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5699 }
5700 }
5701 if (obj2) {
5702 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5703 if (arg3 == NULL) {
5704 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5705 }
5706 }
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5715 return resultobj;
5716 fail:
5717 return NULL;
5718 }
5719
5720
5721 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5722 int argc;
5723 PyObject *argv[5];
5724 int ii;
5725
5726 argc = PyObject_Length(args);
5727 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5728 argv[ii] = PyTuple_GetItem(args,ii);
5729 }
5730 if (argc == 0) {
5731 return _wrap_new_TextAttr__SWIG_0(self,args);
5732 }
5733 if ((argc >= 1) && (argc <= 4)) {
5734 int _v;
5735 {
5736 _v = wxColour_typecheck(argv[0]);
5737 }
5738 if (_v) {
5739 if (argc <= 1) {
5740 return _wrap_new_TextAttr__SWIG_1(self,args);
5741 }
5742 {
5743 _v = wxColour_typecheck(argv[1]);
5744 }
5745 if (_v) {
5746 if (argc <= 2) {
5747 return _wrap_new_TextAttr__SWIG_1(self,args);
5748 }
5749 {
5750 void *ptr;
5751 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5752 _v = 0;
5753 PyErr_Clear();
5754 } else {
5755 _v = 1;
5756 }
5757 }
5758 if (_v) {
5759 if (argc <= 3) {
5760 return _wrap_new_TextAttr__SWIG_1(self,args);
5761 }
5762 return _wrap_new_TextAttr__SWIG_1(self,args);
5763 }
5764 }
5765 }
5766 }
5767
5768 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5769 return NULL;
5770 }
5771
5772
5773 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5774 PyObject *resultobj;
5775 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5776 PyObject * obj0 = 0 ;
5777 char *kwnames[] = {
5778 (char *) "self", NULL
5779 };
5780
5781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 (arg1)->Init();
5786
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 Py_INCREF(Py_None); resultobj = Py_None;
5791 return resultobj;
5792 fail:
5793 return NULL;
5794 }
5795
5796
5797 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5798 PyObject *resultobj;
5799 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5800 wxColour *arg2 = 0 ;
5801 wxColour temp2 ;
5802 PyObject * obj0 = 0 ;
5803 PyObject * obj1 = 0 ;
5804 char *kwnames[] = {
5805 (char *) "self",(char *) "colText", NULL
5806 };
5807
5808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5810 {
5811 arg2 = &temp2;
5812 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5813 }
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 (arg1)->SetTextColour((wxColour const &)*arg2);
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 Py_INCREF(Py_None); resultobj = Py_None;
5822 return resultobj;
5823 fail:
5824 return NULL;
5825 }
5826
5827
5828 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj;
5830 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5831 wxColour *arg2 = 0 ;
5832 wxColour temp2 ;
5833 PyObject * obj0 = 0 ;
5834 PyObject * obj1 = 0 ;
5835 char *kwnames[] = {
5836 (char *) "self",(char *) "colBack", NULL
5837 };
5838
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5841 {
5842 arg2 = &temp2;
5843 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5844 }
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5848
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 Py_INCREF(Py_None); resultobj = Py_None;
5853 return resultobj;
5854 fail:
5855 return NULL;
5856 }
5857
5858
5859 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5860 PyObject *resultobj;
5861 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5862 wxFont *arg2 = 0 ;
5863 long arg3 = (long) wxTEXT_ATTR_FONT ;
5864 PyObject * obj0 = 0 ;
5865 PyObject * obj1 = 0 ;
5866 char *kwnames[] = {
5867 (char *) "self",(char *) "font",(char *) "flags", NULL
5868 };
5869
5870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5873 if (arg2 == NULL) {
5874 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5875 }
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5879
5880 wxPyEndAllowThreads(__tstate);
5881 if (PyErr_Occurred()) SWIG_fail;
5882 }
5883 Py_INCREF(Py_None); resultobj = Py_None;
5884 return resultobj;
5885 fail:
5886 return NULL;
5887 }
5888
5889
5890 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj;
5892 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5893 int arg2 ;
5894 PyObject * obj0 = 0 ;
5895 char *kwnames[] = {
5896 (char *) "self",(char *) "alignment", NULL
5897 };
5898
5899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5901 {
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5904
5905 wxPyEndAllowThreads(__tstate);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 }
5908 Py_INCREF(Py_None); resultobj = Py_None;
5909 return resultobj;
5910 fail:
5911 return NULL;
5912 }
5913
5914
5915 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5916 PyObject *resultobj;
5917 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5918 wxArrayInt *arg2 = 0 ;
5919 PyObject * obj0 = 0 ;
5920 PyObject * obj1 = 0 ;
5921 char *kwnames[] = {
5922 (char *) "self",(char *) "tabs", NULL
5923 };
5924
5925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5927 {
5928 if (! PySequence_Check(obj1)) {
5929 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5930 SWIG_fail;
5931 }
5932 arg2 = new wxArrayInt;
5933 int i, len=PySequence_Length(obj1);
5934 for (i=0; i<len; i++) {
5935 PyObject* item = PySequence_GetItem(obj1, i);
5936 PyObject* number = PyNumber_Int(item);
5937 arg2->Add(PyInt_AS_LONG(number));
5938 Py_DECREF(item);
5939 Py_DECREF(number);
5940 }
5941 }
5942 {
5943 PyThreadState* __tstate = wxPyBeginAllowThreads();
5944 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 Py_INCREF(Py_None); resultobj = Py_None;
5950 {
5951 if (arg2) delete arg2;
5952 }
5953 return resultobj;
5954 fail:
5955 {
5956 if (arg2) delete arg2;
5957 }
5958 return NULL;
5959 }
5960
5961
5962 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5963 PyObject *resultobj;
5964 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5965 int arg2 ;
5966 PyObject * obj0 = 0 ;
5967 char *kwnames[] = {
5968 (char *) "self",(char *) "indent", NULL
5969 };
5970
5971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5973 {
5974 PyThreadState* __tstate = wxPyBeginAllowThreads();
5975 (arg1)->SetLeftIndent(arg2);
5976
5977 wxPyEndAllowThreads(__tstate);
5978 if (PyErr_Occurred()) SWIG_fail;
5979 }
5980 Py_INCREF(Py_None); resultobj = Py_None;
5981 return resultobj;
5982 fail:
5983 return NULL;
5984 }
5985
5986
5987 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5988 PyObject *resultobj;
5989 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5990 int arg2 ;
5991 PyObject * obj0 = 0 ;
5992 char *kwnames[] = {
5993 (char *) "self",(char *) "indent", NULL
5994 };
5995
5996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5998 {
5999 PyThreadState* __tstate = wxPyBeginAllowThreads();
6000 (arg1)->SetRightIndent(arg2);
6001
6002 wxPyEndAllowThreads(__tstate);
6003 if (PyErr_Occurred()) SWIG_fail;
6004 }
6005 Py_INCREF(Py_None); resultobj = Py_None;
6006 return resultobj;
6007 fail:
6008 return NULL;
6009 }
6010
6011
6012 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6013 PyObject *resultobj;
6014 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6015 long arg2 ;
6016 PyObject * obj0 = 0 ;
6017 char *kwnames[] = {
6018 (char *) "self",(char *) "flags", NULL
6019 };
6020
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 (arg1)->SetFlags(arg2);
6026
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 Py_INCREF(Py_None); resultobj = Py_None;
6031 return resultobj;
6032 fail:
6033 return NULL;
6034 }
6035
6036
6037 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6038 PyObject *resultobj;
6039 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6040 bool result;
6041 PyObject * obj0 = 0 ;
6042 char *kwnames[] = {
6043 (char *) "self", NULL
6044 };
6045
6046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6048 {
6049 PyThreadState* __tstate = wxPyBeginAllowThreads();
6050 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6051
6052 wxPyEndAllowThreads(__tstate);
6053 if (PyErr_Occurred()) SWIG_fail;
6054 }
6055 resultobj = PyInt_FromLong((long)result);
6056 return resultobj;
6057 fail:
6058 return NULL;
6059 }
6060
6061
6062 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6063 PyObject *resultobj;
6064 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6065 bool result;
6066 PyObject * obj0 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self", NULL
6069 };
6070
6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 resultobj = PyInt_FromLong((long)result);
6081 return resultobj;
6082 fail:
6083 return NULL;
6084 }
6085
6086
6087 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6088 PyObject *resultobj;
6089 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6090 bool result;
6091 PyObject * obj0 = 0 ;
6092 char *kwnames[] = {
6093 (char *) "self", NULL
6094 };
6095
6096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6098 {
6099 PyThreadState* __tstate = wxPyBeginAllowThreads();
6100 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6101
6102 wxPyEndAllowThreads(__tstate);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
6105 resultobj = PyInt_FromLong((long)result);
6106 return resultobj;
6107 fail:
6108 return NULL;
6109 }
6110
6111
6112 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6113 PyObject *resultobj;
6114 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6115 bool result;
6116 PyObject * obj0 = 0 ;
6117 char *kwnames[] = {
6118 (char *) "self", NULL
6119 };
6120
6121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6123 {
6124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6125 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6126
6127 wxPyEndAllowThreads(__tstate);
6128 if (PyErr_Occurred()) SWIG_fail;
6129 }
6130 resultobj = PyInt_FromLong((long)result);
6131 return resultobj;
6132 fail:
6133 return NULL;
6134 }
6135
6136
6137 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6138 PyObject *resultobj;
6139 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6140 bool result;
6141 PyObject * obj0 = 0 ;
6142 char *kwnames[] = {
6143 (char *) "self", NULL
6144 };
6145
6146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6148 {
6149 PyThreadState* __tstate = wxPyBeginAllowThreads();
6150 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6151
6152 wxPyEndAllowThreads(__tstate);
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
6155 resultobj = PyInt_FromLong((long)result);
6156 return resultobj;
6157 fail:
6158 return NULL;
6159 }
6160
6161
6162 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6163 PyObject *resultobj;
6164 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6165 bool result;
6166 PyObject * obj0 = 0 ;
6167 char *kwnames[] = {
6168 (char *) "self", NULL
6169 };
6170
6171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6173 {
6174 PyThreadState* __tstate = wxPyBeginAllowThreads();
6175 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6176
6177 wxPyEndAllowThreads(__tstate);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 }
6180 resultobj = PyInt_FromLong((long)result);
6181 return resultobj;
6182 fail:
6183 return NULL;
6184 }
6185
6186
6187 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj;
6189 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6190 bool result;
6191 PyObject * obj0 = 0 ;
6192 char *kwnames[] = {
6193 (char *) "self", NULL
6194 };
6195
6196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6198 {
6199 PyThreadState* __tstate = wxPyBeginAllowThreads();
6200 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6201
6202 wxPyEndAllowThreads(__tstate);
6203 if (PyErr_Occurred()) SWIG_fail;
6204 }
6205 resultobj = PyInt_FromLong((long)result);
6206 return resultobj;
6207 fail:
6208 return NULL;
6209 }
6210
6211
6212 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6213 PyObject *resultobj;
6214 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6215 long arg2 ;
6216 bool result;
6217 PyObject * obj0 = 0 ;
6218 char *kwnames[] = {
6219 (char *) "self",(char *) "flag", NULL
6220 };
6221
6222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
6223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6224 {
6225 PyThreadState* __tstate = wxPyBeginAllowThreads();
6226 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6227
6228 wxPyEndAllowThreads(__tstate);
6229 if (PyErr_Occurred()) SWIG_fail;
6230 }
6231 resultobj = PyInt_FromLong((long)result);
6232 return resultobj;
6233 fail:
6234 return NULL;
6235 }
6236
6237
6238 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6239 PyObject *resultobj;
6240 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6241 wxColour *result;
6242 PyObject * obj0 = 0 ;
6243 char *kwnames[] = {
6244 (char *) "self", NULL
6245 };
6246
6247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6249 {
6250 PyThreadState* __tstate = wxPyBeginAllowThreads();
6251 {
6252 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6253 result = (wxColour *) &_result_ref;
6254 }
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6260 return resultobj;
6261 fail:
6262 return NULL;
6263 }
6264
6265
6266 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj;
6268 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6269 wxColour *result;
6270 PyObject * obj0 = 0 ;
6271 char *kwnames[] = {
6272 (char *) "self", NULL
6273 };
6274
6275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6277 {
6278 PyThreadState* __tstate = wxPyBeginAllowThreads();
6279 {
6280 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6281 result = (wxColour *) &_result_ref;
6282 }
6283
6284 wxPyEndAllowThreads(__tstate);
6285 if (PyErr_Occurred()) SWIG_fail;
6286 }
6287 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6288 return resultobj;
6289 fail:
6290 return NULL;
6291 }
6292
6293
6294 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6295 PyObject *resultobj;
6296 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6297 wxFont *result;
6298 PyObject * obj0 = 0 ;
6299 char *kwnames[] = {
6300 (char *) "self", NULL
6301 };
6302
6303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) 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 {
6308 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6309 result = (wxFont *) &_result_ref;
6310 }
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6316 return resultobj;
6317 fail:
6318 return NULL;
6319 }
6320
6321
6322 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj;
6324 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6325 int result;
6326 PyObject * obj0 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6336
6337 wxPyEndAllowThreads(__tstate);
6338 if (PyErr_Occurred()) SWIG_fail;
6339 }
6340 resultobj = PyInt_FromLong((long)result);
6341 return resultobj;
6342 fail:
6343 return NULL;
6344 }
6345
6346
6347 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6348 PyObject *resultobj;
6349 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6350 wxArrayInt *result;
6351 PyObject * obj0 = 0 ;
6352 char *kwnames[] = {
6353 (char *) "self", NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",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 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6362 result = (wxArrayInt *) &_result_ref;
6363 }
6364
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
6368 {
6369 resultobj = PyList_New(0);
6370 size_t idx;
6371 for (idx = 0; idx < result->GetCount(); idx += 1) {
6372 PyObject* val = PyInt_FromLong( result->Item(idx) );
6373 PyList_Append(resultobj, val);
6374 Py_DECREF(val);
6375 }
6376 }
6377 return resultobj;
6378 fail:
6379 return NULL;
6380 }
6381
6382
6383 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6384 PyObject *resultobj;
6385 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6386 long result;
6387 PyObject * obj0 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "self", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6394 {
6395 PyThreadState* __tstate = wxPyBeginAllowThreads();
6396 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6397
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 resultobj = PyInt_FromLong((long)result);
6402 return resultobj;
6403 fail:
6404 return NULL;
6405 }
6406
6407
6408 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6409 PyObject *resultobj;
6410 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6411 long result;
6412 PyObject * obj0 = 0 ;
6413 char *kwnames[] = {
6414 (char *) "self", NULL
6415 };
6416
6417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6419 {
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6422
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
6426 resultobj = PyInt_FromLong((long)result);
6427 return resultobj;
6428 fail:
6429 return NULL;
6430 }
6431
6432
6433 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6434 PyObject *resultobj;
6435 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6436 long result;
6437 PyObject * obj0 = 0 ;
6438 char *kwnames[] = {
6439 (char *) "self", NULL
6440 };
6441
6442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6444 {
6445 PyThreadState* __tstate = wxPyBeginAllowThreads();
6446 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6447
6448 wxPyEndAllowThreads(__tstate);
6449 if (PyErr_Occurred()) SWIG_fail;
6450 }
6451 resultobj = PyInt_FromLong((long)result);
6452 return resultobj;
6453 fail:
6454 return NULL;
6455 }
6456
6457
6458 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6459 PyObject *resultobj;
6460 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6461 bool result;
6462 PyObject * obj0 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6469 {
6470 PyThreadState* __tstate = wxPyBeginAllowThreads();
6471 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6472
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 resultobj = PyInt_FromLong((long)result);
6477 return resultobj;
6478 fail:
6479 return NULL;
6480 }
6481
6482
6483 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6484 PyObject *resultobj;
6485 wxTextAttr *arg1 = 0 ;
6486 wxTextAttr *arg2 = 0 ;
6487 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6488 wxTextAttr result;
6489 PyObject * obj0 = 0 ;
6490 PyObject * obj1 = 0 ;
6491 PyObject * obj2 = 0 ;
6492 char *kwnames[] = {
6493 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6494 };
6495
6496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6498 if (arg1 == NULL) {
6499 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6500 }
6501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6502 if (arg2 == NULL) {
6503 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6504 }
6505 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6506 {
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6509
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 {
6514 wxTextAttr * resultptr;
6515 resultptr = new wxTextAttr((wxTextAttr &) result);
6516 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6517 }
6518 return resultobj;
6519 fail:
6520 return NULL;
6521 }
6522
6523
6524 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6525 PyObject *obj;
6526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6527 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6528 Py_INCREF(obj);
6529 return Py_BuildValue((char *)"");
6530 }
6531 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6532 PyObject *resultobj;
6533 wxWindow *arg1 = (wxWindow *) 0 ;
6534 int arg2 ;
6535 wxString const &arg3_defvalue = wxPyEmptyString ;
6536 wxString *arg3 = (wxString *) &arg3_defvalue ;
6537 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6538 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6539 wxSize const &arg5_defvalue = wxDefaultSize ;
6540 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6541 long arg6 = (long) 0 ;
6542 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6543 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6544 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6545 wxString *arg8 = (wxString *) &arg8_defvalue ;
6546 wxTextCtrl *result;
6547 bool temp3 = False ;
6548 wxPoint temp4 ;
6549 wxSize temp5 ;
6550 bool temp8 = False ;
6551 PyObject * obj0 = 0 ;
6552 PyObject * obj2 = 0 ;
6553 PyObject * obj3 = 0 ;
6554 PyObject * obj4 = 0 ;
6555 PyObject * obj6 = 0 ;
6556 PyObject * obj7 = 0 ;
6557 char *kwnames[] = {
6558 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6559 };
6560
6561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6563 if (obj2) {
6564 {
6565 arg3 = wxString_in_helper(obj2);
6566 if (arg3 == NULL) SWIG_fail;
6567 temp3 = True;
6568 }
6569 }
6570 if (obj3) {
6571 {
6572 arg4 = &temp4;
6573 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6574 }
6575 }
6576 if (obj4) {
6577 {
6578 arg5 = &temp5;
6579 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6580 }
6581 }
6582 if (obj6) {
6583 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6584 if (arg7 == NULL) {
6585 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6586 }
6587 }
6588 if (obj7) {
6589 {
6590 arg8 = wxString_in_helper(obj7);
6591 if (arg8 == NULL) SWIG_fail;
6592 temp8 = True;
6593 }
6594 }
6595 {
6596 PyThreadState* __tstate = wxPyBeginAllowThreads();
6597 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6598
6599 wxPyEndAllowThreads(__tstate);
6600 if (PyErr_Occurred()) SWIG_fail;
6601 }
6602 {
6603 resultobj = wxPyMake_wxObject(result);
6604 }
6605 {
6606 if (temp3)
6607 delete arg3;
6608 }
6609 {
6610 if (temp8)
6611 delete arg8;
6612 }
6613 return resultobj;
6614 fail:
6615 {
6616 if (temp3)
6617 delete arg3;
6618 }
6619 {
6620 if (temp8)
6621 delete arg8;
6622 }
6623 return NULL;
6624 }
6625
6626
6627 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6628 PyObject *resultobj;
6629 wxTextCtrl *result;
6630 char *kwnames[] = {
6631 NULL
6632 };
6633
6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6635 {
6636 PyThreadState* __tstate = wxPyBeginAllowThreads();
6637 result = (wxTextCtrl *)new wxTextCtrl();
6638
6639 wxPyEndAllowThreads(__tstate);
6640 if (PyErr_Occurred()) SWIG_fail;
6641 }
6642 {
6643 resultobj = wxPyMake_wxObject(result);
6644 }
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6652 PyObject *resultobj;
6653 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6654 wxWindow *arg2 = (wxWindow *) 0 ;
6655 int arg3 ;
6656 wxString const &arg4_defvalue = wxPyEmptyString ;
6657 wxString *arg4 = (wxString *) &arg4_defvalue ;
6658 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6659 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6660 wxSize const &arg6_defvalue = wxDefaultSize ;
6661 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6662 long arg7 = (long) 0 ;
6663 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6664 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6665 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6666 wxString *arg9 = (wxString *) &arg9_defvalue ;
6667 bool result;
6668 bool temp4 = False ;
6669 wxPoint temp5 ;
6670 wxSize temp6 ;
6671 bool temp9 = False ;
6672 PyObject * obj0 = 0 ;
6673 PyObject * obj1 = 0 ;
6674 PyObject * obj3 = 0 ;
6675 PyObject * obj4 = 0 ;
6676 PyObject * obj5 = 0 ;
6677 PyObject * obj7 = 0 ;
6678 PyObject * obj8 = 0 ;
6679 char *kwnames[] = {
6680 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6681 };
6682
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6686 if (obj3) {
6687 {
6688 arg4 = wxString_in_helper(obj3);
6689 if (arg4 == NULL) SWIG_fail;
6690 temp4 = True;
6691 }
6692 }
6693 if (obj4) {
6694 {
6695 arg5 = &temp5;
6696 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6697 }
6698 }
6699 if (obj5) {
6700 {
6701 arg6 = &temp6;
6702 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6703 }
6704 }
6705 if (obj7) {
6706 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6707 if (arg8 == NULL) {
6708 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6709 }
6710 }
6711 if (obj8) {
6712 {
6713 arg9 = wxString_in_helper(obj8);
6714 if (arg9 == NULL) SWIG_fail;
6715 temp9 = True;
6716 }
6717 }
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6721
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 resultobj = PyInt_FromLong((long)result);
6726 {
6727 if (temp4)
6728 delete arg4;
6729 }
6730 {
6731 if (temp9)
6732 delete arg9;
6733 }
6734 return resultobj;
6735 fail:
6736 {
6737 if (temp4)
6738 delete arg4;
6739 }
6740 {
6741 if (temp9)
6742 delete arg9;
6743 }
6744 return NULL;
6745 }
6746
6747
6748 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6749 PyObject *resultobj;
6750 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6751 wxString result;
6752 PyObject * obj0 = 0 ;
6753 char *kwnames[] = {
6754 (char *) "self", NULL
6755 };
6756
6757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6759 {
6760 PyThreadState* __tstate = wxPyBeginAllowThreads();
6761 result = ((wxTextCtrl const *)arg1)->GetValue();
6762
6763 wxPyEndAllowThreads(__tstate);
6764 if (PyErr_Occurred()) SWIG_fail;
6765 }
6766 {
6767 #if wxUSE_UNICODE
6768 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6769 #else
6770 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6771 #endif
6772 }
6773 return resultobj;
6774 fail:
6775 return NULL;
6776 }
6777
6778
6779 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6780 PyObject *resultobj;
6781 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6782 wxString *arg2 = 0 ;
6783 bool temp2 = False ;
6784 PyObject * obj0 = 0 ;
6785 PyObject * obj1 = 0 ;
6786 char *kwnames[] = {
6787 (char *) "self",(char *) "value", NULL
6788 };
6789
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6792 {
6793 arg2 = wxString_in_helper(obj1);
6794 if (arg2 == NULL) SWIG_fail;
6795 temp2 = True;
6796 }
6797 {
6798 PyThreadState* __tstate = wxPyBeginAllowThreads();
6799 (arg1)->SetValue((wxString const &)*arg2);
6800
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 }
6804 Py_INCREF(Py_None); resultobj = Py_None;
6805 {
6806 if (temp2)
6807 delete arg2;
6808 }
6809 return resultobj;
6810 fail:
6811 {
6812 if (temp2)
6813 delete arg2;
6814 }
6815 return NULL;
6816 }
6817
6818
6819 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6820 PyObject *resultobj;
6821 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6822 long arg2 ;
6823 long arg3 ;
6824 wxString result;
6825 PyObject * obj0 = 0 ;
6826 char *kwnames[] = {
6827 (char *) "self",(char *) "from",(char *) "to", NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6835
6836 wxPyEndAllowThreads(__tstate);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
6839 {
6840 #if wxUSE_UNICODE
6841 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6842 #else
6843 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6844 #endif
6845 }
6846 return resultobj;
6847 fail:
6848 return NULL;
6849 }
6850
6851
6852 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6853 PyObject *resultobj;
6854 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6855 long arg2 ;
6856 int result;
6857 PyObject * obj0 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self",(char *) "lineNo", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 resultobj = PyInt_FromLong((long)result);
6872 return resultobj;
6873 fail:
6874 return NULL;
6875 }
6876
6877
6878 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6881 long arg2 ;
6882 wxString result;
6883 PyObject * obj0 = 0 ;
6884 char *kwnames[] = {
6885 (char *) "self",(char *) "lineNo", NULL
6886 };
6887
6888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6890 {
6891 PyThreadState* __tstate = wxPyBeginAllowThreads();
6892 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6893
6894 wxPyEndAllowThreads(__tstate);
6895 if (PyErr_Occurred()) SWIG_fail;
6896 }
6897 {
6898 #if wxUSE_UNICODE
6899 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6900 #else
6901 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6902 #endif
6903 }
6904 return resultobj;
6905 fail:
6906 return NULL;
6907 }
6908
6909
6910 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6911 PyObject *resultobj;
6912 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6913 int result;
6914 PyObject * obj0 = 0 ;
6915 char *kwnames[] = {
6916 (char *) "self", NULL
6917 };
6918
6919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6921 {
6922 PyThreadState* __tstate = wxPyBeginAllowThreads();
6923 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6924
6925 wxPyEndAllowThreads(__tstate);
6926 if (PyErr_Occurred()) SWIG_fail;
6927 }
6928 resultobj = PyInt_FromLong((long)result);
6929 return resultobj;
6930 fail:
6931 return NULL;
6932 }
6933
6934
6935 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6936 PyObject *resultobj;
6937 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6938 bool result;
6939 PyObject * obj0 = 0 ;
6940 char *kwnames[] = {
6941 (char *) "self", NULL
6942 };
6943
6944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6946 {
6947 PyThreadState* __tstate = wxPyBeginAllowThreads();
6948 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6949
6950 wxPyEndAllowThreads(__tstate);
6951 if (PyErr_Occurred()) SWIG_fail;
6952 }
6953 resultobj = PyInt_FromLong((long)result);
6954 return resultobj;
6955 fail:
6956 return NULL;
6957 }
6958
6959
6960 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6961 PyObject *resultobj;
6962 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6963 bool result;
6964 PyObject * obj0 = 0 ;
6965 char *kwnames[] = {
6966 (char *) "self", NULL
6967 };
6968
6969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) 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 = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6974
6975 wxPyEndAllowThreads(__tstate);
6976 if (PyErr_Occurred()) SWIG_fail;
6977 }
6978 resultobj = PyInt_FromLong((long)result);
6979 return resultobj;
6980 fail:
6981 return NULL;
6982 }
6983
6984
6985 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6986 PyObject *resultobj;
6987 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6988 bool result;
6989 PyObject * obj0 = 0 ;
6990 char *kwnames[] = {
6991 (char *) "self", NULL
6992 };
6993
6994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6999
7000 wxPyEndAllowThreads(__tstate);
7001 if (PyErr_Occurred()) SWIG_fail;
7002 }
7003 resultobj = PyInt_FromLong((long)result);
7004 return resultobj;
7005 fail:
7006 return NULL;
7007 }
7008
7009
7010 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7011 PyObject *resultobj;
7012 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7013 bool result;
7014 PyObject * obj0 = 0 ;
7015 char *kwnames[] = {
7016 (char *) "self", NULL
7017 };
7018
7019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7021 {
7022 PyThreadState* __tstate = wxPyBeginAllowThreads();
7023 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7024
7025 wxPyEndAllowThreads(__tstate);
7026 if (PyErr_Occurred()) SWIG_fail;
7027 }
7028 resultobj = PyInt_FromLong((long)result);
7029 return resultobj;
7030 fail:
7031 return NULL;
7032 }
7033
7034
7035 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7036 PyObject *resultobj;
7037 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7038 long *arg2 = (long *) 0 ;
7039 long *arg3 = (long *) 0 ;
7040 long temp2 ;
7041 long temp3 ;
7042 PyObject * obj0 = 0 ;
7043 char *kwnames[] = {
7044 (char *) "self", NULL
7045 };
7046
7047 arg2 = &temp2;
7048 arg3 = &temp3;
7049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7051 {
7052 PyThreadState* __tstate = wxPyBeginAllowThreads();
7053 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7054
7055 wxPyEndAllowThreads(__tstate);
7056 if (PyErr_Occurred()) SWIG_fail;
7057 }
7058 Py_INCREF(Py_None); resultobj = Py_None;
7059 {
7060 PyObject *o = PyInt_FromLong((long) (*arg2));
7061 resultobj = t_output_helper(resultobj,o);
7062 }
7063 {
7064 PyObject *o = PyInt_FromLong((long) (*arg3));
7065 resultobj = t_output_helper(resultobj,o);
7066 }
7067 return resultobj;
7068 fail:
7069 return NULL;
7070 }
7071
7072
7073 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7074 PyObject *resultobj;
7075 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7076 wxString result;
7077 PyObject * obj0 = 0 ;
7078 char *kwnames[] = {
7079 (char *) "self", NULL
7080 };
7081
7082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7087
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 {
7092 #if wxUSE_UNICODE
7093 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7094 #else
7095 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7096 #endif
7097 }
7098 return resultobj;
7099 fail:
7100 return NULL;
7101 }
7102
7103
7104 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7107 PyObject * obj0 = 0 ;
7108 char *kwnames[] = {
7109 (char *) "self", NULL
7110 };
7111
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 (arg1)->Clear();
7117
7118 wxPyEndAllowThreads(__tstate);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 }
7121 Py_INCREF(Py_None); resultobj = Py_None;
7122 return resultobj;
7123 fail:
7124 return NULL;
7125 }
7126
7127
7128 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject *resultobj;
7130 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7131 long arg2 ;
7132 long arg3 ;
7133 wxString *arg4 = 0 ;
7134 bool temp4 = False ;
7135 PyObject * obj0 = 0 ;
7136 PyObject * obj3 = 0 ;
7137 char *kwnames[] = {
7138 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7139 };
7140
7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7143 {
7144 arg4 = wxString_in_helper(obj3);
7145 if (arg4 == NULL) SWIG_fail;
7146 temp4 = True;
7147 }
7148 {
7149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7150 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 Py_INCREF(Py_None); resultobj = Py_None;
7156 {
7157 if (temp4)
7158 delete arg4;
7159 }
7160 return resultobj;
7161 fail:
7162 {
7163 if (temp4)
7164 delete arg4;
7165 }
7166 return NULL;
7167 }
7168
7169
7170 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7171 PyObject *resultobj;
7172 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7173 long arg2 ;
7174 long arg3 ;
7175 PyObject * obj0 = 0 ;
7176 char *kwnames[] = {
7177 (char *) "self",(char *) "from",(char *) "to", NULL
7178 };
7179
7180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
7181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7182 {
7183 PyThreadState* __tstate = wxPyBeginAllowThreads();
7184 (arg1)->Remove(arg2,arg3);
7185
7186 wxPyEndAllowThreads(__tstate);
7187 if (PyErr_Occurred()) SWIG_fail;
7188 }
7189 Py_INCREF(Py_None); resultobj = Py_None;
7190 return resultobj;
7191 fail:
7192 return NULL;
7193 }
7194
7195
7196 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7197 PyObject *resultobj;
7198 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7199 wxString *arg2 = 0 ;
7200 bool result;
7201 bool temp2 = False ;
7202 PyObject * obj0 = 0 ;
7203 PyObject * obj1 = 0 ;
7204 char *kwnames[] = {
7205 (char *) "self",(char *) "file", NULL
7206 };
7207
7208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7210 {
7211 arg2 = wxString_in_helper(obj1);
7212 if (arg2 == NULL) SWIG_fail;
7213 temp2 = True;
7214 }
7215 {
7216 PyThreadState* __tstate = wxPyBeginAllowThreads();
7217 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7218
7219 wxPyEndAllowThreads(__tstate);
7220 if (PyErr_Occurred()) SWIG_fail;
7221 }
7222 resultobj = PyInt_FromLong((long)result);
7223 {
7224 if (temp2)
7225 delete arg2;
7226 }
7227 return resultobj;
7228 fail:
7229 {
7230 if (temp2)
7231 delete arg2;
7232 }
7233 return NULL;
7234 }
7235
7236
7237 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7238 PyObject *resultobj;
7239 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7240 wxString const &arg2_defvalue = wxPyEmptyString ;
7241 wxString *arg2 = (wxString *) &arg2_defvalue ;
7242 bool result;
7243 bool temp2 = False ;
7244 PyObject * obj0 = 0 ;
7245 PyObject * obj1 = 0 ;
7246 char *kwnames[] = {
7247 (char *) "self",(char *) "file", NULL
7248 };
7249
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7252 if (obj1) {
7253 {
7254 arg2 = wxString_in_helper(obj1);
7255 if (arg2 == NULL) SWIG_fail;
7256 temp2 = True;
7257 }
7258 }
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = PyInt_FromLong((long)result);
7267 {
7268 if (temp2)
7269 delete arg2;
7270 }
7271 return resultobj;
7272 fail:
7273 {
7274 if (temp2)
7275 delete arg2;
7276 }
7277 return NULL;
7278 }
7279
7280
7281 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7282 PyObject *resultobj;
7283 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7284 PyObject * obj0 = 0 ;
7285 char *kwnames[] = {
7286 (char *) "self", NULL
7287 };
7288
7289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7291 {
7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
7293 (arg1)->MarkDirty();
7294
7295 wxPyEndAllowThreads(__tstate);
7296 if (PyErr_Occurred()) SWIG_fail;
7297 }
7298 Py_INCREF(Py_None); resultobj = Py_None;
7299 return resultobj;
7300 fail:
7301 return NULL;
7302 }
7303
7304
7305 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7306 PyObject *resultobj;
7307 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7308 PyObject * obj0 = 0 ;
7309 char *kwnames[] = {
7310 (char *) "self", NULL
7311 };
7312
7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 (arg1)->DiscardEdits();
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 Py_INCREF(Py_None); resultobj = Py_None;
7323 return resultobj;
7324 fail:
7325 return NULL;
7326 }
7327
7328
7329 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7330 PyObject *resultobj;
7331 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7332 unsigned long arg2 ;
7333 PyObject * obj0 = 0 ;
7334 PyObject * obj1 = 0 ;
7335 char *kwnames[] = {
7336 (char *) "self",(char *) "len", NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7341 {
7342 arg2 = (unsigned long) SPyObj_AsUnsignedLong(obj1);
7343 if (PyErr_Occurred()) SWIG_fail;
7344 }
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 (arg1)->SetMaxLength(arg2);
7348
7349 wxPyEndAllowThreads(__tstate);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
7352 Py_INCREF(Py_None); resultobj = Py_None;
7353 return resultobj;
7354 fail:
7355 return NULL;
7356 }
7357
7358
7359 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7360 PyObject *resultobj;
7361 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7362 wxString *arg2 = 0 ;
7363 bool temp2 = False ;
7364 PyObject * obj0 = 0 ;
7365 PyObject * obj1 = 0 ;
7366 char *kwnames[] = {
7367 (char *) "self",(char *) "text", NULL
7368 };
7369
7370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7372 {
7373 arg2 = wxString_in_helper(obj1);
7374 if (arg2 == NULL) SWIG_fail;
7375 temp2 = True;
7376 }
7377 {
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 (arg1)->WriteText((wxString const &)*arg2);
7380
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 Py_INCREF(Py_None); resultobj = Py_None;
7385 {
7386 if (temp2)
7387 delete arg2;
7388 }
7389 return resultobj;
7390 fail:
7391 {
7392 if (temp2)
7393 delete arg2;
7394 }
7395 return NULL;
7396 }
7397
7398
7399 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7400 PyObject *resultobj;
7401 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7402 wxString *arg2 = 0 ;
7403 bool temp2 = False ;
7404 PyObject * obj0 = 0 ;
7405 PyObject * obj1 = 0 ;
7406 char *kwnames[] = {
7407 (char *) "self",(char *) "text", NULL
7408 };
7409
7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7412 {
7413 arg2 = wxString_in_helper(obj1);
7414 if (arg2 == NULL) SWIG_fail;
7415 temp2 = True;
7416 }
7417 {
7418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7419 (arg1)->AppendText((wxString const &)*arg2);
7420
7421 wxPyEndAllowThreads(__tstate);
7422 if (PyErr_Occurred()) SWIG_fail;
7423 }
7424 Py_INCREF(Py_None); resultobj = Py_None;
7425 {
7426 if (temp2)
7427 delete arg2;
7428 }
7429 return resultobj;
7430 fail:
7431 {
7432 if (temp2)
7433 delete arg2;
7434 }
7435 return NULL;
7436 }
7437
7438
7439 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7440 PyObject *resultobj;
7441 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7442 wxKeyEvent *arg2 = 0 ;
7443 bool result;
7444 PyObject * obj0 = 0 ;
7445 PyObject * obj1 = 0 ;
7446 char *kwnames[] = {
7447 (char *) "self",(char *) "event", NULL
7448 };
7449
7450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7453 if (arg2 == NULL) {
7454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7455 }
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 resultobj = PyInt_FromLong((long)result);
7464 return resultobj;
7465 fail:
7466 return NULL;
7467 }
7468
7469
7470 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7473 long arg2 ;
7474 long arg3 ;
7475 wxTextAttr *arg4 = 0 ;
7476 bool result;
7477 PyObject * obj0 = 0 ;
7478 PyObject * obj3 = 0 ;
7479 char *kwnames[] = {
7480 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7481 };
7482
7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7485 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7486 if (arg4 == NULL) {
7487 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7488 }
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7492
7493 wxPyEndAllowThreads(__tstate);
7494 if (PyErr_Occurred()) SWIG_fail;
7495 }
7496 resultobj = PyInt_FromLong((long)result);
7497 return resultobj;
7498 fail:
7499 return NULL;
7500 }
7501
7502
7503 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7504 PyObject *resultobj;
7505 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7506 long arg2 ;
7507 wxTextAttr *arg3 = 0 ;
7508 bool result;
7509 PyObject * obj0 = 0 ;
7510 PyObject * obj2 = 0 ;
7511 char *kwnames[] = {
7512 (char *) "self",(char *) "position",(char *) "style", NULL
7513 };
7514
7515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7517 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7518 if (arg3 == NULL) {
7519 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7520 }
7521 {
7522 PyThreadState* __tstate = wxPyBeginAllowThreads();
7523 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7524
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 resultobj = PyInt_FromLong((long)result);
7529 return resultobj;
7530 fail:
7531 return NULL;
7532 }
7533
7534
7535 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7536 PyObject *resultobj;
7537 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7538 wxTextAttr *arg2 = 0 ;
7539 bool result;
7540 PyObject * obj0 = 0 ;
7541 PyObject * obj1 = 0 ;
7542 char *kwnames[] = {
7543 (char *) "self",(char *) "style", NULL
7544 };
7545
7546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7548 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7549 if (arg2 == NULL) {
7550 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7551 }
7552 {
7553 PyThreadState* __tstate = wxPyBeginAllowThreads();
7554 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7555
7556 wxPyEndAllowThreads(__tstate);
7557 if (PyErr_Occurred()) SWIG_fail;
7558 }
7559 resultobj = PyInt_FromLong((long)result);
7560 return resultobj;
7561 fail:
7562 return NULL;
7563 }
7564
7565
7566 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject *resultobj;
7568 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7569 wxTextAttr *result;
7570 PyObject * obj0 = 0 ;
7571 char *kwnames[] = {
7572 (char *) "self", NULL
7573 };
7574
7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7577 {
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
7579 {
7580 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7581 result = (wxTextAttr *) &_result_ref;
7582 }
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7588 return resultobj;
7589 fail:
7590 return NULL;
7591 }
7592
7593
7594 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7597 long arg2 ;
7598 long arg3 ;
7599 long result;
7600 PyObject * obj0 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "self",(char *) "x",(char *) "y", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7607 {
7608 PyThreadState* __tstate = wxPyBeginAllowThreads();
7609 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7610
7611 wxPyEndAllowThreads(__tstate);
7612 if (PyErr_Occurred()) SWIG_fail;
7613 }
7614 resultobj = PyInt_FromLong((long)result);
7615 return resultobj;
7616 fail:
7617 return NULL;
7618 }
7619
7620
7621 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7622 PyObject *resultobj;
7623 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7624 long arg2 ;
7625 long *arg3 = (long *) 0 ;
7626 long *arg4 = (long *) 0 ;
7627 long temp3 ;
7628 long temp4 ;
7629 PyObject * obj0 = 0 ;
7630 char *kwnames[] = {
7631 (char *) "self",(char *) "pos", NULL
7632 };
7633
7634 arg3 = &temp3;
7635 arg4 = &temp4;
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7638 {
7639 PyThreadState* __tstate = wxPyBeginAllowThreads();
7640 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7641
7642 wxPyEndAllowThreads(__tstate);
7643 if (PyErr_Occurred()) SWIG_fail;
7644 }
7645 Py_INCREF(Py_None); resultobj = Py_None;
7646 {
7647 PyObject *o = PyInt_FromLong((long) (*arg3));
7648 resultobj = t_output_helper(resultobj,o);
7649 }
7650 {
7651 PyObject *o = PyInt_FromLong((long) (*arg4));
7652 resultobj = t_output_helper(resultobj,o);
7653 }
7654 return resultobj;
7655 fail:
7656 return NULL;
7657 }
7658
7659
7660 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7661 PyObject *resultobj;
7662 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7663 long arg2 ;
7664 PyObject * obj0 = 0 ;
7665 char *kwnames[] = {
7666 (char *) "self",(char *) "pos", NULL
7667 };
7668
7669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
7673 (arg1)->ShowPosition(arg2);
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 Py_INCREF(Py_None); resultobj = Py_None;
7679 return resultobj;
7680 fail:
7681 return NULL;
7682 }
7683
7684
7685 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7686 PyObject *resultobj;
7687 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7688 PyObject * obj0 = 0 ;
7689 char *kwnames[] = {
7690 (char *) "self", NULL
7691 };
7692
7693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 (arg1)->Copy();
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 Py_INCREF(Py_None); resultobj = Py_None;
7703 return resultobj;
7704 fail:
7705 return NULL;
7706 }
7707
7708
7709 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7712 PyObject * obj0 = 0 ;
7713 char *kwnames[] = {
7714 (char *) "self", NULL
7715 };
7716
7717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) 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 (arg1)->Cut();
7722
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 Py_INCREF(Py_None); resultobj = Py_None;
7727 return resultobj;
7728 fail:
7729 return NULL;
7730 }
7731
7732
7733 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject *resultobj;
7735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7736 PyObject * obj0 = 0 ;
7737 char *kwnames[] = {
7738 (char *) "self", NULL
7739 };
7740
7741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7743 {
7744 PyThreadState* __tstate = wxPyBeginAllowThreads();
7745 (arg1)->Paste();
7746
7747 wxPyEndAllowThreads(__tstate);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 }
7750 Py_INCREF(Py_None); resultobj = Py_None;
7751 return resultobj;
7752 fail:
7753 return NULL;
7754 }
7755
7756
7757 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj;
7759 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7760 bool result;
7761 PyObject * obj0 = 0 ;
7762 char *kwnames[] = {
7763 (char *) "self", NULL
7764 };
7765
7766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7768 {
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7771
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 }
7775 resultobj = PyInt_FromLong((long)result);
7776 return resultobj;
7777 fail:
7778 return NULL;
7779 }
7780
7781
7782 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7783 PyObject *resultobj;
7784 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7785 bool result;
7786 PyObject * obj0 = 0 ;
7787 char *kwnames[] = {
7788 (char *) "self", NULL
7789 };
7790
7791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7796
7797 wxPyEndAllowThreads(__tstate);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
7800 resultobj = PyInt_FromLong((long)result);
7801 return resultobj;
7802 fail:
7803 return NULL;
7804 }
7805
7806
7807 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7808 PyObject *resultobj;
7809 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7810 bool result;
7811 PyObject * obj0 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 resultobj = PyInt_FromLong((long)result);
7826 return resultobj;
7827 fail:
7828 return NULL;
7829 }
7830
7831
7832 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7835 PyObject * obj0 = 0 ;
7836 char *kwnames[] = {
7837 (char *) "self", NULL
7838 };
7839
7840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 (arg1)->Undo();
7845
7846 wxPyEndAllowThreads(__tstate);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 }
7849 Py_INCREF(Py_None); resultobj = Py_None;
7850 return resultobj;
7851 fail:
7852 return NULL;
7853 }
7854
7855
7856 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7857 PyObject *resultobj;
7858 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7859 PyObject * obj0 = 0 ;
7860 char *kwnames[] = {
7861 (char *) "self", NULL
7862 };
7863
7864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7866 {
7867 PyThreadState* __tstate = wxPyBeginAllowThreads();
7868 (arg1)->Redo();
7869
7870 wxPyEndAllowThreads(__tstate);
7871 if (PyErr_Occurred()) SWIG_fail;
7872 }
7873 Py_INCREF(Py_None); resultobj = Py_None;
7874 return resultobj;
7875 fail:
7876 return NULL;
7877 }
7878
7879
7880 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7881 PyObject *resultobj;
7882 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7883 bool result;
7884 PyObject * obj0 = 0 ;
7885 char *kwnames[] = {
7886 (char *) "self", NULL
7887 };
7888
7889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
7898 resultobj = PyInt_FromLong((long)result);
7899 return resultobj;
7900 fail:
7901 return NULL;
7902 }
7903
7904
7905 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7906 PyObject *resultobj;
7907 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7908 bool result;
7909 PyObject * obj0 = 0 ;
7910 char *kwnames[] = {
7911 (char *) "self", NULL
7912 };
7913
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7916 {
7917 PyThreadState* __tstate = wxPyBeginAllowThreads();
7918 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7919
7920 wxPyEndAllowThreads(__tstate);
7921 if (PyErr_Occurred()) SWIG_fail;
7922 }
7923 resultobj = PyInt_FromLong((long)result);
7924 return resultobj;
7925 fail:
7926 return NULL;
7927 }
7928
7929
7930 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7931 PyObject *resultobj;
7932 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7933 long arg2 ;
7934 PyObject * obj0 = 0 ;
7935 char *kwnames[] = {
7936 (char *) "self",(char *) "pos", NULL
7937 };
7938
7939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7941 {
7942 PyThreadState* __tstate = wxPyBeginAllowThreads();
7943 (arg1)->SetInsertionPoint(arg2);
7944
7945 wxPyEndAllowThreads(__tstate);
7946 if (PyErr_Occurred()) SWIG_fail;
7947 }
7948 Py_INCREF(Py_None); resultobj = Py_None;
7949 return resultobj;
7950 fail:
7951 return NULL;
7952 }
7953
7954
7955 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7956 PyObject *resultobj;
7957 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7958 PyObject * obj0 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "self", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 (arg1)->SetInsertionPointEnd();
7968
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
7972 Py_INCREF(Py_None); resultobj = Py_None;
7973 return resultobj;
7974 fail:
7975 return NULL;
7976 }
7977
7978
7979 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject *resultobj;
7981 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7982 long result;
7983 PyObject * obj0 = 0 ;
7984 char *kwnames[] = {
7985 (char *) "self", NULL
7986 };
7987
7988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7993
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 resultobj = PyInt_FromLong((long)result);
7998 return resultobj;
7999 fail:
8000 return NULL;
8001 }
8002
8003
8004 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8005 PyObject *resultobj;
8006 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8007 long result;
8008 PyObject * obj0 = 0 ;
8009 char *kwnames[] = {
8010 (char *) "self", NULL
8011 };
8012
8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8015 {
8016 PyThreadState* __tstate = wxPyBeginAllowThreads();
8017 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8018
8019 wxPyEndAllowThreads(__tstate);
8020 if (PyErr_Occurred()) SWIG_fail;
8021 }
8022 resultobj = PyInt_FromLong((long)result);
8023 return resultobj;
8024 fail:
8025 return NULL;
8026 }
8027
8028
8029 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8030 PyObject *resultobj;
8031 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8032 long arg2 ;
8033 long arg3 ;
8034 PyObject * obj0 = 0 ;
8035 char *kwnames[] = {
8036 (char *) "self",(char *) "from",(char *) "to", NULL
8037 };
8038
8039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
8040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8041 {
8042 PyThreadState* __tstate = wxPyBeginAllowThreads();
8043 (arg1)->SetSelection(arg2,arg3);
8044
8045 wxPyEndAllowThreads(__tstate);
8046 if (PyErr_Occurred()) SWIG_fail;
8047 }
8048 Py_INCREF(Py_None); resultobj = Py_None;
8049 return resultobj;
8050 fail:
8051 return NULL;
8052 }
8053
8054
8055 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8056 PyObject *resultobj;
8057 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8058 PyObject * obj0 = 0 ;
8059 char *kwnames[] = {
8060 (char *) "self", NULL
8061 };
8062
8063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 (arg1)->SelectAll();
8068
8069 wxPyEndAllowThreads(__tstate);
8070 if (PyErr_Occurred()) SWIG_fail;
8071 }
8072 Py_INCREF(Py_None); resultobj = Py_None;
8073 return resultobj;
8074 fail:
8075 return NULL;
8076 }
8077
8078
8079 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj;
8081 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8082 bool arg2 ;
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 char *kwnames[] = {
8086 (char *) "self",(char *) "editable", NULL
8087 };
8088
8089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
8090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8091 {
8092 arg2 = (bool) SPyObj_AsBool(obj1);
8093 if (PyErr_Occurred()) SWIG_fail;
8094 }
8095 {
8096 PyThreadState* __tstate = wxPyBeginAllowThreads();
8097 (arg1)->SetEditable(arg2);
8098
8099 wxPyEndAllowThreads(__tstate);
8100 if (PyErr_Occurred()) SWIG_fail;
8101 }
8102 Py_INCREF(Py_None); resultobj = Py_None;
8103 return resultobj;
8104 fail:
8105 return NULL;
8106 }
8107
8108
8109 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8110 PyObject *resultobj;
8111 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8112 wxString *arg2 = 0 ;
8113 bool temp2 = False ;
8114 PyObject * obj0 = 0 ;
8115 PyObject * obj1 = 0 ;
8116 char *kwnames[] = {
8117 (char *) "self",(char *) "text", NULL
8118 };
8119
8120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
8121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8122 {
8123 arg2 = wxString_in_helper(obj1);
8124 if (arg2 == NULL) SWIG_fail;
8125 temp2 = True;
8126 }
8127 {
8128 PyThreadState* __tstate = wxPyBeginAllowThreads();
8129 wxTextCtrl_write(arg1,(wxString const &)*arg2);
8130
8131 wxPyEndAllowThreads(__tstate);
8132 if (PyErr_Occurred()) SWIG_fail;
8133 }
8134 Py_INCREF(Py_None); resultobj = Py_None;
8135 {
8136 if (temp2)
8137 delete arg2;
8138 }
8139 return resultobj;
8140 fail:
8141 {
8142 if (temp2)
8143 delete arg2;
8144 }
8145 return NULL;
8146 }
8147
8148
8149 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8150 PyObject *resultobj;
8151 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8152 long arg2 ;
8153 long arg3 ;
8154 wxString result;
8155 PyObject * obj0 = 0 ;
8156 char *kwnames[] = {
8157 (char *) "self",(char *) "from",(char *) "to", NULL
8158 };
8159
8160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
8161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8162 {
8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
8164 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8165
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 {
8170 #if wxUSE_UNICODE
8171 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8172 #else
8173 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8174 #endif
8175 }
8176 return resultobj;
8177 fail:
8178 return NULL;
8179 }
8180
8181
8182 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8183 PyObject *obj;
8184 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8185 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8186 Py_INCREF(obj);
8187 return Py_BuildValue((char *)"");
8188 }
8189 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8190 PyObject *resultobj;
8191 int arg1 ;
8192 wxMouseEvent *arg2 = 0 ;
8193 long arg3 ;
8194 long arg4 ;
8195 wxTextUrlEvent *result;
8196 PyObject * obj1 = 0 ;
8197 char *kwnames[] = {
8198 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8199 };
8200
8201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
8202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8203 if (arg2 == NULL) {
8204 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8205 }
8206 {
8207 PyThreadState* __tstate = wxPyBeginAllowThreads();
8208 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8209
8210 wxPyEndAllowThreads(__tstate);
8211 if (PyErr_Occurred()) SWIG_fail;
8212 }
8213 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8214 return resultobj;
8215 fail:
8216 return NULL;
8217 }
8218
8219
8220 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8221 PyObject *resultobj;
8222 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8223 wxMouseEvent *result;
8224 PyObject * obj0 = 0 ;
8225 char *kwnames[] = {
8226 (char *) "self", NULL
8227 };
8228
8229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8231 {
8232 PyThreadState* __tstate = wxPyBeginAllowThreads();
8233 {
8234 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8235 result = (wxMouseEvent *) &_result_ref;
8236 }
8237
8238 wxPyEndAllowThreads(__tstate);
8239 if (PyErr_Occurred()) SWIG_fail;
8240 }
8241 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8242 return resultobj;
8243 fail:
8244 return NULL;
8245 }
8246
8247
8248 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj;
8250 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8251 long result;
8252 PyObject * obj0 = 0 ;
8253 char *kwnames[] = {
8254 (char *) "self", NULL
8255 };
8256
8257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 resultobj = PyInt_FromLong((long)result);
8267 return resultobj;
8268 fail:
8269 return NULL;
8270 }
8271
8272
8273 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8274 PyObject *resultobj;
8275 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8276 long result;
8277 PyObject * obj0 = 0 ;
8278 char *kwnames[] = {
8279 (char *) "self", NULL
8280 };
8281
8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8284 {
8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
8286 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8287
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 resultobj = PyInt_FromLong((long)result);
8292 return resultobj;
8293 fail:
8294 return NULL;
8295 }
8296
8297
8298 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8299 PyObject *obj;
8300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8301 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8302 Py_INCREF(obj);
8303 return Py_BuildValue((char *)"");
8304 }
8305 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
8306 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
8307 return 1;
8308 }
8309
8310
8311 static PyObject *_wrap_ScrollBarNameStr_get() {
8312 PyObject *pyobj;
8313
8314 {
8315 #if wxUSE_UNICODE
8316 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8317 #else
8318 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8319 #endif
8320 }
8321 return pyobj;
8322 }
8323
8324
8325 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8326 PyObject *resultobj;
8327 wxWindow *arg1 = (wxWindow *) 0 ;
8328 int arg2 = (int) -1 ;
8329 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8330 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8331 wxSize const &arg4_defvalue = wxDefaultSize ;
8332 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8333 long arg5 = (long) wxSB_HORIZONTAL ;
8334 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8335 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8336 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8337 wxString *arg7 = (wxString *) &arg7_defvalue ;
8338 wxScrollBar *result;
8339 wxPoint temp3 ;
8340 wxSize temp4 ;
8341 bool temp7 = False ;
8342 PyObject * obj0 = 0 ;
8343 PyObject * obj2 = 0 ;
8344 PyObject * obj3 = 0 ;
8345 PyObject * obj5 = 0 ;
8346 PyObject * obj6 = 0 ;
8347 char *kwnames[] = {
8348 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8349 };
8350
8351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8353 if (obj2) {
8354 {
8355 arg3 = &temp3;
8356 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8357 }
8358 }
8359 if (obj3) {
8360 {
8361 arg4 = &temp4;
8362 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8363 }
8364 }
8365 if (obj5) {
8366 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8367 if (arg6 == NULL) {
8368 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8369 }
8370 }
8371 if (obj6) {
8372 {
8373 arg7 = wxString_in_helper(obj6);
8374 if (arg7 == NULL) SWIG_fail;
8375 temp7 = True;
8376 }
8377 }
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8381
8382 wxPyEndAllowThreads(__tstate);
8383 if (PyErr_Occurred()) SWIG_fail;
8384 }
8385 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8386 {
8387 if (temp7)
8388 delete arg7;
8389 }
8390 return resultobj;
8391 fail:
8392 {
8393 if (temp7)
8394 delete arg7;
8395 }
8396 return NULL;
8397 }
8398
8399
8400 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8401 PyObject *resultobj;
8402 wxScrollBar *result;
8403 char *kwnames[] = {
8404 NULL
8405 };
8406
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8408 {
8409 PyThreadState* __tstate = wxPyBeginAllowThreads();
8410 result = (wxScrollBar *)new wxScrollBar();
8411
8412 wxPyEndAllowThreads(__tstate);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 }
8415 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8416 return resultobj;
8417 fail:
8418 return NULL;
8419 }
8420
8421
8422 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj;
8424 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8425 wxWindow *arg2 = (wxWindow *) 0 ;
8426 int arg3 = (int) -1 ;
8427 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8428 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8429 wxSize const &arg5_defvalue = wxDefaultSize ;
8430 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8431 long arg6 = (long) wxSB_HORIZONTAL ;
8432 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8433 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8434 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8435 wxString *arg8 = (wxString *) &arg8_defvalue ;
8436 bool result;
8437 wxPoint temp4 ;
8438 wxSize temp5 ;
8439 bool temp8 = False ;
8440 PyObject * obj0 = 0 ;
8441 PyObject * obj1 = 0 ;
8442 PyObject * obj3 = 0 ;
8443 PyObject * obj4 = 0 ;
8444 PyObject * obj6 = 0 ;
8445 PyObject * obj7 = 0 ;
8446 char *kwnames[] = {
8447 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8448 };
8449
8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8453 if (obj3) {
8454 {
8455 arg4 = &temp4;
8456 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8457 }
8458 }
8459 if (obj4) {
8460 {
8461 arg5 = &temp5;
8462 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8463 }
8464 }
8465 if (obj6) {
8466 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8467 if (arg7 == NULL) {
8468 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8469 }
8470 }
8471 if (obj7) {
8472 {
8473 arg8 = wxString_in_helper(obj7);
8474 if (arg8 == NULL) SWIG_fail;
8475 temp8 = True;
8476 }
8477 }
8478 {
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8481
8482 wxPyEndAllowThreads(__tstate);
8483 if (PyErr_Occurred()) SWIG_fail;
8484 }
8485 resultobj = PyInt_FromLong((long)result);
8486 {
8487 if (temp8)
8488 delete arg8;
8489 }
8490 return resultobj;
8491 fail:
8492 {
8493 if (temp8)
8494 delete arg8;
8495 }
8496 return NULL;
8497 }
8498
8499
8500 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8501 PyObject *resultobj;
8502 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8503 int result;
8504 PyObject * obj0 = 0 ;
8505 char *kwnames[] = {
8506 (char *) "self", NULL
8507 };
8508
8509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8511 {
8512 PyThreadState* __tstate = wxPyBeginAllowThreads();
8513 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8514
8515 wxPyEndAllowThreads(__tstate);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 }
8518 resultobj = PyInt_FromLong((long)result);
8519 return resultobj;
8520 fail:
8521 return NULL;
8522 }
8523
8524
8525 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8526 PyObject *resultobj;
8527 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8528 int result;
8529 PyObject * obj0 = 0 ;
8530 char *kwnames[] = {
8531 (char *) "self", NULL
8532 };
8533
8534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8536 {
8537 PyThreadState* __tstate = wxPyBeginAllowThreads();
8538 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8539
8540 wxPyEndAllowThreads(__tstate);
8541 if (PyErr_Occurred()) SWIG_fail;
8542 }
8543 resultobj = PyInt_FromLong((long)result);
8544 return resultobj;
8545 fail:
8546 return NULL;
8547 }
8548
8549
8550 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8551 PyObject *resultobj;
8552 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8553 int result;
8554 PyObject * obj0 = 0 ;
8555 char *kwnames[] = {
8556 (char *) "self", NULL
8557 };
8558
8559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8561 {
8562 PyThreadState* __tstate = wxPyBeginAllowThreads();
8563 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8564
8565 wxPyEndAllowThreads(__tstate);
8566 if (PyErr_Occurred()) SWIG_fail;
8567 }
8568 resultobj = PyInt_FromLong((long)result);
8569 return resultobj;
8570 fail:
8571 return NULL;
8572 }
8573
8574
8575 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj;
8577 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8578 int result;
8579 PyObject * obj0 = 0 ;
8580 char *kwnames[] = {
8581 (char *) "self", NULL
8582 };
8583
8584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8586 {
8587 PyThreadState* __tstate = wxPyBeginAllowThreads();
8588 result = (int)((wxScrollBar const *)arg1)->GetRange();
8589
8590 wxPyEndAllowThreads(__tstate);
8591 if (PyErr_Occurred()) SWIG_fail;
8592 }
8593 resultobj = PyInt_FromLong((long)result);
8594 return resultobj;
8595 fail:
8596 return NULL;
8597 }
8598
8599
8600 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8601 PyObject *resultobj;
8602 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8603 bool result;
8604 PyObject * obj0 = 0 ;
8605 char *kwnames[] = {
8606 (char *) "self", NULL
8607 };
8608
8609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 resultobj = PyInt_FromLong((long)result);
8619 return resultobj;
8620 fail:
8621 return NULL;
8622 }
8623
8624
8625 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8626 PyObject *resultobj;
8627 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8628 int arg2 ;
8629 PyObject * obj0 = 0 ;
8630 char *kwnames[] = {
8631 (char *) "self",(char *) "viewStart", NULL
8632 };
8633
8634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8636 {
8637 PyThreadState* __tstate = wxPyBeginAllowThreads();
8638 (arg1)->SetThumbPosition(arg2);
8639
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 Py_INCREF(Py_None); resultobj = Py_None;
8644 return resultobj;
8645 fail:
8646 return NULL;
8647 }
8648
8649
8650 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8651 PyObject *resultobj;
8652 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8653 int arg2 ;
8654 int arg3 ;
8655 int arg4 ;
8656 int arg5 ;
8657 bool arg6 = (bool) True ;
8658 PyObject * obj0 = 0 ;
8659 PyObject * obj5 = 0 ;
8660 char *kwnames[] = {
8661 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8662 };
8663
8664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8666 if (obj5) {
8667 {
8668 arg6 = (bool) SPyObj_AsBool(obj5);
8669 if (PyErr_Occurred()) SWIG_fail;
8670 }
8671 }
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8675
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 Py_INCREF(Py_None); resultobj = Py_None;
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8687 PyObject *obj;
8688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8689 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8690 Py_INCREF(obj);
8691 return Py_BuildValue((char *)"");
8692 }
8693 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
8694 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
8695 return 1;
8696 }
8697
8698
8699 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
8700 PyObject *pyobj;
8701
8702 {
8703 #if wxUSE_UNICODE
8704 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8705 #else
8706 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8707 #endif
8708 }
8709 return pyobj;
8710 }
8711
8712
8713 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
8714 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
8715 return 1;
8716 }
8717
8718
8719 static PyObject *_wrap_SpinCtrlNameStr_get() {
8720 PyObject *pyobj;
8721
8722 {
8723 #if wxUSE_UNICODE
8724 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8725 #else
8726 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8727 #endif
8728 }
8729 return pyobj;
8730 }
8731
8732
8733 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8734 PyObject *resultobj;
8735 wxWindow *arg1 = (wxWindow *) 0 ;
8736 int arg2 = (int) -1 ;
8737 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8738 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8739 wxSize const &arg4_defvalue = wxDefaultSize ;
8740 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8741 long arg5 = (long) wxSP_HORIZONTAL ;
8742 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8743 wxString *arg6 = (wxString *) &arg6_defvalue ;
8744 wxSpinButton *result;
8745 wxPoint temp3 ;
8746 wxSize temp4 ;
8747 bool temp6 = False ;
8748 PyObject * obj0 = 0 ;
8749 PyObject * obj2 = 0 ;
8750 PyObject * obj3 = 0 ;
8751 PyObject * obj5 = 0 ;
8752 char *kwnames[] = {
8753 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8754 };
8755
8756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8758 if (obj2) {
8759 {
8760 arg3 = &temp3;
8761 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8762 }
8763 }
8764 if (obj3) {
8765 {
8766 arg4 = &temp4;
8767 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8768 }
8769 }
8770 if (obj5) {
8771 {
8772 arg6 = wxString_in_helper(obj5);
8773 if (arg6 == NULL) SWIG_fail;
8774 temp6 = True;
8775 }
8776 }
8777 {
8778 PyThreadState* __tstate = wxPyBeginAllowThreads();
8779 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8780
8781 wxPyEndAllowThreads(__tstate);
8782 if (PyErr_Occurred()) SWIG_fail;
8783 }
8784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8785 {
8786 if (temp6)
8787 delete arg6;
8788 }
8789 return resultobj;
8790 fail:
8791 {
8792 if (temp6)
8793 delete arg6;
8794 }
8795 return NULL;
8796 }
8797
8798
8799 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8800 PyObject *resultobj;
8801 wxSpinButton *result;
8802 char *kwnames[] = {
8803 NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 result = (wxSpinButton *)new wxSpinButton();
8810
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8815 return resultobj;
8816 fail:
8817 return NULL;
8818 }
8819
8820
8821 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8822 PyObject *resultobj;
8823 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8824 wxWindow *arg2 = (wxWindow *) 0 ;
8825 int arg3 = (int) -1 ;
8826 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8827 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8828 wxSize const &arg5_defvalue = wxDefaultSize ;
8829 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8830 long arg6 = (long) wxSP_HORIZONTAL ;
8831 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8832 wxString *arg7 = (wxString *) &arg7_defvalue ;
8833 bool result;
8834 wxPoint temp4 ;
8835 wxSize temp5 ;
8836 bool temp7 = False ;
8837 PyObject * obj0 = 0 ;
8838 PyObject * obj1 = 0 ;
8839 PyObject * obj3 = 0 ;
8840 PyObject * obj4 = 0 ;
8841 PyObject * obj6 = 0 ;
8842 char *kwnames[] = {
8843 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8844 };
8845
8846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8848 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8849 if (obj3) {
8850 {
8851 arg4 = &temp4;
8852 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8853 }
8854 }
8855 if (obj4) {
8856 {
8857 arg5 = &temp5;
8858 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8859 }
8860 }
8861 if (obj6) {
8862 {
8863 arg7 = wxString_in_helper(obj6);
8864 if (arg7 == NULL) SWIG_fail;
8865 temp7 = True;
8866 }
8867 }
8868 {
8869 PyThreadState* __tstate = wxPyBeginAllowThreads();
8870 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8871
8872 wxPyEndAllowThreads(__tstate);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 }
8875 resultobj = PyInt_FromLong((long)result);
8876 {
8877 if (temp7)
8878 delete arg7;
8879 }
8880 return resultobj;
8881 fail:
8882 {
8883 if (temp7)
8884 delete arg7;
8885 }
8886 return NULL;
8887 }
8888
8889
8890 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8891 PyObject *resultobj;
8892 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8893 int result;
8894 PyObject * obj0 = 0 ;
8895 char *kwnames[] = {
8896 (char *) "self", NULL
8897 };
8898
8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8901 {
8902 PyThreadState* __tstate = wxPyBeginAllowThreads();
8903 result = (int)((wxSpinButton const *)arg1)->GetValue();
8904
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 resultobj = PyInt_FromLong((long)result);
8909 return resultobj;
8910 fail:
8911 return NULL;
8912 }
8913
8914
8915 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8916 PyObject *resultobj;
8917 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8918 int result;
8919 PyObject * obj0 = 0 ;
8920 char *kwnames[] = {
8921 (char *) "self", NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8926 {
8927 PyThreadState* __tstate = wxPyBeginAllowThreads();
8928 result = (int)((wxSpinButton const *)arg1)->GetMin();
8929
8930 wxPyEndAllowThreads(__tstate);
8931 if (PyErr_Occurred()) SWIG_fail;
8932 }
8933 resultobj = PyInt_FromLong((long)result);
8934 return resultobj;
8935 fail:
8936 return NULL;
8937 }
8938
8939
8940 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8941 PyObject *resultobj;
8942 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8943 int result;
8944 PyObject * obj0 = 0 ;
8945 char *kwnames[] = {
8946 (char *) "self", NULL
8947 };
8948
8949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8951 {
8952 PyThreadState* __tstate = wxPyBeginAllowThreads();
8953 result = (int)((wxSpinButton const *)arg1)->GetMax();
8954
8955 wxPyEndAllowThreads(__tstate);
8956 if (PyErr_Occurred()) SWIG_fail;
8957 }
8958 resultobj = PyInt_FromLong((long)result);
8959 return resultobj;
8960 fail:
8961 return NULL;
8962 }
8963
8964
8965 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8966 PyObject *resultobj;
8967 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8968 int arg2 ;
8969 PyObject * obj0 = 0 ;
8970 char *kwnames[] = {
8971 (char *) "self",(char *) "val", NULL
8972 };
8973
8974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8976 {
8977 PyThreadState* __tstate = wxPyBeginAllowThreads();
8978 (arg1)->SetValue(arg2);
8979
8980 wxPyEndAllowThreads(__tstate);
8981 if (PyErr_Occurred()) SWIG_fail;
8982 }
8983 Py_INCREF(Py_None); resultobj = Py_None;
8984 return resultobj;
8985 fail:
8986 return NULL;
8987 }
8988
8989
8990 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8991 PyObject *resultobj;
8992 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8993 int arg2 ;
8994 PyObject * obj0 = 0 ;
8995 char *kwnames[] = {
8996 (char *) "self",(char *) "minVal", NULL
8997 };
8998
8999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
9000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9001 {
9002 PyThreadState* __tstate = wxPyBeginAllowThreads();
9003 (arg1)->SetMin(arg2);
9004
9005 wxPyEndAllowThreads(__tstate);
9006 if (PyErr_Occurred()) SWIG_fail;
9007 }
9008 Py_INCREF(Py_None); resultobj = Py_None;
9009 return resultobj;
9010 fail:
9011 return NULL;
9012 }
9013
9014
9015 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9016 PyObject *resultobj;
9017 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9018 int arg2 ;
9019 PyObject * obj0 = 0 ;
9020 char *kwnames[] = {
9021 (char *) "self",(char *) "maxVal", NULL
9022 };
9023
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
9025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9026 {
9027 PyThreadState* __tstate = wxPyBeginAllowThreads();
9028 (arg1)->SetMax(arg2);
9029
9030 wxPyEndAllowThreads(__tstate);
9031 if (PyErr_Occurred()) SWIG_fail;
9032 }
9033 Py_INCREF(Py_None); resultobj = Py_None;
9034 return resultobj;
9035 fail:
9036 return NULL;
9037 }
9038
9039
9040 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9041 PyObject *resultobj;
9042 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9043 int arg2 ;
9044 int arg3 ;
9045 PyObject * obj0 = 0 ;
9046 char *kwnames[] = {
9047 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9048 };
9049
9050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9052 {
9053 PyThreadState* __tstate = wxPyBeginAllowThreads();
9054 (arg1)->SetRange(arg2,arg3);
9055
9056 wxPyEndAllowThreads(__tstate);
9057 if (PyErr_Occurred()) SWIG_fail;
9058 }
9059 Py_INCREF(Py_None); resultobj = Py_None;
9060 return resultobj;
9061 fail:
9062 return NULL;
9063 }
9064
9065
9066 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9067 PyObject *resultobj;
9068 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9069 bool result;
9070 PyObject * obj0 = 0 ;
9071 char *kwnames[] = {
9072 (char *) "self", NULL
9073 };
9074
9075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
9076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9077 {
9078 PyThreadState* __tstate = wxPyBeginAllowThreads();
9079 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
9080
9081 wxPyEndAllowThreads(__tstate);
9082 if (PyErr_Occurred()) SWIG_fail;
9083 }
9084 resultobj = PyInt_FromLong((long)result);
9085 return resultobj;
9086 fail:
9087 return NULL;
9088 }
9089
9090
9091 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
9092 PyObject *obj;
9093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9094 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
9095 Py_INCREF(obj);
9096 return Py_BuildValue((char *)"");
9097 }
9098 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9099 PyObject *resultobj;
9100 wxWindow *arg1 = (wxWindow *) 0 ;
9101 int arg2 = (int) -1 ;
9102 wxString const &arg3_defvalue = wxPyEmptyString ;
9103 wxString *arg3 = (wxString *) &arg3_defvalue ;
9104 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9105 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9106 wxSize const &arg5_defvalue = wxDefaultSize ;
9107 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9108 long arg6 = (long) wxSP_ARROW_KEYS ;
9109 int arg7 = (int) 0 ;
9110 int arg8 = (int) 100 ;
9111 int arg9 = (int) 0 ;
9112 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
9113 wxString *arg10 = (wxString *) &arg10_defvalue ;
9114 wxSpinCtrl *result;
9115 bool temp3 = False ;
9116 wxPoint temp4 ;
9117 wxSize temp5 ;
9118 bool temp10 = False ;
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj2 = 0 ;
9121 PyObject * obj3 = 0 ;
9122 PyObject * obj4 = 0 ;
9123 PyObject * obj9 = 0 ;
9124 char *kwnames[] = {
9125 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9126 };
9127
9128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
9129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9130 if (obj2) {
9131 {
9132 arg3 = wxString_in_helper(obj2);
9133 if (arg3 == NULL) SWIG_fail;
9134 temp3 = True;
9135 }
9136 }
9137 if (obj3) {
9138 {
9139 arg4 = &temp4;
9140 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9141 }
9142 }
9143 if (obj4) {
9144 {
9145 arg5 = &temp5;
9146 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9147 }
9148 }
9149 if (obj9) {
9150 {
9151 arg10 = wxString_in_helper(obj9);
9152 if (arg10 == NULL) SWIG_fail;
9153 temp10 = True;
9154 }
9155 }
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9164 {
9165 if (temp3)
9166 delete arg3;
9167 }
9168 {
9169 if (temp10)
9170 delete arg10;
9171 }
9172 return resultobj;
9173 fail:
9174 {
9175 if (temp3)
9176 delete arg3;
9177 }
9178 {
9179 if (temp10)
9180 delete arg10;
9181 }
9182 return NULL;
9183 }
9184
9185
9186 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxSpinCtrl *result;
9189 char *kwnames[] = {
9190 NULL
9191 };
9192
9193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 result = (wxSpinCtrl *)new wxSpinCtrl();
9197
9198 wxPyEndAllowThreads(__tstate);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 }
9201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9202 return resultobj;
9203 fail:
9204 return NULL;
9205 }
9206
9207
9208 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9209 PyObject *resultobj;
9210 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9211 wxWindow *arg2 = (wxWindow *) 0 ;
9212 int arg3 = (int) -1 ;
9213 wxString const &arg4_defvalue = wxPyEmptyString ;
9214 wxString *arg4 = (wxString *) &arg4_defvalue ;
9215 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9216 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9217 wxSize const &arg6_defvalue = wxDefaultSize ;
9218 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9219 long arg7 = (long) wxSP_ARROW_KEYS ;
9220 int arg8 = (int) 0 ;
9221 int arg9 = (int) 100 ;
9222 int arg10 = (int) 0 ;
9223 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
9224 wxString *arg11 = (wxString *) &arg11_defvalue ;
9225 bool result;
9226 bool temp4 = False ;
9227 wxPoint temp5 ;
9228 wxSize temp6 ;
9229 bool temp11 = False ;
9230 PyObject * obj0 = 0 ;
9231 PyObject * obj1 = 0 ;
9232 PyObject * obj3 = 0 ;
9233 PyObject * obj4 = 0 ;
9234 PyObject * obj5 = 0 ;
9235 PyObject * obj10 = 0 ;
9236 char *kwnames[] = {
9237 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9238 };
9239
9240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
9241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9243 if (obj3) {
9244 {
9245 arg4 = wxString_in_helper(obj3);
9246 if (arg4 == NULL) SWIG_fail;
9247 temp4 = True;
9248 }
9249 }
9250 if (obj4) {
9251 {
9252 arg5 = &temp5;
9253 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9254 }
9255 }
9256 if (obj5) {
9257 {
9258 arg6 = &temp6;
9259 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9260 }
9261 }
9262 if (obj10) {
9263 {
9264 arg11 = wxString_in_helper(obj10);
9265 if (arg11 == NULL) SWIG_fail;
9266 temp11 = True;
9267 }
9268 }
9269 {
9270 PyThreadState* __tstate = wxPyBeginAllowThreads();
9271 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9272
9273 wxPyEndAllowThreads(__tstate);
9274 if (PyErr_Occurred()) SWIG_fail;
9275 }
9276 resultobj = PyInt_FromLong((long)result);
9277 {
9278 if (temp4)
9279 delete arg4;
9280 }
9281 {
9282 if (temp11)
9283 delete arg11;
9284 }
9285 return resultobj;
9286 fail:
9287 {
9288 if (temp4)
9289 delete arg4;
9290 }
9291 {
9292 if (temp11)
9293 delete arg11;
9294 }
9295 return NULL;
9296 }
9297
9298
9299 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9300 PyObject *resultobj;
9301 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9302 int result;
9303 PyObject * obj0 = 0 ;
9304 char *kwnames[] = {
9305 (char *) "self", NULL
9306 };
9307
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9310 {
9311 PyThreadState* __tstate = wxPyBeginAllowThreads();
9312 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9313
9314 wxPyEndAllowThreads(__tstate);
9315 if (PyErr_Occurred()) SWIG_fail;
9316 }
9317 resultobj = PyInt_FromLong((long)result);
9318 return resultobj;
9319 fail:
9320 return NULL;
9321 }
9322
9323
9324 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9325 PyObject *resultobj;
9326 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9327 int arg2 ;
9328 PyObject * obj0 = 0 ;
9329 char *kwnames[] = {
9330 (char *) "self",(char *) "value", NULL
9331 };
9332
9333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9335 {
9336 PyThreadState* __tstate = wxPyBeginAllowThreads();
9337 (arg1)->SetValue(arg2);
9338
9339 wxPyEndAllowThreads(__tstate);
9340 if (PyErr_Occurred()) SWIG_fail;
9341 }
9342 Py_INCREF(Py_None); resultobj = Py_None;
9343 return resultobj;
9344 fail:
9345 return NULL;
9346 }
9347
9348
9349 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9350 PyObject *resultobj;
9351 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9352 wxString *arg2 = 0 ;
9353 bool temp2 = False ;
9354 PyObject * obj0 = 0 ;
9355 PyObject * obj1 = 0 ;
9356 char *kwnames[] = {
9357 (char *) "self",(char *) "text", NULL
9358 };
9359
9360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9362 {
9363 arg2 = wxString_in_helper(obj1);
9364 if (arg2 == NULL) SWIG_fail;
9365 temp2 = True;
9366 }
9367 {
9368 PyThreadState* __tstate = wxPyBeginAllowThreads();
9369 (arg1)->SetValue((wxString const &)*arg2);
9370
9371 wxPyEndAllowThreads(__tstate);
9372 if (PyErr_Occurred()) SWIG_fail;
9373 }
9374 Py_INCREF(Py_None); resultobj = Py_None;
9375 {
9376 if (temp2)
9377 delete arg2;
9378 }
9379 return resultobj;
9380 fail:
9381 {
9382 if (temp2)
9383 delete arg2;
9384 }
9385 return NULL;
9386 }
9387
9388
9389 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9390 PyObject *resultobj;
9391 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9392 int arg2 ;
9393 int arg3 ;
9394 PyObject * obj0 = 0 ;
9395 char *kwnames[] = {
9396 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9397 };
9398
9399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9401 {
9402 PyThreadState* __tstate = wxPyBeginAllowThreads();
9403 (arg1)->SetRange(arg2,arg3);
9404
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
9408 Py_INCREF(Py_None); resultobj = Py_None;
9409 return resultobj;
9410 fail:
9411 return NULL;
9412 }
9413
9414
9415 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9416 PyObject *resultobj;
9417 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9418 int result;
9419 PyObject * obj0 = 0 ;
9420 char *kwnames[] = {
9421 (char *) "self", NULL
9422 };
9423
9424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9426 {
9427 PyThreadState* __tstate = wxPyBeginAllowThreads();
9428 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9429
9430 wxPyEndAllowThreads(__tstate);
9431 if (PyErr_Occurred()) SWIG_fail;
9432 }
9433 resultobj = PyInt_FromLong((long)result);
9434 return resultobj;
9435 fail:
9436 return NULL;
9437 }
9438
9439
9440 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9441 PyObject *resultobj;
9442 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9443 int result;
9444 PyObject * obj0 = 0 ;
9445 char *kwnames[] = {
9446 (char *) "self", NULL
9447 };
9448
9449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9451 {
9452 PyThreadState* __tstate = wxPyBeginAllowThreads();
9453 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9454
9455 wxPyEndAllowThreads(__tstate);
9456 if (PyErr_Occurred()) SWIG_fail;
9457 }
9458 resultobj = PyInt_FromLong((long)result);
9459 return resultobj;
9460 fail:
9461 return NULL;
9462 }
9463
9464
9465 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9466 PyObject *resultobj;
9467 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9468 long arg2 ;
9469 long arg3 ;
9470 PyObject * obj0 = 0 ;
9471 char *kwnames[] = {
9472 (char *) "self",(char *) "from",(char *) "to", NULL
9473 };
9474
9475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 (arg1)->SetSelection(arg2,arg3);
9480
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
9484 Py_INCREF(Py_None); resultobj = Py_None;
9485 return resultobj;
9486 fail:
9487 return NULL;
9488 }
9489
9490
9491 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9492 PyObject *obj;
9493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9494 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9495 Py_INCREF(obj);
9496 return Py_BuildValue((char *)"");
9497 }
9498 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj;
9500 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9501 int arg2 = (int) 0 ;
9502 wxSpinEvent *result;
9503 char *kwnames[] = {
9504 (char *) "commandType",(char *) "winid", NULL
9505 };
9506
9507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SpinEvent",kwnames,&arg1,&arg2)) goto fail;
9508 {
9509 PyThreadState* __tstate = wxPyBeginAllowThreads();
9510 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
9511
9512 wxPyEndAllowThreads(__tstate);
9513 if (PyErr_Occurred()) SWIG_fail;
9514 }
9515 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
9516 return resultobj;
9517 fail:
9518 return NULL;
9519 }
9520
9521
9522 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9523 PyObject *resultobj;
9524 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9525 int result;
9526 PyObject * obj0 = 0 ;
9527 char *kwnames[] = {
9528 (char *) "self", NULL
9529 };
9530
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
9532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 resultobj = PyInt_FromLong((long)result);
9541 return resultobj;
9542 fail:
9543 return NULL;
9544 }
9545
9546
9547 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9548 PyObject *resultobj;
9549 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9550 int arg2 ;
9551 PyObject * obj0 = 0 ;
9552 char *kwnames[] = {
9553 (char *) "self",(char *) "pos", NULL
9554 };
9555
9556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
9557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9558 {
9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
9560 (arg1)->SetPosition(arg2);
9561
9562 wxPyEndAllowThreads(__tstate);
9563 if (PyErr_Occurred()) SWIG_fail;
9564 }
9565 Py_INCREF(Py_None); resultobj = Py_None;
9566 return resultobj;
9567 fail:
9568 return NULL;
9569 }
9570
9571
9572 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
9573 PyObject *obj;
9574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9575 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
9576 Py_INCREF(obj);
9577 return Py_BuildValue((char *)"");
9578 }
9579 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
9580 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
9581 return 1;
9582 }
9583
9584
9585 static PyObject *_wrap_RadioBoxNameStr_get() {
9586 PyObject *pyobj;
9587
9588 {
9589 #if wxUSE_UNICODE
9590 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9591 #else
9592 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9593 #endif
9594 }
9595 return pyobj;
9596 }
9597
9598
9599 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
9600 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
9601 return 1;
9602 }
9603
9604
9605 static PyObject *_wrap_RadioButtonNameStr_get() {
9606 PyObject *pyobj;
9607
9608 {
9609 #if wxUSE_UNICODE
9610 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9611 #else
9612 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9613 #endif
9614 }
9615 return pyobj;
9616 }
9617
9618
9619 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9620 PyObject *resultobj;
9621 wxWindow *arg1 = (wxWindow *) 0 ;
9622 int arg2 ;
9623 wxString *arg3 = 0 ;
9624 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9625 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9626 wxSize const &arg5_defvalue = wxDefaultSize ;
9627 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9628 int arg6 = (int) 0 ;
9629 wxString *arg7 = (wxString *) NULL ;
9630 int arg8 = (int) 0 ;
9631 long arg9 = (long) wxRA_HORIZONTAL ;
9632 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9633 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9634 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9635 wxString *arg11 = (wxString *) &arg11_defvalue ;
9636 wxRadioBox *result;
9637 bool temp3 = False ;
9638 wxPoint temp4 ;
9639 wxSize temp5 ;
9640 bool temp10 = False ;
9641 PyObject * obj0 = 0 ;
9642 PyObject * obj2 = 0 ;
9643 PyObject * obj3 = 0 ;
9644 PyObject * obj4 = 0 ;
9645 PyObject * obj5 = 0 ;
9646 PyObject * obj8 = 0 ;
9647 PyObject * obj9 = 0 ;
9648 char *kwnames[] = {
9649 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9650 };
9651
9652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9654 {
9655 arg3 = wxString_in_helper(obj2);
9656 if (arg3 == NULL) SWIG_fail;
9657 temp3 = True;
9658 }
9659 if (obj3) {
9660 {
9661 arg4 = &temp4;
9662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9663 }
9664 }
9665 if (obj4) {
9666 {
9667 arg5 = &temp5;
9668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9669 }
9670 }
9671 if (obj5) {
9672 {
9673 arg6 = PyList_Size(obj5);
9674 arg7 = wxString_LIST_helper(obj5);
9675 if (arg7 == NULL) SWIG_fail;
9676 }
9677 }
9678 if (obj8) {
9679 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9680 if (arg10 == NULL) {
9681 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9682 }
9683 }
9684 if (obj9) {
9685 {
9686 arg11 = wxString_in_helper(obj9);
9687 if (arg11 == NULL) SWIG_fail;
9688 temp10 = True;
9689 }
9690 }
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 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);
9694
9695 wxPyEndAllowThreads(__tstate);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9699 {
9700 if (temp3)
9701 delete arg3;
9702 }
9703 {
9704 if (arg7) delete [] arg7;
9705 }
9706 {
9707 if (temp10)
9708 delete arg11;
9709 }
9710 return resultobj;
9711 fail:
9712 {
9713 if (temp3)
9714 delete arg3;
9715 }
9716 {
9717 if (arg7) delete [] arg7;
9718 }
9719 {
9720 if (temp10)
9721 delete arg11;
9722 }
9723 return NULL;
9724 }
9725
9726
9727 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj;
9729 wxRadioBox *result;
9730 char *kwnames[] = {
9731 NULL
9732 };
9733
9734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9735 {
9736 PyThreadState* __tstate = wxPyBeginAllowThreads();
9737 result = (wxRadioBox *)new wxRadioBox();
9738
9739 wxPyEndAllowThreads(__tstate);
9740 if (PyErr_Occurred()) SWIG_fail;
9741 }
9742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9743 return resultobj;
9744 fail:
9745 return NULL;
9746 }
9747
9748
9749 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9750 PyObject *resultobj;
9751 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9752 wxWindow *arg2 = (wxWindow *) 0 ;
9753 int arg3 ;
9754 wxString *arg4 = 0 ;
9755 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9756 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9757 wxSize const &arg6_defvalue = wxDefaultSize ;
9758 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9759 int arg7 = (int) 0 ;
9760 wxString *arg8 = (wxString *) NULL ;
9761 int arg9 = (int) 0 ;
9762 long arg10 = (long) wxRA_HORIZONTAL ;
9763 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9764 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9765 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9766 wxString *arg12 = (wxString *) &arg12_defvalue ;
9767 bool result;
9768 bool temp4 = False ;
9769 wxPoint temp5 ;
9770 wxSize temp6 ;
9771 bool temp11 = False ;
9772 PyObject * obj0 = 0 ;
9773 PyObject * obj1 = 0 ;
9774 PyObject * obj3 = 0 ;
9775 PyObject * obj4 = 0 ;
9776 PyObject * obj5 = 0 ;
9777 PyObject * obj6 = 0 ;
9778 PyObject * obj9 = 0 ;
9779 PyObject * obj10 = 0 ;
9780 char *kwnames[] = {
9781 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9782 };
9783
9784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9786 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9787 {
9788 arg4 = wxString_in_helper(obj3);
9789 if (arg4 == NULL) SWIG_fail;
9790 temp4 = True;
9791 }
9792 if (obj4) {
9793 {
9794 arg5 = &temp5;
9795 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9796 }
9797 }
9798 if (obj5) {
9799 {
9800 arg6 = &temp6;
9801 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9802 }
9803 }
9804 if (obj6) {
9805 {
9806 arg7 = PyList_Size(obj6);
9807 arg8 = wxString_LIST_helper(obj6);
9808 if (arg8 == NULL) SWIG_fail;
9809 }
9810 }
9811 if (obj9) {
9812 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9813 if (arg11 == NULL) {
9814 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9815 }
9816 }
9817 if (obj10) {
9818 {
9819 arg12 = wxString_in_helper(obj10);
9820 if (arg12 == NULL) SWIG_fail;
9821 temp11 = True;
9822 }
9823 }
9824 {
9825 PyThreadState* __tstate = wxPyBeginAllowThreads();
9826 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);
9827
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 resultobj = PyInt_FromLong((long)result);
9832 {
9833 if (temp4)
9834 delete arg4;
9835 }
9836 {
9837 if (arg8) delete [] arg8;
9838 }
9839 {
9840 if (temp11)
9841 delete arg12;
9842 }
9843 return resultobj;
9844 fail:
9845 {
9846 if (temp4)
9847 delete arg4;
9848 }
9849 {
9850 if (arg8) delete [] arg8;
9851 }
9852 {
9853 if (temp11)
9854 delete arg12;
9855 }
9856 return NULL;
9857 }
9858
9859
9860 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9861 PyObject *resultobj;
9862 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9863 int arg2 ;
9864 PyObject * obj0 = 0 ;
9865 char *kwnames[] = {
9866 (char *) "self",(char *) "n", NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 (arg1)->SetSelection(arg2);
9874
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 Py_INCREF(Py_None); resultobj = Py_None;
9879 return resultobj;
9880 fail:
9881 return NULL;
9882 }
9883
9884
9885 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9886 PyObject *resultobj;
9887 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9888 int result;
9889 PyObject * obj0 = 0 ;
9890 char *kwnames[] = {
9891 (char *) "self", NULL
9892 };
9893
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9899
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
9903 resultobj = PyInt_FromLong((long)result);
9904 return resultobj;
9905 fail:
9906 return NULL;
9907 }
9908
9909
9910 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9911 PyObject *resultobj;
9912 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9913 wxString result;
9914 PyObject * obj0 = 0 ;
9915 char *kwnames[] = {
9916 (char *) "self", NULL
9917 };
9918
9919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9924
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) SWIG_fail;
9927 }
9928 {
9929 #if wxUSE_UNICODE
9930 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9931 #else
9932 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9933 #endif
9934 }
9935 return resultobj;
9936 fail:
9937 return NULL;
9938 }
9939
9940
9941 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9942 PyObject *resultobj;
9943 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9944 wxString *arg2 = 0 ;
9945 bool result;
9946 bool temp2 = False ;
9947 PyObject * obj0 = 0 ;
9948 PyObject * obj1 = 0 ;
9949 char *kwnames[] = {
9950 (char *) "self",(char *) "s", NULL
9951 };
9952
9953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9955 {
9956 arg2 = wxString_in_helper(obj1);
9957 if (arg2 == NULL) SWIG_fail;
9958 temp2 = True;
9959 }
9960 {
9961 PyThreadState* __tstate = wxPyBeginAllowThreads();
9962 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9963
9964 wxPyEndAllowThreads(__tstate);
9965 if (PyErr_Occurred()) SWIG_fail;
9966 }
9967 resultobj = PyInt_FromLong((long)result);
9968 {
9969 if (temp2)
9970 delete arg2;
9971 }
9972 return resultobj;
9973 fail:
9974 {
9975 if (temp2)
9976 delete arg2;
9977 }
9978 return NULL;
9979 }
9980
9981
9982 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9983 PyObject *resultobj;
9984 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9985 int result;
9986 PyObject * obj0 = 0 ;
9987 char *kwnames[] = {
9988 (char *) "self", NULL
9989 };
9990
9991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 result = (int)((wxRadioBox const *)arg1)->GetCount();
9996
9997 wxPyEndAllowThreads(__tstate);
9998 if (PyErr_Occurred()) SWIG_fail;
9999 }
10000 resultobj = PyInt_FromLong((long)result);
10001 return resultobj;
10002 fail:
10003 return NULL;
10004 }
10005
10006
10007 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
10008 PyObject *resultobj;
10009 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10010 wxString *arg2 = 0 ;
10011 int result;
10012 bool temp2 = False ;
10013 PyObject * obj0 = 0 ;
10014 PyObject * obj1 = 0 ;
10015 char *kwnames[] = {
10016 (char *) "self",(char *) "s", NULL
10017 };
10018
10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
10020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10021 {
10022 arg2 = wxString_in_helper(obj1);
10023 if (arg2 == NULL) SWIG_fail;
10024 temp2 = True;
10025 }
10026 {
10027 PyThreadState* __tstate = wxPyBeginAllowThreads();
10028 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
10029
10030 wxPyEndAllowThreads(__tstate);
10031 if (PyErr_Occurred()) SWIG_fail;
10032 }
10033 resultobj = PyInt_FromLong((long)result);
10034 {
10035 if (temp2)
10036 delete arg2;
10037 }
10038 return resultobj;
10039 fail:
10040 {
10041 if (temp2)
10042 delete arg2;
10043 }
10044 return NULL;
10045 }
10046
10047
10048 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10049 PyObject *resultobj;
10050 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10051 int arg2 ;
10052 wxString result;
10053 PyObject * obj0 = 0 ;
10054 char *kwnames[] = {
10055 (char *) "self",(char *) "n", NULL
10056 };
10057
10058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) 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)->GetString(arg2);
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_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10081 PyObject *resultobj;
10082 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10083 int arg2 ;
10084 wxString *arg3 = 0 ;
10085 bool temp3 = False ;
10086 PyObject * obj0 = 0 ;
10087 PyObject * obj2 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self",(char *) "n",(char *) "label", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
10093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10094 {
10095 arg3 = wxString_in_helper(obj2);
10096 if (arg3 == NULL) SWIG_fail;
10097 temp3 = True;
10098 }
10099 {
10100 PyThreadState* __tstate = wxPyBeginAllowThreads();
10101 (arg1)->SetString(arg2,(wxString const &)*arg3);
10102
10103 wxPyEndAllowThreads(__tstate);
10104 if (PyErr_Occurred()) SWIG_fail;
10105 }
10106 Py_INCREF(Py_None); resultobj = Py_None;
10107 {
10108 if (temp3)
10109 delete arg3;
10110 }
10111 return resultobj;
10112 fail:
10113 {
10114 if (temp3)
10115 delete arg3;
10116 }
10117 return NULL;
10118 }
10119
10120
10121 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10122 PyObject *resultobj;
10123 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10124 int arg2 ;
10125 bool arg3 = (bool) True ;
10126 PyObject * obj0 = 0 ;
10127 PyObject * obj2 = 0 ;
10128 char *kwnames[] = {
10129 (char *) "self",(char *) "n",(char *) "enable", NULL
10130 };
10131
10132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10134 if (obj2) {
10135 {
10136 arg3 = (bool) SPyObj_AsBool(obj2);
10137 if (PyErr_Occurred()) SWIG_fail;
10138 }
10139 }
10140 {
10141 PyThreadState* __tstate = wxPyBeginAllowThreads();
10142 (arg1)->Enable(arg2,arg3);
10143
10144 wxPyEndAllowThreads(__tstate);
10145 if (PyErr_Occurred()) SWIG_fail;
10146 }
10147 Py_INCREF(Py_None); resultobj = Py_None;
10148 return resultobj;
10149 fail:
10150 return NULL;
10151 }
10152
10153
10154 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10155 PyObject *resultobj;
10156 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10157 int arg2 ;
10158 bool arg3 = (bool) True ;
10159 PyObject * obj0 = 0 ;
10160 PyObject * obj2 = 0 ;
10161 char *kwnames[] = {
10162 (char *) "self",(char *) "n",(char *) "show", NULL
10163 };
10164
10165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10167 if (obj2) {
10168 {
10169 arg3 = (bool) SPyObj_AsBool(obj2);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 }
10173 {
10174 PyThreadState* __tstate = wxPyBeginAllowThreads();
10175 (arg1)->Show(arg2,arg3);
10176
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 Py_INCREF(Py_None); resultobj = Py_None;
10181 return resultobj;
10182 fail:
10183 return NULL;
10184 }
10185
10186
10187 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10188 PyObject *resultobj;
10189 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10190 int result;
10191 PyObject * obj0 = 0 ;
10192 char *kwnames[] = {
10193 (char *) "self", NULL
10194 };
10195
10196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
10197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10198 {
10199 PyThreadState* __tstate = wxPyBeginAllowThreads();
10200 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
10201
10202 wxPyEndAllowThreads(__tstate);
10203 if (PyErr_Occurred()) SWIG_fail;
10204 }
10205 resultobj = PyInt_FromLong((long)result);
10206 return resultobj;
10207 fail:
10208 return NULL;
10209 }
10210
10211
10212 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10213 PyObject *resultobj;
10214 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10215 int result;
10216 PyObject * obj0 = 0 ;
10217 char *kwnames[] = {
10218 (char *) "self", NULL
10219 };
10220
10221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
10222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10223 {
10224 PyThreadState* __tstate = wxPyBeginAllowThreads();
10225 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
10226
10227 wxPyEndAllowThreads(__tstate);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 }
10230 resultobj = PyInt_FromLong((long)result);
10231 return resultobj;
10232 fail:
10233 return NULL;
10234 }
10235
10236
10237 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10238 PyObject *resultobj;
10239 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10240 int arg2 ;
10241 int arg3 ;
10242 long arg4 ;
10243 int result;
10244 PyObject * obj0 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10247 };
10248
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10251 {
10252 PyThreadState* __tstate = wxPyBeginAllowThreads();
10253 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
10254
10255 wxPyEndAllowThreads(__tstate);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
10258 resultobj = PyInt_FromLong((long)result);
10259 return resultobj;
10260 fail:
10261 return NULL;
10262 }
10263
10264
10265 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
10266 PyObject *obj;
10267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10268 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
10269 Py_INCREF(obj);
10270 return Py_BuildValue((char *)"");
10271 }
10272 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10273 PyObject *resultobj;
10274 wxWindow *arg1 = (wxWindow *) 0 ;
10275 int arg2 ;
10276 wxString *arg3 = 0 ;
10277 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10278 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10279 wxSize const &arg5_defvalue = wxDefaultSize ;
10280 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10281 long arg6 = (long) 0 ;
10282 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10283 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10284 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
10285 wxString *arg8 = (wxString *) &arg8_defvalue ;
10286 wxRadioButton *result;
10287 bool temp3 = False ;
10288 wxPoint temp4 ;
10289 wxSize temp5 ;
10290 bool temp8 = False ;
10291 PyObject * obj0 = 0 ;
10292 PyObject * obj2 = 0 ;
10293 PyObject * obj3 = 0 ;
10294 PyObject * obj4 = 0 ;
10295 PyObject * obj6 = 0 ;
10296 PyObject * obj7 = 0 ;
10297 char *kwnames[] = {
10298 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10299 };
10300
10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10303 {
10304 arg3 = wxString_in_helper(obj2);
10305 if (arg3 == NULL) SWIG_fail;
10306 temp3 = True;
10307 }
10308 if (obj3) {
10309 {
10310 arg4 = &temp4;
10311 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10312 }
10313 }
10314 if (obj4) {
10315 {
10316 arg5 = &temp5;
10317 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10318 }
10319 }
10320 if (obj6) {
10321 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10322 if (arg7 == NULL) {
10323 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10324 }
10325 }
10326 if (obj7) {
10327 {
10328 arg8 = wxString_in_helper(obj7);
10329 if (arg8 == NULL) SWIG_fail;
10330 temp8 = True;
10331 }
10332 }
10333 {
10334 PyThreadState* __tstate = wxPyBeginAllowThreads();
10335 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10336
10337 wxPyEndAllowThreads(__tstate);
10338 if (PyErr_Occurred()) SWIG_fail;
10339 }
10340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10341 {
10342 if (temp3)
10343 delete arg3;
10344 }
10345 {
10346 if (temp8)
10347 delete arg8;
10348 }
10349 return resultobj;
10350 fail:
10351 {
10352 if (temp3)
10353 delete arg3;
10354 }
10355 {
10356 if (temp8)
10357 delete arg8;
10358 }
10359 return NULL;
10360 }
10361
10362
10363 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj;
10365 wxRadioButton *result;
10366 char *kwnames[] = {
10367 NULL
10368 };
10369
10370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
10371 {
10372 PyThreadState* __tstate = wxPyBeginAllowThreads();
10373 result = (wxRadioButton *)new wxRadioButton();
10374
10375 wxPyEndAllowThreads(__tstate);
10376 if (PyErr_Occurred()) SWIG_fail;
10377 }
10378 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10379 return resultobj;
10380 fail:
10381 return NULL;
10382 }
10383
10384
10385 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10386 PyObject *resultobj;
10387 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10388 wxWindow *arg2 = (wxWindow *) 0 ;
10389 int arg3 ;
10390 wxString *arg4 = 0 ;
10391 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10392 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10393 wxSize const &arg6_defvalue = wxDefaultSize ;
10394 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10395 long arg7 = (long) 0 ;
10396 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10397 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10398 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10399 wxString *arg9 = (wxString *) &arg9_defvalue ;
10400 bool result;
10401 bool temp4 = False ;
10402 wxPoint temp5 ;
10403 wxSize temp6 ;
10404 bool temp9 = False ;
10405 PyObject * obj0 = 0 ;
10406 PyObject * obj1 = 0 ;
10407 PyObject * obj3 = 0 ;
10408 PyObject * obj4 = 0 ;
10409 PyObject * obj5 = 0 ;
10410 PyObject * obj7 = 0 ;
10411 PyObject * obj8 = 0 ;
10412 char *kwnames[] = {
10413 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10414 };
10415
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10418 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10419 {
10420 arg4 = wxString_in_helper(obj3);
10421 if (arg4 == NULL) SWIG_fail;
10422 temp4 = True;
10423 }
10424 if (obj4) {
10425 {
10426 arg5 = &temp5;
10427 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10428 }
10429 }
10430 if (obj5) {
10431 {
10432 arg6 = &temp6;
10433 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10434 }
10435 }
10436 if (obj7) {
10437 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10438 if (arg8 == NULL) {
10439 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10440 }
10441 }
10442 if (obj8) {
10443 {
10444 arg9 = wxString_in_helper(obj8);
10445 if (arg9 == NULL) SWIG_fail;
10446 temp9 = True;
10447 }
10448 }
10449 {
10450 PyThreadState* __tstate = wxPyBeginAllowThreads();
10451 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10452
10453 wxPyEndAllowThreads(__tstate);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 }
10456 resultobj = PyInt_FromLong((long)result);
10457 {
10458 if (temp4)
10459 delete arg4;
10460 }
10461 {
10462 if (temp9)
10463 delete arg9;
10464 }
10465 return resultobj;
10466 fail:
10467 {
10468 if (temp4)
10469 delete arg4;
10470 }
10471 {
10472 if (temp9)
10473 delete arg9;
10474 }
10475 return NULL;
10476 }
10477
10478
10479 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10480 PyObject *resultobj;
10481 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10482 bool result;
10483 PyObject * obj0 = 0 ;
10484 char *kwnames[] = {
10485 (char *) "self", NULL
10486 };
10487
10488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10490 {
10491 PyThreadState* __tstate = wxPyBeginAllowThreads();
10492 result = (bool)(arg1)->GetValue();
10493
10494 wxPyEndAllowThreads(__tstate);
10495 if (PyErr_Occurred()) SWIG_fail;
10496 }
10497 resultobj = PyInt_FromLong((long)result);
10498 return resultobj;
10499 fail:
10500 return NULL;
10501 }
10502
10503
10504 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10505 PyObject *resultobj;
10506 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10507 bool arg2 ;
10508 PyObject * obj0 = 0 ;
10509 PyObject * obj1 = 0 ;
10510 char *kwnames[] = {
10511 (char *) "self",(char *) "value", NULL
10512 };
10513
10514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10516 {
10517 arg2 = (bool) SPyObj_AsBool(obj1);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 }
10520 {
10521 PyThreadState* __tstate = wxPyBeginAllowThreads();
10522 (arg1)->SetValue(arg2);
10523
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 Py_INCREF(Py_None); resultobj = Py_None;
10528 return resultobj;
10529 fail:
10530 return NULL;
10531 }
10532
10533
10534 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10535 PyObject *obj;
10536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10537 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10538 Py_INCREF(obj);
10539 return Py_BuildValue((char *)"");
10540 }
10541 static int _wrap_SliderNameStr_set(PyObject *_val) {
10542 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
10543 return 1;
10544 }
10545
10546
10547 static PyObject *_wrap_SliderNameStr_get() {
10548 PyObject *pyobj;
10549
10550 {
10551 #if wxUSE_UNICODE
10552 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10553 #else
10554 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10555 #endif
10556 }
10557 return pyobj;
10558 }
10559
10560
10561 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10562 PyObject *resultobj;
10563 wxWindow *arg1 = (wxWindow *) 0 ;
10564 int arg2 ;
10565 int arg3 ;
10566 int arg4 ;
10567 int arg5 ;
10568 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10569 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10570 wxSize const &arg7_defvalue = wxDefaultSize ;
10571 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10572 long arg8 = (long) wxSL_HORIZONTAL ;
10573 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10574 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10575 wxString const &arg10_defvalue = wxPySliderNameStr ;
10576 wxString *arg10 = (wxString *) &arg10_defvalue ;
10577 wxSlider *result;
10578 wxPoint temp6 ;
10579 wxSize temp7 ;
10580 bool temp10 = False ;
10581 PyObject * obj0 = 0 ;
10582 PyObject * obj5 = 0 ;
10583 PyObject * obj6 = 0 ;
10584 PyObject * obj8 = 0 ;
10585 PyObject * obj9 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10592 if (obj5) {
10593 {
10594 arg6 = &temp6;
10595 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10596 }
10597 }
10598 if (obj6) {
10599 {
10600 arg7 = &temp7;
10601 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10602 }
10603 }
10604 if (obj8) {
10605 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10606 if (arg9 == NULL) {
10607 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10608 }
10609 }
10610 if (obj9) {
10611 {
10612 arg10 = wxString_in_helper(obj9);
10613 if (arg10 == NULL) SWIG_fail;
10614 temp10 = True;
10615 }
10616 }
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10620
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10625 {
10626 if (temp10)
10627 delete arg10;
10628 }
10629 return resultobj;
10630 fail:
10631 {
10632 if (temp10)
10633 delete arg10;
10634 }
10635 return NULL;
10636 }
10637
10638
10639 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10640 PyObject *resultobj;
10641 wxSlider *result;
10642 char *kwnames[] = {
10643 NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10647 {
10648 PyThreadState* __tstate = wxPyBeginAllowThreads();
10649 result = (wxSlider *)new wxSlider();
10650
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10655 return resultobj;
10656 fail:
10657 return NULL;
10658 }
10659
10660
10661 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj;
10663 wxSlider *arg1 = (wxSlider *) 0 ;
10664 wxWindow *arg2 = (wxWindow *) 0 ;
10665 int arg3 ;
10666 int arg4 ;
10667 int arg5 ;
10668 int arg6 ;
10669 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10670 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10671 wxSize const &arg8_defvalue = wxDefaultSize ;
10672 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10673 long arg9 = (long) wxSL_HORIZONTAL ;
10674 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10675 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10676 wxString const &arg11_defvalue = wxPySliderNameStr ;
10677 wxString *arg11 = (wxString *) &arg11_defvalue ;
10678 bool result;
10679 wxPoint temp7 ;
10680 wxSize temp8 ;
10681 bool temp11 = False ;
10682 PyObject * obj0 = 0 ;
10683 PyObject * obj1 = 0 ;
10684 PyObject * obj6 = 0 ;
10685 PyObject * obj7 = 0 ;
10686 PyObject * obj9 = 0 ;
10687 PyObject * obj10 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10690 };
10691
10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10695 if (obj6) {
10696 {
10697 arg7 = &temp7;
10698 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10699 }
10700 }
10701 if (obj7) {
10702 {
10703 arg8 = &temp8;
10704 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10705 }
10706 }
10707 if (obj9) {
10708 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10709 if (arg10 == NULL) {
10710 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10711 }
10712 }
10713 if (obj10) {
10714 {
10715 arg11 = wxString_in_helper(obj10);
10716 if (arg11 == NULL) SWIG_fail;
10717 temp11 = True;
10718 }
10719 }
10720 {
10721 PyThreadState* __tstate = wxPyBeginAllowThreads();
10722 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10723
10724 wxPyEndAllowThreads(__tstate);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 }
10727 resultobj = PyInt_FromLong((long)result);
10728 {
10729 if (temp11)
10730 delete arg11;
10731 }
10732 return resultobj;
10733 fail:
10734 {
10735 if (temp11)
10736 delete arg11;
10737 }
10738 return NULL;
10739 }
10740
10741
10742 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10743 PyObject *resultobj;
10744 wxSlider *arg1 = (wxSlider *) 0 ;
10745 int result;
10746 PyObject * obj0 = 0 ;
10747 char *kwnames[] = {
10748 (char *) "self", NULL
10749 };
10750
10751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10753 {
10754 PyThreadState* __tstate = wxPyBeginAllowThreads();
10755 result = (int)((wxSlider const *)arg1)->GetValue();
10756
10757 wxPyEndAllowThreads(__tstate);
10758 if (PyErr_Occurred()) SWIG_fail;
10759 }
10760 resultobj = PyInt_FromLong((long)result);
10761 return resultobj;
10762 fail:
10763 return NULL;
10764 }
10765
10766
10767 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10768 PyObject *resultobj;
10769 wxSlider *arg1 = (wxSlider *) 0 ;
10770 int arg2 ;
10771 PyObject * obj0 = 0 ;
10772 char *kwnames[] = {
10773 (char *) "self",(char *) "value", NULL
10774 };
10775
10776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 (arg1)->SetValue(arg2);
10781
10782 wxPyEndAllowThreads(__tstate);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 }
10785 Py_INCREF(Py_None); resultobj = Py_None;
10786 return resultobj;
10787 fail:
10788 return NULL;
10789 }
10790
10791
10792 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10793 PyObject *resultobj;
10794 wxSlider *arg1 = (wxSlider *) 0 ;
10795 int arg2 ;
10796 int arg3 ;
10797 PyObject * obj0 = 0 ;
10798 char *kwnames[] = {
10799 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10800 };
10801
10802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10804 {
10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
10806 (arg1)->SetRange(arg2,arg3);
10807
10808 wxPyEndAllowThreads(__tstate);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 }
10811 Py_INCREF(Py_None); resultobj = Py_None;
10812 return resultobj;
10813 fail:
10814 return NULL;
10815 }
10816
10817
10818 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10819 PyObject *resultobj;
10820 wxSlider *arg1 = (wxSlider *) 0 ;
10821 int result;
10822 PyObject * obj0 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "self", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10829 {
10830 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 result = (int)((wxSlider const *)arg1)->GetMin();
10832
10833 wxPyEndAllowThreads(__tstate);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
10836 resultobj = PyInt_FromLong((long)result);
10837 return resultobj;
10838 fail:
10839 return NULL;
10840 }
10841
10842
10843 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxSlider *arg1 = (wxSlider *) 0 ;
10846 int result;
10847 PyObject * obj0 = 0 ;
10848 char *kwnames[] = {
10849 (char *) "self", NULL
10850 };
10851
10852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10854 {
10855 PyThreadState* __tstate = wxPyBeginAllowThreads();
10856 result = (int)((wxSlider const *)arg1)->GetMax();
10857
10858 wxPyEndAllowThreads(__tstate);
10859 if (PyErr_Occurred()) SWIG_fail;
10860 }
10861 resultobj = PyInt_FromLong((long)result);
10862 return resultobj;
10863 fail:
10864 return NULL;
10865 }
10866
10867
10868 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10869 PyObject *resultobj;
10870 wxSlider *arg1 = (wxSlider *) 0 ;
10871 int arg2 ;
10872 PyObject * obj0 = 0 ;
10873 char *kwnames[] = {
10874 (char *) "self",(char *) "minValue", NULL
10875 };
10876
10877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10879 {
10880 PyThreadState* __tstate = wxPyBeginAllowThreads();
10881 (arg1)->SetMin(arg2);
10882
10883 wxPyEndAllowThreads(__tstate);
10884 if (PyErr_Occurred()) SWIG_fail;
10885 }
10886 Py_INCREF(Py_None); resultobj = Py_None;
10887 return resultobj;
10888 fail:
10889 return NULL;
10890 }
10891
10892
10893 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10894 PyObject *resultobj;
10895 wxSlider *arg1 = (wxSlider *) 0 ;
10896 int arg2 ;
10897 PyObject * obj0 = 0 ;
10898 char *kwnames[] = {
10899 (char *) "self",(char *) "maxValue", NULL
10900 };
10901
10902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10904 {
10905 PyThreadState* __tstate = wxPyBeginAllowThreads();
10906 (arg1)->SetMax(arg2);
10907
10908 wxPyEndAllowThreads(__tstate);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 }
10911 Py_INCREF(Py_None); resultobj = Py_None;
10912 return resultobj;
10913 fail:
10914 return NULL;
10915 }
10916
10917
10918 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10919 PyObject *resultobj;
10920 wxSlider *arg1 = (wxSlider *) 0 ;
10921 int arg2 ;
10922 PyObject * obj0 = 0 ;
10923 char *kwnames[] = {
10924 (char *) "self",(char *) "lineSize", NULL
10925 };
10926
10927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 (arg1)->SetLineSize(arg2);
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 Py_INCREF(Py_None); resultobj = Py_None;
10937 return resultobj;
10938 fail:
10939 return NULL;
10940 }
10941
10942
10943 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10944 PyObject *resultobj;
10945 wxSlider *arg1 = (wxSlider *) 0 ;
10946 int arg2 ;
10947 PyObject * obj0 = 0 ;
10948 char *kwnames[] = {
10949 (char *) "self",(char *) "pageSize", NULL
10950 };
10951
10952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10954 {
10955 PyThreadState* __tstate = wxPyBeginAllowThreads();
10956 (arg1)->SetPageSize(arg2);
10957
10958 wxPyEndAllowThreads(__tstate);
10959 if (PyErr_Occurred()) SWIG_fail;
10960 }
10961 Py_INCREF(Py_None); resultobj = Py_None;
10962 return resultobj;
10963 fail:
10964 return NULL;
10965 }
10966
10967
10968 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10969 PyObject *resultobj;
10970 wxSlider *arg1 = (wxSlider *) 0 ;
10971 int result;
10972 PyObject * obj0 = 0 ;
10973 char *kwnames[] = {
10974 (char *) "self", NULL
10975 };
10976
10977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10979 {
10980 PyThreadState* __tstate = wxPyBeginAllowThreads();
10981 result = (int)((wxSlider const *)arg1)->GetLineSize();
10982
10983 wxPyEndAllowThreads(__tstate);
10984 if (PyErr_Occurred()) SWIG_fail;
10985 }
10986 resultobj = PyInt_FromLong((long)result);
10987 return resultobj;
10988 fail:
10989 return NULL;
10990 }
10991
10992
10993 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10994 PyObject *resultobj;
10995 wxSlider *arg1 = (wxSlider *) 0 ;
10996 int result;
10997 PyObject * obj0 = 0 ;
10998 char *kwnames[] = {
10999 (char *) "self", NULL
11000 };
11001
11002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
11003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11004 {
11005 PyThreadState* __tstate = wxPyBeginAllowThreads();
11006 result = (int)((wxSlider const *)arg1)->GetPageSize();
11007
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 resultobj = PyInt_FromLong((long)result);
11012 return resultobj;
11013 fail:
11014 return NULL;
11015 }
11016
11017
11018 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11019 PyObject *resultobj;
11020 wxSlider *arg1 = (wxSlider *) 0 ;
11021 int arg2 ;
11022 PyObject * obj0 = 0 ;
11023 char *kwnames[] = {
11024 (char *) "self",(char *) "lenPixels", NULL
11025 };
11026
11027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
11028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11029 {
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 (arg1)->SetThumbLength(arg2);
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 Py_INCREF(Py_None); resultobj = Py_None;
11037 return resultobj;
11038 fail:
11039 return NULL;
11040 }
11041
11042
11043 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj;
11045 wxSlider *arg1 = (wxSlider *) 0 ;
11046 int result;
11047 PyObject * obj0 = 0 ;
11048 char *kwnames[] = {
11049 (char *) "self", NULL
11050 };
11051
11052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
11053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11054 {
11055 PyThreadState* __tstate = wxPyBeginAllowThreads();
11056 result = (int)((wxSlider const *)arg1)->GetThumbLength();
11057
11058 wxPyEndAllowThreads(__tstate);
11059 if (PyErr_Occurred()) SWIG_fail;
11060 }
11061 resultobj = PyInt_FromLong((long)result);
11062 return resultobj;
11063 fail:
11064 return NULL;
11065 }
11066
11067
11068 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11069 PyObject *resultobj;
11070 wxSlider *arg1 = (wxSlider *) 0 ;
11071 int arg2 ;
11072 int arg3 ;
11073 PyObject * obj0 = 0 ;
11074 char *kwnames[] = {
11075 (char *) "self",(char *) "n",(char *) "pos", NULL
11076 };
11077
11078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
11079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 (arg1)->SetTickFreq(arg2,arg3);
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxSlider *arg1 = (wxSlider *) 0 ;
11097 int result;
11098 PyObject * obj0 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "self", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
11104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 result = (int)((wxSlider const *)arg1)->GetTickFreq();
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = PyInt_FromLong((long)result);
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxSlider *arg1 = (wxSlider *) 0 ;
11122 PyObject * obj0 = 0 ;
11123 char *kwnames[] = {
11124 (char *) "self", NULL
11125 };
11126
11127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
11128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11129 {
11130 PyThreadState* __tstate = wxPyBeginAllowThreads();
11131 (arg1)->ClearTicks();
11132
11133 wxPyEndAllowThreads(__tstate);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
11136 Py_INCREF(Py_None); resultobj = Py_None;
11137 return resultobj;
11138 fail:
11139 return NULL;
11140 }
11141
11142
11143 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
11144 PyObject *resultobj;
11145 wxSlider *arg1 = (wxSlider *) 0 ;
11146 int arg2 ;
11147 PyObject * obj0 = 0 ;
11148 char *kwnames[] = {
11149 (char *) "self",(char *) "tickPos", NULL
11150 };
11151
11152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
11153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11154 {
11155 PyThreadState* __tstate = wxPyBeginAllowThreads();
11156 (arg1)->SetTick(arg2);
11157
11158 wxPyEndAllowThreads(__tstate);
11159 if (PyErr_Occurred()) SWIG_fail;
11160 }
11161 Py_INCREF(Py_None); resultobj = Py_None;
11162 return resultobj;
11163 fail:
11164 return NULL;
11165 }
11166
11167
11168 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
11169 PyObject *resultobj;
11170 wxSlider *arg1 = (wxSlider *) 0 ;
11171 PyObject * obj0 = 0 ;
11172 char *kwnames[] = {
11173 (char *) "self", NULL
11174 };
11175
11176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
11177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11178 {
11179 PyThreadState* __tstate = wxPyBeginAllowThreads();
11180 (arg1)->ClearSel();
11181
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
11185 Py_INCREF(Py_None); resultobj = Py_None;
11186 return resultobj;
11187 fail:
11188 return NULL;
11189 }
11190
11191
11192 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11193 PyObject *resultobj;
11194 wxSlider *arg1 = (wxSlider *) 0 ;
11195 int result;
11196 PyObject * obj0 = 0 ;
11197 char *kwnames[] = {
11198 (char *) "self", NULL
11199 };
11200
11201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
11202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11203 {
11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
11205 result = (int)((wxSlider const *)arg1)->GetSelEnd();
11206
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 resultobj = PyInt_FromLong((long)result);
11211 return resultobj;
11212 fail:
11213 return NULL;
11214 }
11215
11216
11217 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
11218 PyObject *resultobj;
11219 wxSlider *arg1 = (wxSlider *) 0 ;
11220 int result;
11221 PyObject * obj0 = 0 ;
11222 char *kwnames[] = {
11223 (char *) "self", NULL
11224 };
11225
11226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
11227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11228 {
11229 PyThreadState* __tstate = wxPyBeginAllowThreads();
11230 result = (int)((wxSlider const *)arg1)->GetSelStart();
11231
11232 wxPyEndAllowThreads(__tstate);
11233 if (PyErr_Occurred()) SWIG_fail;
11234 }
11235 resultobj = PyInt_FromLong((long)result);
11236 return resultobj;
11237 fail:
11238 return NULL;
11239 }
11240
11241
11242 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11243 PyObject *resultobj;
11244 wxSlider *arg1 = (wxSlider *) 0 ;
11245 int arg2 ;
11246 int arg3 ;
11247 PyObject * obj0 = 0 ;
11248 char *kwnames[] = {
11249 (char *) "self",(char *) "min",(char *) "max", NULL
11250 };
11251
11252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
11253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11254 {
11255 PyThreadState* __tstate = wxPyBeginAllowThreads();
11256 (arg1)->SetSelection(arg2,arg3);
11257
11258 wxPyEndAllowThreads(__tstate);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 }
11261 Py_INCREF(Py_None); resultobj = Py_None;
11262 return resultobj;
11263 fail:
11264 return NULL;
11265 }
11266
11267
11268 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
11269 PyObject *obj;
11270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11271 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
11272 Py_INCREF(obj);
11273 return Py_BuildValue((char *)"");
11274 }
11275 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
11276 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
11277 return 1;
11278 }
11279
11280
11281 static PyObject *_wrap_ToggleButtonNameStr_get() {
11282 PyObject *pyobj;
11283
11284 {
11285 #if wxUSE_UNICODE
11286 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11287 #else
11288 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11289 #endif
11290 }
11291 return pyobj;
11292 }
11293
11294
11295 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11296 PyObject *resultobj;
11297 wxWindow *arg1 = (wxWindow *) 0 ;
11298 int arg2 ;
11299 wxString *arg3 = 0 ;
11300 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11301 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11302 wxSize const &arg5_defvalue = wxDefaultSize ;
11303 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11304 long arg6 = (long) 0 ;
11305 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11306 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11307 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
11308 wxString *arg8 = (wxString *) &arg8_defvalue ;
11309 wxToggleButton *result;
11310 bool temp3 = False ;
11311 wxPoint temp4 ;
11312 wxSize temp5 ;
11313 bool temp8 = False ;
11314 PyObject * obj0 = 0 ;
11315 PyObject * obj2 = 0 ;
11316 PyObject * obj3 = 0 ;
11317 PyObject * obj4 = 0 ;
11318 PyObject * obj6 = 0 ;
11319 PyObject * obj7 = 0 ;
11320 char *kwnames[] = {
11321 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11322 };
11323
11324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
11325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11326 {
11327 arg3 = wxString_in_helper(obj2);
11328 if (arg3 == NULL) SWIG_fail;
11329 temp3 = True;
11330 }
11331 if (obj3) {
11332 {
11333 arg4 = &temp4;
11334 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11335 }
11336 }
11337 if (obj4) {
11338 {
11339 arg5 = &temp5;
11340 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11341 }
11342 }
11343 if (obj6) {
11344 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11345 if (arg7 == NULL) {
11346 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11347 }
11348 }
11349 if (obj7) {
11350 {
11351 arg8 = wxString_in_helper(obj7);
11352 if (arg8 == NULL) SWIG_fail;
11353 temp8 = True;
11354 }
11355 }
11356 {
11357 PyThreadState* __tstate = wxPyBeginAllowThreads();
11358 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11359
11360 wxPyEndAllowThreads(__tstate);
11361 if (PyErr_Occurred()) SWIG_fail;
11362 }
11363 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11364 {
11365 if (temp3)
11366 delete arg3;
11367 }
11368 {
11369 if (temp8)
11370 delete arg8;
11371 }
11372 return resultobj;
11373 fail:
11374 {
11375 if (temp3)
11376 delete arg3;
11377 }
11378 {
11379 if (temp8)
11380 delete arg8;
11381 }
11382 return NULL;
11383 }
11384
11385
11386 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11387 PyObject *resultobj;
11388 wxToggleButton *result;
11389 char *kwnames[] = {
11390 NULL
11391 };
11392
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 result = (wxToggleButton *)new wxToggleButton();
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11402 return resultobj;
11403 fail:
11404 return NULL;
11405 }
11406
11407
11408 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11409 PyObject *obj;
11410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11411 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11412 Py_INCREF(obj);
11413 return Py_BuildValue((char *)"");
11414 }
11415 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
11416 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
11417 return 1;
11418 }
11419
11420
11421 static PyObject *_wrap_NOTEBOOK_NAME_get() {
11422 PyObject *pyobj;
11423
11424 {
11425 #if wxUSE_UNICODE
11426 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11427 #else
11428 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11429 #endif
11430 }
11431 return pyobj;
11432 }
11433
11434
11435 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11436 PyObject *resultobj;
11437 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11438 size_t result;
11439 PyObject * obj0 = 0 ;
11440 char *kwnames[] = {
11441 (char *) "self", NULL
11442 };
11443
11444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11446 {
11447 PyThreadState* __tstate = wxPyBeginAllowThreads();
11448 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11449
11450 wxPyEndAllowThreads(__tstate);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 }
11453 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
11454 return resultobj;
11455 fail:
11456 return NULL;
11457 }
11458
11459
11460 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11461 PyObject *resultobj;
11462 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11463 size_t arg2 ;
11464 wxWindow *result;
11465 PyObject * obj0 = 0 ;
11466 PyObject * obj1 = 0 ;
11467 char *kwnames[] = {
11468 (char *) "self",(char *) "n", NULL
11469 };
11470
11471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11473 {
11474 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 result = (wxWindow *)(arg1)->GetPage(arg2);
11480
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 {
11485 resultobj = wxPyMake_wxObject(result);
11486 }
11487 return resultobj;
11488 fail:
11489 return NULL;
11490 }
11491
11492
11493 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11494 PyObject *resultobj;
11495 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11496 int result;
11497 PyObject * obj0 = 0 ;
11498 char *kwnames[] = {
11499 (char *) "self", NULL
11500 };
11501
11502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11504 {
11505 PyThreadState* __tstate = wxPyBeginAllowThreads();
11506 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11507
11508 wxPyEndAllowThreads(__tstate);
11509 if (PyErr_Occurred()) SWIG_fail;
11510 }
11511 resultobj = PyInt_FromLong((long)result);
11512 return resultobj;
11513 fail:
11514 return NULL;
11515 }
11516
11517
11518 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11519 PyObject *resultobj;
11520 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11521 size_t arg2 ;
11522 wxString *arg3 = 0 ;
11523 bool result;
11524 bool temp3 = False ;
11525 PyObject * obj0 = 0 ;
11526 PyObject * obj1 = 0 ;
11527 PyObject * obj2 = 0 ;
11528 char *kwnames[] = {
11529 (char *) "self",(char *) "n",(char *) "strText", NULL
11530 };
11531
11532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11534 {
11535 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 {
11539 arg3 = wxString_in_helper(obj2);
11540 if (arg3 == NULL) SWIG_fail;
11541 temp3 = True;
11542 }
11543 {
11544 PyThreadState* __tstate = wxPyBeginAllowThreads();
11545 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11546
11547 wxPyEndAllowThreads(__tstate);
11548 if (PyErr_Occurred()) SWIG_fail;
11549 }
11550 resultobj = PyInt_FromLong((long)result);
11551 {
11552 if (temp3)
11553 delete arg3;
11554 }
11555 return resultobj;
11556 fail:
11557 {
11558 if (temp3)
11559 delete arg3;
11560 }
11561 return NULL;
11562 }
11563
11564
11565 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11566 PyObject *resultobj;
11567 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11568 size_t arg2 ;
11569 wxString result;
11570 PyObject * obj0 = 0 ;
11571 PyObject * obj1 = 0 ;
11572 char *kwnames[] = {
11573 (char *) "self",(char *) "n", NULL
11574 };
11575
11576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11578 {
11579 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11580 if (PyErr_Occurred()) SWIG_fail;
11581 }
11582 {
11583 PyThreadState* __tstate = wxPyBeginAllowThreads();
11584 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11585
11586 wxPyEndAllowThreads(__tstate);
11587 if (PyErr_Occurred()) SWIG_fail;
11588 }
11589 {
11590 #if wxUSE_UNICODE
11591 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11592 #else
11593 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11594 #endif
11595 }
11596 return resultobj;
11597 fail:
11598 return NULL;
11599 }
11600
11601
11602 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11603 PyObject *resultobj;
11604 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11605 wxImageList *arg2 = (wxImageList *) 0 ;
11606 PyObject * obj0 = 0 ;
11607 PyObject * obj1 = 0 ;
11608 char *kwnames[] = {
11609 (char *) "self",(char *) "imageList", NULL
11610 };
11611
11612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11615 {
11616 PyThreadState* __tstate = wxPyBeginAllowThreads();
11617 (arg1)->SetImageList(arg2);
11618
11619 wxPyEndAllowThreads(__tstate);
11620 if (PyErr_Occurred()) SWIG_fail;
11621 }
11622 Py_INCREF(Py_None); resultobj = Py_None;
11623 return resultobj;
11624 fail:
11625 return NULL;
11626 }
11627
11628
11629 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11630 PyObject *resultobj;
11631 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11632 wxImageList *arg2 = (wxImageList *) 0 ;
11633 PyObject * obj0 = 0 ;
11634 PyObject * obj1 = 0 ;
11635 char *kwnames[] = {
11636 (char *) "self",(char *) "imageList", NULL
11637 };
11638
11639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
11642 {
11643 PyThreadState* __tstate = wxPyBeginAllowThreads();
11644 (arg1)->AssignImageList(arg2);
11645
11646 wxPyEndAllowThreads(__tstate);
11647 if (PyErr_Occurred()) SWIG_fail;
11648 }
11649 Py_INCREF(Py_None); resultobj = Py_None;
11650 return resultobj;
11651 fail:
11652 return NULL;
11653 }
11654
11655
11656 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11657 PyObject *resultobj;
11658 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11659 wxImageList *result;
11660 PyObject * obj0 = 0 ;
11661 char *kwnames[] = {
11662 (char *) "self", NULL
11663 };
11664
11665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11667 {
11668 PyThreadState* __tstate = wxPyBeginAllowThreads();
11669 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11670
11671 wxPyEndAllowThreads(__tstate);
11672 if (PyErr_Occurred()) SWIG_fail;
11673 }
11674 {
11675 resultobj = wxPyMake_wxObject(result);
11676 }
11677 return resultobj;
11678 fail:
11679 return NULL;
11680 }
11681
11682
11683 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11684 PyObject *resultobj;
11685 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11686 size_t arg2 ;
11687 int result;
11688 PyObject * obj0 = 0 ;
11689 PyObject * obj1 = 0 ;
11690 char *kwnames[] = {
11691 (char *) "self",(char *) "n", NULL
11692 };
11693
11694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11696 {
11697 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 resultobj = PyInt_FromLong((long)result);
11708 return resultobj;
11709 fail:
11710 return NULL;
11711 }
11712
11713
11714 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11715 PyObject *resultobj;
11716 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11717 size_t arg2 ;
11718 int arg3 ;
11719 bool result;
11720 PyObject * obj0 = 0 ;
11721 PyObject * obj1 = 0 ;
11722 char *kwnames[] = {
11723 (char *) "self",(char *) "n",(char *) "imageId", NULL
11724 };
11725
11726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11728 {
11729 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11730 if (PyErr_Occurred()) SWIG_fail;
11731 }
11732 {
11733 PyThreadState* __tstate = wxPyBeginAllowThreads();
11734 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11735
11736 wxPyEndAllowThreads(__tstate);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 }
11739 resultobj = PyInt_FromLong((long)result);
11740 return resultobj;
11741 fail:
11742 return NULL;
11743 }
11744
11745
11746 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11747 PyObject *resultobj;
11748 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11749 wxSize *arg2 = 0 ;
11750 wxSize temp2 ;
11751 PyObject * obj0 = 0 ;
11752 PyObject * obj1 = 0 ;
11753 char *kwnames[] = {
11754 (char *) "self",(char *) "size", NULL
11755 };
11756
11757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11759 {
11760 arg2 = &temp2;
11761 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11762 }
11763 {
11764 PyThreadState* __tstate = wxPyBeginAllowThreads();
11765 (arg1)->SetPageSize((wxSize const &)*arg2);
11766
11767 wxPyEndAllowThreads(__tstate);
11768 if (PyErr_Occurred()) SWIG_fail;
11769 }
11770 Py_INCREF(Py_None); resultobj = Py_None;
11771 return resultobj;
11772 fail:
11773 return NULL;
11774 }
11775
11776
11777 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11778 PyObject *resultobj;
11779 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11780 wxSize *arg2 = 0 ;
11781 wxSize result;
11782 wxSize temp2 ;
11783 PyObject * obj0 = 0 ;
11784 PyObject * obj1 = 0 ;
11785 char *kwnames[] = {
11786 (char *) "self",(char *) "sizePage", NULL
11787 };
11788
11789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11791 {
11792 arg2 = &temp2;
11793 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11794 }
11795 {
11796 PyThreadState* __tstate = wxPyBeginAllowThreads();
11797 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11798
11799 wxPyEndAllowThreads(__tstate);
11800 if (PyErr_Occurred()) SWIG_fail;
11801 }
11802 {
11803 wxSize * resultptr;
11804 resultptr = new wxSize((wxSize &) result);
11805 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11806 }
11807 return resultobj;
11808 fail:
11809 return NULL;
11810 }
11811
11812
11813 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11814 PyObject *resultobj;
11815 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11816 size_t arg2 ;
11817 bool result;
11818 PyObject * obj0 = 0 ;
11819 PyObject * obj1 = 0 ;
11820 char *kwnames[] = {
11821 (char *) "self",(char *) "n", NULL
11822 };
11823
11824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11826 {
11827 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11828 if (PyErr_Occurred()) SWIG_fail;
11829 }
11830 {
11831 PyThreadState* __tstate = wxPyBeginAllowThreads();
11832 result = (bool)(arg1)->DeletePage(arg2);
11833
11834 wxPyEndAllowThreads(__tstate);
11835 if (PyErr_Occurred()) SWIG_fail;
11836 }
11837 resultobj = PyInt_FromLong((long)result);
11838 return resultobj;
11839 fail:
11840 return NULL;
11841 }
11842
11843
11844 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11845 PyObject *resultobj;
11846 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11847 size_t arg2 ;
11848 bool result;
11849 PyObject * obj0 = 0 ;
11850 PyObject * obj1 = 0 ;
11851 char *kwnames[] = {
11852 (char *) "self",(char *) "n", NULL
11853 };
11854
11855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11857 {
11858 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11859 if (PyErr_Occurred()) SWIG_fail;
11860 }
11861 {
11862 PyThreadState* __tstate = wxPyBeginAllowThreads();
11863 result = (bool)(arg1)->RemovePage(arg2);
11864
11865 wxPyEndAllowThreads(__tstate);
11866 if (PyErr_Occurred()) SWIG_fail;
11867 }
11868 resultobj = PyInt_FromLong((long)result);
11869 return resultobj;
11870 fail:
11871 return NULL;
11872 }
11873
11874
11875 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11876 PyObject *resultobj;
11877 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11878 bool result;
11879 PyObject * obj0 = 0 ;
11880 char *kwnames[] = {
11881 (char *) "self", NULL
11882 };
11883
11884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (bool)(arg1)->DeleteAllPages();
11889
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
11893 resultobj = PyInt_FromLong((long)result);
11894 return resultobj;
11895 fail:
11896 return NULL;
11897 }
11898
11899
11900 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11901 PyObject *resultobj;
11902 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11903 wxWindow *arg2 = (wxWindow *) 0 ;
11904 wxString *arg3 = 0 ;
11905 bool arg4 = (bool) False ;
11906 int arg5 = (int) -1 ;
11907 bool result;
11908 bool temp3 = False ;
11909 PyObject * obj0 = 0 ;
11910 PyObject * obj1 = 0 ;
11911 PyObject * obj2 = 0 ;
11912 PyObject * obj3 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11919 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11920 {
11921 arg3 = wxString_in_helper(obj2);
11922 if (arg3 == NULL) SWIG_fail;
11923 temp3 = True;
11924 }
11925 if (obj3) {
11926 {
11927 arg4 = (bool) SPyObj_AsBool(obj3);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 }
11930 }
11931 {
11932 PyThreadState* __tstate = wxPyBeginAllowThreads();
11933 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11934
11935 wxPyEndAllowThreads(__tstate);
11936 if (PyErr_Occurred()) SWIG_fail;
11937 }
11938 resultobj = PyInt_FromLong((long)result);
11939 {
11940 if (temp3)
11941 delete arg3;
11942 }
11943 return resultobj;
11944 fail:
11945 {
11946 if (temp3)
11947 delete arg3;
11948 }
11949 return NULL;
11950 }
11951
11952
11953 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11954 PyObject *resultobj;
11955 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11956 size_t arg2 ;
11957 wxWindow *arg3 = (wxWindow *) 0 ;
11958 wxString *arg4 = 0 ;
11959 bool arg5 = (bool) False ;
11960 int arg6 = (int) -1 ;
11961 bool result;
11962 bool temp4 = False ;
11963 PyObject * obj0 = 0 ;
11964 PyObject * obj1 = 0 ;
11965 PyObject * obj2 = 0 ;
11966 PyObject * obj3 = 0 ;
11967 PyObject * obj4 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11974 {
11975 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11976 if (PyErr_Occurred()) SWIG_fail;
11977 }
11978 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11979 {
11980 arg4 = wxString_in_helper(obj3);
11981 if (arg4 == NULL) SWIG_fail;
11982 temp4 = True;
11983 }
11984 if (obj4) {
11985 {
11986 arg5 = (bool) SPyObj_AsBool(obj4);
11987 if (PyErr_Occurred()) SWIG_fail;
11988 }
11989 }
11990 {
11991 PyThreadState* __tstate = wxPyBeginAllowThreads();
11992 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11993
11994 wxPyEndAllowThreads(__tstate);
11995 if (PyErr_Occurred()) SWIG_fail;
11996 }
11997 resultobj = PyInt_FromLong((long)result);
11998 {
11999 if (temp4)
12000 delete arg4;
12001 }
12002 return resultobj;
12003 fail:
12004 {
12005 if (temp4)
12006 delete arg4;
12007 }
12008 return NULL;
12009 }
12010
12011
12012 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12013 PyObject *resultobj;
12014 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12015 size_t arg2 ;
12016 int result;
12017 PyObject * obj0 = 0 ;
12018 PyObject * obj1 = 0 ;
12019 char *kwnames[] = {
12020 (char *) "self",(char *) "n", NULL
12021 };
12022
12023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12025 {
12026 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12027 if (PyErr_Occurred()) SWIG_fail;
12028 }
12029 {
12030 PyThreadState* __tstate = wxPyBeginAllowThreads();
12031 result = (int)(arg1)->SetSelection(arg2);
12032
12033 wxPyEndAllowThreads(__tstate);
12034 if (PyErr_Occurred()) SWIG_fail;
12035 }
12036 resultobj = PyInt_FromLong((long)result);
12037 return resultobj;
12038 fail:
12039 return NULL;
12040 }
12041
12042
12043 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12044 PyObject *resultobj;
12045 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12046 bool arg2 = (bool) True ;
12047 PyObject * obj0 = 0 ;
12048 PyObject * obj1 = 0 ;
12049 char *kwnames[] = {
12050 (char *) "self",(char *) "forward", NULL
12051 };
12052
12053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
12054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12055 if (obj1) {
12056 {
12057 arg2 = (bool) SPyObj_AsBool(obj1);
12058 if (PyErr_Occurred()) SWIG_fail;
12059 }
12060 }
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 (arg1)->AdvanceSelection(arg2);
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 Py_INCREF(Py_None); resultobj = Py_None;
12069 return resultobj;
12070 fail:
12071 return NULL;
12072 }
12073
12074
12075 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
12076 PyObject *obj;
12077 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12078 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
12079 Py_INCREF(obj);
12080 return Py_BuildValue((char *)"");
12081 }
12082 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12083 PyObject *resultobj;
12084 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12085 int arg2 = (int) 0 ;
12086 int arg3 = (int) -1 ;
12087 int arg4 = (int) -1 ;
12088 wxBookCtrlEvent *result;
12089 char *kwnames[] = {
12090 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12091 };
12092
12093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
12102 return resultobj;
12103 fail:
12104 return NULL;
12105 }
12106
12107
12108 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12111 int result;
12112 PyObject * obj0 = 0 ;
12113 char *kwnames[] = {
12114 (char *) "self", NULL
12115 };
12116
12117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
12118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 resultobj = PyInt_FromLong((long)result);
12127 return resultobj;
12128 fail:
12129 return NULL;
12130 }
12131
12132
12133 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12134 PyObject *resultobj;
12135 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12136 int arg2 ;
12137 PyObject * obj0 = 0 ;
12138 char *kwnames[] = {
12139 (char *) "self",(char *) "nSel", NULL
12140 };
12141
12142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
12143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12144 {
12145 PyThreadState* __tstate = wxPyBeginAllowThreads();
12146 (arg1)->SetSelection(arg2);
12147
12148 wxPyEndAllowThreads(__tstate);
12149 if (PyErr_Occurred()) SWIG_fail;
12150 }
12151 Py_INCREF(Py_None); resultobj = Py_None;
12152 return resultobj;
12153 fail:
12154 return NULL;
12155 }
12156
12157
12158 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12159 PyObject *resultobj;
12160 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12161 int result;
12162 PyObject * obj0 = 0 ;
12163 char *kwnames[] = {
12164 (char *) "self", NULL
12165 };
12166
12167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
12168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12169 {
12170 PyThreadState* __tstate = wxPyBeginAllowThreads();
12171 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
12172
12173 wxPyEndAllowThreads(__tstate);
12174 if (PyErr_Occurred()) SWIG_fail;
12175 }
12176 resultobj = PyInt_FromLong((long)result);
12177 return resultobj;
12178 fail:
12179 return NULL;
12180 }
12181
12182
12183 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12184 PyObject *resultobj;
12185 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12186 int arg2 ;
12187 PyObject * obj0 = 0 ;
12188 char *kwnames[] = {
12189 (char *) "self",(char *) "nOldSel", NULL
12190 };
12191
12192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
12193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12194 {
12195 PyThreadState* __tstate = wxPyBeginAllowThreads();
12196 (arg1)->SetOldSelection(arg2);
12197
12198 wxPyEndAllowThreads(__tstate);
12199 if (PyErr_Occurred()) SWIG_fail;
12200 }
12201 Py_INCREF(Py_None); resultobj = Py_None;
12202 return resultobj;
12203 fail:
12204 return NULL;
12205 }
12206
12207
12208 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
12209 PyObject *obj;
12210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12211 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
12212 Py_INCREF(obj);
12213 return Py_BuildValue((char *)"");
12214 }
12215 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12216 PyObject *resultobj;
12217 wxWindow *arg1 = (wxWindow *) 0 ;
12218 int arg2 ;
12219 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12220 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12221 wxSize const &arg4_defvalue = wxDefaultSize ;
12222 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12223 long arg5 = (long) 0 ;
12224 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
12225 wxString *arg6 = (wxString *) &arg6_defvalue ;
12226 wxNotebook *result;
12227 wxPoint temp3 ;
12228 wxSize temp4 ;
12229 bool temp6 = False ;
12230 PyObject * obj0 = 0 ;
12231 PyObject * obj2 = 0 ;
12232 PyObject * obj3 = 0 ;
12233 PyObject * obj5 = 0 ;
12234 char *kwnames[] = {
12235 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12236 };
12237
12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12240 if (obj2) {
12241 {
12242 arg3 = &temp3;
12243 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12244 }
12245 }
12246 if (obj3) {
12247 {
12248 arg4 = &temp4;
12249 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12250 }
12251 }
12252 if (obj5) {
12253 {
12254 arg6 = wxString_in_helper(obj5);
12255 if (arg6 == NULL) SWIG_fail;
12256 temp6 = True;
12257 }
12258 }
12259 {
12260 PyThreadState* __tstate = wxPyBeginAllowThreads();
12261 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12262
12263 wxPyEndAllowThreads(__tstate);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 }
12266 {
12267 resultobj = wxPyMake_wxObject(result);
12268 }
12269 {
12270 if (temp6)
12271 delete arg6;
12272 }
12273 return resultobj;
12274 fail:
12275 {
12276 if (temp6)
12277 delete arg6;
12278 }
12279 return NULL;
12280 }
12281
12282
12283 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12284 PyObject *resultobj;
12285 wxNotebook *result;
12286 char *kwnames[] = {
12287 NULL
12288 };
12289
12290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
12291 {
12292 PyThreadState* __tstate = wxPyBeginAllowThreads();
12293 result = (wxNotebook *)new wxNotebook();
12294
12295 wxPyEndAllowThreads(__tstate);
12296 if (PyErr_Occurred()) SWIG_fail;
12297 }
12298 {
12299 resultobj = wxPyMake_wxObject(result);
12300 }
12301 return resultobj;
12302 fail:
12303 return NULL;
12304 }
12305
12306
12307 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12308 PyObject *resultobj;
12309 wxNotebook *arg1 = (wxNotebook *) 0 ;
12310 wxWindow *arg2 = (wxWindow *) 0 ;
12311 int arg3 ;
12312 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12313 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12314 wxSize const &arg5_defvalue = wxDefaultSize ;
12315 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12316 long arg6 = (long) 0 ;
12317 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12318 wxString *arg7 = (wxString *) &arg7_defvalue ;
12319 bool result;
12320 wxPoint temp4 ;
12321 wxSize temp5 ;
12322 bool temp7 = False ;
12323 PyObject * obj0 = 0 ;
12324 PyObject * obj1 = 0 ;
12325 PyObject * obj3 = 0 ;
12326 PyObject * obj4 = 0 ;
12327 PyObject * obj6 = 0 ;
12328 char *kwnames[] = {
12329 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12330 };
12331
12332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12335 if (obj3) {
12336 {
12337 arg4 = &temp4;
12338 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12339 }
12340 }
12341 if (obj4) {
12342 {
12343 arg5 = &temp5;
12344 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12345 }
12346 }
12347 if (obj6) {
12348 {
12349 arg7 = wxString_in_helper(obj6);
12350 if (arg7 == NULL) SWIG_fail;
12351 temp7 = True;
12352 }
12353 }
12354 {
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12357
12358 wxPyEndAllowThreads(__tstate);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 }
12361 resultobj = PyInt_FromLong((long)result);
12362 {
12363 if (temp7)
12364 delete arg7;
12365 }
12366 return resultobj;
12367 fail:
12368 {
12369 if (temp7)
12370 delete arg7;
12371 }
12372 return NULL;
12373 }
12374
12375
12376 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12377 PyObject *resultobj;
12378 wxNotebook *arg1 = (wxNotebook *) 0 ;
12379 int result;
12380 PyObject * obj0 = 0 ;
12381 char *kwnames[] = {
12382 (char *) "self", NULL
12383 };
12384
12385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12387 {
12388 PyThreadState* __tstate = wxPyBeginAllowThreads();
12389 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12390
12391 wxPyEndAllowThreads(__tstate);
12392 if (PyErr_Occurred()) SWIG_fail;
12393 }
12394 resultobj = PyInt_FromLong((long)result);
12395 return resultobj;
12396 fail:
12397 return NULL;
12398 }
12399
12400
12401 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12402 PyObject *resultobj;
12403 wxNotebook *arg1 = (wxNotebook *) 0 ;
12404 wxSize *arg2 = 0 ;
12405 wxSize temp2 ;
12406 PyObject * obj0 = 0 ;
12407 PyObject * obj1 = 0 ;
12408 char *kwnames[] = {
12409 (char *) "self",(char *) "padding", NULL
12410 };
12411
12412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12414 {
12415 arg2 = &temp2;
12416 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12417 }
12418 {
12419 PyThreadState* __tstate = wxPyBeginAllowThreads();
12420 (arg1)->SetPadding((wxSize const &)*arg2);
12421
12422 wxPyEndAllowThreads(__tstate);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 }
12425 Py_INCREF(Py_None); resultobj = Py_None;
12426 return resultobj;
12427 fail:
12428 return NULL;
12429 }
12430
12431
12432 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12433 PyObject *resultobj;
12434 wxNotebook *arg1 = (wxNotebook *) 0 ;
12435 wxSize *arg2 = 0 ;
12436 wxSize temp2 ;
12437 PyObject * obj0 = 0 ;
12438 PyObject * obj1 = 0 ;
12439 char *kwnames[] = {
12440 (char *) "self",(char *) "sz", NULL
12441 };
12442
12443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12445 {
12446 arg2 = &temp2;
12447 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12448 }
12449 {
12450 PyThreadState* __tstate = wxPyBeginAllowThreads();
12451 (arg1)->SetTabSize((wxSize const &)*arg2);
12452
12453 wxPyEndAllowThreads(__tstate);
12454 if (PyErr_Occurred()) SWIG_fail;
12455 }
12456 Py_INCREF(Py_None); resultobj = Py_None;
12457 return resultobj;
12458 fail:
12459 return NULL;
12460 }
12461
12462
12463 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12464 PyObject *resultobj;
12465 wxNotebook *arg1 = (wxNotebook *) 0 ;
12466 wxPoint *arg2 = 0 ;
12467 long *arg3 = (long *) 0 ;
12468 int result;
12469 wxPoint temp2 ;
12470 long temp3 ;
12471 PyObject * obj0 = 0 ;
12472 PyObject * obj1 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self",(char *) "pt", NULL
12475 };
12476
12477 arg3 = &temp3;
12478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12480 {
12481 arg2 = &temp2;
12482 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12483 }
12484 {
12485 PyThreadState* __tstate = wxPyBeginAllowThreads();
12486 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12487
12488 wxPyEndAllowThreads(__tstate);
12489 if (PyErr_Occurred()) SWIG_fail;
12490 }
12491 resultobj = PyInt_FromLong((long)result);
12492 {
12493 PyObject *o = PyInt_FromLong((long) (*arg3));
12494 resultobj = t_output_helper(resultobj,o);
12495 }
12496 return resultobj;
12497 fail:
12498 return NULL;
12499 }
12500
12501
12502 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12503 PyObject *resultobj;
12504 wxNotebook *arg1 = (wxNotebook *) 0 ;
12505 wxSize *arg2 = 0 ;
12506 wxSize result;
12507 wxSize temp2 ;
12508 PyObject * obj0 = 0 ;
12509 PyObject * obj1 = 0 ;
12510 char *kwnames[] = {
12511 (char *) "self",(char *) "sizePage", NULL
12512 };
12513
12514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12516 {
12517 arg2 = &temp2;
12518 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12519 }
12520 {
12521 PyThreadState* __tstate = wxPyBeginAllowThreads();
12522 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12523
12524 wxPyEndAllowThreads(__tstate);
12525 if (PyErr_Occurred()) SWIG_fail;
12526 }
12527 {
12528 wxSize * resultptr;
12529 resultptr = new wxSize((wxSize &) result);
12530 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12531 }
12532 return resultobj;
12533 fail:
12534 return NULL;
12535 }
12536
12537
12538 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12539 PyObject *obj;
12540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12541 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12542 Py_INCREF(obj);
12543 return Py_BuildValue((char *)"");
12544 }
12545 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12546 PyObject *resultobj;
12547 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12548 int arg2 = (int) 0 ;
12549 int arg3 = (int) -1 ;
12550 int arg4 = (int) -1 ;
12551 wxNotebookEvent *result;
12552 char *kwnames[] = {
12553 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12554 };
12555
12556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12557 {
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12560
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12565 return resultobj;
12566 fail:
12567 return NULL;
12568 }
12569
12570
12571 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12572 PyObject *obj;
12573 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12574 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12575 Py_INCREF(obj);
12576 return Py_BuildValue((char *)"");
12577 }
12578 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12579 PyObject *resultobj;
12580 wxWindow *arg1 = (wxWindow *) 0 ;
12581 int arg2 ;
12582 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12583 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12584 wxSize const &arg4_defvalue = wxDefaultSize ;
12585 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12586 long arg5 = (long) 0 ;
12587 wxString const &arg6_defvalue = wxPyEmptyString ;
12588 wxString *arg6 = (wxString *) &arg6_defvalue ;
12589 wxListbook *result;
12590 wxPoint temp3 ;
12591 wxSize temp4 ;
12592 bool temp6 = False ;
12593 PyObject * obj0 = 0 ;
12594 PyObject * obj2 = 0 ;
12595 PyObject * obj3 = 0 ;
12596 PyObject * obj5 = 0 ;
12597 char *kwnames[] = {
12598 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12599 };
12600
12601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12603 if (obj2) {
12604 {
12605 arg3 = &temp3;
12606 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12607 }
12608 }
12609 if (obj3) {
12610 {
12611 arg4 = &temp4;
12612 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12613 }
12614 }
12615 if (obj5) {
12616 {
12617 arg6 = wxString_in_helper(obj5);
12618 if (arg6 == NULL) SWIG_fail;
12619 temp6 = True;
12620 }
12621 }
12622 {
12623 PyThreadState* __tstate = wxPyBeginAllowThreads();
12624 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12625
12626 wxPyEndAllowThreads(__tstate);
12627 if (PyErr_Occurred()) SWIG_fail;
12628 }
12629 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12630 {
12631 if (temp6)
12632 delete arg6;
12633 }
12634 return resultobj;
12635 fail:
12636 {
12637 if (temp6)
12638 delete arg6;
12639 }
12640 return NULL;
12641 }
12642
12643
12644 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12645 PyObject *resultobj;
12646 wxListbook *result;
12647 char *kwnames[] = {
12648 NULL
12649 };
12650
12651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12652 {
12653 PyThreadState* __tstate = wxPyBeginAllowThreads();
12654 result = (wxListbook *)new wxListbook();
12655
12656 wxPyEndAllowThreads(__tstate);
12657 if (PyErr_Occurred()) SWIG_fail;
12658 }
12659 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12660 return resultobj;
12661 fail:
12662 return NULL;
12663 }
12664
12665
12666 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12667 PyObject *resultobj;
12668 wxListbook *arg1 = (wxListbook *) 0 ;
12669 wxWindow *arg2 = (wxWindow *) 0 ;
12670 int arg3 ;
12671 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12672 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12673 wxSize const &arg5_defvalue = wxDefaultSize ;
12674 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12675 long arg6 = (long) 0 ;
12676 wxString const &arg7_defvalue = wxPyEmptyString ;
12677 wxString *arg7 = (wxString *) &arg7_defvalue ;
12678 bool result;
12679 wxPoint temp4 ;
12680 wxSize temp5 ;
12681 bool temp7 = False ;
12682 PyObject * obj0 = 0 ;
12683 PyObject * obj1 = 0 ;
12684 PyObject * obj3 = 0 ;
12685 PyObject * obj4 = 0 ;
12686 PyObject * obj6 = 0 ;
12687 char *kwnames[] = {
12688 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12689 };
12690
12691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12693 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12694 if (obj3) {
12695 {
12696 arg4 = &temp4;
12697 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12698 }
12699 }
12700 if (obj4) {
12701 {
12702 arg5 = &temp5;
12703 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12704 }
12705 }
12706 if (obj6) {
12707 {
12708 arg7 = wxString_in_helper(obj6);
12709 if (arg7 == NULL) SWIG_fail;
12710 temp7 = True;
12711 }
12712 }
12713 {
12714 PyThreadState* __tstate = wxPyBeginAllowThreads();
12715 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12716
12717 wxPyEndAllowThreads(__tstate);
12718 if (PyErr_Occurred()) SWIG_fail;
12719 }
12720 resultobj = PyInt_FromLong((long)result);
12721 {
12722 if (temp7)
12723 delete arg7;
12724 }
12725 return resultobj;
12726 fail:
12727 {
12728 if (temp7)
12729 delete arg7;
12730 }
12731 return NULL;
12732 }
12733
12734
12735 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12736 PyObject *resultobj;
12737 wxListbook *arg1 = (wxListbook *) 0 ;
12738 bool result;
12739 PyObject * obj0 = 0 ;
12740 char *kwnames[] = {
12741 (char *) "self", NULL
12742 };
12743
12744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (bool)((wxListbook const *)arg1)->IsVertical();
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 resultobj = PyInt_FromLong((long)result);
12754 return resultobj;
12755 fail:
12756 return NULL;
12757 }
12758
12759
12760 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12761 PyObject *obj;
12762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12763 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12764 Py_INCREF(obj);
12765 return Py_BuildValue((char *)"");
12766 }
12767 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12768 PyObject *resultobj;
12769 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12770 int arg2 = (int) 0 ;
12771 int arg3 = (int) -1 ;
12772 int arg4 = (int) -1 ;
12773 wxListbookEvent *result;
12774 char *kwnames[] = {
12775 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12779 {
12780 PyThreadState* __tstate = wxPyBeginAllowThreads();
12781 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12782
12783 wxPyEndAllowThreads(__tstate);
12784 if (PyErr_Occurred()) SWIG_fail;
12785 }
12786 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12787 return resultobj;
12788 fail:
12789 return NULL;
12790 }
12791
12792
12793 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12794 PyObject *obj;
12795 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12796 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12797 Py_INCREF(obj);
12798 return Py_BuildValue((char *)"");
12799 }
12800 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12801 PyObject *resultobj;
12802 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12803 wxBookCtrlSizer *result;
12804 PyObject * obj0 = 0 ;
12805 char *kwnames[] = {
12806 (char *) "nb", NULL
12807 };
12808
12809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12811 {
12812 PyThreadState* __tstate = wxPyBeginAllowThreads();
12813 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12814
12815 wxPyEndAllowThreads(__tstate);
12816 if (PyErr_Occurred()) SWIG_fail;
12817 }
12818 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12819 return resultobj;
12820 fail:
12821 return NULL;
12822 }
12823
12824
12825 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12826 PyObject *resultobj;
12827 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12828 PyObject * obj0 = 0 ;
12829 char *kwnames[] = {
12830 (char *) "self", NULL
12831 };
12832
12833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12835 {
12836 PyThreadState* __tstate = wxPyBeginAllowThreads();
12837 (arg1)->RecalcSizes();
12838
12839 wxPyEndAllowThreads(__tstate);
12840 if (PyErr_Occurred()) SWIG_fail;
12841 }
12842 Py_INCREF(Py_None); resultobj = Py_None;
12843 return resultobj;
12844 fail:
12845 return NULL;
12846 }
12847
12848
12849 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12850 PyObject *resultobj;
12851 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12852 wxSize result;
12853 PyObject * obj0 = 0 ;
12854 char *kwnames[] = {
12855 (char *) "self", NULL
12856 };
12857
12858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12860 {
12861 PyThreadState* __tstate = wxPyBeginAllowThreads();
12862 result = (arg1)->CalcMin();
12863
12864 wxPyEndAllowThreads(__tstate);
12865 if (PyErr_Occurred()) SWIG_fail;
12866 }
12867 {
12868 wxSize * resultptr;
12869 resultptr = new wxSize((wxSize &) result);
12870 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12871 }
12872 return resultobj;
12873 fail:
12874 return NULL;
12875 }
12876
12877
12878 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12879 PyObject *resultobj;
12880 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12881 wxBookCtrl *result;
12882 PyObject * obj0 = 0 ;
12883 char *kwnames[] = {
12884 (char *) "self", NULL
12885 };
12886
12887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12889 {
12890 PyThreadState* __tstate = wxPyBeginAllowThreads();
12891 result = (wxBookCtrl *)(arg1)->GetControl();
12892
12893 wxPyEndAllowThreads(__tstate);
12894 if (PyErr_Occurred()) SWIG_fail;
12895 }
12896 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12897 return resultobj;
12898 fail:
12899 return NULL;
12900 }
12901
12902
12903 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12904 PyObject *obj;
12905 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12906 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12907 Py_INCREF(obj);
12908 return Py_BuildValue((char *)"");
12909 }
12910 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12911 PyObject *resultobj;
12912 wxNotebook *arg1 = (wxNotebook *) 0 ;
12913 wxNotebookSizer *result;
12914 PyObject * obj0 = 0 ;
12915 char *kwnames[] = {
12916 (char *) "nb", NULL
12917 };
12918
12919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12921 {
12922 PyThreadState* __tstate = wxPyBeginAllowThreads();
12923 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12924
12925 wxPyEndAllowThreads(__tstate);
12926 if (PyErr_Occurred()) SWIG_fail;
12927 }
12928 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12929 return resultobj;
12930 fail:
12931 return NULL;
12932 }
12933
12934
12935 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12936 PyObject *resultobj;
12937 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12938 PyObject * obj0 = 0 ;
12939 char *kwnames[] = {
12940 (char *) "self", NULL
12941 };
12942
12943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12945 {
12946 PyThreadState* __tstate = wxPyBeginAllowThreads();
12947 (arg1)->RecalcSizes();
12948
12949 wxPyEndAllowThreads(__tstate);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 Py_INCREF(Py_None); resultobj = Py_None;
12953 return resultobj;
12954 fail:
12955 return NULL;
12956 }
12957
12958
12959 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj;
12961 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12962 wxSize result;
12963 PyObject * obj0 = 0 ;
12964 char *kwnames[] = {
12965 (char *) "self", NULL
12966 };
12967
12968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12970 {
12971 PyThreadState* __tstate = wxPyBeginAllowThreads();
12972 result = (arg1)->CalcMin();
12973
12974 wxPyEndAllowThreads(__tstate);
12975 if (PyErr_Occurred()) SWIG_fail;
12976 }
12977 {
12978 wxSize * resultptr;
12979 resultptr = new wxSize((wxSize &) result);
12980 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12981 }
12982 return resultobj;
12983 fail:
12984 return NULL;
12985 }
12986
12987
12988 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12989 PyObject *resultobj;
12990 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12991 wxNotebook *result;
12992 PyObject * obj0 = 0 ;
12993 char *kwnames[] = {
12994 (char *) "self", NULL
12995 };
12996
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12999 {
13000 PyThreadState* __tstate = wxPyBeginAllowThreads();
13001 result = (wxNotebook *)(arg1)->GetNotebook();
13002
13003 wxPyEndAllowThreads(__tstate);
13004 if (PyErr_Occurred()) SWIG_fail;
13005 }
13006 {
13007 resultobj = wxPyMake_wxObject(result);
13008 }
13009 return resultobj;
13010 fail:
13011 return NULL;
13012 }
13013
13014
13015 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
13016 PyObject *obj;
13017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13018 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
13019 Py_INCREF(obj);
13020 return Py_BuildValue((char *)"");
13021 }
13022 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
13023 PyObject *resultobj;
13024 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13025 int result;
13026 PyObject * obj0 = 0 ;
13027 char *kwnames[] = {
13028 (char *) "self", NULL
13029 };
13030
13031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
13032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13033 {
13034 PyThreadState* __tstate = wxPyBeginAllowThreads();
13035 result = (int)(arg1)->GetId();
13036
13037 wxPyEndAllowThreads(__tstate);
13038 if (PyErr_Occurred()) SWIG_fail;
13039 }
13040 resultobj = PyInt_FromLong((long)result);
13041 return resultobj;
13042 fail:
13043 return NULL;
13044 }
13045
13046
13047 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13048 PyObject *resultobj;
13049 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13050 wxControl *result;
13051 PyObject * obj0 = 0 ;
13052 char *kwnames[] = {
13053 (char *) "self", NULL
13054 };
13055
13056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
13057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13058 {
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 result = (wxControl *)(arg1)->GetControl();
13061
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 {
13066 resultobj = wxPyMake_wxObject(result);
13067 }
13068 return resultobj;
13069 fail:
13070 return NULL;
13071 }
13072
13073
13074 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13075 PyObject *resultobj;
13076 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13077 wxToolBarBase *result;
13078 PyObject * obj0 = 0 ;
13079 char *kwnames[] = {
13080 (char *) "self", NULL
13081 };
13082
13083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
13084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13085 {
13086 PyThreadState* __tstate = wxPyBeginAllowThreads();
13087 result = (wxToolBarBase *)(arg1)->GetToolBar();
13088
13089 wxPyEndAllowThreads(__tstate);
13090 if (PyErr_Occurred()) SWIG_fail;
13091 }
13092 {
13093 resultobj = wxPyMake_wxObject(result);
13094 }
13095 return resultobj;
13096 fail:
13097 return NULL;
13098 }
13099
13100
13101 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13102 PyObject *resultobj;
13103 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13104 int result;
13105 PyObject * obj0 = 0 ;
13106 char *kwnames[] = {
13107 (char *) "self", NULL
13108 };
13109
13110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
13111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13112 {
13113 PyThreadState* __tstate = wxPyBeginAllowThreads();
13114 result = (int)(arg1)->IsButton();
13115
13116 wxPyEndAllowThreads(__tstate);
13117 if (PyErr_Occurred()) SWIG_fail;
13118 }
13119 resultobj = PyInt_FromLong((long)result);
13120 return resultobj;
13121 fail:
13122 return NULL;
13123 }
13124
13125
13126 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13129 int result;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
13136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (int)(arg1)->IsControl();
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
13144 resultobj = PyInt_FromLong((long)result);
13145 return resultobj;
13146 fail:
13147 return NULL;
13148 }
13149
13150
13151 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13152 PyObject *resultobj;
13153 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13154 int result;
13155 PyObject * obj0 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 result = (int)(arg1)->IsSeparator();
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
13169 resultobj = PyInt_FromLong((long)result);
13170 return resultobj;
13171 fail:
13172 return NULL;
13173 }
13174
13175
13176 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj;
13178 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13179 int result;
13180 PyObject * obj0 = 0 ;
13181 char *kwnames[] = {
13182 (char *) "self", NULL
13183 };
13184
13185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
13186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (int)(arg1)->GetStyle();
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
13194 resultobj = PyInt_FromLong((long)result);
13195 return resultobj;
13196 fail:
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13204 int result;
13205 PyObject * obj0 = 0 ;
13206 char *kwnames[] = {
13207 (char *) "self", NULL
13208 };
13209
13210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
13211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13212 {
13213 PyThreadState* __tstate = wxPyBeginAllowThreads();
13214 result = (int)(arg1)->GetKind();
13215
13216 wxPyEndAllowThreads(__tstate);
13217 if (PyErr_Occurred()) SWIG_fail;
13218 }
13219 resultobj = PyInt_FromLong((long)result);
13220 return resultobj;
13221 fail:
13222 return NULL;
13223 }
13224
13225
13226 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13227 PyObject *resultobj;
13228 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13229 bool result;
13230 PyObject * obj0 = 0 ;
13231 char *kwnames[] = {
13232 (char *) "self", NULL
13233 };
13234
13235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
13236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13237 {
13238 PyThreadState* __tstate = wxPyBeginAllowThreads();
13239 result = (bool)(arg1)->IsEnabled();
13240
13241 wxPyEndAllowThreads(__tstate);
13242 if (PyErr_Occurred()) SWIG_fail;
13243 }
13244 resultobj = PyInt_FromLong((long)result);
13245 return resultobj;
13246 fail:
13247 return NULL;
13248 }
13249
13250
13251 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13252 PyObject *resultobj;
13253 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13254 bool result;
13255 PyObject * obj0 = 0 ;
13256 char *kwnames[] = {
13257 (char *) "self", NULL
13258 };
13259
13260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13262 {
13263 PyThreadState* __tstate = wxPyBeginAllowThreads();
13264 result = (bool)(arg1)->IsToggled();
13265
13266 wxPyEndAllowThreads(__tstate);
13267 if (PyErr_Occurred()) SWIG_fail;
13268 }
13269 resultobj = PyInt_FromLong((long)result);
13270 return resultobj;
13271 fail:
13272 return NULL;
13273 }
13274
13275
13276 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13277 PyObject *resultobj;
13278 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13279 bool result;
13280 PyObject * obj0 = 0 ;
13281 char *kwnames[] = {
13282 (char *) "self", NULL
13283 };
13284
13285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 result = (bool)(arg1)->CanBeToggled();
13290
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 resultobj = PyInt_FromLong((long)result);
13295 return resultobj;
13296 fail:
13297 return NULL;
13298 }
13299
13300
13301 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13302 PyObject *resultobj;
13303 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13304 wxBitmap *result;
13305 PyObject * obj0 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "self", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13312 {
13313 PyThreadState* __tstate = wxPyBeginAllowThreads();
13314 {
13315 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13316 result = (wxBitmap *) &_result_ref;
13317 }
13318
13319 wxPyEndAllowThreads(__tstate);
13320 if (PyErr_Occurred()) SWIG_fail;
13321 }
13322 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13323 return resultobj;
13324 fail:
13325 return NULL;
13326 }
13327
13328
13329 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13330 PyObject *resultobj;
13331 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13332 wxBitmap *result;
13333 PyObject * obj0 = 0 ;
13334 char *kwnames[] = {
13335 (char *) "self", NULL
13336 };
13337
13338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 {
13343 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13344 result = (wxBitmap *) &_result_ref;
13345 }
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13351 return resultobj;
13352 fail:
13353 return NULL;
13354 }
13355
13356
13357 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13358 PyObject *resultobj;
13359 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13360 wxBitmap result;
13361 PyObject * obj0 = 0 ;
13362 char *kwnames[] = {
13363 (char *) "self", NULL
13364 };
13365
13366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 result = (arg1)->GetBitmap();
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 {
13376 wxBitmap * resultptr;
13377 resultptr = new wxBitmap((wxBitmap &) result);
13378 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13379 }
13380 return resultobj;
13381 fail:
13382 return NULL;
13383 }
13384
13385
13386 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13387 PyObject *resultobj;
13388 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13389 wxString result;
13390 PyObject * obj0 = 0 ;
13391 char *kwnames[] = {
13392 (char *) "self", NULL
13393 };
13394
13395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13397 {
13398 PyThreadState* __tstate = wxPyBeginAllowThreads();
13399 result = (arg1)->GetLabel();
13400
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 {
13405 #if wxUSE_UNICODE
13406 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13407 #else
13408 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13409 #endif
13410 }
13411 return resultobj;
13412 fail:
13413 return NULL;
13414 }
13415
13416
13417 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13418 PyObject *resultobj;
13419 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13420 wxString result;
13421 PyObject * obj0 = 0 ;
13422 char *kwnames[] = {
13423 (char *) "self", NULL
13424 };
13425
13426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13428 {
13429 PyThreadState* __tstate = wxPyBeginAllowThreads();
13430 result = (arg1)->GetShortHelp();
13431
13432 wxPyEndAllowThreads(__tstate);
13433 if (PyErr_Occurred()) SWIG_fail;
13434 }
13435 {
13436 #if wxUSE_UNICODE
13437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13438 #else
13439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13440 #endif
13441 }
13442 return resultobj;
13443 fail:
13444 return NULL;
13445 }
13446
13447
13448 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13449 PyObject *resultobj;
13450 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13451 wxString result;
13452 PyObject * obj0 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "self", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13459 {
13460 PyThreadState* __tstate = wxPyBeginAllowThreads();
13461 result = (arg1)->GetLongHelp();
13462
13463 wxPyEndAllowThreads(__tstate);
13464 if (PyErr_Occurred()) SWIG_fail;
13465 }
13466 {
13467 #if wxUSE_UNICODE
13468 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13469 #else
13470 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13471 #endif
13472 }
13473 return resultobj;
13474 fail:
13475 return NULL;
13476 }
13477
13478
13479 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13480 PyObject *resultobj;
13481 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13482 bool arg2 ;
13483 bool result;
13484 PyObject * obj0 = 0 ;
13485 PyObject * obj1 = 0 ;
13486 char *kwnames[] = {
13487 (char *) "self",(char *) "enable", NULL
13488 };
13489
13490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13492 {
13493 arg2 = (bool) SPyObj_AsBool(obj1);
13494 if (PyErr_Occurred()) SWIG_fail;
13495 }
13496 {
13497 PyThreadState* __tstate = wxPyBeginAllowThreads();
13498 result = (bool)(arg1)->Enable(arg2);
13499
13500 wxPyEndAllowThreads(__tstate);
13501 if (PyErr_Occurred()) SWIG_fail;
13502 }
13503 resultobj = PyInt_FromLong((long)result);
13504 return resultobj;
13505 fail:
13506 return NULL;
13507 }
13508
13509
13510 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13511 PyObject *resultobj;
13512 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13513 PyObject * obj0 = 0 ;
13514 char *kwnames[] = {
13515 (char *) "self", NULL
13516 };
13517
13518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13520 {
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 (arg1)->Toggle();
13523
13524 wxPyEndAllowThreads(__tstate);
13525 if (PyErr_Occurred()) SWIG_fail;
13526 }
13527 Py_INCREF(Py_None); resultobj = Py_None;
13528 return resultobj;
13529 fail:
13530 return NULL;
13531 }
13532
13533
13534 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13535 PyObject *resultobj;
13536 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13537 bool arg2 ;
13538 bool result;
13539 PyObject * obj0 = 0 ;
13540 PyObject * obj1 = 0 ;
13541 char *kwnames[] = {
13542 (char *) "self",(char *) "toggle", NULL
13543 };
13544
13545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13547 {
13548 arg2 = (bool) SPyObj_AsBool(obj1);
13549 if (PyErr_Occurred()) SWIG_fail;
13550 }
13551 {
13552 PyThreadState* __tstate = wxPyBeginAllowThreads();
13553 result = (bool)(arg1)->SetToggle(arg2);
13554
13555 wxPyEndAllowThreads(__tstate);
13556 if (PyErr_Occurred()) SWIG_fail;
13557 }
13558 resultobj = PyInt_FromLong((long)result);
13559 return resultobj;
13560 fail:
13561 return NULL;
13562 }
13563
13564
13565 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13566 PyObject *resultobj;
13567 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13568 wxString *arg2 = 0 ;
13569 bool result;
13570 bool temp2 = False ;
13571 PyObject * obj0 = 0 ;
13572 PyObject * obj1 = 0 ;
13573 char *kwnames[] = {
13574 (char *) "self",(char *) "help", NULL
13575 };
13576
13577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13579 {
13580 arg2 = wxString_in_helper(obj1);
13581 if (arg2 == NULL) SWIG_fail;
13582 temp2 = True;
13583 }
13584 {
13585 PyThreadState* __tstate = wxPyBeginAllowThreads();
13586 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13587
13588 wxPyEndAllowThreads(__tstate);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 }
13591 resultobj = PyInt_FromLong((long)result);
13592 {
13593 if (temp2)
13594 delete arg2;
13595 }
13596 return resultobj;
13597 fail:
13598 {
13599 if (temp2)
13600 delete arg2;
13601 }
13602 return NULL;
13603 }
13604
13605
13606 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13607 PyObject *resultobj;
13608 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13609 wxString *arg2 = 0 ;
13610 bool result;
13611 bool temp2 = False ;
13612 PyObject * obj0 = 0 ;
13613 PyObject * obj1 = 0 ;
13614 char *kwnames[] = {
13615 (char *) "self",(char *) "help", NULL
13616 };
13617
13618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13620 {
13621 arg2 = wxString_in_helper(obj1);
13622 if (arg2 == NULL) SWIG_fail;
13623 temp2 = True;
13624 }
13625 {
13626 PyThreadState* __tstate = wxPyBeginAllowThreads();
13627 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13628
13629 wxPyEndAllowThreads(__tstate);
13630 if (PyErr_Occurred()) SWIG_fail;
13631 }
13632 resultobj = PyInt_FromLong((long)result);
13633 {
13634 if (temp2)
13635 delete arg2;
13636 }
13637 return resultobj;
13638 fail:
13639 {
13640 if (temp2)
13641 delete arg2;
13642 }
13643 return NULL;
13644 }
13645
13646
13647 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13648 PyObject *resultobj;
13649 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13650 wxBitmap *arg2 = 0 ;
13651 PyObject * obj0 = 0 ;
13652 PyObject * obj1 = 0 ;
13653 char *kwnames[] = {
13654 (char *) "self",(char *) "bmp", NULL
13655 };
13656
13657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13660 if (arg2 == NULL) {
13661 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13662 }
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 Py_INCREF(Py_None); resultobj = Py_None;
13671 return resultobj;
13672 fail:
13673 return NULL;
13674 }
13675
13676
13677 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13678 PyObject *resultobj;
13679 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13680 wxBitmap *arg2 = 0 ;
13681 PyObject * obj0 = 0 ;
13682 PyObject * obj1 = 0 ;
13683 char *kwnames[] = {
13684 (char *) "self",(char *) "bmp", NULL
13685 };
13686
13687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13689 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13690 if (arg2 == NULL) {
13691 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13692 }
13693 {
13694 PyThreadState* __tstate = wxPyBeginAllowThreads();
13695 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13696
13697 wxPyEndAllowThreads(__tstate);
13698 if (PyErr_Occurred()) SWIG_fail;
13699 }
13700 Py_INCREF(Py_None); resultobj = Py_None;
13701 return resultobj;
13702 fail:
13703 return NULL;
13704 }
13705
13706
13707 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13710 wxString *arg2 = 0 ;
13711 bool temp2 = False ;
13712 PyObject * obj0 = 0 ;
13713 PyObject * obj1 = 0 ;
13714 char *kwnames[] = {
13715 (char *) "self",(char *) "label", NULL
13716 };
13717
13718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13720 {
13721 arg2 = wxString_in_helper(obj1);
13722 if (arg2 == NULL) SWIG_fail;
13723 temp2 = True;
13724 }
13725 {
13726 PyThreadState* __tstate = wxPyBeginAllowThreads();
13727 (arg1)->SetLabel((wxString const &)*arg2);
13728
13729 wxPyEndAllowThreads(__tstate);
13730 if (PyErr_Occurred()) SWIG_fail;
13731 }
13732 Py_INCREF(Py_None); resultobj = Py_None;
13733 {
13734 if (temp2)
13735 delete arg2;
13736 }
13737 return resultobj;
13738 fail:
13739 {
13740 if (temp2)
13741 delete arg2;
13742 }
13743 return NULL;
13744 }
13745
13746
13747 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13748 PyObject *resultobj;
13749 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13750 PyObject * obj0 = 0 ;
13751 char *kwnames[] = {
13752 (char *) "self", NULL
13753 };
13754
13755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13757 {
13758 PyThreadState* __tstate = wxPyBeginAllowThreads();
13759 (arg1)->Detach();
13760
13761 wxPyEndAllowThreads(__tstate);
13762 if (PyErr_Occurred()) SWIG_fail;
13763 }
13764 Py_INCREF(Py_None); resultobj = Py_None;
13765 return resultobj;
13766 fail:
13767 return NULL;
13768 }
13769
13770
13771 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13772 PyObject *resultobj;
13773 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13774 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13775 PyObject * obj0 = 0 ;
13776 PyObject * obj1 = 0 ;
13777 char *kwnames[] = {
13778 (char *) "self",(char *) "tbar", NULL
13779 };
13780
13781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13784 {
13785 PyThreadState* __tstate = wxPyBeginAllowThreads();
13786 (arg1)->Attach(arg2);
13787
13788 wxPyEndAllowThreads(__tstate);
13789 if (PyErr_Occurred()) SWIG_fail;
13790 }
13791 Py_INCREF(Py_None); resultobj = Py_None;
13792 return resultobj;
13793 fail:
13794 return NULL;
13795 }
13796
13797
13798 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13799 PyObject *resultobj;
13800 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13801 PyObject *result;
13802 PyObject * obj0 = 0 ;
13803 char *kwnames[] = {
13804 (char *) "self", NULL
13805 };
13806
13807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13809 {
13810 PyThreadState* __tstate = wxPyBeginAllowThreads();
13811 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13812
13813 wxPyEndAllowThreads(__tstate);
13814 if (PyErr_Occurred()) SWIG_fail;
13815 }
13816 resultobj = result;
13817 return resultobj;
13818 fail:
13819 return NULL;
13820 }
13821
13822
13823 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13824 PyObject *resultobj;
13825 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13826 PyObject *arg2 = (PyObject *) 0 ;
13827 PyObject * obj0 = 0 ;
13828 PyObject * obj1 = 0 ;
13829 char *kwnames[] = {
13830 (char *) "self",(char *) "clientData", NULL
13831 };
13832
13833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13835 arg2 = obj1;
13836 {
13837 PyThreadState* __tstate = wxPyBeginAllowThreads();
13838 wxToolBarToolBase_SetClientData(arg1,arg2);
13839
13840 wxPyEndAllowThreads(__tstate);
13841 if (PyErr_Occurred()) SWIG_fail;
13842 }
13843 Py_INCREF(Py_None); resultobj = Py_None;
13844 return resultobj;
13845 fail:
13846 return NULL;
13847 }
13848
13849
13850 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13851 PyObject *obj;
13852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13853 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13854 Py_INCREF(obj);
13855 return Py_BuildValue((char *)"");
13856 }
13857 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13858 PyObject *resultobj;
13859 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13860 int arg2 ;
13861 wxString *arg3 = 0 ;
13862 wxBitmap *arg4 = 0 ;
13863 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13864 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13865 int arg6 = (int) wxITEM_NORMAL ;
13866 wxString const &arg7_defvalue = wxPyEmptyString ;
13867 wxString *arg7 = (wxString *) &arg7_defvalue ;
13868 wxString const &arg8_defvalue = wxPyEmptyString ;
13869 wxString *arg8 = (wxString *) &arg8_defvalue ;
13870 PyObject *arg9 = (PyObject *) NULL ;
13871 wxToolBarToolBase *result;
13872 bool temp3 = False ;
13873 bool temp7 = False ;
13874 bool temp8 = False ;
13875 PyObject * obj0 = 0 ;
13876 PyObject * obj2 = 0 ;
13877 PyObject * obj3 = 0 ;
13878 PyObject * obj4 = 0 ;
13879 PyObject * obj6 = 0 ;
13880 PyObject * obj7 = 0 ;
13881 PyObject * obj8 = 0 ;
13882 char *kwnames[] = {
13883 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13884 };
13885
13886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13888 {
13889 arg3 = wxString_in_helper(obj2);
13890 if (arg3 == NULL) SWIG_fail;
13891 temp3 = True;
13892 }
13893 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13894 if (arg4 == NULL) {
13895 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13896 }
13897 if (obj4) {
13898 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13899 if (arg5 == NULL) {
13900 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13901 }
13902 }
13903 if (obj6) {
13904 {
13905 arg7 = wxString_in_helper(obj6);
13906 if (arg7 == NULL) SWIG_fail;
13907 temp7 = True;
13908 }
13909 }
13910 if (obj7) {
13911 {
13912 arg8 = wxString_in_helper(obj7);
13913 if (arg8 == NULL) SWIG_fail;
13914 temp8 = True;
13915 }
13916 }
13917 if (obj8) {
13918 arg9 = obj8;
13919 }
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13923
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 {
13928 resultobj = wxPyMake_wxObject(result);
13929 }
13930 {
13931 if (temp3)
13932 delete arg3;
13933 }
13934 {
13935 if (temp7)
13936 delete arg7;
13937 }
13938 {
13939 if (temp8)
13940 delete arg8;
13941 }
13942 return resultobj;
13943 fail:
13944 {
13945 if (temp3)
13946 delete arg3;
13947 }
13948 {
13949 if (temp7)
13950 delete arg7;
13951 }
13952 {
13953 if (temp8)
13954 delete arg8;
13955 }
13956 return NULL;
13957 }
13958
13959
13960 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj;
13962 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13963 size_t arg2 ;
13964 int arg3 ;
13965 wxString *arg4 = 0 ;
13966 wxBitmap *arg5 = 0 ;
13967 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13968 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13969 int arg7 = (int) wxITEM_NORMAL ;
13970 wxString const &arg8_defvalue = wxPyEmptyString ;
13971 wxString *arg8 = (wxString *) &arg8_defvalue ;
13972 wxString const &arg9_defvalue = wxPyEmptyString ;
13973 wxString *arg9 = (wxString *) &arg9_defvalue ;
13974 PyObject *arg10 = (PyObject *) NULL ;
13975 wxToolBarToolBase *result;
13976 bool temp4 = False ;
13977 bool temp8 = False ;
13978 bool temp9 = False ;
13979 PyObject * obj0 = 0 ;
13980 PyObject * obj1 = 0 ;
13981 PyObject * obj3 = 0 ;
13982 PyObject * obj4 = 0 ;
13983 PyObject * obj5 = 0 ;
13984 PyObject * obj7 = 0 ;
13985 PyObject * obj8 = 0 ;
13986 PyObject * obj9 = 0 ;
13987 char *kwnames[] = {
13988 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13989 };
13990
13991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13993 {
13994 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 }
13997 {
13998 arg4 = wxString_in_helper(obj3);
13999 if (arg4 == NULL) SWIG_fail;
14000 temp4 = True;
14001 }
14002 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14003 if (arg5 == NULL) {
14004 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14005 }
14006 if (obj5) {
14007 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14008 if (arg6 == NULL) {
14009 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14010 }
14011 }
14012 if (obj7) {
14013 {
14014 arg8 = wxString_in_helper(obj7);
14015 if (arg8 == NULL) SWIG_fail;
14016 temp8 = True;
14017 }
14018 }
14019 if (obj8) {
14020 {
14021 arg9 = wxString_in_helper(obj8);
14022 if (arg9 == NULL) SWIG_fail;
14023 temp9 = True;
14024 }
14025 }
14026 if (obj9) {
14027 arg10 = obj9;
14028 }
14029 {
14030 PyThreadState* __tstate = wxPyBeginAllowThreads();
14031 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);
14032
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
14036 {
14037 resultobj = wxPyMake_wxObject(result);
14038 }
14039 {
14040 if (temp4)
14041 delete arg4;
14042 }
14043 {
14044 if (temp8)
14045 delete arg8;
14046 }
14047 {
14048 if (temp9)
14049 delete arg9;
14050 }
14051 return resultobj;
14052 fail:
14053 {
14054 if (temp4)
14055 delete arg4;
14056 }
14057 {
14058 if (temp8)
14059 delete arg8;
14060 }
14061 {
14062 if (temp9)
14063 delete arg9;
14064 }
14065 return NULL;
14066 }
14067
14068
14069 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14070 PyObject *resultobj;
14071 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14072 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
14073 wxToolBarToolBase *result;
14074 PyObject * obj0 = 0 ;
14075 PyObject * obj1 = 0 ;
14076 char *kwnames[] = {
14077 (char *) "self",(char *) "tool", NULL
14078 };
14079
14080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
14081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14083 {
14084 PyThreadState* __tstate = wxPyBeginAllowThreads();
14085 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
14086
14087 wxPyEndAllowThreads(__tstate);
14088 if (PyErr_Occurred()) SWIG_fail;
14089 }
14090 {
14091 resultobj = wxPyMake_wxObject(result);
14092 }
14093 return resultobj;
14094 fail:
14095 return NULL;
14096 }
14097
14098
14099 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14100 PyObject *resultobj;
14101 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14102 size_t arg2 ;
14103 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
14104 wxToolBarToolBase *result;
14105 PyObject * obj0 = 0 ;
14106 PyObject * obj1 = 0 ;
14107 PyObject * obj2 = 0 ;
14108 char *kwnames[] = {
14109 (char *) "self",(char *) "pos",(char *) "tool", NULL
14110 };
14111
14112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14114 {
14115 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14119 {
14120 PyThreadState* __tstate = wxPyBeginAllowThreads();
14121 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
14122
14123 wxPyEndAllowThreads(__tstate);
14124 if (PyErr_Occurred()) SWIG_fail;
14125 }
14126 {
14127 resultobj = wxPyMake_wxObject(result);
14128 }
14129 return resultobj;
14130 fail:
14131 return NULL;
14132 }
14133
14134
14135 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14136 PyObject *resultobj;
14137 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14138 wxControl *arg2 = (wxControl *) 0 ;
14139 wxToolBarToolBase *result;
14140 PyObject * obj0 = 0 ;
14141 PyObject * obj1 = 0 ;
14142 char *kwnames[] = {
14143 (char *) "self",(char *) "control", NULL
14144 };
14145
14146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
14147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14148 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
14152
14153 wxPyEndAllowThreads(__tstate);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
14156 {
14157 resultobj = wxPyMake_wxObject(result);
14158 }
14159 return resultobj;
14160 fail:
14161 return NULL;
14162 }
14163
14164
14165 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14166 PyObject *resultobj;
14167 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14168 size_t arg2 ;
14169 wxControl *arg3 = (wxControl *) 0 ;
14170 wxToolBarToolBase *result;
14171 PyObject * obj0 = 0 ;
14172 PyObject * obj1 = 0 ;
14173 PyObject * obj2 = 0 ;
14174 char *kwnames[] = {
14175 (char *) "self",(char *) "pos",(char *) "control", NULL
14176 };
14177
14178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
14179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14180 {
14181 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 }
14184 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14185 {
14186 PyThreadState* __tstate = wxPyBeginAllowThreads();
14187 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
14188
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 {
14193 resultobj = wxPyMake_wxObject(result);
14194 }
14195 return resultobj;
14196 fail:
14197 return NULL;
14198 }
14199
14200
14201 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14204 int arg2 ;
14205 wxControl *result;
14206 PyObject * obj0 = 0 ;
14207 char *kwnames[] = {
14208 (char *) "self",(char *) "id", NULL
14209 };
14210
14211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
14212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14213 {
14214 PyThreadState* __tstate = wxPyBeginAllowThreads();
14215 result = (wxControl *)(arg1)->FindControl(arg2);
14216
14217 wxPyEndAllowThreads(__tstate);
14218 if (PyErr_Occurred()) SWIG_fail;
14219 }
14220 {
14221 resultobj = wxPyMake_wxObject(result);
14222 }
14223 return resultobj;
14224 fail:
14225 return NULL;
14226 }
14227
14228
14229 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14230 PyObject *resultobj;
14231 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14232 wxToolBarToolBase *result;
14233 PyObject * obj0 = 0 ;
14234 char *kwnames[] = {
14235 (char *) "self", NULL
14236 };
14237
14238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
14239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14240 {
14241 PyThreadState* __tstate = wxPyBeginAllowThreads();
14242 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
14243
14244 wxPyEndAllowThreads(__tstate);
14245 if (PyErr_Occurred()) SWIG_fail;
14246 }
14247 {
14248 resultobj = wxPyMake_wxObject(result);
14249 }
14250 return resultobj;
14251 fail:
14252 return NULL;
14253 }
14254
14255
14256 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14257 PyObject *resultobj;
14258 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14259 size_t arg2 ;
14260 wxToolBarToolBase *result;
14261 PyObject * obj0 = 0 ;
14262 PyObject * obj1 = 0 ;
14263 char *kwnames[] = {
14264 (char *) "self",(char *) "pos", NULL
14265 };
14266
14267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
14268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14269 {
14270 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14271 if (PyErr_Occurred()) SWIG_fail;
14272 }
14273 {
14274 PyThreadState* __tstate = wxPyBeginAllowThreads();
14275 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
14276
14277 wxPyEndAllowThreads(__tstate);
14278 if (PyErr_Occurred()) SWIG_fail;
14279 }
14280 {
14281 resultobj = wxPyMake_wxObject(result);
14282 }
14283 return resultobj;
14284 fail:
14285 return NULL;
14286 }
14287
14288
14289 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14290 PyObject *resultobj;
14291 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14292 int arg2 ;
14293 wxToolBarToolBase *result;
14294 PyObject * obj0 = 0 ;
14295 char *kwnames[] = {
14296 (char *) "self",(char *) "id", NULL
14297 };
14298
14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
14300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14301 {
14302 PyThreadState* __tstate = wxPyBeginAllowThreads();
14303 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
14304
14305 wxPyEndAllowThreads(__tstate);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 }
14308 {
14309 resultobj = wxPyMake_wxObject(result);
14310 }
14311 return resultobj;
14312 fail:
14313 return NULL;
14314 }
14315
14316
14317 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14318 PyObject *resultobj;
14319 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14320 size_t arg2 ;
14321 bool result;
14322 PyObject * obj0 = 0 ;
14323 PyObject * obj1 = 0 ;
14324 char *kwnames[] = {
14325 (char *) "self",(char *) "pos", NULL
14326 };
14327
14328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
14329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14330 {
14331 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14332 if (PyErr_Occurred()) SWIG_fail;
14333 }
14334 {
14335 PyThreadState* __tstate = wxPyBeginAllowThreads();
14336 result = (bool)(arg1)->DeleteToolByPos(arg2);
14337
14338 wxPyEndAllowThreads(__tstate);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 }
14341 resultobj = PyInt_FromLong((long)result);
14342 return resultobj;
14343 fail:
14344 return NULL;
14345 }
14346
14347
14348 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14349 PyObject *resultobj;
14350 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14351 int arg2 ;
14352 bool result;
14353 PyObject * obj0 = 0 ;
14354 char *kwnames[] = {
14355 (char *) "self",(char *) "id", NULL
14356 };
14357
14358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14360 {
14361 PyThreadState* __tstate = wxPyBeginAllowThreads();
14362 result = (bool)(arg1)->DeleteTool(arg2);
14363
14364 wxPyEndAllowThreads(__tstate);
14365 if (PyErr_Occurred()) SWIG_fail;
14366 }
14367 resultobj = PyInt_FromLong((long)result);
14368 return resultobj;
14369 fail:
14370 return NULL;
14371 }
14372
14373
14374 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14375 PyObject *resultobj;
14376 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14377 PyObject * obj0 = 0 ;
14378 char *kwnames[] = {
14379 (char *) "self", NULL
14380 };
14381
14382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14384 {
14385 PyThreadState* __tstate = wxPyBeginAllowThreads();
14386 (arg1)->ClearTools();
14387
14388 wxPyEndAllowThreads(__tstate);
14389 if (PyErr_Occurred()) SWIG_fail;
14390 }
14391 Py_INCREF(Py_None); resultobj = Py_None;
14392 return resultobj;
14393 fail:
14394 return NULL;
14395 }
14396
14397
14398 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14399 PyObject *resultobj;
14400 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14401 bool result;
14402 PyObject * obj0 = 0 ;
14403 char *kwnames[] = {
14404 (char *) "self", NULL
14405 };
14406
14407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14409 {
14410 PyThreadState* __tstate = wxPyBeginAllowThreads();
14411 result = (bool)(arg1)->Realize();
14412
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 resultobj = PyInt_FromLong((long)result);
14417 return resultobj;
14418 fail:
14419 return NULL;
14420 }
14421
14422
14423 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14424 PyObject *resultobj;
14425 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14426 int arg2 ;
14427 bool arg3 ;
14428 PyObject * obj0 = 0 ;
14429 PyObject * obj2 = 0 ;
14430 char *kwnames[] = {
14431 (char *) "self",(char *) "id",(char *) "enable", NULL
14432 };
14433
14434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14436 {
14437 arg3 = (bool) SPyObj_AsBool(obj2);
14438 if (PyErr_Occurred()) SWIG_fail;
14439 }
14440 {
14441 PyThreadState* __tstate = wxPyBeginAllowThreads();
14442 (arg1)->EnableTool(arg2,arg3);
14443
14444 wxPyEndAllowThreads(__tstate);
14445 if (PyErr_Occurred()) SWIG_fail;
14446 }
14447 Py_INCREF(Py_None); resultobj = Py_None;
14448 return resultobj;
14449 fail:
14450 return NULL;
14451 }
14452
14453
14454 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14455 PyObject *resultobj;
14456 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14457 int arg2 ;
14458 bool arg3 ;
14459 PyObject * obj0 = 0 ;
14460 PyObject * obj2 = 0 ;
14461 char *kwnames[] = {
14462 (char *) "self",(char *) "id",(char *) "toggle", NULL
14463 };
14464
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14467 {
14468 arg3 = (bool) SPyObj_AsBool(obj2);
14469 if (PyErr_Occurred()) SWIG_fail;
14470 }
14471 {
14472 PyThreadState* __tstate = wxPyBeginAllowThreads();
14473 (arg1)->ToggleTool(arg2,arg3);
14474
14475 wxPyEndAllowThreads(__tstate);
14476 if (PyErr_Occurred()) SWIG_fail;
14477 }
14478 Py_INCREF(Py_None); resultobj = Py_None;
14479 return resultobj;
14480 fail:
14481 return NULL;
14482 }
14483
14484
14485 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14486 PyObject *resultobj;
14487 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14488 int arg2 ;
14489 bool arg3 ;
14490 PyObject * obj0 = 0 ;
14491 PyObject * obj2 = 0 ;
14492 char *kwnames[] = {
14493 (char *) "self",(char *) "id",(char *) "toggle", NULL
14494 };
14495
14496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14498 {
14499 arg3 = (bool) SPyObj_AsBool(obj2);
14500 if (PyErr_Occurred()) SWIG_fail;
14501 }
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 (arg1)->SetToggle(arg2,arg3);
14505
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
14509 Py_INCREF(Py_None); resultobj = Py_None;
14510 return resultobj;
14511 fail:
14512 return NULL;
14513 }
14514
14515
14516 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14517 PyObject *resultobj;
14518 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14519 int arg2 ;
14520 PyObject *result;
14521 PyObject * obj0 = 0 ;
14522 char *kwnames[] = {
14523 (char *) "self",(char *) "id", NULL
14524 };
14525
14526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14528 {
14529 PyThreadState* __tstate = wxPyBeginAllowThreads();
14530 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14531
14532 wxPyEndAllowThreads(__tstate);
14533 if (PyErr_Occurred()) SWIG_fail;
14534 }
14535 resultobj = result;
14536 return resultobj;
14537 fail:
14538 return NULL;
14539 }
14540
14541
14542 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14543 PyObject *resultobj;
14544 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14545 int arg2 ;
14546 PyObject *arg3 = (PyObject *) 0 ;
14547 PyObject * obj0 = 0 ;
14548 PyObject * obj2 = 0 ;
14549 char *kwnames[] = {
14550 (char *) "self",(char *) "id",(char *) "clientData", NULL
14551 };
14552
14553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14555 arg3 = obj2;
14556 {
14557 PyThreadState* __tstate = wxPyBeginAllowThreads();
14558 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14559
14560 wxPyEndAllowThreads(__tstate);
14561 if (PyErr_Occurred()) SWIG_fail;
14562 }
14563 Py_INCREF(Py_None); resultobj = Py_None;
14564 return resultobj;
14565 fail:
14566 return NULL;
14567 }
14568
14569
14570 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14571 PyObject *resultobj;
14572 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14573 int arg2 ;
14574 int result;
14575 PyObject * obj0 = 0 ;
14576 char *kwnames[] = {
14577 (char *) "self",(char *) "id", NULL
14578 };
14579
14580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14582 {
14583 PyThreadState* __tstate = wxPyBeginAllowThreads();
14584 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14585
14586 wxPyEndAllowThreads(__tstate);
14587 if (PyErr_Occurred()) SWIG_fail;
14588 }
14589 resultobj = PyInt_FromLong((long)result);
14590 return resultobj;
14591 fail:
14592 return NULL;
14593 }
14594
14595
14596 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14597 PyObject *resultobj;
14598 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14599 int arg2 ;
14600 bool result;
14601 PyObject * obj0 = 0 ;
14602 char *kwnames[] = {
14603 (char *) "self",(char *) "id", NULL
14604 };
14605
14606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14608 {
14609 PyThreadState* __tstate = wxPyBeginAllowThreads();
14610 result = (bool)(arg1)->GetToolState(arg2);
14611
14612 wxPyEndAllowThreads(__tstate);
14613 if (PyErr_Occurred()) SWIG_fail;
14614 }
14615 resultobj = PyInt_FromLong((long)result);
14616 return resultobj;
14617 fail:
14618 return NULL;
14619 }
14620
14621
14622 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14623 PyObject *resultobj;
14624 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14625 int arg2 ;
14626 bool result;
14627 PyObject * obj0 = 0 ;
14628 char *kwnames[] = {
14629 (char *) "self",(char *) "id", NULL
14630 };
14631
14632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14634 {
14635 PyThreadState* __tstate = wxPyBeginAllowThreads();
14636 result = (bool)(arg1)->GetToolEnabled(arg2);
14637
14638 wxPyEndAllowThreads(__tstate);
14639 if (PyErr_Occurred()) SWIG_fail;
14640 }
14641 resultobj = PyInt_FromLong((long)result);
14642 return resultobj;
14643 fail:
14644 return NULL;
14645 }
14646
14647
14648 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14649 PyObject *resultobj;
14650 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14651 int arg2 ;
14652 wxString *arg3 = 0 ;
14653 bool temp3 = False ;
14654 PyObject * obj0 = 0 ;
14655 PyObject * obj2 = 0 ;
14656 char *kwnames[] = {
14657 (char *) "self",(char *) "id",(char *) "helpString", NULL
14658 };
14659
14660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14662 {
14663 arg3 = wxString_in_helper(obj2);
14664 if (arg3 == NULL) SWIG_fail;
14665 temp3 = True;
14666 }
14667 {
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14670
14671 wxPyEndAllowThreads(__tstate);
14672 if (PyErr_Occurred()) SWIG_fail;
14673 }
14674 Py_INCREF(Py_None); resultobj = Py_None;
14675 {
14676 if (temp3)
14677 delete arg3;
14678 }
14679 return resultobj;
14680 fail:
14681 {
14682 if (temp3)
14683 delete arg3;
14684 }
14685 return NULL;
14686 }
14687
14688
14689 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14690 PyObject *resultobj;
14691 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14692 int arg2 ;
14693 wxString result;
14694 PyObject * obj0 = 0 ;
14695 char *kwnames[] = {
14696 (char *) "self",(char *) "id", NULL
14697 };
14698
14699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14701 {
14702 PyThreadState* __tstate = wxPyBeginAllowThreads();
14703 result = (arg1)->GetToolShortHelp(arg2);
14704
14705 wxPyEndAllowThreads(__tstate);
14706 if (PyErr_Occurred()) SWIG_fail;
14707 }
14708 {
14709 #if wxUSE_UNICODE
14710 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14711 #else
14712 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14713 #endif
14714 }
14715 return resultobj;
14716 fail:
14717 return NULL;
14718 }
14719
14720
14721 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14722 PyObject *resultobj;
14723 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14724 int arg2 ;
14725 wxString *arg3 = 0 ;
14726 bool temp3 = False ;
14727 PyObject * obj0 = 0 ;
14728 PyObject * obj2 = 0 ;
14729 char *kwnames[] = {
14730 (char *) "self",(char *) "id",(char *) "helpString", NULL
14731 };
14732
14733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14735 {
14736 arg3 = wxString_in_helper(obj2);
14737 if (arg3 == NULL) SWIG_fail;
14738 temp3 = True;
14739 }
14740 {
14741 PyThreadState* __tstate = wxPyBeginAllowThreads();
14742 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14743
14744 wxPyEndAllowThreads(__tstate);
14745 if (PyErr_Occurred()) SWIG_fail;
14746 }
14747 Py_INCREF(Py_None); resultobj = Py_None;
14748 {
14749 if (temp3)
14750 delete arg3;
14751 }
14752 return resultobj;
14753 fail:
14754 {
14755 if (temp3)
14756 delete arg3;
14757 }
14758 return NULL;
14759 }
14760
14761
14762 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14763 PyObject *resultobj;
14764 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14765 int arg2 ;
14766 wxString result;
14767 PyObject * obj0 = 0 ;
14768 char *kwnames[] = {
14769 (char *) "self",(char *) "id", NULL
14770 };
14771
14772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14774 {
14775 PyThreadState* __tstate = wxPyBeginAllowThreads();
14776 result = (arg1)->GetToolLongHelp(arg2);
14777
14778 wxPyEndAllowThreads(__tstate);
14779 if (PyErr_Occurred()) SWIG_fail;
14780 }
14781 {
14782 #if wxUSE_UNICODE
14783 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14784 #else
14785 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14786 #endif
14787 }
14788 return resultobj;
14789 fail:
14790 return NULL;
14791 }
14792
14793
14794 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14795 PyObject *resultobj;
14796 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14797 int arg2 ;
14798 int arg3 ;
14799 PyObject * obj0 = 0 ;
14800 char *kwnames[] = {
14801 (char *) "self",(char *) "x",(char *) "y", NULL
14802 };
14803
14804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14806 {
14807 PyThreadState* __tstate = wxPyBeginAllowThreads();
14808 (arg1)->SetMargins(arg2,arg3);
14809
14810 wxPyEndAllowThreads(__tstate);
14811 if (PyErr_Occurred()) SWIG_fail;
14812 }
14813 Py_INCREF(Py_None); resultobj = Py_None;
14814 return resultobj;
14815 fail:
14816 return NULL;
14817 }
14818
14819
14820 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14821 PyObject *resultobj;
14822 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14823 wxSize *arg2 = 0 ;
14824 wxSize temp2 ;
14825 PyObject * obj0 = 0 ;
14826 PyObject * obj1 = 0 ;
14827 char *kwnames[] = {
14828 (char *) "self",(char *) "size", NULL
14829 };
14830
14831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14833 {
14834 arg2 = &temp2;
14835 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14836 }
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 (arg1)->SetMargins((wxSize const &)*arg2);
14840
14841 wxPyEndAllowThreads(__tstate);
14842 if (PyErr_Occurred()) SWIG_fail;
14843 }
14844 Py_INCREF(Py_None); resultobj = Py_None;
14845 return resultobj;
14846 fail:
14847 return NULL;
14848 }
14849
14850
14851 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14852 PyObject *resultobj;
14853 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14854 int arg2 ;
14855 PyObject * obj0 = 0 ;
14856 char *kwnames[] = {
14857 (char *) "self",(char *) "packing", NULL
14858 };
14859
14860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14862 {
14863 PyThreadState* __tstate = wxPyBeginAllowThreads();
14864 (arg1)->SetToolPacking(arg2);
14865
14866 wxPyEndAllowThreads(__tstate);
14867 if (PyErr_Occurred()) SWIG_fail;
14868 }
14869 Py_INCREF(Py_None); resultobj = Py_None;
14870 return resultobj;
14871 fail:
14872 return NULL;
14873 }
14874
14875
14876 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14877 PyObject *resultobj;
14878 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14879 int arg2 ;
14880 PyObject * obj0 = 0 ;
14881 char *kwnames[] = {
14882 (char *) "self",(char *) "separation", NULL
14883 };
14884
14885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14887 {
14888 PyThreadState* __tstate = wxPyBeginAllowThreads();
14889 (arg1)->SetToolSeparation(arg2);
14890
14891 wxPyEndAllowThreads(__tstate);
14892 if (PyErr_Occurred()) SWIG_fail;
14893 }
14894 Py_INCREF(Py_None); resultobj = Py_None;
14895 return resultobj;
14896 fail:
14897 return NULL;
14898 }
14899
14900
14901 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14902 PyObject *resultobj;
14903 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14904 wxSize result;
14905 PyObject * obj0 = 0 ;
14906 char *kwnames[] = {
14907 (char *) "self", NULL
14908 };
14909
14910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14912 {
14913 PyThreadState* __tstate = wxPyBeginAllowThreads();
14914 result = (arg1)->GetToolMargins();
14915
14916 wxPyEndAllowThreads(__tstate);
14917 if (PyErr_Occurred()) SWIG_fail;
14918 }
14919 {
14920 wxSize * resultptr;
14921 resultptr = new wxSize((wxSize &) result);
14922 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14923 }
14924 return resultobj;
14925 fail:
14926 return NULL;
14927 }
14928
14929
14930 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14931 PyObject *resultobj;
14932 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14933 wxSize result;
14934 PyObject * obj0 = 0 ;
14935 char *kwnames[] = {
14936 (char *) "self", NULL
14937 };
14938
14939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14941 {
14942 PyThreadState* __tstate = wxPyBeginAllowThreads();
14943 result = (arg1)->GetMargins();
14944
14945 wxPyEndAllowThreads(__tstate);
14946 if (PyErr_Occurred()) SWIG_fail;
14947 }
14948 {
14949 wxSize * resultptr;
14950 resultptr = new wxSize((wxSize &) result);
14951 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14952 }
14953 return resultobj;
14954 fail:
14955 return NULL;
14956 }
14957
14958
14959 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj;
14961 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14962 int result;
14963 PyObject * obj0 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) 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 = (int)(arg1)->GetToolPacking();
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_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14985 PyObject *resultobj;
14986 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14987 int result;
14988 PyObject * obj0 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 result = (int)(arg1)->GetToolSeparation();
14998
14999 wxPyEndAllowThreads(__tstate);
15000 if (PyErr_Occurred()) SWIG_fail;
15001 }
15002 resultobj = PyInt_FromLong((long)result);
15003 return resultobj;
15004 fail:
15005 return NULL;
15006 }
15007
15008
15009 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15010 PyObject *resultobj;
15011 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15012 int arg2 ;
15013 PyObject * obj0 = 0 ;
15014 char *kwnames[] = {
15015 (char *) "self",(char *) "nRows", NULL
15016 };
15017
15018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
15019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 (arg1)->SetRows(arg2);
15023
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
15027 Py_INCREF(Py_None); resultobj = Py_None;
15028 return resultobj;
15029 fail:
15030 return NULL;
15031 }
15032
15033
15034 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15035 PyObject *resultobj;
15036 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15037 int arg2 ;
15038 int arg3 ;
15039 PyObject * obj0 = 0 ;
15040 char *kwnames[] = {
15041 (char *) "self",(char *) "rows",(char *) "cols", NULL
15042 };
15043
15044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
15045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15046 {
15047 PyThreadState* __tstate = wxPyBeginAllowThreads();
15048 (arg1)->SetMaxRowsCols(arg2,arg3);
15049
15050 wxPyEndAllowThreads(__tstate);
15051 if (PyErr_Occurred()) SWIG_fail;
15052 }
15053 Py_INCREF(Py_None); resultobj = Py_None;
15054 return resultobj;
15055 fail:
15056 return NULL;
15057 }
15058
15059
15060 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15061 PyObject *resultobj;
15062 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15063 int result;
15064 PyObject * obj0 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15071 {
15072 PyThreadState* __tstate = wxPyBeginAllowThreads();
15073 result = (int)(arg1)->GetMaxRows();
15074
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 resultobj = PyInt_FromLong((long)result);
15079 return resultobj;
15080 fail:
15081 return NULL;
15082 }
15083
15084
15085 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15086 PyObject *resultobj;
15087 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15088 int result;
15089 PyObject * obj0 = 0 ;
15090 char *kwnames[] = {
15091 (char *) "self", NULL
15092 };
15093
15094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15096 {
15097 PyThreadState* __tstate = wxPyBeginAllowThreads();
15098 result = (int)(arg1)->GetMaxCols();
15099
15100 wxPyEndAllowThreads(__tstate);
15101 if (PyErr_Occurred()) SWIG_fail;
15102 }
15103 resultobj = PyInt_FromLong((long)result);
15104 return resultobj;
15105 fail:
15106 return NULL;
15107 }
15108
15109
15110 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15111 PyObject *resultobj;
15112 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15113 wxSize *arg2 = 0 ;
15114 wxSize temp2 ;
15115 PyObject * obj0 = 0 ;
15116 PyObject * obj1 = 0 ;
15117 char *kwnames[] = {
15118 (char *) "self",(char *) "size", NULL
15119 };
15120
15121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15123 {
15124 arg2 = &temp2;
15125 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15126 }
15127 {
15128 PyThreadState* __tstate = wxPyBeginAllowThreads();
15129 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
15130
15131 wxPyEndAllowThreads(__tstate);
15132 if (PyErr_Occurred()) SWIG_fail;
15133 }
15134 Py_INCREF(Py_None); resultobj = Py_None;
15135 return resultobj;
15136 fail:
15137 return NULL;
15138 }
15139
15140
15141 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15142 PyObject *resultobj;
15143 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15144 wxSize result;
15145 PyObject * obj0 = 0 ;
15146 char *kwnames[] = {
15147 (char *) "self", NULL
15148 };
15149
15150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15152 {
15153 PyThreadState* __tstate = wxPyBeginAllowThreads();
15154 result = (arg1)->GetToolBitmapSize();
15155
15156 wxPyEndAllowThreads(__tstate);
15157 if (PyErr_Occurred()) SWIG_fail;
15158 }
15159 {
15160 wxSize * resultptr;
15161 resultptr = new wxSize((wxSize &) result);
15162 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15163 }
15164 return resultobj;
15165 fail:
15166 return NULL;
15167 }
15168
15169
15170 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj;
15172 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15173 wxSize result;
15174 PyObject * obj0 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "self", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15181 {
15182 PyThreadState* __tstate = wxPyBeginAllowThreads();
15183 result = (arg1)->GetToolSize();
15184
15185 wxPyEndAllowThreads(__tstate);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 {
15189 wxSize * resultptr;
15190 resultptr = new wxSize((wxSize &) result);
15191 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15192 }
15193 return resultobj;
15194 fail:
15195 return NULL;
15196 }
15197
15198
15199 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15200 PyObject *resultobj;
15201 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15202 int arg2 ;
15203 int arg3 ;
15204 wxToolBarToolBase *result;
15205 PyObject * obj0 = 0 ;
15206 char *kwnames[] = {
15207 (char *) "self",(char *) "x",(char *) "y", NULL
15208 };
15209
15210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15212 {
15213 PyThreadState* __tstate = wxPyBeginAllowThreads();
15214 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15215
15216 wxPyEndAllowThreads(__tstate);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
15219 {
15220 resultobj = wxPyMake_wxObject(result);
15221 }
15222 return resultobj;
15223 fail:
15224 return NULL;
15225 }
15226
15227
15228 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
15229 PyObject *resultobj;
15230 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15231 int arg2 ;
15232 wxToolBarToolBase *result;
15233 PyObject * obj0 = 0 ;
15234 char *kwnames[] = {
15235 (char *) "self",(char *) "toolid", NULL
15236 };
15237
15238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
15239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15240 {
15241 PyThreadState* __tstate = wxPyBeginAllowThreads();
15242 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
15243
15244 wxPyEndAllowThreads(__tstate);
15245 if (PyErr_Occurred()) SWIG_fail;
15246 }
15247 {
15248 resultobj = wxPyMake_wxObject(result);
15249 }
15250 return resultobj;
15251 fail:
15252 return NULL;
15253 }
15254
15255
15256 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15257 PyObject *resultobj;
15258 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15259 bool result;
15260 PyObject * obj0 = 0 ;
15261 char *kwnames[] = {
15262 (char *) "self", NULL
15263 };
15264
15265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15267 {
15268 PyThreadState* __tstate = wxPyBeginAllowThreads();
15269 result = (bool)(arg1)->IsVertical();
15270
15271 wxPyEndAllowThreads(__tstate);
15272 if (PyErr_Occurred()) SWIG_fail;
15273 }
15274 resultobj = PyInt_FromLong((long)result);
15275 return resultobj;
15276 fail:
15277 return NULL;
15278 }
15279
15280
15281 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
15282 PyObject *obj;
15283 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15284 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
15285 Py_INCREF(obj);
15286 return Py_BuildValue((char *)"");
15287 }
15288 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
15290 wxWindow *arg1 = (wxWindow *) 0 ;
15291 int arg2 ;
15292 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15293 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15294 wxSize const &arg4_defvalue = wxDefaultSize ;
15295 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15296 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15297 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
15298 wxString *arg6 = (wxString *) &arg6_defvalue ;
15299 wxToolBar *result;
15300 wxPoint temp3 ;
15301 wxSize temp4 ;
15302 bool temp6 = False ;
15303 PyObject * obj0 = 0 ;
15304 PyObject * obj2 = 0 ;
15305 PyObject * obj3 = 0 ;
15306 PyObject * obj5 = 0 ;
15307 char *kwnames[] = {
15308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15309 };
15310
15311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
15312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15313 if (obj2) {
15314 {
15315 arg3 = &temp3;
15316 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15317 }
15318 }
15319 if (obj3) {
15320 {
15321 arg4 = &temp4;
15322 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15323 }
15324 }
15325 if (obj5) {
15326 {
15327 arg6 = wxString_in_helper(obj5);
15328 if (arg6 == NULL) SWIG_fail;
15329 temp6 = True;
15330 }
15331 }
15332 {
15333 PyThreadState* __tstate = wxPyBeginAllowThreads();
15334 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15335
15336 wxPyEndAllowThreads(__tstate);
15337 if (PyErr_Occurred()) SWIG_fail;
15338 }
15339 {
15340 resultobj = wxPyMake_wxObject(result);
15341 }
15342 {
15343 if (temp6)
15344 delete arg6;
15345 }
15346 return resultobj;
15347 fail:
15348 {
15349 if (temp6)
15350 delete arg6;
15351 }
15352 return NULL;
15353 }
15354
15355
15356 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj;
15358 wxToolBar *result;
15359 char *kwnames[] = {
15360 NULL
15361 };
15362
15363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 result = (wxToolBar *)new wxToolBar();
15367
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 {
15372 resultobj = wxPyMake_wxObject(result);
15373 }
15374 return resultobj;
15375 fail:
15376 return NULL;
15377 }
15378
15379
15380 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15381 PyObject *resultobj;
15382 wxToolBar *arg1 = (wxToolBar *) 0 ;
15383 wxWindow *arg2 = (wxWindow *) 0 ;
15384 int arg3 ;
15385 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15386 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15387 wxSize const &arg5_defvalue = wxDefaultSize ;
15388 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15389 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15390 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15391 wxString *arg7 = (wxString *) &arg7_defvalue ;
15392 bool result;
15393 wxPoint temp4 ;
15394 wxSize temp5 ;
15395 bool temp7 = False ;
15396 PyObject * obj0 = 0 ;
15397 PyObject * obj1 = 0 ;
15398 PyObject * obj3 = 0 ;
15399 PyObject * obj4 = 0 ;
15400 PyObject * obj6 = 0 ;
15401 char *kwnames[] = {
15402 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15403 };
15404
15405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15408 if (obj3) {
15409 {
15410 arg4 = &temp4;
15411 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15412 }
15413 }
15414 if (obj4) {
15415 {
15416 arg5 = &temp5;
15417 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15418 }
15419 }
15420 if (obj6) {
15421 {
15422 arg7 = wxString_in_helper(obj6);
15423 if (arg7 == NULL) SWIG_fail;
15424 temp7 = True;
15425 }
15426 }
15427 {
15428 PyThreadState* __tstate = wxPyBeginAllowThreads();
15429 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15430
15431 wxPyEndAllowThreads(__tstate);
15432 if (PyErr_Occurred()) SWIG_fail;
15433 }
15434 resultobj = PyInt_FromLong((long)result);
15435 {
15436 if (temp7)
15437 delete arg7;
15438 }
15439 return resultobj;
15440 fail:
15441 {
15442 if (temp7)
15443 delete arg7;
15444 }
15445 return NULL;
15446 }
15447
15448
15449 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxToolBar *arg1 = (wxToolBar *) 0 ;
15452 int arg2 ;
15453 int arg3 ;
15454 wxToolBarToolBase *result;
15455 PyObject * obj0 = 0 ;
15456 char *kwnames[] = {
15457 (char *) "self",(char *) "x",(char *) "y", NULL
15458 };
15459
15460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15462 {
15463 PyThreadState* __tstate = wxPyBeginAllowThreads();
15464 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15465
15466 wxPyEndAllowThreads(__tstate);
15467 if (PyErr_Occurred()) SWIG_fail;
15468 }
15469 {
15470 resultobj = wxPyMake_wxObject(result);
15471 }
15472 return resultobj;
15473 fail:
15474 return NULL;
15475 }
15476
15477
15478 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15479 PyObject *obj;
15480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15481 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15482 Py_INCREF(obj);
15483 return Py_BuildValue((char *)"");
15484 }
15485 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
15486 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
15487 return 1;
15488 }
15489
15490
15491 static PyObject *_wrap_ListCtrlNameStr_get() {
15492 PyObject *pyobj;
15493
15494 {
15495 #if wxUSE_UNICODE
15496 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15497 #else
15498 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15499 #endif
15500 }
15501 return pyobj;
15502 }
15503
15504
15505 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15506 PyObject *resultobj;
15507 wxColour const &arg1_defvalue = wxNullColour ;
15508 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15509 wxColour const &arg2_defvalue = wxNullColour ;
15510 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15511 wxFont const &arg3_defvalue = wxNullFont ;
15512 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15513 wxListItemAttr *result;
15514 wxColour temp1 ;
15515 wxColour temp2 ;
15516 PyObject * obj0 = 0 ;
15517 PyObject * obj1 = 0 ;
15518 PyObject * obj2 = 0 ;
15519 char *kwnames[] = {
15520 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15521 };
15522
15523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15524 if (obj0) {
15525 {
15526 arg1 = &temp1;
15527 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15528 }
15529 }
15530 if (obj1) {
15531 {
15532 arg2 = &temp2;
15533 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15534 }
15535 }
15536 if (obj2) {
15537 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15538 if (arg3 == NULL) {
15539 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15540 }
15541 }
15542 {
15543 PyThreadState* __tstate = wxPyBeginAllowThreads();
15544 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15545
15546 wxPyEndAllowThreads(__tstate);
15547 if (PyErr_Occurred()) SWIG_fail;
15548 }
15549 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15550 return resultobj;
15551 fail:
15552 return NULL;
15553 }
15554
15555
15556 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15557 PyObject *resultobj;
15558 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15559 wxColour *arg2 = 0 ;
15560 wxColour temp2 ;
15561 PyObject * obj0 = 0 ;
15562 PyObject * obj1 = 0 ;
15563 char *kwnames[] = {
15564 (char *) "self",(char *) "colText", NULL
15565 };
15566
15567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15569 {
15570 arg2 = &temp2;
15571 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15572 }
15573 {
15574 PyThreadState* __tstate = wxPyBeginAllowThreads();
15575 (arg1)->SetTextColour((wxColour const &)*arg2);
15576
15577 wxPyEndAllowThreads(__tstate);
15578 if (PyErr_Occurred()) SWIG_fail;
15579 }
15580 Py_INCREF(Py_None); resultobj = Py_None;
15581 return resultobj;
15582 fail:
15583 return NULL;
15584 }
15585
15586
15587 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15588 PyObject *resultobj;
15589 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15590 wxColour *arg2 = 0 ;
15591 wxColour temp2 ;
15592 PyObject * obj0 = 0 ;
15593 PyObject * obj1 = 0 ;
15594 char *kwnames[] = {
15595 (char *) "self",(char *) "colBack", NULL
15596 };
15597
15598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15600 {
15601 arg2 = &temp2;
15602 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15603 }
15604 {
15605 PyThreadState* __tstate = wxPyBeginAllowThreads();
15606 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15607
15608 wxPyEndAllowThreads(__tstate);
15609 if (PyErr_Occurred()) SWIG_fail;
15610 }
15611 Py_INCREF(Py_None); resultobj = Py_None;
15612 return resultobj;
15613 fail:
15614 return NULL;
15615 }
15616
15617
15618 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15619 PyObject *resultobj;
15620 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15621 wxFont *arg2 = 0 ;
15622 PyObject * obj0 = 0 ;
15623 PyObject * obj1 = 0 ;
15624 char *kwnames[] = {
15625 (char *) "self",(char *) "font", NULL
15626 };
15627
15628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15631 if (arg2 == NULL) {
15632 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15633 }
15634 {
15635 PyThreadState* __tstate = wxPyBeginAllowThreads();
15636 (arg1)->SetFont((wxFont const &)*arg2);
15637
15638 wxPyEndAllowThreads(__tstate);
15639 if (PyErr_Occurred()) SWIG_fail;
15640 }
15641 Py_INCREF(Py_None); resultobj = Py_None;
15642 return resultobj;
15643 fail:
15644 return NULL;
15645 }
15646
15647
15648 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15649 PyObject *resultobj;
15650 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15651 bool result;
15652 PyObject * obj0 = 0 ;
15653 char *kwnames[] = {
15654 (char *) "self", NULL
15655 };
15656
15657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15659 {
15660 PyThreadState* __tstate = wxPyBeginAllowThreads();
15661 result = (bool)(arg1)->HasTextColour();
15662
15663 wxPyEndAllowThreads(__tstate);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 }
15666 resultobj = PyInt_FromLong((long)result);
15667 return resultobj;
15668 fail:
15669 return NULL;
15670 }
15671
15672
15673 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15674 PyObject *resultobj;
15675 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15676 bool result;
15677 PyObject * obj0 = 0 ;
15678 char *kwnames[] = {
15679 (char *) "self", NULL
15680 };
15681
15682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15684 {
15685 PyThreadState* __tstate = wxPyBeginAllowThreads();
15686 result = (bool)(arg1)->HasBackgroundColour();
15687
15688 wxPyEndAllowThreads(__tstate);
15689 if (PyErr_Occurred()) SWIG_fail;
15690 }
15691 resultobj = PyInt_FromLong((long)result);
15692 return resultobj;
15693 fail:
15694 return NULL;
15695 }
15696
15697
15698 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15699 PyObject *resultobj;
15700 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15701 bool result;
15702 PyObject * obj0 = 0 ;
15703 char *kwnames[] = {
15704 (char *) "self", NULL
15705 };
15706
15707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15709 {
15710 PyThreadState* __tstate = wxPyBeginAllowThreads();
15711 result = (bool)(arg1)->HasFont();
15712
15713 wxPyEndAllowThreads(__tstate);
15714 if (PyErr_Occurred()) SWIG_fail;
15715 }
15716 resultobj = PyInt_FromLong((long)result);
15717 return resultobj;
15718 fail:
15719 return NULL;
15720 }
15721
15722
15723 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj;
15725 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15726 wxColour result;
15727 PyObject * obj0 = 0 ;
15728 char *kwnames[] = {
15729 (char *) "self", NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15734 {
15735 PyThreadState* __tstate = wxPyBeginAllowThreads();
15736 result = (arg1)->GetTextColour();
15737
15738 wxPyEndAllowThreads(__tstate);
15739 if (PyErr_Occurred()) SWIG_fail;
15740 }
15741 {
15742 wxColour * resultptr;
15743 resultptr = new wxColour((wxColour &) result);
15744 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15745 }
15746 return resultobj;
15747 fail:
15748 return NULL;
15749 }
15750
15751
15752 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15753 PyObject *resultobj;
15754 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15755 wxColour result;
15756 PyObject * obj0 = 0 ;
15757 char *kwnames[] = {
15758 (char *) "self", NULL
15759 };
15760
15761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15763 {
15764 PyThreadState* __tstate = wxPyBeginAllowThreads();
15765 result = (arg1)->GetBackgroundColour();
15766
15767 wxPyEndAllowThreads(__tstate);
15768 if (PyErr_Occurred()) SWIG_fail;
15769 }
15770 {
15771 wxColour * resultptr;
15772 resultptr = new wxColour((wxColour &) result);
15773 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15774 }
15775 return resultobj;
15776 fail:
15777 return NULL;
15778 }
15779
15780
15781 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15782 PyObject *resultobj;
15783 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15784 wxFont result;
15785 PyObject * obj0 = 0 ;
15786 char *kwnames[] = {
15787 (char *) "self", NULL
15788 };
15789
15790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15792 {
15793 PyThreadState* __tstate = wxPyBeginAllowThreads();
15794 result = (arg1)->GetFont();
15795
15796 wxPyEndAllowThreads(__tstate);
15797 if (PyErr_Occurred()) SWIG_fail;
15798 }
15799 {
15800 wxFont * resultptr;
15801 resultptr = new wxFont((wxFont &) result);
15802 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15803 }
15804 return resultobj;
15805 fail:
15806 return NULL;
15807 }
15808
15809
15810 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15811 PyObject *resultobj;
15812 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15813 PyObject * obj0 = 0 ;
15814 char *kwnames[] = {
15815 (char *) "self", NULL
15816 };
15817
15818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15820 {
15821 PyThreadState* __tstate = wxPyBeginAllowThreads();
15822 wxListItemAttr_Destroy(arg1);
15823
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 Py_INCREF(Py_None); resultobj = Py_None;
15828 return resultobj;
15829 fail:
15830 return NULL;
15831 }
15832
15833
15834 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15835 PyObject *obj;
15836 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15837 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15838 Py_INCREF(obj);
15839 return Py_BuildValue((char *)"");
15840 }
15841 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15842 PyObject *resultobj;
15843 wxListItem *result;
15844 char *kwnames[] = {
15845 NULL
15846 };
15847
15848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15849 {
15850 PyThreadState* __tstate = wxPyBeginAllowThreads();
15851 result = (wxListItem *)new wxListItem();
15852
15853 wxPyEndAllowThreads(__tstate);
15854 if (PyErr_Occurred()) SWIG_fail;
15855 }
15856 {
15857 resultobj = wxPyMake_wxObject(result);
15858 }
15859 return resultobj;
15860 fail:
15861 return NULL;
15862 }
15863
15864
15865 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj;
15867 wxListItem *arg1 = (wxListItem *) 0 ;
15868 PyObject * obj0 = 0 ;
15869 char *kwnames[] = {
15870 (char *) "self", NULL
15871 };
15872
15873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15875 {
15876 PyThreadState* __tstate = wxPyBeginAllowThreads();
15877 delete arg1;
15878
15879 wxPyEndAllowThreads(__tstate);
15880 if (PyErr_Occurred()) SWIG_fail;
15881 }
15882 Py_INCREF(Py_None); resultobj = Py_None;
15883 return resultobj;
15884 fail:
15885 return NULL;
15886 }
15887
15888
15889 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15890 PyObject *resultobj;
15891 wxListItem *arg1 = (wxListItem *) 0 ;
15892 PyObject * obj0 = 0 ;
15893 char *kwnames[] = {
15894 (char *) "self", NULL
15895 };
15896
15897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15899 {
15900 PyThreadState* __tstate = wxPyBeginAllowThreads();
15901 (arg1)->Clear();
15902
15903 wxPyEndAllowThreads(__tstate);
15904 if (PyErr_Occurred()) SWIG_fail;
15905 }
15906 Py_INCREF(Py_None); resultobj = Py_None;
15907 return resultobj;
15908 fail:
15909 return NULL;
15910 }
15911
15912
15913 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15914 PyObject *resultobj;
15915 wxListItem *arg1 = (wxListItem *) 0 ;
15916 PyObject * obj0 = 0 ;
15917 char *kwnames[] = {
15918 (char *) "self", NULL
15919 };
15920
15921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15923 {
15924 PyThreadState* __tstate = wxPyBeginAllowThreads();
15925 (arg1)->ClearAttributes();
15926
15927 wxPyEndAllowThreads(__tstate);
15928 if (PyErr_Occurred()) SWIG_fail;
15929 }
15930 Py_INCREF(Py_None); resultobj = Py_None;
15931 return resultobj;
15932 fail:
15933 return NULL;
15934 }
15935
15936
15937 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15938 PyObject *resultobj;
15939 wxListItem *arg1 = (wxListItem *) 0 ;
15940 long arg2 ;
15941 PyObject * obj0 = 0 ;
15942 char *kwnames[] = {
15943 (char *) "self",(char *) "mask", NULL
15944 };
15945
15946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15948 {
15949 PyThreadState* __tstate = wxPyBeginAllowThreads();
15950 (arg1)->SetMask(arg2);
15951
15952 wxPyEndAllowThreads(__tstate);
15953 if (PyErr_Occurred()) SWIG_fail;
15954 }
15955 Py_INCREF(Py_None); resultobj = Py_None;
15956 return resultobj;
15957 fail:
15958 return NULL;
15959 }
15960
15961
15962 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj;
15964 wxListItem *arg1 = (wxListItem *) 0 ;
15965 long arg2 ;
15966 PyObject * obj0 = 0 ;
15967 char *kwnames[] = {
15968 (char *) "self",(char *) "id", NULL
15969 };
15970
15971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15973 {
15974 PyThreadState* __tstate = wxPyBeginAllowThreads();
15975 (arg1)->SetId(arg2);
15976
15977 wxPyEndAllowThreads(__tstate);
15978 if (PyErr_Occurred()) SWIG_fail;
15979 }
15980 Py_INCREF(Py_None); resultobj = Py_None;
15981 return resultobj;
15982 fail:
15983 return NULL;
15984 }
15985
15986
15987 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15988 PyObject *resultobj;
15989 wxListItem *arg1 = (wxListItem *) 0 ;
15990 int arg2 ;
15991 PyObject * obj0 = 0 ;
15992 char *kwnames[] = {
15993 (char *) "self",(char *) "col", NULL
15994 };
15995
15996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15998 {
15999 PyThreadState* __tstate = wxPyBeginAllowThreads();
16000 (arg1)->SetColumn(arg2);
16001
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 Py_INCREF(Py_None); resultobj = Py_None;
16006 return resultobj;
16007 fail:
16008 return NULL;
16009 }
16010
16011
16012 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16013 PyObject *resultobj;
16014 wxListItem *arg1 = (wxListItem *) 0 ;
16015 long arg2 ;
16016 PyObject * obj0 = 0 ;
16017 char *kwnames[] = {
16018 (char *) "self",(char *) "state", NULL
16019 };
16020
16021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
16022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16023 {
16024 PyThreadState* __tstate = wxPyBeginAllowThreads();
16025 (arg1)->SetState(arg2);
16026
16027 wxPyEndAllowThreads(__tstate);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 }
16030 Py_INCREF(Py_None); resultobj = Py_None;
16031 return resultobj;
16032 fail:
16033 return NULL;
16034 }
16035
16036
16037 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16038 PyObject *resultobj;
16039 wxListItem *arg1 = (wxListItem *) 0 ;
16040 long arg2 ;
16041 PyObject * obj0 = 0 ;
16042 char *kwnames[] = {
16043 (char *) "self",(char *) "stateMask", NULL
16044 };
16045
16046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
16047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16048 {
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
16050 (arg1)->SetStateMask(arg2);
16051
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 Py_INCREF(Py_None); resultobj = Py_None;
16056 return resultobj;
16057 fail:
16058 return NULL;
16059 }
16060
16061
16062 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16063 PyObject *resultobj;
16064 wxListItem *arg1 = (wxListItem *) 0 ;
16065 wxString *arg2 = 0 ;
16066 bool temp2 = False ;
16067 PyObject * obj0 = 0 ;
16068 PyObject * obj1 = 0 ;
16069 char *kwnames[] = {
16070 (char *) "self",(char *) "text", NULL
16071 };
16072
16073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
16074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16075 {
16076 arg2 = wxString_in_helper(obj1);
16077 if (arg2 == NULL) SWIG_fail;
16078 temp2 = True;
16079 }
16080 {
16081 PyThreadState* __tstate = wxPyBeginAllowThreads();
16082 (arg1)->SetText((wxString const &)*arg2);
16083
16084 wxPyEndAllowThreads(__tstate);
16085 if (PyErr_Occurred()) SWIG_fail;
16086 }
16087 Py_INCREF(Py_None); resultobj = Py_None;
16088 {
16089 if (temp2)
16090 delete arg2;
16091 }
16092 return resultobj;
16093 fail:
16094 {
16095 if (temp2)
16096 delete arg2;
16097 }
16098 return NULL;
16099 }
16100
16101
16102 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16103 PyObject *resultobj;
16104 wxListItem *arg1 = (wxListItem *) 0 ;
16105 int arg2 ;
16106 PyObject * obj0 = 0 ;
16107 char *kwnames[] = {
16108 (char *) "self",(char *) "image", NULL
16109 };
16110
16111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
16112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16113 {
16114 PyThreadState* __tstate = wxPyBeginAllowThreads();
16115 (arg1)->SetImage(arg2);
16116
16117 wxPyEndAllowThreads(__tstate);
16118 if (PyErr_Occurred()) SWIG_fail;
16119 }
16120 Py_INCREF(Py_None); resultobj = Py_None;
16121 return resultobj;
16122 fail:
16123 return NULL;
16124 }
16125
16126
16127 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16128 PyObject *resultobj;
16129 wxListItem *arg1 = (wxListItem *) 0 ;
16130 long arg2 ;
16131 PyObject * obj0 = 0 ;
16132 char *kwnames[] = {
16133 (char *) "self",(char *) "data", NULL
16134 };
16135
16136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
16137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16138 {
16139 PyThreadState* __tstate = wxPyBeginAllowThreads();
16140 (arg1)->SetData(arg2);
16141
16142 wxPyEndAllowThreads(__tstate);
16143 if (PyErr_Occurred()) SWIG_fail;
16144 }
16145 Py_INCREF(Py_None); resultobj = Py_None;
16146 return resultobj;
16147 fail:
16148 return NULL;
16149 }
16150
16151
16152 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16153 PyObject *resultobj;
16154 wxListItem *arg1 = (wxListItem *) 0 ;
16155 int arg2 ;
16156 PyObject * obj0 = 0 ;
16157 char *kwnames[] = {
16158 (char *) "self",(char *) "width", NULL
16159 };
16160
16161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
16162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16163 {
16164 PyThreadState* __tstate = wxPyBeginAllowThreads();
16165 (arg1)->SetWidth(arg2);
16166
16167 wxPyEndAllowThreads(__tstate);
16168 if (PyErr_Occurred()) SWIG_fail;
16169 }
16170 Py_INCREF(Py_None); resultobj = Py_None;
16171 return resultobj;
16172 fail:
16173 return NULL;
16174 }
16175
16176
16177 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16178 PyObject *resultobj;
16179 wxListItem *arg1 = (wxListItem *) 0 ;
16180 int arg2 ;
16181 PyObject * obj0 = 0 ;
16182 char *kwnames[] = {
16183 (char *) "self",(char *) "align", NULL
16184 };
16185
16186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
16187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16188 {
16189 PyThreadState* __tstate = wxPyBeginAllowThreads();
16190 (arg1)->SetAlign((wxListColumnFormat )arg2);
16191
16192 wxPyEndAllowThreads(__tstate);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 }
16195 Py_INCREF(Py_None); resultobj = Py_None;
16196 return resultobj;
16197 fail:
16198 return NULL;
16199 }
16200
16201
16202 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16203 PyObject *resultobj;
16204 wxListItem *arg1 = (wxListItem *) 0 ;
16205 wxColour *arg2 = 0 ;
16206 wxColour temp2 ;
16207 PyObject * obj0 = 0 ;
16208 PyObject * obj1 = 0 ;
16209 char *kwnames[] = {
16210 (char *) "self",(char *) "colText", NULL
16211 };
16212
16213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
16214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16215 {
16216 arg2 = &temp2;
16217 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16218 }
16219 {
16220 PyThreadState* __tstate = wxPyBeginAllowThreads();
16221 (arg1)->SetTextColour((wxColour const &)*arg2);
16222
16223 wxPyEndAllowThreads(__tstate);
16224 if (PyErr_Occurred()) SWIG_fail;
16225 }
16226 Py_INCREF(Py_None); resultobj = Py_None;
16227 return resultobj;
16228 fail:
16229 return NULL;
16230 }
16231
16232
16233 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16234 PyObject *resultobj;
16235 wxListItem *arg1 = (wxListItem *) 0 ;
16236 wxColour *arg2 = 0 ;
16237 wxColour temp2 ;
16238 PyObject * obj0 = 0 ;
16239 PyObject * obj1 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self",(char *) "colBack", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
16245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16246 {
16247 arg2 = &temp2;
16248 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16249 }
16250 {
16251 PyThreadState* __tstate = wxPyBeginAllowThreads();
16252 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
16253
16254 wxPyEndAllowThreads(__tstate);
16255 if (PyErr_Occurred()) SWIG_fail;
16256 }
16257 Py_INCREF(Py_None); resultobj = Py_None;
16258 return resultobj;
16259 fail:
16260 return NULL;
16261 }
16262
16263
16264 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16265 PyObject *resultobj;
16266 wxListItem *arg1 = (wxListItem *) 0 ;
16267 wxFont *arg2 = 0 ;
16268 PyObject * obj0 = 0 ;
16269 PyObject * obj1 = 0 ;
16270 char *kwnames[] = {
16271 (char *) "self",(char *) "font", NULL
16272 };
16273
16274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
16275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16277 if (arg2 == NULL) {
16278 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16279 }
16280 {
16281 PyThreadState* __tstate = wxPyBeginAllowThreads();
16282 (arg1)->SetFont((wxFont const &)*arg2);
16283
16284 wxPyEndAllowThreads(__tstate);
16285 if (PyErr_Occurred()) SWIG_fail;
16286 }
16287 Py_INCREF(Py_None); resultobj = Py_None;
16288 return resultobj;
16289 fail:
16290 return NULL;
16291 }
16292
16293
16294 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16295 PyObject *resultobj;
16296 wxListItem *arg1 = (wxListItem *) 0 ;
16297 long result;
16298 PyObject * obj0 = 0 ;
16299 char *kwnames[] = {
16300 (char *) "self", NULL
16301 };
16302
16303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
16304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16305 {
16306 PyThreadState* __tstate = wxPyBeginAllowThreads();
16307 result = (long)(arg1)->GetMask();
16308
16309 wxPyEndAllowThreads(__tstate);
16310 if (PyErr_Occurred()) SWIG_fail;
16311 }
16312 resultobj = PyInt_FromLong((long)result);
16313 return resultobj;
16314 fail:
16315 return NULL;
16316 }
16317
16318
16319 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16320 PyObject *resultobj;
16321 wxListItem *arg1 = (wxListItem *) 0 ;
16322 long result;
16323 PyObject * obj0 = 0 ;
16324 char *kwnames[] = {
16325 (char *) "self", NULL
16326 };
16327
16328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
16329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16330 {
16331 PyThreadState* __tstate = wxPyBeginAllowThreads();
16332 result = (long)(arg1)->GetId();
16333
16334 wxPyEndAllowThreads(__tstate);
16335 if (PyErr_Occurred()) SWIG_fail;
16336 }
16337 resultobj = PyInt_FromLong((long)result);
16338 return resultobj;
16339 fail:
16340 return NULL;
16341 }
16342
16343
16344 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16345 PyObject *resultobj;
16346 wxListItem *arg1 = (wxListItem *) 0 ;
16347 int result;
16348 PyObject * obj0 = 0 ;
16349 char *kwnames[] = {
16350 (char *) "self", NULL
16351 };
16352
16353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
16354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16355 {
16356 PyThreadState* __tstate = wxPyBeginAllowThreads();
16357 result = (int)(arg1)->GetColumn();
16358
16359 wxPyEndAllowThreads(__tstate);
16360 if (PyErr_Occurred()) SWIG_fail;
16361 }
16362 resultobj = PyInt_FromLong((long)result);
16363 return resultobj;
16364 fail:
16365 return NULL;
16366 }
16367
16368
16369 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16370 PyObject *resultobj;
16371 wxListItem *arg1 = (wxListItem *) 0 ;
16372 long result;
16373 PyObject * obj0 = 0 ;
16374 char *kwnames[] = {
16375 (char *) "self", NULL
16376 };
16377
16378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
16379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16380 {
16381 PyThreadState* __tstate = wxPyBeginAllowThreads();
16382 result = (long)(arg1)->GetState();
16383
16384 wxPyEndAllowThreads(__tstate);
16385 if (PyErr_Occurred()) SWIG_fail;
16386 }
16387 resultobj = PyInt_FromLong((long)result);
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj;
16396 wxListItem *arg1 = (wxListItem *) 0 ;
16397 wxString *result;
16398 PyObject * obj0 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16405 {
16406 PyThreadState* __tstate = wxPyBeginAllowThreads();
16407 {
16408 wxString const &_result_ref = (arg1)->GetText();
16409 result = (wxString *) &_result_ref;
16410 }
16411
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
16415 {
16416 #if wxUSE_UNICODE
16417 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16418 #else
16419 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16420 #endif
16421 }
16422 return resultobj;
16423 fail:
16424 return NULL;
16425 }
16426
16427
16428 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16429 PyObject *resultobj;
16430 wxListItem *arg1 = (wxListItem *) 0 ;
16431 int result;
16432 PyObject * obj0 = 0 ;
16433 char *kwnames[] = {
16434 (char *) "self", NULL
16435 };
16436
16437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16439 {
16440 PyThreadState* __tstate = wxPyBeginAllowThreads();
16441 result = (int)(arg1)->GetImage();
16442
16443 wxPyEndAllowThreads(__tstate);
16444 if (PyErr_Occurred()) SWIG_fail;
16445 }
16446 resultobj = PyInt_FromLong((long)result);
16447 return resultobj;
16448 fail:
16449 return NULL;
16450 }
16451
16452
16453 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16454 PyObject *resultobj;
16455 wxListItem *arg1 = (wxListItem *) 0 ;
16456 long result;
16457 PyObject * obj0 = 0 ;
16458 char *kwnames[] = {
16459 (char *) "self", NULL
16460 };
16461
16462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16464 {
16465 PyThreadState* __tstate = wxPyBeginAllowThreads();
16466 result = (long)(arg1)->GetData();
16467
16468 wxPyEndAllowThreads(__tstate);
16469 if (PyErr_Occurred()) SWIG_fail;
16470 }
16471 resultobj = PyInt_FromLong((long)result);
16472 return resultobj;
16473 fail:
16474 return NULL;
16475 }
16476
16477
16478 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16479 PyObject *resultobj;
16480 wxListItem *arg1 = (wxListItem *) 0 ;
16481 int result;
16482 PyObject * obj0 = 0 ;
16483 char *kwnames[] = {
16484 (char *) "self", NULL
16485 };
16486
16487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16489 {
16490 PyThreadState* __tstate = wxPyBeginAllowThreads();
16491 result = (int)(arg1)->GetWidth();
16492
16493 wxPyEndAllowThreads(__tstate);
16494 if (PyErr_Occurred()) SWIG_fail;
16495 }
16496 resultobj = PyInt_FromLong((long)result);
16497 return resultobj;
16498 fail:
16499 return NULL;
16500 }
16501
16502
16503 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16504 PyObject *resultobj;
16505 wxListItem *arg1 = (wxListItem *) 0 ;
16506 int result;
16507 PyObject * obj0 = 0 ;
16508 char *kwnames[] = {
16509 (char *) "self", NULL
16510 };
16511
16512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16514 {
16515 PyThreadState* __tstate = wxPyBeginAllowThreads();
16516 result = (int)(arg1)->GetAlign();
16517
16518 wxPyEndAllowThreads(__tstate);
16519 if (PyErr_Occurred()) SWIG_fail;
16520 }
16521 resultobj = PyInt_FromLong((long)result);
16522 return resultobj;
16523 fail:
16524 return NULL;
16525 }
16526
16527
16528 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16529 PyObject *resultobj;
16530 wxListItem *arg1 = (wxListItem *) 0 ;
16531 wxListItemAttr *result;
16532 PyObject * obj0 = 0 ;
16533 char *kwnames[] = {
16534 (char *) "self", NULL
16535 };
16536
16537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16539 {
16540 PyThreadState* __tstate = wxPyBeginAllowThreads();
16541 result = (wxListItemAttr *)(arg1)->GetAttributes();
16542
16543 wxPyEndAllowThreads(__tstate);
16544 if (PyErr_Occurred()) SWIG_fail;
16545 }
16546 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16547 return resultobj;
16548 fail:
16549 return NULL;
16550 }
16551
16552
16553 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16554 PyObject *resultobj;
16555 wxListItem *arg1 = (wxListItem *) 0 ;
16556 bool result;
16557 PyObject * obj0 = 0 ;
16558 char *kwnames[] = {
16559 (char *) "self", NULL
16560 };
16561
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16564 {
16565 PyThreadState* __tstate = wxPyBeginAllowThreads();
16566 result = (bool)(arg1)->HasAttributes();
16567
16568 wxPyEndAllowThreads(__tstate);
16569 if (PyErr_Occurred()) SWIG_fail;
16570 }
16571 resultobj = PyInt_FromLong((long)result);
16572 return resultobj;
16573 fail:
16574 return NULL;
16575 }
16576
16577
16578 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxListItem *arg1 = (wxListItem *) 0 ;
16581 wxColour result;
16582 PyObject * obj0 = 0 ;
16583 char *kwnames[] = {
16584 (char *) "self", NULL
16585 };
16586
16587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16589 {
16590 PyThreadState* __tstate = wxPyBeginAllowThreads();
16591 result = ((wxListItem const *)arg1)->GetTextColour();
16592
16593 wxPyEndAllowThreads(__tstate);
16594 if (PyErr_Occurred()) SWIG_fail;
16595 }
16596 {
16597 wxColour * resultptr;
16598 resultptr = new wxColour((wxColour &) result);
16599 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16600 }
16601 return resultobj;
16602 fail:
16603 return NULL;
16604 }
16605
16606
16607 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16608 PyObject *resultobj;
16609 wxListItem *arg1 = (wxListItem *) 0 ;
16610 wxColour result;
16611 PyObject * obj0 = 0 ;
16612 char *kwnames[] = {
16613 (char *) "self", NULL
16614 };
16615
16616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16618 {
16619 PyThreadState* __tstate = wxPyBeginAllowThreads();
16620 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16621
16622 wxPyEndAllowThreads(__tstate);
16623 if (PyErr_Occurred()) SWIG_fail;
16624 }
16625 {
16626 wxColour * resultptr;
16627 resultptr = new wxColour((wxColour &) result);
16628 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16629 }
16630 return resultobj;
16631 fail:
16632 return NULL;
16633 }
16634
16635
16636 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj;
16638 wxListItem *arg1 = (wxListItem *) 0 ;
16639 wxFont result;
16640 PyObject * obj0 = 0 ;
16641 char *kwnames[] = {
16642 (char *) "self", NULL
16643 };
16644
16645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16647 {
16648 PyThreadState* __tstate = wxPyBeginAllowThreads();
16649 result = ((wxListItem const *)arg1)->GetFont();
16650
16651 wxPyEndAllowThreads(__tstate);
16652 if (PyErr_Occurred()) SWIG_fail;
16653 }
16654 {
16655 wxFont * resultptr;
16656 resultptr = new wxFont((wxFont &) result);
16657 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16658 }
16659 return resultobj;
16660 fail:
16661 return NULL;
16662 }
16663
16664
16665 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16666 PyObject *resultobj;
16667 wxListItem *arg1 = (wxListItem *) 0 ;
16668 long arg2 ;
16669 PyObject * obj0 = 0 ;
16670 char *kwnames[] = {
16671 (char *) "self",(char *) "m_mask", NULL
16672 };
16673
16674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16676 if (arg1) (arg1)->m_mask = arg2;
16677
16678 Py_INCREF(Py_None); resultobj = Py_None;
16679 return resultobj;
16680 fail:
16681 return NULL;
16682 }
16683
16684
16685 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16686 PyObject *resultobj;
16687 wxListItem *arg1 = (wxListItem *) 0 ;
16688 long result;
16689 PyObject * obj0 = 0 ;
16690 char *kwnames[] = {
16691 (char *) "self", NULL
16692 };
16693
16694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16696 result = (long) ((arg1)->m_mask);
16697
16698 resultobj = PyInt_FromLong((long)result);
16699 return resultobj;
16700 fail:
16701 return NULL;
16702 }
16703
16704
16705 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16706 PyObject *resultobj;
16707 wxListItem *arg1 = (wxListItem *) 0 ;
16708 long arg2 ;
16709 PyObject * obj0 = 0 ;
16710 char *kwnames[] = {
16711 (char *) "self",(char *) "m_itemId", NULL
16712 };
16713
16714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16716 if (arg1) (arg1)->m_itemId = arg2;
16717
16718 Py_INCREF(Py_None); resultobj = Py_None;
16719 return resultobj;
16720 fail:
16721 return NULL;
16722 }
16723
16724
16725 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16726 PyObject *resultobj;
16727 wxListItem *arg1 = (wxListItem *) 0 ;
16728 long result;
16729 PyObject * obj0 = 0 ;
16730 char *kwnames[] = {
16731 (char *) "self", NULL
16732 };
16733
16734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16736 result = (long) ((arg1)->m_itemId);
16737
16738 resultobj = PyInt_FromLong((long)result);
16739 return resultobj;
16740 fail:
16741 return NULL;
16742 }
16743
16744
16745 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16746 PyObject *resultobj;
16747 wxListItem *arg1 = (wxListItem *) 0 ;
16748 int arg2 ;
16749 PyObject * obj0 = 0 ;
16750 char *kwnames[] = {
16751 (char *) "self",(char *) "m_col", NULL
16752 };
16753
16754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16756 if (arg1) (arg1)->m_col = arg2;
16757
16758 Py_INCREF(Py_None); resultobj = Py_None;
16759 return resultobj;
16760 fail:
16761 return NULL;
16762 }
16763
16764
16765 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16766 PyObject *resultobj;
16767 wxListItem *arg1 = (wxListItem *) 0 ;
16768 int result;
16769 PyObject * obj0 = 0 ;
16770 char *kwnames[] = {
16771 (char *) "self", NULL
16772 };
16773
16774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16776 result = (int) ((arg1)->m_col);
16777
16778 resultobj = PyInt_FromLong((long)result);
16779 return resultobj;
16780 fail:
16781 return NULL;
16782 }
16783
16784
16785 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16786 PyObject *resultobj;
16787 wxListItem *arg1 = (wxListItem *) 0 ;
16788 long arg2 ;
16789 PyObject * obj0 = 0 ;
16790 char *kwnames[] = {
16791 (char *) "self",(char *) "m_state", NULL
16792 };
16793
16794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16796 if (arg1) (arg1)->m_state = arg2;
16797
16798 Py_INCREF(Py_None); resultobj = Py_None;
16799 return resultobj;
16800 fail:
16801 return NULL;
16802 }
16803
16804
16805 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16806 PyObject *resultobj;
16807 wxListItem *arg1 = (wxListItem *) 0 ;
16808 long result;
16809 PyObject * obj0 = 0 ;
16810 char *kwnames[] = {
16811 (char *) "self", NULL
16812 };
16813
16814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16816 result = (long) ((arg1)->m_state);
16817
16818 resultobj = PyInt_FromLong((long)result);
16819 return resultobj;
16820 fail:
16821 return NULL;
16822 }
16823
16824
16825 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj;
16827 wxListItem *arg1 = (wxListItem *) 0 ;
16828 long arg2 ;
16829 PyObject * obj0 = 0 ;
16830 char *kwnames[] = {
16831 (char *) "self",(char *) "m_stateMask", NULL
16832 };
16833
16834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16836 if (arg1) (arg1)->m_stateMask = arg2;
16837
16838 Py_INCREF(Py_None); resultobj = Py_None;
16839 return resultobj;
16840 fail:
16841 return NULL;
16842 }
16843
16844
16845 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16846 PyObject *resultobj;
16847 wxListItem *arg1 = (wxListItem *) 0 ;
16848 long result;
16849 PyObject * obj0 = 0 ;
16850 char *kwnames[] = {
16851 (char *) "self", NULL
16852 };
16853
16854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16856 result = (long) ((arg1)->m_stateMask);
16857
16858 resultobj = PyInt_FromLong((long)result);
16859 return resultobj;
16860 fail:
16861 return NULL;
16862 }
16863
16864
16865 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16866 PyObject *resultobj;
16867 wxListItem *arg1 = (wxListItem *) 0 ;
16868 wxString *arg2 = (wxString *) 0 ;
16869 bool temp2 = False ;
16870 PyObject * obj0 = 0 ;
16871 PyObject * obj1 = 0 ;
16872 char *kwnames[] = {
16873 (char *) "self",(char *) "m_text", NULL
16874 };
16875
16876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16878 {
16879 arg2 = wxString_in_helper(obj1);
16880 if (arg2 == NULL) SWIG_fail;
16881 temp2 = True;
16882 }
16883 if (arg1) (arg1)->m_text = *arg2;
16884
16885 Py_INCREF(Py_None); resultobj = Py_None;
16886 {
16887 if (temp2)
16888 delete arg2;
16889 }
16890 return resultobj;
16891 fail:
16892 {
16893 if (temp2)
16894 delete arg2;
16895 }
16896 return NULL;
16897 }
16898
16899
16900 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj;
16902 wxListItem *arg1 = (wxListItem *) 0 ;
16903 wxString *result;
16904 PyObject * obj0 = 0 ;
16905 char *kwnames[] = {
16906 (char *) "self", NULL
16907 };
16908
16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16911 result = (wxString *)& ((arg1)->m_text);
16912
16913 {
16914 #if wxUSE_UNICODE
16915 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16916 #else
16917 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16918 #endif
16919 }
16920 return resultobj;
16921 fail:
16922 return NULL;
16923 }
16924
16925
16926 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16927 PyObject *resultobj;
16928 wxListItem *arg1 = (wxListItem *) 0 ;
16929 int arg2 ;
16930 PyObject * obj0 = 0 ;
16931 char *kwnames[] = {
16932 (char *) "self",(char *) "m_image", NULL
16933 };
16934
16935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16937 if (arg1) (arg1)->m_image = arg2;
16938
16939 Py_INCREF(Py_None); resultobj = Py_None;
16940 return resultobj;
16941 fail:
16942 return NULL;
16943 }
16944
16945
16946 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16947 PyObject *resultobj;
16948 wxListItem *arg1 = (wxListItem *) 0 ;
16949 int result;
16950 PyObject * obj0 = 0 ;
16951 char *kwnames[] = {
16952 (char *) "self", NULL
16953 };
16954
16955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16957 result = (int) ((arg1)->m_image);
16958
16959 resultobj = PyInt_FromLong((long)result);
16960 return resultobj;
16961 fail:
16962 return NULL;
16963 }
16964
16965
16966 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16967 PyObject *resultobj;
16968 wxListItem *arg1 = (wxListItem *) 0 ;
16969 long arg2 ;
16970 PyObject * obj0 = 0 ;
16971 char *kwnames[] = {
16972 (char *) "self",(char *) "m_data", NULL
16973 };
16974
16975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16977 if (arg1) (arg1)->m_data = arg2;
16978
16979 Py_INCREF(Py_None); resultobj = Py_None;
16980 return resultobj;
16981 fail:
16982 return NULL;
16983 }
16984
16985
16986 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16987 PyObject *resultobj;
16988 wxListItem *arg1 = (wxListItem *) 0 ;
16989 long result;
16990 PyObject * obj0 = 0 ;
16991 char *kwnames[] = {
16992 (char *) "self", NULL
16993 };
16994
16995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16997 result = (long) ((arg1)->m_data);
16998
16999 resultobj = PyInt_FromLong((long)result);
17000 return resultobj;
17001 fail:
17002 return NULL;
17003 }
17004
17005
17006 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17007 PyObject *resultobj;
17008 wxListItem *arg1 = (wxListItem *) 0 ;
17009 int arg2 ;
17010 PyObject * obj0 = 0 ;
17011 char *kwnames[] = {
17012 (char *) "self",(char *) "m_format", NULL
17013 };
17014
17015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
17016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17017 if (arg1) (arg1)->m_format = arg2;
17018
17019 Py_INCREF(Py_None); resultobj = Py_None;
17020 return resultobj;
17021 fail:
17022 return NULL;
17023 }
17024
17025
17026 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj;
17028 wxListItem *arg1 = (wxListItem *) 0 ;
17029 int result;
17030 PyObject * obj0 = 0 ;
17031 char *kwnames[] = {
17032 (char *) "self", NULL
17033 };
17034
17035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
17036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17037 result = (int) ((arg1)->m_format);
17038
17039 resultobj = PyInt_FromLong((long)result);
17040 return resultobj;
17041 fail:
17042 return NULL;
17043 }
17044
17045
17046 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17047 PyObject *resultobj;
17048 wxListItem *arg1 = (wxListItem *) 0 ;
17049 int arg2 ;
17050 PyObject * obj0 = 0 ;
17051 char *kwnames[] = {
17052 (char *) "self",(char *) "m_width", NULL
17053 };
17054
17055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
17056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17057 if (arg1) (arg1)->m_width = arg2;
17058
17059 Py_INCREF(Py_None); resultobj = Py_None;
17060 return resultobj;
17061 fail:
17062 return NULL;
17063 }
17064
17065
17066 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17067 PyObject *resultobj;
17068 wxListItem *arg1 = (wxListItem *) 0 ;
17069 int result;
17070 PyObject * obj0 = 0 ;
17071 char *kwnames[] = {
17072 (char *) "self", NULL
17073 };
17074
17075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
17076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17077 result = (int) ((arg1)->m_width);
17078
17079 resultobj = PyInt_FromLong((long)result);
17080 return resultobj;
17081 fail:
17082 return NULL;
17083 }
17084
17085
17086 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
17087 PyObject *obj;
17088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17089 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
17090 Py_INCREF(obj);
17091 return Py_BuildValue((char *)"");
17092 }
17093 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17094 PyObject *resultobj;
17095 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17096 int arg2 = (int) 0 ;
17097 wxListEvent *result;
17098 char *kwnames[] = {
17099 (char *) "commandType",(char *) "id", NULL
17100 };
17101
17102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (wxListEvent *)new wxListEvent(arg1,arg2);
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
17111 return resultobj;
17112 fail:
17113 return NULL;
17114 }
17115
17116
17117 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17118 PyObject *resultobj;
17119 wxListEvent *arg1 = (wxListEvent *) 0 ;
17120 int arg2 ;
17121 PyObject * obj0 = 0 ;
17122 char *kwnames[] = {
17123 (char *) "self",(char *) "m_code", NULL
17124 };
17125
17126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
17127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17128 if (arg1) (arg1)->m_code = arg2;
17129
17130 Py_INCREF(Py_None); resultobj = Py_None;
17131 return resultobj;
17132 fail:
17133 return NULL;
17134 }
17135
17136
17137 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj;
17139 wxListEvent *arg1 = (wxListEvent *) 0 ;
17140 int result;
17141 PyObject * obj0 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "self", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
17147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17148 result = (int) ((arg1)->m_code);
17149
17150 resultobj = PyInt_FromLong((long)result);
17151 return resultobj;
17152 fail:
17153 return NULL;
17154 }
17155
17156
17157 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17158 PyObject *resultobj;
17159 wxListEvent *arg1 = (wxListEvent *) 0 ;
17160 long arg2 ;
17161 PyObject * obj0 = 0 ;
17162 char *kwnames[] = {
17163 (char *) "self",(char *) "m_oldItemIndex", NULL
17164 };
17165
17166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17168 if (arg1) (arg1)->m_oldItemIndex = arg2;
17169
17170 Py_INCREF(Py_None); resultobj = Py_None;
17171 return resultobj;
17172 fail:
17173 return NULL;
17174 }
17175
17176
17177 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17178 PyObject *resultobj;
17179 wxListEvent *arg1 = (wxListEvent *) 0 ;
17180 long result;
17181 PyObject * obj0 = 0 ;
17182 char *kwnames[] = {
17183 (char *) "self", NULL
17184 };
17185
17186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
17187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17188 result = (long) ((arg1)->m_oldItemIndex);
17189
17190 resultobj = PyInt_FromLong((long)result);
17191 return resultobj;
17192 fail:
17193 return NULL;
17194 }
17195
17196
17197 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17198 PyObject *resultobj;
17199 wxListEvent *arg1 = (wxListEvent *) 0 ;
17200 long arg2 ;
17201 PyObject * obj0 = 0 ;
17202 char *kwnames[] = {
17203 (char *) "self",(char *) "m_itemIndex", NULL
17204 };
17205
17206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17208 if (arg1) (arg1)->m_itemIndex = arg2;
17209
17210 Py_INCREF(Py_None); resultobj = Py_None;
17211 return resultobj;
17212 fail:
17213 return NULL;
17214 }
17215
17216
17217 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxListEvent *arg1 = (wxListEvent *) 0 ;
17220 long result;
17221 PyObject * obj0 = 0 ;
17222 char *kwnames[] = {
17223 (char *) "self", NULL
17224 };
17225
17226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
17227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17228 result = (long) ((arg1)->m_itemIndex);
17229
17230 resultobj = PyInt_FromLong((long)result);
17231 return resultobj;
17232 fail:
17233 return NULL;
17234 }
17235
17236
17237 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17238 PyObject *resultobj;
17239 wxListEvent *arg1 = (wxListEvent *) 0 ;
17240 int arg2 ;
17241 PyObject * obj0 = 0 ;
17242 char *kwnames[] = {
17243 (char *) "self",(char *) "m_col", NULL
17244 };
17245
17246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17248 if (arg1) (arg1)->m_col = arg2;
17249
17250 Py_INCREF(Py_None); resultobj = Py_None;
17251 return resultobj;
17252 fail:
17253 return NULL;
17254 }
17255
17256
17257 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj;
17259 wxListEvent *arg1 = (wxListEvent *) 0 ;
17260 int result;
17261 PyObject * obj0 = 0 ;
17262 char *kwnames[] = {
17263 (char *) "self", NULL
17264 };
17265
17266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
17267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17268 result = (int) ((arg1)->m_col);
17269
17270 resultobj = PyInt_FromLong((long)result);
17271 return resultobj;
17272 fail:
17273 return NULL;
17274 }
17275
17276
17277 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17278 PyObject *resultobj;
17279 wxListEvent *arg1 = (wxListEvent *) 0 ;
17280 wxPoint *arg2 = (wxPoint *) 0 ;
17281 PyObject * obj0 = 0 ;
17282 PyObject * obj1 = 0 ;
17283 char *kwnames[] = {
17284 (char *) "self",(char *) "m_pointDrag", NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
17288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17290 if (arg1) (arg1)->m_pointDrag = *arg2;
17291
17292 Py_INCREF(Py_None); resultobj = Py_None;
17293 return resultobj;
17294 fail:
17295 return NULL;
17296 }
17297
17298
17299 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17300 PyObject *resultobj;
17301 wxListEvent *arg1 = (wxListEvent *) 0 ;
17302 wxPoint *result;
17303 PyObject * obj0 = 0 ;
17304 char *kwnames[] = {
17305 (char *) "self", NULL
17306 };
17307
17308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
17309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17310 result = (wxPoint *)& ((arg1)->m_pointDrag);
17311
17312 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
17313 return resultobj;
17314 fail:
17315 return NULL;
17316 }
17317
17318
17319 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17320 PyObject *resultobj;
17321 wxListEvent *arg1 = (wxListEvent *) 0 ;
17322 wxListItem *result;
17323 PyObject * obj0 = 0 ;
17324 char *kwnames[] = {
17325 (char *) "self", NULL
17326 };
17327
17328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
17329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17330 result = (wxListItem *)& ((arg1)->m_item);
17331
17332 {
17333 resultobj = wxPyMake_wxObject(result);
17334 }
17335 return resultobj;
17336 fail:
17337 return NULL;
17338 }
17339
17340
17341 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxListEvent *arg1 = (wxListEvent *) 0 ;
17344 int result;
17345 PyObject * obj0 = 0 ;
17346 char *kwnames[] = {
17347 (char *) "self", NULL
17348 };
17349
17350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
17351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17352 {
17353 PyThreadState* __tstate = wxPyBeginAllowThreads();
17354 result = (int)(arg1)->GetKeyCode();
17355
17356 wxPyEndAllowThreads(__tstate);
17357 if (PyErr_Occurred()) SWIG_fail;
17358 }
17359 resultobj = PyInt_FromLong((long)result);
17360 return resultobj;
17361 fail:
17362 return NULL;
17363 }
17364
17365
17366 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
17367 PyObject *resultobj;
17368 wxListEvent *arg1 = (wxListEvent *) 0 ;
17369 long result;
17370 PyObject * obj0 = 0 ;
17371 char *kwnames[] = {
17372 (char *) "self", NULL
17373 };
17374
17375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
17376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17377 {
17378 PyThreadState* __tstate = wxPyBeginAllowThreads();
17379 result = (long)(arg1)->GetIndex();
17380
17381 wxPyEndAllowThreads(__tstate);
17382 if (PyErr_Occurred()) SWIG_fail;
17383 }
17384 resultobj = PyInt_FromLong((long)result);
17385 return resultobj;
17386 fail:
17387 return NULL;
17388 }
17389
17390
17391 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17392 PyObject *resultobj;
17393 wxListEvent *arg1 = (wxListEvent *) 0 ;
17394 int result;
17395 PyObject * obj0 = 0 ;
17396 char *kwnames[] = {
17397 (char *) "self", NULL
17398 };
17399
17400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17402 {
17403 PyThreadState* __tstate = wxPyBeginAllowThreads();
17404 result = (int)(arg1)->GetColumn();
17405
17406 wxPyEndAllowThreads(__tstate);
17407 if (PyErr_Occurred()) SWIG_fail;
17408 }
17409 resultobj = PyInt_FromLong((long)result);
17410 return resultobj;
17411 fail:
17412 return NULL;
17413 }
17414
17415
17416 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj;
17418 wxListEvent *arg1 = (wxListEvent *) 0 ;
17419 wxPoint result;
17420 PyObject * obj0 = 0 ;
17421 char *kwnames[] = {
17422 (char *) "self", NULL
17423 };
17424
17425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17427 {
17428 PyThreadState* __tstate = wxPyBeginAllowThreads();
17429 result = (arg1)->GetPoint();
17430
17431 wxPyEndAllowThreads(__tstate);
17432 if (PyErr_Occurred()) SWIG_fail;
17433 }
17434 {
17435 wxPoint * resultptr;
17436 resultptr = new wxPoint((wxPoint &) result);
17437 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17438 }
17439 return resultobj;
17440 fail:
17441 return NULL;
17442 }
17443
17444
17445 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17446 PyObject *resultobj;
17447 wxListEvent *arg1 = (wxListEvent *) 0 ;
17448 wxString *result;
17449 PyObject * obj0 = 0 ;
17450 char *kwnames[] = {
17451 (char *) "self", NULL
17452 };
17453
17454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17456 {
17457 PyThreadState* __tstate = wxPyBeginAllowThreads();
17458 {
17459 wxString const &_result_ref = (arg1)->GetLabel();
17460 result = (wxString *) &_result_ref;
17461 }
17462
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 {
17467 #if wxUSE_UNICODE
17468 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17469 #else
17470 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17471 #endif
17472 }
17473 return resultobj;
17474 fail:
17475 return NULL;
17476 }
17477
17478
17479 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxListEvent *arg1 = (wxListEvent *) 0 ;
17482 wxString *result;
17483 PyObject * obj0 = 0 ;
17484 char *kwnames[] = {
17485 (char *) "self", NULL
17486 };
17487
17488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17490 {
17491 PyThreadState* __tstate = wxPyBeginAllowThreads();
17492 {
17493 wxString const &_result_ref = (arg1)->GetText();
17494 result = (wxString *) &_result_ref;
17495 }
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 {
17501 #if wxUSE_UNICODE
17502 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17503 #else
17504 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17505 #endif
17506 }
17507 return resultobj;
17508 fail:
17509 return NULL;
17510 }
17511
17512
17513 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17514 PyObject *resultobj;
17515 wxListEvent *arg1 = (wxListEvent *) 0 ;
17516 int result;
17517 PyObject * obj0 = 0 ;
17518 char *kwnames[] = {
17519 (char *) "self", NULL
17520 };
17521
17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 result = (int)(arg1)->GetImage();
17527
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 resultobj = PyInt_FromLong((long)result);
17532 return resultobj;
17533 fail:
17534 return NULL;
17535 }
17536
17537
17538 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17539 PyObject *resultobj;
17540 wxListEvent *arg1 = (wxListEvent *) 0 ;
17541 long result;
17542 PyObject * obj0 = 0 ;
17543 char *kwnames[] = {
17544 (char *) "self", NULL
17545 };
17546
17547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17549 {
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 result = (long)(arg1)->GetData();
17552
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 resultobj = PyInt_FromLong((long)result);
17557 return resultobj;
17558 fail:
17559 return NULL;
17560 }
17561
17562
17563 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj;
17565 wxListEvent *arg1 = (wxListEvent *) 0 ;
17566 long result;
17567 PyObject * obj0 = 0 ;
17568 char *kwnames[] = {
17569 (char *) "self", NULL
17570 };
17571
17572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17574 {
17575 PyThreadState* __tstate = wxPyBeginAllowThreads();
17576 result = (long)(arg1)->GetMask();
17577
17578 wxPyEndAllowThreads(__tstate);
17579 if (PyErr_Occurred()) SWIG_fail;
17580 }
17581 resultobj = PyInt_FromLong((long)result);
17582 return resultobj;
17583 fail:
17584 return NULL;
17585 }
17586
17587
17588 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17589 PyObject *resultobj;
17590 wxListEvent *arg1 = (wxListEvent *) 0 ;
17591 wxListItem *result;
17592 PyObject * obj0 = 0 ;
17593 char *kwnames[] = {
17594 (char *) "self", NULL
17595 };
17596
17597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17599 {
17600 PyThreadState* __tstate = wxPyBeginAllowThreads();
17601 {
17602 wxListItem const &_result_ref = (arg1)->GetItem();
17603 result = (wxListItem *) &_result_ref;
17604 }
17605
17606 wxPyEndAllowThreads(__tstate);
17607 if (PyErr_Occurred()) SWIG_fail;
17608 }
17609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17610 return resultobj;
17611 fail:
17612 return NULL;
17613 }
17614
17615
17616 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17617 PyObject *resultobj;
17618 wxListEvent *arg1 = (wxListEvent *) 0 ;
17619 long result;
17620 PyObject * obj0 = 0 ;
17621 char *kwnames[] = {
17622 (char *) "self", NULL
17623 };
17624
17625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17627 {
17628 PyThreadState* __tstate = wxPyBeginAllowThreads();
17629 result = (long)(arg1)->GetCacheFrom();
17630
17631 wxPyEndAllowThreads(__tstate);
17632 if (PyErr_Occurred()) SWIG_fail;
17633 }
17634 resultobj = PyInt_FromLong((long)result);
17635 return resultobj;
17636 fail:
17637 return NULL;
17638 }
17639
17640
17641 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17642 PyObject *resultobj;
17643 wxListEvent *arg1 = (wxListEvent *) 0 ;
17644 long result;
17645 PyObject * obj0 = 0 ;
17646 char *kwnames[] = {
17647 (char *) "self", NULL
17648 };
17649
17650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17652 {
17653 PyThreadState* __tstate = wxPyBeginAllowThreads();
17654 result = (long)(arg1)->GetCacheTo();
17655
17656 wxPyEndAllowThreads(__tstate);
17657 if (PyErr_Occurred()) SWIG_fail;
17658 }
17659 resultobj = PyInt_FromLong((long)result);
17660 return resultobj;
17661 fail:
17662 return NULL;
17663 }
17664
17665
17666 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17667 PyObject *resultobj;
17668 wxListEvent *arg1 = (wxListEvent *) 0 ;
17669 bool result;
17670 PyObject * obj0 = 0 ;
17671 char *kwnames[] = {
17672 (char *) "self", NULL
17673 };
17674
17675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17677 {
17678 PyThreadState* __tstate = wxPyBeginAllowThreads();
17679 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17680
17681 wxPyEndAllowThreads(__tstate);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 }
17684 resultobj = PyInt_FromLong((long)result);
17685 return resultobj;
17686 fail:
17687 return NULL;
17688 }
17689
17690
17691 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17692 PyObject *resultobj;
17693 wxListEvent *arg1 = (wxListEvent *) 0 ;
17694 bool arg2 ;
17695 PyObject * obj0 = 0 ;
17696 PyObject * obj1 = 0 ;
17697 char *kwnames[] = {
17698 (char *) "self",(char *) "editCancelled", NULL
17699 };
17700
17701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17703 {
17704 arg2 = (bool) SPyObj_AsBool(obj1);
17705 if (PyErr_Occurred()) SWIG_fail;
17706 }
17707 {
17708 PyThreadState* __tstate = wxPyBeginAllowThreads();
17709 (arg1)->SetEditCanceled(arg2);
17710
17711 wxPyEndAllowThreads(__tstate);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
17714 Py_INCREF(Py_None); resultobj = Py_None;
17715 return resultobj;
17716 fail:
17717 return NULL;
17718 }
17719
17720
17721 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17722 PyObject *obj;
17723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17724 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17725 Py_INCREF(obj);
17726 return Py_BuildValue((char *)"");
17727 }
17728 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17729 PyObject *resultobj;
17730 wxWindow *arg1 = (wxWindow *) 0 ;
17731 int arg2 = (int) -1 ;
17732 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17733 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17734 wxSize const &arg4_defvalue = wxDefaultSize ;
17735 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17736 long arg5 = (long) wxLC_ICON ;
17737 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17738 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17739 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17740 wxString *arg7 = (wxString *) &arg7_defvalue ;
17741 wxPyListCtrl *result;
17742 wxPoint temp3 ;
17743 wxSize temp4 ;
17744 bool temp7 = False ;
17745 PyObject * obj0 = 0 ;
17746 PyObject * obj2 = 0 ;
17747 PyObject * obj3 = 0 ;
17748 PyObject * obj5 = 0 ;
17749 PyObject * obj6 = 0 ;
17750 char *kwnames[] = {
17751 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17752 };
17753
17754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17756 if (obj2) {
17757 {
17758 arg3 = &temp3;
17759 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17760 }
17761 }
17762 if (obj3) {
17763 {
17764 arg4 = &temp4;
17765 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17766 }
17767 }
17768 if (obj5) {
17769 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17770 if (arg6 == NULL) {
17771 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17772 }
17773 }
17774 if (obj6) {
17775 {
17776 arg7 = wxString_in_helper(obj6);
17777 if (arg7 == NULL) SWIG_fail;
17778 temp7 = True;
17779 }
17780 }
17781 {
17782 PyThreadState* __tstate = wxPyBeginAllowThreads();
17783 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17784
17785 wxPyEndAllowThreads(__tstate);
17786 if (PyErr_Occurred()) SWIG_fail;
17787 }
17788 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17789 {
17790 if (temp7)
17791 delete arg7;
17792 }
17793 return resultobj;
17794 fail:
17795 {
17796 if (temp7)
17797 delete arg7;
17798 }
17799 return NULL;
17800 }
17801
17802
17803 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17804 PyObject *resultobj;
17805 wxPyListCtrl *result;
17806 char *kwnames[] = {
17807 NULL
17808 };
17809
17810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17811 {
17812 PyThreadState* __tstate = wxPyBeginAllowThreads();
17813 result = (wxPyListCtrl *)new wxPyListCtrl();
17814
17815 wxPyEndAllowThreads(__tstate);
17816 if (PyErr_Occurred()) SWIG_fail;
17817 }
17818 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17819 return resultobj;
17820 fail:
17821 return NULL;
17822 }
17823
17824
17825 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17826 PyObject *resultobj;
17827 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17828 wxWindow *arg2 = (wxWindow *) 0 ;
17829 int arg3 = (int) -1 ;
17830 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17831 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17832 wxSize const &arg5_defvalue = wxDefaultSize ;
17833 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17834 long arg6 = (long) wxLC_ICON ;
17835 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17836 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17837 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17838 wxString *arg8 = (wxString *) &arg8_defvalue ;
17839 bool result;
17840 wxPoint temp4 ;
17841 wxSize temp5 ;
17842 bool temp8 = False ;
17843 PyObject * obj0 = 0 ;
17844 PyObject * obj1 = 0 ;
17845 PyObject * obj3 = 0 ;
17846 PyObject * obj4 = 0 ;
17847 PyObject * obj6 = 0 ;
17848 PyObject * obj7 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17855 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17856 if (obj3) {
17857 {
17858 arg4 = &temp4;
17859 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17860 }
17861 }
17862 if (obj4) {
17863 {
17864 arg5 = &temp5;
17865 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17866 }
17867 }
17868 if (obj6) {
17869 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17870 if (arg7 == NULL) {
17871 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17872 }
17873 }
17874 if (obj7) {
17875 {
17876 arg8 = wxString_in_helper(obj7);
17877 if (arg8 == NULL) SWIG_fail;
17878 temp8 = True;
17879 }
17880 }
17881 {
17882 PyThreadState* __tstate = wxPyBeginAllowThreads();
17883 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17884
17885 wxPyEndAllowThreads(__tstate);
17886 if (PyErr_Occurred()) SWIG_fail;
17887 }
17888 resultobj = PyInt_FromLong((long)result);
17889 {
17890 if (temp8)
17891 delete arg8;
17892 }
17893 return resultobj;
17894 fail:
17895 {
17896 if (temp8)
17897 delete arg8;
17898 }
17899 return NULL;
17900 }
17901
17902
17903 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17904 PyObject *resultobj;
17905 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17906 PyObject *arg2 = (PyObject *) 0 ;
17907 PyObject *arg3 = (PyObject *) 0 ;
17908 PyObject * obj0 = 0 ;
17909 PyObject * obj1 = 0 ;
17910 PyObject * obj2 = 0 ;
17911 char *kwnames[] = {
17912 (char *) "self",(char *) "self",(char *) "_class", NULL
17913 };
17914
17915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17917 arg2 = obj1;
17918 arg3 = obj2;
17919 {
17920 PyThreadState* __tstate = wxPyBeginAllowThreads();
17921 (arg1)->_setCallbackInfo(arg2,arg3);
17922
17923 wxPyEndAllowThreads(__tstate);
17924 if (PyErr_Occurred()) SWIG_fail;
17925 }
17926 Py_INCREF(Py_None); resultobj = Py_None;
17927 return resultobj;
17928 fail:
17929 return NULL;
17930 }
17931
17932
17933 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17934 PyObject *resultobj;
17935 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17936 wxColour *arg2 = 0 ;
17937 bool result;
17938 wxColour temp2 ;
17939 PyObject * obj0 = 0 ;
17940 PyObject * obj1 = 0 ;
17941 char *kwnames[] = {
17942 (char *) "self",(char *) "col", NULL
17943 };
17944
17945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17947 {
17948 arg2 = &temp2;
17949 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17950 }
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 resultobj = PyInt_FromLong((long)result);
17959 return resultobj;
17960 fail:
17961 return NULL;
17962 }
17963
17964
17965 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17966 PyObject *resultobj;
17967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17968 wxColour *arg2 = 0 ;
17969 bool result;
17970 wxColour temp2 ;
17971 PyObject * obj0 = 0 ;
17972 PyObject * obj1 = 0 ;
17973 char *kwnames[] = {
17974 (char *) "self",(char *) "col", NULL
17975 };
17976
17977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17979 {
17980 arg2 = &temp2;
17981 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17982 }
17983 {
17984 PyThreadState* __tstate = wxPyBeginAllowThreads();
17985 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17986
17987 wxPyEndAllowThreads(__tstate);
17988 if (PyErr_Occurred()) SWIG_fail;
17989 }
17990 resultobj = PyInt_FromLong((long)result);
17991 return resultobj;
17992 fail:
17993 return NULL;
17994 }
17995
17996
17997 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17998 PyObject *resultobj;
17999 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18000 int arg2 ;
18001 wxListItem *result;
18002 PyObject * obj0 = 0 ;
18003 char *kwnames[] = {
18004 (char *) "self",(char *) "col", NULL
18005 };
18006
18007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
18008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18009 {
18010 PyThreadState* __tstate = wxPyBeginAllowThreads();
18011 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
18012
18013 wxPyEndAllowThreads(__tstate);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 }
18016 {
18017 resultobj = wxPyMake_wxObject(result);
18018 }
18019 return resultobj;
18020 fail:
18021 return NULL;
18022 }
18023
18024
18025 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18026 PyObject *resultobj;
18027 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18028 int arg2 ;
18029 wxListItem *arg3 = 0 ;
18030 bool result;
18031 PyObject * obj0 = 0 ;
18032 PyObject * obj2 = 0 ;
18033 char *kwnames[] = {
18034 (char *) "self",(char *) "col",(char *) "item", NULL
18035 };
18036
18037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
18038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18039 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18040 if (arg3 == NULL) {
18041 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18042 }
18043 {
18044 PyThreadState* __tstate = wxPyBeginAllowThreads();
18045 result = (bool)(arg1)->SetColumn(arg2,*arg3);
18046
18047 wxPyEndAllowThreads(__tstate);
18048 if (PyErr_Occurred()) SWIG_fail;
18049 }
18050 resultobj = PyInt_FromLong((long)result);
18051 return resultobj;
18052 fail:
18053 return NULL;
18054 }
18055
18056
18057 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18058 PyObject *resultobj;
18059 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18060 int arg2 ;
18061 int result;
18062 PyObject * obj0 = 0 ;
18063 char *kwnames[] = {
18064 (char *) "self",(char *) "col", NULL
18065 };
18066
18067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
18068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18069 {
18070 PyThreadState* __tstate = wxPyBeginAllowThreads();
18071 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
18072
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 resultobj = PyInt_FromLong((long)result);
18077 return resultobj;
18078 fail:
18079 return NULL;
18080 }
18081
18082
18083 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18084 PyObject *resultobj;
18085 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18086 int arg2 ;
18087 int arg3 ;
18088 bool result;
18089 PyObject * obj0 = 0 ;
18090 char *kwnames[] = {
18091 (char *) "self",(char *) "col",(char *) "width", NULL
18092 };
18093
18094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
18095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18096 {
18097 PyThreadState* __tstate = wxPyBeginAllowThreads();
18098 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
18099
18100 wxPyEndAllowThreads(__tstate);
18101 if (PyErr_Occurred()) SWIG_fail;
18102 }
18103 resultobj = PyInt_FromLong((long)result);
18104 return resultobj;
18105 fail:
18106 return NULL;
18107 }
18108
18109
18110 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18111 PyObject *resultobj;
18112 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18113 int result;
18114 PyObject * obj0 = 0 ;
18115 char *kwnames[] = {
18116 (char *) "self", NULL
18117 };
18118
18119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
18120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18121 {
18122 PyThreadState* __tstate = wxPyBeginAllowThreads();
18123 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
18124
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 resultobj = PyInt_FromLong((long)result);
18129 return resultobj;
18130 fail:
18131 return NULL;
18132 }
18133
18134
18135 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18136 PyObject *resultobj;
18137 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18138 wxRect result;
18139 PyObject * obj0 = 0 ;
18140 char *kwnames[] = {
18141 (char *) "self", NULL
18142 };
18143
18144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
18145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 {
18154 wxRect * resultptr;
18155 resultptr = new wxRect((wxRect &) result);
18156 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18157 }
18158 return resultobj;
18159 fail:
18160 return NULL;
18161 }
18162
18163
18164 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18165 PyObject *resultobj;
18166 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18167 long arg2 ;
18168 int arg3 = (int) 0 ;
18169 wxListItem *result;
18170 PyObject * obj0 = 0 ;
18171 char *kwnames[] = {
18172 (char *) "self",(char *) "itemId",(char *) "col", NULL
18173 };
18174
18175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 {
18185 resultobj = wxPyMake_wxObject(result);
18186 }
18187 return resultobj;
18188 fail:
18189 return NULL;
18190 }
18191
18192
18193 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18194 PyObject *resultobj;
18195 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18196 wxListItem *arg2 = 0 ;
18197 bool result;
18198 PyObject * obj0 = 0 ;
18199 PyObject * obj1 = 0 ;
18200 char *kwnames[] = {
18201 (char *) "self",(char *) "info", NULL
18202 };
18203
18204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
18205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18207 if (arg2 == NULL) {
18208 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18209 }
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 result = (bool)(arg1)->SetItem(*arg2);
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
18217 resultobj = PyInt_FromLong((long)result);
18218 return resultobj;
18219 fail:
18220 return NULL;
18221 }
18222
18223
18224 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18227 long arg2 ;
18228 int arg3 ;
18229 wxString *arg4 = 0 ;
18230 int arg5 = (int) -1 ;
18231 long result;
18232 bool temp4 = False ;
18233 PyObject * obj0 = 0 ;
18234 PyObject * obj3 = 0 ;
18235 char *kwnames[] = {
18236 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18237 };
18238
18239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
18240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18241 {
18242 arg4 = wxString_in_helper(obj3);
18243 if (arg4 == NULL) SWIG_fail;
18244 temp4 = True;
18245 }
18246 {
18247 PyThreadState* __tstate = wxPyBeginAllowThreads();
18248 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
18249
18250 wxPyEndAllowThreads(__tstate);
18251 if (PyErr_Occurred()) SWIG_fail;
18252 }
18253 resultobj = PyInt_FromLong((long)result);
18254 {
18255 if (temp4)
18256 delete arg4;
18257 }
18258 return resultobj;
18259 fail:
18260 {
18261 if (temp4)
18262 delete arg4;
18263 }
18264 return NULL;
18265 }
18266
18267
18268 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18269 PyObject *resultobj;
18270 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18271 long arg2 ;
18272 long arg3 ;
18273 int result;
18274 PyObject * obj0 = 0 ;
18275 char *kwnames[] = {
18276 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18277 };
18278
18279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
18280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18281 {
18282 PyThreadState* __tstate = wxPyBeginAllowThreads();
18283 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
18284
18285 wxPyEndAllowThreads(__tstate);
18286 if (PyErr_Occurred()) SWIG_fail;
18287 }
18288 resultobj = PyInt_FromLong((long)result);
18289 return resultobj;
18290 fail:
18291 return NULL;
18292 }
18293
18294
18295 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18296 PyObject *resultobj;
18297 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18298 long arg2 ;
18299 long arg3 ;
18300 long arg4 ;
18301 bool result;
18302 PyObject * obj0 = 0 ;
18303 char *kwnames[] = {
18304 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18305 };
18306
18307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18309 {
18310 PyThreadState* __tstate = wxPyBeginAllowThreads();
18311 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
18312
18313 wxPyEndAllowThreads(__tstate);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 resultobj = PyInt_FromLong((long)result);
18317 return resultobj;
18318 fail:
18319 return NULL;
18320 }
18321
18322
18323 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18324 PyObject *resultobj;
18325 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18326 long arg2 ;
18327 int arg3 ;
18328 int arg4 ;
18329 bool result;
18330 PyObject * obj0 = 0 ;
18331 char *kwnames[] = {
18332 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18333 };
18334
18335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18337 {
18338 PyThreadState* __tstate = wxPyBeginAllowThreads();
18339 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
18340
18341 wxPyEndAllowThreads(__tstate);
18342 if (PyErr_Occurred()) SWIG_fail;
18343 }
18344 resultobj = PyInt_FromLong((long)result);
18345 return resultobj;
18346 fail:
18347 return NULL;
18348 }
18349
18350
18351 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18352 PyObject *resultobj;
18353 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18354 long arg2 ;
18355 wxString result;
18356 PyObject * obj0 = 0 ;
18357 char *kwnames[] = {
18358 (char *) "self",(char *) "item", NULL
18359 };
18360
18361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
18362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18363 {
18364 PyThreadState* __tstate = wxPyBeginAllowThreads();
18365 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
18366
18367 wxPyEndAllowThreads(__tstate);
18368 if (PyErr_Occurred()) SWIG_fail;
18369 }
18370 {
18371 #if wxUSE_UNICODE
18372 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18373 #else
18374 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18375 #endif
18376 }
18377 return resultobj;
18378 fail:
18379 return NULL;
18380 }
18381
18382
18383 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18384 PyObject *resultobj;
18385 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18386 long arg2 ;
18387 wxString *arg3 = 0 ;
18388 bool temp3 = False ;
18389 PyObject * obj0 = 0 ;
18390 PyObject * obj2 = 0 ;
18391 char *kwnames[] = {
18392 (char *) "self",(char *) "item",(char *) "str", NULL
18393 };
18394
18395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18397 {
18398 arg3 = wxString_in_helper(obj2);
18399 if (arg3 == NULL) SWIG_fail;
18400 temp3 = True;
18401 }
18402 {
18403 PyThreadState* __tstate = wxPyBeginAllowThreads();
18404 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18405
18406 wxPyEndAllowThreads(__tstate);
18407 if (PyErr_Occurred()) SWIG_fail;
18408 }
18409 Py_INCREF(Py_None); resultobj = Py_None;
18410 {
18411 if (temp3)
18412 delete arg3;
18413 }
18414 return resultobj;
18415 fail:
18416 {
18417 if (temp3)
18418 delete arg3;
18419 }
18420 return NULL;
18421 }
18422
18423
18424 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18425 PyObject *resultobj;
18426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18427 long arg2 ;
18428 long result;
18429 PyObject * obj0 = 0 ;
18430 char *kwnames[] = {
18431 (char *) "self",(char *) "item", NULL
18432 };
18433
18434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18436 {
18437 PyThreadState* __tstate = wxPyBeginAllowThreads();
18438 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18439
18440 wxPyEndAllowThreads(__tstate);
18441 if (PyErr_Occurred()) SWIG_fail;
18442 }
18443 resultobj = PyInt_FromLong((long)result);
18444 return resultobj;
18445 fail:
18446 return NULL;
18447 }
18448
18449
18450 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj;
18452 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18453 long arg2 ;
18454 long arg3 ;
18455 bool result;
18456 PyObject * obj0 = 0 ;
18457 char *kwnames[] = {
18458 (char *) "self",(char *) "item",(char *) "data", NULL
18459 };
18460
18461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18463 {
18464 PyThreadState* __tstate = wxPyBeginAllowThreads();
18465 result = (bool)(arg1)->SetItemData(arg2,arg3);
18466
18467 wxPyEndAllowThreads(__tstate);
18468 if (PyErr_Occurred()) SWIG_fail;
18469 }
18470 resultobj = PyInt_FromLong((long)result);
18471 return resultobj;
18472 fail:
18473 return NULL;
18474 }
18475
18476
18477 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18478 PyObject *resultobj;
18479 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18480 long arg2 ;
18481 wxPoint result;
18482 PyObject * obj0 = 0 ;
18483 char *kwnames[] = {
18484 (char *) "self",(char *) "item", NULL
18485 };
18486
18487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18489 {
18490 PyThreadState* __tstate = wxPyBeginAllowThreads();
18491 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18492
18493 wxPyEndAllowThreads(__tstate);
18494 if (PyErr_Occurred()) SWIG_fail;
18495 }
18496 {
18497 wxPoint * resultptr;
18498 resultptr = new wxPoint((wxPoint &) result);
18499 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18500 }
18501 return resultobj;
18502 fail:
18503 return NULL;
18504 }
18505
18506
18507 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18508 PyObject *resultobj;
18509 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18510 long arg2 ;
18511 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18512 wxRect result;
18513 PyObject * obj0 = 0 ;
18514 char *kwnames[] = {
18515 (char *) "self",(char *) "item",(char *) "code", NULL
18516 };
18517
18518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18520 {
18521 PyThreadState* __tstate = wxPyBeginAllowThreads();
18522 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18523
18524 wxPyEndAllowThreads(__tstate);
18525 if (PyErr_Occurred()) SWIG_fail;
18526 }
18527 {
18528 wxRect * resultptr;
18529 resultptr = new wxRect((wxRect &) result);
18530 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18531 }
18532 return resultobj;
18533 fail:
18534 return NULL;
18535 }
18536
18537
18538 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18539 PyObject *resultobj;
18540 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18541 long arg2 ;
18542 wxPoint *arg3 = 0 ;
18543 bool result;
18544 wxPoint temp3 ;
18545 PyObject * obj0 = 0 ;
18546 PyObject * obj2 = 0 ;
18547 char *kwnames[] = {
18548 (char *) "self",(char *) "item",(char *) "pos", NULL
18549 };
18550
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18553 {
18554 arg3 = &temp3;
18555 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18556 }
18557 {
18558 PyThreadState* __tstate = wxPyBeginAllowThreads();
18559 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
18564 resultobj = PyInt_FromLong((long)result);
18565 return resultobj;
18566 fail:
18567 return NULL;
18568 }
18569
18570
18571 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18572 PyObject *resultobj;
18573 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18574 int result;
18575 PyObject * obj0 = 0 ;
18576 char *kwnames[] = {
18577 (char *) "self", NULL
18578 };
18579
18580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18582 {
18583 PyThreadState* __tstate = wxPyBeginAllowThreads();
18584 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18585
18586 wxPyEndAllowThreads(__tstate);
18587 if (PyErr_Occurred()) SWIG_fail;
18588 }
18589 resultobj = PyInt_FromLong((long)result);
18590 return resultobj;
18591 fail:
18592 return NULL;
18593 }
18594
18595
18596 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18597 PyObject *resultobj;
18598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18599 int result;
18600 PyObject * obj0 = 0 ;
18601 char *kwnames[] = {
18602 (char *) "self", NULL
18603 };
18604
18605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18607 {
18608 PyThreadState* __tstate = wxPyBeginAllowThreads();
18609 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18610
18611 wxPyEndAllowThreads(__tstate);
18612 if (PyErr_Occurred()) SWIG_fail;
18613 }
18614 resultobj = PyInt_FromLong((long)result);
18615 return resultobj;
18616 fail:
18617 return NULL;
18618 }
18619
18620
18621 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18622 PyObject *resultobj;
18623 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18624 wxSize result;
18625 PyObject * obj0 = 0 ;
18626 char *kwnames[] = {
18627 (char *) "self", NULL
18628 };
18629
18630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18632 {
18633 PyThreadState* __tstate = wxPyBeginAllowThreads();
18634 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18635
18636 wxPyEndAllowThreads(__tstate);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 }
18639 {
18640 wxSize * resultptr;
18641 resultptr = new wxSize((wxSize &) result);
18642 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18643 }
18644 return resultobj;
18645 fail:
18646 return NULL;
18647 }
18648
18649
18650 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18651 PyObject *resultobj;
18652 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18653 int arg2 ;
18654 bool arg3 = (bool) False ;
18655 PyObject * obj0 = 0 ;
18656 PyObject * obj2 = 0 ;
18657 char *kwnames[] = {
18658 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18659 };
18660
18661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18663 if (obj2) {
18664 {
18665 arg3 = (bool) SPyObj_AsBool(obj2);
18666 if (PyErr_Occurred()) SWIG_fail;
18667 }
18668 }
18669 {
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
18671 (arg1)->SetItemSpacing(arg2,arg3);
18672
18673 wxPyEndAllowThreads(__tstate);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 }
18676 Py_INCREF(Py_None); resultobj = Py_None;
18677 return resultobj;
18678 fail:
18679 return NULL;
18680 }
18681
18682
18683 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18684 PyObject *resultobj;
18685 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18686 int result;
18687 PyObject * obj0 = 0 ;
18688 char *kwnames[] = {
18689 (char *) "self", NULL
18690 };
18691
18692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18694 {
18695 PyThreadState* __tstate = wxPyBeginAllowThreads();
18696 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18697
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 resultobj = PyInt_FromLong((long)result);
18702 return resultobj;
18703 fail:
18704 return NULL;
18705 }
18706
18707
18708 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18709 PyObject *resultobj;
18710 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18711 wxColour result;
18712 PyObject * obj0 = 0 ;
18713 char *kwnames[] = {
18714 (char *) "self", NULL
18715 };
18716
18717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18722
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 {
18727 wxColour * resultptr;
18728 resultptr = new wxColour((wxColour &) result);
18729 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18730 }
18731 return resultobj;
18732 fail:
18733 return NULL;
18734 }
18735
18736
18737 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18738 PyObject *resultobj;
18739 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18740 wxColour *arg2 = 0 ;
18741 wxColour temp2 ;
18742 PyObject * obj0 = 0 ;
18743 PyObject * obj1 = 0 ;
18744 char *kwnames[] = {
18745 (char *) "self",(char *) "col", NULL
18746 };
18747
18748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18750 {
18751 arg2 = &temp2;
18752 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18753 }
18754 {
18755 PyThreadState* __tstate = wxPyBeginAllowThreads();
18756 (arg1)->SetTextColour((wxColour const &)*arg2);
18757
18758 wxPyEndAllowThreads(__tstate);
18759 if (PyErr_Occurred()) SWIG_fail;
18760 }
18761 Py_INCREF(Py_None); resultobj = Py_None;
18762 return resultobj;
18763 fail:
18764 return NULL;
18765 }
18766
18767
18768 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18769 PyObject *resultobj;
18770 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18771 long result;
18772 PyObject * obj0 = 0 ;
18773 char *kwnames[] = {
18774 (char *) "self", NULL
18775 };
18776
18777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18779 {
18780 PyThreadState* __tstate = wxPyBeginAllowThreads();
18781 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18782
18783 wxPyEndAllowThreads(__tstate);
18784 if (PyErr_Occurred()) SWIG_fail;
18785 }
18786 resultobj = PyInt_FromLong((long)result);
18787 return resultobj;
18788 fail:
18789 return NULL;
18790 }
18791
18792
18793 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18794 PyObject *resultobj;
18795 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18796 long arg2 ;
18797 bool arg3 = (bool) True ;
18798 PyObject * obj0 = 0 ;
18799 PyObject * obj2 = 0 ;
18800 char *kwnames[] = {
18801 (char *) "self",(char *) "style",(char *) "add", NULL
18802 };
18803
18804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18806 if (obj2) {
18807 {
18808 arg3 = (bool) SPyObj_AsBool(obj2);
18809 if (PyErr_Occurred()) SWIG_fail;
18810 }
18811 }
18812 {
18813 PyThreadState* __tstate = wxPyBeginAllowThreads();
18814 (arg1)->SetSingleStyle(arg2,arg3);
18815
18816 wxPyEndAllowThreads(__tstate);
18817 if (PyErr_Occurred()) SWIG_fail;
18818 }
18819 Py_INCREF(Py_None); resultobj = Py_None;
18820 return resultobj;
18821 fail:
18822 return NULL;
18823 }
18824
18825
18826 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18827 PyObject *resultobj;
18828 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18829 long arg2 ;
18830 PyObject * obj0 = 0 ;
18831 char *kwnames[] = {
18832 (char *) "self",(char *) "style", NULL
18833 };
18834
18835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18837 {
18838 PyThreadState* __tstate = wxPyBeginAllowThreads();
18839 (arg1)->SetWindowStyleFlag(arg2);
18840
18841 wxPyEndAllowThreads(__tstate);
18842 if (PyErr_Occurred()) SWIG_fail;
18843 }
18844 Py_INCREF(Py_None); resultobj = Py_None;
18845 return resultobj;
18846 fail:
18847 return NULL;
18848 }
18849
18850
18851 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18852 PyObject *resultobj;
18853 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18854 long arg2 ;
18855 int arg3 = (int) wxLIST_NEXT_ALL ;
18856 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18857 long result;
18858 PyObject * obj0 = 0 ;
18859 char *kwnames[] = {
18860 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18861 };
18862
18863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18865 {
18866 PyThreadState* __tstate = wxPyBeginAllowThreads();
18867 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18868
18869 wxPyEndAllowThreads(__tstate);
18870 if (PyErr_Occurred()) SWIG_fail;
18871 }
18872 resultobj = PyInt_FromLong((long)result);
18873 return resultobj;
18874 fail:
18875 return NULL;
18876 }
18877
18878
18879 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18880 PyObject *resultobj;
18881 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18882 int arg2 ;
18883 wxImageList *result;
18884 PyObject * obj0 = 0 ;
18885 char *kwnames[] = {
18886 (char *) "self",(char *) "which", NULL
18887 };
18888
18889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18891 {
18892 PyThreadState* __tstate = wxPyBeginAllowThreads();
18893 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18894
18895 wxPyEndAllowThreads(__tstate);
18896 if (PyErr_Occurred()) SWIG_fail;
18897 }
18898 {
18899 resultobj = wxPyMake_wxObject(result);
18900 }
18901 return resultobj;
18902 fail:
18903 return NULL;
18904 }
18905
18906
18907 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18908 PyObject *resultobj;
18909 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18910 wxImageList *arg2 = (wxImageList *) 0 ;
18911 int arg3 ;
18912 PyObject * obj0 = 0 ;
18913 PyObject * obj1 = 0 ;
18914 char *kwnames[] = {
18915 (char *) "self",(char *) "imageList",(char *) "which", NULL
18916 };
18917
18918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18921 {
18922 PyThreadState* __tstate = wxPyBeginAllowThreads();
18923 (arg1)->SetImageList(arg2,arg3);
18924
18925 wxPyEndAllowThreads(__tstate);
18926 if (PyErr_Occurred()) SWIG_fail;
18927 }
18928 Py_INCREF(Py_None); resultobj = Py_None;
18929 return resultobj;
18930 fail:
18931 return NULL;
18932 }
18933
18934
18935 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18936 PyObject *resultobj;
18937 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18938 wxImageList *arg2 = (wxImageList *) 0 ;
18939 int arg3 ;
18940 PyObject * obj0 = 0 ;
18941 PyObject * obj1 = 0 ;
18942 char *kwnames[] = {
18943 (char *) "self",(char *) "imageList",(char *) "which", NULL
18944 };
18945
18946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
18949 {
18950 PyThreadState* __tstate = wxPyBeginAllowThreads();
18951 (arg1)->AssignImageList(arg2,arg3);
18952
18953 wxPyEndAllowThreads(__tstate);
18954 if (PyErr_Occurred()) SWIG_fail;
18955 }
18956 Py_INCREF(Py_None); resultobj = Py_None;
18957 return resultobj;
18958 fail:
18959 return NULL;
18960 }
18961
18962
18963 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18964 PyObject *resultobj;
18965 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18966 bool result;
18967 PyObject * obj0 = 0 ;
18968 char *kwnames[] = {
18969 (char *) "self", NULL
18970 };
18971
18972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18974 {
18975 PyThreadState* __tstate = wxPyBeginAllowThreads();
18976 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18977
18978 wxPyEndAllowThreads(__tstate);
18979 if (PyErr_Occurred()) SWIG_fail;
18980 }
18981 resultobj = PyInt_FromLong((long)result);
18982 return resultobj;
18983 fail:
18984 return NULL;
18985 }
18986
18987
18988 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18989 PyObject *resultobj;
18990 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18991 long arg2 ;
18992 PyObject * obj0 = 0 ;
18993 char *kwnames[] = {
18994 (char *) "self",(char *) "item", NULL
18995 };
18996
18997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18999 {
19000 PyThreadState* __tstate = wxPyBeginAllowThreads();
19001 (arg1)->RefreshItem(arg2);
19002
19003 wxPyEndAllowThreads(__tstate);
19004 if (PyErr_Occurred()) SWIG_fail;
19005 }
19006 Py_INCREF(Py_None); resultobj = Py_None;
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19016 long arg2 ;
19017 long arg3 ;
19018 PyObject * obj0 = 0 ;
19019 char *kwnames[] = {
19020 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19021 };
19022
19023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
19024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19025 {
19026 PyThreadState* __tstate = wxPyBeginAllowThreads();
19027 (arg1)->RefreshItems(arg2,arg3);
19028
19029 wxPyEndAllowThreads(__tstate);
19030 if (PyErr_Occurred()) SWIG_fail;
19031 }
19032 Py_INCREF(Py_None); resultobj = Py_None;
19033 return resultobj;
19034 fail:
19035 return NULL;
19036 }
19037
19038
19039 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
19040 PyObject *resultobj;
19041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19042 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
19043 bool result;
19044 PyObject * obj0 = 0 ;
19045 char *kwnames[] = {
19046 (char *) "self",(char *) "flag", NULL
19047 };
19048
19049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
19050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 result = (bool)(arg1)->Arrange(arg2);
19054
19055 wxPyEndAllowThreads(__tstate);
19056 if (PyErr_Occurred()) SWIG_fail;
19057 }
19058 resultobj = PyInt_FromLong((long)result);
19059 return resultobj;
19060 fail:
19061 return NULL;
19062 }
19063
19064
19065 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19066 PyObject *resultobj;
19067 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19068 long arg2 ;
19069 bool result;
19070 PyObject * obj0 = 0 ;
19071 char *kwnames[] = {
19072 (char *) "self",(char *) "item", NULL
19073 };
19074
19075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
19076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19077 {
19078 PyThreadState* __tstate = wxPyBeginAllowThreads();
19079 result = (bool)(arg1)->DeleteItem(arg2);
19080
19081 wxPyEndAllowThreads(__tstate);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 }
19084 resultobj = PyInt_FromLong((long)result);
19085 return resultobj;
19086 fail:
19087 return NULL;
19088 }
19089
19090
19091 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19092 PyObject *resultobj;
19093 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19094 bool result;
19095 PyObject * obj0 = 0 ;
19096 char *kwnames[] = {
19097 (char *) "self", NULL
19098 };
19099
19100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
19101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19102 {
19103 PyThreadState* __tstate = wxPyBeginAllowThreads();
19104 result = (bool)(arg1)->DeleteAllItems();
19105
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
19109 resultobj = PyInt_FromLong((long)result);
19110 return resultobj;
19111 fail:
19112 return NULL;
19113 }
19114
19115
19116 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19117 PyObject *resultobj;
19118 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19119 int arg2 ;
19120 bool result;
19121 PyObject * obj0 = 0 ;
19122 char *kwnames[] = {
19123 (char *) "self",(char *) "col", NULL
19124 };
19125
19126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
19127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19128 {
19129 PyThreadState* __tstate = wxPyBeginAllowThreads();
19130 result = (bool)(arg1)->DeleteColumn(arg2);
19131
19132 wxPyEndAllowThreads(__tstate);
19133 if (PyErr_Occurred()) SWIG_fail;
19134 }
19135 resultobj = PyInt_FromLong((long)result);
19136 return resultobj;
19137 fail:
19138 return NULL;
19139 }
19140
19141
19142 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
19143 PyObject *resultobj;
19144 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19145 bool result;
19146 PyObject * obj0 = 0 ;
19147 char *kwnames[] = {
19148 (char *) "self", NULL
19149 };
19150
19151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
19152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19153 {
19154 PyThreadState* __tstate = wxPyBeginAllowThreads();
19155 result = (bool)(arg1)->DeleteAllColumns();
19156
19157 wxPyEndAllowThreads(__tstate);
19158 if (PyErr_Occurred()) SWIG_fail;
19159 }
19160 resultobj = PyInt_FromLong((long)result);
19161 return resultobj;
19162 fail:
19163 return NULL;
19164 }
19165
19166
19167 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
19168 PyObject *resultobj;
19169 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19170 PyObject * obj0 = 0 ;
19171 char *kwnames[] = {
19172 (char *) "self", NULL
19173 };
19174
19175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
19176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19177 {
19178 PyThreadState* __tstate = wxPyBeginAllowThreads();
19179 (arg1)->ClearAll();
19180
19181 wxPyEndAllowThreads(__tstate);
19182 if (PyErr_Occurred()) SWIG_fail;
19183 }
19184 Py_INCREF(Py_None); resultobj = Py_None;
19185 return resultobj;
19186 fail:
19187 return NULL;
19188 }
19189
19190
19191 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19192 PyObject *resultobj;
19193 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19194 long arg2 ;
19195 PyObject * obj0 = 0 ;
19196 char *kwnames[] = {
19197 (char *) "self",(char *) "item", NULL
19198 };
19199
19200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
19201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 (arg1)->EditLabel(arg2);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
19209 Py_INCREF(Py_None); resultobj = Py_None;
19210 return resultobj;
19211 fail:
19212 return NULL;
19213 }
19214
19215
19216 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
19217 PyObject *resultobj;
19218 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19219 long arg2 ;
19220 bool result;
19221 PyObject * obj0 = 0 ;
19222 char *kwnames[] = {
19223 (char *) "self",(char *) "item", NULL
19224 };
19225
19226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
19227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19228 {
19229 PyThreadState* __tstate = wxPyBeginAllowThreads();
19230 result = (bool)(arg1)->EnsureVisible(arg2);
19231
19232 wxPyEndAllowThreads(__tstate);
19233 if (PyErr_Occurred()) SWIG_fail;
19234 }
19235 resultobj = PyInt_FromLong((long)result);
19236 return resultobj;
19237 fail:
19238 return NULL;
19239 }
19240
19241
19242 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19243 PyObject *resultobj;
19244 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19245 long arg2 ;
19246 wxString *arg3 = 0 ;
19247 bool arg4 = (bool) False ;
19248 long result;
19249 bool temp3 = False ;
19250 PyObject * obj0 = 0 ;
19251 PyObject * obj2 = 0 ;
19252 PyObject * obj3 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
19258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19259 {
19260 arg3 = wxString_in_helper(obj2);
19261 if (arg3 == NULL) SWIG_fail;
19262 temp3 = True;
19263 }
19264 if (obj3) {
19265 {
19266 arg4 = (bool) SPyObj_AsBool(obj3);
19267 if (PyErr_Occurred()) SWIG_fail;
19268 }
19269 }
19270 {
19271 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
19273
19274 wxPyEndAllowThreads(__tstate);
19275 if (PyErr_Occurred()) SWIG_fail;
19276 }
19277 resultobj = PyInt_FromLong((long)result);
19278 {
19279 if (temp3)
19280 delete arg3;
19281 }
19282 return resultobj;
19283 fail:
19284 {
19285 if (temp3)
19286 delete arg3;
19287 }
19288 return NULL;
19289 }
19290
19291
19292 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19293 PyObject *resultobj;
19294 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19295 long arg2 ;
19296 long arg3 ;
19297 long result;
19298 PyObject * obj0 = 0 ;
19299 char *kwnames[] = {
19300 (char *) "self",(char *) "start",(char *) "data", NULL
19301 };
19302
19303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
19304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19305 {
19306 PyThreadState* __tstate = wxPyBeginAllowThreads();
19307 result = (long)(arg1)->FindItem(arg2,arg3);
19308
19309 wxPyEndAllowThreads(__tstate);
19310 if (PyErr_Occurred()) SWIG_fail;
19311 }
19312 resultobj = PyInt_FromLong((long)result);
19313 return resultobj;
19314 fail:
19315 return NULL;
19316 }
19317
19318
19319 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
19320 PyObject *resultobj;
19321 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19322 long arg2 ;
19323 wxPoint *arg3 = 0 ;
19324 int arg4 ;
19325 long result;
19326 wxPoint temp3 ;
19327 PyObject * obj0 = 0 ;
19328 PyObject * obj2 = 0 ;
19329 char *kwnames[] = {
19330 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19331 };
19332
19333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19335 {
19336 arg3 = &temp3;
19337 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19338 }
19339 {
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
19342
19343 wxPyEndAllowThreads(__tstate);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 }
19346 resultobj = PyInt_FromLong((long)result);
19347 return resultobj;
19348 fail:
19349 return NULL;
19350 }
19351
19352
19353 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
19354 PyObject *resultobj;
19355 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19356 wxPoint *arg2 = 0 ;
19357 int *arg3 = 0 ;
19358 long result;
19359 wxPoint temp2 ;
19360 int temp3 ;
19361 PyObject * obj0 = 0 ;
19362 PyObject * obj1 = 0 ;
19363 char *kwnames[] = {
19364 (char *) "self",(char *) "point", NULL
19365 };
19366
19367 arg3 = &temp3;
19368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
19369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19370 {
19371 arg2 = &temp2;
19372 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19373 }
19374 {
19375 PyThreadState* __tstate = wxPyBeginAllowThreads();
19376 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
19377
19378 wxPyEndAllowThreads(__tstate);
19379 if (PyErr_Occurred()) SWIG_fail;
19380 }
19381 resultobj = PyInt_FromLong((long)result);
19382 {
19383 PyObject *o = PyInt_FromLong((long) (*arg3));
19384 resultobj = t_output_helper(resultobj,o);
19385 }
19386 return resultobj;
19387 fail:
19388 return NULL;
19389 }
19390
19391
19392 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19393 PyObject *resultobj;
19394 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19395 wxListItem *arg2 = 0 ;
19396 long result;
19397 PyObject * obj0 = 0 ;
19398 PyObject * obj1 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self",(char *) "info", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19405 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19406 if (arg2 == NULL) {
19407 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19408 }
19409 {
19410 PyThreadState* __tstate = wxPyBeginAllowThreads();
19411 result = (long)(arg1)->InsertItem(*arg2);
19412
19413 wxPyEndAllowThreads(__tstate);
19414 if (PyErr_Occurred()) SWIG_fail;
19415 }
19416 resultobj = PyInt_FromLong((long)result);
19417 return resultobj;
19418 fail:
19419 return NULL;
19420 }
19421
19422
19423 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19424 PyObject *resultobj;
19425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19426 long arg2 ;
19427 wxString *arg3 = 0 ;
19428 long result;
19429 bool temp3 = False ;
19430 PyObject * obj0 = 0 ;
19431 PyObject * obj2 = 0 ;
19432 char *kwnames[] = {
19433 (char *) "self",(char *) "index",(char *) "label", NULL
19434 };
19435
19436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19438 {
19439 arg3 = wxString_in_helper(obj2);
19440 if (arg3 == NULL) SWIG_fail;
19441 temp3 = True;
19442 }
19443 {
19444 PyThreadState* __tstate = wxPyBeginAllowThreads();
19445 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19446
19447 wxPyEndAllowThreads(__tstate);
19448 if (PyErr_Occurred()) SWIG_fail;
19449 }
19450 resultobj = PyInt_FromLong((long)result);
19451 {
19452 if (temp3)
19453 delete arg3;
19454 }
19455 return resultobj;
19456 fail:
19457 {
19458 if (temp3)
19459 delete arg3;
19460 }
19461 return NULL;
19462 }
19463
19464
19465 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19466 PyObject *resultobj;
19467 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19468 long arg2 ;
19469 int arg3 ;
19470 long result;
19471 PyObject * obj0 = 0 ;
19472 char *kwnames[] = {
19473 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19474 };
19475
19476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19478 {
19479 PyThreadState* __tstate = wxPyBeginAllowThreads();
19480 result = (long)(arg1)->InsertItem(arg2,arg3);
19481
19482 wxPyEndAllowThreads(__tstate);
19483 if (PyErr_Occurred()) SWIG_fail;
19484 }
19485 resultobj = PyInt_FromLong((long)result);
19486 return resultobj;
19487 fail:
19488 return NULL;
19489 }
19490
19491
19492 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19493 PyObject *resultobj;
19494 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19495 long arg2 ;
19496 wxString *arg3 = 0 ;
19497 int arg4 ;
19498 long result;
19499 bool temp3 = False ;
19500 PyObject * obj0 = 0 ;
19501 PyObject * obj2 = 0 ;
19502 char *kwnames[] = {
19503 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19504 };
19505
19506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19508 {
19509 arg3 = wxString_in_helper(obj2);
19510 if (arg3 == NULL) SWIG_fail;
19511 temp3 = True;
19512 }
19513 {
19514 PyThreadState* __tstate = wxPyBeginAllowThreads();
19515 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19516
19517 wxPyEndAllowThreads(__tstate);
19518 if (PyErr_Occurred()) SWIG_fail;
19519 }
19520 resultobj = PyInt_FromLong((long)result);
19521 {
19522 if (temp3)
19523 delete arg3;
19524 }
19525 return resultobj;
19526 fail:
19527 {
19528 if (temp3)
19529 delete arg3;
19530 }
19531 return NULL;
19532 }
19533
19534
19535 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19536 PyObject *resultobj;
19537 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19538 long arg2 ;
19539 wxListItem *arg3 = 0 ;
19540 long result;
19541 PyObject * obj0 = 0 ;
19542 PyObject * obj2 = 0 ;
19543 char *kwnames[] = {
19544 (char *) "self",(char *) "col",(char *) "info", NULL
19545 };
19546
19547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19549 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19550 if (arg3 == NULL) {
19551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19552 }
19553 {
19554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19555 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19556
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 resultobj = PyInt_FromLong((long)result);
19561 return resultobj;
19562 fail:
19563 return NULL;
19564 }
19565
19566
19567 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19568 PyObject *resultobj;
19569 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19570 long arg2 ;
19571 wxString *arg3 = 0 ;
19572 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19573 int arg5 = (int) -1 ;
19574 long result;
19575 bool temp3 = False ;
19576 PyObject * obj0 = 0 ;
19577 PyObject * obj2 = 0 ;
19578 char *kwnames[] = {
19579 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19580 };
19581
19582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19584 {
19585 arg3 = wxString_in_helper(obj2);
19586 if (arg3 == NULL) SWIG_fail;
19587 temp3 = True;
19588 }
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19592
19593 wxPyEndAllowThreads(__tstate);
19594 if (PyErr_Occurred()) SWIG_fail;
19595 }
19596 resultobj = PyInt_FromLong((long)result);
19597 {
19598 if (temp3)
19599 delete arg3;
19600 }
19601 return resultobj;
19602 fail:
19603 {
19604 if (temp3)
19605 delete arg3;
19606 }
19607 return NULL;
19608 }
19609
19610
19611 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19612 PyObject *resultobj;
19613 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19614 long arg2 ;
19615 PyObject * obj0 = 0 ;
19616 char *kwnames[] = {
19617 (char *) "self",(char *) "count", NULL
19618 };
19619
19620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 (arg1)->SetItemCount(arg2);
19625
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 Py_INCREF(Py_None); resultobj = Py_None;
19630 return resultobj;
19631 fail:
19632 return NULL;
19633 }
19634
19635
19636 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19637 PyObject *resultobj;
19638 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19639 int arg2 ;
19640 int arg3 ;
19641 bool result;
19642 PyObject * obj0 = 0 ;
19643 char *kwnames[] = {
19644 (char *) "self",(char *) "dx",(char *) "dy", NULL
19645 };
19646
19647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19649 {
19650 PyThreadState* __tstate = wxPyBeginAllowThreads();
19651 result = (bool)(arg1)->ScrollList(arg2,arg3);
19652
19653 wxPyEndAllowThreads(__tstate);
19654 if (PyErr_Occurred()) SWIG_fail;
19655 }
19656 resultobj = PyInt_FromLong((long)result);
19657 return resultobj;
19658 fail:
19659 return NULL;
19660 }
19661
19662
19663 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19664 PyObject *resultobj;
19665 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19666 long arg2 ;
19667 wxColour *arg3 = 0 ;
19668 wxColour temp3 ;
19669 PyObject * obj0 = 0 ;
19670 PyObject * obj2 = 0 ;
19671 char *kwnames[] = {
19672 (char *) "self",(char *) "item",(char *) "col", NULL
19673 };
19674
19675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19677 {
19678 arg3 = &temp3;
19679 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19680 }
19681 {
19682 PyThreadState* __tstate = wxPyBeginAllowThreads();
19683 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19684
19685 wxPyEndAllowThreads(__tstate);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 }
19688 Py_INCREF(Py_None); resultobj = Py_None;
19689 return resultobj;
19690 fail:
19691 return NULL;
19692 }
19693
19694
19695 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19696 PyObject *resultobj;
19697 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19698 long arg2 ;
19699 wxColour result;
19700 PyObject * obj0 = 0 ;
19701 char *kwnames[] = {
19702 (char *) "self",(char *) "item", NULL
19703 };
19704
19705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 {
19715 wxColour * resultptr;
19716 resultptr = new wxColour((wxColour &) result);
19717 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19718 }
19719 return resultobj;
19720 fail:
19721 return NULL;
19722 }
19723
19724
19725 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19726 PyObject *resultobj;
19727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19728 long arg2 ;
19729 wxColour *arg3 = 0 ;
19730 wxColour temp3 ;
19731 PyObject * obj0 = 0 ;
19732 PyObject * obj2 = 0 ;
19733 char *kwnames[] = {
19734 (char *) "self",(char *) "item",(char *) "col", NULL
19735 };
19736
19737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19739 {
19740 arg3 = &temp3;
19741 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19742 }
19743 {
19744 PyThreadState* __tstate = wxPyBeginAllowThreads();
19745 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19746
19747 wxPyEndAllowThreads(__tstate);
19748 if (PyErr_Occurred()) SWIG_fail;
19749 }
19750 Py_INCREF(Py_None); resultobj = Py_None;
19751 return resultobj;
19752 fail:
19753 return NULL;
19754 }
19755
19756
19757 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19758 PyObject *resultobj;
19759 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19760 long arg2 ;
19761 wxColour result;
19762 PyObject * obj0 = 0 ;
19763 char *kwnames[] = {
19764 (char *) "self",(char *) "item", NULL
19765 };
19766
19767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19769 {
19770 PyThreadState* __tstate = wxPyBeginAllowThreads();
19771 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19772
19773 wxPyEndAllowThreads(__tstate);
19774 if (PyErr_Occurred()) SWIG_fail;
19775 }
19776 {
19777 wxColour * resultptr;
19778 resultptr = new wxColour((wxColour &) result);
19779 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19780 }
19781 return resultobj;
19782 fail:
19783 return NULL;
19784 }
19785
19786
19787 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19788 PyObject *resultobj;
19789 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19790 PyObject *arg2 = (PyObject *) 0 ;
19791 bool result;
19792 PyObject * obj0 = 0 ;
19793 PyObject * obj1 = 0 ;
19794 char *kwnames[] = {
19795 (char *) "self",(char *) "func", NULL
19796 };
19797
19798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19800 arg2 = obj1;
19801 {
19802 PyThreadState* __tstate = wxPyBeginAllowThreads();
19803 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19804
19805 wxPyEndAllowThreads(__tstate);
19806 if (PyErr_Occurred()) SWIG_fail;
19807 }
19808 resultobj = PyInt_FromLong((long)result);
19809 return resultobj;
19810 fail:
19811 return NULL;
19812 }
19813
19814
19815 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19816 PyObject *resultobj;
19817 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19818 wxWindow *result;
19819 PyObject * obj0 = 0 ;
19820 char *kwnames[] = {
19821 (char *) "self", NULL
19822 };
19823
19824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19826 {
19827 PyThreadState* __tstate = wxPyBeginAllowThreads();
19828 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19829
19830 wxPyEndAllowThreads(__tstate);
19831 if (PyErr_Occurred()) SWIG_fail;
19832 }
19833 {
19834 resultobj = wxPyMake_wxObject(result);
19835 }
19836 return resultobj;
19837 fail:
19838 return NULL;
19839 }
19840
19841
19842 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19843 PyObject *obj;
19844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19845 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19846 Py_INCREF(obj);
19847 return Py_BuildValue((char *)"");
19848 }
19849 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19850 PyObject *resultobj;
19851 wxWindow *arg1 = (wxWindow *) 0 ;
19852 int arg2 = (int) -1 ;
19853 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19854 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19855 wxSize const &arg4_defvalue = wxDefaultSize ;
19856 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19857 long arg5 = (long) wxLC_REPORT ;
19858 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19859 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19860 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19861 wxString *arg7 = (wxString *) &arg7_defvalue ;
19862 wxListView *result;
19863 wxPoint temp3 ;
19864 wxSize temp4 ;
19865 bool temp7 = False ;
19866 PyObject * obj0 = 0 ;
19867 PyObject * obj2 = 0 ;
19868 PyObject * obj3 = 0 ;
19869 PyObject * obj5 = 0 ;
19870 PyObject * obj6 = 0 ;
19871 char *kwnames[] = {
19872 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19873 };
19874
19875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19877 if (obj2) {
19878 {
19879 arg3 = &temp3;
19880 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19881 }
19882 }
19883 if (obj3) {
19884 {
19885 arg4 = &temp4;
19886 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19887 }
19888 }
19889 if (obj5) {
19890 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19891 if (arg6 == NULL) {
19892 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19893 }
19894 }
19895 if (obj6) {
19896 {
19897 arg7 = wxString_in_helper(obj6);
19898 if (arg7 == NULL) SWIG_fail;
19899 temp7 = True;
19900 }
19901 }
19902 {
19903 PyThreadState* __tstate = wxPyBeginAllowThreads();
19904 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19905
19906 wxPyEndAllowThreads(__tstate);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 }
19909 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19910 {
19911 if (temp7)
19912 delete arg7;
19913 }
19914 return resultobj;
19915 fail:
19916 {
19917 if (temp7)
19918 delete arg7;
19919 }
19920 return NULL;
19921 }
19922
19923
19924 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19925 PyObject *resultobj;
19926 wxListView *result;
19927 char *kwnames[] = {
19928 NULL
19929 };
19930
19931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 result = (wxListView *)new wxListView();
19935
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19940 return resultobj;
19941 fail:
19942 return NULL;
19943 }
19944
19945
19946 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19947 PyObject *resultobj;
19948 wxListView *arg1 = (wxListView *) 0 ;
19949 wxWindow *arg2 = (wxWindow *) 0 ;
19950 int arg3 = (int) -1 ;
19951 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19952 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19953 wxSize const &arg5_defvalue = wxDefaultSize ;
19954 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19955 long arg6 = (long) wxLC_REPORT ;
19956 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19957 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19958 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19959 wxString *arg8 = (wxString *) &arg8_defvalue ;
19960 bool result;
19961 wxPoint temp4 ;
19962 wxSize temp5 ;
19963 bool temp8 = False ;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966 PyObject * obj3 = 0 ;
19967 PyObject * obj4 = 0 ;
19968 PyObject * obj6 = 0 ;
19969 PyObject * obj7 = 0 ;
19970 char *kwnames[] = {
19971 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19972 };
19973
19974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19976 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19977 if (obj3) {
19978 {
19979 arg4 = &temp4;
19980 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19981 }
19982 }
19983 if (obj4) {
19984 {
19985 arg5 = &temp5;
19986 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19987 }
19988 }
19989 if (obj6) {
19990 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19991 if (arg7 == NULL) {
19992 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19993 }
19994 }
19995 if (obj7) {
19996 {
19997 arg8 = wxString_in_helper(obj7);
19998 if (arg8 == NULL) SWIG_fail;
19999 temp8 = True;
20000 }
20001 }
20002 {
20003 PyThreadState* __tstate = wxPyBeginAllowThreads();
20004 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20005
20006 wxPyEndAllowThreads(__tstate);
20007 if (PyErr_Occurred()) SWIG_fail;
20008 }
20009 resultobj = PyInt_FromLong((long)result);
20010 {
20011 if (temp8)
20012 delete arg8;
20013 }
20014 return resultobj;
20015 fail:
20016 {
20017 if (temp8)
20018 delete arg8;
20019 }
20020 return NULL;
20021 }
20022
20023
20024 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
20025 PyObject *resultobj;
20026 wxListView *arg1 = (wxListView *) 0 ;
20027 long arg2 ;
20028 bool arg3 = (bool) True ;
20029 PyObject * obj0 = 0 ;
20030 PyObject * obj2 = 0 ;
20031 char *kwnames[] = {
20032 (char *) "self",(char *) "n",(char *) "on", NULL
20033 };
20034
20035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
20036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20037 if (obj2) {
20038 {
20039 arg3 = (bool) SPyObj_AsBool(obj2);
20040 if (PyErr_Occurred()) SWIG_fail;
20041 }
20042 }
20043 {
20044 PyThreadState* __tstate = wxPyBeginAllowThreads();
20045 (arg1)->Select(arg2,arg3);
20046
20047 wxPyEndAllowThreads(__tstate);
20048 if (PyErr_Occurred()) SWIG_fail;
20049 }
20050 Py_INCREF(Py_None); resultobj = Py_None;
20051 return resultobj;
20052 fail:
20053 return NULL;
20054 }
20055
20056
20057 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
20058 PyObject *resultobj;
20059 wxListView *arg1 = (wxListView *) 0 ;
20060 long arg2 ;
20061 PyObject * obj0 = 0 ;
20062 char *kwnames[] = {
20063 (char *) "self",(char *) "index", NULL
20064 };
20065
20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
20067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 (arg1)->Focus(arg2);
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 Py_INCREF(Py_None); resultobj = Py_None;
20076 return resultobj;
20077 fail:
20078 return NULL;
20079 }
20080
20081
20082 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20083 PyObject *resultobj;
20084 wxListView *arg1 = (wxListView *) 0 ;
20085 long result;
20086 PyObject * obj0 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20093 {
20094 PyThreadState* __tstate = wxPyBeginAllowThreads();
20095 result = (long)((wxListView const *)arg1)->GetFocusedItem();
20096
20097 wxPyEndAllowThreads(__tstate);
20098 if (PyErr_Occurred()) SWIG_fail;
20099 }
20100 resultobj = PyInt_FromLong((long)result);
20101 return resultobj;
20102 fail:
20103 return NULL;
20104 }
20105
20106
20107 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20108 PyObject *resultobj;
20109 wxListView *arg1 = (wxListView *) 0 ;
20110 long arg2 ;
20111 long result;
20112 PyObject * obj0 = 0 ;
20113 char *kwnames[] = {
20114 (char *) "self",(char *) "item", NULL
20115 };
20116
20117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
20118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20119 {
20120 PyThreadState* __tstate = wxPyBeginAllowThreads();
20121 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
20122
20123 wxPyEndAllowThreads(__tstate);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 }
20126 resultobj = PyInt_FromLong((long)result);
20127 return resultobj;
20128 fail:
20129 return NULL;
20130 }
20131
20132
20133 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20134 PyObject *resultobj;
20135 wxListView *arg1 = (wxListView *) 0 ;
20136 long result;
20137 PyObject * obj0 = 0 ;
20138 char *kwnames[] = {
20139 (char *) "self", NULL
20140 };
20141
20142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
20143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20144 {
20145 PyThreadState* __tstate = wxPyBeginAllowThreads();
20146 result = (long)((wxListView const *)arg1)->GetFirstSelected();
20147
20148 wxPyEndAllowThreads(__tstate);
20149 if (PyErr_Occurred()) SWIG_fail;
20150 }
20151 resultobj = PyInt_FromLong((long)result);
20152 return resultobj;
20153 fail:
20154 return NULL;
20155 }
20156
20157
20158 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20159 PyObject *resultobj;
20160 wxListView *arg1 = (wxListView *) 0 ;
20161 long arg2 ;
20162 bool result;
20163 PyObject * obj0 = 0 ;
20164 char *kwnames[] = {
20165 (char *) "self",(char *) "index", NULL
20166 };
20167
20168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
20169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20170 {
20171 PyThreadState* __tstate = wxPyBeginAllowThreads();
20172 result = (bool)(arg1)->IsSelected(arg2);
20173
20174 wxPyEndAllowThreads(__tstate);
20175 if (PyErr_Occurred()) SWIG_fail;
20176 }
20177 resultobj = PyInt_FromLong((long)result);
20178 return resultobj;
20179 fail:
20180 return NULL;
20181 }
20182
20183
20184 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20185 PyObject *resultobj;
20186 wxListView *arg1 = (wxListView *) 0 ;
20187 int arg2 ;
20188 int arg3 ;
20189 PyObject * obj0 = 0 ;
20190 char *kwnames[] = {
20191 (char *) "self",(char *) "col",(char *) "image", NULL
20192 };
20193
20194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
20195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20196 {
20197 PyThreadState* __tstate = wxPyBeginAllowThreads();
20198 (arg1)->SetColumnImage(arg2,arg3);
20199
20200 wxPyEndAllowThreads(__tstate);
20201 if (PyErr_Occurred()) SWIG_fail;
20202 }
20203 Py_INCREF(Py_None); resultobj = Py_None;
20204 return resultobj;
20205 fail:
20206 return NULL;
20207 }
20208
20209
20210 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20211 PyObject *resultobj;
20212 wxListView *arg1 = (wxListView *) 0 ;
20213 int arg2 ;
20214 PyObject * obj0 = 0 ;
20215 char *kwnames[] = {
20216 (char *) "self",(char *) "col", NULL
20217 };
20218
20219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
20220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20221 {
20222 PyThreadState* __tstate = wxPyBeginAllowThreads();
20223 (arg1)->ClearColumnImage(arg2);
20224
20225 wxPyEndAllowThreads(__tstate);
20226 if (PyErr_Occurred()) SWIG_fail;
20227 }
20228 Py_INCREF(Py_None); resultobj = Py_None;
20229 return resultobj;
20230 fail:
20231 return NULL;
20232 }
20233
20234
20235 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
20236 PyObject *obj;
20237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20238 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
20239 Py_INCREF(obj);
20240 return Py_BuildValue((char *)"");
20241 }
20242 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
20243 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
20244 return 1;
20245 }
20246
20247
20248 static PyObject *_wrap_TreeCtrlNameStr_get() {
20249 PyObject *pyobj;
20250
20251 {
20252 #if wxUSE_UNICODE
20253 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20254 #else
20255 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20256 #endif
20257 }
20258 return pyobj;
20259 }
20260
20261
20262 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20263 PyObject *resultobj;
20264 wxTreeItemId *result;
20265 char *kwnames[] = {
20266 NULL
20267 };
20268
20269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
20270 {
20271 PyThreadState* __tstate = wxPyBeginAllowThreads();
20272 result = (wxTreeItemId *)new wxTreeItemId();
20273
20274 wxPyEndAllowThreads(__tstate);
20275 if (PyErr_Occurred()) SWIG_fail;
20276 }
20277 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
20278 return resultobj;
20279 fail:
20280 return NULL;
20281 }
20282
20283
20284 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20285 PyObject *resultobj;
20286 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20287 PyObject * obj0 = 0 ;
20288 char *kwnames[] = {
20289 (char *) "self", NULL
20290 };
20291
20292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
20293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20294 {
20295 PyThreadState* __tstate = wxPyBeginAllowThreads();
20296 delete arg1;
20297
20298 wxPyEndAllowThreads(__tstate);
20299 if (PyErr_Occurred()) SWIG_fail;
20300 }
20301 Py_INCREF(Py_None); resultobj = Py_None;
20302 return resultobj;
20303 fail:
20304 return NULL;
20305 }
20306
20307
20308 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20309 PyObject *resultobj;
20310 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20311 bool result;
20312 PyObject * obj0 = 0 ;
20313 char *kwnames[] = {
20314 (char *) "self", NULL
20315 };
20316
20317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
20318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20319 {
20320 PyThreadState* __tstate = wxPyBeginAllowThreads();
20321 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
20322
20323 wxPyEndAllowThreads(__tstate);
20324 if (PyErr_Occurred()) SWIG_fail;
20325 }
20326 resultobj = PyInt_FromLong((long)result);
20327 return resultobj;
20328 fail:
20329 return NULL;
20330 }
20331
20332
20333 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20334 PyObject *resultobj;
20335 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20336 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20337 bool result;
20338 PyObject * obj0 = 0 ;
20339 PyObject * obj1 = 0 ;
20340 char *kwnames[] = {
20341 (char *) "self",(char *) "other", NULL
20342 };
20343
20344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
20345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20347 {
20348 PyThreadState* __tstate = wxPyBeginAllowThreads();
20349 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
20350
20351 wxPyEndAllowThreads(__tstate);
20352 if (PyErr_Occurred()) SWIG_fail;
20353 }
20354 resultobj = PyInt_FromLong((long)result);
20355 return resultobj;
20356 fail:
20357 return NULL;
20358 }
20359
20360
20361 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20362 PyObject *resultobj;
20363 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20364 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20365 bool result;
20366 PyObject * obj0 = 0 ;
20367 PyObject * obj1 = 0 ;
20368 char *kwnames[] = {
20369 (char *) "self",(char *) "other", NULL
20370 };
20371
20372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
20373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20374 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20375 {
20376 PyThreadState* __tstate = wxPyBeginAllowThreads();
20377 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
20378
20379 wxPyEndAllowThreads(__tstate);
20380 if (PyErr_Occurred()) SWIG_fail;
20381 }
20382 resultobj = PyInt_FromLong((long)result);
20383 return resultobj;
20384 fail:
20385 return NULL;
20386 }
20387
20388
20389 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20390 PyObject *resultobj;
20391 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20392 void *arg2 = (void *) 0 ;
20393 PyObject * obj0 = 0 ;
20394 PyObject * obj1 = 0 ;
20395 char *kwnames[] = {
20396 (char *) "self",(char *) "m_pItem", NULL
20397 };
20398
20399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
20400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20401 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20402 if (arg1) (arg1)->m_pItem = arg2;
20403
20404 Py_INCREF(Py_None); resultobj = Py_None;
20405 return resultobj;
20406 fail:
20407 return NULL;
20408 }
20409
20410
20411 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj;
20413 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20414 void *result;
20415 PyObject * obj0 = 0 ;
20416 char *kwnames[] = {
20417 (char *) "self", NULL
20418 };
20419
20420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20422 result = (void *) ((arg1)->m_pItem);
20423
20424 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_void, 0);
20425 return resultobj;
20426 fail:
20427 return NULL;
20428 }
20429
20430
20431 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20432 PyObject *obj;
20433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20434 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20435 Py_INCREF(obj);
20436 return Py_BuildValue((char *)"");
20437 }
20438 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20439 PyObject *resultobj;
20440 PyObject *arg1 = (PyObject *) NULL ;
20441 wxPyTreeItemData *result;
20442 PyObject * obj0 = 0 ;
20443 char *kwnames[] = {
20444 (char *) "obj", NULL
20445 };
20446
20447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20448 if (obj0) {
20449 arg1 = obj0;
20450 }
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20454
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
20458 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20459 return resultobj;
20460 fail:
20461 return NULL;
20462 }
20463
20464
20465 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20466 PyObject *resultobj;
20467 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20468 PyObject *result;
20469 PyObject * obj0 = 0 ;
20470 char *kwnames[] = {
20471 (char *) "self", NULL
20472 };
20473
20474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20476 {
20477 PyThreadState* __tstate = wxPyBeginAllowThreads();
20478 result = (PyObject *)(arg1)->GetData();
20479
20480 wxPyEndAllowThreads(__tstate);
20481 if (PyErr_Occurred()) SWIG_fail;
20482 }
20483 resultobj = result;
20484 return resultobj;
20485 fail:
20486 return NULL;
20487 }
20488
20489
20490 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20491 PyObject *resultobj;
20492 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20493 PyObject *arg2 = (PyObject *) 0 ;
20494 PyObject * obj0 = 0 ;
20495 PyObject * obj1 = 0 ;
20496 char *kwnames[] = {
20497 (char *) "self",(char *) "obj", NULL
20498 };
20499
20500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20502 arg2 = obj1;
20503 {
20504 PyThreadState* __tstate = wxPyBeginAllowThreads();
20505 (arg1)->SetData(arg2);
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 Py_INCREF(Py_None); resultobj = Py_None;
20511 return resultobj;
20512 fail:
20513 return NULL;
20514 }
20515
20516
20517 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20520 wxTreeItemId *result;
20521 PyObject * obj0 = 0 ;
20522 char *kwnames[] = {
20523 (char *) "self", NULL
20524 };
20525
20526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20528 {
20529 PyThreadState* __tstate = wxPyBeginAllowThreads();
20530 {
20531 wxTreeItemId const &_result_ref = (arg1)->GetId();
20532 result = (wxTreeItemId *) &_result_ref;
20533 }
20534
20535 wxPyEndAllowThreads(__tstate);
20536 if (PyErr_Occurred()) SWIG_fail;
20537 }
20538 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20539 return resultobj;
20540 fail:
20541 return NULL;
20542 }
20543
20544
20545 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20546 PyObject *resultobj;
20547 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20548 wxTreeItemId *arg2 = 0 ;
20549 PyObject * obj0 = 0 ;
20550 PyObject * obj1 = 0 ;
20551 char *kwnames[] = {
20552 (char *) "self",(char *) "id", NULL
20553 };
20554
20555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20558 if (arg2 == NULL) {
20559 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20560 }
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 (arg1)->SetId((wxTreeItemId const &)*arg2);
20564
20565 wxPyEndAllowThreads(__tstate);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
20568 Py_INCREF(Py_None); resultobj = Py_None;
20569 return resultobj;
20570 fail:
20571 return NULL;
20572 }
20573
20574
20575 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20576 PyObject *resultobj;
20577 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20578 PyObject * obj0 = 0 ;
20579 char *kwnames[] = {
20580 (char *) "self", NULL
20581 };
20582
20583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20585 {
20586 PyThreadState* __tstate = wxPyBeginAllowThreads();
20587 wxPyTreeItemData_Destroy(arg1);
20588
20589 wxPyEndAllowThreads(__tstate);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 }
20592 Py_INCREF(Py_None); resultobj = Py_None;
20593 return resultobj;
20594 fail:
20595 return NULL;
20596 }
20597
20598
20599 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20600 PyObject *obj;
20601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20602 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20603 Py_INCREF(obj);
20604 return Py_BuildValue((char *)"");
20605 }
20606 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20607 PyObject *resultobj;
20608 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20609 int arg2 = (int) 0 ;
20610 wxTreeEvent *result;
20611 char *kwnames[] = {
20612 (char *) "commandType",(char *) "id", NULL
20613 };
20614
20615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20616 {
20617 PyThreadState* __tstate = wxPyBeginAllowThreads();
20618 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20619
20620 wxPyEndAllowThreads(__tstate);
20621 if (PyErr_Occurred()) SWIG_fail;
20622 }
20623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20624 return resultobj;
20625 fail:
20626 return NULL;
20627 }
20628
20629
20630 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20631 PyObject *resultobj;
20632 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20633 wxTreeItemId result;
20634 PyObject * obj0 = 0 ;
20635 char *kwnames[] = {
20636 (char *) "self", NULL
20637 };
20638
20639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20641 {
20642 PyThreadState* __tstate = wxPyBeginAllowThreads();
20643 result = ((wxTreeEvent const *)arg1)->GetItem();
20644
20645 wxPyEndAllowThreads(__tstate);
20646 if (PyErr_Occurred()) SWIG_fail;
20647 }
20648 {
20649 wxTreeItemId * resultptr;
20650 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20651 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20652 }
20653 return resultobj;
20654 fail:
20655 return NULL;
20656 }
20657
20658
20659 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20660 PyObject *resultobj;
20661 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20662 wxTreeItemId *arg2 = 0 ;
20663 PyObject * obj0 = 0 ;
20664 PyObject * obj1 = 0 ;
20665 char *kwnames[] = {
20666 (char *) "self",(char *) "item", NULL
20667 };
20668
20669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20671 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20672 if (arg2 == NULL) {
20673 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20674 }
20675 {
20676 PyThreadState* __tstate = wxPyBeginAllowThreads();
20677 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20678
20679 wxPyEndAllowThreads(__tstate);
20680 if (PyErr_Occurred()) SWIG_fail;
20681 }
20682 Py_INCREF(Py_None); resultobj = Py_None;
20683 return resultobj;
20684 fail:
20685 return NULL;
20686 }
20687
20688
20689 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20690 PyObject *resultobj;
20691 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20692 wxTreeItemId result;
20693 PyObject * obj0 = 0 ;
20694 char *kwnames[] = {
20695 (char *) "self", NULL
20696 };
20697
20698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20700 {
20701 PyThreadState* __tstate = wxPyBeginAllowThreads();
20702 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20703
20704 wxPyEndAllowThreads(__tstate);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 }
20707 {
20708 wxTreeItemId * resultptr;
20709 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20710 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20711 }
20712 return resultobj;
20713 fail:
20714 return NULL;
20715 }
20716
20717
20718 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20719 PyObject *resultobj;
20720 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20721 wxTreeItemId *arg2 = 0 ;
20722 PyObject * obj0 = 0 ;
20723 PyObject * obj1 = 0 ;
20724 char *kwnames[] = {
20725 (char *) "self",(char *) "item", NULL
20726 };
20727
20728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20730 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20731 if (arg2 == NULL) {
20732 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20733 }
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 Py_INCREF(Py_None); resultobj = Py_None;
20742 return resultobj;
20743 fail:
20744 return NULL;
20745 }
20746
20747
20748 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20749 PyObject *resultobj;
20750 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20751 wxPoint result;
20752 PyObject * obj0 = 0 ;
20753 char *kwnames[] = {
20754 (char *) "self", NULL
20755 };
20756
20757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20759 {
20760 PyThreadState* __tstate = wxPyBeginAllowThreads();
20761 result = ((wxTreeEvent const *)arg1)->GetPoint();
20762
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 {
20767 wxPoint * resultptr;
20768 resultptr = new wxPoint((wxPoint &) result);
20769 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20770 }
20771 return resultobj;
20772 fail:
20773 return NULL;
20774 }
20775
20776
20777 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20778 PyObject *resultobj;
20779 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20780 wxPoint *arg2 = 0 ;
20781 wxPoint temp2 ;
20782 PyObject * obj0 = 0 ;
20783 PyObject * obj1 = 0 ;
20784 char *kwnames[] = {
20785 (char *) "self",(char *) "pt", NULL
20786 };
20787
20788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20790 {
20791 arg2 = &temp2;
20792 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20793 }
20794 {
20795 PyThreadState* __tstate = wxPyBeginAllowThreads();
20796 (arg1)->SetPoint((wxPoint const &)*arg2);
20797
20798 wxPyEndAllowThreads(__tstate);
20799 if (PyErr_Occurred()) SWIG_fail;
20800 }
20801 Py_INCREF(Py_None); resultobj = Py_None;
20802 return resultobj;
20803 fail:
20804 return NULL;
20805 }
20806
20807
20808 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20809 PyObject *resultobj;
20810 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20811 wxKeyEvent *result;
20812 PyObject * obj0 = 0 ;
20813 char *kwnames[] = {
20814 (char *) "self", NULL
20815 };
20816
20817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20819 {
20820 PyThreadState* __tstate = wxPyBeginAllowThreads();
20821 {
20822 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20823 result = (wxKeyEvent *) &_result_ref;
20824 }
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20830 return resultobj;
20831 fail:
20832 return NULL;
20833 }
20834
20835
20836 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj;
20838 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20839 int result;
20840 PyObject * obj0 = 0 ;
20841 char *kwnames[] = {
20842 (char *) "self", NULL
20843 };
20844
20845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20850
20851 wxPyEndAllowThreads(__tstate);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 }
20854 resultobj = PyInt_FromLong((long)result);
20855 return resultobj;
20856 fail:
20857 return NULL;
20858 }
20859
20860
20861 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20862 PyObject *resultobj;
20863 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20864 wxKeyEvent *arg2 = 0 ;
20865 PyObject * obj0 = 0 ;
20866 PyObject * obj1 = 0 ;
20867 char *kwnames[] = {
20868 (char *) "self",(char *) "evt", NULL
20869 };
20870
20871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20874 if (arg2 == NULL) {
20875 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20876 }
20877 {
20878 PyThreadState* __tstate = wxPyBeginAllowThreads();
20879 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20880
20881 wxPyEndAllowThreads(__tstate);
20882 if (PyErr_Occurred()) SWIG_fail;
20883 }
20884 Py_INCREF(Py_None); resultobj = Py_None;
20885 return resultobj;
20886 fail:
20887 return NULL;
20888 }
20889
20890
20891 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20892 PyObject *resultobj;
20893 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20894 wxString *result;
20895 PyObject * obj0 = 0 ;
20896 char *kwnames[] = {
20897 (char *) "self", NULL
20898 };
20899
20900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20902 {
20903 PyThreadState* __tstate = wxPyBeginAllowThreads();
20904 {
20905 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20906 result = (wxString *) &_result_ref;
20907 }
20908
20909 wxPyEndAllowThreads(__tstate);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 }
20912 {
20913 #if wxUSE_UNICODE
20914 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20915 #else
20916 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20917 #endif
20918 }
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20928 wxString *arg2 = 0 ;
20929 bool temp2 = False ;
20930 PyObject * obj0 = 0 ;
20931 PyObject * obj1 = 0 ;
20932 char *kwnames[] = {
20933 (char *) "self",(char *) "label", NULL
20934 };
20935
20936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20938 {
20939 arg2 = wxString_in_helper(obj1);
20940 if (arg2 == NULL) SWIG_fail;
20941 temp2 = True;
20942 }
20943 {
20944 PyThreadState* __tstate = wxPyBeginAllowThreads();
20945 (arg1)->SetLabel((wxString const &)*arg2);
20946
20947 wxPyEndAllowThreads(__tstate);
20948 if (PyErr_Occurred()) SWIG_fail;
20949 }
20950 Py_INCREF(Py_None); resultobj = Py_None;
20951 {
20952 if (temp2)
20953 delete arg2;
20954 }
20955 return resultobj;
20956 fail:
20957 {
20958 if (temp2)
20959 delete arg2;
20960 }
20961 return NULL;
20962 }
20963
20964
20965 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20966 PyObject *resultobj;
20967 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20968 bool result;
20969 PyObject * obj0 = 0 ;
20970 char *kwnames[] = {
20971 (char *) "self", NULL
20972 };
20973
20974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20976 {
20977 PyThreadState* __tstate = wxPyBeginAllowThreads();
20978 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20979
20980 wxPyEndAllowThreads(__tstate);
20981 if (PyErr_Occurred()) SWIG_fail;
20982 }
20983 resultobj = PyInt_FromLong((long)result);
20984 return resultobj;
20985 fail:
20986 return NULL;
20987 }
20988
20989
20990 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20991 PyObject *resultobj;
20992 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20993 bool arg2 ;
20994 PyObject * obj0 = 0 ;
20995 PyObject * obj1 = 0 ;
20996 char *kwnames[] = {
20997 (char *) "self",(char *) "editCancelled", NULL
20998 };
20999
21000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21002 {
21003 arg2 = (bool) SPyObj_AsBool(obj1);
21004 if (PyErr_Occurred()) SWIG_fail;
21005 }
21006 {
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 (arg1)->SetEditCanceled(arg2);
21009
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
21013 Py_INCREF(Py_None); resultobj = Py_None;
21014 return resultobj;
21015 fail:
21016 return NULL;
21017 }
21018
21019
21020 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
21021 PyObject *resultobj;
21022 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21023 wxString *arg2 = 0 ;
21024 bool temp2 = False ;
21025 PyObject * obj0 = 0 ;
21026 PyObject * obj1 = 0 ;
21027 char *kwnames[] = {
21028 (char *) "self",(char *) "toolTip", NULL
21029 };
21030
21031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
21032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21033 {
21034 arg2 = wxString_in_helper(obj1);
21035 if (arg2 == NULL) SWIG_fail;
21036 temp2 = True;
21037 }
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 (arg1)->SetToolTip((wxString const &)*arg2);
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 Py_INCREF(Py_None); resultobj = Py_None;
21046 {
21047 if (temp2)
21048 delete arg2;
21049 }
21050 return resultobj;
21051 fail:
21052 {
21053 if (temp2)
21054 delete arg2;
21055 }
21056 return NULL;
21057 }
21058
21059
21060 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
21061 PyObject *obj;
21062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21063 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
21064 Py_INCREF(obj);
21065 return Py_BuildValue((char *)"");
21066 }
21067 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21068 PyObject *resultobj;
21069 wxWindow *arg1 = (wxWindow *) 0 ;
21070 int arg2 = (int) -1 ;
21071 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21072 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21073 wxSize const &arg4_defvalue = wxDefaultSize ;
21074 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21075 long arg5 = (long) wxTR_DEFAULT_STYLE ;
21076 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21077 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21078 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
21079 wxString *arg7 = (wxString *) &arg7_defvalue ;
21080 wxPyTreeCtrl *result;
21081 wxPoint temp3 ;
21082 wxSize temp4 ;
21083 bool temp7 = False ;
21084 PyObject * obj0 = 0 ;
21085 PyObject * obj2 = 0 ;
21086 PyObject * obj3 = 0 ;
21087 PyObject * obj5 = 0 ;
21088 PyObject * obj6 = 0 ;
21089 char *kwnames[] = {
21090 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21091 };
21092
21093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
21094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21095 if (obj2) {
21096 {
21097 arg3 = &temp3;
21098 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21099 }
21100 }
21101 if (obj3) {
21102 {
21103 arg4 = &temp4;
21104 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21105 }
21106 }
21107 if (obj5) {
21108 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21109 if (arg6 == NULL) {
21110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21111 }
21112 }
21113 if (obj6) {
21114 {
21115 arg7 = wxString_in_helper(obj6);
21116 if (arg7 == NULL) SWIG_fail;
21117 temp7 = True;
21118 }
21119 }
21120 {
21121 PyThreadState* __tstate = wxPyBeginAllowThreads();
21122 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21123
21124 wxPyEndAllowThreads(__tstate);
21125 if (PyErr_Occurred()) SWIG_fail;
21126 }
21127 {
21128 resultobj = wxPyMake_wxObject(result);
21129 }
21130 {
21131 if (temp7)
21132 delete arg7;
21133 }
21134 return resultobj;
21135 fail:
21136 {
21137 if (temp7)
21138 delete arg7;
21139 }
21140 return NULL;
21141 }
21142
21143
21144 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21145 PyObject *resultobj;
21146 wxPyTreeCtrl *result;
21147 char *kwnames[] = {
21148 NULL
21149 };
21150
21151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
21152 {
21153 PyThreadState* __tstate = wxPyBeginAllowThreads();
21154 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
21155
21156 wxPyEndAllowThreads(__tstate);
21157 if (PyErr_Occurred()) SWIG_fail;
21158 }
21159 {
21160 resultobj = wxPyMake_wxObject(result);
21161 }
21162 return resultobj;
21163 fail:
21164 return NULL;
21165 }
21166
21167
21168 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21169 PyObject *resultobj;
21170 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21171 wxWindow *arg2 = (wxWindow *) 0 ;
21172 int arg3 = (int) -1 ;
21173 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21174 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21175 wxSize const &arg5_defvalue = wxDefaultSize ;
21176 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21177 long arg6 = (long) wxTR_DEFAULT_STYLE ;
21178 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21179 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21180 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
21181 wxString *arg8 = (wxString *) &arg8_defvalue ;
21182 bool result;
21183 wxPoint temp4 ;
21184 wxSize temp5 ;
21185 bool temp8 = False ;
21186 PyObject * obj0 = 0 ;
21187 PyObject * obj1 = 0 ;
21188 PyObject * obj3 = 0 ;
21189 PyObject * obj4 = 0 ;
21190 PyObject * obj6 = 0 ;
21191 PyObject * obj7 = 0 ;
21192 char *kwnames[] = {
21193 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21194 };
21195
21196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
21197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21198 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21199 if (obj3) {
21200 {
21201 arg4 = &temp4;
21202 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21203 }
21204 }
21205 if (obj4) {
21206 {
21207 arg5 = &temp5;
21208 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21209 }
21210 }
21211 if (obj6) {
21212 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21213 if (arg7 == NULL) {
21214 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21215 }
21216 }
21217 if (obj7) {
21218 {
21219 arg8 = wxString_in_helper(obj7);
21220 if (arg8 == NULL) SWIG_fail;
21221 temp8 = True;
21222 }
21223 }
21224 {
21225 PyThreadState* __tstate = wxPyBeginAllowThreads();
21226 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21227
21228 wxPyEndAllowThreads(__tstate);
21229 if (PyErr_Occurred()) SWIG_fail;
21230 }
21231 resultobj = PyInt_FromLong((long)result);
21232 {
21233 if (temp8)
21234 delete arg8;
21235 }
21236 return resultobj;
21237 fail:
21238 {
21239 if (temp8)
21240 delete arg8;
21241 }
21242 return NULL;
21243 }
21244
21245
21246 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21247 PyObject *resultobj;
21248 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21249 PyObject *arg2 = (PyObject *) 0 ;
21250 PyObject *arg3 = (PyObject *) 0 ;
21251 PyObject * obj0 = 0 ;
21252 PyObject * obj1 = 0 ;
21253 PyObject * obj2 = 0 ;
21254 char *kwnames[] = {
21255 (char *) "self",(char *) "self",(char *) "_class", NULL
21256 };
21257
21258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21260 arg2 = obj1;
21261 arg3 = obj2;
21262 {
21263 PyThreadState* __tstate = wxPyBeginAllowThreads();
21264 (arg1)->_setCallbackInfo(arg2,arg3);
21265
21266 wxPyEndAllowThreads(__tstate);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 }
21269 Py_INCREF(Py_None); resultobj = Py_None;
21270 return resultobj;
21271 fail:
21272 return NULL;
21273 }
21274
21275
21276 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21277 PyObject *resultobj;
21278 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21279 size_t result;
21280 PyObject * obj0 = 0 ;
21281 char *kwnames[] = {
21282 (char *) "self", NULL
21283 };
21284
21285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
21286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21287 {
21288 PyThreadState* __tstate = wxPyBeginAllowThreads();
21289 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
21290
21291 wxPyEndAllowThreads(__tstate);
21292 if (PyErr_Occurred()) SWIG_fail;
21293 }
21294 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21295 return resultobj;
21296 fail:
21297 return NULL;
21298 }
21299
21300
21301 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21302 PyObject *resultobj;
21303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21304 unsigned int result;
21305 PyObject * obj0 = 0 ;
21306 char *kwnames[] = {
21307 (char *) "self", NULL
21308 };
21309
21310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
21311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21312 {
21313 PyThreadState* __tstate = wxPyBeginAllowThreads();
21314 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
21315
21316 wxPyEndAllowThreads(__tstate);
21317 if (PyErr_Occurred()) SWIG_fail;
21318 }
21319 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21320 return resultobj;
21321 fail:
21322 return NULL;
21323 }
21324
21325
21326 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21327 PyObject *resultobj;
21328 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21329 unsigned int arg2 ;
21330 PyObject * obj0 = 0 ;
21331 PyObject * obj1 = 0 ;
21332 char *kwnames[] = {
21333 (char *) "self",(char *) "indent", NULL
21334 };
21335
21336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
21337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21338 {
21339 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
21340 if (PyErr_Occurred()) SWIG_fail;
21341 }
21342 {
21343 PyThreadState* __tstate = wxPyBeginAllowThreads();
21344 (arg1)->SetIndent(arg2);
21345
21346 wxPyEndAllowThreads(__tstate);
21347 if (PyErr_Occurred()) SWIG_fail;
21348 }
21349 Py_INCREF(Py_None); resultobj = Py_None;
21350 return resultobj;
21351 fail:
21352 return NULL;
21353 }
21354
21355
21356 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21357 PyObject *resultobj;
21358 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21359 unsigned int result;
21360 PyObject * obj0 = 0 ;
21361 char *kwnames[] = {
21362 (char *) "self", NULL
21363 };
21364
21365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
21366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21367 {
21368 PyThreadState* __tstate = wxPyBeginAllowThreads();
21369 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
21370
21371 wxPyEndAllowThreads(__tstate);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 }
21374 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21375 return resultobj;
21376 fail:
21377 return NULL;
21378 }
21379
21380
21381 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21382 PyObject *resultobj;
21383 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21384 unsigned int arg2 ;
21385 PyObject * obj0 = 0 ;
21386 PyObject * obj1 = 0 ;
21387 char *kwnames[] = {
21388 (char *) "self",(char *) "spacing", NULL
21389 };
21390
21391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
21392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21393 {
21394 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 }
21397 {
21398 PyThreadState* __tstate = wxPyBeginAllowThreads();
21399 (arg1)->SetSpacing(arg2);
21400
21401 wxPyEndAllowThreads(__tstate);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 }
21404 Py_INCREF(Py_None); resultobj = Py_None;
21405 return resultobj;
21406 fail:
21407 return NULL;
21408 }
21409
21410
21411 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21412 PyObject *resultobj;
21413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21414 wxImageList *result;
21415 PyObject * obj0 = 0 ;
21416 char *kwnames[] = {
21417 (char *) "self", NULL
21418 };
21419
21420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21422 {
21423 PyThreadState* __tstate = wxPyBeginAllowThreads();
21424 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21425
21426 wxPyEndAllowThreads(__tstate);
21427 if (PyErr_Occurred()) SWIG_fail;
21428 }
21429 {
21430 resultobj = wxPyMake_wxObject(result);
21431 }
21432 return resultobj;
21433 fail:
21434 return NULL;
21435 }
21436
21437
21438 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21439 PyObject *resultobj;
21440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21441 wxImageList *result;
21442 PyObject * obj0 = 0 ;
21443 char *kwnames[] = {
21444 (char *) "self", NULL
21445 };
21446
21447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21449 {
21450 PyThreadState* __tstate = wxPyBeginAllowThreads();
21451 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21452
21453 wxPyEndAllowThreads(__tstate);
21454 if (PyErr_Occurred()) SWIG_fail;
21455 }
21456 {
21457 resultobj = wxPyMake_wxObject(result);
21458 }
21459 return resultobj;
21460 fail:
21461 return NULL;
21462 }
21463
21464
21465 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21466 PyObject *resultobj;
21467 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21468 wxImageList *arg2 = (wxImageList *) 0 ;
21469 PyObject * obj0 = 0 ;
21470 PyObject * obj1 = 0 ;
21471 char *kwnames[] = {
21472 (char *) "self",(char *) "imageList", NULL
21473 };
21474
21475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21477 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21478 {
21479 PyThreadState* __tstate = wxPyBeginAllowThreads();
21480 (arg1)->SetImageList(arg2);
21481
21482 wxPyEndAllowThreads(__tstate);
21483 if (PyErr_Occurred()) SWIG_fail;
21484 }
21485 Py_INCREF(Py_None); resultobj = Py_None;
21486 return resultobj;
21487 fail:
21488 return NULL;
21489 }
21490
21491
21492 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21493 PyObject *resultobj;
21494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21495 wxImageList *arg2 = (wxImageList *) 0 ;
21496 PyObject * obj0 = 0 ;
21497 PyObject * obj1 = 0 ;
21498 char *kwnames[] = {
21499 (char *) "self",(char *) "imageList", NULL
21500 };
21501
21502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21505 {
21506 PyThreadState* __tstate = wxPyBeginAllowThreads();
21507 (arg1)->SetStateImageList(arg2);
21508
21509 wxPyEndAllowThreads(__tstate);
21510 if (PyErr_Occurred()) SWIG_fail;
21511 }
21512 Py_INCREF(Py_None); resultobj = Py_None;
21513 return resultobj;
21514 fail:
21515 return NULL;
21516 }
21517
21518
21519 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21520 PyObject *resultobj;
21521 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21522 wxImageList *arg2 = (wxImageList *) 0 ;
21523 PyObject * obj0 = 0 ;
21524 PyObject * obj1 = 0 ;
21525 char *kwnames[] = {
21526 (char *) "self",(char *) "imageList", NULL
21527 };
21528
21529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21531 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
21532 {
21533 PyThreadState* __tstate = wxPyBeginAllowThreads();
21534 (arg1)->AssignImageList(arg2);
21535
21536 wxPyEndAllowThreads(__tstate);
21537 if (PyErr_Occurred()) SWIG_fail;
21538 }
21539 Py_INCREF(Py_None); resultobj = Py_None;
21540 return resultobj;
21541 fail:
21542 return NULL;
21543 }
21544
21545
21546 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21547 PyObject *resultobj;
21548 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21549 wxImageList *arg2 = (wxImageList *) 0 ;
21550 PyObject * obj0 = 0 ;
21551 PyObject * obj1 = 0 ;
21552 char *kwnames[] = {
21553 (char *) "self",(char *) "imageList", NULL
21554 };
21555
21556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
21559 {
21560 PyThreadState* __tstate = wxPyBeginAllowThreads();
21561 (arg1)->AssignStateImageList(arg2);
21562
21563 wxPyEndAllowThreads(__tstate);
21564 if (PyErr_Occurred()) SWIG_fail;
21565 }
21566 Py_INCREF(Py_None); resultobj = Py_None;
21567 return resultobj;
21568 fail:
21569 return NULL;
21570 }
21571
21572
21573 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj;
21575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21576 wxTreeItemId *arg2 = 0 ;
21577 wxString result;
21578 PyObject * obj0 = 0 ;
21579 PyObject * obj1 = 0 ;
21580 char *kwnames[] = {
21581 (char *) "self",(char *) "item", NULL
21582 };
21583
21584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21586 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21587 if (arg2 == NULL) {
21588 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21589 }
21590 {
21591 PyThreadState* __tstate = wxPyBeginAllowThreads();
21592 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21593
21594 wxPyEndAllowThreads(__tstate);
21595 if (PyErr_Occurred()) SWIG_fail;
21596 }
21597 {
21598 #if wxUSE_UNICODE
21599 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21600 #else
21601 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21602 #endif
21603 }
21604 return resultobj;
21605 fail:
21606 return NULL;
21607 }
21608
21609
21610 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj;
21612 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21613 wxTreeItemId *arg2 = 0 ;
21614 int arg3 = (int) wxTreeItemIcon_Normal ;
21615 int result;
21616 PyObject * obj0 = 0 ;
21617 PyObject * obj1 = 0 ;
21618 char *kwnames[] = {
21619 (char *) "self",(char *) "item",(char *) "which", NULL
21620 };
21621
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21624 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21625 if (arg2 == NULL) {
21626 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21627 }
21628 {
21629 PyThreadState* __tstate = wxPyBeginAllowThreads();
21630 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21631
21632 wxPyEndAllowThreads(__tstate);
21633 if (PyErr_Occurred()) SWIG_fail;
21634 }
21635 resultobj = PyInt_FromLong((long)result);
21636 return resultobj;
21637 fail:
21638 return NULL;
21639 }
21640
21641
21642 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21643 PyObject *resultobj;
21644 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21645 wxTreeItemId *arg2 = 0 ;
21646 wxPyTreeItemData *result;
21647 PyObject * obj0 = 0 ;
21648 PyObject * obj1 = 0 ;
21649 char *kwnames[] = {
21650 (char *) "self",(char *) "item", NULL
21651 };
21652
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21656 if (arg2 == NULL) {
21657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21658 }
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21667 return resultobj;
21668 fail:
21669 return NULL;
21670 }
21671
21672
21673 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21674 PyObject *resultobj;
21675 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21676 wxTreeItemId *arg2 = 0 ;
21677 PyObject *result;
21678 PyObject * obj0 = 0 ;
21679 PyObject * obj1 = 0 ;
21680 char *kwnames[] = {
21681 (char *) "self",(char *) "item", NULL
21682 };
21683
21684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21687 if (arg2 == NULL) {
21688 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21689 }
21690 {
21691 PyThreadState* __tstate = wxPyBeginAllowThreads();
21692 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21693
21694 wxPyEndAllowThreads(__tstate);
21695 if (PyErr_Occurred()) SWIG_fail;
21696 }
21697 resultobj = result;
21698 return resultobj;
21699 fail:
21700 return NULL;
21701 }
21702
21703
21704 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21705 PyObject *resultobj;
21706 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21707 wxTreeItemId *arg2 = 0 ;
21708 wxColour result;
21709 PyObject * obj0 = 0 ;
21710 PyObject * obj1 = 0 ;
21711 char *kwnames[] = {
21712 (char *) "self",(char *) "item", NULL
21713 };
21714
21715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21717 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21718 if (arg2 == NULL) {
21719 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21720 }
21721 {
21722 PyThreadState* __tstate = wxPyBeginAllowThreads();
21723 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21724
21725 wxPyEndAllowThreads(__tstate);
21726 if (PyErr_Occurred()) SWIG_fail;
21727 }
21728 {
21729 wxColour * resultptr;
21730 resultptr = new wxColour((wxColour &) result);
21731 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21732 }
21733 return resultobj;
21734 fail:
21735 return NULL;
21736 }
21737
21738
21739 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21740 PyObject *resultobj;
21741 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21742 wxTreeItemId *arg2 = 0 ;
21743 wxColour result;
21744 PyObject * obj0 = 0 ;
21745 PyObject * obj1 = 0 ;
21746 char *kwnames[] = {
21747 (char *) "self",(char *) "item", NULL
21748 };
21749
21750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21752 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21753 if (arg2 == NULL) {
21754 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21755 }
21756 {
21757 PyThreadState* __tstate = wxPyBeginAllowThreads();
21758 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21759
21760 wxPyEndAllowThreads(__tstate);
21761 if (PyErr_Occurred()) SWIG_fail;
21762 }
21763 {
21764 wxColour * resultptr;
21765 resultptr = new wxColour((wxColour &) result);
21766 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21767 }
21768 return resultobj;
21769 fail:
21770 return NULL;
21771 }
21772
21773
21774 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21775 PyObject *resultobj;
21776 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21777 wxTreeItemId *arg2 = 0 ;
21778 wxFont result;
21779 PyObject * obj0 = 0 ;
21780 PyObject * obj1 = 0 ;
21781 char *kwnames[] = {
21782 (char *) "self",(char *) "item", NULL
21783 };
21784
21785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21788 if (arg2 == NULL) {
21789 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21790 }
21791 {
21792 PyThreadState* __tstate = wxPyBeginAllowThreads();
21793 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21794
21795 wxPyEndAllowThreads(__tstate);
21796 if (PyErr_Occurred()) SWIG_fail;
21797 }
21798 {
21799 wxFont * resultptr;
21800 resultptr = new wxFont((wxFont &) result);
21801 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21802 }
21803 return resultobj;
21804 fail:
21805 return NULL;
21806 }
21807
21808
21809 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21810 PyObject *resultobj;
21811 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21812 wxTreeItemId *arg2 = 0 ;
21813 wxString *arg3 = 0 ;
21814 bool temp3 = False ;
21815 PyObject * obj0 = 0 ;
21816 PyObject * obj1 = 0 ;
21817 PyObject * obj2 = 0 ;
21818 char *kwnames[] = {
21819 (char *) "self",(char *) "item",(char *) "text", NULL
21820 };
21821
21822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21824 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21825 if (arg2 == NULL) {
21826 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21827 }
21828 {
21829 arg3 = wxString_in_helper(obj2);
21830 if (arg3 == NULL) SWIG_fail;
21831 temp3 = True;
21832 }
21833 {
21834 PyThreadState* __tstate = wxPyBeginAllowThreads();
21835 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21836
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
21840 Py_INCREF(Py_None); resultobj = Py_None;
21841 {
21842 if (temp3)
21843 delete arg3;
21844 }
21845 return resultobj;
21846 fail:
21847 {
21848 if (temp3)
21849 delete arg3;
21850 }
21851 return NULL;
21852 }
21853
21854
21855 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21856 PyObject *resultobj;
21857 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21858 wxTreeItemId *arg2 = 0 ;
21859 int arg3 ;
21860 int arg4 = (int) wxTreeItemIcon_Normal ;
21861 PyObject * obj0 = 0 ;
21862 PyObject * obj1 = 0 ;
21863 char *kwnames[] = {
21864 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21865 };
21866
21867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21870 if (arg2 == NULL) {
21871 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21872 }
21873 {
21874 PyThreadState* __tstate = wxPyBeginAllowThreads();
21875 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21876
21877 wxPyEndAllowThreads(__tstate);
21878 if (PyErr_Occurred()) SWIG_fail;
21879 }
21880 Py_INCREF(Py_None); resultobj = Py_None;
21881 return resultobj;
21882 fail:
21883 return NULL;
21884 }
21885
21886
21887 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21888 PyObject *resultobj;
21889 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21890 wxTreeItemId *arg2 = 0 ;
21891 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21892 PyObject * obj0 = 0 ;
21893 PyObject * obj1 = 0 ;
21894 PyObject * obj2 = 0 ;
21895 char *kwnames[] = {
21896 (char *) "self",(char *) "item",(char *) "data", NULL
21897 };
21898
21899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21902 if (arg2 == NULL) {
21903 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21904 }
21905 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21906 {
21907 PyThreadState* __tstate = wxPyBeginAllowThreads();
21908 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21909
21910 wxPyEndAllowThreads(__tstate);
21911 if (PyErr_Occurred()) SWIG_fail;
21912 }
21913 Py_INCREF(Py_None); resultobj = Py_None;
21914 return resultobj;
21915 fail:
21916 return NULL;
21917 }
21918
21919
21920 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21921 PyObject *resultobj;
21922 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21923 wxTreeItemId *arg2 = 0 ;
21924 PyObject *arg3 = (PyObject *) 0 ;
21925 PyObject * obj0 = 0 ;
21926 PyObject * obj1 = 0 ;
21927 PyObject * obj2 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "item",(char *) "obj", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21935 if (arg2 == NULL) {
21936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21937 }
21938 arg3 = obj2;
21939 {
21940 PyThreadState* __tstate = wxPyBeginAllowThreads();
21941 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21942
21943 wxPyEndAllowThreads(__tstate);
21944 if (PyErr_Occurred()) SWIG_fail;
21945 }
21946 Py_INCREF(Py_None); resultobj = Py_None;
21947 return resultobj;
21948 fail:
21949 return NULL;
21950 }
21951
21952
21953 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21954 PyObject *resultobj;
21955 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21956 wxTreeItemId *arg2 = 0 ;
21957 bool arg3 = (bool) True ;
21958 PyObject * obj0 = 0 ;
21959 PyObject * obj1 = 0 ;
21960 PyObject * obj2 = 0 ;
21961 char *kwnames[] = {
21962 (char *) "self",(char *) "item",(char *) "has", NULL
21963 };
21964
21965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21968 if (arg2 == NULL) {
21969 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21970 }
21971 if (obj2) {
21972 {
21973 arg3 = (bool) SPyObj_AsBool(obj2);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 }
21977 {
21978 PyThreadState* __tstate = wxPyBeginAllowThreads();
21979 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21980
21981 wxPyEndAllowThreads(__tstate);
21982 if (PyErr_Occurred()) SWIG_fail;
21983 }
21984 Py_INCREF(Py_None); resultobj = Py_None;
21985 return resultobj;
21986 fail:
21987 return NULL;
21988 }
21989
21990
21991 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21992 PyObject *resultobj;
21993 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21994 wxTreeItemId *arg2 = 0 ;
21995 bool arg3 = (bool) True ;
21996 PyObject * obj0 = 0 ;
21997 PyObject * obj1 = 0 ;
21998 PyObject * obj2 = 0 ;
21999 char *kwnames[] = {
22000 (char *) "self",(char *) "item",(char *) "bold", NULL
22001 };
22002
22003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
22004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22006 if (arg2 == NULL) {
22007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22008 }
22009 if (obj2) {
22010 {
22011 arg3 = (bool) SPyObj_AsBool(obj2);
22012 if (PyErr_Occurred()) SWIG_fail;
22013 }
22014 }
22015 {
22016 PyThreadState* __tstate = wxPyBeginAllowThreads();
22017 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
22018
22019 wxPyEndAllowThreads(__tstate);
22020 if (PyErr_Occurred()) SWIG_fail;
22021 }
22022 Py_INCREF(Py_None); resultobj = Py_None;
22023 return resultobj;
22024 fail:
22025 return NULL;
22026 }
22027
22028
22029 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22030 PyObject *resultobj;
22031 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22032 wxTreeItemId *arg2 = 0 ;
22033 wxColour *arg3 = 0 ;
22034 wxColour temp3 ;
22035 PyObject * obj0 = 0 ;
22036 PyObject * obj1 = 0 ;
22037 PyObject * obj2 = 0 ;
22038 char *kwnames[] = {
22039 (char *) "self",(char *) "item",(char *) "col", NULL
22040 };
22041
22042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22045 if (arg2 == NULL) {
22046 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22047 }
22048 {
22049 arg3 = &temp3;
22050 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22051 }
22052 {
22053 PyThreadState* __tstate = wxPyBeginAllowThreads();
22054 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22055
22056 wxPyEndAllowThreads(__tstate);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 }
22059 Py_INCREF(Py_None); resultobj = Py_None;
22060 return resultobj;
22061 fail:
22062 return NULL;
22063 }
22064
22065
22066 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22067 PyObject *resultobj;
22068 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22069 wxTreeItemId *arg2 = 0 ;
22070 wxColour *arg3 = 0 ;
22071 wxColour temp3 ;
22072 PyObject * obj0 = 0 ;
22073 PyObject * obj1 = 0 ;
22074 PyObject * obj2 = 0 ;
22075 char *kwnames[] = {
22076 (char *) "self",(char *) "item",(char *) "col", NULL
22077 };
22078
22079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22081 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22082 if (arg2 == NULL) {
22083 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22084 }
22085 {
22086 arg3 = &temp3;
22087 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22088 }
22089 {
22090 PyThreadState* __tstate = wxPyBeginAllowThreads();
22091 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22092
22093 wxPyEndAllowThreads(__tstate);
22094 if (PyErr_Occurred()) SWIG_fail;
22095 }
22096 Py_INCREF(Py_None); resultobj = Py_None;
22097 return resultobj;
22098 fail:
22099 return NULL;
22100 }
22101
22102
22103 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22104 PyObject *resultobj;
22105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22106 wxTreeItemId *arg2 = 0 ;
22107 wxFont *arg3 = 0 ;
22108 PyObject * obj0 = 0 ;
22109 PyObject * obj1 = 0 ;
22110 PyObject * obj2 = 0 ;
22111 char *kwnames[] = {
22112 (char *) "self",(char *) "item",(char *) "font", NULL
22113 };
22114
22115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
22116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22118 if (arg2 == NULL) {
22119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22120 }
22121 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22122 if (arg3 == NULL) {
22123 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22124 }
22125 {
22126 PyThreadState* __tstate = wxPyBeginAllowThreads();
22127 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
22128
22129 wxPyEndAllowThreads(__tstate);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 Py_INCREF(Py_None); resultobj = Py_None;
22133 return resultobj;
22134 fail:
22135 return NULL;
22136 }
22137
22138
22139 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22140 PyObject *resultobj;
22141 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22142 wxTreeItemId *arg2 = 0 ;
22143 bool result;
22144 PyObject * obj0 = 0 ;
22145 PyObject * obj1 = 0 ;
22146 char *kwnames[] = {
22147 (char *) "self",(char *) "item", NULL
22148 };
22149
22150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
22151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22152 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22153 if (arg2 == NULL) {
22154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22155 }
22156 {
22157 PyThreadState* __tstate = wxPyBeginAllowThreads();
22158 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
22159
22160 wxPyEndAllowThreads(__tstate);
22161 if (PyErr_Occurred()) SWIG_fail;
22162 }
22163 resultobj = PyInt_FromLong((long)result);
22164 return resultobj;
22165 fail:
22166 return NULL;
22167 }
22168
22169
22170 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22171 PyObject *resultobj;
22172 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22173 wxTreeItemId *arg2 = 0 ;
22174 bool result;
22175 PyObject * obj0 = 0 ;
22176 PyObject * obj1 = 0 ;
22177 char *kwnames[] = {
22178 (char *) "self",(char *) "item", NULL
22179 };
22180
22181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
22182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22183 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22184 if (arg2 == NULL) {
22185 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22186 }
22187 {
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
22190
22191 wxPyEndAllowThreads(__tstate);
22192 if (PyErr_Occurred()) SWIG_fail;
22193 }
22194 resultobj = PyInt_FromLong((long)result);
22195 return resultobj;
22196 fail:
22197 return NULL;
22198 }
22199
22200
22201 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
22202 PyObject *resultobj;
22203 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22204 wxTreeItemId *arg2 = 0 ;
22205 bool result;
22206 PyObject * obj0 = 0 ;
22207 PyObject * obj1 = 0 ;
22208 char *kwnames[] = {
22209 (char *) "self",(char *) "item", NULL
22210 };
22211
22212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
22220 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
22221
22222 wxPyEndAllowThreads(__tstate);
22223 if (PyErr_Occurred()) SWIG_fail;
22224 }
22225 resultobj = PyInt_FromLong((long)result);
22226 return resultobj;
22227 fail:
22228 return NULL;
22229 }
22230
22231
22232 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22233 PyObject *resultobj;
22234 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22235 wxTreeItemId *arg2 = 0 ;
22236 bool result;
22237 PyObject * obj0 = 0 ;
22238 PyObject * obj1 = 0 ;
22239 char *kwnames[] = {
22240 (char *) "self",(char *) "item", NULL
22241 };
22242
22243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22246 if (arg2 == NULL) {
22247 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22248 }
22249 {
22250 PyThreadState* __tstate = wxPyBeginAllowThreads();
22251 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
22252
22253 wxPyEndAllowThreads(__tstate);
22254 if (PyErr_Occurred()) SWIG_fail;
22255 }
22256 resultobj = PyInt_FromLong((long)result);
22257 return resultobj;
22258 fail:
22259 return NULL;
22260 }
22261
22262
22263 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22264 PyObject *resultobj;
22265 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22266 wxTreeItemId *arg2 = 0 ;
22267 bool result;
22268 PyObject * obj0 = 0 ;
22269 PyObject * obj1 = 0 ;
22270 char *kwnames[] = {
22271 (char *) "self",(char *) "item", NULL
22272 };
22273
22274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
22275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22277 if (arg2 == NULL) {
22278 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22279 }
22280 {
22281 PyThreadState* __tstate = wxPyBeginAllowThreads();
22282 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
22283
22284 wxPyEndAllowThreads(__tstate);
22285 if (PyErr_Occurred()) SWIG_fail;
22286 }
22287 resultobj = PyInt_FromLong((long)result);
22288 return resultobj;
22289 fail:
22290 return NULL;
22291 }
22292
22293
22294 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22295 PyObject *resultobj;
22296 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22297 wxTreeItemId *arg2 = 0 ;
22298 bool arg3 = (bool) True ;
22299 size_t result;
22300 PyObject * obj0 = 0 ;
22301 PyObject * obj1 = 0 ;
22302 PyObject * obj2 = 0 ;
22303 char *kwnames[] = {
22304 (char *) "self",(char *) "item",(char *) "recursively", NULL
22305 };
22306
22307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
22308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22309 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22310 if (arg2 == NULL) {
22311 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22312 }
22313 if (obj2) {
22314 {
22315 arg3 = (bool) SPyObj_AsBool(obj2);
22316 if (PyErr_Occurred()) SWIG_fail;
22317 }
22318 }
22319 {
22320 PyThreadState* __tstate = wxPyBeginAllowThreads();
22321 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
22322
22323 wxPyEndAllowThreads(__tstate);
22324 if (PyErr_Occurred()) SWIG_fail;
22325 }
22326 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
22327 return resultobj;
22328 fail:
22329 return NULL;
22330 }
22331
22332
22333 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22334 PyObject *resultobj;
22335 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22336 wxTreeItemId result;
22337 PyObject * obj0 = 0 ;
22338 char *kwnames[] = {
22339 (char *) "self", NULL
22340 };
22341
22342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
22343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
22347
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 {
22352 wxTreeItemId * resultptr;
22353 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22354 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22355 }
22356 return resultobj;
22357 fail:
22358 return NULL;
22359 }
22360
22361
22362 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
22363 PyObject *resultobj;
22364 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22365 wxTreeItemId result;
22366 PyObject * obj0 = 0 ;
22367 char *kwnames[] = {
22368 (char *) "self", NULL
22369 };
22370
22371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
22372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22373 {
22374 PyThreadState* __tstate = wxPyBeginAllowThreads();
22375 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
22376
22377 wxPyEndAllowThreads(__tstate);
22378 if (PyErr_Occurred()) SWIG_fail;
22379 }
22380 {
22381 wxTreeItemId * resultptr;
22382 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22383 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22384 }
22385 return resultobj;
22386 fail:
22387 return NULL;
22388 }
22389
22390
22391 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22392 PyObject *resultobj;
22393 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22394 PyObject *result;
22395 PyObject * obj0 = 0 ;
22396 char *kwnames[] = {
22397 (char *) "self", NULL
22398 };
22399
22400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22402 {
22403 PyThreadState* __tstate = wxPyBeginAllowThreads();
22404 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22405
22406 wxPyEndAllowThreads(__tstate);
22407 if (PyErr_Occurred()) SWIG_fail;
22408 }
22409 resultobj = result;
22410 return resultobj;
22411 fail:
22412 return NULL;
22413 }
22414
22415
22416 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22417 PyObject *resultobj;
22418 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22419 wxTreeItemId *arg2 = 0 ;
22420 wxTreeItemId result;
22421 PyObject * obj0 = 0 ;
22422 PyObject * obj1 = 0 ;
22423 char *kwnames[] = {
22424 (char *) "self",(char *) "item", NULL
22425 };
22426
22427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22429 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22430 if (arg2 == NULL) {
22431 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22432 }
22433 {
22434 PyThreadState* __tstate = wxPyBeginAllowThreads();
22435 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22436
22437 wxPyEndAllowThreads(__tstate);
22438 if (PyErr_Occurred()) SWIG_fail;
22439 }
22440 {
22441 wxTreeItemId * resultptr;
22442 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22443 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22444 }
22445 return resultobj;
22446 fail:
22447 return NULL;
22448 }
22449
22450
22451 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22452 PyObject *resultobj;
22453 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22454 wxTreeItemId *arg2 = 0 ;
22455 PyObject *result;
22456 PyObject * obj0 = 0 ;
22457 PyObject * obj1 = 0 ;
22458 char *kwnames[] = {
22459 (char *) "self",(char *) "item", NULL
22460 };
22461
22462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22464 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22465 if (arg2 == NULL) {
22466 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22467 }
22468 {
22469 PyThreadState* __tstate = wxPyBeginAllowThreads();
22470 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22471
22472 wxPyEndAllowThreads(__tstate);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 }
22475 resultobj = result;
22476 return resultobj;
22477 fail:
22478 return NULL;
22479 }
22480
22481
22482 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22483 PyObject *resultobj;
22484 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22485 wxTreeItemId *arg2 = 0 ;
22486 void *arg3 = (void *) 0 ;
22487 PyObject *result;
22488 PyObject * obj0 = 0 ;
22489 PyObject * obj1 = 0 ;
22490 PyObject * obj2 = 0 ;
22491 char *kwnames[] = {
22492 (char *) "self",(char *) "item",(char *) "cookie", NULL
22493 };
22494
22495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22498 if (arg2 == NULL) {
22499 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22500 }
22501 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, 0, SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22502 {
22503 PyThreadState* __tstate = wxPyBeginAllowThreads();
22504 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
22505
22506 wxPyEndAllowThreads(__tstate);
22507 if (PyErr_Occurred()) SWIG_fail;
22508 }
22509 resultobj = result;
22510 return resultobj;
22511 fail:
22512 return NULL;
22513 }
22514
22515
22516 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22517 PyObject *resultobj;
22518 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22519 wxTreeItemId *arg2 = 0 ;
22520 wxTreeItemId result;
22521 PyObject * obj0 = 0 ;
22522 PyObject * obj1 = 0 ;
22523 char *kwnames[] = {
22524 (char *) "self",(char *) "item", NULL
22525 };
22526
22527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22530 if (arg2 == NULL) {
22531 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22532 }
22533 {
22534 PyThreadState* __tstate = wxPyBeginAllowThreads();
22535 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22536
22537 wxPyEndAllowThreads(__tstate);
22538 if (PyErr_Occurred()) SWIG_fail;
22539 }
22540 {
22541 wxTreeItemId * resultptr;
22542 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22543 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22544 }
22545 return resultobj;
22546 fail:
22547 return NULL;
22548 }
22549
22550
22551 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22552 PyObject *resultobj;
22553 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22554 wxTreeItemId *arg2 = 0 ;
22555 wxTreeItemId result;
22556 PyObject * obj0 = 0 ;
22557 PyObject * obj1 = 0 ;
22558 char *kwnames[] = {
22559 (char *) "self",(char *) "item", NULL
22560 };
22561
22562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22564 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22565 if (arg2 == NULL) {
22566 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22567 }
22568 {
22569 PyThreadState* __tstate = wxPyBeginAllowThreads();
22570 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22571
22572 wxPyEndAllowThreads(__tstate);
22573 if (PyErr_Occurred()) SWIG_fail;
22574 }
22575 {
22576 wxTreeItemId * resultptr;
22577 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22578 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22579 }
22580 return resultobj;
22581 fail:
22582 return NULL;
22583 }
22584
22585
22586 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22587 PyObject *resultobj;
22588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22589 wxTreeItemId *arg2 = 0 ;
22590 wxTreeItemId result;
22591 PyObject * obj0 = 0 ;
22592 PyObject * obj1 = 0 ;
22593 char *kwnames[] = {
22594 (char *) "self",(char *) "item", NULL
22595 };
22596
22597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22599 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22600 if (arg2 == NULL) {
22601 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22602 }
22603 {
22604 PyThreadState* __tstate = wxPyBeginAllowThreads();
22605 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22606
22607 wxPyEndAllowThreads(__tstate);
22608 if (PyErr_Occurred()) SWIG_fail;
22609 }
22610 {
22611 wxTreeItemId * resultptr;
22612 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22613 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22614 }
22615 return resultobj;
22616 fail:
22617 return NULL;
22618 }
22619
22620
22621 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22622 PyObject *resultobj;
22623 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22624 wxTreeItemId result;
22625 PyObject * obj0 = 0 ;
22626 char *kwnames[] = {
22627 (char *) "self", NULL
22628 };
22629
22630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22632 {
22633 PyThreadState* __tstate = wxPyBeginAllowThreads();
22634 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22635
22636 wxPyEndAllowThreads(__tstate);
22637 if (PyErr_Occurred()) SWIG_fail;
22638 }
22639 {
22640 wxTreeItemId * resultptr;
22641 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22642 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22643 }
22644 return resultobj;
22645 fail:
22646 return NULL;
22647 }
22648
22649
22650 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22651 PyObject *resultobj;
22652 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22653 wxTreeItemId *arg2 = 0 ;
22654 wxTreeItemId result;
22655 PyObject * obj0 = 0 ;
22656 PyObject * obj1 = 0 ;
22657 char *kwnames[] = {
22658 (char *) "self",(char *) "item", NULL
22659 };
22660
22661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22664 if (arg2 == NULL) {
22665 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22666 }
22667 {
22668 PyThreadState* __tstate = wxPyBeginAllowThreads();
22669 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 {
22675 wxTreeItemId * resultptr;
22676 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22677 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22678 }
22679 return resultobj;
22680 fail:
22681 return NULL;
22682 }
22683
22684
22685 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22686 PyObject *resultobj;
22687 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22688 wxTreeItemId *arg2 = 0 ;
22689 wxTreeItemId result;
22690 PyObject * obj0 = 0 ;
22691 PyObject * obj1 = 0 ;
22692 char *kwnames[] = {
22693 (char *) "self",(char *) "item", NULL
22694 };
22695
22696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22699 if (arg2 == NULL) {
22700 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22701 }
22702 {
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22705
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 {
22710 wxTreeItemId * resultptr;
22711 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22712 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22713 }
22714 return resultobj;
22715 fail:
22716 return NULL;
22717 }
22718
22719
22720 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22721 PyObject *resultobj;
22722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22723 wxString *arg2 = 0 ;
22724 int arg3 = (int) -1 ;
22725 int arg4 = (int) -1 ;
22726 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22727 wxTreeItemId result;
22728 bool temp2 = False ;
22729 PyObject * obj0 = 0 ;
22730 PyObject * obj1 = 0 ;
22731 PyObject * obj4 = 0 ;
22732 char *kwnames[] = {
22733 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22734 };
22735
22736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22738 {
22739 arg2 = wxString_in_helper(obj1);
22740 if (arg2 == NULL) SWIG_fail;
22741 temp2 = True;
22742 }
22743 if (obj4) {
22744 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22745 }
22746 {
22747 PyThreadState* __tstate = wxPyBeginAllowThreads();
22748 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22749
22750 wxPyEndAllowThreads(__tstate);
22751 if (PyErr_Occurred()) SWIG_fail;
22752 }
22753 {
22754 wxTreeItemId * resultptr;
22755 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22756 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22757 }
22758 {
22759 if (temp2)
22760 delete arg2;
22761 }
22762 return resultobj;
22763 fail:
22764 {
22765 if (temp2)
22766 delete arg2;
22767 }
22768 return NULL;
22769 }
22770
22771
22772 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22773 PyObject *resultobj;
22774 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22775 wxTreeItemId *arg2 = 0 ;
22776 wxString *arg3 = 0 ;
22777 int arg4 = (int) -1 ;
22778 int arg5 = (int) -1 ;
22779 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22780 wxTreeItemId result;
22781 bool temp3 = False ;
22782 PyObject * obj0 = 0 ;
22783 PyObject * obj1 = 0 ;
22784 PyObject * obj2 = 0 ;
22785 PyObject * obj5 = 0 ;
22786 char *kwnames[] = {
22787 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22788 };
22789
22790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22792 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22793 if (arg2 == NULL) {
22794 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22795 }
22796 {
22797 arg3 = wxString_in_helper(obj2);
22798 if (arg3 == NULL) SWIG_fail;
22799 temp3 = True;
22800 }
22801 if (obj5) {
22802 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22803 }
22804 {
22805 PyThreadState* __tstate = wxPyBeginAllowThreads();
22806 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22807
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 {
22812 wxTreeItemId * resultptr;
22813 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22814 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22815 }
22816 {
22817 if (temp3)
22818 delete arg3;
22819 }
22820 return resultobj;
22821 fail:
22822 {
22823 if (temp3)
22824 delete arg3;
22825 }
22826 return NULL;
22827 }
22828
22829
22830 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22831 PyObject *resultobj;
22832 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22833 wxTreeItemId *arg2 = 0 ;
22834 wxTreeItemId *arg3 = 0 ;
22835 wxString *arg4 = 0 ;
22836 int arg5 = (int) -1 ;
22837 int arg6 = (int) -1 ;
22838 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22839 wxTreeItemId result;
22840 bool temp4 = False ;
22841 PyObject * obj0 = 0 ;
22842 PyObject * obj1 = 0 ;
22843 PyObject * obj2 = 0 ;
22844 PyObject * obj3 = 0 ;
22845 PyObject * obj6 = 0 ;
22846 char *kwnames[] = {
22847 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22848 };
22849
22850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22852 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22853 if (arg2 == NULL) {
22854 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22855 }
22856 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22857 if (arg3 == NULL) {
22858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22859 }
22860 {
22861 arg4 = wxString_in_helper(obj3);
22862 if (arg4 == NULL) SWIG_fail;
22863 temp4 = True;
22864 }
22865 if (obj6) {
22866 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22867 }
22868 {
22869 PyThreadState* __tstate = wxPyBeginAllowThreads();
22870 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22871
22872 wxPyEndAllowThreads(__tstate);
22873 if (PyErr_Occurred()) SWIG_fail;
22874 }
22875 {
22876 wxTreeItemId * resultptr;
22877 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22878 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22879 }
22880 {
22881 if (temp4)
22882 delete arg4;
22883 }
22884 return resultobj;
22885 fail:
22886 {
22887 if (temp4)
22888 delete arg4;
22889 }
22890 return NULL;
22891 }
22892
22893
22894 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22895 PyObject *resultobj;
22896 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22897 wxTreeItemId *arg2 = 0 ;
22898 size_t arg3 ;
22899 wxString *arg4 = 0 ;
22900 int arg5 = (int) -1 ;
22901 int arg6 = (int) -1 ;
22902 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22903 wxTreeItemId result;
22904 bool temp4 = False ;
22905 PyObject * obj0 = 0 ;
22906 PyObject * obj1 = 0 ;
22907 PyObject * obj2 = 0 ;
22908 PyObject * obj3 = 0 ;
22909 PyObject * obj6 = 0 ;
22910 char *kwnames[] = {
22911 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22912 };
22913
22914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22916 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22917 if (arg2 == NULL) {
22918 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22919 }
22920 {
22921 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
22922 if (PyErr_Occurred()) SWIG_fail;
22923 }
22924 {
22925 arg4 = wxString_in_helper(obj3);
22926 if (arg4 == NULL) SWIG_fail;
22927 temp4 = True;
22928 }
22929 if (obj6) {
22930 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22931 }
22932 {
22933 PyThreadState* __tstate = wxPyBeginAllowThreads();
22934 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22935
22936 wxPyEndAllowThreads(__tstate);
22937 if (PyErr_Occurred()) SWIG_fail;
22938 }
22939 {
22940 wxTreeItemId * resultptr;
22941 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22942 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22943 }
22944 {
22945 if (temp4)
22946 delete arg4;
22947 }
22948 return resultobj;
22949 fail:
22950 {
22951 if (temp4)
22952 delete arg4;
22953 }
22954 return NULL;
22955 }
22956
22957
22958 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22959 PyObject *resultobj;
22960 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22961 wxTreeItemId *arg2 = 0 ;
22962 wxString *arg3 = 0 ;
22963 int arg4 = (int) -1 ;
22964 int arg5 = (int) -1 ;
22965 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22966 wxTreeItemId result;
22967 bool temp3 = False ;
22968 PyObject * obj0 = 0 ;
22969 PyObject * obj1 = 0 ;
22970 PyObject * obj2 = 0 ;
22971 PyObject * obj5 = 0 ;
22972 char *kwnames[] = {
22973 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22974 };
22975
22976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22978 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22979 if (arg2 == NULL) {
22980 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22981 }
22982 {
22983 arg3 = wxString_in_helper(obj2);
22984 if (arg3 == NULL) SWIG_fail;
22985 temp3 = True;
22986 }
22987 if (obj5) {
22988 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22989 }
22990 {
22991 PyThreadState* __tstate = wxPyBeginAllowThreads();
22992 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22993
22994 wxPyEndAllowThreads(__tstate);
22995 if (PyErr_Occurred()) SWIG_fail;
22996 }
22997 {
22998 wxTreeItemId * resultptr;
22999 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23000 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23001 }
23002 {
23003 if (temp3)
23004 delete arg3;
23005 }
23006 return resultobj;
23007 fail:
23008 {
23009 if (temp3)
23010 delete arg3;
23011 }
23012 return NULL;
23013 }
23014
23015
23016 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
23017 PyObject *resultobj;
23018 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23019 wxTreeItemId *arg2 = 0 ;
23020 PyObject * obj0 = 0 ;
23021 PyObject * obj1 = 0 ;
23022 char *kwnames[] = {
23023 (char *) "self",(char *) "item", NULL
23024 };
23025
23026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
23027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23028 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23029 if (arg2 == NULL) {
23030 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23031 }
23032 {
23033 PyThreadState* __tstate = wxPyBeginAllowThreads();
23034 (arg1)->Delete((wxTreeItemId const &)*arg2);
23035
23036 wxPyEndAllowThreads(__tstate);
23037 if (PyErr_Occurred()) SWIG_fail;
23038 }
23039 Py_INCREF(Py_None); resultobj = Py_None;
23040 return resultobj;
23041 fail:
23042 return NULL;
23043 }
23044
23045
23046 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23047 PyObject *resultobj;
23048 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23049 wxTreeItemId *arg2 = 0 ;
23050 PyObject * obj0 = 0 ;
23051 PyObject * obj1 = 0 ;
23052 char *kwnames[] = {
23053 (char *) "self",(char *) "item", NULL
23054 };
23055
23056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
23057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23058 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23059 if (arg2 == NULL) {
23060 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23061 }
23062 {
23063 PyThreadState* __tstate = wxPyBeginAllowThreads();
23064 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
23065
23066 wxPyEndAllowThreads(__tstate);
23067 if (PyErr_Occurred()) SWIG_fail;
23068 }
23069 Py_INCREF(Py_None); resultobj = Py_None;
23070 return resultobj;
23071 fail:
23072 return NULL;
23073 }
23074
23075
23076 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23077 PyObject *resultobj;
23078 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23079 PyObject * obj0 = 0 ;
23080 char *kwnames[] = {
23081 (char *) "self", NULL
23082 };
23083
23084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23086 {
23087 PyThreadState* __tstate = wxPyBeginAllowThreads();
23088 (arg1)->DeleteAllItems();
23089
23090 wxPyEndAllowThreads(__tstate);
23091 if (PyErr_Occurred()) SWIG_fail;
23092 }
23093 Py_INCREF(Py_None); resultobj = Py_None;
23094 return resultobj;
23095 fail:
23096 return NULL;
23097 }
23098
23099
23100 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
23101 PyObject *resultobj;
23102 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23103 wxTreeItemId *arg2 = 0 ;
23104 PyObject * obj0 = 0 ;
23105 PyObject * obj1 = 0 ;
23106 char *kwnames[] = {
23107 (char *) "self",(char *) "item", NULL
23108 };
23109
23110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
23111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23113 if (arg2 == NULL) {
23114 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23115 }
23116 {
23117 PyThreadState* __tstate = wxPyBeginAllowThreads();
23118 (arg1)->Expand((wxTreeItemId const &)*arg2);
23119
23120 wxPyEndAllowThreads(__tstate);
23121 if (PyErr_Occurred()) SWIG_fail;
23122 }
23123 Py_INCREF(Py_None); resultobj = Py_None;
23124 return resultobj;
23125 fail:
23126 return NULL;
23127 }
23128
23129
23130 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
23131 PyObject *resultobj;
23132 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23133 wxTreeItemId *arg2 = 0 ;
23134 PyObject * obj0 = 0 ;
23135 PyObject * obj1 = 0 ;
23136 char *kwnames[] = {
23137 (char *) "self",(char *) "item", NULL
23138 };
23139
23140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
23141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23143 if (arg2 == NULL) {
23144 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23145 }
23146 {
23147 PyThreadState* __tstate = wxPyBeginAllowThreads();
23148 (arg1)->Collapse((wxTreeItemId const &)*arg2);
23149
23150 wxPyEndAllowThreads(__tstate);
23151 if (PyErr_Occurred()) SWIG_fail;
23152 }
23153 Py_INCREF(Py_None); resultobj = Py_None;
23154 return resultobj;
23155 fail:
23156 return NULL;
23157 }
23158
23159
23160 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
23161 PyObject *resultobj;
23162 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23163 wxTreeItemId *arg2 = 0 ;
23164 PyObject * obj0 = 0 ;
23165 PyObject * obj1 = 0 ;
23166 char *kwnames[] = {
23167 (char *) "self",(char *) "item", NULL
23168 };
23169
23170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
23171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23172 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23173 if (arg2 == NULL) {
23174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23175 }
23176 {
23177 PyThreadState* __tstate = wxPyBeginAllowThreads();
23178 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
23179
23180 wxPyEndAllowThreads(__tstate);
23181 if (PyErr_Occurred()) SWIG_fail;
23182 }
23183 Py_INCREF(Py_None); resultobj = Py_None;
23184 return resultobj;
23185 fail:
23186 return NULL;
23187 }
23188
23189
23190 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
23191 PyObject *resultobj;
23192 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23193 wxTreeItemId *arg2 = 0 ;
23194 PyObject * obj0 = 0 ;
23195 PyObject * obj1 = 0 ;
23196 char *kwnames[] = {
23197 (char *) "self",(char *) "item", NULL
23198 };
23199
23200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
23201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23203 if (arg2 == NULL) {
23204 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23205 }
23206 {
23207 PyThreadState* __tstate = wxPyBeginAllowThreads();
23208 (arg1)->Toggle((wxTreeItemId const &)*arg2);
23209
23210 wxPyEndAllowThreads(__tstate);
23211 if (PyErr_Occurred()) SWIG_fail;
23212 }
23213 Py_INCREF(Py_None); resultobj = Py_None;
23214 return resultobj;
23215 fail:
23216 return NULL;
23217 }
23218
23219
23220 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
23221 PyObject *resultobj;
23222 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23223 PyObject * obj0 = 0 ;
23224 char *kwnames[] = {
23225 (char *) "self", NULL
23226 };
23227
23228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
23229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23230 {
23231 PyThreadState* __tstate = wxPyBeginAllowThreads();
23232 (arg1)->Unselect();
23233
23234 wxPyEndAllowThreads(__tstate);
23235 if (PyErr_Occurred()) SWIG_fail;
23236 }
23237 Py_INCREF(Py_None); resultobj = Py_None;
23238 return resultobj;
23239 fail:
23240 return NULL;
23241 }
23242
23243
23244 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
23245 PyObject *resultobj;
23246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23247 PyObject * obj0 = 0 ;
23248 char *kwnames[] = {
23249 (char *) "self", NULL
23250 };
23251
23252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
23253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23254 {
23255 PyThreadState* __tstate = wxPyBeginAllowThreads();
23256 (arg1)->UnselectAll();
23257
23258 wxPyEndAllowThreads(__tstate);
23259 if (PyErr_Occurred()) SWIG_fail;
23260 }
23261 Py_INCREF(Py_None); resultobj = Py_None;
23262 return resultobj;
23263 fail:
23264 return NULL;
23265 }
23266
23267
23268 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23269 PyObject *resultobj;
23270 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23271 wxTreeItemId *arg2 = 0 ;
23272 PyObject * obj0 = 0 ;
23273 PyObject * obj1 = 0 ;
23274 char *kwnames[] = {
23275 (char *) "self",(char *) "item", NULL
23276 };
23277
23278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) 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 {
23285 PyThreadState* __tstate = wxPyBeginAllowThreads();
23286 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
23287
23288 wxPyEndAllowThreads(__tstate);
23289 if (PyErr_Occurred()) SWIG_fail;
23290 }
23291 Py_INCREF(Py_None); resultobj = Py_None;
23292 return resultobj;
23293 fail:
23294 return NULL;
23295 }
23296
23297
23298 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23299 PyObject *resultobj;
23300 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23301 wxTreeItemId *arg2 = 0 ;
23302 PyObject * obj0 = 0 ;
23303 PyObject * obj1 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "self",(char *) "item", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23310 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23311 if (arg2 == NULL) {
23312 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23313 }
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 Py_INCREF(Py_None); resultobj = Py_None;
23322 return resultobj;
23323 fail:
23324 return NULL;
23325 }
23326
23327
23328 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
23329 PyObject *resultobj;
23330 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23331 wxTreeItemId *arg2 = 0 ;
23332 PyObject * obj0 = 0 ;
23333 PyObject * obj1 = 0 ;
23334 char *kwnames[] = {
23335 (char *) "self",(char *) "item", NULL
23336 };
23337
23338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
23339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23341 if (arg2 == NULL) {
23342 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23343 }
23344 {
23345 PyThreadState* __tstate = wxPyBeginAllowThreads();
23346 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
23347
23348 wxPyEndAllowThreads(__tstate);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 }
23351 Py_INCREF(Py_None); resultobj = Py_None;
23352 return resultobj;
23353 fail:
23354 return NULL;
23355 }
23356
23357
23358 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23359 PyObject *resultobj;
23360 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23361 wxTreeItemId *arg2 = 0 ;
23362 PyObject * obj0 = 0 ;
23363 PyObject * obj1 = 0 ;
23364 char *kwnames[] = {
23365 (char *) "self",(char *) "item", NULL
23366 };
23367
23368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23370 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23371 if (arg2 == NULL) {
23372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23373 }
23374 {
23375 PyThreadState* __tstate = wxPyBeginAllowThreads();
23376 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
23377
23378 wxPyEndAllowThreads(__tstate);
23379 if (PyErr_Occurred()) SWIG_fail;
23380 }
23381 Py_INCREF(Py_None); resultobj = Py_None;
23382 return resultobj;
23383 fail:
23384 return NULL;
23385 }
23386
23387
23388 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23389 PyObject *resultobj;
23390 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23391 wxTextCtrl *result;
23392 PyObject * obj0 = 0 ;
23393 char *kwnames[] = {
23394 (char *) "self", NULL
23395 };
23396
23397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23399 {
23400 PyThreadState* __tstate = wxPyBeginAllowThreads();
23401 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23402
23403 wxPyEndAllowThreads(__tstate);
23404 if (PyErr_Occurred()) SWIG_fail;
23405 }
23406 {
23407 resultobj = wxPyMake_wxObject(result);
23408 }
23409 return resultobj;
23410 fail:
23411 return NULL;
23412 }
23413
23414
23415 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23416 PyObject *resultobj;
23417 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23418 wxTreeItemId *arg2 = 0 ;
23419 PyObject * obj0 = 0 ;
23420 PyObject * obj1 = 0 ;
23421 char *kwnames[] = {
23422 (char *) "self",(char *) "item", NULL
23423 };
23424
23425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23427 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23428 if (arg2 == NULL) {
23429 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23430 }
23431 {
23432 PyThreadState* __tstate = wxPyBeginAllowThreads();
23433 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23434
23435 wxPyEndAllowThreads(__tstate);
23436 if (PyErr_Occurred()) SWIG_fail;
23437 }
23438 Py_INCREF(Py_None); resultobj = Py_None;
23439 return resultobj;
23440 fail:
23441 return NULL;
23442 }
23443
23444
23445 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23446 PyObject *resultobj;
23447 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23448 wxPoint *arg2 = 0 ;
23449 int *arg3 = 0 ;
23450 wxTreeItemId result;
23451 wxPoint temp2 ;
23452 int temp3 ;
23453 PyObject * obj0 = 0 ;
23454 PyObject * obj1 = 0 ;
23455 char *kwnames[] = {
23456 (char *) "self",(char *) "point", NULL
23457 };
23458
23459 arg3 = &temp3;
23460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23462 {
23463 arg2 = &temp2;
23464 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23465 }
23466 {
23467 PyThreadState* __tstate = wxPyBeginAllowThreads();
23468 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23469
23470 wxPyEndAllowThreads(__tstate);
23471 if (PyErr_Occurred()) SWIG_fail;
23472 }
23473 {
23474 wxTreeItemId * resultptr;
23475 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23476 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23477 }
23478 {
23479 PyObject *o = PyInt_FromLong((long) (*arg3));
23480 resultobj = t_output_helper(resultobj,o);
23481 }
23482 return resultobj;
23483 fail:
23484 return NULL;
23485 }
23486
23487
23488 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23489 PyObject *resultobj;
23490 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23491 wxTreeItemId *arg2 = 0 ;
23492 bool arg3 = (bool) False ;
23493 PyObject *result;
23494 PyObject * obj0 = 0 ;
23495 PyObject * obj1 = 0 ;
23496 PyObject * obj2 = 0 ;
23497 char *kwnames[] = {
23498 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23499 };
23500
23501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23503 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23504 if (arg2 == NULL) {
23505 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23506 }
23507 if (obj2) {
23508 {
23509 arg3 = (bool) SPyObj_AsBool(obj2);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 }
23513 {
23514 PyThreadState* __tstate = wxPyBeginAllowThreads();
23515 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23516
23517 wxPyEndAllowThreads(__tstate);
23518 if (PyErr_Occurred()) SWIG_fail;
23519 }
23520 resultobj = result;
23521 return resultobj;
23522 fail:
23523 return NULL;
23524 }
23525
23526
23527 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23528 PyObject *obj;
23529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23530 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23531 Py_INCREF(obj);
23532 return Py_BuildValue((char *)"");
23533 }
23534 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
23535 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
23536 return 1;
23537 }
23538
23539
23540 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
23541 PyObject *pyobj;
23542
23543 {
23544 #if wxUSE_UNICODE
23545 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23546 #else
23547 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23548 #endif
23549 }
23550 return pyobj;
23551 }
23552
23553
23554 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23555 PyObject *resultobj;
23556 wxWindow *arg1 = (wxWindow *) 0 ;
23557 int arg2 = (int) (int)-1 ;
23558 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23559 wxString *arg3 = (wxString *) &arg3_defvalue ;
23560 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23561 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23562 wxSize const &arg5_defvalue = wxDefaultSize ;
23563 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23564 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23565 wxString const &arg7_defvalue = wxPyEmptyString ;
23566 wxString *arg7 = (wxString *) &arg7_defvalue ;
23567 int arg8 = (int) 0 ;
23568 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
23569 wxString *arg9 = (wxString *) &arg9_defvalue ;
23570 wxGenericDirCtrl *result;
23571 bool temp3 = False ;
23572 wxPoint temp4 ;
23573 wxSize temp5 ;
23574 bool temp7 = False ;
23575 bool temp9 = False ;
23576 PyObject * obj0 = 0 ;
23577 PyObject * obj2 = 0 ;
23578 PyObject * obj3 = 0 ;
23579 PyObject * obj4 = 0 ;
23580 PyObject * obj6 = 0 ;
23581 PyObject * obj8 = 0 ;
23582 char *kwnames[] = {
23583 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23584 };
23585
23586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23588 if (obj2) {
23589 {
23590 arg3 = wxString_in_helper(obj2);
23591 if (arg3 == NULL) SWIG_fail;
23592 temp3 = True;
23593 }
23594 }
23595 if (obj3) {
23596 {
23597 arg4 = &temp4;
23598 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23599 }
23600 }
23601 if (obj4) {
23602 {
23603 arg5 = &temp5;
23604 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23605 }
23606 }
23607 if (obj6) {
23608 {
23609 arg7 = wxString_in_helper(obj6);
23610 if (arg7 == NULL) SWIG_fail;
23611 temp7 = True;
23612 }
23613 }
23614 if (obj8) {
23615 {
23616 arg9 = wxString_in_helper(obj8);
23617 if (arg9 == NULL) SWIG_fail;
23618 temp9 = True;
23619 }
23620 }
23621 {
23622 PyThreadState* __tstate = wxPyBeginAllowThreads();
23623 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23624
23625 wxPyEndAllowThreads(__tstate);
23626 if (PyErr_Occurred()) SWIG_fail;
23627 }
23628 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23629 {
23630 if (temp3)
23631 delete arg3;
23632 }
23633 {
23634 if (temp7)
23635 delete arg7;
23636 }
23637 {
23638 if (temp9)
23639 delete arg9;
23640 }
23641 return resultobj;
23642 fail:
23643 {
23644 if (temp3)
23645 delete arg3;
23646 }
23647 {
23648 if (temp7)
23649 delete arg7;
23650 }
23651 {
23652 if (temp9)
23653 delete arg9;
23654 }
23655 return NULL;
23656 }
23657
23658
23659 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23660 PyObject *resultobj;
23661 wxGenericDirCtrl *result;
23662 char *kwnames[] = {
23663 NULL
23664 };
23665
23666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23667 {
23668 PyThreadState* __tstate = wxPyBeginAllowThreads();
23669 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23670
23671 wxPyEndAllowThreads(__tstate);
23672 if (PyErr_Occurred()) SWIG_fail;
23673 }
23674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23675 return resultobj;
23676 fail:
23677 return NULL;
23678 }
23679
23680
23681 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23682 PyObject *resultobj;
23683 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23684 wxWindow *arg2 = (wxWindow *) 0 ;
23685 int arg3 = (int) (int)-1 ;
23686 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23687 wxString *arg4 = (wxString *) &arg4_defvalue ;
23688 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23689 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23690 wxSize const &arg6_defvalue = wxDefaultSize ;
23691 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23692 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23693 wxString const &arg8_defvalue = wxPyEmptyString ;
23694 wxString *arg8 = (wxString *) &arg8_defvalue ;
23695 int arg9 = (int) 0 ;
23696 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
23697 wxString *arg10 = (wxString *) &arg10_defvalue ;
23698 bool result;
23699 bool temp4 = False ;
23700 wxPoint temp5 ;
23701 wxSize temp6 ;
23702 bool temp8 = False ;
23703 bool temp10 = False ;
23704 PyObject * obj0 = 0 ;
23705 PyObject * obj1 = 0 ;
23706 PyObject * obj3 = 0 ;
23707 PyObject * obj4 = 0 ;
23708 PyObject * obj5 = 0 ;
23709 PyObject * obj7 = 0 ;
23710 PyObject * obj9 = 0 ;
23711 char *kwnames[] = {
23712 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23713 };
23714
23715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23717 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23718 if (obj3) {
23719 {
23720 arg4 = wxString_in_helper(obj3);
23721 if (arg4 == NULL) SWIG_fail;
23722 temp4 = True;
23723 }
23724 }
23725 if (obj4) {
23726 {
23727 arg5 = &temp5;
23728 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23729 }
23730 }
23731 if (obj5) {
23732 {
23733 arg6 = &temp6;
23734 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23735 }
23736 }
23737 if (obj7) {
23738 {
23739 arg8 = wxString_in_helper(obj7);
23740 if (arg8 == NULL) SWIG_fail;
23741 temp8 = True;
23742 }
23743 }
23744 if (obj9) {
23745 {
23746 arg10 = wxString_in_helper(obj9);
23747 if (arg10 == NULL) SWIG_fail;
23748 temp10 = True;
23749 }
23750 }
23751 {
23752 PyThreadState* __tstate = wxPyBeginAllowThreads();
23753 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23754
23755 wxPyEndAllowThreads(__tstate);
23756 if (PyErr_Occurred()) SWIG_fail;
23757 }
23758 resultobj = PyInt_FromLong((long)result);
23759 {
23760 if (temp4)
23761 delete arg4;
23762 }
23763 {
23764 if (temp8)
23765 delete arg8;
23766 }
23767 {
23768 if (temp10)
23769 delete arg10;
23770 }
23771 return resultobj;
23772 fail:
23773 {
23774 if (temp4)
23775 delete arg4;
23776 }
23777 {
23778 if (temp8)
23779 delete arg8;
23780 }
23781 {
23782 if (temp10)
23783 delete arg10;
23784 }
23785 return NULL;
23786 }
23787
23788
23789 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23790 PyObject *resultobj;
23791 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23792 wxString *arg2 = 0 ;
23793 bool result;
23794 bool temp2 = False ;
23795 PyObject * obj0 = 0 ;
23796 PyObject * obj1 = 0 ;
23797 char *kwnames[] = {
23798 (char *) "self",(char *) "path", NULL
23799 };
23800
23801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23803 {
23804 arg2 = wxString_in_helper(obj1);
23805 if (arg2 == NULL) SWIG_fail;
23806 temp2 = True;
23807 }
23808 {
23809 PyThreadState* __tstate = wxPyBeginAllowThreads();
23810 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23811
23812 wxPyEndAllowThreads(__tstate);
23813 if (PyErr_Occurred()) SWIG_fail;
23814 }
23815 resultobj = PyInt_FromLong((long)result);
23816 {
23817 if (temp2)
23818 delete arg2;
23819 }
23820 return resultobj;
23821 fail:
23822 {
23823 if (temp2)
23824 delete arg2;
23825 }
23826 return NULL;
23827 }
23828
23829
23830 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23831 PyObject *resultobj;
23832 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23833 wxString result;
23834 PyObject * obj0 = 0 ;
23835 char *kwnames[] = {
23836 (char *) "self", NULL
23837 };
23838
23839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23841 {
23842 PyThreadState* __tstate = wxPyBeginAllowThreads();
23843 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23844
23845 wxPyEndAllowThreads(__tstate);
23846 if (PyErr_Occurred()) SWIG_fail;
23847 }
23848 {
23849 #if wxUSE_UNICODE
23850 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23851 #else
23852 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23853 #endif
23854 }
23855 return resultobj;
23856 fail:
23857 return NULL;
23858 }
23859
23860
23861 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23862 PyObject *resultobj;
23863 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23864 wxString *arg2 = 0 ;
23865 bool temp2 = False ;
23866 PyObject * obj0 = 0 ;
23867 PyObject * obj1 = 0 ;
23868 char *kwnames[] = {
23869 (char *) "self",(char *) "path", NULL
23870 };
23871
23872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23874 {
23875 arg2 = wxString_in_helper(obj1);
23876 if (arg2 == NULL) SWIG_fail;
23877 temp2 = True;
23878 }
23879 {
23880 PyThreadState* __tstate = wxPyBeginAllowThreads();
23881 (arg1)->SetDefaultPath((wxString const &)*arg2);
23882
23883 wxPyEndAllowThreads(__tstate);
23884 if (PyErr_Occurred()) SWIG_fail;
23885 }
23886 Py_INCREF(Py_None); resultobj = Py_None;
23887 {
23888 if (temp2)
23889 delete arg2;
23890 }
23891 return resultobj;
23892 fail:
23893 {
23894 if (temp2)
23895 delete arg2;
23896 }
23897 return NULL;
23898 }
23899
23900
23901 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23902 PyObject *resultobj;
23903 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23904 wxString result;
23905 PyObject * obj0 = 0 ;
23906 char *kwnames[] = {
23907 (char *) "self", NULL
23908 };
23909
23910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23912 {
23913 PyThreadState* __tstate = wxPyBeginAllowThreads();
23914 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23915
23916 wxPyEndAllowThreads(__tstate);
23917 if (PyErr_Occurred()) SWIG_fail;
23918 }
23919 {
23920 #if wxUSE_UNICODE
23921 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23922 #else
23923 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23924 #endif
23925 }
23926 return resultobj;
23927 fail:
23928 return NULL;
23929 }
23930
23931
23932 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23933 PyObject *resultobj;
23934 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23935 wxString result;
23936 PyObject * obj0 = 0 ;
23937 char *kwnames[] = {
23938 (char *) "self", NULL
23939 };
23940
23941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23943 {
23944 PyThreadState* __tstate = wxPyBeginAllowThreads();
23945 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23946
23947 wxPyEndAllowThreads(__tstate);
23948 if (PyErr_Occurred()) SWIG_fail;
23949 }
23950 {
23951 #if wxUSE_UNICODE
23952 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23953 #else
23954 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23955 #endif
23956 }
23957 return resultobj;
23958 fail:
23959 return NULL;
23960 }
23961
23962
23963 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23964 PyObject *resultobj;
23965 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23966 wxString *arg2 = 0 ;
23967 bool temp2 = False ;
23968 PyObject * obj0 = 0 ;
23969 PyObject * obj1 = 0 ;
23970 char *kwnames[] = {
23971 (char *) "self",(char *) "path", NULL
23972 };
23973
23974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23976 {
23977 arg2 = wxString_in_helper(obj1);
23978 if (arg2 == NULL) SWIG_fail;
23979 temp2 = True;
23980 }
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 (arg1)->SetPath((wxString const &)*arg2);
23984
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 Py_INCREF(Py_None); resultobj = Py_None;
23989 {
23990 if (temp2)
23991 delete arg2;
23992 }
23993 return resultobj;
23994 fail:
23995 {
23996 if (temp2)
23997 delete arg2;
23998 }
23999 return NULL;
24000 }
24001
24002
24003 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24004 PyObject *resultobj;
24005 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24006 bool arg2 ;
24007 PyObject * obj0 = 0 ;
24008 PyObject * obj1 = 0 ;
24009 char *kwnames[] = {
24010 (char *) "self",(char *) "show", NULL
24011 };
24012
24013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
24014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24015 {
24016 arg2 = (bool) SPyObj_AsBool(obj1);
24017 if (PyErr_Occurred()) SWIG_fail;
24018 }
24019 {
24020 PyThreadState* __tstate = wxPyBeginAllowThreads();
24021 (arg1)->ShowHidden(arg2);
24022
24023 wxPyEndAllowThreads(__tstate);
24024 if (PyErr_Occurred()) SWIG_fail;
24025 }
24026 Py_INCREF(Py_None); resultobj = Py_None;
24027 return resultobj;
24028 fail:
24029 return NULL;
24030 }
24031
24032
24033 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24034 PyObject *resultobj;
24035 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24036 bool result;
24037 PyObject * obj0 = 0 ;
24038 char *kwnames[] = {
24039 (char *) "self", NULL
24040 };
24041
24042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
24043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24044 {
24045 PyThreadState* __tstate = wxPyBeginAllowThreads();
24046 result = (bool)(arg1)->GetShowHidden();
24047
24048 wxPyEndAllowThreads(__tstate);
24049 if (PyErr_Occurred()) SWIG_fail;
24050 }
24051 resultobj = PyInt_FromLong((long)result);
24052 return resultobj;
24053 fail:
24054 return NULL;
24055 }
24056
24057
24058 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24059 PyObject *resultobj;
24060 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24061 wxString result;
24062 PyObject * obj0 = 0 ;
24063 char *kwnames[] = {
24064 (char *) "self", NULL
24065 };
24066
24067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
24068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24069 {
24070 PyThreadState* __tstate = wxPyBeginAllowThreads();
24071 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
24072
24073 wxPyEndAllowThreads(__tstate);
24074 if (PyErr_Occurred()) SWIG_fail;
24075 }
24076 {
24077 #if wxUSE_UNICODE
24078 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24079 #else
24080 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24081 #endif
24082 }
24083 return resultobj;
24084 fail:
24085 return NULL;
24086 }
24087
24088
24089 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24090 PyObject *resultobj;
24091 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24092 wxString *arg2 = 0 ;
24093 bool temp2 = False ;
24094 PyObject * obj0 = 0 ;
24095 PyObject * obj1 = 0 ;
24096 char *kwnames[] = {
24097 (char *) "self",(char *) "filter", NULL
24098 };
24099
24100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
24101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24102 {
24103 arg2 = wxString_in_helper(obj1);
24104 if (arg2 == NULL) SWIG_fail;
24105 temp2 = True;
24106 }
24107 {
24108 PyThreadState* __tstate = wxPyBeginAllowThreads();
24109 (arg1)->SetFilter((wxString const &)*arg2);
24110
24111 wxPyEndAllowThreads(__tstate);
24112 if (PyErr_Occurred()) SWIG_fail;
24113 }
24114 Py_INCREF(Py_None); resultobj = Py_None;
24115 {
24116 if (temp2)
24117 delete arg2;
24118 }
24119 return resultobj;
24120 fail:
24121 {
24122 if (temp2)
24123 delete arg2;
24124 }
24125 return NULL;
24126 }
24127
24128
24129 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24130 PyObject *resultobj;
24131 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24132 int result;
24133 PyObject * obj0 = 0 ;
24134 char *kwnames[] = {
24135 (char *) "self", NULL
24136 };
24137
24138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
24139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24140 {
24141 PyThreadState* __tstate = wxPyBeginAllowThreads();
24142 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
24143
24144 wxPyEndAllowThreads(__tstate);
24145 if (PyErr_Occurred()) SWIG_fail;
24146 }
24147 resultobj = PyInt_FromLong((long)result);
24148 return resultobj;
24149 fail:
24150 return NULL;
24151 }
24152
24153
24154 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24155 PyObject *resultobj;
24156 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24157 int arg2 ;
24158 PyObject * obj0 = 0 ;
24159 char *kwnames[] = {
24160 (char *) "self",(char *) "n", NULL
24161 };
24162
24163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
24164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24165 {
24166 PyThreadState* __tstate = wxPyBeginAllowThreads();
24167 (arg1)->SetFilterIndex(arg2);
24168
24169 wxPyEndAllowThreads(__tstate);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 }
24172 Py_INCREF(Py_None); resultobj = Py_None;
24173 return resultobj;
24174 fail:
24175 return NULL;
24176 }
24177
24178
24179 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
24180 PyObject *resultobj;
24181 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24182 wxTreeItemId result;
24183 PyObject * obj0 = 0 ;
24184 char *kwnames[] = {
24185 (char *) "self", NULL
24186 };
24187
24188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
24189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24190 {
24191 PyThreadState* __tstate = wxPyBeginAllowThreads();
24192 result = (arg1)->GetRootId();
24193
24194 wxPyEndAllowThreads(__tstate);
24195 if (PyErr_Occurred()) SWIG_fail;
24196 }
24197 {
24198 wxTreeItemId * resultptr;
24199 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24200 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24201 }
24202 return resultobj;
24203 fail:
24204 return NULL;
24205 }
24206
24207
24208 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24209 PyObject *resultobj;
24210 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24211 wxPyTreeCtrl *result;
24212 PyObject * obj0 = 0 ;
24213 char *kwnames[] = {
24214 (char *) "self", NULL
24215 };
24216
24217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
24218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24219 {
24220 PyThreadState* __tstate = wxPyBeginAllowThreads();
24221 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
24222
24223 wxPyEndAllowThreads(__tstate);
24224 if (PyErr_Occurred()) SWIG_fail;
24225 }
24226 {
24227 resultobj = wxPyMake_wxObject(result);
24228 }
24229 return resultobj;
24230 fail:
24231 return NULL;
24232 }
24233
24234
24235 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24236 PyObject *resultobj;
24237 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24238 wxDirFilterListCtrl *result;
24239 PyObject * obj0 = 0 ;
24240 char *kwnames[] = {
24241 (char *) "self", NULL
24242 };
24243
24244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
24245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24246 {
24247 PyThreadState* __tstate = wxPyBeginAllowThreads();
24248 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
24249
24250 wxPyEndAllowThreads(__tstate);
24251 if (PyErr_Occurred()) SWIG_fail;
24252 }
24253 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
24254 return resultobj;
24255 fail:
24256 return NULL;
24257 }
24258
24259
24260 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24261 PyObject *resultobj;
24262 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24263 wxTreeItemId arg2 ;
24264 wxString *arg3 = 0 ;
24265 bool *arg4 = 0 ;
24266 wxTreeItemId result;
24267 wxTreeItemId *argp2 ;
24268 bool temp3 = False ;
24269 bool temp4 ;
24270 PyObject * obj0 = 0 ;
24271 PyObject * obj1 = 0 ;
24272 PyObject * obj2 = 0 ;
24273 char *kwnames[] = {
24274 (char *) "self",(char *) "parentId",(char *) "path", NULL
24275 };
24276
24277 arg4 = &temp4;
24278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24280 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
24281 arg2 = *argp2;
24282 {
24283 arg3 = wxString_in_helper(obj2);
24284 if (arg3 == NULL) SWIG_fail;
24285 temp3 = True;
24286 }
24287 {
24288 PyThreadState* __tstate = wxPyBeginAllowThreads();
24289 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
24290
24291 wxPyEndAllowThreads(__tstate);
24292 if (PyErr_Occurred()) SWIG_fail;
24293 }
24294 {
24295 wxTreeItemId * resultptr;
24296 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24297 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24298 }
24299 {
24300 PyObject *o = PyInt_FromLong((long) (*arg4));
24301 resultobj = t_output_helper(resultobj,o);
24302 }
24303 {
24304 if (temp3)
24305 delete arg3;
24306 }
24307 return resultobj;
24308 fail:
24309 {
24310 if (temp3)
24311 delete arg3;
24312 }
24313 return NULL;
24314 }
24315
24316
24317 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
24318 PyObject *resultobj;
24319 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24320 PyObject * obj0 = 0 ;
24321 char *kwnames[] = {
24322 (char *) "self", NULL
24323 };
24324
24325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
24326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 (arg1)->DoResize();
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
24334 Py_INCREF(Py_None); resultobj = Py_None;
24335 return resultobj;
24336 fail:
24337 return NULL;
24338 }
24339
24340
24341 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
24342 PyObject *resultobj;
24343 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24344 PyObject * obj0 = 0 ;
24345 char *kwnames[] = {
24346 (char *) "self", NULL
24347 };
24348
24349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
24350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24351 {
24352 PyThreadState* __tstate = wxPyBeginAllowThreads();
24353 (arg1)->ReCreateTree();
24354
24355 wxPyEndAllowThreads(__tstate);
24356 if (PyErr_Occurred()) SWIG_fail;
24357 }
24358 Py_INCREF(Py_None); resultobj = Py_None;
24359 return resultobj;
24360 fail:
24361 return NULL;
24362 }
24363
24364
24365 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
24366 PyObject *obj;
24367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24368 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24369 Py_INCREF(obj);
24370 return Py_BuildValue((char *)"");
24371 }
24372 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24373 PyObject *resultobj;
24374 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24375 int arg2 = (int) (int)-1 ;
24376 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24377 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24378 wxSize const &arg4_defvalue = wxDefaultSize ;
24379 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24380 long arg5 = (long) 0 ;
24381 wxDirFilterListCtrl *result;
24382 wxPoint temp3 ;
24383 wxSize temp4 ;
24384 PyObject * obj0 = 0 ;
24385 PyObject * obj2 = 0 ;
24386 PyObject * obj3 = 0 ;
24387 char *kwnames[] = {
24388 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24389 };
24390
24391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24393 if (obj2) {
24394 {
24395 arg3 = &temp3;
24396 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24397 }
24398 }
24399 if (obj3) {
24400 {
24401 arg4 = &temp4;
24402 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24403 }
24404 }
24405 {
24406 PyThreadState* __tstate = wxPyBeginAllowThreads();
24407 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24408
24409 wxPyEndAllowThreads(__tstate);
24410 if (PyErr_Occurred()) SWIG_fail;
24411 }
24412 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24413 return resultobj;
24414 fail:
24415 return NULL;
24416 }
24417
24418
24419 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24420 PyObject *resultobj;
24421 wxDirFilterListCtrl *result;
24422 char *kwnames[] = {
24423 NULL
24424 };
24425
24426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24427 {
24428 PyThreadState* __tstate = wxPyBeginAllowThreads();
24429 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24430
24431 wxPyEndAllowThreads(__tstate);
24432 if (PyErr_Occurred()) SWIG_fail;
24433 }
24434 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24435 return resultobj;
24436 fail:
24437 return NULL;
24438 }
24439
24440
24441 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24442 PyObject *resultobj;
24443 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24444 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24445 int arg3 = (int) (int)-1 ;
24446 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24447 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24448 wxSize const &arg5_defvalue = wxDefaultSize ;
24449 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24450 long arg6 = (long) 0 ;
24451 bool result;
24452 wxPoint temp4 ;
24453 wxSize temp5 ;
24454 PyObject * obj0 = 0 ;
24455 PyObject * obj1 = 0 ;
24456 PyObject * obj3 = 0 ;
24457 PyObject * obj4 = 0 ;
24458 char *kwnames[] = {
24459 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24460 };
24461
24462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24464 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24465 if (obj3) {
24466 {
24467 arg4 = &temp4;
24468 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24469 }
24470 }
24471 if (obj4) {
24472 {
24473 arg5 = &temp5;
24474 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24475 }
24476 }
24477 {
24478 PyThreadState* __tstate = wxPyBeginAllowThreads();
24479 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24480
24481 wxPyEndAllowThreads(__tstate);
24482 if (PyErr_Occurred()) SWIG_fail;
24483 }
24484 resultobj = PyInt_FromLong((long)result);
24485 return resultobj;
24486 fail:
24487 return NULL;
24488 }
24489
24490
24491 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24492 PyObject *resultobj;
24493 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24494 wxString *arg2 = 0 ;
24495 int arg3 ;
24496 bool temp2 = False ;
24497 PyObject * obj0 = 0 ;
24498 PyObject * obj1 = 0 ;
24499 char *kwnames[] = {
24500 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24501 };
24502
24503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24505 {
24506 arg2 = wxString_in_helper(obj1);
24507 if (arg2 == NULL) SWIG_fail;
24508 temp2 = True;
24509 }
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24513
24514 wxPyEndAllowThreads(__tstate);
24515 if (PyErr_Occurred()) SWIG_fail;
24516 }
24517 Py_INCREF(Py_None); resultobj = Py_None;
24518 {
24519 if (temp2)
24520 delete arg2;
24521 }
24522 return resultobj;
24523 fail:
24524 {
24525 if (temp2)
24526 delete arg2;
24527 }
24528 return NULL;
24529 }
24530
24531
24532 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24533 PyObject *obj;
24534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24535 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24536 Py_INCREF(obj);
24537 return Py_BuildValue((char *)"");
24538 }
24539 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24540 PyObject *resultobj;
24541 wxWindow *arg1 = (wxWindow *) 0 ;
24542 int arg2 ;
24543 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24544 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24545 wxSize const &arg4_defvalue = wxDefaultSize ;
24546 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24547 long arg5 = (long) 0 ;
24548 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24549 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24550 wxString const &arg7_defvalue = wxPyControlNameStr ;
24551 wxString *arg7 = (wxString *) &arg7_defvalue ;
24552 wxPyControl *result;
24553 wxPoint temp3 ;
24554 wxSize temp4 ;
24555 bool temp7 = False ;
24556 PyObject * obj0 = 0 ;
24557 PyObject * obj2 = 0 ;
24558 PyObject * obj3 = 0 ;
24559 PyObject * obj5 = 0 ;
24560 PyObject * obj6 = 0 ;
24561 char *kwnames[] = {
24562 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24563 };
24564
24565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24567 if (obj2) {
24568 {
24569 arg3 = &temp3;
24570 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24571 }
24572 }
24573 if (obj3) {
24574 {
24575 arg4 = &temp4;
24576 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24577 }
24578 }
24579 if (obj5) {
24580 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24581 if (arg6 == NULL) {
24582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24583 }
24584 }
24585 if (obj6) {
24586 {
24587 arg7 = wxString_in_helper(obj6);
24588 if (arg7 == NULL) SWIG_fail;
24589 temp7 = True;
24590 }
24591 }
24592 {
24593 PyThreadState* __tstate = wxPyBeginAllowThreads();
24594 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24595
24596 wxPyEndAllowThreads(__tstate);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 }
24599 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24600 {
24601 if (temp7)
24602 delete arg7;
24603 }
24604 return resultobj;
24605 fail:
24606 {
24607 if (temp7)
24608 delete arg7;
24609 }
24610 return NULL;
24611 }
24612
24613
24614 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24615 PyObject *resultobj;
24616 wxPyControl *arg1 = (wxPyControl *) 0 ;
24617 PyObject *arg2 = (PyObject *) 0 ;
24618 PyObject *arg3 = (PyObject *) 0 ;
24619 PyObject * obj0 = 0 ;
24620 PyObject * obj1 = 0 ;
24621 PyObject * obj2 = 0 ;
24622 char *kwnames[] = {
24623 (char *) "self",(char *) "self",(char *) "_class", NULL
24624 };
24625
24626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24628 arg2 = obj1;
24629 arg3 = obj2;
24630 {
24631 PyThreadState* __tstate = wxPyBeginAllowThreads();
24632 (arg1)->_setCallbackInfo(arg2,arg3);
24633
24634 wxPyEndAllowThreads(__tstate);
24635 if (PyErr_Occurred()) SWIG_fail;
24636 }
24637 Py_INCREF(Py_None); resultobj = Py_None;
24638 return resultobj;
24639 fail:
24640 return NULL;
24641 }
24642
24643
24644 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24645 PyObject *resultobj;
24646 wxPyControl *arg1 = (wxPyControl *) 0 ;
24647 int arg2 ;
24648 int arg3 ;
24649 int arg4 ;
24650 int arg5 ;
24651 PyObject * obj0 = 0 ;
24652 char *kwnames[] = {
24653 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24654 };
24655
24656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24658 {
24659 PyThreadState* __tstate = wxPyBeginAllowThreads();
24660 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24661
24662 wxPyEndAllowThreads(__tstate);
24663 if (PyErr_Occurred()) SWIG_fail;
24664 }
24665 Py_INCREF(Py_None); resultobj = Py_None;
24666 return resultobj;
24667 fail:
24668 return NULL;
24669 }
24670
24671
24672 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24673 PyObject *resultobj;
24674 wxPyControl *arg1 = (wxPyControl *) 0 ;
24675 int arg2 ;
24676 int arg3 ;
24677 int arg4 ;
24678 int arg5 ;
24679 int arg6 = (int) wxSIZE_AUTO ;
24680 PyObject * obj0 = 0 ;
24681 char *kwnames[] = {
24682 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24683 };
24684
24685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24690
24691 wxPyEndAllowThreads(__tstate);
24692 if (PyErr_Occurred()) SWIG_fail;
24693 }
24694 Py_INCREF(Py_None); resultobj = Py_None;
24695 return resultobj;
24696 fail:
24697 return NULL;
24698 }
24699
24700
24701 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24702 PyObject *resultobj;
24703 wxPyControl *arg1 = (wxPyControl *) 0 ;
24704 int arg2 ;
24705 int arg3 ;
24706 PyObject * obj0 = 0 ;
24707 char *kwnames[] = {
24708 (char *) "self",(char *) "width",(char *) "height", NULL
24709 };
24710
24711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24713 {
24714 PyThreadState* __tstate = wxPyBeginAllowThreads();
24715 (arg1)->base_DoSetClientSize(arg2,arg3);
24716
24717 wxPyEndAllowThreads(__tstate);
24718 if (PyErr_Occurred()) SWIG_fail;
24719 }
24720 Py_INCREF(Py_None); resultobj = Py_None;
24721 return resultobj;
24722 fail:
24723 return NULL;
24724 }
24725
24726
24727 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24728 PyObject *resultobj;
24729 wxPyControl *arg1 = (wxPyControl *) 0 ;
24730 int arg2 ;
24731 int arg3 ;
24732 PyObject * obj0 = 0 ;
24733 char *kwnames[] = {
24734 (char *) "self",(char *) "x",(char *) "y", NULL
24735 };
24736
24737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24739 {
24740 PyThreadState* __tstate = wxPyBeginAllowThreads();
24741 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24742
24743 wxPyEndAllowThreads(__tstate);
24744 if (PyErr_Occurred()) SWIG_fail;
24745 }
24746 Py_INCREF(Py_None); resultobj = Py_None;
24747 return resultobj;
24748 fail:
24749 return NULL;
24750 }
24751
24752
24753 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24754 PyObject *resultobj;
24755 wxPyControl *arg1 = (wxPyControl *) 0 ;
24756 int *arg2 = (int *) 0 ;
24757 int *arg3 = (int *) 0 ;
24758 int temp2 ;
24759 int temp3 ;
24760 PyObject * obj0 = 0 ;
24761 char *kwnames[] = {
24762 (char *) "self", NULL
24763 };
24764
24765 arg2 = &temp2;
24766 arg3 = &temp3;
24767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24769 {
24770 PyThreadState* __tstate = wxPyBeginAllowThreads();
24771 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24772
24773 wxPyEndAllowThreads(__tstate);
24774 if (PyErr_Occurred()) SWIG_fail;
24775 }
24776 Py_INCREF(Py_None); resultobj = Py_None;
24777 {
24778 PyObject *o = PyInt_FromLong((long) (*arg2));
24779 resultobj = t_output_helper(resultobj,o);
24780 }
24781 {
24782 PyObject *o = PyInt_FromLong((long) (*arg3));
24783 resultobj = t_output_helper(resultobj,o);
24784 }
24785 return resultobj;
24786 fail:
24787 return NULL;
24788 }
24789
24790
24791 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24792 PyObject *resultobj;
24793 wxPyControl *arg1 = (wxPyControl *) 0 ;
24794 int *arg2 = (int *) 0 ;
24795 int *arg3 = (int *) 0 ;
24796 int temp2 ;
24797 int temp3 ;
24798 PyObject * obj0 = 0 ;
24799 char *kwnames[] = {
24800 (char *) "self", NULL
24801 };
24802
24803 arg2 = &temp2;
24804 arg3 = &temp3;
24805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24807 {
24808 PyThreadState* __tstate = wxPyBeginAllowThreads();
24809 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24810
24811 wxPyEndAllowThreads(__tstate);
24812 if (PyErr_Occurred()) SWIG_fail;
24813 }
24814 Py_INCREF(Py_None); resultobj = Py_None;
24815 {
24816 PyObject *o = PyInt_FromLong((long) (*arg2));
24817 resultobj = t_output_helper(resultobj,o);
24818 }
24819 {
24820 PyObject *o = PyInt_FromLong((long) (*arg3));
24821 resultobj = t_output_helper(resultobj,o);
24822 }
24823 return resultobj;
24824 fail:
24825 return NULL;
24826 }
24827
24828
24829 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24830 PyObject *resultobj;
24831 wxPyControl *arg1 = (wxPyControl *) 0 ;
24832 int *arg2 = (int *) 0 ;
24833 int *arg3 = (int *) 0 ;
24834 int temp2 ;
24835 int temp3 ;
24836 PyObject * obj0 = 0 ;
24837 char *kwnames[] = {
24838 (char *) "self", NULL
24839 };
24840
24841 arg2 = &temp2;
24842 arg3 = &temp3;
24843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24845 {
24846 PyThreadState* __tstate = wxPyBeginAllowThreads();
24847 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24848
24849 wxPyEndAllowThreads(__tstate);
24850 if (PyErr_Occurred()) SWIG_fail;
24851 }
24852 Py_INCREF(Py_None); resultobj = Py_None;
24853 {
24854 PyObject *o = PyInt_FromLong((long) (*arg2));
24855 resultobj = t_output_helper(resultobj,o);
24856 }
24857 {
24858 PyObject *o = PyInt_FromLong((long) (*arg3));
24859 resultobj = t_output_helper(resultobj,o);
24860 }
24861 return resultobj;
24862 fail:
24863 return NULL;
24864 }
24865
24866
24867 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24868 PyObject *resultobj;
24869 wxPyControl *arg1 = (wxPyControl *) 0 ;
24870 wxSize result;
24871 PyObject * obj0 = 0 ;
24872 char *kwnames[] = {
24873 (char *) "self", NULL
24874 };
24875
24876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24878 {
24879 PyThreadState* __tstate = wxPyBeginAllowThreads();
24880 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24881
24882 wxPyEndAllowThreads(__tstate);
24883 if (PyErr_Occurred()) SWIG_fail;
24884 }
24885 {
24886 wxSize * resultptr;
24887 resultptr = new wxSize((wxSize &) result);
24888 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24889 }
24890 return resultobj;
24891 fail:
24892 return NULL;
24893 }
24894
24895
24896 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24897 PyObject *resultobj;
24898 wxPyControl *arg1 = (wxPyControl *) 0 ;
24899 wxSize result;
24900 PyObject * obj0 = 0 ;
24901 char *kwnames[] = {
24902 (char *) "self", NULL
24903 };
24904
24905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24907 {
24908 PyThreadState* __tstate = wxPyBeginAllowThreads();
24909 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24910
24911 wxPyEndAllowThreads(__tstate);
24912 if (PyErr_Occurred()) SWIG_fail;
24913 }
24914 {
24915 wxSize * resultptr;
24916 resultptr = new wxSize((wxSize &) result);
24917 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24918 }
24919 return resultobj;
24920 fail:
24921 return NULL;
24922 }
24923
24924
24925 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24926 PyObject *resultobj;
24927 wxPyControl *arg1 = (wxPyControl *) 0 ;
24928 PyObject * obj0 = 0 ;
24929 char *kwnames[] = {
24930 (char *) "self", NULL
24931 };
24932
24933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24935 {
24936 PyThreadState* __tstate = wxPyBeginAllowThreads();
24937 (arg1)->base_InitDialog();
24938
24939 wxPyEndAllowThreads(__tstate);
24940 if (PyErr_Occurred()) SWIG_fail;
24941 }
24942 Py_INCREF(Py_None); resultobj = Py_None;
24943 return resultobj;
24944 fail:
24945 return NULL;
24946 }
24947
24948
24949 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24950 PyObject *resultobj;
24951 wxPyControl *arg1 = (wxPyControl *) 0 ;
24952 bool result;
24953 PyObject * obj0 = 0 ;
24954 char *kwnames[] = {
24955 (char *) "self", NULL
24956 };
24957
24958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24960 {
24961 PyThreadState* __tstate = wxPyBeginAllowThreads();
24962 result = (bool)(arg1)->base_TransferDataToWindow();
24963
24964 wxPyEndAllowThreads(__tstate);
24965 if (PyErr_Occurred()) SWIG_fail;
24966 }
24967 resultobj = PyInt_FromLong((long)result);
24968 return resultobj;
24969 fail:
24970 return NULL;
24971 }
24972
24973
24974 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24975 PyObject *resultobj;
24976 wxPyControl *arg1 = (wxPyControl *) 0 ;
24977 bool result;
24978 PyObject * obj0 = 0 ;
24979 char *kwnames[] = {
24980 (char *) "self", NULL
24981 };
24982
24983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24985 {
24986 PyThreadState* __tstate = wxPyBeginAllowThreads();
24987 result = (bool)(arg1)->base_TransferDataFromWindow();
24988
24989 wxPyEndAllowThreads(__tstate);
24990 if (PyErr_Occurred()) SWIG_fail;
24991 }
24992 resultobj = PyInt_FromLong((long)result);
24993 return resultobj;
24994 fail:
24995 return NULL;
24996 }
24997
24998
24999 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
25000 PyObject *resultobj;
25001 wxPyControl *arg1 = (wxPyControl *) 0 ;
25002 bool result;
25003 PyObject * obj0 = 0 ;
25004 char *kwnames[] = {
25005 (char *) "self", NULL
25006 };
25007
25008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
25009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25010 {
25011 PyThreadState* __tstate = wxPyBeginAllowThreads();
25012 result = (bool)(arg1)->base_Validate();
25013
25014 wxPyEndAllowThreads(__tstate);
25015 if (PyErr_Occurred()) SWIG_fail;
25016 }
25017 resultobj = PyInt_FromLong((long)result);
25018 return resultobj;
25019 fail:
25020 return NULL;
25021 }
25022
25023
25024 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
25025 PyObject *resultobj;
25026 wxPyControl *arg1 = (wxPyControl *) 0 ;
25027 bool result;
25028 PyObject * obj0 = 0 ;
25029 char *kwnames[] = {
25030 (char *) "self", NULL
25031 };
25032
25033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
25034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25035 {
25036 PyThreadState* __tstate = wxPyBeginAllowThreads();
25037 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
25038
25039 wxPyEndAllowThreads(__tstate);
25040 if (PyErr_Occurred()) SWIG_fail;
25041 }
25042 resultobj = PyInt_FromLong((long)result);
25043 return resultobj;
25044 fail:
25045 return NULL;
25046 }
25047
25048
25049 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
25050 PyObject *resultobj;
25051 wxPyControl *arg1 = (wxPyControl *) 0 ;
25052 bool result;
25053 PyObject * obj0 = 0 ;
25054 char *kwnames[] = {
25055 (char *) "self", NULL
25056 };
25057
25058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
25059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25060 {
25061 PyThreadState* __tstate = wxPyBeginAllowThreads();
25062 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
25063
25064 wxPyEndAllowThreads(__tstate);
25065 if (PyErr_Occurred()) SWIG_fail;
25066 }
25067 resultobj = PyInt_FromLong((long)result);
25068 return resultobj;
25069 fail:
25070 return NULL;
25071 }
25072
25073
25074 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25075 PyObject *resultobj;
25076 wxPyControl *arg1 = (wxPyControl *) 0 ;
25077 wxSize result;
25078 PyObject * obj0 = 0 ;
25079 char *kwnames[] = {
25080 (char *) "self", NULL
25081 };
25082
25083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
25084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25085 {
25086 PyThreadState* __tstate = wxPyBeginAllowThreads();
25087 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
25088
25089 wxPyEndAllowThreads(__tstate);
25090 if (PyErr_Occurred()) SWIG_fail;
25091 }
25092 {
25093 wxSize * resultptr;
25094 resultptr = new wxSize((wxSize &) result);
25095 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25096 }
25097 return resultobj;
25098 fail:
25099 return NULL;
25100 }
25101
25102
25103 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25104 PyObject *resultobj;
25105 wxPyControl *arg1 = (wxPyControl *) 0 ;
25106 wxWindow *arg2 = (wxWindow *) 0 ;
25107 PyObject * obj0 = 0 ;
25108 PyObject * obj1 = 0 ;
25109 char *kwnames[] = {
25110 (char *) "self",(char *) "child", NULL
25111 };
25112
25113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
25114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25116 {
25117 PyThreadState* __tstate = wxPyBeginAllowThreads();
25118 (arg1)->base_AddChild(arg2);
25119
25120 wxPyEndAllowThreads(__tstate);
25121 if (PyErr_Occurred()) SWIG_fail;
25122 }
25123 Py_INCREF(Py_None); resultobj = Py_None;
25124 return resultobj;
25125 fail:
25126 return NULL;
25127 }
25128
25129
25130 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25131 PyObject *resultobj;
25132 wxPyControl *arg1 = (wxPyControl *) 0 ;
25133 wxWindow *arg2 = (wxWindow *) 0 ;
25134 PyObject * obj0 = 0 ;
25135 PyObject * obj1 = 0 ;
25136 char *kwnames[] = {
25137 (char *) "self",(char *) "child", NULL
25138 };
25139
25140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
25141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25143 {
25144 PyThreadState* __tstate = wxPyBeginAllowThreads();
25145 (arg1)->base_RemoveChild(arg2);
25146
25147 wxPyEndAllowThreads(__tstate);
25148 if (PyErr_Occurred()) SWIG_fail;
25149 }
25150 Py_INCREF(Py_None); resultobj = Py_None;
25151 return resultobj;
25152 fail:
25153 return NULL;
25154 }
25155
25156
25157 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
25158 PyObject *obj;
25159 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25160 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
25161 Py_INCREF(obj);
25162 return Py_BuildValue((char *)"");
25163 }
25164 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
25165 PyObject *resultobj;
25166 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
25167 int arg2 = (int) 0 ;
25168 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25169 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25170 wxHelpEvent *result;
25171 wxPoint temp3 ;
25172 PyObject * obj2 = 0 ;
25173 char *kwnames[] = {
25174 (char *) "type",(char *) "winid",(char *) "pt", NULL
25175 };
25176
25177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
25178 if (obj2) {
25179 {
25180 arg3 = &temp3;
25181 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25182 }
25183 }
25184 {
25185 PyThreadState* __tstate = wxPyBeginAllowThreads();
25186 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
25187
25188 wxPyEndAllowThreads(__tstate);
25189 if (PyErr_Occurred()) SWIG_fail;
25190 }
25191 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
25192 return resultobj;
25193 fail:
25194 return NULL;
25195 }
25196
25197
25198 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25199 PyObject *resultobj;
25200 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25201 wxPoint *result;
25202 PyObject * obj0 = 0 ;
25203 char *kwnames[] = {
25204 (char *) "self", NULL
25205 };
25206
25207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
25208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 {
25212 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
25213 result = (wxPoint *) &_result_ref;
25214 }
25215
25216 wxPyEndAllowThreads(__tstate);
25217 if (PyErr_Occurred()) SWIG_fail;
25218 }
25219 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
25220 return resultobj;
25221 fail:
25222 return NULL;
25223 }
25224
25225
25226 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25227 PyObject *resultobj;
25228 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25229 wxPoint *arg2 = 0 ;
25230 wxPoint temp2 ;
25231 PyObject * obj0 = 0 ;
25232 PyObject * obj1 = 0 ;
25233 char *kwnames[] = {
25234 (char *) "self",(char *) "pos", NULL
25235 };
25236
25237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
25238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25239 {
25240 arg2 = &temp2;
25241 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25242 }
25243 {
25244 PyThreadState* __tstate = wxPyBeginAllowThreads();
25245 (arg1)->SetPosition((wxPoint const &)*arg2);
25246
25247 wxPyEndAllowThreads(__tstate);
25248 if (PyErr_Occurred()) SWIG_fail;
25249 }
25250 Py_INCREF(Py_None); resultobj = Py_None;
25251 return resultobj;
25252 fail:
25253 return NULL;
25254 }
25255
25256
25257 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25258 PyObject *resultobj;
25259 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25260 wxString *result;
25261 PyObject * obj0 = 0 ;
25262 char *kwnames[] = {
25263 (char *) "self", NULL
25264 };
25265
25266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
25267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25268 {
25269 PyThreadState* __tstate = wxPyBeginAllowThreads();
25270 {
25271 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
25272 result = (wxString *) &_result_ref;
25273 }
25274
25275 wxPyEndAllowThreads(__tstate);
25276 if (PyErr_Occurred()) SWIG_fail;
25277 }
25278 {
25279 #if wxUSE_UNICODE
25280 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25281 #else
25282 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25283 #endif
25284 }
25285 return resultobj;
25286 fail:
25287 return NULL;
25288 }
25289
25290
25291 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25292 PyObject *resultobj;
25293 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25294 wxString *arg2 = 0 ;
25295 bool temp2 = False ;
25296 PyObject * obj0 = 0 ;
25297 PyObject * obj1 = 0 ;
25298 char *kwnames[] = {
25299 (char *) "self",(char *) "link", NULL
25300 };
25301
25302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
25303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25304 {
25305 arg2 = wxString_in_helper(obj1);
25306 if (arg2 == NULL) SWIG_fail;
25307 temp2 = True;
25308 }
25309 {
25310 PyThreadState* __tstate = wxPyBeginAllowThreads();
25311 (arg1)->SetLink((wxString const &)*arg2);
25312
25313 wxPyEndAllowThreads(__tstate);
25314 if (PyErr_Occurred()) SWIG_fail;
25315 }
25316 Py_INCREF(Py_None); resultobj = Py_None;
25317 {
25318 if (temp2)
25319 delete arg2;
25320 }
25321 return resultobj;
25322 fail:
25323 {
25324 if (temp2)
25325 delete arg2;
25326 }
25327 return NULL;
25328 }
25329
25330
25331 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25332 PyObject *resultobj;
25333 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25334 wxString *result;
25335 PyObject * obj0 = 0 ;
25336 char *kwnames[] = {
25337 (char *) "self", NULL
25338 };
25339
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
25341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25342 {
25343 PyThreadState* __tstate = wxPyBeginAllowThreads();
25344 {
25345 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
25346 result = (wxString *) &_result_ref;
25347 }
25348
25349 wxPyEndAllowThreads(__tstate);
25350 if (PyErr_Occurred()) SWIG_fail;
25351 }
25352 {
25353 #if wxUSE_UNICODE
25354 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25355 #else
25356 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25357 #endif
25358 }
25359 return resultobj;
25360 fail:
25361 return NULL;
25362 }
25363
25364
25365 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25366 PyObject *resultobj;
25367 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25368 wxString *arg2 = 0 ;
25369 bool temp2 = False ;
25370 PyObject * obj0 = 0 ;
25371 PyObject * obj1 = 0 ;
25372 char *kwnames[] = {
25373 (char *) "self",(char *) "target", NULL
25374 };
25375
25376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25378 {
25379 arg2 = wxString_in_helper(obj1);
25380 if (arg2 == NULL) SWIG_fail;
25381 temp2 = True;
25382 }
25383 {
25384 PyThreadState* __tstate = wxPyBeginAllowThreads();
25385 (arg1)->SetTarget((wxString const &)*arg2);
25386
25387 wxPyEndAllowThreads(__tstate);
25388 if (PyErr_Occurred()) SWIG_fail;
25389 }
25390 Py_INCREF(Py_None); resultobj = Py_None;
25391 {
25392 if (temp2)
25393 delete arg2;
25394 }
25395 return resultobj;
25396 fail:
25397 {
25398 if (temp2)
25399 delete arg2;
25400 }
25401 return NULL;
25402 }
25403
25404
25405 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25406 PyObject *obj;
25407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25408 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25409 Py_INCREF(obj);
25410 return Py_BuildValue((char *)"");
25411 }
25412 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25413 PyObject *resultobj;
25414 wxWindow *arg1 = (wxWindow *) NULL ;
25415 bool arg2 = (bool) True ;
25416 wxContextHelp *result;
25417 PyObject * obj0 = 0 ;
25418 PyObject * obj1 = 0 ;
25419 char *kwnames[] = {
25420 (char *) "window",(char *) "doNow", NULL
25421 };
25422
25423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25424 if (obj0) {
25425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25426 }
25427 if (obj1) {
25428 {
25429 arg2 = (bool) SPyObj_AsBool(obj1);
25430 if (PyErr_Occurred()) SWIG_fail;
25431 }
25432 }
25433 {
25434 PyThreadState* __tstate = wxPyBeginAllowThreads();
25435 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25436
25437 wxPyEndAllowThreads(__tstate);
25438 if (PyErr_Occurred()) SWIG_fail;
25439 }
25440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25441 return resultobj;
25442 fail:
25443 return NULL;
25444 }
25445
25446
25447 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25448 PyObject *resultobj;
25449 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25450 PyObject * obj0 = 0 ;
25451 char *kwnames[] = {
25452 (char *) "self", NULL
25453 };
25454
25455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25457 {
25458 PyThreadState* __tstate = wxPyBeginAllowThreads();
25459 delete arg1;
25460
25461 wxPyEndAllowThreads(__tstate);
25462 if (PyErr_Occurred()) SWIG_fail;
25463 }
25464 Py_INCREF(Py_None); resultobj = Py_None;
25465 return resultobj;
25466 fail:
25467 return NULL;
25468 }
25469
25470
25471 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25472 PyObject *resultobj;
25473 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25474 wxWindow *arg2 = (wxWindow *) NULL ;
25475 bool result;
25476 PyObject * obj0 = 0 ;
25477 PyObject * obj1 = 0 ;
25478 char *kwnames[] = {
25479 (char *) "self",(char *) "window", NULL
25480 };
25481
25482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25484 if (obj1) {
25485 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25486 }
25487 {
25488 PyThreadState* __tstate = wxPyBeginAllowThreads();
25489 result = (bool)(arg1)->BeginContextHelp(arg2);
25490
25491 wxPyEndAllowThreads(__tstate);
25492 if (PyErr_Occurred()) SWIG_fail;
25493 }
25494 resultobj = PyInt_FromLong((long)result);
25495 return resultobj;
25496 fail:
25497 return NULL;
25498 }
25499
25500
25501 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25502 PyObject *resultobj;
25503 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25504 bool result;
25505 PyObject * obj0 = 0 ;
25506 char *kwnames[] = {
25507 (char *) "self", NULL
25508 };
25509
25510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25512 {
25513 PyThreadState* __tstate = wxPyBeginAllowThreads();
25514 result = (bool)(arg1)->EndContextHelp();
25515
25516 wxPyEndAllowThreads(__tstate);
25517 if (PyErr_Occurred()) SWIG_fail;
25518 }
25519 resultobj = PyInt_FromLong((long)result);
25520 return resultobj;
25521 fail:
25522 return NULL;
25523 }
25524
25525
25526 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25527 PyObject *obj;
25528 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25529 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25530 Py_INCREF(obj);
25531 return Py_BuildValue((char *)"");
25532 }
25533 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25534 PyObject *resultobj;
25535 wxWindow *arg1 = (wxWindow *) 0 ;
25536 int arg2 = (int) wxID_CONTEXT_HELP ;
25537 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25538 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25539 wxSize const &arg4_defvalue = wxDefaultSize ;
25540 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25541 long arg5 = (long) wxBU_AUTODRAW ;
25542 wxContextHelpButton *result;
25543 wxPoint temp3 ;
25544 wxSize temp4 ;
25545 PyObject * obj0 = 0 ;
25546 PyObject * obj2 = 0 ;
25547 PyObject * obj3 = 0 ;
25548 char *kwnames[] = {
25549 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25550 };
25551
25552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25554 if (obj2) {
25555 {
25556 arg3 = &temp3;
25557 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25558 }
25559 }
25560 if (obj3) {
25561 {
25562 arg4 = &temp4;
25563 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25564 }
25565 }
25566 {
25567 PyThreadState* __tstate = wxPyBeginAllowThreads();
25568 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25569
25570 wxPyEndAllowThreads(__tstate);
25571 if (PyErr_Occurred()) SWIG_fail;
25572 }
25573 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25574 return resultobj;
25575 fail:
25576 return NULL;
25577 }
25578
25579
25580 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25581 PyObject *obj;
25582 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25583 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25584 Py_INCREF(obj);
25585 return Py_BuildValue((char *)"");
25586 }
25587 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25588 PyObject *resultobj;
25589 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25590 wxHelpProvider *result;
25591 PyObject * obj0 = 0 ;
25592 char *kwnames[] = {
25593 (char *) "helpProvider", NULL
25594 };
25595
25596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25598 {
25599 PyThreadState* __tstate = wxPyBeginAllowThreads();
25600 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25601
25602 wxPyEndAllowThreads(__tstate);
25603 if (PyErr_Occurred()) SWIG_fail;
25604 }
25605 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25606 return resultobj;
25607 fail:
25608 return NULL;
25609 }
25610
25611
25612 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25613 PyObject *resultobj;
25614 wxHelpProvider *result;
25615 char *kwnames[] = {
25616 NULL
25617 };
25618
25619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25620 {
25621 PyThreadState* __tstate = wxPyBeginAllowThreads();
25622 result = (wxHelpProvider *)wxHelpProvider::Get();
25623
25624 wxPyEndAllowThreads(__tstate);
25625 if (PyErr_Occurred()) SWIG_fail;
25626 }
25627 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25628 return resultobj;
25629 fail:
25630 return NULL;
25631 }
25632
25633
25634 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25635 PyObject *resultobj;
25636 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25637 wxWindow *arg2 = (wxWindow *) 0 ;
25638 wxString result;
25639 PyObject * obj0 = 0 ;
25640 PyObject * obj1 = 0 ;
25641 char *kwnames[] = {
25642 (char *) "self",(char *) "window", NULL
25643 };
25644
25645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25648 {
25649 PyThreadState* __tstate = wxPyBeginAllowThreads();
25650 result = (arg1)->GetHelp((wxWindow const *)arg2);
25651
25652 wxPyEndAllowThreads(__tstate);
25653 if (PyErr_Occurred()) SWIG_fail;
25654 }
25655 {
25656 #if wxUSE_UNICODE
25657 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25658 #else
25659 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25660 #endif
25661 }
25662 return resultobj;
25663 fail:
25664 return NULL;
25665 }
25666
25667
25668 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25669 PyObject *resultobj;
25670 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25671 wxWindow *arg2 = (wxWindow *) 0 ;
25672 bool result;
25673 PyObject * obj0 = 0 ;
25674 PyObject * obj1 = 0 ;
25675 char *kwnames[] = {
25676 (char *) "self",(char *) "window", NULL
25677 };
25678
25679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25682 {
25683 PyThreadState* __tstate = wxPyBeginAllowThreads();
25684 result = (bool)(arg1)->ShowHelp(arg2);
25685
25686 wxPyEndAllowThreads(__tstate);
25687 if (PyErr_Occurred()) SWIG_fail;
25688 }
25689 resultobj = PyInt_FromLong((long)result);
25690 return resultobj;
25691 fail:
25692 return NULL;
25693 }
25694
25695
25696 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25697 PyObject *resultobj;
25698 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25699 wxWindow *arg2 = (wxWindow *) 0 ;
25700 wxString *arg3 = 0 ;
25701 bool temp3 = False ;
25702 PyObject * obj0 = 0 ;
25703 PyObject * obj1 = 0 ;
25704 PyObject * obj2 = 0 ;
25705 char *kwnames[] = {
25706 (char *) "self",(char *) "window",(char *) "text", NULL
25707 };
25708
25709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25712 {
25713 arg3 = wxString_in_helper(obj2);
25714 if (arg3 == NULL) SWIG_fail;
25715 temp3 = True;
25716 }
25717 {
25718 PyThreadState* __tstate = wxPyBeginAllowThreads();
25719 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25720
25721 wxPyEndAllowThreads(__tstate);
25722 if (PyErr_Occurred()) SWIG_fail;
25723 }
25724 Py_INCREF(Py_None); resultobj = Py_None;
25725 {
25726 if (temp3)
25727 delete arg3;
25728 }
25729 return resultobj;
25730 fail:
25731 {
25732 if (temp3)
25733 delete arg3;
25734 }
25735 return NULL;
25736 }
25737
25738
25739 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25740 PyObject *resultobj;
25741 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25742 int arg2 ;
25743 wxString *arg3 = 0 ;
25744 bool temp3 = False ;
25745 PyObject * obj0 = 0 ;
25746 PyObject * obj2 = 0 ;
25747 char *kwnames[] = {
25748 (char *) "self",(char *) "id",(char *) "text", NULL
25749 };
25750
25751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25753 {
25754 arg3 = wxString_in_helper(obj2);
25755 if (arg3 == NULL) SWIG_fail;
25756 temp3 = True;
25757 }
25758 {
25759 PyThreadState* __tstate = wxPyBeginAllowThreads();
25760 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25761
25762 wxPyEndAllowThreads(__tstate);
25763 if (PyErr_Occurred()) SWIG_fail;
25764 }
25765 Py_INCREF(Py_None); resultobj = Py_None;
25766 {
25767 if (temp3)
25768 delete arg3;
25769 }
25770 return resultobj;
25771 fail:
25772 {
25773 if (temp3)
25774 delete arg3;
25775 }
25776 return NULL;
25777 }
25778
25779
25780 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25781 PyObject *resultobj;
25782 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25783 PyObject * obj0 = 0 ;
25784 char *kwnames[] = {
25785 (char *) "self", NULL
25786 };
25787
25788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25790 {
25791 PyThreadState* __tstate = wxPyBeginAllowThreads();
25792 wxHelpProvider_Destroy(arg1);
25793
25794 wxPyEndAllowThreads(__tstate);
25795 if (PyErr_Occurred()) SWIG_fail;
25796 }
25797 Py_INCREF(Py_None); resultobj = Py_None;
25798 return resultobj;
25799 fail:
25800 return NULL;
25801 }
25802
25803
25804 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25805 PyObject *obj;
25806 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25807 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25808 Py_INCREF(obj);
25809 return Py_BuildValue((char *)"");
25810 }
25811 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25812 PyObject *resultobj;
25813 wxSimpleHelpProvider *result;
25814 char *kwnames[] = {
25815 NULL
25816 };
25817
25818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25827 return resultobj;
25828 fail:
25829 return NULL;
25830 }
25831
25832
25833 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25834 PyObject *obj;
25835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25836 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25837 Py_INCREF(obj);
25838 return Py_BuildValue((char *)"");
25839 }
25840 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25841 PyObject *resultobj;
25842 wxBitmap *arg1 = 0 ;
25843 wxCursor const &arg2_defvalue = wxNullCursor ;
25844 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25845 wxGenericDragImage *result;
25846 PyObject * obj0 = 0 ;
25847 PyObject * obj1 = 0 ;
25848 char *kwnames[] = {
25849 (char *) "image",(char *) "cursor", NULL
25850 };
25851
25852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25854 if (arg1 == NULL) {
25855 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25856 }
25857 if (obj1) {
25858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25859 if (arg2 == NULL) {
25860 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25861 }
25862 }
25863 {
25864 PyThreadState* __tstate = wxPyBeginAllowThreads();
25865 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25866
25867 wxPyEndAllowThreads(__tstate);
25868 if (PyErr_Occurred()) SWIG_fail;
25869 }
25870 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25871 return resultobj;
25872 fail:
25873 return NULL;
25874 }
25875
25876
25877 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25878 PyObject *resultobj;
25879 wxIcon *arg1 = 0 ;
25880 wxCursor const &arg2_defvalue = wxNullCursor ;
25881 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25882 wxGenericDragImage *result;
25883 PyObject * obj0 = 0 ;
25884 PyObject * obj1 = 0 ;
25885 char *kwnames[] = {
25886 (char *) "image",(char *) "cursor", NULL
25887 };
25888
25889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25891 if (arg1 == NULL) {
25892 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25893 }
25894 if (obj1) {
25895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25896 if (arg2 == NULL) {
25897 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25898 }
25899 }
25900 {
25901 PyThreadState* __tstate = wxPyBeginAllowThreads();
25902 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25903
25904 wxPyEndAllowThreads(__tstate);
25905 if (PyErr_Occurred()) SWIG_fail;
25906 }
25907 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25908 return resultobj;
25909 fail:
25910 return NULL;
25911 }
25912
25913
25914 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25915 PyObject *resultobj;
25916 wxString *arg1 = 0 ;
25917 wxCursor const &arg2_defvalue = wxNullCursor ;
25918 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25919 wxGenericDragImage *result;
25920 bool temp1 = False ;
25921 PyObject * obj0 = 0 ;
25922 PyObject * obj1 = 0 ;
25923 char *kwnames[] = {
25924 (char *) "str",(char *) "cursor", NULL
25925 };
25926
25927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25928 {
25929 arg1 = wxString_in_helper(obj0);
25930 if (arg1 == NULL) SWIG_fail;
25931 temp1 = True;
25932 }
25933 if (obj1) {
25934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25935 if (arg2 == NULL) {
25936 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25937 }
25938 }
25939 {
25940 PyThreadState* __tstate = wxPyBeginAllowThreads();
25941 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25942
25943 wxPyEndAllowThreads(__tstate);
25944 if (PyErr_Occurred()) SWIG_fail;
25945 }
25946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25947 {
25948 if (temp1)
25949 delete arg1;
25950 }
25951 return resultobj;
25952 fail:
25953 {
25954 if (temp1)
25955 delete arg1;
25956 }
25957 return NULL;
25958 }
25959
25960
25961 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25962 PyObject *resultobj;
25963 wxPyTreeCtrl *arg1 = 0 ;
25964 wxTreeItemId *arg2 = 0 ;
25965 wxGenericDragImage *result;
25966 PyObject * obj0 = 0 ;
25967 PyObject * obj1 = 0 ;
25968 char *kwnames[] = {
25969 (char *) "treeCtrl",(char *) "id", NULL
25970 };
25971
25972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25974 if (arg1 == NULL) {
25975 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25976 }
25977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25978 if (arg2 == NULL) {
25979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25980 }
25981 {
25982 PyThreadState* __tstate = wxPyBeginAllowThreads();
25983 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25984
25985 wxPyEndAllowThreads(__tstate);
25986 if (PyErr_Occurred()) SWIG_fail;
25987 }
25988 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25989 return resultobj;
25990 fail:
25991 return NULL;
25992 }
25993
25994
25995 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25996 PyObject *resultobj;
25997 wxPyListCtrl *arg1 = 0 ;
25998 long arg2 ;
25999 wxGenericDragImage *result;
26000 PyObject * obj0 = 0 ;
26001 char *kwnames[] = {
26002 (char *) "listCtrl",(char *) "id", NULL
26003 };
26004
26005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
26006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26007 if (arg1 == NULL) {
26008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26009 }
26010 {
26011 PyThreadState* __tstate = wxPyBeginAllowThreads();
26012 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
26013
26014 wxPyEndAllowThreads(__tstate);
26015 if (PyErr_Occurred()) SWIG_fail;
26016 }
26017 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26018 return resultobj;
26019 fail:
26020 return NULL;
26021 }
26022
26023
26024 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26025 PyObject *resultobj;
26026 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26027 PyObject * obj0 = 0 ;
26028 char *kwnames[] = {
26029 (char *) "self", NULL
26030 };
26031
26032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
26033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26034 {
26035 PyThreadState* __tstate = wxPyBeginAllowThreads();
26036 delete arg1;
26037
26038 wxPyEndAllowThreads(__tstate);
26039 if (PyErr_Occurred()) SWIG_fail;
26040 }
26041 Py_INCREF(Py_None); resultobj = Py_None;
26042 return resultobj;
26043 fail:
26044 return NULL;
26045 }
26046
26047
26048 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
26049 PyObject *resultobj;
26050 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26051 wxBitmap *arg2 = (wxBitmap *) 0 ;
26052 PyObject * obj0 = 0 ;
26053 PyObject * obj1 = 0 ;
26054 char *kwnames[] = {
26055 (char *) "self",(char *) "bitmap", NULL
26056 };
26057
26058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
26059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26061 {
26062 PyThreadState* __tstate = wxPyBeginAllowThreads();
26063 (arg1)->SetBackingBitmap(arg2);
26064
26065 wxPyEndAllowThreads(__tstate);
26066 if (PyErr_Occurred()) SWIG_fail;
26067 }
26068 Py_INCREF(Py_None); resultobj = Py_None;
26069 return resultobj;
26070 fail:
26071 return NULL;
26072 }
26073
26074
26075 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26076 PyObject *resultobj;
26077 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26078 wxPoint *arg2 = 0 ;
26079 wxWindow *arg3 = (wxWindow *) 0 ;
26080 bool arg4 = (bool) False ;
26081 wxRect *arg5 = (wxRect *) NULL ;
26082 bool result;
26083 wxPoint temp2 ;
26084 PyObject * obj0 = 0 ;
26085 PyObject * obj1 = 0 ;
26086 PyObject * obj2 = 0 ;
26087 PyObject * obj3 = 0 ;
26088 PyObject * obj4 = 0 ;
26089 char *kwnames[] = {
26090 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26091 };
26092
26093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26095 {
26096 arg2 = &temp2;
26097 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26098 }
26099 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26100 if (obj3) {
26101 {
26102 arg4 = (bool) SPyObj_AsBool(obj3);
26103 if (PyErr_Occurred()) SWIG_fail;
26104 }
26105 }
26106 if (obj4) {
26107 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26108 }
26109 {
26110 PyThreadState* __tstate = wxPyBeginAllowThreads();
26111 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
26112
26113 wxPyEndAllowThreads(__tstate);
26114 if (PyErr_Occurred()) SWIG_fail;
26115 }
26116 resultobj = PyInt_FromLong((long)result);
26117 return resultobj;
26118 fail:
26119 return NULL;
26120 }
26121
26122
26123 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
26124 PyObject *resultobj;
26125 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26126 wxPoint *arg2 = 0 ;
26127 wxWindow *arg3 = (wxWindow *) 0 ;
26128 wxWindow *arg4 = (wxWindow *) 0 ;
26129 bool result;
26130 wxPoint temp2 ;
26131 PyObject * obj0 = 0 ;
26132 PyObject * obj1 = 0 ;
26133 PyObject * obj2 = 0 ;
26134 PyObject * obj3 = 0 ;
26135 char *kwnames[] = {
26136 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26137 };
26138
26139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26141 {
26142 arg2 = &temp2;
26143 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26144 }
26145 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26146 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26147 {
26148 PyThreadState* __tstate = wxPyBeginAllowThreads();
26149 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
26150
26151 wxPyEndAllowThreads(__tstate);
26152 if (PyErr_Occurred()) SWIG_fail;
26153 }
26154 resultobj = PyInt_FromLong((long)result);
26155 return resultobj;
26156 fail:
26157 return NULL;
26158 }
26159
26160
26161 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26162 PyObject *resultobj;
26163 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26164 bool result;
26165 PyObject * obj0 = 0 ;
26166 char *kwnames[] = {
26167 (char *) "self", NULL
26168 };
26169
26170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
26171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26172 {
26173 PyThreadState* __tstate = wxPyBeginAllowThreads();
26174 result = (bool)(arg1)->EndDrag();
26175
26176 wxPyEndAllowThreads(__tstate);
26177 if (PyErr_Occurred()) SWIG_fail;
26178 }
26179 resultobj = PyInt_FromLong((long)result);
26180 return resultobj;
26181 fail:
26182 return NULL;
26183 }
26184
26185
26186 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
26187 PyObject *resultobj;
26188 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26189 wxPoint *arg2 = 0 ;
26190 bool result;
26191 wxPoint temp2 ;
26192 PyObject * obj0 = 0 ;
26193 PyObject * obj1 = 0 ;
26194 char *kwnames[] = {
26195 (char *) "self",(char *) "pt", NULL
26196 };
26197
26198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
26199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26200 {
26201 arg2 = &temp2;
26202 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26203 }
26204 {
26205 PyThreadState* __tstate = wxPyBeginAllowThreads();
26206 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
26207
26208 wxPyEndAllowThreads(__tstate);
26209 if (PyErr_Occurred()) SWIG_fail;
26210 }
26211 resultobj = PyInt_FromLong((long)result);
26212 return resultobj;
26213 fail:
26214 return NULL;
26215 }
26216
26217
26218 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
26219 PyObject *resultobj;
26220 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26221 bool result;
26222 PyObject * obj0 = 0 ;
26223 char *kwnames[] = {
26224 (char *) "self", NULL
26225 };
26226
26227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
26228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26229 {
26230 PyThreadState* __tstate = wxPyBeginAllowThreads();
26231 result = (bool)(arg1)->Show();
26232
26233 wxPyEndAllowThreads(__tstate);
26234 if (PyErr_Occurred()) SWIG_fail;
26235 }
26236 resultobj = PyInt_FromLong((long)result);
26237 return resultobj;
26238 fail:
26239 return NULL;
26240 }
26241
26242
26243 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
26244 PyObject *resultobj;
26245 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26246 bool result;
26247 PyObject * obj0 = 0 ;
26248 char *kwnames[] = {
26249 (char *) "self", NULL
26250 };
26251
26252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
26253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26254 {
26255 PyThreadState* __tstate = wxPyBeginAllowThreads();
26256 result = (bool)(arg1)->Hide();
26257
26258 wxPyEndAllowThreads(__tstate);
26259 if (PyErr_Occurred()) SWIG_fail;
26260 }
26261 resultobj = PyInt_FromLong((long)result);
26262 return resultobj;
26263 fail:
26264 return NULL;
26265 }
26266
26267
26268 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26269 PyObject *resultobj;
26270 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26271 wxPoint *arg2 = 0 ;
26272 wxRect result;
26273 wxPoint temp2 ;
26274 PyObject * obj0 = 0 ;
26275 PyObject * obj1 = 0 ;
26276 char *kwnames[] = {
26277 (char *) "self",(char *) "pos", NULL
26278 };
26279
26280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
26281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26282 {
26283 arg2 = &temp2;
26284 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26285 }
26286 {
26287 PyThreadState* __tstate = wxPyBeginAllowThreads();
26288 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
26289
26290 wxPyEndAllowThreads(__tstate);
26291 if (PyErr_Occurred()) SWIG_fail;
26292 }
26293 {
26294 wxRect * resultptr;
26295 resultptr = new wxRect((wxRect &) result);
26296 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
26297 }
26298 return resultobj;
26299 fail:
26300 return NULL;
26301 }
26302
26303
26304 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26305 PyObject *resultobj;
26306 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26307 wxDC *arg2 = 0 ;
26308 wxPoint *arg3 = 0 ;
26309 bool result;
26310 wxPoint temp3 ;
26311 PyObject * obj0 = 0 ;
26312 PyObject * obj1 = 0 ;
26313 PyObject * obj2 = 0 ;
26314 char *kwnames[] = {
26315 (char *) "self",(char *) "dc",(char *) "pos", NULL
26316 };
26317
26318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26321 if (arg2 == NULL) {
26322 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26323 }
26324 {
26325 arg3 = &temp3;
26326 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26327 }
26328 {
26329 PyThreadState* __tstate = wxPyBeginAllowThreads();
26330 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
26331
26332 wxPyEndAllowThreads(__tstate);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 }
26335 resultobj = PyInt_FromLong((long)result);
26336 return resultobj;
26337 fail:
26338 return NULL;
26339 }
26340
26341
26342 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26343 PyObject *resultobj;
26344 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26345 wxDC *arg2 = 0 ;
26346 wxMemoryDC *arg3 = 0 ;
26347 wxRect *arg4 = 0 ;
26348 wxRect *arg5 = 0 ;
26349 bool result;
26350 wxRect temp4 ;
26351 wxRect temp5 ;
26352 PyObject * obj0 = 0 ;
26353 PyObject * obj1 = 0 ;
26354 PyObject * obj2 = 0 ;
26355 PyObject * obj3 = 0 ;
26356 PyObject * obj4 = 0 ;
26357 char *kwnames[] = {
26358 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26359 };
26360
26361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26363 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26364 if (arg2 == NULL) {
26365 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26366 }
26367 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26368 if (arg3 == NULL) {
26369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26370 }
26371 {
26372 arg4 = &temp4;
26373 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26374 }
26375 {
26376 arg5 = &temp5;
26377 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26378 }
26379 {
26380 PyThreadState* __tstate = wxPyBeginAllowThreads();
26381 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26382
26383 wxPyEndAllowThreads(__tstate);
26384 if (PyErr_Occurred()) SWIG_fail;
26385 }
26386 resultobj = PyInt_FromLong((long)result);
26387 return resultobj;
26388 fail:
26389 return NULL;
26390 }
26391
26392
26393 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26394 PyObject *resultobj;
26395 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26396 wxPoint *arg2 = 0 ;
26397 wxPoint *arg3 = 0 ;
26398 bool arg4 ;
26399 bool arg5 ;
26400 bool result;
26401 wxPoint temp2 ;
26402 wxPoint temp3 ;
26403 PyObject * obj0 = 0 ;
26404 PyObject * obj1 = 0 ;
26405 PyObject * obj2 = 0 ;
26406 PyObject * obj3 = 0 ;
26407 PyObject * obj4 = 0 ;
26408 char *kwnames[] = {
26409 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26410 };
26411
26412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26414 {
26415 arg2 = &temp2;
26416 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26417 }
26418 {
26419 arg3 = &temp3;
26420 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26421 }
26422 {
26423 arg4 = (bool) SPyObj_AsBool(obj3);
26424 if (PyErr_Occurred()) SWIG_fail;
26425 }
26426 {
26427 arg5 = (bool) SPyObj_AsBool(obj4);
26428 if (PyErr_Occurred()) SWIG_fail;
26429 }
26430 {
26431 PyThreadState* __tstate = wxPyBeginAllowThreads();
26432 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26433
26434 wxPyEndAllowThreads(__tstate);
26435 if (PyErr_Occurred()) SWIG_fail;
26436 }
26437 resultobj = PyInt_FromLong((long)result);
26438 return resultobj;
26439 fail:
26440 return NULL;
26441 }
26442
26443
26444 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26445 PyObject *obj;
26446 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26447 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26448 Py_INCREF(obj);
26449 return Py_BuildValue((char *)"");
26450 }
26451 static PyMethodDef SwigMethods[] = {
26452 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26458 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26473 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26484 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26493 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26511 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26524 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26528 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26534 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26538 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26545 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26564 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26572 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26573 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26601 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26654 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26659 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26670 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26682 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26693 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
26697 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26714 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26720 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26745 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26748 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26768 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26774 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26783 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26785 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26790 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26792 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26797 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26802 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26832 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26877 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26881 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26882 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26886 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26894 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26898 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26946 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26950 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26973 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26977 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
27042 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
27046 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
27054 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
27058 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
27062 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
27066 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
27069 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
27073 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
27085 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27089 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27155 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
27157 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
27161 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27162 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
27168 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
27179 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
27183 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
27184 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
27188 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
27189 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
27205 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
27209 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
27213 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
27217 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
27218 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
27220 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
27222 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
27224 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
27228 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
27230 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
27232 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
27234 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
27239 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
27241 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
27243 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
27244 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
27245 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
27246 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
27247 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
27248 { NULL, NULL }
27249 };
27250
27251
27252 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27253
27254 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
27255 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27256 }
27257 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
27258 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
27259 }
27260 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
27261 return (void *)((wxSizer *) ((wxBoxSizer *) x));
27262 }
27263 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
27264 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
27265 }
27266 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
27267 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27268 }
27269 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
27270 return (void *)((wxSizer *) ((wxGridSizer *) x));
27271 }
27272 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
27273 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
27274 }
27275 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
27276 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
27277 }
27278 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
27279 return (void *)((wxSizer *) ((wxPySizer *) x));
27280 }
27281 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
27282 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
27283 }
27284 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27285 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27286 }
27287 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27288 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27289 }
27290 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27291 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27292 }
27293 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27294 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27295 }
27296 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27297 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27298 }
27299 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
27300 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27301 }
27302 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27303 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27304 }
27305 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27306 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27307 }
27308 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27309 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27310 }
27311 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
27312 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
27313 }
27314 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
27315 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27316 }
27317 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27318 return (void *)((wxEvent *) ((wxPyEvent *) x));
27319 }
27320 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27321 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27322 }
27323 static void *_p_wxListEventTo_p_wxEvent(void *x) {
27324 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27325 }
27326 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
27327 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27328 }
27329 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
27330 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27331 }
27332 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
27333 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
27334 }
27335 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27336 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27337 }
27338 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27339 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27340 }
27341 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27342 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27343 }
27344 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27345 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27346 }
27347 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27348 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27349 }
27350 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27351 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27352 }
27353 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27354 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27355 }
27356 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27357 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27358 }
27359 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27360 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27361 }
27362 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27363 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27364 }
27365 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27366 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27367 }
27368 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27369 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27370 }
27371 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27372 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27373 }
27374 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27375 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27376 }
27377 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27378 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27379 }
27380 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27381 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27382 }
27383 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27384 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27385 }
27386 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27387 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27388 }
27389 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27390 return (void *)((wxEvent *) ((wxShowEvent *) x));
27391 }
27392 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27393 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27394 }
27395 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27396 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27397 }
27398 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27399 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27400 }
27401 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27402 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27403 }
27404 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27405 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27406 }
27407 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27408 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27409 }
27410 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
27411 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
27412 }
27413 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27414 return (void *)((wxItemContainer *) ((wxComboBox *) x));
27415 }
27416 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27417 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27418 }
27419 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27420 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27421 }
27422 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27423 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27424 }
27425 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27426 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27427 }
27428 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27429 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27430 }
27431 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27432 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27433 }
27434 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27435 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27436 }
27437 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27438 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27439 }
27440 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27441 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27442 }
27443 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27444 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27445 }
27446 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27447 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27448 }
27449 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27450 return (void *)((wxControl *) ((wxComboBox *) x));
27451 }
27452 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27453 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27454 }
27455 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27456 return (void *)((wxControl *) ((wxStaticBox *) x));
27457 }
27458 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27459 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27460 }
27461 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27462 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27463 }
27464 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27465 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27466 }
27467 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27468 return (void *)((wxControl *) ((wxScrollBar *) x));
27469 }
27470 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27471 return (void *)((wxControl *) ((wxBookCtrl *) x));
27472 }
27473 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27474 return (void *)((wxControl *) ((wxRadioButton *) x));
27475 }
27476 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27477 return (void *)((wxControl *) ((wxToggleButton *) x));
27478 }
27479 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27480 return (void *)((wxControl *) ((wxGauge *) x));
27481 }
27482 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27483 return (void *)((wxControl *) ((wxToolBarBase *) x));
27484 }
27485 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27486 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27487 }
27488 static void *_p_wxButtonTo_p_wxControl(void *x) {
27489 return (void *)((wxControl *) ((wxButton *) x));
27490 }
27491 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27492 return (void *)((wxControl *) ((wxSpinButton *) x));
27493 }
27494 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27495 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27496 }
27497 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27498 return (void *)((wxControl *) ((wxControlWithItems *) x));
27499 }
27500 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27501 return (void *)((wxControl *) ((wxRadioBox *) x));
27502 }
27503 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27504 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27505 }
27506 static void *_p_wxListbookTo_p_wxControl(void *x) {
27507 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27508 }
27509 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27510 return (void *)((wxControl *) ((wxCheckBox *) x));
27511 }
27512 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27513 return (void *)((wxControl *) ((wxTextCtrl *) x));
27514 }
27515 static void *_p_wxListViewTo_p_wxControl(void *x) {
27516 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27517 }
27518 static void *_p_wxSliderTo_p_wxControl(void *x) {
27519 return (void *)((wxControl *) ((wxSlider *) x));
27520 }
27521 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27522 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27523 }
27524 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27525 return (void *)((wxControl *) ((wxPyControl *) x));
27526 }
27527 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27528 return (void *)((wxControl *) ((wxStaticLine *) x));
27529 }
27530 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27531 return (void *)((wxControl *) ((wxStaticText *) x));
27532 }
27533 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27534 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27535 }
27536 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27537 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27538 }
27539 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27540 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27541 }
27542 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27543 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27544 }
27545 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27546 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27547 }
27548 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
27549 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
27550 }
27551 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27552 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27553 }
27554 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27555 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27556 }
27557 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27558 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27559 }
27560 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27561 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27562 }
27563 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27564 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27565 }
27566 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27567 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27568 }
27569 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27570 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27571 }
27572 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27573 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27574 }
27575 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27576 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27577 }
27578 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27579 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27580 }
27581 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27582 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27583 }
27584 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27585 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27586 }
27587 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27588 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27589 }
27590 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27591 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27592 }
27593 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27594 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
27595 }
27596 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27597 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27598 }
27599 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27600 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27601 }
27602 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27603 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27604 }
27605 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27606 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27607 }
27608 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27609 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27610 }
27611 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27612 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27613 }
27614 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27615 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27616 }
27617 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27618 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27619 }
27620 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27621 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27622 }
27623 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27624 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27625 }
27626 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27627 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27628 }
27629 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27630 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27631 }
27632 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27633 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27634 }
27635 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27636 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27637 }
27638 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27639 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27640 }
27641 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27642 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27643 }
27644 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27645 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27646 }
27647 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27648 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27649 }
27650 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27651 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27652 }
27653 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27654 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27655 }
27656 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27657 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27658 }
27659 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27660 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27661 }
27662 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27663 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27664 }
27665 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27666 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27667 }
27668 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27669 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27670 }
27671 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27672 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27673 }
27674 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27675 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27676 }
27677 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27678 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27679 }
27680 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27681 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27682 }
27683 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27684 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27685 }
27686 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27687 return (void *)((wxButton *) ((wxBitmapButton *) x));
27688 }
27689 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27690 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27691 }
27692 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27693 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27694 }
27695 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27696 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27697 }
27698 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27699 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27700 }
27701 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27702 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27703 }
27704 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27705 return (void *)((wxObject *) ((wxSizerItem *) x));
27706 }
27707 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27708 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27709 }
27710 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27711 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27712 }
27713 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27714 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27715 }
27716 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27717 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27718 }
27719 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27720 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27721 }
27722 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27723 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27724 }
27725 static void *_p_wxSizerTo_p_wxObject(void *x) {
27726 return (void *)((wxObject *) ((wxSizer *) x));
27727 }
27728 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27729 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27730 }
27731 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27733 }
27734 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27736 }
27737 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27738 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27739 }
27740 static void *_p_wxEventTo_p_wxObject(void *x) {
27741 return (void *)((wxObject *) ((wxEvent *) x));
27742 }
27743 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27744 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27745 }
27746 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27747 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27748 }
27749 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27750 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27751 }
27752 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27754 }
27755 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27757 }
27758 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27760 }
27761 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27762 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27763 }
27764 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27765 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27766 }
27767 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27768 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27769 }
27770 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27771 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27772 }
27773 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27774 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27775 }
27776 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27777 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27778 }
27779 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27781 }
27782 static void *_p_wxControlTo_p_wxObject(void *x) {
27783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27784 }
27785 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27787 }
27788 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27790 }
27791 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27793 }
27794 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27796 }
27797 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27799 }
27800 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27801 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27802 }
27803 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27805 }
27806 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27807 return (void *)((wxObject *) ((wxFSFile *) x));
27808 }
27809 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27810 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27811 }
27812 static void *_p_wxListViewTo_p_wxObject(void *x) {
27813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27814 }
27815 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27817 }
27818 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27820 }
27821 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27822 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27823 }
27824 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27825 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27826 }
27827 static void *_p_wxListbookTo_p_wxObject(void *x) {
27828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27829 }
27830 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27831 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27832 }
27833 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27835 }
27836 static void *_p_wxSliderTo_p_wxObject(void *x) {
27837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27838 }
27839 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27840 return (void *)((wxObject *) ((wxMenuItem *) x));
27841 }
27842 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27843 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27844 }
27845 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27846 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27847 }
27848 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27849 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27850 }
27851 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27852 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27853 }
27854 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27855 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27856 }
27857 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27858 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27859 }
27860 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27861 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27862 }
27863 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27864 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27865 }
27866 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27868 }
27869 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27870 return (void *)((wxObject *) ((wxContextHelp *) x));
27871 }
27872 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27873 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27874 }
27875 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27876 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27877 }
27878 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27879 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27880 }
27881 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27882 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27883 }
27884 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27885 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27886 }
27887 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27888 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27889 }
27890 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27891 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27892 }
27893 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27894 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27895 }
27896 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27897 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27898 }
27899 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27900 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27901 }
27902 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27903 return (void *)((wxObject *) ((wxImageHandler *) x));
27904 }
27905 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27906 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27907 }
27908 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27909 return (void *)((wxObject *) ((wxEvtHandler *) x));
27910 }
27911 static void *_p_wxListEventTo_p_wxObject(void *x) {
27912 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27913 }
27914 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27916 }
27917 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27919 }
27920 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27922 }
27923 static void *_p_wxButtonTo_p_wxObject(void *x) {
27924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27925 }
27926 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27928 }
27929 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27931 }
27932 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27934 }
27935 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27936 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27937 }
27938 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27940 }
27941 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27943 }
27944 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27946 }
27947 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27948 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27949 }
27950 static void *_p_wxListItemTo_p_wxObject(void *x) {
27951 return (void *)((wxObject *) ((wxListItem *) x));
27952 }
27953 static void *_p_wxImageTo_p_wxObject(void *x) {
27954 return (void *)((wxObject *) ((wxImage *) x));
27955 }
27956 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27957 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27958 }
27959 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27960 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27961 }
27962 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
27963 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
27964 }
27965 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27966 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27967 }
27968 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27970 }
27971 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27972 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27973 }
27974 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27975 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27976 }
27977 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27978 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27979 }
27980 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27981 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27982 }
27983 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27984 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27985 }
27986 static void *_p_wxWindowTo_p_wxObject(void *x) {
27987 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27988 }
27989 static void *_p_wxMenuTo_p_wxObject(void *x) {
27990 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27991 }
27992 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27994 }
27995 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27996 return (void *)((wxObject *) ((wxFileSystem *) x));
27997 }
27998 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27999 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28000 }
28001 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28002 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28003 }
28004 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28005 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28006 }
28007 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28008 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28009 }
28010 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28011 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28012 }
28013 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28014 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28015 }
28016 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
28017 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
28018 }
28019 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28020 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28021 }
28022 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28023 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28024 }
28025 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
28026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
28027 }
28028 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28029 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28030 }
28031 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28032 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28033 }
28034 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28035 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28036 }
28037 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28039 }
28040 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
28041 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
28042 }
28043 static void *_p_wxToolBarTo_p_wxObject(void *x) {
28044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28045 }
28046 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28047 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28048 }
28049 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28050 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28051 }
28052 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
28053 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
28054 }
28055 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
28056 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
28057 }
28058 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28059 return (void *)((wxWindow *) ((wxMenuBar *) x));
28060 }
28061 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
28062 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28063 }
28064 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
28065 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
28066 }
28067 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
28068 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
28069 }
28070 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
28071 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
28072 }
28073 static void *_p_wxControlTo_p_wxWindow(void *x) {
28074 return (void *)((wxWindow *) ((wxControl *) x));
28075 }
28076 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
28077 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
28078 }
28079 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
28080 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28081 }
28082 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
28083 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
28084 }
28085 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
28086 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
28087 }
28088 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
28089 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
28090 }
28091 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
28092 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
28093 }
28094 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28095 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28096 }
28097 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
28098 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
28099 }
28100 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
28101 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
28102 }
28103 static void *_p_wxListbookTo_p_wxWindow(void *x) {
28104 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28105 }
28106 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
28107 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
28108 }
28109 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
28110 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
28111 }
28112 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
28113 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
28114 }
28115 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
28116 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28117 }
28118 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
28119 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28120 }
28121 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
28122 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28123 }
28124 static void *_p_wxListViewTo_p_wxWindow(void *x) {
28125 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28126 }
28127 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
28128 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28129 }
28130 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
28131 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
28132 }
28133 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
28134 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
28135 }
28136 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
28137 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
28138 }
28139 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
28140 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
28141 }
28142 static void *_p_wxSliderTo_p_wxWindow(void *x) {
28143 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
28144 }
28145 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
28146 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
28147 }
28148 static void *_p_wxButtonTo_p_wxWindow(void *x) {
28149 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
28150 }
28151 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
28152 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
28153 }
28154 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
28155 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28156 }
28157 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
28158 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
28159 }
28160 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
28161 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28162 }
28163 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
28164 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28165 }
28166 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
28167 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
28168 }
28169 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
28170 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
28171 }
28172 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
28173 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
28174 }
28175 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
28176 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
28177 }
28178 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
28179 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
28180 }
28181 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
28182 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28183 }
28184 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
28185 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28186 }
28187 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
28188 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
28189 }
28190 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
28191 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
28192 }
28193 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
28194 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
28195 }
28196 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
28197 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
28198 }
28199 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
28200 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
28201 }
28202 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
28203 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
28204 }
28205 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
28206 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
28207 }
28208 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
28209 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
28210 }
28211 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
28212 return (void *)((wxControlWithItems *) ((wxChoice *) x));
28213 }
28214 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
28215 return (void *)((wxControlWithItems *) ((wxListBox *) x));
28216 }
28217 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
28218 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
28219 }
28220 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
28221 return (void *)((wxValidator *) ((wxPyValidator *) x));
28222 }
28223 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28224 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}};
28225 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}};
28226 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28227 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28228 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}};
28229 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28230 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28231 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28232 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}};
28233 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28234 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
28235 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28236 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}};
28237 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28238 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28239 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
28240 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28241 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28242 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28243 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
28244 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28245 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28246 static swig_type_info _swigt__p_void[] = {{"_p_void", 0, "void *", 0},{"_p_void"},{0}};
28247 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28248 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28249 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28250 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28251 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28252 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28253 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28254 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}};
28255 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28256 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28257 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28258 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28259 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28260 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28261 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28262 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28263 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}};
28264 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28265 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
28266 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28267 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}};
28268 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28269 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}};
28270 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
28271 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28272 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28273 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28274 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28275 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28276 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28277 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28278 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28279 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28280 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
28281 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28282 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28283 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28284 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
28285 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28286 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28287 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28288 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28289 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28290 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}};
28291 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28292 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28293 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}};
28294 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28295 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28296 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28297 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28298 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}};
28299 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28300 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_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}};
28301 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28302 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28303 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28304 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28305 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
28306
28307 static swig_type_info *swig_types_initial[] = {
28308 _swigt__p_wxTextUrlEvent,
28309 _swigt__p_wxBookCtrlEvent,
28310 _swigt__p_wxSizer,
28311 _swigt__p_wxCheckBox,
28312 _swigt__p_wxPyTreeCtrl,
28313 _swigt__p_wxEvent,
28314 _swigt__p_wxGenericDirCtrl,
28315 _swigt__p_bool,
28316 _swigt__p_wxPyTreeItemData,
28317 _swigt__p_wxItemContainer,
28318 _swigt__p_wxDirFilterListCtrl,
28319 _swigt__p_wxPyListCtrl,
28320 _swigt__p_wxStaticLine,
28321 _swigt__p_wxControl,
28322 _swigt__p_wxPyControl,
28323 _swigt__p_wxGauge,
28324 _swigt__p_wxToolBarBase,
28325 _swigt__p_wxFont,
28326 _swigt__p_wxToggleButton,
28327 _swigt__p_wxRadioButton,
28328 _swigt__p_wxChoice,
28329 _swigt__p_wxMemoryDC,
28330 _swigt__p_wxListItemAttr,
28331 _swigt__p_void,
28332 _swigt__p_int,
28333 _swigt__p_wxSize,
28334 _swigt__p_wxDC,
28335 _swigt__p_wxListView,
28336 _swigt__p_wxIcon,
28337 _swigt__p_wxTextCtrl,
28338 _swigt__p_wxNotebook,
28339 _swigt__p_wxNotifyEvent,
28340 _swigt__p_wxArrayString,
28341 _swigt__p_wxListbook,
28342 _swigt__p_wxStaticBitmap,
28343 _swigt__p_wxSlider,
28344 _swigt__p_wxStaticBox,
28345 _swigt__p_wxArrayInt,
28346 _swigt__p_wxContextHelp,
28347 _swigt__p_long,
28348 _swigt__p_wxEvtHandler,
28349 _swigt__p_wxListEvent,
28350 _swigt__p_wxListBox,
28351 _swigt__p_wxCheckListBox,
28352 _swigt__p_wxBookCtrl,
28353 _swigt__p_wxSpinButton,
28354 _swigt__p_wxButton,
28355 _swigt__p_wxBitmapButton,
28356 _swigt__p_wxRect,
28357 _swigt__p_wxContextHelpButton,
28358 _swigt__p_wxRadioBox,
28359 _swigt__p_wxScrollBar,
28360 _swigt__p_wxTreeItemId,
28361 _swigt__p_wxComboBox,
28362 _swigt__p_wxHelpEvent,
28363 _swigt__p_wxListItem,
28364 _swigt__p_wxNotebookSizer,
28365 _swigt__p_wxSpinEvent,
28366 _swigt__p_wxGenericDragImage,
28367 _swigt__p_wxSpinCtrl,
28368 _swigt__p_wxImageList,
28369 _swigt__p_wxHelpProvider,
28370 _swigt__p_wxTextAttr,
28371 _swigt__p_wxSimpleHelpProvider,
28372 _swigt__p_wxPoint,
28373 _swigt__p_wxListbookEvent,
28374 _swigt__p_wxNotebookEvent,
28375 _swigt__p_wxObject,
28376 _swigt__p_wxCursor,
28377 _swigt__p_wxKeyEvent,
28378 _swigt__p_wxWindow,
28379 _swigt__p_wxString,
28380 _swigt__p_wxBitmap,
28381 _swigt__p_wxTreeEvent,
28382 _swigt__p_wxMouseEvent,
28383 _swigt__p_wxCommandEvent,
28384 _swigt__p_wxStaticText,
28385 _swigt__p_wxControlWithItems,
28386 _swigt__p_wxToolBarToolBase,
28387 _swigt__p_wxColour,
28388 _swigt__p_wxToolBar,
28389 _swigt__p_wxBookCtrlSizer,
28390 _swigt__p_wxValidator,
28391 0
28392 };
28393
28394
28395 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28396
28397 static swig_const_info swig_const_table[] = {
28398 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28399 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28400 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28401 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28402 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28403 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28404 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28405 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28406 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28407 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28408 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28409 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28410 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28411 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28412 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28413 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28414 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28415 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28416 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28417 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28418 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28419 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28420 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28421 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28422 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28423 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28424 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28425 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28426 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28427 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28428 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28429 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28430 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28431 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28432 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28433 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28434 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28435 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28436 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28437 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28438 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28439 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28440 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28441 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28442 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28443 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28444 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28445 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28446 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28447 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28448 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28449 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28450 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28451 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28452 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28453 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28454 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28455 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28456 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28457 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28458 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28459 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28460 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28461 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28462 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28463 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28464 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28465 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28466 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28467 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28468 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28469 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28470 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28471 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28472 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28473 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28474 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28475 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28476 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28477 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28478 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28479 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28480 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28481 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28482 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28483 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28484 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28485 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28486 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28487 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28488 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28489 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28490 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28491 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28492 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28493 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28494 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28495 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28496 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28497 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28498 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28499 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28500 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28501 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28502 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28503 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28504 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28505 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28506 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28507 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28508 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28509 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28510 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28511 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28512 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28513 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28514 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28515 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28516 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28517 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28518 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28519 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28520 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28521 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28522 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28523 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28524 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28525 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28526 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28527 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28528 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28529 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28530 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28531 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28532 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28533 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28534 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28535 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28536 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28537 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28538 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28539 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28540 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28541 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28542 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28543 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28544 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28545 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28546 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28547 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28548 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28549 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28550 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28551 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28552 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28553 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28554 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28555 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28556 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28557 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28558 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28559 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28560 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28561 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28562 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28563 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28564 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28565 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28566 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28567 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28568 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28569 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28570 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28571 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28572 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28573 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28574 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28575 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28576 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28577 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28578 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28579 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28580 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28581 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28582 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28583 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28584 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28585 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28586 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28587 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28588 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28589 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28590 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28591 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28592 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28593 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28594 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28595 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28596 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28597 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28598 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28599 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28600 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28601 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28602 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28603 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28604 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28605 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28606 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28607 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28608 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28609 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28610 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28611 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28612 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28613 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28614 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28615 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28616 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28617 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28618 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28619 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28620 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28621 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28622 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28623 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28624 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28625 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28626 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28627 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28628 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28629 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28630 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28631 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28632 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28633 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28634 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28635 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28636 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28637 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28638 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
28639 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28640 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28641 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28642 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28643 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28644 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28645 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28646 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28647 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28648 {0}};
28649
28650 #ifdef __cplusplus
28651 }
28652 #endif
28653
28654 #ifdef __cplusplus
28655 extern "C"
28656 #endif
28657 SWIGEXPORT(void) SWIG_init(void) {
28658 static PyObject *SWIG_globals = 0;
28659 static int typeinit = 0;
28660 PyObject *m, *d;
28661 int i;
28662 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28663 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28664 d = PyModule_GetDict(m);
28665
28666 if (!typeinit) {
28667 for (i = 0; swig_types_initial[i]; i++) {
28668 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28669 }
28670 typeinit = 1;
28671 }
28672 SWIG_InstallConstants(d,swig_const_table);
28673
28674 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28675 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
28676 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
28677 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
28678 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
28679 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
28680 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
28681 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
28682 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
28683 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
28684 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
28685 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28686 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28687 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28688 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28689 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
28690 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
28691 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
28692 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28693 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
28694 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
28695 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
28696 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
28697 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28698 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
28699 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28700 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28701 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28702 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28703 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
28704 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28705 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28706 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28707 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28708 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28709 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28710 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28711 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28712 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28713 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28714 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28715 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28716 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28717 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28718 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28719 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28720 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28721 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28722 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28723 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28724 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28725 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28726
28727 // Map renamed classes back to their common name for OOR
28728 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28729
28730 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
28731 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28732 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28733 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28734 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28735 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28736 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28737 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28738 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28739 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28740 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28741 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28742 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28743 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28744 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28745 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28746 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28747 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28748 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28749 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28750 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
28751
28752 // Map renamed classes back to their common name for OOR
28753 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28754 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28755
28756 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
28757 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28758 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28759
28760 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28761
28762 }
28763