]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
4525e6d567a5339e39dbdfd9e9a4ada63f6cb2b4
[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_wxTreeItemIdValue swig_types[3]
388 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
389 #define SWIGTYPE_p_wxCheckBox swig_types[5]
390 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
391 #define SWIGTYPE_p_wxEvent swig_types[7]
392 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
393 #define SWIGTYPE_p_bool swig_types[9]
394 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
395 #define SWIGTYPE_p_wxItemContainer swig_types[11]
396 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
397 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
398 #define SWIGTYPE_p_wxStaticLine swig_types[14]
399 #define SWIGTYPE_p_wxControl swig_types[15]
400 #define SWIGTYPE_p_wxPyControl swig_types[16]
401 #define SWIGTYPE_p_wxGauge swig_types[17]
402 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
403 #define SWIGTYPE_p_wxFont swig_types[19]
404 #define SWIGTYPE_p_wxToggleButton swig_types[20]
405 #define SWIGTYPE_p_wxRadioButton swig_types[21]
406 #define SWIGTYPE_p_wxChoice swig_types[22]
407 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
408 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
409 #define SWIGTYPE_p_int swig_types[25]
410 #define SWIGTYPE_p_wxSize swig_types[26]
411 #define SWIGTYPE_p_wxDC swig_types[27]
412 #define SWIGTYPE_p_wxListView swig_types[28]
413 #define SWIGTYPE_p_wxIcon swig_types[29]
414 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
415 #define SWIGTYPE_p_wxNotebook swig_types[31]
416 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
417 #define SWIGTYPE_p_wxArrayString swig_types[33]
418 #define SWIGTYPE_p_wxListbook swig_types[34]
419 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
420 #define SWIGTYPE_p_wxSlider swig_types[36]
421 #define SWIGTYPE_p_wxStaticBox swig_types[37]
422 #define SWIGTYPE_p_wxArrayInt swig_types[38]
423 #define SWIGTYPE_p_wxContextHelp swig_types[39]
424 #define SWIGTYPE_p_long swig_types[40]
425 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
426 #define SWIGTYPE_p_wxListEvent swig_types[42]
427 #define SWIGTYPE_p_wxListBox swig_types[43]
428 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
429 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
430 #define SWIGTYPE_p_wxSpinButton swig_types[46]
431 #define SWIGTYPE_p_wxButton swig_types[47]
432 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
433 #define SWIGTYPE_p_wxRect swig_types[49]
434 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
435 #define SWIGTYPE_p_wxRadioBox swig_types[51]
436 #define SWIGTYPE_p_wxScrollBar swig_types[52]
437 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
438 #define SWIGTYPE_p_wxComboBox swig_types[54]
439 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
440 #define SWIGTYPE_p_wxListItem swig_types[56]
441 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
442 #define SWIGTYPE_p_wxSpinEvent swig_types[58]
443 #define SWIGTYPE_p_wxGenericDragImage swig_types[59]
444 #define SWIGTYPE_p_wxSpinCtrl swig_types[60]
445 #define SWIGTYPE_p_wxImageList swig_types[61]
446 #define SWIGTYPE_p_wxHelpProvider swig_types[62]
447 #define SWIGTYPE_p_wxTextAttr swig_types[63]
448 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[64]
449 #define SWIGTYPE_p_wxPoint swig_types[65]
450 #define SWIGTYPE_p_wxListbookEvent swig_types[66]
451 #define SWIGTYPE_p_wxNotebookEvent swig_types[67]
452 #define SWIGTYPE_p_wxObject swig_types[68]
453 #define SWIGTYPE_p_wxCursor swig_types[69]
454 #define SWIGTYPE_p_wxKeyEvent swig_types[70]
455 #define SWIGTYPE_p_wxWindow swig_types[71]
456 #define SWIGTYPE_p_wxString swig_types[72]
457 #define SWIGTYPE_p_wxBitmap swig_types[73]
458 #define SWIGTYPE_p_wxTreeEvent swig_types[74]
459 #define SWIGTYPE_p_wxMouseEvent swig_types[75]
460 #define SWIGTYPE_p_wxCommandEvent swig_types[76]
461 #define SWIGTYPE_p_wxStaticText swig_types[77]
462 #define SWIGTYPE_p_wxControlWithItems swig_types[78]
463 #define SWIGTYPE_p_wxToolBarToolBase swig_types[79]
464 #define SWIGTYPE_p_wxColour swig_types[80]
465 #define SWIGTYPE_p_wxToolBar swig_types[81]
466 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[82]
467 #define SWIGTYPE_p_wxValidator swig_types[83]
468 static swig_type_info *swig_types[85];
469
470 /* -------- TYPES TABLE (END) -------- */
471
472
473 /*-----------------------------------------------
474 @(target):= _controls.so
475 ------------------------------------------------*/
476 #define SWIG_init init_controls
477
478 #define SWIG_name "_controls"
479
480 #include "wx/wxPython/wxPython.h"
481 #include "wx/wxPython/pyclasses.h"
482
483 static const wxString wxPyPanelNameStr(wxPanelNameStr);
484 static const wxString wxPyEmptyString(wxEmptyString);
485 static const wxString wxPyControlNameStr(wxControlNameStr);
486 static const wxString wxPyButtonNameStr(wxButtonNameStr);
487 static const wxString wxPyCheckBoxNameStr(wxCheckBoxNameStr);
488 static const wxString wxPyChoiceNameStr(wxChoiceNameStr);
489 static const wxString wxPyComboBoxNameStr(wxComboBoxNameStr);
490 static const wxString wxPyGaugeNameStr(wxGaugeNameStr);
491 static const wxString wxPyStaticBitmapNameStr(wxStaticBitmapNameStr);
492 static const wxString wxPyStaticBoxNameStr(wxStaticBoxNameStr);
493 static const wxString wxPyStaticTextNameStr(wxStaticTextNameStr);
494
495 #include <wx/checklst.h>
496
497
498 static const wxString wxPyListBoxNameStr(wxListBoxNameStr);
499 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
500 if (clientData) {
501 wxPyClientData* data = new wxPyClientData(clientData);
502 self->Insert(item, pos, data);
503 } else
504 self->Insert(item, pos);
505 }
506 PyObject *wxListBox_GetSelections(wxListBox *self){
507 wxArrayInt lst;
508 self->GetSelections(lst);
509 PyObject *tup = PyTuple_New(lst.GetCount());
510 for(size_t i=0; i<lst.GetCount(); i++) {
511 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
512 }
513 return tup;
514 }
515 static const wxString wxPyTextCtrlNameStr(wxTextCtrlNameStr);
516
517 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
518 PyObject* o2;
519 PyObject* o3;
520
521 if (!target) {
522 target = o;
523 } else if (target == Py_None) {
524 Py_DECREF(Py_None);
525 target = o;
526 } else {
527 if (!PyTuple_Check(target)) {
528 o2 = target;
529 target = PyTuple_New(1);
530 PyTuple_SetItem(target, 0, o2);
531 }
532 o3 = PyTuple_New(1);
533 PyTuple_SetItem(o3, 0, o);
534
535 o2 = target;
536 target = PySequence_Concat(o2, o3);
537 Py_DECREF(o2);
538 Py_DECREF(o3);
539 }
540 return target;
541 }
542
543 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
544 self->AppendText(text);
545 }
546 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
547 return self->GetValue().Mid(from, to - from);
548 }
549 static const wxString wxPyScrollBarNameStr(wxScrollBarNameStr);
550 static const wxString wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME);
551 static const wxString wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
552 static const wxString wxPyRadioBoxNameStr(wxRadioBoxNameStr);
553 static const wxString wxPyRadioButtonNameStr(wxRadioButtonNameStr);
554
555 #include <wx/slider.h>
556
557
558 static const wxString wxPySliderNameStr(wxSliderNameStr);
559 static const wxString wxPyToggleButtonNameStr(_T("wxToggleButton"));
560
561 #if defined(__WXMAC__) || defined(__WXX11__)
562 // implement dummy classes and such for wxMac
563
564 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
565
566 class wxToggleButton : public wxControl
567 {
568 public:
569 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
570 const wxPoint&, const wxSize&, long,
571 const wxValidator&, const wxString&)
572 { wxPyRaiseNotImplemented(); }
573
574 wxToggleButton()
575 { wxPyRaiseNotImplemented(); }
576 };
577 #endif
578
579 static const wxString wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME);
580 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
581 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
582 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
583 if (udata) {
584 Py_INCREF(udata->m_obj);
585 return udata->m_obj;
586 } else {
587 Py_INCREF(Py_None);
588 return Py_None;
589 }
590 }
591 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
592 self->SetClientData(new wxPyUserData(clientData));
593 }
594 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){
595 wxPyUserData* udata = NULL;
596 if (clientData && clientData != Py_None)
597 udata = new wxPyUserData(clientData);
598 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
599 shortHelp, longHelp, udata);
600 }
601 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){
602 wxPyUserData* udata = NULL;
603 if (clientData && clientData != Py_None)
604 udata = new wxPyUserData(clientData);
605 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
606 shortHelp, longHelp, udata);
607 }
608 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
609 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
610 if (udata) {
611 Py_INCREF(udata->m_obj);
612 return udata->m_obj;
613 } else {
614 Py_INCREF(Py_None);
615 return Py_None;
616 }
617 }
618 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
619 self->SetToolClientData(id, new wxPyUserData(clientData));
620 }
621
622 #include <wx/listctrl.h>
623
624
625 static const wxString wxPyListCtrlNameStr(_T("wxListCtrl"));
626 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
627 // Python aware sorting function for wxPyListCtrl
628 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
629 int retval = 0;
630 PyObject* func = (PyObject*)funcPtr;
631 wxPyBeginBlockThreads();
632
633 PyObject* args = Py_BuildValue("(ii)", item1, item2);
634 PyObject* result = PyEval_CallObject(func, args);
635 Py_DECREF(args);
636 if (result) {
637 retval = PyInt_AsLong(result);
638 Py_DECREF(result);
639 }
640
641 wxPyEndBlockThreads();
642 return retval;
643 }
644
645 // C++ Version of a Python aware class
646 class wxPyListCtrl : public wxListCtrl {
647 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
648 public:
649 wxPyListCtrl() : wxListCtrl() {}
650 wxPyListCtrl(wxWindow* parent, wxWindowID id,
651 const wxPoint& pos,
652 const wxSize& size,
653 long style,
654 const wxValidator& validator,
655 const wxString& name) :
656 wxListCtrl(parent, id, pos, size, style, validator, name) {}
657
658 bool Create(wxWindow* parent, wxWindowID id,
659 const wxPoint& pos,
660 const wxSize& size,
661 long style,
662 const wxValidator& validator,
663 const wxString& name) {
664 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
665 }
666
667 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
668 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
669 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
670
671 PYPRIVATE;
672 };
673
674 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
675
676 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
677 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
678 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
679
680 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
681 wxListItem item;
682 item.SetMask( wxLIST_MASK_STATE |
683 wxLIST_MASK_TEXT |
684 wxLIST_MASK_IMAGE |
685 wxLIST_MASK_DATA |
686 wxLIST_SET_ITEM |
687 wxLIST_MASK_WIDTH |
688 wxLIST_MASK_FORMAT
689 );
690 if (self->GetColumn(col, item))
691 return new wxListItem(item);
692 else
693 return NULL;
694 }
695 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
696 wxListItem* info = new wxListItem;
697 info->m_itemId = itemId;
698 info->m_col = col;
699 info->m_mask = 0xFFFF;
700 self->GetItem(*info);
701 return info;
702 }
703 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
704 wxPoint pos;
705 self->GetItemPosition(item, pos);
706 return pos;
707 }
708 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
709 wxRect rect;
710 self->GetItemRect(item, rect, code);
711 return rect;
712 }
713 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
714 if (!PyCallable_Check(func))
715 return False;
716 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
717 }
718 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
719
720
721
722 return (wxWindow*)self->m_mainWin;
723
724 }
725
726 #include <wx/treectrl.h>
727 #include "wx/wxPython/pytree.h"
728
729 static const wxString wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
730 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
731 if (!other) return False;
732 return *self == *other;
733 }
734 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
735 if (!other) return True;
736 return *self != *other;
737 }
738 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
739 // C++ version of Python aware wxTreeCtrl
740 class wxPyTreeCtrl : public wxTreeCtrl {
741 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
742 public:
743 wxPyTreeCtrl() : wxTreeCtrl() {}
744 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
745 const wxPoint& pos,
746 const wxSize& size,
747 long style,
748 const wxValidator& validator,
749 const wxString& name) :
750 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
751
752 bool Create(wxWindow *parent, wxWindowID id,
753 const wxPoint& pos,
754 const wxSize& size,
755 long style,
756 const wxValidator& validator,
757 const wxString& name) {
758 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
759 }
760
761
762 int OnCompareItems(const wxTreeItemId& item1,
763 const wxTreeItemId& item2) {
764 int rval = 0;
765 bool found;
766 wxPyBeginBlockThreads();
767 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
768 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
769 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
770 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
771 Py_DECREF(o1);
772 Py_DECREF(o2);
773 }
774 wxPyEndBlockThreads();
775 if (! found)
776 rval = wxTreeCtrl::OnCompareItems(item1, item2);
777 return rval;
778 }
779 PYPRIVATE;
780 };
781
782 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
783
784
785 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
786 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
787 if (data == NULL) {
788 data = new wxPyTreeItemData();
789 data->SetId(item); // set the id
790 self->SetItemData(item, data);
791 }
792 return data;
793 }
794 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
795 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
796 if (data == NULL) {
797 data = new wxPyTreeItemData();
798 data->SetId(item); // set the id
799 self->SetItemData(item, data);
800 }
801 return data->GetData();
802 }
803 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
804 data->SetId(item); // set the id
805 self->SetItemData(item, data);
806 }
807 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
808 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
809 if (data == NULL) {
810 data = new wxPyTreeItemData(obj);
811 data->SetId(item); // set the id
812 self->SetItemData(item, data);
813 } else
814 data->SetData(obj);
815 }
816 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
817 wxPyBeginBlockThreads();
818 PyObject* rval = PyList_New(0);
819 wxArrayTreeItemIds array;
820 size_t num, x;
821 num = self->GetSelections(array);
822 for (x=0; x < num; x++) {
823 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
824 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
825 PyList_Append(rval, item);
826 }
827 wxPyEndBlockThreads();
828 return rval;
829 }
830 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
831 wxTreeItemIdValue cookie = 0;
832 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
833 wxPyBeginBlockThreads();
834 PyObject* tup = PyTuple_New(2);
835 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
836 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
837 wxPyEndBlockThreads();
838 return tup;
839 }
840 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
841 wxTreeItemId ritem = self->GetNextChild(item, cookie);
842 wxPyBeginBlockThreads();
843 PyObject* tup = PyTuple_New(2);
844 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
845 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
846 wxPyEndBlockThreads();
847 return tup;
848 }
849 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
850 wxRect rect;
851 if (self->GetBoundingRect(item, rect, textOnly)) {
852 wxPyBeginBlockThreads();
853 wxRect* r = new wxRect(rect);
854 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
855 wxPyEndBlockThreads();
856 return val;
857 }
858 else
859 RETURN_NONE();
860 }
861 static const wxString wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr);
862 // C++ version of Python aware wxControl
863 class wxPyControl : public wxControl
864 {
865 DECLARE_DYNAMIC_CLASS(wxPyControl)
866 public:
867 wxPyControl() : wxControl() {}
868 wxPyControl(wxWindow* parent, const wxWindowID id,
869 const wxPoint& pos = wxDefaultPosition,
870 const wxSize& size = wxDefaultSize,
871 long style = 0,
872 const wxValidator& validator=wxDefaultValidator,
873 const wxString& name = wxPyControlNameStr)
874 : wxControl(parent, id, pos, size, style, validator, name) {}
875
876
877 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
878 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
879 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
880 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
881
882 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
883 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
884 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
885
886 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
887 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
888
889 DEC_PYCALLBACK__(InitDialog);
890 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
891 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
892 DEC_PYCALLBACK_BOOL_(Validate);
893
894 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
895 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
896 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
897
898 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
899 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
900
901 PYPRIVATE;
902 };
903
904 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
905
906 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
907 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
908 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
909 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
910
911 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
912 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
913 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
914
915 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
916 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
917
918 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
919 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
920 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
921 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
922
923 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
924 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
925 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
926
927 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
928 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
929
930
931
932
933 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
934
935 #include <wx/generic/dragimgg.h>
936
937 #ifdef __cplusplus
938 extern "C" {
939 #endif
940 static int _wrap_ButtonNameStr_set(PyObject *_val) {
941 PyErr_SetString(PyExc_TypeError,"Variable ButtonNameStr is read-only.");
942 return 1;
943 }
944
945
946 static PyObject *_wrap_ButtonNameStr_get() {
947 PyObject *pyobj;
948
949 {
950 #if wxUSE_UNICODE
951 pyobj = PyUnicode_FromWideChar((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
952 #else
953 pyobj = PyString_FromStringAndSize((&wxPyButtonNameStr)->c_str(), (&wxPyButtonNameStr)->Len());
954 #endif
955 }
956 return pyobj;
957 }
958
959
960 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
961 PyObject *resultobj;
962 wxWindow *arg1 = (wxWindow *) 0 ;
963 int arg2 ;
964 wxString *arg3 = 0 ;
965 wxPoint const &arg4_defvalue = wxDefaultPosition ;
966 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
967 wxSize const &arg5_defvalue = wxDefaultSize ;
968 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
969 long arg6 = (long) 0 ;
970 wxValidator const &arg7_defvalue = wxDefaultValidator ;
971 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
972 wxString const &arg8_defvalue = wxPyButtonNameStr ;
973 wxString *arg8 = (wxString *) &arg8_defvalue ;
974 wxButton *result;
975 bool temp3 = False ;
976 wxPoint temp4 ;
977 wxSize temp5 ;
978 bool temp8 = False ;
979 PyObject * obj0 = 0 ;
980 PyObject * obj2 = 0 ;
981 PyObject * obj3 = 0 ;
982 PyObject * obj4 = 0 ;
983 PyObject * obj6 = 0 ;
984 PyObject * obj7 = 0 ;
985 char *kwnames[] = {
986 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
987 };
988
989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
991 {
992 arg3 = wxString_in_helper(obj2);
993 if (arg3 == NULL) SWIG_fail;
994 temp3 = True;
995 }
996 if (obj3) {
997 {
998 arg4 = &temp4;
999 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1000 }
1001 }
1002 if (obj4) {
1003 {
1004 arg5 = &temp5;
1005 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1006 }
1007 }
1008 if (obj6) {
1009 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1010 if (arg7 == NULL) {
1011 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1012 }
1013 }
1014 if (obj7) {
1015 {
1016 arg8 = wxString_in_helper(obj7);
1017 if (arg8 == NULL) SWIG_fail;
1018 temp8 = True;
1019 }
1020 }
1021 {
1022 PyThreadState* __tstate = wxPyBeginAllowThreads();
1023 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1024
1025 wxPyEndAllowThreads(__tstate);
1026 if (PyErr_Occurred()) SWIG_fail;
1027 }
1028 {
1029 resultobj = wxPyMake_wxObject(result);
1030 }
1031 {
1032 if (temp3)
1033 delete arg3;
1034 }
1035 {
1036 if (temp8)
1037 delete arg8;
1038 }
1039 return resultobj;
1040 fail:
1041 {
1042 if (temp3)
1043 delete arg3;
1044 }
1045 {
1046 if (temp8)
1047 delete arg8;
1048 }
1049 return NULL;
1050 }
1051
1052
1053 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1054 PyObject *resultobj;
1055 wxButton *result;
1056 char *kwnames[] = {
1057 NULL
1058 };
1059
1060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
1061 {
1062 PyThreadState* __tstate = wxPyBeginAllowThreads();
1063 result = (wxButton *)new wxButton();
1064
1065 wxPyEndAllowThreads(__tstate);
1066 if (PyErr_Occurred()) SWIG_fail;
1067 }
1068 {
1069 resultobj = wxPyMake_wxObject(result);
1070 }
1071 return resultobj;
1072 fail:
1073 return NULL;
1074 }
1075
1076
1077 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1078 PyObject *resultobj;
1079 wxButton *arg1 = (wxButton *) 0 ;
1080 wxWindow *arg2 = (wxWindow *) 0 ;
1081 int arg3 ;
1082 wxString *arg4 = 0 ;
1083 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1084 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1085 wxSize const &arg6_defvalue = wxDefaultSize ;
1086 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1087 long arg7 = (long) 0 ;
1088 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1089 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1090 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1091 wxString *arg9 = (wxString *) &arg9_defvalue ;
1092 bool result;
1093 bool temp4 = False ;
1094 wxPoint temp5 ;
1095 wxSize temp6 ;
1096 bool temp9 = False ;
1097 PyObject * obj0 = 0 ;
1098 PyObject * obj1 = 0 ;
1099 PyObject * obj3 = 0 ;
1100 PyObject * obj4 = 0 ;
1101 PyObject * obj5 = 0 ;
1102 PyObject * obj7 = 0 ;
1103 PyObject * obj8 = 0 ;
1104 char *kwnames[] = {
1105 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1106 };
1107
1108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1111 {
1112 arg4 = wxString_in_helper(obj3);
1113 if (arg4 == NULL) SWIG_fail;
1114 temp4 = True;
1115 }
1116 if (obj4) {
1117 {
1118 arg5 = &temp5;
1119 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1120 }
1121 }
1122 if (obj5) {
1123 {
1124 arg6 = &temp6;
1125 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1126 }
1127 }
1128 if (obj7) {
1129 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1130 if (arg8 == NULL) {
1131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1132 }
1133 }
1134 if (obj8) {
1135 {
1136 arg9 = wxString_in_helper(obj8);
1137 if (arg9 == NULL) SWIG_fail;
1138 temp9 = True;
1139 }
1140 }
1141 {
1142 PyThreadState* __tstate = wxPyBeginAllowThreads();
1143 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1144
1145 wxPyEndAllowThreads(__tstate);
1146 if (PyErr_Occurred()) SWIG_fail;
1147 }
1148 resultobj = PyInt_FromLong((long)result);
1149 {
1150 if (temp4)
1151 delete arg4;
1152 }
1153 {
1154 if (temp9)
1155 delete arg9;
1156 }
1157 return resultobj;
1158 fail:
1159 {
1160 if (temp4)
1161 delete arg4;
1162 }
1163 {
1164 if (temp9)
1165 delete arg9;
1166 }
1167 return NULL;
1168 }
1169
1170
1171 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1172 PyObject *resultobj;
1173 wxButton *arg1 = (wxButton *) 0 ;
1174 PyObject * obj0 = 0 ;
1175 char *kwnames[] = {
1176 (char *) "self", NULL
1177 };
1178
1179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1181 {
1182 PyThreadState* __tstate = wxPyBeginAllowThreads();
1183 (arg1)->SetDefault();
1184
1185 wxPyEndAllowThreads(__tstate);
1186 if (PyErr_Occurred()) SWIG_fail;
1187 }
1188 Py_INCREF(Py_None); resultobj = Py_None;
1189 return resultobj;
1190 fail:
1191 return NULL;
1192 }
1193
1194
1195 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1196 PyObject *resultobj;
1197 wxSize result;
1198 char *kwnames[] = {
1199 NULL
1200 };
1201
1202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1203 {
1204 PyThreadState* __tstate = wxPyBeginAllowThreads();
1205 result = wxButton::GetDefaultSize();
1206
1207 wxPyEndAllowThreads(__tstate);
1208 if (PyErr_Occurred()) SWIG_fail;
1209 }
1210 {
1211 wxSize * resultptr;
1212 resultptr = new wxSize((wxSize &) result);
1213 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1214 }
1215 return resultobj;
1216 fail:
1217 return NULL;
1218 }
1219
1220
1221 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1222 PyObject *obj;
1223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1224 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1225 Py_INCREF(obj);
1226 return Py_BuildValue((char *)"");
1227 }
1228 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1229 PyObject *resultobj;
1230 wxWindow *arg1 = (wxWindow *) 0 ;
1231 int arg2 ;
1232 wxBitmap *arg3 = 0 ;
1233 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1234 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1235 wxSize const &arg5_defvalue = wxDefaultSize ;
1236 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1237 long arg6 = (long) wxBU_AUTODRAW ;
1238 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1239 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1240 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1241 wxString *arg8 = (wxString *) &arg8_defvalue ;
1242 wxBitmapButton *result;
1243 wxPoint temp4 ;
1244 wxSize temp5 ;
1245 bool temp8 = False ;
1246 PyObject * obj0 = 0 ;
1247 PyObject * obj2 = 0 ;
1248 PyObject * obj3 = 0 ;
1249 PyObject * obj4 = 0 ;
1250 PyObject * obj6 = 0 ;
1251 PyObject * obj7 = 0 ;
1252 char *kwnames[] = {
1253 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1254 };
1255
1256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1258 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1259 if (arg3 == NULL) {
1260 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1261 }
1262 if (obj3) {
1263 {
1264 arg4 = &temp4;
1265 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1266 }
1267 }
1268 if (obj4) {
1269 {
1270 arg5 = &temp5;
1271 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1272 }
1273 }
1274 if (obj6) {
1275 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1276 if (arg7 == NULL) {
1277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1278 }
1279 }
1280 if (obj7) {
1281 {
1282 arg8 = wxString_in_helper(obj7);
1283 if (arg8 == NULL) SWIG_fail;
1284 temp8 = True;
1285 }
1286 }
1287 {
1288 PyThreadState* __tstate = wxPyBeginAllowThreads();
1289 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1290
1291 wxPyEndAllowThreads(__tstate);
1292 if (PyErr_Occurred()) SWIG_fail;
1293 }
1294 {
1295 resultobj = wxPyMake_wxObject(result);
1296 }
1297 {
1298 if (temp8)
1299 delete arg8;
1300 }
1301 return resultobj;
1302 fail:
1303 {
1304 if (temp8)
1305 delete arg8;
1306 }
1307 return NULL;
1308 }
1309
1310
1311 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1312 PyObject *resultobj;
1313 wxBitmapButton *result;
1314 char *kwnames[] = {
1315 NULL
1316 };
1317
1318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1319 {
1320 PyThreadState* __tstate = wxPyBeginAllowThreads();
1321 result = (wxBitmapButton *)new wxBitmapButton();
1322
1323 wxPyEndAllowThreads(__tstate);
1324 if (PyErr_Occurred()) SWIG_fail;
1325 }
1326 {
1327 resultobj = wxPyMake_wxObject(result);
1328 }
1329 return resultobj;
1330 fail:
1331 return NULL;
1332 }
1333
1334
1335 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1336 PyObject *resultobj;
1337 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1338 wxWindow *arg2 = (wxWindow *) 0 ;
1339 int arg3 ;
1340 wxBitmap *arg4 = 0 ;
1341 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1342 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1343 wxSize const &arg6_defvalue = wxDefaultSize ;
1344 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1345 long arg7 = (long) wxBU_AUTODRAW ;
1346 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1347 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1348 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1349 wxString *arg9 = (wxString *) &arg9_defvalue ;
1350 bool result;
1351 wxPoint temp5 ;
1352 wxSize temp6 ;
1353 bool temp9 = False ;
1354 PyObject * obj0 = 0 ;
1355 PyObject * obj1 = 0 ;
1356 PyObject * obj3 = 0 ;
1357 PyObject * obj4 = 0 ;
1358 PyObject * obj5 = 0 ;
1359 PyObject * obj7 = 0 ;
1360 PyObject * obj8 = 0 ;
1361 char *kwnames[] = {
1362 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1363 };
1364
1365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1368 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1369 if (arg4 == NULL) {
1370 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1371 }
1372 if (obj4) {
1373 {
1374 arg5 = &temp5;
1375 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1376 }
1377 }
1378 if (obj5) {
1379 {
1380 arg6 = &temp6;
1381 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1382 }
1383 }
1384 if (obj7) {
1385 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1386 if (arg8 == NULL) {
1387 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1388 }
1389 }
1390 if (obj8) {
1391 {
1392 arg9 = wxString_in_helper(obj8);
1393 if (arg9 == NULL) SWIG_fail;
1394 temp9 = True;
1395 }
1396 }
1397 {
1398 PyThreadState* __tstate = wxPyBeginAllowThreads();
1399 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1400
1401 wxPyEndAllowThreads(__tstate);
1402 if (PyErr_Occurred()) SWIG_fail;
1403 }
1404 resultobj = PyInt_FromLong((long)result);
1405 {
1406 if (temp9)
1407 delete arg9;
1408 }
1409 return resultobj;
1410 fail:
1411 {
1412 if (temp9)
1413 delete arg9;
1414 }
1415 return NULL;
1416 }
1417
1418
1419 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1420 PyObject *resultobj;
1421 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1422 wxBitmap result;
1423 PyObject * obj0 = 0 ;
1424 char *kwnames[] = {
1425 (char *) "self", NULL
1426 };
1427
1428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1430 {
1431 PyThreadState* __tstate = wxPyBeginAllowThreads();
1432 result = (arg1)->GetBitmapLabel();
1433
1434 wxPyEndAllowThreads(__tstate);
1435 if (PyErr_Occurred()) SWIG_fail;
1436 }
1437 {
1438 wxBitmap * resultptr;
1439 resultptr = new wxBitmap((wxBitmap &) result);
1440 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1441 }
1442 return resultobj;
1443 fail:
1444 return NULL;
1445 }
1446
1447
1448 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1449 PyObject *resultobj;
1450 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1451 wxBitmap result;
1452 PyObject * obj0 = 0 ;
1453 char *kwnames[] = {
1454 (char *) "self", NULL
1455 };
1456
1457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1459 {
1460 PyThreadState* __tstate = wxPyBeginAllowThreads();
1461 result = (arg1)->GetBitmapDisabled();
1462
1463 wxPyEndAllowThreads(__tstate);
1464 if (PyErr_Occurred()) SWIG_fail;
1465 }
1466 {
1467 wxBitmap * resultptr;
1468 resultptr = new wxBitmap((wxBitmap &) result);
1469 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1470 }
1471 return resultobj;
1472 fail:
1473 return NULL;
1474 }
1475
1476
1477 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1478 PyObject *resultobj;
1479 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1480 wxBitmap result;
1481 PyObject * obj0 = 0 ;
1482 char *kwnames[] = {
1483 (char *) "self", NULL
1484 };
1485
1486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1488 {
1489 PyThreadState* __tstate = wxPyBeginAllowThreads();
1490 result = (arg1)->GetBitmapFocus();
1491
1492 wxPyEndAllowThreads(__tstate);
1493 if (PyErr_Occurred()) SWIG_fail;
1494 }
1495 {
1496 wxBitmap * resultptr;
1497 resultptr = new wxBitmap((wxBitmap &) result);
1498 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1499 }
1500 return resultobj;
1501 fail:
1502 return NULL;
1503 }
1504
1505
1506 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1507 PyObject *resultobj;
1508 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1509 wxBitmap result;
1510 PyObject * obj0 = 0 ;
1511 char *kwnames[] = {
1512 (char *) "self", NULL
1513 };
1514
1515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1517 {
1518 PyThreadState* __tstate = wxPyBeginAllowThreads();
1519 result = (arg1)->GetBitmapSelected();
1520
1521 wxPyEndAllowThreads(__tstate);
1522 if (PyErr_Occurred()) SWIG_fail;
1523 }
1524 {
1525 wxBitmap * resultptr;
1526 resultptr = new wxBitmap((wxBitmap &) result);
1527 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1528 }
1529 return resultobj;
1530 fail:
1531 return NULL;
1532 }
1533
1534
1535 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1536 PyObject *resultobj;
1537 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1538 wxBitmap *arg2 = 0 ;
1539 PyObject * obj0 = 0 ;
1540 PyObject * obj1 = 0 ;
1541 char *kwnames[] = {
1542 (char *) "self",(char *) "bitmap", NULL
1543 };
1544
1545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1547 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1548 if (arg2 == NULL) {
1549 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1550 }
1551 {
1552 PyThreadState* __tstate = wxPyBeginAllowThreads();
1553 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1554
1555 wxPyEndAllowThreads(__tstate);
1556 if (PyErr_Occurred()) SWIG_fail;
1557 }
1558 Py_INCREF(Py_None); resultobj = Py_None;
1559 return resultobj;
1560 fail:
1561 return NULL;
1562 }
1563
1564
1565 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1566 PyObject *resultobj;
1567 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1568 wxBitmap *arg2 = 0 ;
1569 PyObject * obj0 = 0 ;
1570 PyObject * obj1 = 0 ;
1571 char *kwnames[] = {
1572 (char *) "self",(char *) "bitmap", NULL
1573 };
1574
1575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1577 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1578 if (arg2 == NULL) {
1579 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1580 }
1581 {
1582 PyThreadState* __tstate = wxPyBeginAllowThreads();
1583 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1584
1585 wxPyEndAllowThreads(__tstate);
1586 if (PyErr_Occurred()) SWIG_fail;
1587 }
1588 Py_INCREF(Py_None); resultobj = Py_None;
1589 return resultobj;
1590 fail:
1591 return NULL;
1592 }
1593
1594
1595 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1596 PyObject *resultobj;
1597 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1598 wxBitmap *arg2 = 0 ;
1599 PyObject * obj0 = 0 ;
1600 PyObject * obj1 = 0 ;
1601 char *kwnames[] = {
1602 (char *) "self",(char *) "bitmap", NULL
1603 };
1604
1605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1608 if (arg2 == NULL) {
1609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1610 }
1611 {
1612 PyThreadState* __tstate = wxPyBeginAllowThreads();
1613 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1614
1615 wxPyEndAllowThreads(__tstate);
1616 if (PyErr_Occurred()) SWIG_fail;
1617 }
1618 Py_INCREF(Py_None); resultobj = Py_None;
1619 return resultobj;
1620 fail:
1621 return NULL;
1622 }
1623
1624
1625 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1626 PyObject *resultobj;
1627 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1628 wxBitmap *arg2 = 0 ;
1629 PyObject * obj0 = 0 ;
1630 PyObject * obj1 = 0 ;
1631 char *kwnames[] = {
1632 (char *) "self",(char *) "bitmap", NULL
1633 };
1634
1635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1638 if (arg2 == NULL) {
1639 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1640 }
1641 {
1642 PyThreadState* __tstate = wxPyBeginAllowThreads();
1643 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1644
1645 wxPyEndAllowThreads(__tstate);
1646 if (PyErr_Occurred()) SWIG_fail;
1647 }
1648 Py_INCREF(Py_None); resultobj = Py_None;
1649 return resultobj;
1650 fail:
1651 return NULL;
1652 }
1653
1654
1655 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1656 PyObject *resultobj;
1657 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1658 int arg2 ;
1659 int arg3 ;
1660 PyObject * obj0 = 0 ;
1661 char *kwnames[] = {
1662 (char *) "self",(char *) "x",(char *) "y", NULL
1663 };
1664
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1667 {
1668 PyThreadState* __tstate = wxPyBeginAllowThreads();
1669 (arg1)->SetMargins(arg2,arg3);
1670
1671 wxPyEndAllowThreads(__tstate);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 Py_INCREF(Py_None); resultobj = Py_None;
1675 return resultobj;
1676 fail:
1677 return NULL;
1678 }
1679
1680
1681 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1682 PyObject *resultobj;
1683 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1684 int result;
1685 PyObject * obj0 = 0 ;
1686 char *kwnames[] = {
1687 (char *) "self", NULL
1688 };
1689
1690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1692 {
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
1694 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1695
1696 wxPyEndAllowThreads(__tstate);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
1699 resultobj = PyInt_FromLong((long)result);
1700 return resultobj;
1701 fail:
1702 return NULL;
1703 }
1704
1705
1706 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1707 PyObject *resultobj;
1708 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1709 int result;
1710 PyObject * obj0 = 0 ;
1711 char *kwnames[] = {
1712 (char *) "self", NULL
1713 };
1714
1715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1717 {
1718 PyThreadState* __tstate = wxPyBeginAllowThreads();
1719 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1720
1721 wxPyEndAllowThreads(__tstate);
1722 if (PyErr_Occurred()) SWIG_fail;
1723 }
1724 resultobj = PyInt_FromLong((long)result);
1725 return resultobj;
1726 fail:
1727 return NULL;
1728 }
1729
1730
1731 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1732 PyObject *obj;
1733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1734 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1735 Py_INCREF(obj);
1736 return Py_BuildValue((char *)"");
1737 }
1738 static int _wrap_CheckBoxNameStr_set(PyObject *_val) {
1739 PyErr_SetString(PyExc_TypeError,"Variable CheckBoxNameStr is read-only.");
1740 return 1;
1741 }
1742
1743
1744 static PyObject *_wrap_CheckBoxNameStr_get() {
1745 PyObject *pyobj;
1746
1747 {
1748 #if wxUSE_UNICODE
1749 pyobj = PyUnicode_FromWideChar((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1750 #else
1751 pyobj = PyString_FromStringAndSize((&wxPyCheckBoxNameStr)->c_str(), (&wxPyCheckBoxNameStr)->Len());
1752 #endif
1753 }
1754 return pyobj;
1755 }
1756
1757
1758 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1759 PyObject *resultobj;
1760 wxWindow *arg1 = (wxWindow *) 0 ;
1761 int arg2 ;
1762 wxString *arg3 = 0 ;
1763 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1764 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1765 wxSize const &arg5_defvalue = wxDefaultSize ;
1766 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1767 long arg6 = (long) 0 ;
1768 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1769 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1770 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1771 wxString *arg8 = (wxString *) &arg8_defvalue ;
1772 wxCheckBox *result;
1773 bool temp3 = False ;
1774 wxPoint temp4 ;
1775 wxSize temp5 ;
1776 bool temp8 = False ;
1777 PyObject * obj0 = 0 ;
1778 PyObject * obj2 = 0 ;
1779 PyObject * obj3 = 0 ;
1780 PyObject * obj4 = 0 ;
1781 PyObject * obj6 = 0 ;
1782 PyObject * obj7 = 0 ;
1783 char *kwnames[] = {
1784 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1785 };
1786
1787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1789 {
1790 arg3 = wxString_in_helper(obj2);
1791 if (arg3 == NULL) SWIG_fail;
1792 temp3 = True;
1793 }
1794 if (obj3) {
1795 {
1796 arg4 = &temp4;
1797 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1798 }
1799 }
1800 if (obj4) {
1801 {
1802 arg5 = &temp5;
1803 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1804 }
1805 }
1806 if (obj6) {
1807 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 if (arg7 == NULL) {
1809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1810 }
1811 }
1812 if (obj7) {
1813 {
1814 arg8 = wxString_in_helper(obj7);
1815 if (arg8 == NULL) SWIG_fail;
1816 temp8 = True;
1817 }
1818 }
1819 {
1820 PyThreadState* __tstate = wxPyBeginAllowThreads();
1821 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1822
1823 wxPyEndAllowThreads(__tstate);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 }
1826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1827 {
1828 if (temp3)
1829 delete arg3;
1830 }
1831 {
1832 if (temp8)
1833 delete arg8;
1834 }
1835 return resultobj;
1836 fail:
1837 {
1838 if (temp3)
1839 delete arg3;
1840 }
1841 {
1842 if (temp8)
1843 delete arg8;
1844 }
1845 return NULL;
1846 }
1847
1848
1849 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1850 PyObject *resultobj;
1851 wxCheckBox *result;
1852 char *kwnames[] = {
1853 NULL
1854 };
1855
1856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1857 {
1858 PyThreadState* __tstate = wxPyBeginAllowThreads();
1859 result = (wxCheckBox *)new wxCheckBox();
1860
1861 wxPyEndAllowThreads(__tstate);
1862 if (PyErr_Occurred()) SWIG_fail;
1863 }
1864 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1865 return resultobj;
1866 fail:
1867 return NULL;
1868 }
1869
1870
1871 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1872 PyObject *resultobj;
1873 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1874 wxWindow *arg2 = (wxWindow *) 0 ;
1875 int arg3 ;
1876 wxString *arg4 = 0 ;
1877 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1878 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1879 wxSize const &arg6_defvalue = wxDefaultSize ;
1880 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1881 long arg7 = (long) 0 ;
1882 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1883 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1884 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1885 wxString *arg9 = (wxString *) &arg9_defvalue ;
1886 bool result;
1887 bool temp4 = False ;
1888 wxPoint temp5 ;
1889 wxSize temp6 ;
1890 bool temp9 = False ;
1891 PyObject * obj0 = 0 ;
1892 PyObject * obj1 = 0 ;
1893 PyObject * obj3 = 0 ;
1894 PyObject * obj4 = 0 ;
1895 PyObject * obj5 = 0 ;
1896 PyObject * obj7 = 0 ;
1897 PyObject * obj8 = 0 ;
1898 char *kwnames[] = {
1899 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1900 };
1901
1902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1904 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1905 {
1906 arg4 = wxString_in_helper(obj3);
1907 if (arg4 == NULL) SWIG_fail;
1908 temp4 = True;
1909 }
1910 if (obj4) {
1911 {
1912 arg5 = &temp5;
1913 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1914 }
1915 }
1916 if (obj5) {
1917 {
1918 arg6 = &temp6;
1919 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1920 }
1921 }
1922 if (obj7) {
1923 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1924 if (arg8 == NULL) {
1925 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1926 }
1927 }
1928 if (obj8) {
1929 {
1930 arg9 = wxString_in_helper(obj8);
1931 if (arg9 == NULL) SWIG_fail;
1932 temp9 = True;
1933 }
1934 }
1935 {
1936 PyThreadState* __tstate = wxPyBeginAllowThreads();
1937 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1938
1939 wxPyEndAllowThreads(__tstate);
1940 if (PyErr_Occurred()) SWIG_fail;
1941 }
1942 resultobj = PyInt_FromLong((long)result);
1943 {
1944 if (temp4)
1945 delete arg4;
1946 }
1947 {
1948 if (temp9)
1949 delete arg9;
1950 }
1951 return resultobj;
1952 fail:
1953 {
1954 if (temp4)
1955 delete arg4;
1956 }
1957 {
1958 if (temp9)
1959 delete arg9;
1960 }
1961 return NULL;
1962 }
1963
1964
1965 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1966 PyObject *resultobj;
1967 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1968 bool result;
1969 PyObject * obj0 = 0 ;
1970 char *kwnames[] = {
1971 (char *) "self", NULL
1972 };
1973
1974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1976 {
1977 PyThreadState* __tstate = wxPyBeginAllowThreads();
1978 result = (bool)(arg1)->GetValue();
1979
1980 wxPyEndAllowThreads(__tstate);
1981 if (PyErr_Occurred()) SWIG_fail;
1982 }
1983 resultobj = PyInt_FromLong((long)result);
1984 return resultobj;
1985 fail:
1986 return NULL;
1987 }
1988
1989
1990 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1991 PyObject *resultobj;
1992 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1993 bool result;
1994 PyObject * obj0 = 0 ;
1995 char *kwnames[] = {
1996 (char *) "self", NULL
1997 };
1998
1999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
2000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2001 {
2002 PyThreadState* __tstate = wxPyBeginAllowThreads();
2003 result = (bool)(arg1)->IsChecked();
2004
2005 wxPyEndAllowThreads(__tstate);
2006 if (PyErr_Occurred()) SWIG_fail;
2007 }
2008 resultobj = PyInt_FromLong((long)result);
2009 return resultobj;
2010 fail:
2011 return NULL;
2012 }
2013
2014
2015 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2016 PyObject *resultobj;
2017 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2018 bool arg2 ;
2019 PyObject * obj0 = 0 ;
2020 PyObject * obj1 = 0 ;
2021 char *kwnames[] = {
2022 (char *) "self",(char *) "state", NULL
2023 };
2024
2025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2027 {
2028 arg2 = (bool const) SPyObj_AsBool(obj1);
2029 if (PyErr_Occurred()) SWIG_fail;
2030 }
2031 {
2032 PyThreadState* __tstate = wxPyBeginAllowThreads();
2033 (arg1)->SetValue(arg2);
2034
2035 wxPyEndAllowThreads(__tstate);
2036 if (PyErr_Occurred()) SWIG_fail;
2037 }
2038 Py_INCREF(Py_None); resultobj = Py_None;
2039 return resultobj;
2040 fail:
2041 return NULL;
2042 }
2043
2044
2045 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2046 PyObject *resultobj;
2047 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2048 int result;
2049 PyObject * obj0 = 0 ;
2050 char *kwnames[] = {
2051 (char *) "self", NULL
2052 };
2053
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
2055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2056 {
2057 PyThreadState* __tstate = wxPyBeginAllowThreads();
2058 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
2059
2060 wxPyEndAllowThreads(__tstate);
2061 if (PyErr_Occurred()) SWIG_fail;
2062 }
2063 resultobj = PyInt_FromLong((long)result);
2064 return resultobj;
2065 fail:
2066 return NULL;
2067 }
2068
2069
2070 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2071 PyObject *resultobj;
2072 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2073 int arg2 ;
2074 PyObject * obj0 = 0 ;
2075 char *kwnames[] = {
2076 (char *) "self",(char *) "state", NULL
2077 };
2078
2079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
2080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2081 {
2082 PyThreadState* __tstate = wxPyBeginAllowThreads();
2083 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
2084
2085 wxPyEndAllowThreads(__tstate);
2086 if (PyErr_Occurred()) SWIG_fail;
2087 }
2088 Py_INCREF(Py_None); resultobj = Py_None;
2089 return resultobj;
2090 fail:
2091 return NULL;
2092 }
2093
2094
2095 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
2096 PyObject *resultobj;
2097 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2098 bool result;
2099 PyObject * obj0 = 0 ;
2100 char *kwnames[] = {
2101 (char *) "self", NULL
2102 };
2103
2104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
2105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2106 {
2107 PyThreadState* __tstate = wxPyBeginAllowThreads();
2108 result = (bool)((wxCheckBox const *)arg1)->Is3State();
2109
2110 wxPyEndAllowThreads(__tstate);
2111 if (PyErr_Occurred()) SWIG_fail;
2112 }
2113 resultobj = PyInt_FromLong((long)result);
2114 return resultobj;
2115 fail:
2116 return NULL;
2117 }
2118
2119
2120 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2121 PyObject *resultobj;
2122 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2123 bool result;
2124 PyObject * obj0 = 0 ;
2125 char *kwnames[] = {
2126 (char *) "self", NULL
2127 };
2128
2129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2131 {
2132 PyThreadState* __tstate = wxPyBeginAllowThreads();
2133 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2134
2135 wxPyEndAllowThreads(__tstate);
2136 if (PyErr_Occurred()) SWIG_fail;
2137 }
2138 resultobj = PyInt_FromLong((long)result);
2139 return resultobj;
2140 fail:
2141 return NULL;
2142 }
2143
2144
2145 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2146 PyObject *obj;
2147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2148 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2149 Py_INCREF(obj);
2150 return Py_BuildValue((char *)"");
2151 }
2152 static int _wrap_ChoiceNameStr_set(PyObject *_val) {
2153 PyErr_SetString(PyExc_TypeError,"Variable ChoiceNameStr is read-only.");
2154 return 1;
2155 }
2156
2157
2158 static PyObject *_wrap_ChoiceNameStr_get() {
2159 PyObject *pyobj;
2160
2161 {
2162 #if wxUSE_UNICODE
2163 pyobj = PyUnicode_FromWideChar((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2164 #else
2165 pyobj = PyString_FromStringAndSize((&wxPyChoiceNameStr)->c_str(), (&wxPyChoiceNameStr)->Len());
2166 #endif
2167 }
2168 return pyobj;
2169 }
2170
2171
2172 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2173 PyObject *resultobj;
2174 wxWindow *arg1 = (wxWindow *) 0 ;
2175 int arg2 ;
2176 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2177 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2178 wxSize const &arg4_defvalue = wxDefaultSize ;
2179 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2180 int arg5 = (int) 0 ;
2181 wxString *arg6 = (wxString *) NULL ;
2182 long arg7 = (long) 0 ;
2183 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2184 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2185 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2186 wxString *arg9 = (wxString *) &arg9_defvalue ;
2187 wxChoice *result;
2188 wxPoint temp3 ;
2189 wxSize temp4 ;
2190 bool temp8 = False ;
2191 PyObject * obj0 = 0 ;
2192 PyObject * obj2 = 0 ;
2193 PyObject * obj3 = 0 ;
2194 PyObject * obj4 = 0 ;
2195 PyObject * obj6 = 0 ;
2196 PyObject * obj7 = 0 ;
2197 char *kwnames[] = {
2198 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2199 };
2200
2201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2203 if (obj2) {
2204 {
2205 arg3 = &temp3;
2206 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2207 }
2208 }
2209 if (obj3) {
2210 {
2211 arg4 = &temp4;
2212 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2213 }
2214 }
2215 if (obj4) {
2216 {
2217 arg5 = PyList_Size(obj4);
2218 arg6 = wxString_LIST_helper(obj4);
2219 if (arg6 == NULL) SWIG_fail;
2220 }
2221 }
2222 if (obj6) {
2223 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2224 if (arg8 == NULL) {
2225 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2226 }
2227 }
2228 if (obj7) {
2229 {
2230 arg9 = wxString_in_helper(obj7);
2231 if (arg9 == NULL) SWIG_fail;
2232 temp8 = True;
2233 }
2234 }
2235 {
2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
2237 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2238
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 }
2242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2243 {
2244 if (arg6) delete [] arg6;
2245 }
2246 {
2247 if (temp8)
2248 delete arg9;
2249 }
2250 return resultobj;
2251 fail:
2252 {
2253 if (arg6) delete [] arg6;
2254 }
2255 {
2256 if (temp8)
2257 delete arg9;
2258 }
2259 return NULL;
2260 }
2261
2262
2263 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2264 PyObject *resultobj;
2265 wxChoice *result;
2266 char *kwnames[] = {
2267 NULL
2268 };
2269
2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 result = (wxChoice *)new wxChoice();
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2279 return resultobj;
2280 fail:
2281 return NULL;
2282 }
2283
2284
2285 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject *resultobj;
2287 wxChoice *arg1 = (wxChoice *) 0 ;
2288 wxWindow *arg2 = (wxWindow *) 0 ;
2289 int arg3 ;
2290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2292 wxSize const &arg5_defvalue = wxDefaultSize ;
2293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2294 int arg6 = (int) 0 ;
2295 wxString *arg7 = (wxString *) NULL ;
2296 long arg8 = (long) 0 ;
2297 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2298 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2299 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2300 wxString *arg10 = (wxString *) &arg10_defvalue ;
2301 bool result;
2302 wxPoint temp4 ;
2303 wxSize temp5 ;
2304 bool temp9 = False ;
2305 PyObject * obj0 = 0 ;
2306 PyObject * obj1 = 0 ;
2307 PyObject * obj3 = 0 ;
2308 PyObject * obj4 = 0 ;
2309 PyObject * obj5 = 0 ;
2310 PyObject * obj7 = 0 ;
2311 PyObject * obj8 = 0 ;
2312 char *kwnames[] = {
2313 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2314 };
2315
2316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2318 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2319 if (obj3) {
2320 {
2321 arg4 = &temp4;
2322 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2323 }
2324 }
2325 if (obj4) {
2326 {
2327 arg5 = &temp5;
2328 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2329 }
2330 }
2331 if (obj5) {
2332 {
2333 arg6 = PyList_Size(obj5);
2334 arg7 = wxString_LIST_helper(obj5);
2335 if (arg7 == NULL) SWIG_fail;
2336 }
2337 }
2338 if (obj7) {
2339 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2340 if (arg9 == NULL) {
2341 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2342 }
2343 }
2344 if (obj8) {
2345 {
2346 arg10 = wxString_in_helper(obj8);
2347 if (arg10 == NULL) SWIG_fail;
2348 temp9 = True;
2349 }
2350 }
2351 {
2352 PyThreadState* __tstate = wxPyBeginAllowThreads();
2353 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2354
2355 wxPyEndAllowThreads(__tstate);
2356 if (PyErr_Occurred()) SWIG_fail;
2357 }
2358 resultobj = PyInt_FromLong((long)result);
2359 {
2360 if (arg7) delete [] arg7;
2361 }
2362 {
2363 if (temp9)
2364 delete arg10;
2365 }
2366 return resultobj;
2367 fail:
2368 {
2369 if (arg7) delete [] arg7;
2370 }
2371 {
2372 if (temp9)
2373 delete arg10;
2374 }
2375 return NULL;
2376 }
2377
2378
2379 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2380 PyObject *resultobj;
2381 wxChoice *arg1 = (wxChoice *) 0 ;
2382 int result;
2383 PyObject * obj0 = 0 ;
2384 char *kwnames[] = {
2385 (char *) "self", NULL
2386 };
2387
2388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2390 {
2391 PyThreadState* __tstate = wxPyBeginAllowThreads();
2392 result = (int)(arg1)->GetColumns();
2393
2394 wxPyEndAllowThreads(__tstate);
2395 if (PyErr_Occurred()) SWIG_fail;
2396 }
2397 resultobj = PyInt_FromLong((long)result);
2398 return resultobj;
2399 fail:
2400 return NULL;
2401 }
2402
2403
2404 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2405 PyObject *resultobj;
2406 wxChoice *arg1 = (wxChoice *) 0 ;
2407 int arg2 = (int) (int)1 ;
2408 PyObject * obj0 = 0 ;
2409 char *kwnames[] = {
2410 (char *) "self",(char *) "n", NULL
2411 };
2412
2413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2415 {
2416 PyThreadState* __tstate = wxPyBeginAllowThreads();
2417 (arg1)->SetColumns(arg2);
2418
2419 wxPyEndAllowThreads(__tstate);
2420 if (PyErr_Occurred()) SWIG_fail;
2421 }
2422 Py_INCREF(Py_None); resultobj = Py_None;
2423 return resultobj;
2424 fail:
2425 return NULL;
2426 }
2427
2428
2429 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2430 PyObject *resultobj;
2431 wxChoice *arg1 = (wxChoice *) 0 ;
2432 int arg2 ;
2433 PyObject * obj0 = 0 ;
2434 char *kwnames[] = {
2435 (char *) "self",(char *) "n", NULL
2436 };
2437
2438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2440 {
2441 PyThreadState* __tstate = wxPyBeginAllowThreads();
2442 (arg1)->SetSelection(arg2);
2443
2444 wxPyEndAllowThreads(__tstate);
2445 if (PyErr_Occurred()) SWIG_fail;
2446 }
2447 Py_INCREF(Py_None); resultobj = Py_None;
2448 return resultobj;
2449 fail:
2450 return NULL;
2451 }
2452
2453
2454 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2455 PyObject *resultobj;
2456 wxChoice *arg1 = (wxChoice *) 0 ;
2457 wxString *arg2 = 0 ;
2458 bool temp2 = False ;
2459 PyObject * obj0 = 0 ;
2460 PyObject * obj1 = 0 ;
2461 char *kwnames[] = {
2462 (char *) "self",(char *) "string", NULL
2463 };
2464
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2467 {
2468 arg2 = wxString_in_helper(obj1);
2469 if (arg2 == NULL) SWIG_fail;
2470 temp2 = True;
2471 }
2472 {
2473 PyThreadState* __tstate = wxPyBeginAllowThreads();
2474 (arg1)->SetStringSelection((wxString const &)*arg2);
2475
2476 wxPyEndAllowThreads(__tstate);
2477 if (PyErr_Occurred()) SWIG_fail;
2478 }
2479 Py_INCREF(Py_None); resultobj = Py_None;
2480 {
2481 if (temp2)
2482 delete arg2;
2483 }
2484 return resultobj;
2485 fail:
2486 {
2487 if (temp2)
2488 delete arg2;
2489 }
2490 return NULL;
2491 }
2492
2493
2494 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2495 PyObject *resultobj;
2496 wxChoice *arg1 = (wxChoice *) 0 ;
2497 int arg2 ;
2498 wxString *arg3 = 0 ;
2499 bool temp3 = False ;
2500 PyObject * obj0 = 0 ;
2501 PyObject * obj2 = 0 ;
2502 char *kwnames[] = {
2503 (char *) "self",(char *) "n",(char *) "s", NULL
2504 };
2505
2506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2508 {
2509 arg3 = wxString_in_helper(obj2);
2510 if (arg3 == NULL) SWIG_fail;
2511 temp3 = True;
2512 }
2513 {
2514 PyThreadState* __tstate = wxPyBeginAllowThreads();
2515 (arg1)->SetString(arg2,(wxString const &)*arg3);
2516
2517 wxPyEndAllowThreads(__tstate);
2518 if (PyErr_Occurred()) SWIG_fail;
2519 }
2520 Py_INCREF(Py_None); resultobj = Py_None;
2521 {
2522 if (temp3)
2523 delete arg3;
2524 }
2525 return resultobj;
2526 fail:
2527 {
2528 if (temp3)
2529 delete arg3;
2530 }
2531 return NULL;
2532 }
2533
2534
2535 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2536 PyObject *obj;
2537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2538 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2539 Py_INCREF(obj);
2540 return Py_BuildValue((char *)"");
2541 }
2542 static int _wrap_ComboBoxNameStr_set(PyObject *_val) {
2543 PyErr_SetString(PyExc_TypeError,"Variable ComboBoxNameStr is read-only.");
2544 return 1;
2545 }
2546
2547
2548 static PyObject *_wrap_ComboBoxNameStr_get() {
2549 PyObject *pyobj;
2550
2551 {
2552 #if wxUSE_UNICODE
2553 pyobj = PyUnicode_FromWideChar((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2554 #else
2555 pyobj = PyString_FromStringAndSize((&wxPyComboBoxNameStr)->c_str(), (&wxPyComboBoxNameStr)->Len());
2556 #endif
2557 }
2558 return pyobj;
2559 }
2560
2561
2562 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2563 PyObject *resultobj;
2564 wxWindow *arg1 = (wxWindow *) 0 ;
2565 int arg2 ;
2566 wxString const &arg3_defvalue = wxPyEmptyString ;
2567 wxString *arg3 = (wxString *) &arg3_defvalue ;
2568 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2569 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2570 wxSize const &arg5_defvalue = wxDefaultSize ;
2571 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2572 int arg6 = (int) 0 ;
2573 wxString *arg7 = (wxString *) NULL ;
2574 long arg8 = (long) 0 ;
2575 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2576 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2577 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2578 wxString *arg10 = (wxString *) &arg10_defvalue ;
2579 wxComboBox *result;
2580 bool temp3 = False ;
2581 wxPoint temp4 ;
2582 wxSize temp5 ;
2583 bool temp9 = False ;
2584 PyObject * obj0 = 0 ;
2585 PyObject * obj2 = 0 ;
2586 PyObject * obj3 = 0 ;
2587 PyObject * obj4 = 0 ;
2588 PyObject * obj5 = 0 ;
2589 PyObject * obj7 = 0 ;
2590 PyObject * obj8 = 0 ;
2591 char *kwnames[] = {
2592 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2593 };
2594
2595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2597 if (obj2) {
2598 {
2599 arg3 = wxString_in_helper(obj2);
2600 if (arg3 == NULL) SWIG_fail;
2601 temp3 = True;
2602 }
2603 }
2604 if (obj3) {
2605 {
2606 arg4 = &temp4;
2607 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2608 }
2609 }
2610 if (obj4) {
2611 {
2612 arg5 = &temp5;
2613 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2614 }
2615 }
2616 if (obj5) {
2617 {
2618 arg6 = PyList_Size(obj5);
2619 arg7 = wxString_LIST_helper(obj5);
2620 if (arg7 == NULL) SWIG_fail;
2621 }
2622 }
2623 if (obj7) {
2624 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2625 if (arg9 == NULL) {
2626 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2627 }
2628 }
2629 if (obj8) {
2630 {
2631 arg10 = wxString_in_helper(obj8);
2632 if (arg10 == NULL) SWIG_fail;
2633 temp9 = True;
2634 }
2635 }
2636 {
2637 PyThreadState* __tstate = wxPyBeginAllowThreads();
2638 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2639
2640 wxPyEndAllowThreads(__tstate);
2641 if (PyErr_Occurred()) SWIG_fail;
2642 }
2643 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2644 {
2645 if (temp3)
2646 delete arg3;
2647 }
2648 {
2649 if (arg7) delete [] arg7;
2650 }
2651 {
2652 if (temp9)
2653 delete arg10;
2654 }
2655 return resultobj;
2656 fail:
2657 {
2658 if (temp3)
2659 delete arg3;
2660 }
2661 {
2662 if (arg7) delete [] arg7;
2663 }
2664 {
2665 if (temp9)
2666 delete arg10;
2667 }
2668 return NULL;
2669 }
2670
2671
2672 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2673 PyObject *resultobj;
2674 wxComboBox *result;
2675 char *kwnames[] = {
2676 NULL
2677 };
2678
2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2680 {
2681 PyThreadState* __tstate = wxPyBeginAllowThreads();
2682 result = (wxComboBox *)new wxComboBox();
2683
2684 wxPyEndAllowThreads(__tstate);
2685 if (PyErr_Occurred()) SWIG_fail;
2686 }
2687 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2688 return resultobj;
2689 fail:
2690 return NULL;
2691 }
2692
2693
2694 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2695 PyObject *resultobj;
2696 wxComboBox *arg1 = (wxComboBox *) 0 ;
2697 wxWindow *arg2 = (wxWindow *) 0 ;
2698 int arg3 ;
2699 wxString const &arg4_defvalue = wxPyEmptyString ;
2700 wxString *arg4 = (wxString *) &arg4_defvalue ;
2701 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2702 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2703 wxSize const &arg6_defvalue = wxDefaultSize ;
2704 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2705 int arg7 = (int) 0 ;
2706 wxString *arg8 = (wxString *) NULL ;
2707 long arg9 = (long) 0 ;
2708 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2709 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2710 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2711 wxString *arg11 = (wxString *) &arg11_defvalue ;
2712 bool result;
2713 bool temp4 = False ;
2714 wxPoint temp5 ;
2715 wxSize temp6 ;
2716 bool temp10 = False ;
2717 PyObject * obj0 = 0 ;
2718 PyObject * obj1 = 0 ;
2719 PyObject * obj3 = 0 ;
2720 PyObject * obj4 = 0 ;
2721 PyObject * obj5 = 0 ;
2722 PyObject * obj6 = 0 ;
2723 PyObject * obj8 = 0 ;
2724 PyObject * obj9 = 0 ;
2725 char *kwnames[] = {
2726 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2727 };
2728
2729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2732 if (obj3) {
2733 {
2734 arg4 = wxString_in_helper(obj3);
2735 if (arg4 == NULL) SWIG_fail;
2736 temp4 = True;
2737 }
2738 }
2739 if (obj4) {
2740 {
2741 arg5 = &temp5;
2742 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2743 }
2744 }
2745 if (obj5) {
2746 {
2747 arg6 = &temp6;
2748 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2749 }
2750 }
2751 if (obj6) {
2752 {
2753 arg7 = PyList_Size(obj6);
2754 arg8 = wxString_LIST_helper(obj6);
2755 if (arg8 == NULL) SWIG_fail;
2756 }
2757 }
2758 if (obj8) {
2759 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2760 if (arg10 == NULL) {
2761 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2762 }
2763 }
2764 if (obj9) {
2765 {
2766 arg11 = wxString_in_helper(obj9);
2767 if (arg11 == NULL) SWIG_fail;
2768 temp10 = True;
2769 }
2770 }
2771 {
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2774
2775 wxPyEndAllowThreads(__tstate);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 resultobj = PyInt_FromLong((long)result);
2779 {
2780 if (temp4)
2781 delete arg4;
2782 }
2783 {
2784 if (arg8) delete [] arg8;
2785 }
2786 {
2787 if (temp10)
2788 delete arg11;
2789 }
2790 return resultobj;
2791 fail:
2792 {
2793 if (temp4)
2794 delete arg4;
2795 }
2796 {
2797 if (arg8) delete [] arg8;
2798 }
2799 {
2800 if (temp10)
2801 delete arg11;
2802 }
2803 return NULL;
2804 }
2805
2806
2807 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2808 PyObject *resultobj;
2809 wxComboBox *arg1 = (wxComboBox *) 0 ;
2810 wxString result;
2811 PyObject * obj0 = 0 ;
2812 char *kwnames[] = {
2813 (char *) "self", NULL
2814 };
2815
2816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2818 {
2819 PyThreadState* __tstate = wxPyBeginAllowThreads();
2820 result = ((wxComboBox const *)arg1)->GetValue();
2821
2822 wxPyEndAllowThreads(__tstate);
2823 if (PyErr_Occurred()) SWIG_fail;
2824 }
2825 {
2826 #if wxUSE_UNICODE
2827 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2828 #else
2829 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2830 #endif
2831 }
2832 return resultobj;
2833 fail:
2834 return NULL;
2835 }
2836
2837
2838 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2839 PyObject *resultobj;
2840 wxComboBox *arg1 = (wxComboBox *) 0 ;
2841 wxString *arg2 = 0 ;
2842 bool temp2 = False ;
2843 PyObject * obj0 = 0 ;
2844 PyObject * obj1 = 0 ;
2845 char *kwnames[] = {
2846 (char *) "self",(char *) "value", NULL
2847 };
2848
2849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2851 {
2852 arg2 = wxString_in_helper(obj1);
2853 if (arg2 == NULL) SWIG_fail;
2854 temp2 = True;
2855 }
2856 {
2857 PyThreadState* __tstate = wxPyBeginAllowThreads();
2858 (arg1)->SetValue((wxString const &)*arg2);
2859
2860 wxPyEndAllowThreads(__tstate);
2861 if (PyErr_Occurred()) SWIG_fail;
2862 }
2863 Py_INCREF(Py_None); resultobj = Py_None;
2864 {
2865 if (temp2)
2866 delete arg2;
2867 }
2868 return resultobj;
2869 fail:
2870 {
2871 if (temp2)
2872 delete arg2;
2873 }
2874 return NULL;
2875 }
2876
2877
2878 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2879 PyObject *resultobj;
2880 wxComboBox *arg1 = (wxComboBox *) 0 ;
2881 PyObject * obj0 = 0 ;
2882 char *kwnames[] = {
2883 (char *) "self", NULL
2884 };
2885
2886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2888 {
2889 PyThreadState* __tstate = wxPyBeginAllowThreads();
2890 (arg1)->Copy();
2891
2892 wxPyEndAllowThreads(__tstate);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 }
2895 Py_INCREF(Py_None); resultobj = Py_None;
2896 return resultobj;
2897 fail:
2898 return NULL;
2899 }
2900
2901
2902 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2903 PyObject *resultobj;
2904 wxComboBox *arg1 = (wxComboBox *) 0 ;
2905 PyObject * obj0 = 0 ;
2906 char *kwnames[] = {
2907 (char *) "self", NULL
2908 };
2909
2910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2912 {
2913 PyThreadState* __tstate = wxPyBeginAllowThreads();
2914 (arg1)->Cut();
2915
2916 wxPyEndAllowThreads(__tstate);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2919 Py_INCREF(Py_None); resultobj = Py_None;
2920 return resultobj;
2921 fail:
2922 return NULL;
2923 }
2924
2925
2926 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2927 PyObject *resultobj;
2928 wxComboBox *arg1 = (wxComboBox *) 0 ;
2929 PyObject * obj0 = 0 ;
2930 char *kwnames[] = {
2931 (char *) "self", NULL
2932 };
2933
2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 (arg1)->Paste();
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 Py_INCREF(Py_None); resultobj = Py_None;
2944 return resultobj;
2945 fail:
2946 return NULL;
2947 }
2948
2949
2950 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2951 PyObject *resultobj;
2952 wxComboBox *arg1 = (wxComboBox *) 0 ;
2953 long arg2 ;
2954 PyObject * obj0 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self",(char *) "pos", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2961 {
2962 PyThreadState* __tstate = wxPyBeginAllowThreads();
2963 (arg1)->SetInsertionPoint(arg2);
2964
2965 wxPyEndAllowThreads(__tstate);
2966 if (PyErr_Occurred()) SWIG_fail;
2967 }
2968 Py_INCREF(Py_None); resultobj = Py_None;
2969 return resultobj;
2970 fail:
2971 return NULL;
2972 }
2973
2974
2975 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2976 PyObject *resultobj;
2977 wxComboBox *arg1 = (wxComboBox *) 0 ;
2978 long result;
2979 PyObject * obj0 = 0 ;
2980 char *kwnames[] = {
2981 (char *) "self", NULL
2982 };
2983
2984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2986 {
2987 PyThreadState* __tstate = wxPyBeginAllowThreads();
2988 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2989
2990 wxPyEndAllowThreads(__tstate);
2991 if (PyErr_Occurred()) SWIG_fail;
2992 }
2993 resultobj = PyInt_FromLong((long)result);
2994 return resultobj;
2995 fail:
2996 return NULL;
2997 }
2998
2999
3000 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3001 PyObject *resultobj;
3002 wxComboBox *arg1 = (wxComboBox *) 0 ;
3003 long result;
3004 PyObject * obj0 = 0 ;
3005 char *kwnames[] = {
3006 (char *) "self", NULL
3007 };
3008
3009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
3010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3011 {
3012 PyThreadState* __tstate = wxPyBeginAllowThreads();
3013 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
3014
3015 wxPyEndAllowThreads(__tstate);
3016 if (PyErr_Occurred()) SWIG_fail;
3017 }
3018 resultobj = PyInt_FromLong((long)result);
3019 return resultobj;
3020 fail:
3021 return NULL;
3022 }
3023
3024
3025 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
3026 PyObject *resultobj;
3027 wxComboBox *arg1 = (wxComboBox *) 0 ;
3028 long arg2 ;
3029 long arg3 ;
3030 wxString *arg4 = 0 ;
3031 bool temp4 = False ;
3032 PyObject * obj0 = 0 ;
3033 PyObject * obj3 = 0 ;
3034 char *kwnames[] = {
3035 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3036 };
3037
3038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3040 {
3041 arg4 = wxString_in_helper(obj3);
3042 if (arg4 == NULL) SWIG_fail;
3043 temp4 = True;
3044 }
3045 {
3046 PyThreadState* __tstate = wxPyBeginAllowThreads();
3047 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
3048
3049 wxPyEndAllowThreads(__tstate);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 }
3052 Py_INCREF(Py_None); resultobj = Py_None;
3053 {
3054 if (temp4)
3055 delete arg4;
3056 }
3057 return resultobj;
3058 fail:
3059 {
3060 if (temp4)
3061 delete arg4;
3062 }
3063 return NULL;
3064 }
3065
3066
3067 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
3068 PyObject *resultobj;
3069 wxComboBox *arg1 = (wxComboBox *) 0 ;
3070 int arg2 ;
3071 PyObject * obj0 = 0 ;
3072 char *kwnames[] = {
3073 (char *) "self",(char *) "n", NULL
3074 };
3075
3076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
3077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3078 {
3079 PyThreadState* __tstate = wxPyBeginAllowThreads();
3080 (arg1)->SetSelection(arg2);
3081
3082 wxPyEndAllowThreads(__tstate);
3083 if (PyErr_Occurred()) SWIG_fail;
3084 }
3085 Py_INCREF(Py_None); resultobj = Py_None;
3086 return resultobj;
3087 fail:
3088 return NULL;
3089 }
3090
3091
3092 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
3093 PyObject *resultobj;
3094 wxComboBox *arg1 = (wxComboBox *) 0 ;
3095 long arg2 ;
3096 long arg3 ;
3097 PyObject * obj0 = 0 ;
3098 char *kwnames[] = {
3099 (char *) "self",(char *) "from",(char *) "to", NULL
3100 };
3101
3102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
3103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3104 {
3105 PyThreadState* __tstate = wxPyBeginAllowThreads();
3106 (arg1)->SetSelection(arg2,arg3);
3107
3108 wxPyEndAllowThreads(__tstate);
3109 if (PyErr_Occurred()) SWIG_fail;
3110 }
3111 Py_INCREF(Py_None); resultobj = Py_None;
3112 return resultobj;
3113 fail:
3114 return NULL;
3115 }
3116
3117
3118 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
3119 PyObject *resultobj;
3120 wxComboBox *arg1 = (wxComboBox *) 0 ;
3121 bool arg2 ;
3122 PyObject * obj0 = 0 ;
3123 PyObject * obj1 = 0 ;
3124 char *kwnames[] = {
3125 (char *) "self",(char *) "editable", NULL
3126 };
3127
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
3129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3130 {
3131 arg2 = (bool) SPyObj_AsBool(obj1);
3132 if (PyErr_Occurred()) SWIG_fail;
3133 }
3134 {
3135 PyThreadState* __tstate = wxPyBeginAllowThreads();
3136 (arg1)->SetEditable(arg2);
3137
3138 wxPyEndAllowThreads(__tstate);
3139 if (PyErr_Occurred()) SWIG_fail;
3140 }
3141 Py_INCREF(Py_None); resultobj = Py_None;
3142 return resultobj;
3143 fail:
3144 return NULL;
3145 }
3146
3147
3148 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
3149 PyObject *resultobj;
3150 wxComboBox *arg1 = (wxComboBox *) 0 ;
3151 PyObject * obj0 = 0 ;
3152 char *kwnames[] = {
3153 (char *) "self", NULL
3154 };
3155
3156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
3157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3158 {
3159 PyThreadState* __tstate = wxPyBeginAllowThreads();
3160 (arg1)->SetInsertionPointEnd();
3161
3162 wxPyEndAllowThreads(__tstate);
3163 if (PyErr_Occurred()) SWIG_fail;
3164 }
3165 Py_INCREF(Py_None); resultobj = Py_None;
3166 return resultobj;
3167 fail:
3168 return NULL;
3169 }
3170
3171
3172 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3173 PyObject *resultobj;
3174 wxComboBox *arg1 = (wxComboBox *) 0 ;
3175 long arg2 ;
3176 long arg3 ;
3177 PyObject * obj0 = 0 ;
3178 char *kwnames[] = {
3179 (char *) "self",(char *) "from",(char *) "to", NULL
3180 };
3181
3182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3184 {
3185 PyThreadState* __tstate = wxPyBeginAllowThreads();
3186 (arg1)->Remove(arg2,arg3);
3187
3188 wxPyEndAllowThreads(__tstate);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
3191 Py_INCREF(Py_None); resultobj = Py_None;
3192 return resultobj;
3193 fail:
3194 return NULL;
3195 }
3196
3197
3198 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3199 PyObject *obj;
3200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3201 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3202 Py_INCREF(obj);
3203 return Py_BuildValue((char *)"");
3204 }
3205 static int _wrap_GaugeNameStr_set(PyObject *_val) {
3206 PyErr_SetString(PyExc_TypeError,"Variable GaugeNameStr is read-only.");
3207 return 1;
3208 }
3209
3210
3211 static PyObject *_wrap_GaugeNameStr_get() {
3212 PyObject *pyobj;
3213
3214 {
3215 #if wxUSE_UNICODE
3216 pyobj = PyUnicode_FromWideChar((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3217 #else
3218 pyobj = PyString_FromStringAndSize((&wxPyGaugeNameStr)->c_str(), (&wxPyGaugeNameStr)->Len());
3219 #endif
3220 }
3221 return pyobj;
3222 }
3223
3224
3225 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3226 PyObject *resultobj;
3227 wxWindow *arg1 = (wxWindow *) 0 ;
3228 int arg2 ;
3229 int arg3 ;
3230 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3231 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3232 wxSize const &arg5_defvalue = wxDefaultSize ;
3233 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3234 long arg6 = (long) wxGA_HORIZONTAL ;
3235 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3236 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3237 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3238 wxString *arg8 = (wxString *) &arg8_defvalue ;
3239 wxGauge *result;
3240 wxPoint temp4 ;
3241 wxSize temp5 ;
3242 bool temp8 = False ;
3243 PyObject * obj0 = 0 ;
3244 PyObject * obj3 = 0 ;
3245 PyObject * obj4 = 0 ;
3246 PyObject * obj6 = 0 ;
3247 PyObject * obj7 = 0 ;
3248 char *kwnames[] = {
3249 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3250 };
3251
3252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3254 if (obj3) {
3255 {
3256 arg4 = &temp4;
3257 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3258 }
3259 }
3260 if (obj4) {
3261 {
3262 arg5 = &temp5;
3263 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3264 }
3265 }
3266 if (obj6) {
3267 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3268 if (arg7 == NULL) {
3269 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3270 }
3271 }
3272 if (obj7) {
3273 {
3274 arg8 = wxString_in_helper(obj7);
3275 if (arg8 == NULL) SWIG_fail;
3276 temp8 = True;
3277 }
3278 }
3279 {
3280 PyThreadState* __tstate = wxPyBeginAllowThreads();
3281 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3282
3283 wxPyEndAllowThreads(__tstate);
3284 if (PyErr_Occurred()) SWIG_fail;
3285 }
3286 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3287 {
3288 if (temp8)
3289 delete arg8;
3290 }
3291 return resultobj;
3292 fail:
3293 {
3294 if (temp8)
3295 delete arg8;
3296 }
3297 return NULL;
3298 }
3299
3300
3301 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3302 PyObject *resultobj;
3303 wxGauge *result;
3304 char *kwnames[] = {
3305 NULL
3306 };
3307
3308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 result = (wxGauge *)new wxGauge();
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3317 return resultobj;
3318 fail:
3319 return NULL;
3320 }
3321
3322
3323 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3324 PyObject *resultobj;
3325 wxGauge *arg1 = (wxGauge *) 0 ;
3326 wxWindow *arg2 = (wxWindow *) 0 ;
3327 int arg3 ;
3328 int arg4 ;
3329 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3330 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3331 wxSize const &arg6_defvalue = wxDefaultSize ;
3332 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3333 long arg7 = (long) wxGA_HORIZONTAL ;
3334 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3335 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3336 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3337 wxString *arg9 = (wxString *) &arg9_defvalue ;
3338 bool result;
3339 wxPoint temp5 ;
3340 wxSize temp6 ;
3341 bool temp9 = False ;
3342 PyObject * obj0 = 0 ;
3343 PyObject * obj1 = 0 ;
3344 PyObject * obj4 = 0 ;
3345 PyObject * obj5 = 0 ;
3346 PyObject * obj7 = 0 ;
3347 PyObject * obj8 = 0 ;
3348 char *kwnames[] = {
3349 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3350 };
3351
3352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3355 if (obj4) {
3356 {
3357 arg5 = &temp5;
3358 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3359 }
3360 }
3361 if (obj5) {
3362 {
3363 arg6 = &temp6;
3364 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3365 }
3366 }
3367 if (obj7) {
3368 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3369 if (arg8 == NULL) {
3370 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3371 }
3372 }
3373 if (obj8) {
3374 {
3375 arg9 = wxString_in_helper(obj8);
3376 if (arg9 == NULL) SWIG_fail;
3377 temp9 = True;
3378 }
3379 }
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 resultobj = PyInt_FromLong((long)result);
3388 {
3389 if (temp9)
3390 delete arg9;
3391 }
3392 return resultobj;
3393 fail:
3394 {
3395 if (temp9)
3396 delete arg9;
3397 }
3398 return NULL;
3399 }
3400
3401
3402 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj;
3404 wxGauge *arg1 = (wxGauge *) 0 ;
3405 int arg2 ;
3406 PyObject * obj0 = 0 ;
3407 char *kwnames[] = {
3408 (char *) "self",(char *) "range", NULL
3409 };
3410
3411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3413 {
3414 PyThreadState* __tstate = wxPyBeginAllowThreads();
3415 (arg1)->SetRange(arg2);
3416
3417 wxPyEndAllowThreads(__tstate);
3418 if (PyErr_Occurred()) SWIG_fail;
3419 }
3420 Py_INCREF(Py_None); resultobj = Py_None;
3421 return resultobj;
3422 fail:
3423 return NULL;
3424 }
3425
3426
3427 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3428 PyObject *resultobj;
3429 wxGauge *arg1 = (wxGauge *) 0 ;
3430 int result;
3431 PyObject * obj0 = 0 ;
3432 char *kwnames[] = {
3433 (char *) "self", NULL
3434 };
3435
3436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3438 {
3439 PyThreadState* __tstate = wxPyBeginAllowThreads();
3440 result = (int)((wxGauge const *)arg1)->GetRange();
3441
3442 wxPyEndAllowThreads(__tstate);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 resultobj = PyInt_FromLong((long)result);
3446 return resultobj;
3447 fail:
3448 return NULL;
3449 }
3450
3451
3452 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3453 PyObject *resultobj;
3454 wxGauge *arg1 = (wxGauge *) 0 ;
3455 int arg2 ;
3456 PyObject * obj0 = 0 ;
3457 char *kwnames[] = {
3458 (char *) "self",(char *) "pos", NULL
3459 };
3460
3461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3463 {
3464 PyThreadState* __tstate = wxPyBeginAllowThreads();
3465 (arg1)->SetValue(arg2);
3466
3467 wxPyEndAllowThreads(__tstate);
3468 if (PyErr_Occurred()) SWIG_fail;
3469 }
3470 Py_INCREF(Py_None); resultobj = Py_None;
3471 return resultobj;
3472 fail:
3473 return NULL;
3474 }
3475
3476
3477 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3478 PyObject *resultobj;
3479 wxGauge *arg1 = (wxGauge *) 0 ;
3480 int result;
3481 PyObject * obj0 = 0 ;
3482 char *kwnames[] = {
3483 (char *) "self", NULL
3484 };
3485
3486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3488 {
3489 PyThreadState* __tstate = wxPyBeginAllowThreads();
3490 result = (int)((wxGauge const *)arg1)->GetValue();
3491
3492 wxPyEndAllowThreads(__tstate);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 resultobj = PyInt_FromLong((long)result);
3496 return resultobj;
3497 fail:
3498 return NULL;
3499 }
3500
3501
3502 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3503 PyObject *resultobj;
3504 wxGauge *arg1 = (wxGauge *) 0 ;
3505 bool result;
3506 PyObject * obj0 = 0 ;
3507 char *kwnames[] = {
3508 (char *) "self", NULL
3509 };
3510
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3513 {
3514 PyThreadState* __tstate = wxPyBeginAllowThreads();
3515 result = (bool)((wxGauge const *)arg1)->IsVertical();
3516
3517 wxPyEndAllowThreads(__tstate);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
3520 resultobj = PyInt_FromLong((long)result);
3521 return resultobj;
3522 fail:
3523 return NULL;
3524 }
3525
3526
3527 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3528 PyObject *resultobj;
3529 wxGauge *arg1 = (wxGauge *) 0 ;
3530 int arg2 ;
3531 PyObject * obj0 = 0 ;
3532 char *kwnames[] = {
3533 (char *) "self",(char *) "w", NULL
3534 };
3535
3536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3538 {
3539 PyThreadState* __tstate = wxPyBeginAllowThreads();
3540 (arg1)->SetShadowWidth(arg2);
3541
3542 wxPyEndAllowThreads(__tstate);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 }
3545 Py_INCREF(Py_None); resultobj = Py_None;
3546 return resultobj;
3547 fail:
3548 return NULL;
3549 }
3550
3551
3552 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3553 PyObject *resultobj;
3554 wxGauge *arg1 = (wxGauge *) 0 ;
3555 int result;
3556 PyObject * obj0 = 0 ;
3557 char *kwnames[] = {
3558 (char *) "self", NULL
3559 };
3560
3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3563 {
3564 PyThreadState* __tstate = wxPyBeginAllowThreads();
3565 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3566
3567 wxPyEndAllowThreads(__tstate);
3568 if (PyErr_Occurred()) SWIG_fail;
3569 }
3570 resultobj = PyInt_FromLong((long)result);
3571 return resultobj;
3572 fail:
3573 return NULL;
3574 }
3575
3576
3577 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3578 PyObject *resultobj;
3579 wxGauge *arg1 = (wxGauge *) 0 ;
3580 int arg2 ;
3581 PyObject * obj0 = 0 ;
3582 char *kwnames[] = {
3583 (char *) "self",(char *) "w", NULL
3584 };
3585
3586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3588 {
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3590 (arg1)->SetBezelFace(arg2);
3591
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 }
3595 Py_INCREF(Py_None); resultobj = Py_None;
3596 return resultobj;
3597 fail:
3598 return NULL;
3599 }
3600
3601
3602 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3603 PyObject *resultobj;
3604 wxGauge *arg1 = (wxGauge *) 0 ;
3605 int result;
3606 PyObject * obj0 = 0 ;
3607 char *kwnames[] = {
3608 (char *) "self", NULL
3609 };
3610
3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3613 {
3614 PyThreadState* __tstate = wxPyBeginAllowThreads();
3615 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3616
3617 wxPyEndAllowThreads(__tstate);
3618 if (PyErr_Occurred()) SWIG_fail;
3619 }
3620 resultobj = PyInt_FromLong((long)result);
3621 return resultobj;
3622 fail:
3623 return NULL;
3624 }
3625
3626
3627 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3628 PyObject *obj;
3629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3630 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3631 Py_INCREF(obj);
3632 return Py_BuildValue((char *)"");
3633 }
3634 static int _wrap_StaticBitmapNameStr_set(PyObject *_val) {
3635 PyErr_SetString(PyExc_TypeError,"Variable StaticBitmapNameStr is read-only.");
3636 return 1;
3637 }
3638
3639
3640 static PyObject *_wrap_StaticBitmapNameStr_get() {
3641 PyObject *pyobj;
3642
3643 {
3644 #if wxUSE_UNICODE
3645 pyobj = PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3646 #else
3647 pyobj = PyString_FromStringAndSize((&wxPyStaticBitmapNameStr)->c_str(), (&wxPyStaticBitmapNameStr)->Len());
3648 #endif
3649 }
3650 return pyobj;
3651 }
3652
3653
3654 static int _wrap_StaticBoxNameStr_set(PyObject *_val) {
3655 PyErr_SetString(PyExc_TypeError,"Variable StaticBoxNameStr is read-only.");
3656 return 1;
3657 }
3658
3659
3660 static PyObject *_wrap_StaticBoxNameStr_get() {
3661 PyObject *pyobj;
3662
3663 {
3664 #if wxUSE_UNICODE
3665 pyobj = PyUnicode_FromWideChar((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3666 #else
3667 pyobj = PyString_FromStringAndSize((&wxPyStaticBoxNameStr)->c_str(), (&wxPyStaticBoxNameStr)->Len());
3668 #endif
3669 }
3670 return pyobj;
3671 }
3672
3673
3674 static int _wrap_StaticTextNameStr_set(PyObject *_val) {
3675 PyErr_SetString(PyExc_TypeError,"Variable StaticTextNameStr is read-only.");
3676 return 1;
3677 }
3678
3679
3680 static PyObject *_wrap_StaticTextNameStr_get() {
3681 PyObject *pyobj;
3682
3683 {
3684 #if wxUSE_UNICODE
3685 pyobj = PyUnicode_FromWideChar((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3686 #else
3687 pyobj = PyString_FromStringAndSize((&wxPyStaticTextNameStr)->c_str(), (&wxPyStaticTextNameStr)->Len());
3688 #endif
3689 }
3690 return pyobj;
3691 }
3692
3693
3694 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3695 PyObject *resultobj;
3696 wxWindow *arg1 = (wxWindow *) 0 ;
3697 int arg2 ;
3698 wxString *arg3 = 0 ;
3699 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3700 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3701 wxSize const &arg5_defvalue = wxDefaultSize ;
3702 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3703 long arg6 = (long) 0 ;
3704 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3705 wxString *arg7 = (wxString *) &arg7_defvalue ;
3706 wxStaticBox *result;
3707 bool temp3 = False ;
3708 wxPoint temp4 ;
3709 wxSize temp5 ;
3710 bool temp7 = False ;
3711 PyObject * obj0 = 0 ;
3712 PyObject * obj2 = 0 ;
3713 PyObject * obj3 = 0 ;
3714 PyObject * obj4 = 0 ;
3715 PyObject * obj6 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3722 {
3723 arg3 = wxString_in_helper(obj2);
3724 if (arg3 == NULL) SWIG_fail;
3725 temp3 = True;
3726 }
3727 if (obj3) {
3728 {
3729 arg4 = &temp4;
3730 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3731 }
3732 }
3733 if (obj4) {
3734 {
3735 arg5 = &temp5;
3736 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3737 }
3738 }
3739 if (obj6) {
3740 {
3741 arg7 = wxString_in_helper(obj6);
3742 if (arg7 == NULL) SWIG_fail;
3743 temp7 = True;
3744 }
3745 }
3746 {
3747 PyThreadState* __tstate = wxPyBeginAllowThreads();
3748 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3749
3750 wxPyEndAllowThreads(__tstate);
3751 if (PyErr_Occurred()) SWIG_fail;
3752 }
3753 {
3754 resultobj = wxPyMake_wxObject(result);
3755 }
3756 {
3757 if (temp3)
3758 delete arg3;
3759 }
3760 {
3761 if (temp7)
3762 delete arg7;
3763 }
3764 return resultobj;
3765 fail:
3766 {
3767 if (temp3)
3768 delete arg3;
3769 }
3770 {
3771 if (temp7)
3772 delete arg7;
3773 }
3774 return NULL;
3775 }
3776
3777
3778 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3779 PyObject *resultobj;
3780 wxStaticBox *result;
3781 char *kwnames[] = {
3782 NULL
3783 };
3784
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 result = (wxStaticBox *)new wxStaticBox();
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 {
3794 resultobj = wxPyMake_wxObject(result);
3795 }
3796 return resultobj;
3797 fail:
3798 return NULL;
3799 }
3800
3801
3802 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3803 PyObject *resultobj;
3804 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3805 wxWindow *arg2 = (wxWindow *) 0 ;
3806 int arg3 ;
3807 wxString *arg4 = 0 ;
3808 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3809 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3810 wxSize const &arg6_defvalue = wxDefaultSize ;
3811 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3812 long arg7 = (long) 0 ;
3813 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3814 wxString *arg8 = (wxString *) &arg8_defvalue ;
3815 bool result;
3816 bool temp4 = False ;
3817 wxPoint temp5 ;
3818 wxSize temp6 ;
3819 bool temp8 = False ;
3820 PyObject * obj0 = 0 ;
3821 PyObject * obj1 = 0 ;
3822 PyObject * obj3 = 0 ;
3823 PyObject * obj4 = 0 ;
3824 PyObject * obj5 = 0 ;
3825 PyObject * obj7 = 0 ;
3826 char *kwnames[] = {
3827 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3828 };
3829
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3833 {
3834 arg4 = wxString_in_helper(obj3);
3835 if (arg4 == NULL) SWIG_fail;
3836 temp4 = True;
3837 }
3838 if (obj4) {
3839 {
3840 arg5 = &temp5;
3841 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3842 }
3843 }
3844 if (obj5) {
3845 {
3846 arg6 = &temp6;
3847 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3848 }
3849 }
3850 if (obj7) {
3851 {
3852 arg8 = wxString_in_helper(obj7);
3853 if (arg8 == NULL) SWIG_fail;
3854 temp8 = True;
3855 }
3856 }
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3860
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 resultobj = PyInt_FromLong((long)result);
3865 {
3866 if (temp4)
3867 delete arg4;
3868 }
3869 {
3870 if (temp8)
3871 delete arg8;
3872 }
3873 return resultobj;
3874 fail:
3875 {
3876 if (temp4)
3877 delete arg4;
3878 }
3879 {
3880 if (temp8)
3881 delete arg8;
3882 }
3883 return NULL;
3884 }
3885
3886
3887 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3888 PyObject *obj;
3889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3890 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3891 Py_INCREF(obj);
3892 return Py_BuildValue((char *)"");
3893 }
3894 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3895 PyObject *resultobj;
3896 wxWindow *arg1 = (wxWindow *) 0 ;
3897 int arg2 ;
3898 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3899 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3900 wxSize const &arg4_defvalue = wxDefaultSize ;
3901 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3902 long arg5 = (long) wxLI_HORIZONTAL ;
3903 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3904 wxString *arg6 = (wxString *) &arg6_defvalue ;
3905 wxStaticLine *result;
3906 wxPoint temp3 ;
3907 wxSize temp4 ;
3908 bool temp6 = False ;
3909 PyObject * obj0 = 0 ;
3910 PyObject * obj2 = 0 ;
3911 PyObject * obj3 = 0 ;
3912 PyObject * obj5 = 0 ;
3913 char *kwnames[] = {
3914 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3915 };
3916
3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3919 if (obj2) {
3920 {
3921 arg3 = &temp3;
3922 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3923 }
3924 }
3925 if (obj3) {
3926 {
3927 arg4 = &temp4;
3928 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3929 }
3930 }
3931 if (obj5) {
3932 {
3933 arg6 = wxString_in_helper(obj5);
3934 if (arg6 == NULL) SWIG_fail;
3935 temp6 = True;
3936 }
3937 }
3938 {
3939 PyThreadState* __tstate = wxPyBeginAllowThreads();
3940 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3941
3942 wxPyEndAllowThreads(__tstate);
3943 if (PyErr_Occurred()) SWIG_fail;
3944 }
3945 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3946 {
3947 if (temp6)
3948 delete arg6;
3949 }
3950 return resultobj;
3951 fail:
3952 {
3953 if (temp6)
3954 delete arg6;
3955 }
3956 return NULL;
3957 }
3958
3959
3960 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3961 PyObject *resultobj;
3962 wxStaticLine *result;
3963 char *kwnames[] = {
3964 NULL
3965 };
3966
3967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3968 {
3969 PyThreadState* __tstate = wxPyBeginAllowThreads();
3970 result = (wxStaticLine *)new wxStaticLine();
3971
3972 wxPyEndAllowThreads(__tstate);
3973 if (PyErr_Occurred()) SWIG_fail;
3974 }
3975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3976 return resultobj;
3977 fail:
3978 return NULL;
3979 }
3980
3981
3982 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3983 PyObject *resultobj;
3984 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3985 wxWindow *arg2 = (wxWindow *) 0 ;
3986 int arg3 ;
3987 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3988 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3989 wxSize const &arg5_defvalue = wxDefaultSize ;
3990 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3991 long arg6 = (long) wxLI_HORIZONTAL ;
3992 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3993 wxString *arg7 = (wxString *) &arg7_defvalue ;
3994 bool result;
3995 wxPoint temp4 ;
3996 wxSize temp5 ;
3997 bool temp7 = False ;
3998 PyObject * obj0 = 0 ;
3999 PyObject * obj1 = 0 ;
4000 PyObject * obj3 = 0 ;
4001 PyObject * obj4 = 0 ;
4002 PyObject * obj6 = 0 ;
4003 char *kwnames[] = {
4004 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4005 };
4006
4007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4009 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4010 if (obj3) {
4011 {
4012 arg4 = &temp4;
4013 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4014 }
4015 }
4016 if (obj4) {
4017 {
4018 arg5 = &temp5;
4019 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4020 }
4021 }
4022 if (obj6) {
4023 {
4024 arg7 = wxString_in_helper(obj6);
4025 if (arg7 == NULL) SWIG_fail;
4026 temp7 = True;
4027 }
4028 }
4029 {
4030 PyThreadState* __tstate = wxPyBeginAllowThreads();
4031 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4032
4033 wxPyEndAllowThreads(__tstate);
4034 if (PyErr_Occurred()) SWIG_fail;
4035 }
4036 resultobj = PyInt_FromLong((long)result);
4037 {
4038 if (temp7)
4039 delete arg7;
4040 }
4041 return resultobj;
4042 fail:
4043 {
4044 if (temp7)
4045 delete arg7;
4046 }
4047 return NULL;
4048 }
4049
4050
4051 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
4052 PyObject *resultobj;
4053 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
4054 bool result;
4055 PyObject * obj0 = 0 ;
4056 char *kwnames[] = {
4057 (char *) "self", NULL
4058 };
4059
4060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
4061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 resultobj = PyInt_FromLong((long)result);
4070 return resultobj;
4071 fail:
4072 return NULL;
4073 }
4074
4075
4076 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 int result;
4079 char *kwnames[] = {
4080 NULL
4081 };
4082
4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 result = (int)wxStaticLine::GetDefaultSize();
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 resultobj = PyInt_FromLong((long)result);
4092 return resultobj;
4093 fail:
4094 return NULL;
4095 }
4096
4097
4098 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
4099 PyObject *obj;
4100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4101 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
4102 Py_INCREF(obj);
4103 return Py_BuildValue((char *)"");
4104 }
4105 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4106 PyObject *resultobj;
4107 wxWindow *arg1 = (wxWindow *) 0 ;
4108 int arg2 ;
4109 wxString *arg3 = 0 ;
4110 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4111 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4112 wxSize const &arg5_defvalue = wxDefaultSize ;
4113 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4114 long arg6 = (long) 0 ;
4115 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
4116 wxString *arg7 = (wxString *) &arg7_defvalue ;
4117 wxStaticText *result;
4118 bool temp3 = False ;
4119 wxPoint temp4 ;
4120 wxSize temp5 ;
4121 bool temp7 = False ;
4122 PyObject * obj0 = 0 ;
4123 PyObject * obj2 = 0 ;
4124 PyObject * obj3 = 0 ;
4125 PyObject * obj4 = 0 ;
4126 PyObject * obj6 = 0 ;
4127 char *kwnames[] = {
4128 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4129 };
4130
4131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4133 {
4134 arg3 = wxString_in_helper(obj2);
4135 if (arg3 == NULL) SWIG_fail;
4136 temp3 = True;
4137 }
4138 if (obj3) {
4139 {
4140 arg4 = &temp4;
4141 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4142 }
4143 }
4144 if (obj4) {
4145 {
4146 arg5 = &temp5;
4147 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4148 }
4149 }
4150 if (obj6) {
4151 {
4152 arg7 = wxString_in_helper(obj6);
4153 if (arg7 == NULL) SWIG_fail;
4154 temp7 = True;
4155 }
4156 }
4157 {
4158 PyThreadState* __tstate = wxPyBeginAllowThreads();
4159 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4160
4161 wxPyEndAllowThreads(__tstate);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 }
4164 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4165 {
4166 if (temp3)
4167 delete arg3;
4168 }
4169 {
4170 if (temp7)
4171 delete arg7;
4172 }
4173 return resultobj;
4174 fail:
4175 {
4176 if (temp3)
4177 delete arg3;
4178 }
4179 {
4180 if (temp7)
4181 delete arg7;
4182 }
4183 return NULL;
4184 }
4185
4186
4187 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
4188 PyObject *resultobj;
4189 wxStaticText *result;
4190 char *kwnames[] = {
4191 NULL
4192 };
4193
4194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
4195 {
4196 PyThreadState* __tstate = wxPyBeginAllowThreads();
4197 result = (wxStaticText *)new wxStaticText();
4198
4199 wxPyEndAllowThreads(__tstate);
4200 if (PyErr_Occurred()) SWIG_fail;
4201 }
4202 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
4203 return resultobj;
4204 fail:
4205 return NULL;
4206 }
4207
4208
4209 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4210 PyObject *resultobj;
4211 wxStaticText *arg1 = (wxStaticText *) 0 ;
4212 wxWindow *arg2 = (wxWindow *) 0 ;
4213 int arg3 ;
4214 wxString *arg4 = 0 ;
4215 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4216 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4217 wxSize const &arg6_defvalue = wxDefaultSize ;
4218 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4219 long arg7 = (long) 0 ;
4220 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
4221 wxString *arg8 = (wxString *) &arg8_defvalue ;
4222 bool result;
4223 bool temp4 = False ;
4224 wxPoint temp5 ;
4225 wxSize temp6 ;
4226 bool temp8 = False ;
4227 PyObject * obj0 = 0 ;
4228 PyObject * obj1 = 0 ;
4229 PyObject * obj3 = 0 ;
4230 PyObject * obj4 = 0 ;
4231 PyObject * obj5 = 0 ;
4232 PyObject * obj7 = 0 ;
4233 char *kwnames[] = {
4234 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4235 };
4236
4237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4239 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4240 {
4241 arg4 = wxString_in_helper(obj3);
4242 if (arg4 == NULL) SWIG_fail;
4243 temp4 = True;
4244 }
4245 if (obj4) {
4246 {
4247 arg5 = &temp5;
4248 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4249 }
4250 }
4251 if (obj5) {
4252 {
4253 arg6 = &temp6;
4254 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4255 }
4256 }
4257 if (obj7) {
4258 {
4259 arg8 = wxString_in_helper(obj7);
4260 if (arg8 == NULL) SWIG_fail;
4261 temp8 = True;
4262 }
4263 }
4264 {
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4267
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 resultobj = PyInt_FromLong((long)result);
4272 {
4273 if (temp4)
4274 delete arg4;
4275 }
4276 {
4277 if (temp8)
4278 delete arg8;
4279 }
4280 return resultobj;
4281 fail:
4282 {
4283 if (temp4)
4284 delete arg4;
4285 }
4286 {
4287 if (temp8)
4288 delete arg8;
4289 }
4290 return NULL;
4291 }
4292
4293
4294 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4295 PyObject *obj;
4296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4297 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4298 Py_INCREF(obj);
4299 return Py_BuildValue((char *)"");
4300 }
4301 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj;
4303 wxWindow *arg1 = (wxWindow *) 0 ;
4304 int arg2 ;
4305 wxBitmap *arg3 = 0 ;
4306 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4307 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4308 wxSize const &arg5_defvalue = wxDefaultSize ;
4309 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4310 long arg6 = (long) 0 ;
4311 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4312 wxString *arg7 = (wxString *) &arg7_defvalue ;
4313 wxStaticBitmap *result;
4314 wxPoint temp4 ;
4315 wxSize temp5 ;
4316 bool temp7 = False ;
4317 PyObject * obj0 = 0 ;
4318 PyObject * obj2 = 0 ;
4319 PyObject * obj3 = 0 ;
4320 PyObject * obj4 = 0 ;
4321 PyObject * obj6 = 0 ;
4322 char *kwnames[] = {
4323 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4324 };
4325
4326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4328 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4329 if (arg3 == NULL) {
4330 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4331 }
4332 if (obj3) {
4333 {
4334 arg4 = &temp4;
4335 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4336 }
4337 }
4338 if (obj4) {
4339 {
4340 arg5 = &temp5;
4341 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4342 }
4343 }
4344 if (obj6) {
4345 {
4346 arg7 = wxString_in_helper(obj6);
4347 if (arg7 == NULL) SWIG_fail;
4348 temp7 = True;
4349 }
4350 }
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4359 {
4360 if (temp7)
4361 delete arg7;
4362 }
4363 return resultobj;
4364 fail:
4365 {
4366 if (temp7)
4367 delete arg7;
4368 }
4369 return NULL;
4370 }
4371
4372
4373 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4374 PyObject *resultobj;
4375 wxStaticBitmap *result;
4376 char *kwnames[] = {
4377 NULL
4378 };
4379
4380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 result = (wxStaticBitmap *)new wxStaticBitmap();
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4389 return resultobj;
4390 fail:
4391 return NULL;
4392 }
4393
4394
4395 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4396 PyObject *resultobj;
4397 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4398 wxWindow *arg2 = (wxWindow *) 0 ;
4399 int arg3 ;
4400 wxBitmap *arg4 = 0 ;
4401 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4402 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4403 wxSize const &arg6_defvalue = wxDefaultSize ;
4404 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4405 long arg7 = (long) 0 ;
4406 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4407 wxString *arg8 = (wxString *) &arg8_defvalue ;
4408 bool result;
4409 wxPoint temp5 ;
4410 wxSize temp6 ;
4411 bool temp8 = False ;
4412 PyObject * obj0 = 0 ;
4413 PyObject * obj1 = 0 ;
4414 PyObject * obj3 = 0 ;
4415 PyObject * obj4 = 0 ;
4416 PyObject * obj5 = 0 ;
4417 PyObject * obj7 = 0 ;
4418 char *kwnames[] = {
4419 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4420 };
4421
4422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4424 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4425 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4426 if (arg4 == NULL) {
4427 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4428 }
4429 if (obj4) {
4430 {
4431 arg5 = &temp5;
4432 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4433 }
4434 }
4435 if (obj5) {
4436 {
4437 arg6 = &temp6;
4438 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4439 }
4440 }
4441 if (obj7) {
4442 {
4443 arg8 = wxString_in_helper(obj7);
4444 if (arg8 == NULL) SWIG_fail;
4445 temp8 = True;
4446 }
4447 }
4448 {
4449 PyThreadState* __tstate = wxPyBeginAllowThreads();
4450 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4451
4452 wxPyEndAllowThreads(__tstate);
4453 if (PyErr_Occurred()) SWIG_fail;
4454 }
4455 resultobj = PyInt_FromLong((long)result);
4456 {
4457 if (temp8)
4458 delete arg8;
4459 }
4460 return resultobj;
4461 fail:
4462 {
4463 if (temp8)
4464 delete arg8;
4465 }
4466 return NULL;
4467 }
4468
4469
4470 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4471 PyObject *resultobj;
4472 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4473 wxBitmap result;
4474 PyObject * obj0 = 0 ;
4475 char *kwnames[] = {
4476 (char *) "self", NULL
4477 };
4478
4479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4481 {
4482 PyThreadState* __tstate = wxPyBeginAllowThreads();
4483 result = (arg1)->GetBitmap();
4484
4485 wxPyEndAllowThreads(__tstate);
4486 if (PyErr_Occurred()) SWIG_fail;
4487 }
4488 {
4489 wxBitmap * resultptr;
4490 resultptr = new wxBitmap((wxBitmap &) result);
4491 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4492 }
4493 return resultobj;
4494 fail:
4495 return NULL;
4496 }
4497
4498
4499 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4500 PyObject *resultobj;
4501 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4502 wxBitmap *arg2 = 0 ;
4503 PyObject * obj0 = 0 ;
4504 PyObject * obj1 = 0 ;
4505 char *kwnames[] = {
4506 (char *) "self",(char *) "bitmap", NULL
4507 };
4508
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4512 if (arg2 == NULL) {
4513 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4514 }
4515 {
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 }
4522 Py_INCREF(Py_None); resultobj = Py_None;
4523 return resultobj;
4524 fail:
4525 return NULL;
4526 }
4527
4528
4529 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4530 PyObject *resultobj;
4531 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4532 wxIcon *arg2 = 0 ;
4533 PyObject * obj0 = 0 ;
4534 PyObject * obj1 = 0 ;
4535 char *kwnames[] = {
4536 (char *) "self",(char *) "icon", NULL
4537 };
4538
4539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4542 if (arg2 == NULL) {
4543 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4544 }
4545 {
4546 PyThreadState* __tstate = wxPyBeginAllowThreads();
4547 (arg1)->SetIcon((wxIcon const &)*arg2);
4548
4549 wxPyEndAllowThreads(__tstate);
4550 if (PyErr_Occurred()) SWIG_fail;
4551 }
4552 Py_INCREF(Py_None); resultobj = Py_None;
4553 return resultobj;
4554 fail:
4555 return NULL;
4556 }
4557
4558
4559 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4560 PyObject *obj;
4561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4562 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4563 Py_INCREF(obj);
4564 return Py_BuildValue((char *)"");
4565 }
4566 static int _wrap_ListBoxNameStr_set(PyObject *_val) {
4567 PyErr_SetString(PyExc_TypeError,"Variable ListBoxNameStr is read-only.");
4568 return 1;
4569 }
4570
4571
4572 static PyObject *_wrap_ListBoxNameStr_get() {
4573 PyObject *pyobj;
4574
4575 {
4576 #if wxUSE_UNICODE
4577 pyobj = PyUnicode_FromWideChar((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4578 #else
4579 pyobj = PyString_FromStringAndSize((&wxPyListBoxNameStr)->c_str(), (&wxPyListBoxNameStr)->Len());
4580 #endif
4581 }
4582 return pyobj;
4583 }
4584
4585
4586 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4587 PyObject *resultobj;
4588 wxWindow *arg1 = (wxWindow *) 0 ;
4589 int arg2 ;
4590 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4591 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4592 wxSize const &arg4_defvalue = wxDefaultSize ;
4593 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4594 int arg5 = (int) 0 ;
4595 wxString *arg6 = (wxString *) NULL ;
4596 long arg7 = (long) 0 ;
4597 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4598 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4599 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4600 wxString *arg9 = (wxString *) &arg9_defvalue ;
4601 wxListBox *result;
4602 wxPoint temp3 ;
4603 wxSize temp4 ;
4604 bool temp8 = False ;
4605 PyObject * obj0 = 0 ;
4606 PyObject * obj2 = 0 ;
4607 PyObject * obj3 = 0 ;
4608 PyObject * obj4 = 0 ;
4609 PyObject * obj6 = 0 ;
4610 PyObject * obj7 = 0 ;
4611 char *kwnames[] = {
4612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4613 };
4614
4615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4617 if (obj2) {
4618 {
4619 arg3 = &temp3;
4620 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4621 }
4622 }
4623 if (obj3) {
4624 {
4625 arg4 = &temp4;
4626 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4627 }
4628 }
4629 if (obj4) {
4630 {
4631 arg5 = PyList_Size(obj4);
4632 arg6 = wxString_LIST_helper(obj4);
4633 if (arg6 == NULL) SWIG_fail;
4634 }
4635 }
4636 if (obj6) {
4637 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4638 if (arg8 == NULL) {
4639 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4640 }
4641 }
4642 if (obj7) {
4643 {
4644 arg9 = wxString_in_helper(obj7);
4645 if (arg9 == NULL) SWIG_fail;
4646 temp8 = True;
4647 }
4648 }
4649 {
4650 PyThreadState* __tstate = wxPyBeginAllowThreads();
4651 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4652
4653 wxPyEndAllowThreads(__tstate);
4654 if (PyErr_Occurred()) SWIG_fail;
4655 }
4656 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4657 {
4658 if (arg6) delete [] arg6;
4659 }
4660 {
4661 if (temp8)
4662 delete arg9;
4663 }
4664 return resultobj;
4665 fail:
4666 {
4667 if (arg6) delete [] arg6;
4668 }
4669 {
4670 if (temp8)
4671 delete arg9;
4672 }
4673 return NULL;
4674 }
4675
4676
4677 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4678 PyObject *resultobj;
4679 wxListBox *result;
4680 char *kwnames[] = {
4681 NULL
4682 };
4683
4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4685 {
4686 PyThreadState* __tstate = wxPyBeginAllowThreads();
4687 result = (wxListBox *)new wxListBox();
4688
4689 wxPyEndAllowThreads(__tstate);
4690 if (PyErr_Occurred()) SWIG_fail;
4691 }
4692 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4693 return resultobj;
4694 fail:
4695 return NULL;
4696 }
4697
4698
4699 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4700 PyObject *resultobj;
4701 wxListBox *arg1 = (wxListBox *) 0 ;
4702 wxWindow *arg2 = (wxWindow *) 0 ;
4703 int arg3 ;
4704 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4705 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4706 wxSize const &arg5_defvalue = wxDefaultSize ;
4707 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4708 int arg6 = (int) 0 ;
4709 wxString *arg7 = (wxString *) NULL ;
4710 long arg8 = (long) 0 ;
4711 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4712 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4713 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4714 wxString *arg10 = (wxString *) &arg10_defvalue ;
4715 bool result;
4716 wxPoint temp4 ;
4717 wxSize temp5 ;
4718 bool temp9 = False ;
4719 PyObject * obj0 = 0 ;
4720 PyObject * obj1 = 0 ;
4721 PyObject * obj3 = 0 ;
4722 PyObject * obj4 = 0 ;
4723 PyObject * obj5 = 0 ;
4724 PyObject * obj7 = 0 ;
4725 PyObject * obj8 = 0 ;
4726 char *kwnames[] = {
4727 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4728 };
4729
4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4733 if (obj3) {
4734 {
4735 arg4 = &temp4;
4736 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4737 }
4738 }
4739 if (obj4) {
4740 {
4741 arg5 = &temp5;
4742 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4743 }
4744 }
4745 if (obj5) {
4746 {
4747 arg6 = PyList_Size(obj5);
4748 arg7 = wxString_LIST_helper(obj5);
4749 if (arg7 == NULL) SWIG_fail;
4750 }
4751 }
4752 if (obj7) {
4753 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4754 if (arg9 == NULL) {
4755 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4756 }
4757 }
4758 if (obj8) {
4759 {
4760 arg10 = wxString_in_helper(obj8);
4761 if (arg10 == NULL) SWIG_fail;
4762 temp9 = True;
4763 }
4764 }
4765 {
4766 PyThreadState* __tstate = wxPyBeginAllowThreads();
4767 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4768
4769 wxPyEndAllowThreads(__tstate);
4770 if (PyErr_Occurred()) SWIG_fail;
4771 }
4772 resultobj = PyInt_FromLong((long)result);
4773 {
4774 if (arg7) delete [] arg7;
4775 }
4776 {
4777 if (temp9)
4778 delete arg10;
4779 }
4780 return resultobj;
4781 fail:
4782 {
4783 if (arg7) delete [] arg7;
4784 }
4785 {
4786 if (temp9)
4787 delete arg10;
4788 }
4789 return NULL;
4790 }
4791
4792
4793 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4794 PyObject *resultobj;
4795 wxListBox *arg1 = (wxListBox *) 0 ;
4796 wxString *arg2 = 0 ;
4797 int arg3 ;
4798 PyObject *arg4 = (PyObject *) NULL ;
4799 bool temp2 = False ;
4800 PyObject * obj0 = 0 ;
4801 PyObject * obj1 = 0 ;
4802 PyObject * obj3 = 0 ;
4803 char *kwnames[] = {
4804 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4805 };
4806
4807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4809 {
4810 arg2 = wxString_in_helper(obj1);
4811 if (arg2 == NULL) SWIG_fail;
4812 temp2 = True;
4813 }
4814 if (obj3) {
4815 arg4 = obj3;
4816 }
4817 {
4818 PyThreadState* __tstate = wxPyBeginAllowThreads();
4819 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4820
4821 wxPyEndAllowThreads(__tstate);
4822 if (PyErr_Occurred()) SWIG_fail;
4823 }
4824 Py_INCREF(Py_None); resultobj = Py_None;
4825 {
4826 if (temp2)
4827 delete arg2;
4828 }
4829 return resultobj;
4830 fail:
4831 {
4832 if (temp2)
4833 delete arg2;
4834 }
4835 return NULL;
4836 }
4837
4838
4839 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4840 PyObject *resultobj;
4841 wxListBox *arg1 = (wxListBox *) 0 ;
4842 wxArrayString *arg2 = 0 ;
4843 int arg3 ;
4844 PyObject * obj0 = 0 ;
4845 PyObject * obj1 = 0 ;
4846 char *kwnames[] = {
4847 (char *) "self",(char *) "items",(char *) "pos", NULL
4848 };
4849
4850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4852 {
4853 if (! PySequence_Check(obj1)) {
4854 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4855 SWIG_fail;
4856 }
4857 arg2 = new wxArrayString;
4858 int i, len=PySequence_Length(obj1);
4859 for (i=0; i<len; i++) {
4860 PyObject* item = PySequence_GetItem(obj1, i);
4861 #if wxUSE_UNICODE
4862 PyObject* str = PyObject_Unicode(item);
4863 #else
4864 PyObject* str = PyObject_Str(item);
4865 #endif
4866 arg2->Add(Py2wxString(str));
4867 Py_DECREF(item);
4868 Py_DECREF(str);
4869 }
4870 }
4871 {
4872 PyThreadState* __tstate = wxPyBeginAllowThreads();
4873 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4874
4875 wxPyEndAllowThreads(__tstate);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 }
4878 Py_INCREF(Py_None); resultobj = Py_None;
4879 {
4880 if (arg2) delete arg2;
4881 }
4882 return resultobj;
4883 fail:
4884 {
4885 if (arg2) delete arg2;
4886 }
4887 return NULL;
4888 }
4889
4890
4891 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4892 PyObject *resultobj;
4893 wxListBox *arg1 = (wxListBox *) 0 ;
4894 wxArrayString *arg2 = 0 ;
4895 PyObject * obj0 = 0 ;
4896 PyObject * obj1 = 0 ;
4897 char *kwnames[] = {
4898 (char *) "self",(char *) "items", NULL
4899 };
4900
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4903 {
4904 if (! PySequence_Check(obj1)) {
4905 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4906 SWIG_fail;
4907 }
4908 arg2 = new wxArrayString;
4909 int i, len=PySequence_Length(obj1);
4910 for (i=0; i<len; i++) {
4911 PyObject* item = PySequence_GetItem(obj1, i);
4912 #if wxUSE_UNICODE
4913 PyObject* str = PyObject_Unicode(item);
4914 #else
4915 PyObject* str = PyObject_Str(item);
4916 #endif
4917 arg2->Add(Py2wxString(str));
4918 Py_DECREF(item);
4919 Py_DECREF(str);
4920 }
4921 }
4922 {
4923 PyThreadState* __tstate = wxPyBeginAllowThreads();
4924 (arg1)->Set((wxArrayString const &)*arg2);
4925
4926 wxPyEndAllowThreads(__tstate);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 Py_INCREF(Py_None); resultobj = Py_None;
4930 {
4931 if (arg2) delete arg2;
4932 }
4933 return resultobj;
4934 fail:
4935 {
4936 if (arg2) delete arg2;
4937 }
4938 return NULL;
4939 }
4940
4941
4942 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4943 PyObject *resultobj;
4944 wxListBox *arg1 = (wxListBox *) 0 ;
4945 int arg2 ;
4946 bool result;
4947 PyObject * obj0 = 0 ;
4948 char *kwnames[] = {
4949 (char *) "self",(char *) "n", NULL
4950 };
4951
4952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4954 {
4955 PyThreadState* __tstate = wxPyBeginAllowThreads();
4956 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4957
4958 wxPyEndAllowThreads(__tstate);
4959 if (PyErr_Occurred()) SWIG_fail;
4960 }
4961 resultobj = PyInt_FromLong((long)result);
4962 return resultobj;
4963 fail:
4964 return NULL;
4965 }
4966
4967
4968 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4969 PyObject *resultobj;
4970 wxListBox *arg1 = (wxListBox *) 0 ;
4971 int arg2 ;
4972 bool arg3 = (bool) True ;
4973 PyObject * obj0 = 0 ;
4974 PyObject * obj2 = 0 ;
4975 char *kwnames[] = {
4976 (char *) "self",(char *) "n",(char *) "select", NULL
4977 };
4978
4979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4981 if (obj2) {
4982 {
4983 arg3 = (bool) SPyObj_AsBool(obj2);
4984 if (PyErr_Occurred()) SWIG_fail;
4985 }
4986 }
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 (arg1)->SetSelection(arg2,arg3);
4990
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 Py_INCREF(Py_None); resultobj = Py_None;
4995 return resultobj;
4996 fail:
4997 return NULL;
4998 }
4999
5000
5001 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
5002 PyObject *resultobj;
5003 wxListBox *arg1 = (wxListBox *) 0 ;
5004 int arg2 ;
5005 PyObject * obj0 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self",(char *) "n", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
5011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 (arg1)->Select(arg2);
5015
5016 wxPyEndAllowThreads(__tstate);
5017 if (PyErr_Occurred()) SWIG_fail;
5018 }
5019 Py_INCREF(Py_None); resultobj = Py_None;
5020 return resultobj;
5021 fail:
5022 return NULL;
5023 }
5024
5025
5026 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
5027 PyObject *resultobj;
5028 wxListBox *arg1 = (wxListBox *) 0 ;
5029 int arg2 ;
5030 PyObject * obj0 = 0 ;
5031 char *kwnames[] = {
5032 (char *) "self",(char *) "n", NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
5036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5037 {
5038 PyThreadState* __tstate = wxPyBeginAllowThreads();
5039 (arg1)->Deselect(arg2);
5040
5041 wxPyEndAllowThreads(__tstate);
5042 if (PyErr_Occurred()) SWIG_fail;
5043 }
5044 Py_INCREF(Py_None); resultobj = Py_None;
5045 return resultobj;
5046 fail:
5047 return NULL;
5048 }
5049
5050
5051 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
5052 PyObject *resultobj;
5053 wxListBox *arg1 = (wxListBox *) 0 ;
5054 int arg2 = (int) -1 ;
5055 PyObject * obj0 = 0 ;
5056 char *kwnames[] = {
5057 (char *) "self",(char *) "itemToLeaveSelected", NULL
5058 };
5059
5060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
5061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 (arg1)->DeselectAll(arg2);
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 Py_INCREF(Py_None); resultobj = Py_None;
5070 return resultobj;
5071 fail:
5072 return NULL;
5073 }
5074
5075
5076 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxListBox *arg1 = (wxListBox *) 0 ;
5079 wxString *arg2 = 0 ;
5080 bool arg3 = (bool) True ;
5081 bool result;
5082 bool temp2 = False ;
5083 PyObject * obj0 = 0 ;
5084 PyObject * obj1 = 0 ;
5085 PyObject * obj2 = 0 ;
5086 char *kwnames[] = {
5087 (char *) "self",(char *) "s",(char *) "select", NULL
5088 };
5089
5090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
5091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5092 {
5093 arg2 = wxString_in_helper(obj1);
5094 if (arg2 == NULL) SWIG_fail;
5095 temp2 = True;
5096 }
5097 if (obj2) {
5098 {
5099 arg3 = (bool) SPyObj_AsBool(obj2);
5100 if (PyErr_Occurred()) SWIG_fail;
5101 }
5102 }
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 resultobj = PyInt_FromLong((long)result);
5111 {
5112 if (temp2)
5113 delete arg2;
5114 }
5115 return resultobj;
5116 fail:
5117 {
5118 if (temp2)
5119 delete arg2;
5120 }
5121 return NULL;
5122 }
5123
5124
5125 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
5126 PyObject *resultobj;
5127 wxListBox *arg1 = (wxListBox *) 0 ;
5128 PyObject *result;
5129 PyObject * obj0 = 0 ;
5130 char *kwnames[] = {
5131 (char *) "self", NULL
5132 };
5133
5134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
5135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5136 {
5137 PyThreadState* __tstate = wxPyBeginAllowThreads();
5138 result = (PyObject *)wxListBox_GetSelections(arg1);
5139
5140 wxPyEndAllowThreads(__tstate);
5141 if (PyErr_Occurred()) SWIG_fail;
5142 }
5143 resultobj = result;
5144 return resultobj;
5145 fail:
5146 return NULL;
5147 }
5148
5149
5150 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
5151 PyObject *resultobj;
5152 wxListBox *arg1 = (wxListBox *) 0 ;
5153 int arg2 ;
5154 PyObject * obj0 = 0 ;
5155 char *kwnames[] = {
5156 (char *) "self",(char *) "n", NULL
5157 };
5158
5159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
5160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5161 {
5162 PyThreadState* __tstate = wxPyBeginAllowThreads();
5163 (arg1)->SetFirstItem(arg2);
5164
5165 wxPyEndAllowThreads(__tstate);
5166 if (PyErr_Occurred()) SWIG_fail;
5167 }
5168 Py_INCREF(Py_None); resultobj = Py_None;
5169 return resultobj;
5170 fail:
5171 return NULL;
5172 }
5173
5174
5175 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
5176 PyObject *resultobj;
5177 wxListBox *arg1 = (wxListBox *) 0 ;
5178 wxString *arg2 = 0 ;
5179 bool temp2 = False ;
5180 PyObject * obj0 = 0 ;
5181 PyObject * obj1 = 0 ;
5182 char *kwnames[] = {
5183 (char *) "self",(char *) "s", NULL
5184 };
5185
5186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
5187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5188 {
5189 arg2 = wxString_in_helper(obj1);
5190 if (arg2 == NULL) SWIG_fail;
5191 temp2 = True;
5192 }
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 (arg1)->SetFirstItem((wxString const &)*arg2);
5196
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
5200 Py_INCREF(Py_None); resultobj = Py_None;
5201 {
5202 if (temp2)
5203 delete arg2;
5204 }
5205 return resultobj;
5206 fail:
5207 {
5208 if (temp2)
5209 delete arg2;
5210 }
5211 return NULL;
5212 }
5213
5214
5215 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5216 PyObject *resultobj;
5217 wxListBox *arg1 = (wxListBox *) 0 ;
5218 int arg2 ;
5219 PyObject * obj0 = 0 ;
5220 char *kwnames[] = {
5221 (char *) "self",(char *) "n", NULL
5222 };
5223
5224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
5225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5226 {
5227 PyThreadState* __tstate = wxPyBeginAllowThreads();
5228 (arg1)->EnsureVisible(arg2);
5229
5230 wxPyEndAllowThreads(__tstate);
5231 if (PyErr_Occurred()) SWIG_fail;
5232 }
5233 Py_INCREF(Py_None); resultobj = Py_None;
5234 return resultobj;
5235 fail:
5236 return NULL;
5237 }
5238
5239
5240 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5241 PyObject *resultobj;
5242 wxListBox *arg1 = (wxListBox *) 0 ;
5243 wxString *arg2 = 0 ;
5244 bool temp2 = False ;
5245 PyObject * obj0 = 0 ;
5246 PyObject * obj1 = 0 ;
5247 char *kwnames[] = {
5248 (char *) "self",(char *) "s", NULL
5249 };
5250
5251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
5252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5253 {
5254 arg2 = wxString_in_helper(obj1);
5255 if (arg2 == NULL) SWIG_fail;
5256 temp2 = True;
5257 }
5258 {
5259 PyThreadState* __tstate = wxPyBeginAllowThreads();
5260 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
5261
5262 wxPyEndAllowThreads(__tstate);
5263 if (PyErr_Occurred()) SWIG_fail;
5264 }
5265 Py_INCREF(Py_None); resultobj = Py_None;
5266 {
5267 if (temp2)
5268 delete arg2;
5269 }
5270 return resultobj;
5271 fail:
5272 {
5273 if (temp2)
5274 delete arg2;
5275 }
5276 return NULL;
5277 }
5278
5279
5280 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5281 PyObject *resultobj;
5282 wxListBox *arg1 = (wxListBox *) 0 ;
5283 bool result;
5284 PyObject * obj0 = 0 ;
5285 char *kwnames[] = {
5286 (char *) "self", NULL
5287 };
5288
5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5291 {
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 result = (bool)((wxListBox const *)arg1)->IsSorted();
5294
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 resultobj = PyInt_FromLong((long)result);
5299 return resultobj;
5300 fail:
5301 return NULL;
5302 }
5303
5304
5305 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5306 PyObject *obj;
5307 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5308 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5309 Py_INCREF(obj);
5310 return Py_BuildValue((char *)"");
5311 }
5312 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5313 PyObject *resultobj;
5314 wxWindow *arg1 = (wxWindow *) 0 ;
5315 int arg2 ;
5316 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5317 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5318 wxSize const &arg4_defvalue = wxDefaultSize ;
5319 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5320 int arg5 = (int) 0 ;
5321 wxString *arg6 = (wxString *) NULL ;
5322 long arg7 = (long) 0 ;
5323 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5324 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5325 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5326 wxString *arg9 = (wxString *) &arg9_defvalue ;
5327 wxCheckListBox *result;
5328 wxPoint temp3 ;
5329 wxSize temp4 ;
5330 bool temp8 = False ;
5331 PyObject * obj0 = 0 ;
5332 PyObject * obj2 = 0 ;
5333 PyObject * obj3 = 0 ;
5334 PyObject * obj4 = 0 ;
5335 PyObject * obj6 = 0 ;
5336 PyObject * obj7 = 0 ;
5337 char *kwnames[] = {
5338 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5339 };
5340
5341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5343 if (obj2) {
5344 {
5345 arg3 = &temp3;
5346 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5347 }
5348 }
5349 if (obj3) {
5350 {
5351 arg4 = &temp4;
5352 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5353 }
5354 }
5355 if (obj4) {
5356 {
5357 arg5 = PyList_Size(obj4);
5358 arg6 = wxString_LIST_helper(obj4);
5359 if (arg6 == NULL) SWIG_fail;
5360 }
5361 }
5362 if (obj6) {
5363 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5364 if (arg8 == NULL) {
5365 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5366 }
5367 }
5368 if (obj7) {
5369 {
5370 arg9 = wxString_in_helper(obj7);
5371 if (arg9 == NULL) SWIG_fail;
5372 temp8 = True;
5373 }
5374 }
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5378
5379 wxPyEndAllowThreads(__tstate);
5380 if (PyErr_Occurred()) SWIG_fail;
5381 }
5382 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5383 {
5384 if (arg6) delete [] arg6;
5385 }
5386 {
5387 if (temp8)
5388 delete arg9;
5389 }
5390 return resultobj;
5391 fail:
5392 {
5393 if (arg6) delete [] arg6;
5394 }
5395 {
5396 if (temp8)
5397 delete arg9;
5398 }
5399 return NULL;
5400 }
5401
5402
5403 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5404 PyObject *resultobj;
5405 wxCheckListBox *result;
5406 char *kwnames[] = {
5407 NULL
5408 };
5409
5410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 result = (wxCheckListBox *)new wxCheckListBox();
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5419 return resultobj;
5420 fail:
5421 return NULL;
5422 }
5423
5424
5425 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj;
5427 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5428 wxWindow *arg2 = (wxWindow *) 0 ;
5429 int arg3 ;
5430 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5431 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5432 wxSize const &arg5_defvalue = wxDefaultSize ;
5433 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5434 int arg6 = (int) 0 ;
5435 wxString *arg7 = (wxString *) NULL ;
5436 long arg8 = (long) 0 ;
5437 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5438 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5439 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5440 wxString *arg10 = (wxString *) &arg10_defvalue ;
5441 bool result;
5442 wxPoint temp4 ;
5443 wxSize temp5 ;
5444 bool temp9 = False ;
5445 PyObject * obj0 = 0 ;
5446 PyObject * obj1 = 0 ;
5447 PyObject * obj3 = 0 ;
5448 PyObject * obj4 = 0 ;
5449 PyObject * obj5 = 0 ;
5450 PyObject * obj7 = 0 ;
5451 PyObject * obj8 = 0 ;
5452 char *kwnames[] = {
5453 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5454 };
5455
5456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5458 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5459 if (obj3) {
5460 {
5461 arg4 = &temp4;
5462 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5463 }
5464 }
5465 if (obj4) {
5466 {
5467 arg5 = &temp5;
5468 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5469 }
5470 }
5471 if (obj5) {
5472 {
5473 arg6 = PyList_Size(obj5);
5474 arg7 = wxString_LIST_helper(obj5);
5475 if (arg7 == NULL) SWIG_fail;
5476 }
5477 }
5478 if (obj7) {
5479 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5480 if (arg9 == NULL) {
5481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5482 }
5483 }
5484 if (obj8) {
5485 {
5486 arg10 = wxString_in_helper(obj8);
5487 if (arg10 == NULL) SWIG_fail;
5488 temp9 = True;
5489 }
5490 }
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5494
5495 wxPyEndAllowThreads(__tstate);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
5498 resultobj = PyInt_FromLong((long)result);
5499 {
5500 if (arg7) delete [] arg7;
5501 }
5502 {
5503 if (temp9)
5504 delete arg10;
5505 }
5506 return resultobj;
5507 fail:
5508 {
5509 if (arg7) delete [] arg7;
5510 }
5511 {
5512 if (temp9)
5513 delete arg10;
5514 }
5515 return NULL;
5516 }
5517
5518
5519 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5520 PyObject *resultobj;
5521 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5522 int arg2 ;
5523 bool result;
5524 PyObject * obj0 = 0 ;
5525 char *kwnames[] = {
5526 (char *) "self",(char *) "index", NULL
5527 };
5528
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5531 {
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 result = (bool)(arg1)->IsChecked(arg2);
5534
5535 wxPyEndAllowThreads(__tstate);
5536 if (PyErr_Occurred()) SWIG_fail;
5537 }
5538 resultobj = PyInt_FromLong((long)result);
5539 return resultobj;
5540 fail:
5541 return NULL;
5542 }
5543
5544
5545 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5546 PyObject *resultobj;
5547 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5548 int arg2 ;
5549 int arg3 = (int) True ;
5550 PyObject * obj0 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "index",(char *) "check", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5557 {
5558 PyThreadState* __tstate = wxPyBeginAllowThreads();
5559 (arg1)->Check(arg2,arg3);
5560
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 Py_INCREF(Py_None); resultobj = Py_None;
5565 return resultobj;
5566 fail:
5567 return NULL;
5568 }
5569
5570
5571 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5572 PyObject *resultobj;
5573 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5574 wxPoint *arg2 = 0 ;
5575 int result;
5576 wxPoint temp2 ;
5577 PyObject * obj0 = 0 ;
5578 PyObject * obj1 = 0 ;
5579 char *kwnames[] = {
5580 (char *) "self",(char *) "pt", NULL
5581 };
5582
5583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5585 {
5586 arg2 = &temp2;
5587 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5588 }
5589 {
5590 PyThreadState* __tstate = wxPyBeginAllowThreads();
5591 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5592
5593 wxPyEndAllowThreads(__tstate);
5594 if (PyErr_Occurred()) SWIG_fail;
5595 }
5596 resultobj = PyInt_FromLong((long)result);
5597 return resultobj;
5598 fail:
5599 return NULL;
5600 }
5601
5602
5603 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5604 PyObject *resultobj;
5605 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5606 int arg2 ;
5607 int arg3 ;
5608 int result;
5609 PyObject * obj0 = 0 ;
5610 char *kwnames[] = {
5611 (char *) "self",(char *) "x",(char *) "y", NULL
5612 };
5613
5614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5616 {
5617 PyThreadState* __tstate = wxPyBeginAllowThreads();
5618 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5619
5620 wxPyEndAllowThreads(__tstate);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 }
5623 resultobj = PyInt_FromLong((long)result);
5624 return resultobj;
5625 fail:
5626 return NULL;
5627 }
5628
5629
5630 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5631 PyObject *obj;
5632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5633 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5634 Py_INCREF(obj);
5635 return Py_BuildValue((char *)"");
5636 }
5637 static int _wrap_TextCtrlNameStr_set(PyObject *_val) {
5638 PyErr_SetString(PyExc_TypeError,"Variable TextCtrlNameStr is read-only.");
5639 return 1;
5640 }
5641
5642
5643 static PyObject *_wrap_TextCtrlNameStr_get() {
5644 PyObject *pyobj;
5645
5646 {
5647 #if wxUSE_UNICODE
5648 pyobj = PyUnicode_FromWideChar((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5649 #else
5650 pyobj = PyString_FromStringAndSize((&wxPyTextCtrlNameStr)->c_str(), (&wxPyTextCtrlNameStr)->Len());
5651 #endif
5652 }
5653 return pyobj;
5654 }
5655
5656
5657 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5658 PyObject *resultobj;
5659 wxTextAttr *result;
5660
5661 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 result = (wxTextAttr *)new wxTextAttr();
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5670 return resultobj;
5671 fail:
5672 return NULL;
5673 }
5674
5675
5676 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5677 PyObject *resultobj;
5678 wxColour *arg1 = 0 ;
5679 wxColour const &arg2_defvalue = wxNullColour ;
5680 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5681 wxFont const &arg3_defvalue = wxNullFont ;
5682 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5683 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5684 wxTextAttr *result;
5685 wxColour temp1 ;
5686 wxColour temp2 ;
5687 PyObject * obj0 = 0 ;
5688 PyObject * obj1 = 0 ;
5689 PyObject * obj2 = 0 ;
5690
5691 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5692 {
5693 arg1 = &temp1;
5694 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5695 }
5696 if (obj1) {
5697 {
5698 arg2 = &temp2;
5699 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5700 }
5701 }
5702 if (obj2) {
5703 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5704 if (arg3 == NULL) {
5705 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5706 }
5707 }
5708 {
5709 PyThreadState* __tstate = wxPyBeginAllowThreads();
5710 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5711
5712 wxPyEndAllowThreads(__tstate);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5716 return resultobj;
5717 fail:
5718 return NULL;
5719 }
5720
5721
5722 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5723 int argc;
5724 PyObject *argv[5];
5725 int ii;
5726
5727 argc = PyObject_Length(args);
5728 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5729 argv[ii] = PyTuple_GetItem(args,ii);
5730 }
5731 if (argc == 0) {
5732 return _wrap_new_TextAttr__SWIG_0(self,args);
5733 }
5734 if ((argc >= 1) && (argc <= 4)) {
5735 int _v;
5736 {
5737 _v = wxColour_typecheck(argv[0]);
5738 }
5739 if (_v) {
5740 if (argc <= 1) {
5741 return _wrap_new_TextAttr__SWIG_1(self,args);
5742 }
5743 {
5744 _v = wxColour_typecheck(argv[1]);
5745 }
5746 if (_v) {
5747 if (argc <= 2) {
5748 return _wrap_new_TextAttr__SWIG_1(self,args);
5749 }
5750 {
5751 void *ptr;
5752 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5753 _v = 0;
5754 PyErr_Clear();
5755 } else {
5756 _v = 1;
5757 }
5758 }
5759 if (_v) {
5760 if (argc <= 3) {
5761 return _wrap_new_TextAttr__SWIG_1(self,args);
5762 }
5763 return _wrap_new_TextAttr__SWIG_1(self,args);
5764 }
5765 }
5766 }
5767 }
5768
5769 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5770 return NULL;
5771 }
5772
5773
5774 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5775 PyObject *resultobj;
5776 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5777 PyObject * obj0 = 0 ;
5778 char *kwnames[] = {
5779 (char *) "self", NULL
5780 };
5781
5782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5784 {
5785 PyThreadState* __tstate = wxPyBeginAllowThreads();
5786 (arg1)->Init();
5787
5788 wxPyEndAllowThreads(__tstate);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
5791 Py_INCREF(Py_None); resultobj = Py_None;
5792 return resultobj;
5793 fail:
5794 return NULL;
5795 }
5796
5797
5798 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5799 PyObject *resultobj;
5800 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5801 wxColour *arg2 = 0 ;
5802 wxColour temp2 ;
5803 PyObject * obj0 = 0 ;
5804 PyObject * obj1 = 0 ;
5805 char *kwnames[] = {
5806 (char *) "self",(char *) "colText", NULL
5807 };
5808
5809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5811 {
5812 arg2 = &temp2;
5813 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5814 }
5815 {
5816 PyThreadState* __tstate = wxPyBeginAllowThreads();
5817 (arg1)->SetTextColour((wxColour const &)*arg2);
5818
5819 wxPyEndAllowThreads(__tstate);
5820 if (PyErr_Occurred()) SWIG_fail;
5821 }
5822 Py_INCREF(Py_None); resultobj = Py_None;
5823 return resultobj;
5824 fail:
5825 return NULL;
5826 }
5827
5828
5829 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5830 PyObject *resultobj;
5831 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5832 wxColour *arg2 = 0 ;
5833 wxColour temp2 ;
5834 PyObject * obj0 = 0 ;
5835 PyObject * obj1 = 0 ;
5836 char *kwnames[] = {
5837 (char *) "self",(char *) "colBack", NULL
5838 };
5839
5840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5842 {
5843 arg2 = &temp2;
5844 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5845 }
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5849
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 Py_INCREF(Py_None); resultobj = Py_None;
5854 return resultobj;
5855 fail:
5856 return NULL;
5857 }
5858
5859
5860 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj;
5862 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5863 wxFont *arg2 = 0 ;
5864 long arg3 = (long) wxTEXT_ATTR_FONT ;
5865 PyObject * obj0 = 0 ;
5866 PyObject * obj1 = 0 ;
5867 char *kwnames[] = {
5868 (char *) "self",(char *) "font",(char *) "flags", NULL
5869 };
5870
5871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5873 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5874 if (arg2 == NULL) {
5875 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5876 }
5877 {
5878 PyThreadState* __tstate = wxPyBeginAllowThreads();
5879 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5880
5881 wxPyEndAllowThreads(__tstate);
5882 if (PyErr_Occurred()) SWIG_fail;
5883 }
5884 Py_INCREF(Py_None); resultobj = Py_None;
5885 return resultobj;
5886 fail:
5887 return NULL;
5888 }
5889
5890
5891 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5892 PyObject *resultobj;
5893 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5894 int arg2 ;
5895 PyObject * obj0 = 0 ;
5896 char *kwnames[] = {
5897 (char *) "self",(char *) "alignment", NULL
5898 };
5899
5900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5902 {
5903 PyThreadState* __tstate = wxPyBeginAllowThreads();
5904 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5905
5906 wxPyEndAllowThreads(__tstate);
5907 if (PyErr_Occurred()) SWIG_fail;
5908 }
5909 Py_INCREF(Py_None); resultobj = Py_None;
5910 return resultobj;
5911 fail:
5912 return NULL;
5913 }
5914
5915
5916 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5917 PyObject *resultobj;
5918 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5919 wxArrayInt *arg2 = 0 ;
5920 PyObject * obj0 = 0 ;
5921 PyObject * obj1 = 0 ;
5922 char *kwnames[] = {
5923 (char *) "self",(char *) "tabs", NULL
5924 };
5925
5926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5928 {
5929 if (! PySequence_Check(obj1)) {
5930 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5931 SWIG_fail;
5932 }
5933 arg2 = new wxArrayInt;
5934 int i, len=PySequence_Length(obj1);
5935 for (i=0; i<len; i++) {
5936 PyObject* item = PySequence_GetItem(obj1, i);
5937 PyObject* number = PyNumber_Int(item);
5938 arg2->Add(PyInt_AS_LONG(number));
5939 Py_DECREF(item);
5940 Py_DECREF(number);
5941 }
5942 }
5943 {
5944 PyThreadState* __tstate = wxPyBeginAllowThreads();
5945 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5946
5947 wxPyEndAllowThreads(__tstate);
5948 if (PyErr_Occurred()) SWIG_fail;
5949 }
5950 Py_INCREF(Py_None); resultobj = Py_None;
5951 {
5952 if (arg2) delete arg2;
5953 }
5954 return resultobj;
5955 fail:
5956 {
5957 if (arg2) delete arg2;
5958 }
5959 return NULL;
5960 }
5961
5962
5963 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5964 PyObject *resultobj;
5965 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5966 int arg2 ;
5967 PyObject * obj0 = 0 ;
5968 char *kwnames[] = {
5969 (char *) "self",(char *) "indent", NULL
5970 };
5971
5972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5974 {
5975 PyThreadState* __tstate = wxPyBeginAllowThreads();
5976 (arg1)->SetLeftIndent(arg2);
5977
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 Py_INCREF(Py_None); resultobj = Py_None;
5982 return resultobj;
5983 fail:
5984 return NULL;
5985 }
5986
5987
5988 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5989 PyObject *resultobj;
5990 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5991 int arg2 ;
5992 PyObject * obj0 = 0 ;
5993 char *kwnames[] = {
5994 (char *) "self",(char *) "indent", NULL
5995 };
5996
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5999 {
6000 PyThreadState* __tstate = wxPyBeginAllowThreads();
6001 (arg1)->SetRightIndent(arg2);
6002
6003 wxPyEndAllowThreads(__tstate);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 }
6006 Py_INCREF(Py_None); resultobj = Py_None;
6007 return resultobj;
6008 fail:
6009 return NULL;
6010 }
6011
6012
6013 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6014 PyObject *resultobj;
6015 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6016 long arg2 ;
6017 PyObject * obj0 = 0 ;
6018 char *kwnames[] = {
6019 (char *) "self",(char *) "flags", NULL
6020 };
6021
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6024 {
6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
6026 (arg1)->SetFlags(arg2);
6027
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 Py_INCREF(Py_None); resultobj = Py_None;
6032 return resultobj;
6033 fail:
6034 return NULL;
6035 }
6036
6037
6038 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6039 PyObject *resultobj;
6040 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6041 bool result;
6042 PyObject * obj0 = 0 ;
6043 char *kwnames[] = {
6044 (char *) "self", NULL
6045 };
6046
6047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
6048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6049 {
6050 PyThreadState* __tstate = wxPyBeginAllowThreads();
6051 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 resultobj = PyInt_FromLong((long)result);
6057 return resultobj;
6058 fail:
6059 return NULL;
6060 }
6061
6062
6063 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6064 PyObject *resultobj;
6065 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6066 bool result;
6067 PyObject * obj0 = 0 ;
6068 char *kwnames[] = {
6069 (char *) "self", NULL
6070 };
6071
6072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
6073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
6077
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
6081 resultobj = PyInt_FromLong((long)result);
6082 return resultobj;
6083 fail:
6084 return NULL;
6085 }
6086
6087
6088 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6089 PyObject *resultobj;
6090 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6091 bool result;
6092 PyObject * obj0 = 0 ;
6093 char *kwnames[] = {
6094 (char *) "self", NULL
6095 };
6096
6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
6098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6099 {
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 result = (bool)((wxTextAttr const *)arg1)->HasFont();
6102
6103 wxPyEndAllowThreads(__tstate);
6104 if (PyErr_Occurred()) SWIG_fail;
6105 }
6106 resultobj = PyInt_FromLong((long)result);
6107 return resultobj;
6108 fail:
6109 return NULL;
6110 }
6111
6112
6113 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6114 PyObject *resultobj;
6115 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6116 bool result;
6117 PyObject * obj0 = 0 ;
6118 char *kwnames[] = {
6119 (char *) "self", NULL
6120 };
6121
6122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
6123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6124 {
6125 PyThreadState* __tstate = wxPyBeginAllowThreads();
6126 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
6127
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 resultobj = PyInt_FromLong((long)result);
6132 return resultobj;
6133 fail:
6134 return NULL;
6135 }
6136
6137
6138 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj;
6140 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6141 bool result;
6142 PyObject * obj0 = 0 ;
6143 char *kwnames[] = {
6144 (char *) "self", NULL
6145 };
6146
6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
6148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6149 {
6150 PyThreadState* __tstate = wxPyBeginAllowThreads();
6151 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
6152
6153 wxPyEndAllowThreads(__tstate);
6154 if (PyErr_Occurred()) SWIG_fail;
6155 }
6156 resultobj = PyInt_FromLong((long)result);
6157 return resultobj;
6158 fail:
6159 return NULL;
6160 }
6161
6162
6163 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6164 PyObject *resultobj;
6165 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6166 bool result;
6167 PyObject * obj0 = 0 ;
6168 char *kwnames[] = {
6169 (char *) "self", NULL
6170 };
6171
6172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
6173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6174 {
6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
6176 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
6177
6178 wxPyEndAllowThreads(__tstate);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
6181 resultobj = PyInt_FromLong((long)result);
6182 return resultobj;
6183 fail:
6184 return NULL;
6185 }
6186
6187
6188 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6189 PyObject *resultobj;
6190 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6191 bool result;
6192 PyObject * obj0 = 0 ;
6193 char *kwnames[] = {
6194 (char *) "self", NULL
6195 };
6196
6197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
6198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6199 {
6200 PyThreadState* __tstate = wxPyBeginAllowThreads();
6201 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
6202
6203 wxPyEndAllowThreads(__tstate);
6204 if (PyErr_Occurred()) SWIG_fail;
6205 }
6206 resultobj = PyInt_FromLong((long)result);
6207 return resultobj;
6208 fail:
6209 return NULL;
6210 }
6211
6212
6213 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
6214 PyObject *resultobj;
6215 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6216 long arg2 ;
6217 bool result;
6218 PyObject * obj0 = 0 ;
6219 char *kwnames[] = {
6220 (char *) "self",(char *) "flag", NULL
6221 };
6222
6223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
6224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6225 {
6226 PyThreadState* __tstate = wxPyBeginAllowThreads();
6227 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
6228
6229 wxPyEndAllowThreads(__tstate);
6230 if (PyErr_Occurred()) SWIG_fail;
6231 }
6232 resultobj = PyInt_FromLong((long)result);
6233 return resultobj;
6234 fail:
6235 return NULL;
6236 }
6237
6238
6239 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6240 PyObject *resultobj;
6241 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6242 wxColour *result;
6243 PyObject * obj0 = 0 ;
6244 char *kwnames[] = {
6245 (char *) "self", NULL
6246 };
6247
6248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
6249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6250 {
6251 PyThreadState* __tstate = wxPyBeginAllowThreads();
6252 {
6253 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6254 result = (wxColour *) &_result_ref;
6255 }
6256
6257 wxPyEndAllowThreads(__tstate);
6258 if (PyErr_Occurred()) SWIG_fail;
6259 }
6260 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6261 return resultobj;
6262 fail:
6263 return NULL;
6264 }
6265
6266
6267 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj;
6269 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6270 wxColour *result;
6271 PyObject * obj0 = 0 ;
6272 char *kwnames[] = {
6273 (char *) "self", NULL
6274 };
6275
6276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6278 {
6279 PyThreadState* __tstate = wxPyBeginAllowThreads();
6280 {
6281 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6282 result = (wxColour *) &_result_ref;
6283 }
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
6288 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6289 return resultobj;
6290 fail:
6291 return NULL;
6292 }
6293
6294
6295 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6296 PyObject *resultobj;
6297 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6298 wxFont *result;
6299 PyObject * obj0 = 0 ;
6300 char *kwnames[] = {
6301 (char *) "self", NULL
6302 };
6303
6304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 {
6309 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6310 result = (wxFont *) &_result_ref;
6311 }
6312
6313 wxPyEndAllowThreads(__tstate);
6314 if (PyErr_Occurred()) SWIG_fail;
6315 }
6316 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6317 return resultobj;
6318 fail:
6319 return NULL;
6320 }
6321
6322
6323 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6324 PyObject *resultobj;
6325 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6326 int result;
6327 PyObject * obj0 = 0 ;
6328 char *kwnames[] = {
6329 (char *) "self", NULL
6330 };
6331
6332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6334 {
6335 PyThreadState* __tstate = wxPyBeginAllowThreads();
6336 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6337
6338 wxPyEndAllowThreads(__tstate);
6339 if (PyErr_Occurred()) SWIG_fail;
6340 }
6341 resultobj = PyInt_FromLong((long)result);
6342 return resultobj;
6343 fail:
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject *resultobj;
6350 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6351 wxArrayInt *result;
6352 PyObject * obj0 = 0 ;
6353 char *kwnames[] = {
6354 (char *) "self", NULL
6355 };
6356
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 {
6362 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6363 result = (wxArrayInt *) &_result_ref;
6364 }
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 {
6370 resultobj = PyList_New(0);
6371 size_t idx;
6372 for (idx = 0; idx < result->GetCount(); idx += 1) {
6373 PyObject* val = PyInt_FromLong( result->Item(idx) );
6374 PyList_Append(resultobj, val);
6375 Py_DECREF(val);
6376 }
6377 }
6378 return resultobj;
6379 fail:
6380 return NULL;
6381 }
6382
6383
6384 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6385 PyObject *resultobj;
6386 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6387 long result;
6388 PyObject * obj0 = 0 ;
6389 char *kwnames[] = {
6390 (char *) "self", NULL
6391 };
6392
6393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6398
6399 wxPyEndAllowThreads(__tstate);
6400 if (PyErr_Occurred()) SWIG_fail;
6401 }
6402 resultobj = PyInt_FromLong((long)result);
6403 return resultobj;
6404 fail:
6405 return NULL;
6406 }
6407
6408
6409 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6410 PyObject *resultobj;
6411 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6412 long result;
6413 PyObject * obj0 = 0 ;
6414 char *kwnames[] = {
6415 (char *) "self", NULL
6416 };
6417
6418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6420 {
6421 PyThreadState* __tstate = wxPyBeginAllowThreads();
6422 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6423
6424 wxPyEndAllowThreads(__tstate);
6425 if (PyErr_Occurred()) SWIG_fail;
6426 }
6427 resultobj = PyInt_FromLong((long)result);
6428 return resultobj;
6429 fail:
6430 return NULL;
6431 }
6432
6433
6434 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6435 PyObject *resultobj;
6436 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6437 long result;
6438 PyObject * obj0 = 0 ;
6439 char *kwnames[] = {
6440 (char *) "self", NULL
6441 };
6442
6443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6445 {
6446 PyThreadState* __tstate = wxPyBeginAllowThreads();
6447 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6448
6449 wxPyEndAllowThreads(__tstate);
6450 if (PyErr_Occurred()) SWIG_fail;
6451 }
6452 resultobj = PyInt_FromLong((long)result);
6453 return resultobj;
6454 fail:
6455 return NULL;
6456 }
6457
6458
6459 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6460 PyObject *resultobj;
6461 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6462 bool result;
6463 PyObject * obj0 = 0 ;
6464 char *kwnames[] = {
6465 (char *) "self", NULL
6466 };
6467
6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6470 {
6471 PyThreadState* __tstate = wxPyBeginAllowThreads();
6472 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6473
6474 wxPyEndAllowThreads(__tstate);
6475 if (PyErr_Occurred()) SWIG_fail;
6476 }
6477 resultobj = PyInt_FromLong((long)result);
6478 return resultobj;
6479 fail:
6480 return NULL;
6481 }
6482
6483
6484 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6485 PyObject *resultobj;
6486 wxTextAttr *arg1 = 0 ;
6487 wxTextAttr *arg2 = 0 ;
6488 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6489 wxTextAttr result;
6490 PyObject * obj0 = 0 ;
6491 PyObject * obj1 = 0 ;
6492 PyObject * obj2 = 0 ;
6493 char *kwnames[] = {
6494 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6495 };
6496
6497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6499 if (arg1 == NULL) {
6500 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6501 }
6502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6503 if (arg2 == NULL) {
6504 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6505 }
6506 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6507 {
6508 PyThreadState* __tstate = wxPyBeginAllowThreads();
6509 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6510
6511 wxPyEndAllowThreads(__tstate);
6512 if (PyErr_Occurred()) SWIG_fail;
6513 }
6514 {
6515 wxTextAttr * resultptr;
6516 resultptr = new wxTextAttr((wxTextAttr &) result);
6517 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6518 }
6519 return resultobj;
6520 fail:
6521 return NULL;
6522 }
6523
6524
6525 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6526 PyObject *obj;
6527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6528 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6529 Py_INCREF(obj);
6530 return Py_BuildValue((char *)"");
6531 }
6532 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6533 PyObject *resultobj;
6534 wxWindow *arg1 = (wxWindow *) 0 ;
6535 int arg2 ;
6536 wxString const &arg3_defvalue = wxPyEmptyString ;
6537 wxString *arg3 = (wxString *) &arg3_defvalue ;
6538 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6539 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6540 wxSize const &arg5_defvalue = wxDefaultSize ;
6541 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6542 long arg6 = (long) 0 ;
6543 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6544 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6545 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6546 wxString *arg8 = (wxString *) &arg8_defvalue ;
6547 wxTextCtrl *result;
6548 bool temp3 = False ;
6549 wxPoint temp4 ;
6550 wxSize temp5 ;
6551 bool temp8 = False ;
6552 PyObject * obj0 = 0 ;
6553 PyObject * obj2 = 0 ;
6554 PyObject * obj3 = 0 ;
6555 PyObject * obj4 = 0 ;
6556 PyObject * obj6 = 0 ;
6557 PyObject * obj7 = 0 ;
6558 char *kwnames[] = {
6559 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6560 };
6561
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6564 if (obj2) {
6565 {
6566 arg3 = wxString_in_helper(obj2);
6567 if (arg3 == NULL) SWIG_fail;
6568 temp3 = True;
6569 }
6570 }
6571 if (obj3) {
6572 {
6573 arg4 = &temp4;
6574 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6575 }
6576 }
6577 if (obj4) {
6578 {
6579 arg5 = &temp5;
6580 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6581 }
6582 }
6583 if (obj6) {
6584 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6585 if (arg7 == NULL) {
6586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6587 }
6588 }
6589 if (obj7) {
6590 {
6591 arg8 = wxString_in_helper(obj7);
6592 if (arg8 == NULL) SWIG_fail;
6593 temp8 = True;
6594 }
6595 }
6596 {
6597 PyThreadState* __tstate = wxPyBeginAllowThreads();
6598 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6599
6600 wxPyEndAllowThreads(__tstate);
6601 if (PyErr_Occurred()) SWIG_fail;
6602 }
6603 {
6604 resultobj = wxPyMake_wxObject(result);
6605 }
6606 {
6607 if (temp3)
6608 delete arg3;
6609 }
6610 {
6611 if (temp8)
6612 delete arg8;
6613 }
6614 return resultobj;
6615 fail:
6616 {
6617 if (temp3)
6618 delete arg3;
6619 }
6620 {
6621 if (temp8)
6622 delete arg8;
6623 }
6624 return NULL;
6625 }
6626
6627
6628 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6629 PyObject *resultobj;
6630 wxTextCtrl *result;
6631 char *kwnames[] = {
6632 NULL
6633 };
6634
6635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6636 {
6637 PyThreadState* __tstate = wxPyBeginAllowThreads();
6638 result = (wxTextCtrl *)new wxTextCtrl();
6639
6640 wxPyEndAllowThreads(__tstate);
6641 if (PyErr_Occurred()) SWIG_fail;
6642 }
6643 {
6644 resultobj = wxPyMake_wxObject(result);
6645 }
6646 return resultobj;
6647 fail:
6648 return NULL;
6649 }
6650
6651
6652 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6653 PyObject *resultobj;
6654 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6655 wxWindow *arg2 = (wxWindow *) 0 ;
6656 int arg3 ;
6657 wxString const &arg4_defvalue = wxPyEmptyString ;
6658 wxString *arg4 = (wxString *) &arg4_defvalue ;
6659 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6660 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6661 wxSize const &arg6_defvalue = wxDefaultSize ;
6662 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6663 long arg7 = (long) 0 ;
6664 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6665 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6666 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6667 wxString *arg9 = (wxString *) &arg9_defvalue ;
6668 bool result;
6669 bool temp4 = False ;
6670 wxPoint temp5 ;
6671 wxSize temp6 ;
6672 bool temp9 = False ;
6673 PyObject * obj0 = 0 ;
6674 PyObject * obj1 = 0 ;
6675 PyObject * obj3 = 0 ;
6676 PyObject * obj4 = 0 ;
6677 PyObject * obj5 = 0 ;
6678 PyObject * obj7 = 0 ;
6679 PyObject * obj8 = 0 ;
6680 char *kwnames[] = {
6681 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6682 };
6683
6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6687 if (obj3) {
6688 {
6689 arg4 = wxString_in_helper(obj3);
6690 if (arg4 == NULL) SWIG_fail;
6691 temp4 = True;
6692 }
6693 }
6694 if (obj4) {
6695 {
6696 arg5 = &temp5;
6697 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6698 }
6699 }
6700 if (obj5) {
6701 {
6702 arg6 = &temp6;
6703 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6704 }
6705 }
6706 if (obj7) {
6707 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6708 if (arg8 == NULL) {
6709 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6710 }
6711 }
6712 if (obj8) {
6713 {
6714 arg9 = wxString_in_helper(obj8);
6715 if (arg9 == NULL) SWIG_fail;
6716 temp9 = True;
6717 }
6718 }
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6722
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 resultobj = PyInt_FromLong((long)result);
6727 {
6728 if (temp4)
6729 delete arg4;
6730 }
6731 {
6732 if (temp9)
6733 delete arg9;
6734 }
6735 return resultobj;
6736 fail:
6737 {
6738 if (temp4)
6739 delete arg4;
6740 }
6741 {
6742 if (temp9)
6743 delete arg9;
6744 }
6745 return NULL;
6746 }
6747
6748
6749 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6750 PyObject *resultobj;
6751 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6752 wxString result;
6753 PyObject * obj0 = 0 ;
6754 char *kwnames[] = {
6755 (char *) "self", NULL
6756 };
6757
6758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 result = ((wxTextCtrl const *)arg1)->GetValue();
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
6767 {
6768 #if wxUSE_UNICODE
6769 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6770 #else
6771 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6772 #endif
6773 }
6774 return resultobj;
6775 fail:
6776 return NULL;
6777 }
6778
6779
6780 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6781 PyObject *resultobj;
6782 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6783 wxString *arg2 = 0 ;
6784 bool temp2 = False ;
6785 PyObject * obj0 = 0 ;
6786 PyObject * obj1 = 0 ;
6787 char *kwnames[] = {
6788 (char *) "self",(char *) "value", NULL
6789 };
6790
6791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6793 {
6794 arg2 = wxString_in_helper(obj1);
6795 if (arg2 == NULL) SWIG_fail;
6796 temp2 = True;
6797 }
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 (arg1)->SetValue((wxString const &)*arg2);
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 Py_INCREF(Py_None); resultobj = Py_None;
6806 {
6807 if (temp2)
6808 delete arg2;
6809 }
6810 return resultobj;
6811 fail:
6812 {
6813 if (temp2)
6814 delete arg2;
6815 }
6816 return NULL;
6817 }
6818
6819
6820 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6821 PyObject *resultobj;
6822 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6823 long arg2 ;
6824 long arg3 ;
6825 wxString result;
6826 PyObject * obj0 = 0 ;
6827 char *kwnames[] = {
6828 (char *) "self",(char *) "from",(char *) "to", NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6833 {
6834 PyThreadState* __tstate = wxPyBeginAllowThreads();
6835 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6836
6837 wxPyEndAllowThreads(__tstate);
6838 if (PyErr_Occurred()) SWIG_fail;
6839 }
6840 {
6841 #if wxUSE_UNICODE
6842 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6843 #else
6844 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6845 #endif
6846 }
6847 return resultobj;
6848 fail:
6849 return NULL;
6850 }
6851
6852
6853 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6854 PyObject *resultobj;
6855 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6856 long arg2 ;
6857 int result;
6858 PyObject * obj0 = 0 ;
6859 char *kwnames[] = {
6860 (char *) "self",(char *) "lineNo", NULL
6861 };
6862
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 resultobj = PyInt_FromLong((long)result);
6873 return resultobj;
6874 fail:
6875 return NULL;
6876 }
6877
6878
6879 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj;
6881 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6882 long arg2 ;
6883 wxString result;
6884 PyObject * obj0 = 0 ;
6885 char *kwnames[] = {
6886 (char *) "self",(char *) "lineNo", NULL
6887 };
6888
6889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6891 {
6892 PyThreadState* __tstate = wxPyBeginAllowThreads();
6893 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6894
6895 wxPyEndAllowThreads(__tstate);
6896 if (PyErr_Occurred()) SWIG_fail;
6897 }
6898 {
6899 #if wxUSE_UNICODE
6900 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6901 #else
6902 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6903 #endif
6904 }
6905 return resultobj;
6906 fail:
6907 return NULL;
6908 }
6909
6910
6911 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6912 PyObject *resultobj;
6913 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6914 int result;
6915 PyObject * obj0 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6922 {
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6925
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 resultobj = PyInt_FromLong((long)result);
6930 return resultobj;
6931 fail:
6932 return NULL;
6933 }
6934
6935
6936 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6937 PyObject *resultobj;
6938 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6939 bool result;
6940 PyObject * obj0 = 0 ;
6941 char *kwnames[] = {
6942 (char *) "self", NULL
6943 };
6944
6945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6947 {
6948 PyThreadState* __tstate = wxPyBeginAllowThreads();
6949 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6950
6951 wxPyEndAllowThreads(__tstate);
6952 if (PyErr_Occurred()) SWIG_fail;
6953 }
6954 resultobj = PyInt_FromLong((long)result);
6955 return resultobj;
6956 fail:
6957 return NULL;
6958 }
6959
6960
6961 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6962 PyObject *resultobj;
6963 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6964 bool result;
6965 PyObject * obj0 = 0 ;
6966 char *kwnames[] = {
6967 (char *) "self", NULL
6968 };
6969
6970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6972 {
6973 PyThreadState* __tstate = wxPyBeginAllowThreads();
6974 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6975
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 resultobj = PyInt_FromLong((long)result);
6980 return resultobj;
6981 fail:
6982 return NULL;
6983 }
6984
6985
6986 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj;
6988 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6989 bool result;
6990 PyObject * obj0 = 0 ;
6991 char *kwnames[] = {
6992 (char *) "self", NULL
6993 };
6994
6995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
7000
7001 wxPyEndAllowThreads(__tstate);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 }
7004 resultobj = PyInt_FromLong((long)result);
7005 return resultobj;
7006 fail:
7007 return NULL;
7008 }
7009
7010
7011 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7012 PyObject *resultobj;
7013 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7014 bool result;
7015 PyObject * obj0 = 0 ;
7016 char *kwnames[] = {
7017 (char *) "self", NULL
7018 };
7019
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
7021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
7025
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 resultobj = PyInt_FromLong((long)result);
7030 return resultobj;
7031 fail:
7032 return NULL;
7033 }
7034
7035
7036 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7037 PyObject *resultobj;
7038 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7039 long *arg2 = (long *) 0 ;
7040 long *arg3 = (long *) 0 ;
7041 long temp2 ;
7042 long temp3 ;
7043 PyObject * obj0 = 0 ;
7044 char *kwnames[] = {
7045 (char *) "self", NULL
7046 };
7047
7048 arg2 = &temp2;
7049 arg3 = &temp3;
7050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
7051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 Py_INCREF(Py_None); resultobj = Py_None;
7060 {
7061 PyObject *o = PyInt_FromLong((long) (*arg2));
7062 resultobj = t_output_helper(resultobj,o);
7063 }
7064 {
7065 PyObject *o = PyInt_FromLong((long) (*arg3));
7066 resultobj = t_output_helper(resultobj,o);
7067 }
7068 return resultobj;
7069 fail:
7070 return NULL;
7071 }
7072
7073
7074 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7075 PyObject *resultobj;
7076 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7077 wxString result;
7078 PyObject * obj0 = 0 ;
7079 char *kwnames[] = {
7080 (char *) "self", NULL
7081 };
7082
7083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
7084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7085 {
7086 PyThreadState* __tstate = wxPyBeginAllowThreads();
7087 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
7088
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 {
7093 #if wxUSE_UNICODE
7094 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7095 #else
7096 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7097 #endif
7098 }
7099 return resultobj;
7100 fail:
7101 return NULL;
7102 }
7103
7104
7105 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
7106 PyObject *resultobj;
7107 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7108 PyObject * obj0 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "self", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
7114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 (arg1)->Clear();
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 Py_INCREF(Py_None); resultobj = Py_None;
7123 return resultobj;
7124 fail:
7125 return NULL;
7126 }
7127
7128
7129 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
7130 PyObject *resultobj;
7131 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7132 long arg2 ;
7133 long arg3 ;
7134 wxString *arg4 = 0 ;
7135 bool temp4 = False ;
7136 PyObject * obj0 = 0 ;
7137 PyObject * obj3 = 0 ;
7138 char *kwnames[] = {
7139 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
7140 };
7141
7142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7144 {
7145 arg4 = wxString_in_helper(obj3);
7146 if (arg4 == NULL) SWIG_fail;
7147 temp4 = True;
7148 }
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
7156 Py_INCREF(Py_None); resultobj = Py_None;
7157 {
7158 if (temp4)
7159 delete arg4;
7160 }
7161 return resultobj;
7162 fail:
7163 {
7164 if (temp4)
7165 delete arg4;
7166 }
7167 return NULL;
7168 }
7169
7170
7171 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
7172 PyObject *resultobj;
7173 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7174 long arg2 ;
7175 long arg3 ;
7176 PyObject * obj0 = 0 ;
7177 char *kwnames[] = {
7178 (char *) "self",(char *) "from",(char *) "to", NULL
7179 };
7180
7181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
7182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7183 {
7184 PyThreadState* __tstate = wxPyBeginAllowThreads();
7185 (arg1)->Remove(arg2,arg3);
7186
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 }
7190 Py_INCREF(Py_None); resultobj = Py_None;
7191 return resultobj;
7192 fail:
7193 return NULL;
7194 }
7195
7196
7197 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7198 PyObject *resultobj;
7199 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7200 wxString *arg2 = 0 ;
7201 bool result;
7202 bool temp2 = False ;
7203 PyObject * obj0 = 0 ;
7204 PyObject * obj1 = 0 ;
7205 char *kwnames[] = {
7206 (char *) "self",(char *) "file", NULL
7207 };
7208
7209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
7210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7211 {
7212 arg2 = wxString_in_helper(obj1);
7213 if (arg2 == NULL) SWIG_fail;
7214 temp2 = True;
7215 }
7216 {
7217 PyThreadState* __tstate = wxPyBeginAllowThreads();
7218 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
7219
7220 wxPyEndAllowThreads(__tstate);
7221 if (PyErr_Occurred()) SWIG_fail;
7222 }
7223 resultobj = PyInt_FromLong((long)result);
7224 {
7225 if (temp2)
7226 delete arg2;
7227 }
7228 return resultobj;
7229 fail:
7230 {
7231 if (temp2)
7232 delete arg2;
7233 }
7234 return NULL;
7235 }
7236
7237
7238 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7239 PyObject *resultobj;
7240 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7241 wxString const &arg2_defvalue = wxPyEmptyString ;
7242 wxString *arg2 = (wxString *) &arg2_defvalue ;
7243 bool result;
7244 bool temp2 = False ;
7245 PyObject * obj0 = 0 ;
7246 PyObject * obj1 = 0 ;
7247 char *kwnames[] = {
7248 (char *) "self",(char *) "file", NULL
7249 };
7250
7251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
7252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7253 if (obj1) {
7254 {
7255 arg2 = wxString_in_helper(obj1);
7256 if (arg2 == NULL) SWIG_fail;
7257 temp2 = True;
7258 }
7259 }
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7263
7264 wxPyEndAllowThreads(__tstate);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 }
7267 resultobj = PyInt_FromLong((long)result);
7268 {
7269 if (temp2)
7270 delete arg2;
7271 }
7272 return resultobj;
7273 fail:
7274 {
7275 if (temp2)
7276 delete arg2;
7277 }
7278 return NULL;
7279 }
7280
7281
7282 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7283 PyObject *resultobj;
7284 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7285 PyObject * obj0 = 0 ;
7286 char *kwnames[] = {
7287 (char *) "self", NULL
7288 };
7289
7290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7292 {
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
7294 (arg1)->MarkDirty();
7295
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
7299 Py_INCREF(Py_None); resultobj = Py_None;
7300 return resultobj;
7301 fail:
7302 return NULL;
7303 }
7304
7305
7306 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7307 PyObject *resultobj;
7308 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7309 PyObject * obj0 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "self", NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7316 {
7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
7318 (arg1)->DiscardEdits();
7319
7320 wxPyEndAllowThreads(__tstate);
7321 if (PyErr_Occurred()) SWIG_fail;
7322 }
7323 Py_INCREF(Py_None); resultobj = Py_None;
7324 return resultobj;
7325 fail:
7326 return NULL;
7327 }
7328
7329
7330 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7331 PyObject *resultobj;
7332 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7333 unsigned long arg2 ;
7334 PyObject * obj0 = 0 ;
7335 PyObject * obj1 = 0 ;
7336 char *kwnames[] = {
7337 (char *) "self",(char *) "len", NULL
7338 };
7339
7340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7342 {
7343 arg2 = (unsigned long) SPyObj_AsUnsignedLong(obj1);
7344 if (PyErr_Occurred()) SWIG_fail;
7345 }
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 (arg1)->SetMaxLength(arg2);
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 Py_INCREF(Py_None); resultobj = Py_None;
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj;
7362 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7363 wxString *arg2 = 0 ;
7364 bool temp2 = False ;
7365 PyObject * obj0 = 0 ;
7366 PyObject * obj1 = 0 ;
7367 char *kwnames[] = {
7368 (char *) "self",(char *) "text", NULL
7369 };
7370
7371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7373 {
7374 arg2 = wxString_in_helper(obj1);
7375 if (arg2 == NULL) SWIG_fail;
7376 temp2 = True;
7377 }
7378 {
7379 PyThreadState* __tstate = wxPyBeginAllowThreads();
7380 (arg1)->WriteText((wxString const &)*arg2);
7381
7382 wxPyEndAllowThreads(__tstate);
7383 if (PyErr_Occurred()) SWIG_fail;
7384 }
7385 Py_INCREF(Py_None); resultobj = Py_None;
7386 {
7387 if (temp2)
7388 delete arg2;
7389 }
7390 return resultobj;
7391 fail:
7392 {
7393 if (temp2)
7394 delete arg2;
7395 }
7396 return NULL;
7397 }
7398
7399
7400 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7401 PyObject *resultobj;
7402 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7403 wxString *arg2 = 0 ;
7404 bool temp2 = False ;
7405 PyObject * obj0 = 0 ;
7406 PyObject * obj1 = 0 ;
7407 char *kwnames[] = {
7408 (char *) "self",(char *) "text", NULL
7409 };
7410
7411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7413 {
7414 arg2 = wxString_in_helper(obj1);
7415 if (arg2 == NULL) SWIG_fail;
7416 temp2 = True;
7417 }
7418 {
7419 PyThreadState* __tstate = wxPyBeginAllowThreads();
7420 (arg1)->AppendText((wxString const &)*arg2);
7421
7422 wxPyEndAllowThreads(__tstate);
7423 if (PyErr_Occurred()) SWIG_fail;
7424 }
7425 Py_INCREF(Py_None); resultobj = Py_None;
7426 {
7427 if (temp2)
7428 delete arg2;
7429 }
7430 return resultobj;
7431 fail:
7432 {
7433 if (temp2)
7434 delete arg2;
7435 }
7436 return NULL;
7437 }
7438
7439
7440 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7443 wxKeyEvent *arg2 = 0 ;
7444 bool result;
7445 PyObject * obj0 = 0 ;
7446 PyObject * obj1 = 0 ;
7447 char *kwnames[] = {
7448 (char *) "self",(char *) "event", NULL
7449 };
7450
7451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7454 if (arg2 == NULL) {
7455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7456 }
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7460
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 resultobj = PyInt_FromLong((long)result);
7465 return resultobj;
7466 fail:
7467 return NULL;
7468 }
7469
7470
7471 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7474 long arg2 ;
7475 long arg3 ;
7476 wxTextAttr *arg4 = 0 ;
7477 bool result;
7478 PyObject * obj0 = 0 ;
7479 PyObject * obj3 = 0 ;
7480 char *kwnames[] = {
7481 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7482 };
7483
7484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7486 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7487 if (arg4 == NULL) {
7488 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7489 }
7490 {
7491 PyThreadState* __tstate = wxPyBeginAllowThreads();
7492 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7493
7494 wxPyEndAllowThreads(__tstate);
7495 if (PyErr_Occurred()) SWIG_fail;
7496 }
7497 resultobj = PyInt_FromLong((long)result);
7498 return resultobj;
7499 fail:
7500 return NULL;
7501 }
7502
7503
7504 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj;
7506 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7507 long arg2 ;
7508 wxTextAttr *arg3 = 0 ;
7509 bool result;
7510 PyObject * obj0 = 0 ;
7511 PyObject * obj2 = 0 ;
7512 char *kwnames[] = {
7513 (char *) "self",(char *) "position",(char *) "style", NULL
7514 };
7515
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7518 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7519 if (arg3 == NULL) {
7520 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7521 }
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7525
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 resultobj = PyInt_FromLong((long)result);
7530 return resultobj;
7531 fail:
7532 return NULL;
7533 }
7534
7535
7536 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7537 PyObject *resultobj;
7538 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7539 wxTextAttr *arg2 = 0 ;
7540 bool result;
7541 PyObject * obj0 = 0 ;
7542 PyObject * obj1 = 0 ;
7543 char *kwnames[] = {
7544 (char *) "self",(char *) "style", NULL
7545 };
7546
7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7550 if (arg2 == NULL) {
7551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7552 }
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7556
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
7560 resultobj = PyInt_FromLong((long)result);
7561 return resultobj;
7562 fail:
7563 return NULL;
7564 }
7565
7566
7567 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj;
7569 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7570 wxTextAttr *result;
7571 PyObject * obj0 = 0 ;
7572 char *kwnames[] = {
7573 (char *) "self", NULL
7574 };
7575
7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 {
7581 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7582 result = (wxTextAttr *) &_result_ref;
7583 }
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7589 return resultobj;
7590 fail:
7591 return NULL;
7592 }
7593
7594
7595 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7596 PyObject *resultobj;
7597 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7598 long arg2 ;
7599 long arg3 ;
7600 long result;
7601 PyObject * obj0 = 0 ;
7602 char *kwnames[] = {
7603 (char *) "self",(char *) "x",(char *) "y", NULL
7604 };
7605
7606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7608 {
7609 PyThreadState* __tstate = wxPyBeginAllowThreads();
7610 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7611
7612 wxPyEndAllowThreads(__tstate);
7613 if (PyErr_Occurred()) SWIG_fail;
7614 }
7615 resultobj = PyInt_FromLong((long)result);
7616 return resultobj;
7617 fail:
7618 return NULL;
7619 }
7620
7621
7622 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7623 PyObject *resultobj;
7624 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7625 long arg2 ;
7626 long *arg3 = (long *) 0 ;
7627 long *arg4 = (long *) 0 ;
7628 long temp3 ;
7629 long temp4 ;
7630 PyObject * obj0 = 0 ;
7631 char *kwnames[] = {
7632 (char *) "self",(char *) "pos", NULL
7633 };
7634
7635 arg3 = &temp3;
7636 arg4 = &temp4;
7637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7639 {
7640 PyThreadState* __tstate = wxPyBeginAllowThreads();
7641 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7642
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 Py_INCREF(Py_None); resultobj = Py_None;
7647 {
7648 PyObject *o = PyInt_FromLong((long) (*arg3));
7649 resultobj = t_output_helper(resultobj,o);
7650 }
7651 {
7652 PyObject *o = PyInt_FromLong((long) (*arg4));
7653 resultobj = t_output_helper(resultobj,o);
7654 }
7655 return resultobj;
7656 fail:
7657 return NULL;
7658 }
7659
7660
7661 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7664 long arg2 ;
7665 PyObject * obj0 = 0 ;
7666 char *kwnames[] = {
7667 (char *) "self",(char *) "pos", NULL
7668 };
7669
7670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7672 {
7673 PyThreadState* __tstate = wxPyBeginAllowThreads();
7674 (arg1)->ShowPosition(arg2);
7675
7676 wxPyEndAllowThreads(__tstate);
7677 if (PyErr_Occurred()) SWIG_fail;
7678 }
7679 Py_INCREF(Py_None); resultobj = Py_None;
7680 return resultobj;
7681 fail:
7682 return NULL;
7683 }
7684
7685
7686 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7689 PyObject * obj0 = 0 ;
7690 char *kwnames[] = {
7691 (char *) "self", NULL
7692 };
7693
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7696 {
7697 PyThreadState* __tstate = wxPyBeginAllowThreads();
7698 (arg1)->Copy();
7699
7700 wxPyEndAllowThreads(__tstate);
7701 if (PyErr_Occurred()) SWIG_fail;
7702 }
7703 Py_INCREF(Py_None); resultobj = Py_None;
7704 return resultobj;
7705 fail:
7706 return NULL;
7707 }
7708
7709
7710 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7711 PyObject *resultobj;
7712 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7713 PyObject * obj0 = 0 ;
7714 char *kwnames[] = {
7715 (char *) "self", NULL
7716 };
7717
7718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 (arg1)->Cut();
7723
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 Py_INCREF(Py_None); resultobj = Py_None;
7728 return resultobj;
7729 fail:
7730 return NULL;
7731 }
7732
7733
7734 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj;
7736 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7737 PyObject * obj0 = 0 ;
7738 char *kwnames[] = {
7739 (char *) "self", NULL
7740 };
7741
7742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 (arg1)->Paste();
7747
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 Py_INCREF(Py_None); resultobj = Py_None;
7752 return resultobj;
7753 fail:
7754 return NULL;
7755 }
7756
7757
7758 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj;
7760 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7761 bool result;
7762 PyObject * obj0 = 0 ;
7763 char *kwnames[] = {
7764 (char *) "self", NULL
7765 };
7766
7767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7769 {
7770 PyThreadState* __tstate = wxPyBeginAllowThreads();
7771 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7772
7773 wxPyEndAllowThreads(__tstate);
7774 if (PyErr_Occurred()) SWIG_fail;
7775 }
7776 resultobj = PyInt_FromLong((long)result);
7777 return resultobj;
7778 fail:
7779 return NULL;
7780 }
7781
7782
7783 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7784 PyObject *resultobj;
7785 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7786 bool result;
7787 PyObject * obj0 = 0 ;
7788 char *kwnames[] = {
7789 (char *) "self", NULL
7790 };
7791
7792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7794 {
7795 PyThreadState* __tstate = wxPyBeginAllowThreads();
7796 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7797
7798 wxPyEndAllowThreads(__tstate);
7799 if (PyErr_Occurred()) SWIG_fail;
7800 }
7801 resultobj = PyInt_FromLong((long)result);
7802 return resultobj;
7803 fail:
7804 return NULL;
7805 }
7806
7807
7808 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj;
7810 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7811 bool result;
7812 PyObject * obj0 = 0 ;
7813 char *kwnames[] = {
7814 (char *) "self", NULL
7815 };
7816
7817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7819 {
7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7821 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 }
7826 resultobj = PyInt_FromLong((long)result);
7827 return resultobj;
7828 fail:
7829 return NULL;
7830 }
7831
7832
7833 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7834 PyObject *resultobj;
7835 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7836 PyObject * obj0 = 0 ;
7837 char *kwnames[] = {
7838 (char *) "self", NULL
7839 };
7840
7841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 (arg1)->Undo();
7846
7847 wxPyEndAllowThreads(__tstate);
7848 if (PyErr_Occurred()) SWIG_fail;
7849 }
7850 Py_INCREF(Py_None); resultobj = Py_None;
7851 return resultobj;
7852 fail:
7853 return NULL;
7854 }
7855
7856
7857 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7860 PyObject * obj0 = 0 ;
7861 char *kwnames[] = {
7862 (char *) "self", NULL
7863 };
7864
7865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7867 {
7868 PyThreadState* __tstate = wxPyBeginAllowThreads();
7869 (arg1)->Redo();
7870
7871 wxPyEndAllowThreads(__tstate);
7872 if (PyErr_Occurred()) SWIG_fail;
7873 }
7874 Py_INCREF(Py_None); resultobj = Py_None;
7875 return resultobj;
7876 fail:
7877 return NULL;
7878 }
7879
7880
7881 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7882 PyObject *resultobj;
7883 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7884 bool result;
7885 PyObject * obj0 = 0 ;
7886 char *kwnames[] = {
7887 (char *) "self", NULL
7888 };
7889
7890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7895
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 resultobj = PyInt_FromLong((long)result);
7900 return resultobj;
7901 fail:
7902 return NULL;
7903 }
7904
7905
7906 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7907 PyObject *resultobj;
7908 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7909 bool result;
7910 PyObject * obj0 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7920
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
7924 resultobj = PyInt_FromLong((long)result);
7925 return resultobj;
7926 fail:
7927 return NULL;
7928 }
7929
7930
7931 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7932 PyObject *resultobj;
7933 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7934 long arg2 ;
7935 PyObject * obj0 = 0 ;
7936 char *kwnames[] = {
7937 (char *) "self",(char *) "pos", NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7942 {
7943 PyThreadState* __tstate = wxPyBeginAllowThreads();
7944 (arg1)->SetInsertionPoint(arg2);
7945
7946 wxPyEndAllowThreads(__tstate);
7947 if (PyErr_Occurred()) SWIG_fail;
7948 }
7949 Py_INCREF(Py_None); resultobj = Py_None;
7950 return resultobj;
7951 fail:
7952 return NULL;
7953 }
7954
7955
7956 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7957 PyObject *resultobj;
7958 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7959 PyObject * obj0 = 0 ;
7960 char *kwnames[] = {
7961 (char *) "self", NULL
7962 };
7963
7964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7966 {
7967 PyThreadState* __tstate = wxPyBeginAllowThreads();
7968 (arg1)->SetInsertionPointEnd();
7969
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) SWIG_fail;
7972 }
7973 Py_INCREF(Py_None); resultobj = Py_None;
7974 return resultobj;
7975 fail:
7976 return NULL;
7977 }
7978
7979
7980 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7981 PyObject *resultobj;
7982 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7983 long result;
7984 PyObject * obj0 = 0 ;
7985 char *kwnames[] = {
7986 (char *) "self", NULL
7987 };
7988
7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7991 {
7992 PyThreadState* __tstate = wxPyBeginAllowThreads();
7993 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7994
7995 wxPyEndAllowThreads(__tstate);
7996 if (PyErr_Occurred()) SWIG_fail;
7997 }
7998 resultobj = PyInt_FromLong((long)result);
7999 return resultobj;
8000 fail:
8001 return NULL;
8002 }
8003
8004
8005 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8006 PyObject *resultobj;
8007 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8008 long result;
8009 PyObject * obj0 = 0 ;
8010 char *kwnames[] = {
8011 (char *) "self", NULL
8012 };
8013
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
8015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
8019
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 resultobj = PyInt_FromLong((long)result);
8024 return resultobj;
8025 fail:
8026 return NULL;
8027 }
8028
8029
8030 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8031 PyObject *resultobj;
8032 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8033 long arg2 ;
8034 long arg3 ;
8035 PyObject * obj0 = 0 ;
8036 char *kwnames[] = {
8037 (char *) "self",(char *) "from",(char *) "to", NULL
8038 };
8039
8040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
8041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8042 {
8043 PyThreadState* __tstate = wxPyBeginAllowThreads();
8044 (arg1)->SetSelection(arg2,arg3);
8045
8046 wxPyEndAllowThreads(__tstate);
8047 if (PyErr_Occurred()) SWIG_fail;
8048 }
8049 Py_INCREF(Py_None); resultobj = Py_None;
8050 return resultobj;
8051 fail:
8052 return NULL;
8053 }
8054
8055
8056 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8057 PyObject *resultobj;
8058 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8059 PyObject * obj0 = 0 ;
8060 char *kwnames[] = {
8061 (char *) "self", NULL
8062 };
8063
8064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
8065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 (arg1)->SelectAll();
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 Py_INCREF(Py_None); resultobj = Py_None;
8074 return resultobj;
8075 fail:
8076 return NULL;
8077 }
8078
8079
8080 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
8081 PyObject *resultobj;
8082 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8083 bool arg2 ;
8084 PyObject * obj0 = 0 ;
8085 PyObject * obj1 = 0 ;
8086 char *kwnames[] = {
8087 (char *) "self",(char *) "editable", NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
8091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8092 {
8093 arg2 = (bool) SPyObj_AsBool(obj1);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 (arg1)->SetEditable(arg2);
8099
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 Py_INCREF(Py_None); resultobj = Py_None;
8104 return resultobj;
8105 fail:
8106 return NULL;
8107 }
8108
8109
8110 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
8111 PyObject *resultobj;
8112 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8113 wxString *arg2 = 0 ;
8114 bool temp2 = False ;
8115 PyObject * obj0 = 0 ;
8116 PyObject * obj1 = 0 ;
8117 char *kwnames[] = {
8118 (char *) "self",(char *) "text", NULL
8119 };
8120
8121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
8122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8123 {
8124 arg2 = wxString_in_helper(obj1);
8125 if (arg2 == NULL) SWIG_fail;
8126 temp2 = True;
8127 }
8128 {
8129 PyThreadState* __tstate = wxPyBeginAllowThreads();
8130 wxTextCtrl_write(arg1,(wxString const &)*arg2);
8131
8132 wxPyEndAllowThreads(__tstate);
8133 if (PyErr_Occurred()) SWIG_fail;
8134 }
8135 Py_INCREF(Py_None); resultobj = Py_None;
8136 {
8137 if (temp2)
8138 delete arg2;
8139 }
8140 return resultobj;
8141 fail:
8142 {
8143 if (temp2)
8144 delete arg2;
8145 }
8146 return NULL;
8147 }
8148
8149
8150 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
8153 long arg2 ;
8154 long arg3 ;
8155 wxString result;
8156 PyObject * obj0 = 0 ;
8157 char *kwnames[] = {
8158 (char *) "self",(char *) "from",(char *) "to", NULL
8159 };
8160
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
8162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8163 {
8164 PyThreadState* __tstate = wxPyBeginAllowThreads();
8165 result = wxTextCtrl_GetString(arg1,arg2,arg3);
8166
8167 wxPyEndAllowThreads(__tstate);
8168 if (PyErr_Occurred()) SWIG_fail;
8169 }
8170 {
8171 #if wxUSE_UNICODE
8172 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8173 #else
8174 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8175 #endif
8176 }
8177 return resultobj;
8178 fail:
8179 return NULL;
8180 }
8181
8182
8183 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
8184 PyObject *obj;
8185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8186 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
8187 Py_INCREF(obj);
8188 return Py_BuildValue((char *)"");
8189 }
8190 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8191 PyObject *resultobj;
8192 int arg1 ;
8193 wxMouseEvent *arg2 = 0 ;
8194 long arg3 ;
8195 long arg4 ;
8196 wxTextUrlEvent *result;
8197 PyObject * obj1 = 0 ;
8198 char *kwnames[] = {
8199 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
8200 };
8201
8202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
8203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8204 if (arg2 == NULL) {
8205 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8206 }
8207 {
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8215 return resultobj;
8216 fail:
8217 return NULL;
8218 }
8219
8220
8221 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8222 PyObject *resultobj;
8223 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8224 wxMouseEvent *result;
8225 PyObject * obj0 = 0 ;
8226 char *kwnames[] = {
8227 (char *) "self", NULL
8228 };
8229
8230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 {
8235 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8236 result = (wxMouseEvent *) &_result_ref;
8237 }
8238
8239 wxPyEndAllowThreads(__tstate);
8240 if (PyErr_Occurred()) SWIG_fail;
8241 }
8242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8243 return resultobj;
8244 fail:
8245 return NULL;
8246 }
8247
8248
8249 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8250 PyObject *resultobj;
8251 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8252 long result;
8253 PyObject * obj0 = 0 ;
8254 char *kwnames[] = {
8255 (char *) "self", NULL
8256 };
8257
8258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8260 {
8261 PyThreadState* __tstate = wxPyBeginAllowThreads();
8262 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8263
8264 wxPyEndAllowThreads(__tstate);
8265 if (PyErr_Occurred()) SWIG_fail;
8266 }
8267 resultobj = PyInt_FromLong((long)result);
8268 return resultobj;
8269 fail:
8270 return NULL;
8271 }
8272
8273
8274 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8275 PyObject *resultobj;
8276 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8277 long result;
8278 PyObject * obj0 = 0 ;
8279 char *kwnames[] = {
8280 (char *) "self", NULL
8281 };
8282
8283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 resultobj = PyInt_FromLong((long)result);
8293 return resultobj;
8294 fail:
8295 return NULL;
8296 }
8297
8298
8299 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8300 PyObject *obj;
8301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8302 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8303 Py_INCREF(obj);
8304 return Py_BuildValue((char *)"");
8305 }
8306 static int _wrap_ScrollBarNameStr_set(PyObject *_val) {
8307 PyErr_SetString(PyExc_TypeError,"Variable ScrollBarNameStr is read-only.");
8308 return 1;
8309 }
8310
8311
8312 static PyObject *_wrap_ScrollBarNameStr_get() {
8313 PyObject *pyobj;
8314
8315 {
8316 #if wxUSE_UNICODE
8317 pyobj = PyUnicode_FromWideChar((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8318 #else
8319 pyobj = PyString_FromStringAndSize((&wxPyScrollBarNameStr)->c_str(), (&wxPyScrollBarNameStr)->Len());
8320 #endif
8321 }
8322 return pyobj;
8323 }
8324
8325
8326 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8327 PyObject *resultobj;
8328 wxWindow *arg1 = (wxWindow *) 0 ;
8329 int arg2 = (int) -1 ;
8330 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8331 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8332 wxSize const &arg4_defvalue = wxDefaultSize ;
8333 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8334 long arg5 = (long) wxSB_HORIZONTAL ;
8335 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8336 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8337 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8338 wxString *arg7 = (wxString *) &arg7_defvalue ;
8339 wxScrollBar *result;
8340 wxPoint temp3 ;
8341 wxSize temp4 ;
8342 bool temp7 = False ;
8343 PyObject * obj0 = 0 ;
8344 PyObject * obj2 = 0 ;
8345 PyObject * obj3 = 0 ;
8346 PyObject * obj5 = 0 ;
8347 PyObject * obj6 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8350 };
8351
8352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8354 if (obj2) {
8355 {
8356 arg3 = &temp3;
8357 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8358 }
8359 }
8360 if (obj3) {
8361 {
8362 arg4 = &temp4;
8363 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8364 }
8365 }
8366 if (obj5) {
8367 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8368 if (arg6 == NULL) {
8369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8370 }
8371 }
8372 if (obj6) {
8373 {
8374 arg7 = wxString_in_helper(obj6);
8375 if (arg7 == NULL) SWIG_fail;
8376 temp7 = True;
8377 }
8378 }
8379 {
8380 PyThreadState* __tstate = wxPyBeginAllowThreads();
8381 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8382
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8387 {
8388 if (temp7)
8389 delete arg7;
8390 }
8391 return resultobj;
8392 fail:
8393 {
8394 if (temp7)
8395 delete arg7;
8396 }
8397 return NULL;
8398 }
8399
8400
8401 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8402 PyObject *resultobj;
8403 wxScrollBar *result;
8404 char *kwnames[] = {
8405 NULL
8406 };
8407
8408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (wxScrollBar *)new wxScrollBar();
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8417 return resultobj;
8418 fail:
8419 return NULL;
8420 }
8421
8422
8423 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8426 wxWindow *arg2 = (wxWindow *) 0 ;
8427 int arg3 = (int) -1 ;
8428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8430 wxSize const &arg5_defvalue = wxDefaultSize ;
8431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8432 long arg6 = (long) wxSB_HORIZONTAL ;
8433 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8434 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8435 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8436 wxString *arg8 = (wxString *) &arg8_defvalue ;
8437 bool result;
8438 wxPoint temp4 ;
8439 wxSize temp5 ;
8440 bool temp8 = False ;
8441 PyObject * obj0 = 0 ;
8442 PyObject * obj1 = 0 ;
8443 PyObject * obj3 = 0 ;
8444 PyObject * obj4 = 0 ;
8445 PyObject * obj6 = 0 ;
8446 PyObject * obj7 = 0 ;
8447 char *kwnames[] = {
8448 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8449 };
8450
8451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8454 if (obj3) {
8455 {
8456 arg4 = &temp4;
8457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8458 }
8459 }
8460 if (obj4) {
8461 {
8462 arg5 = &temp5;
8463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8464 }
8465 }
8466 if (obj6) {
8467 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8468 if (arg7 == NULL) {
8469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8470 }
8471 }
8472 if (obj7) {
8473 {
8474 arg8 = wxString_in_helper(obj7);
8475 if (arg8 == NULL) SWIG_fail;
8476 temp8 = True;
8477 }
8478 }
8479 {
8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8481 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8482
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 resultobj = PyInt_FromLong((long)result);
8487 {
8488 if (temp8)
8489 delete arg8;
8490 }
8491 return resultobj;
8492 fail:
8493 {
8494 if (temp8)
8495 delete arg8;
8496 }
8497 return NULL;
8498 }
8499
8500
8501 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj;
8503 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8504 int result;
8505 PyObject * obj0 = 0 ;
8506 char *kwnames[] = {
8507 (char *) "self", NULL
8508 };
8509
8510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8512 {
8513 PyThreadState* __tstate = wxPyBeginAllowThreads();
8514 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8515
8516 wxPyEndAllowThreads(__tstate);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 }
8519 resultobj = PyInt_FromLong((long)result);
8520 return resultobj;
8521 fail:
8522 return NULL;
8523 }
8524
8525
8526 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8527 PyObject *resultobj;
8528 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8529 int result;
8530 PyObject * obj0 = 0 ;
8531 char *kwnames[] = {
8532 (char *) "self", NULL
8533 };
8534
8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8537 {
8538 PyThreadState* __tstate = wxPyBeginAllowThreads();
8539 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8540
8541 wxPyEndAllowThreads(__tstate);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 resultobj = PyInt_FromLong((long)result);
8545 return resultobj;
8546 fail:
8547 return NULL;
8548 }
8549
8550
8551 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8552 PyObject *resultobj;
8553 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8554 int result;
8555 PyObject * obj0 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "self", NULL
8558 };
8559
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8562 {
8563 PyThreadState* __tstate = wxPyBeginAllowThreads();
8564 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8565
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 resultobj = PyInt_FromLong((long)result);
8570 return resultobj;
8571 fail:
8572 return NULL;
8573 }
8574
8575
8576 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8577 PyObject *resultobj;
8578 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8579 int result;
8580 PyObject * obj0 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "self", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8587 {
8588 PyThreadState* __tstate = wxPyBeginAllowThreads();
8589 result = (int)((wxScrollBar const *)arg1)->GetRange();
8590
8591 wxPyEndAllowThreads(__tstate);
8592 if (PyErr_Occurred()) SWIG_fail;
8593 }
8594 resultobj = PyInt_FromLong((long)result);
8595 return resultobj;
8596 fail:
8597 return NULL;
8598 }
8599
8600
8601 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8602 PyObject *resultobj;
8603 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8604 bool result;
8605 PyObject * obj0 = 0 ;
8606 char *kwnames[] = {
8607 (char *) "self", NULL
8608 };
8609
8610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 resultobj = PyInt_FromLong((long)result);
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8627 PyObject *resultobj;
8628 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8629 int arg2 ;
8630 PyObject * obj0 = 0 ;
8631 char *kwnames[] = {
8632 (char *) "self",(char *) "viewStart", NULL
8633 };
8634
8635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8637 {
8638 PyThreadState* __tstate = wxPyBeginAllowThreads();
8639 (arg1)->SetThumbPosition(arg2);
8640
8641 wxPyEndAllowThreads(__tstate);
8642 if (PyErr_Occurred()) SWIG_fail;
8643 }
8644 Py_INCREF(Py_None); resultobj = Py_None;
8645 return resultobj;
8646 fail:
8647 return NULL;
8648 }
8649
8650
8651 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8652 PyObject *resultobj;
8653 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8654 int arg2 ;
8655 int arg3 ;
8656 int arg4 ;
8657 int arg5 ;
8658 bool arg6 = (bool) True ;
8659 PyObject * obj0 = 0 ;
8660 PyObject * obj5 = 0 ;
8661 char *kwnames[] = {
8662 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8663 };
8664
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8667 if (obj5) {
8668 {
8669 arg6 = (bool) SPyObj_AsBool(obj5);
8670 if (PyErr_Occurred()) SWIG_fail;
8671 }
8672 }
8673 {
8674 PyThreadState* __tstate = wxPyBeginAllowThreads();
8675 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8676
8677 wxPyEndAllowThreads(__tstate);
8678 if (PyErr_Occurred()) SWIG_fail;
8679 }
8680 Py_INCREF(Py_None); resultobj = Py_None;
8681 return resultobj;
8682 fail:
8683 return NULL;
8684 }
8685
8686
8687 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8688 PyObject *obj;
8689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8690 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8691 Py_INCREF(obj);
8692 return Py_BuildValue((char *)"");
8693 }
8694 static int _wrap_SPIN_BUTTON_NAME_set(PyObject *_val) {
8695 PyErr_SetString(PyExc_TypeError,"Variable SPIN_BUTTON_NAME is read-only.");
8696 return 1;
8697 }
8698
8699
8700 static PyObject *_wrap_SPIN_BUTTON_NAME_get() {
8701 PyObject *pyobj;
8702
8703 {
8704 #if wxUSE_UNICODE
8705 pyobj = PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8706 #else
8707 pyobj = PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME)->c_str(), (&wxPySPIN_BUTTON_NAME)->Len());
8708 #endif
8709 }
8710 return pyobj;
8711 }
8712
8713
8714 static int _wrap_SpinCtrlNameStr_set(PyObject *_val) {
8715 PyErr_SetString(PyExc_TypeError,"Variable SpinCtrlNameStr is read-only.");
8716 return 1;
8717 }
8718
8719
8720 static PyObject *_wrap_SpinCtrlNameStr_get() {
8721 PyObject *pyobj;
8722
8723 {
8724 #if wxUSE_UNICODE
8725 pyobj = PyUnicode_FromWideChar((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8726 #else
8727 pyobj = PyString_FromStringAndSize((&wxPySpinCtrlNameStr)->c_str(), (&wxPySpinCtrlNameStr)->Len());
8728 #endif
8729 }
8730 return pyobj;
8731 }
8732
8733
8734 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj;
8736 wxWindow *arg1 = (wxWindow *) 0 ;
8737 int arg2 = (int) -1 ;
8738 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8739 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8740 wxSize const &arg4_defvalue = wxDefaultSize ;
8741 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8742 long arg5 = (long) wxSP_HORIZONTAL ;
8743 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8744 wxString *arg6 = (wxString *) &arg6_defvalue ;
8745 wxSpinButton *result;
8746 wxPoint temp3 ;
8747 wxSize temp4 ;
8748 bool temp6 = False ;
8749 PyObject * obj0 = 0 ;
8750 PyObject * obj2 = 0 ;
8751 PyObject * obj3 = 0 ;
8752 PyObject * obj5 = 0 ;
8753 char *kwnames[] = {
8754 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8755 };
8756
8757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8759 if (obj2) {
8760 {
8761 arg3 = &temp3;
8762 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8763 }
8764 }
8765 if (obj3) {
8766 {
8767 arg4 = &temp4;
8768 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8769 }
8770 }
8771 if (obj5) {
8772 {
8773 arg6 = wxString_in_helper(obj5);
8774 if (arg6 == NULL) SWIG_fail;
8775 temp6 = True;
8776 }
8777 }
8778 {
8779 PyThreadState* __tstate = wxPyBeginAllowThreads();
8780 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8781
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8786 {
8787 if (temp6)
8788 delete arg6;
8789 }
8790 return resultobj;
8791 fail:
8792 {
8793 if (temp6)
8794 delete arg6;
8795 }
8796 return NULL;
8797 }
8798
8799
8800 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8801 PyObject *resultobj;
8802 wxSpinButton *result;
8803 char *kwnames[] = {
8804 NULL
8805 };
8806
8807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 result = (wxSpinButton *)new wxSpinButton();
8811
8812 wxPyEndAllowThreads(__tstate);
8813 if (PyErr_Occurred()) SWIG_fail;
8814 }
8815 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8816 return resultobj;
8817 fail:
8818 return NULL;
8819 }
8820
8821
8822 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8823 PyObject *resultobj;
8824 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8825 wxWindow *arg2 = (wxWindow *) 0 ;
8826 int arg3 = (int) -1 ;
8827 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8828 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8829 wxSize const &arg5_defvalue = wxDefaultSize ;
8830 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8831 long arg6 = (long) wxSP_HORIZONTAL ;
8832 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8833 wxString *arg7 = (wxString *) &arg7_defvalue ;
8834 bool result;
8835 wxPoint temp4 ;
8836 wxSize temp5 ;
8837 bool temp7 = False ;
8838 PyObject * obj0 = 0 ;
8839 PyObject * obj1 = 0 ;
8840 PyObject * obj3 = 0 ;
8841 PyObject * obj4 = 0 ;
8842 PyObject * obj6 = 0 ;
8843 char *kwnames[] = {
8844 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8845 };
8846
8847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8849 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8850 if (obj3) {
8851 {
8852 arg4 = &temp4;
8853 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8854 }
8855 }
8856 if (obj4) {
8857 {
8858 arg5 = &temp5;
8859 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8860 }
8861 }
8862 if (obj6) {
8863 {
8864 arg7 = wxString_in_helper(obj6);
8865 if (arg7 == NULL) SWIG_fail;
8866 temp7 = True;
8867 }
8868 }
8869 {
8870 PyThreadState* __tstate = wxPyBeginAllowThreads();
8871 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8872
8873 wxPyEndAllowThreads(__tstate);
8874 if (PyErr_Occurred()) SWIG_fail;
8875 }
8876 resultobj = PyInt_FromLong((long)result);
8877 {
8878 if (temp7)
8879 delete arg7;
8880 }
8881 return resultobj;
8882 fail:
8883 {
8884 if (temp7)
8885 delete arg7;
8886 }
8887 return NULL;
8888 }
8889
8890
8891 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8892 PyObject *resultobj;
8893 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8894 int result;
8895 PyObject * obj0 = 0 ;
8896 char *kwnames[] = {
8897 (char *) "self", NULL
8898 };
8899
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 result = (int)((wxSpinButton const *)arg1)->GetValue();
8905
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 resultobj = PyInt_FromLong((long)result);
8910 return resultobj;
8911 fail:
8912 return NULL;
8913 }
8914
8915
8916 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8919 int result;
8920 PyObject * obj0 = 0 ;
8921 char *kwnames[] = {
8922 (char *) "self", NULL
8923 };
8924
8925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 result = (int)((wxSpinButton const *)arg1)->GetMin();
8930
8931 wxPyEndAllowThreads(__tstate);
8932 if (PyErr_Occurred()) SWIG_fail;
8933 }
8934 resultobj = PyInt_FromLong((long)result);
8935 return resultobj;
8936 fail:
8937 return NULL;
8938 }
8939
8940
8941 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8942 PyObject *resultobj;
8943 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8944 int result;
8945 PyObject * obj0 = 0 ;
8946 char *kwnames[] = {
8947 (char *) "self", NULL
8948 };
8949
8950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 result = (int)((wxSpinButton const *)arg1)->GetMax();
8955
8956 wxPyEndAllowThreads(__tstate);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 }
8959 resultobj = PyInt_FromLong((long)result);
8960 return resultobj;
8961 fail:
8962 return NULL;
8963 }
8964
8965
8966 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8967 PyObject *resultobj;
8968 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8969 int arg2 ;
8970 PyObject * obj0 = 0 ;
8971 char *kwnames[] = {
8972 (char *) "self",(char *) "val", NULL
8973 };
8974
8975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
8979 (arg1)->SetValue(arg2);
8980
8981 wxPyEndAllowThreads(__tstate);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 }
8984 Py_INCREF(Py_None); resultobj = Py_None;
8985 return resultobj;
8986 fail:
8987 return NULL;
8988 }
8989
8990
8991 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8992 PyObject *resultobj;
8993 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8994 int arg2 ;
8995 PyObject * obj0 = 0 ;
8996 char *kwnames[] = {
8997 (char *) "self",(char *) "minVal", NULL
8998 };
8999
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
9001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9002 {
9003 PyThreadState* __tstate = wxPyBeginAllowThreads();
9004 (arg1)->SetMin(arg2);
9005
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 Py_INCREF(Py_None); resultobj = Py_None;
9010 return resultobj;
9011 fail:
9012 return NULL;
9013 }
9014
9015
9016 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9017 PyObject *resultobj;
9018 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9019 int arg2 ;
9020 PyObject * obj0 = 0 ;
9021 char *kwnames[] = {
9022 (char *) "self",(char *) "maxVal", NULL
9023 };
9024
9025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
9026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 (arg1)->SetMax(arg2);
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 Py_INCREF(Py_None); resultobj = Py_None;
9035 return resultobj;
9036 fail:
9037 return NULL;
9038 }
9039
9040
9041 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9042 PyObject *resultobj;
9043 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9044 int arg2 ;
9045 int arg3 ;
9046 PyObject * obj0 = 0 ;
9047 char *kwnames[] = {
9048 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9049 };
9050
9051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9053 {
9054 PyThreadState* __tstate = wxPyBeginAllowThreads();
9055 (arg1)->SetRange(arg2,arg3);
9056
9057 wxPyEndAllowThreads(__tstate);
9058 if (PyErr_Occurred()) SWIG_fail;
9059 }
9060 Py_INCREF(Py_None); resultobj = Py_None;
9061 return resultobj;
9062 fail:
9063 return NULL;
9064 }
9065
9066
9067 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
9068 PyObject *resultobj;
9069 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
9070 bool result;
9071 PyObject * obj0 = 0 ;
9072 char *kwnames[] = {
9073 (char *) "self", NULL
9074 };
9075
9076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
9077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9078 {
9079 PyThreadState* __tstate = wxPyBeginAllowThreads();
9080 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
9081
9082 wxPyEndAllowThreads(__tstate);
9083 if (PyErr_Occurred()) SWIG_fail;
9084 }
9085 resultobj = PyInt_FromLong((long)result);
9086 return resultobj;
9087 fail:
9088 return NULL;
9089 }
9090
9091
9092 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
9093 PyObject *obj;
9094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9095 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
9096 Py_INCREF(obj);
9097 return Py_BuildValue((char *)"");
9098 }
9099 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9100 PyObject *resultobj;
9101 wxWindow *arg1 = (wxWindow *) 0 ;
9102 int arg2 = (int) -1 ;
9103 wxString const &arg3_defvalue = wxPyEmptyString ;
9104 wxString *arg3 = (wxString *) &arg3_defvalue ;
9105 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9106 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9107 wxSize const &arg5_defvalue = wxDefaultSize ;
9108 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9109 long arg6 = (long) wxSP_ARROW_KEYS ;
9110 int arg7 = (int) 0 ;
9111 int arg8 = (int) 100 ;
9112 int arg9 = (int) 0 ;
9113 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
9114 wxString *arg10 = (wxString *) &arg10_defvalue ;
9115 wxSpinCtrl *result;
9116 bool temp3 = False ;
9117 wxPoint temp4 ;
9118 wxSize temp5 ;
9119 bool temp10 = False ;
9120 PyObject * obj0 = 0 ;
9121 PyObject * obj2 = 0 ;
9122 PyObject * obj3 = 0 ;
9123 PyObject * obj4 = 0 ;
9124 PyObject * obj9 = 0 ;
9125 char *kwnames[] = {
9126 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9127 };
9128
9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
9130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9131 if (obj2) {
9132 {
9133 arg3 = wxString_in_helper(obj2);
9134 if (arg3 == NULL) SWIG_fail;
9135 temp3 = True;
9136 }
9137 }
9138 if (obj3) {
9139 {
9140 arg4 = &temp4;
9141 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9142 }
9143 }
9144 if (obj4) {
9145 {
9146 arg5 = &temp5;
9147 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9148 }
9149 }
9150 if (obj9) {
9151 {
9152 arg10 = wxString_in_helper(obj9);
9153 if (arg10 == NULL) SWIG_fail;
9154 temp10 = True;
9155 }
9156 }
9157 {
9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
9159 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
9160
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
9164 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9165 {
9166 if (temp3)
9167 delete arg3;
9168 }
9169 {
9170 if (temp10)
9171 delete arg10;
9172 }
9173 return resultobj;
9174 fail:
9175 {
9176 if (temp3)
9177 delete arg3;
9178 }
9179 {
9180 if (temp10)
9181 delete arg10;
9182 }
9183 return NULL;
9184 }
9185
9186
9187 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
9188 PyObject *resultobj;
9189 wxSpinCtrl *result;
9190 char *kwnames[] = {
9191 NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 result = (wxSpinCtrl *)new wxSpinCtrl();
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
9203 return resultobj;
9204 fail:
9205 return NULL;
9206 }
9207
9208
9209 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9210 PyObject *resultobj;
9211 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9212 wxWindow *arg2 = (wxWindow *) 0 ;
9213 int arg3 = (int) -1 ;
9214 wxString const &arg4_defvalue = wxPyEmptyString ;
9215 wxString *arg4 = (wxString *) &arg4_defvalue ;
9216 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9217 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9218 wxSize const &arg6_defvalue = wxDefaultSize ;
9219 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9220 long arg7 = (long) wxSP_ARROW_KEYS ;
9221 int arg8 = (int) 0 ;
9222 int arg9 = (int) 100 ;
9223 int arg10 = (int) 0 ;
9224 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
9225 wxString *arg11 = (wxString *) &arg11_defvalue ;
9226 bool result;
9227 bool temp4 = False ;
9228 wxPoint temp5 ;
9229 wxSize temp6 ;
9230 bool temp11 = False ;
9231 PyObject * obj0 = 0 ;
9232 PyObject * obj1 = 0 ;
9233 PyObject * obj3 = 0 ;
9234 PyObject * obj4 = 0 ;
9235 PyObject * obj5 = 0 ;
9236 PyObject * obj10 = 0 ;
9237 char *kwnames[] = {
9238 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
9239 };
9240
9241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
9242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9244 if (obj3) {
9245 {
9246 arg4 = wxString_in_helper(obj3);
9247 if (arg4 == NULL) SWIG_fail;
9248 temp4 = True;
9249 }
9250 }
9251 if (obj4) {
9252 {
9253 arg5 = &temp5;
9254 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9255 }
9256 }
9257 if (obj5) {
9258 {
9259 arg6 = &temp6;
9260 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9261 }
9262 }
9263 if (obj10) {
9264 {
9265 arg11 = wxString_in_helper(obj10);
9266 if (arg11 == NULL) SWIG_fail;
9267 temp11 = True;
9268 }
9269 }
9270 {
9271 PyThreadState* __tstate = wxPyBeginAllowThreads();
9272 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9273
9274 wxPyEndAllowThreads(__tstate);
9275 if (PyErr_Occurred()) SWIG_fail;
9276 }
9277 resultobj = PyInt_FromLong((long)result);
9278 {
9279 if (temp4)
9280 delete arg4;
9281 }
9282 {
9283 if (temp11)
9284 delete arg11;
9285 }
9286 return resultobj;
9287 fail:
9288 {
9289 if (temp4)
9290 delete arg4;
9291 }
9292 {
9293 if (temp11)
9294 delete arg11;
9295 }
9296 return NULL;
9297 }
9298
9299
9300 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9301 PyObject *resultobj;
9302 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9303 int result;
9304 PyObject * obj0 = 0 ;
9305 char *kwnames[] = {
9306 (char *) "self", NULL
9307 };
9308
9309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9311 {
9312 PyThreadState* __tstate = wxPyBeginAllowThreads();
9313 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9314
9315 wxPyEndAllowThreads(__tstate);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 }
9318 resultobj = PyInt_FromLong((long)result);
9319 return resultobj;
9320 fail:
9321 return NULL;
9322 }
9323
9324
9325 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9326 PyObject *resultobj;
9327 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9328 int arg2 ;
9329 PyObject * obj0 = 0 ;
9330 char *kwnames[] = {
9331 (char *) "self",(char *) "value", NULL
9332 };
9333
9334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9336 {
9337 PyThreadState* __tstate = wxPyBeginAllowThreads();
9338 (arg1)->SetValue(arg2);
9339
9340 wxPyEndAllowThreads(__tstate);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 }
9343 Py_INCREF(Py_None); resultobj = Py_None;
9344 return resultobj;
9345 fail:
9346 return NULL;
9347 }
9348
9349
9350 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9351 PyObject *resultobj;
9352 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9353 wxString *arg2 = 0 ;
9354 bool temp2 = False ;
9355 PyObject * obj0 = 0 ;
9356 PyObject * obj1 = 0 ;
9357 char *kwnames[] = {
9358 (char *) "self",(char *) "text", NULL
9359 };
9360
9361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9363 {
9364 arg2 = wxString_in_helper(obj1);
9365 if (arg2 == NULL) SWIG_fail;
9366 temp2 = True;
9367 }
9368 {
9369 PyThreadState* __tstate = wxPyBeginAllowThreads();
9370 (arg1)->SetValue((wxString const &)*arg2);
9371
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 Py_INCREF(Py_None); resultobj = Py_None;
9376 {
9377 if (temp2)
9378 delete arg2;
9379 }
9380 return resultobj;
9381 fail:
9382 {
9383 if (temp2)
9384 delete arg2;
9385 }
9386 return NULL;
9387 }
9388
9389
9390 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9391 PyObject *resultobj;
9392 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9393 int arg2 ;
9394 int arg3 ;
9395 PyObject * obj0 = 0 ;
9396 char *kwnames[] = {
9397 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9398 };
9399
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
9404 (arg1)->SetRange(arg2,arg3);
9405
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
9409 Py_INCREF(Py_None); resultobj = Py_None;
9410 return resultobj;
9411 fail:
9412 return NULL;
9413 }
9414
9415
9416 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9417 PyObject *resultobj;
9418 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9419 int result;
9420 PyObject * obj0 = 0 ;
9421 char *kwnames[] = {
9422 (char *) "self", NULL
9423 };
9424
9425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9427 {
9428 PyThreadState* __tstate = wxPyBeginAllowThreads();
9429 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9430
9431 wxPyEndAllowThreads(__tstate);
9432 if (PyErr_Occurred()) SWIG_fail;
9433 }
9434 resultobj = PyInt_FromLong((long)result);
9435 return resultobj;
9436 fail:
9437 return NULL;
9438 }
9439
9440
9441 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9442 PyObject *resultobj;
9443 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9444 int result;
9445 PyObject * obj0 = 0 ;
9446 char *kwnames[] = {
9447 (char *) "self", NULL
9448 };
9449
9450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9452 {
9453 PyThreadState* __tstate = wxPyBeginAllowThreads();
9454 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9455
9456 wxPyEndAllowThreads(__tstate);
9457 if (PyErr_Occurred()) SWIG_fail;
9458 }
9459 resultobj = PyInt_FromLong((long)result);
9460 return resultobj;
9461 fail:
9462 return NULL;
9463 }
9464
9465
9466 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9467 PyObject *resultobj;
9468 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9469 long arg2 ;
9470 long arg3 ;
9471 PyObject * obj0 = 0 ;
9472 char *kwnames[] = {
9473 (char *) "self",(char *) "from",(char *) "to", NULL
9474 };
9475
9476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 (arg1)->SetSelection(arg2,arg3);
9481
9482 wxPyEndAllowThreads(__tstate);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 }
9485 Py_INCREF(Py_None); resultobj = Py_None;
9486 return resultobj;
9487 fail:
9488 return NULL;
9489 }
9490
9491
9492 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9493 PyObject *obj;
9494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9495 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9496 Py_INCREF(obj);
9497 return Py_BuildValue((char *)"");
9498 }
9499 static PyObject *_wrap_new_SpinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9500 PyObject *resultobj;
9501 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
9502 int arg2 = (int) 0 ;
9503 wxSpinEvent *result;
9504 char *kwnames[] = {
9505 (char *) "commandType",(char *) "winid", NULL
9506 };
9507
9508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SpinEvent",kwnames,&arg1,&arg2)) goto fail;
9509 {
9510 PyThreadState* __tstate = wxPyBeginAllowThreads();
9511 result = (wxSpinEvent *)new wxSpinEvent(arg1,arg2);
9512
9513 wxPyEndAllowThreads(__tstate);
9514 if (PyErr_Occurred()) SWIG_fail;
9515 }
9516 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinEvent, 1);
9517 return resultobj;
9518 fail:
9519 return NULL;
9520 }
9521
9522
9523 static PyObject *_wrap_SpinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9524 PyObject *resultobj;
9525 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9526 int result;
9527 PyObject * obj0 = 0 ;
9528 char *kwnames[] = {
9529 (char *) "self", NULL
9530 };
9531
9532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinEvent_GetPosition",kwnames,&obj0)) goto fail;
9533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9534 {
9535 PyThreadState* __tstate = wxPyBeginAllowThreads();
9536 result = (int)((wxSpinEvent const *)arg1)->GetPosition();
9537
9538 wxPyEndAllowThreads(__tstate);
9539 if (PyErr_Occurred()) SWIG_fail;
9540 }
9541 resultobj = PyInt_FromLong((long)result);
9542 return resultobj;
9543 fail:
9544 return NULL;
9545 }
9546
9547
9548 static PyObject *_wrap_SpinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
9549 PyObject *resultobj;
9550 wxSpinEvent *arg1 = (wxSpinEvent *) 0 ;
9551 int arg2 ;
9552 PyObject * obj0 = 0 ;
9553 char *kwnames[] = {
9554 (char *) "self",(char *) "pos", NULL
9555 };
9556
9557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinEvent_SetPosition",kwnames,&obj0,&arg2)) goto fail;
9558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9559 {
9560 PyThreadState* __tstate = wxPyBeginAllowThreads();
9561 (arg1)->SetPosition(arg2);
9562
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 Py_INCREF(Py_None); resultobj = Py_None;
9567 return resultobj;
9568 fail:
9569 return NULL;
9570 }
9571
9572
9573 static PyObject * SpinEvent_swigregister(PyObject *self, PyObject *args) {
9574 PyObject *obj;
9575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9576 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent, obj);
9577 Py_INCREF(obj);
9578 return Py_BuildValue((char *)"");
9579 }
9580 static int _wrap_RadioBoxNameStr_set(PyObject *_val) {
9581 PyErr_SetString(PyExc_TypeError,"Variable RadioBoxNameStr is read-only.");
9582 return 1;
9583 }
9584
9585
9586 static PyObject *_wrap_RadioBoxNameStr_get() {
9587 PyObject *pyobj;
9588
9589 {
9590 #if wxUSE_UNICODE
9591 pyobj = PyUnicode_FromWideChar((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9592 #else
9593 pyobj = PyString_FromStringAndSize((&wxPyRadioBoxNameStr)->c_str(), (&wxPyRadioBoxNameStr)->Len());
9594 #endif
9595 }
9596 return pyobj;
9597 }
9598
9599
9600 static int _wrap_RadioButtonNameStr_set(PyObject *_val) {
9601 PyErr_SetString(PyExc_TypeError,"Variable RadioButtonNameStr is read-only.");
9602 return 1;
9603 }
9604
9605
9606 static PyObject *_wrap_RadioButtonNameStr_get() {
9607 PyObject *pyobj;
9608
9609 {
9610 #if wxUSE_UNICODE
9611 pyobj = PyUnicode_FromWideChar((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9612 #else
9613 pyobj = PyString_FromStringAndSize((&wxPyRadioButtonNameStr)->c_str(), (&wxPyRadioButtonNameStr)->Len());
9614 #endif
9615 }
9616 return pyobj;
9617 }
9618
9619
9620 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9621 PyObject *resultobj;
9622 wxWindow *arg1 = (wxWindow *) 0 ;
9623 int arg2 ;
9624 wxString *arg3 = 0 ;
9625 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9626 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9627 wxSize const &arg5_defvalue = wxDefaultSize ;
9628 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9629 int arg6 = (int) 0 ;
9630 wxString *arg7 = (wxString *) NULL ;
9631 int arg8 = (int) 0 ;
9632 long arg9 = (long) wxRA_HORIZONTAL ;
9633 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9634 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9635 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9636 wxString *arg11 = (wxString *) &arg11_defvalue ;
9637 wxRadioBox *result;
9638 bool temp3 = False ;
9639 wxPoint temp4 ;
9640 wxSize temp5 ;
9641 bool temp10 = False ;
9642 PyObject * obj0 = 0 ;
9643 PyObject * obj2 = 0 ;
9644 PyObject * obj3 = 0 ;
9645 PyObject * obj4 = 0 ;
9646 PyObject * obj5 = 0 ;
9647 PyObject * obj8 = 0 ;
9648 PyObject * obj9 = 0 ;
9649 char *kwnames[] = {
9650 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9651 };
9652
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9655 {
9656 arg3 = wxString_in_helper(obj2);
9657 if (arg3 == NULL) SWIG_fail;
9658 temp3 = True;
9659 }
9660 if (obj3) {
9661 {
9662 arg4 = &temp4;
9663 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9664 }
9665 }
9666 if (obj4) {
9667 {
9668 arg5 = &temp5;
9669 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9670 }
9671 }
9672 if (obj5) {
9673 {
9674 arg6 = PyList_Size(obj5);
9675 arg7 = wxString_LIST_helper(obj5);
9676 if (arg7 == NULL) SWIG_fail;
9677 }
9678 }
9679 if (obj8) {
9680 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9681 if (arg10 == NULL) {
9682 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9683 }
9684 }
9685 if (obj9) {
9686 {
9687 arg11 = wxString_in_helper(obj9);
9688 if (arg11 == NULL) SWIG_fail;
9689 temp10 = True;
9690 }
9691 }
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 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);
9695
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9700 {
9701 if (temp3)
9702 delete arg3;
9703 }
9704 {
9705 if (arg7) delete [] arg7;
9706 }
9707 {
9708 if (temp10)
9709 delete arg11;
9710 }
9711 return resultobj;
9712 fail:
9713 {
9714 if (temp3)
9715 delete arg3;
9716 }
9717 {
9718 if (arg7) delete [] arg7;
9719 }
9720 {
9721 if (temp10)
9722 delete arg11;
9723 }
9724 return NULL;
9725 }
9726
9727
9728 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9729 PyObject *resultobj;
9730 wxRadioBox *result;
9731 char *kwnames[] = {
9732 NULL
9733 };
9734
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9736 {
9737 PyThreadState* __tstate = wxPyBeginAllowThreads();
9738 result = (wxRadioBox *)new wxRadioBox();
9739
9740 wxPyEndAllowThreads(__tstate);
9741 if (PyErr_Occurred()) SWIG_fail;
9742 }
9743 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9744 return resultobj;
9745 fail:
9746 return NULL;
9747 }
9748
9749
9750 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9751 PyObject *resultobj;
9752 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9753 wxWindow *arg2 = (wxWindow *) 0 ;
9754 int arg3 ;
9755 wxString *arg4 = 0 ;
9756 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9757 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9758 wxSize const &arg6_defvalue = wxDefaultSize ;
9759 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9760 int arg7 = (int) 0 ;
9761 wxString *arg8 = (wxString *) NULL ;
9762 int arg9 = (int) 0 ;
9763 long arg10 = (long) wxRA_HORIZONTAL ;
9764 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9765 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9766 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9767 wxString *arg12 = (wxString *) &arg12_defvalue ;
9768 bool result;
9769 bool temp4 = False ;
9770 wxPoint temp5 ;
9771 wxSize temp6 ;
9772 bool temp11 = False ;
9773 PyObject * obj0 = 0 ;
9774 PyObject * obj1 = 0 ;
9775 PyObject * obj3 = 0 ;
9776 PyObject * obj4 = 0 ;
9777 PyObject * obj5 = 0 ;
9778 PyObject * obj6 = 0 ;
9779 PyObject * obj9 = 0 ;
9780 PyObject * obj10 = 0 ;
9781 char *kwnames[] = {
9782 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9783 };
9784
9785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9787 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9788 {
9789 arg4 = wxString_in_helper(obj3);
9790 if (arg4 == NULL) SWIG_fail;
9791 temp4 = True;
9792 }
9793 if (obj4) {
9794 {
9795 arg5 = &temp5;
9796 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9797 }
9798 }
9799 if (obj5) {
9800 {
9801 arg6 = &temp6;
9802 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9803 }
9804 }
9805 if (obj6) {
9806 {
9807 arg7 = PyList_Size(obj6);
9808 arg8 = wxString_LIST_helper(obj6);
9809 if (arg8 == NULL) SWIG_fail;
9810 }
9811 }
9812 if (obj9) {
9813 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9814 if (arg11 == NULL) {
9815 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9816 }
9817 }
9818 if (obj10) {
9819 {
9820 arg12 = wxString_in_helper(obj10);
9821 if (arg12 == NULL) SWIG_fail;
9822 temp11 = True;
9823 }
9824 }
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 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);
9828
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = PyInt_FromLong((long)result);
9833 {
9834 if (temp4)
9835 delete arg4;
9836 }
9837 {
9838 if (arg8) delete [] arg8;
9839 }
9840 {
9841 if (temp11)
9842 delete arg12;
9843 }
9844 return resultobj;
9845 fail:
9846 {
9847 if (temp4)
9848 delete arg4;
9849 }
9850 {
9851 if (arg8) delete [] arg8;
9852 }
9853 {
9854 if (temp11)
9855 delete arg12;
9856 }
9857 return NULL;
9858 }
9859
9860
9861 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj;
9863 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9864 int arg2 ;
9865 PyObject * obj0 = 0 ;
9866 char *kwnames[] = {
9867 (char *) "self",(char *) "n", NULL
9868 };
9869
9870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9872 {
9873 PyThreadState* __tstate = wxPyBeginAllowThreads();
9874 (arg1)->SetSelection(arg2);
9875
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 Py_INCREF(Py_None); resultobj = Py_None;
9880 return resultobj;
9881 fail:
9882 return NULL;
9883 }
9884
9885
9886 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9887 PyObject *resultobj;
9888 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9889 int result;
9890 PyObject * obj0 = 0 ;
9891 char *kwnames[] = {
9892 (char *) "self", NULL
9893 };
9894
9895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9900
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
9904 resultobj = PyInt_FromLong((long)result);
9905 return resultobj;
9906 fail:
9907 return NULL;
9908 }
9909
9910
9911 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9912 PyObject *resultobj;
9913 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9914 wxString result;
9915 PyObject * obj0 = 0 ;
9916 char *kwnames[] = {
9917 (char *) "self", NULL
9918 };
9919
9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9922 {
9923 PyThreadState* __tstate = wxPyBeginAllowThreads();
9924 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9925
9926 wxPyEndAllowThreads(__tstate);
9927 if (PyErr_Occurred()) SWIG_fail;
9928 }
9929 {
9930 #if wxUSE_UNICODE
9931 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9932 #else
9933 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9934 #endif
9935 }
9936 return resultobj;
9937 fail:
9938 return NULL;
9939 }
9940
9941
9942 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9943 PyObject *resultobj;
9944 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9945 wxString *arg2 = 0 ;
9946 bool result;
9947 bool temp2 = False ;
9948 PyObject * obj0 = 0 ;
9949 PyObject * obj1 = 0 ;
9950 char *kwnames[] = {
9951 (char *) "self",(char *) "s", NULL
9952 };
9953
9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9956 {
9957 arg2 = wxString_in_helper(obj1);
9958 if (arg2 == NULL) SWIG_fail;
9959 temp2 = True;
9960 }
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9964
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 resultobj = PyInt_FromLong((long)result);
9969 {
9970 if (temp2)
9971 delete arg2;
9972 }
9973 return resultobj;
9974 fail:
9975 {
9976 if (temp2)
9977 delete arg2;
9978 }
9979 return NULL;
9980 }
9981
9982
9983 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj;
9985 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9986 int result;
9987 PyObject * obj0 = 0 ;
9988 char *kwnames[] = {
9989 (char *) "self", NULL
9990 };
9991
9992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 result = (int)((wxRadioBox const *)arg1)->GetCount();
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 resultobj = PyInt_FromLong((long)result);
10002 return resultobj;
10003 fail:
10004 return NULL;
10005 }
10006
10007
10008 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
10009 PyObject *resultobj;
10010 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10011 wxString *arg2 = 0 ;
10012 int result;
10013 bool temp2 = False ;
10014 PyObject * obj0 = 0 ;
10015 PyObject * obj1 = 0 ;
10016 char *kwnames[] = {
10017 (char *) "self",(char *) "s", NULL
10018 };
10019
10020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
10021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10022 {
10023 arg2 = wxString_in_helper(obj1);
10024 if (arg2 == NULL) SWIG_fail;
10025 temp2 = True;
10026 }
10027 {
10028 PyThreadState* __tstate = wxPyBeginAllowThreads();
10029 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
10030
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 resultobj = PyInt_FromLong((long)result);
10035 {
10036 if (temp2)
10037 delete arg2;
10038 }
10039 return resultobj;
10040 fail:
10041 {
10042 if (temp2)
10043 delete arg2;
10044 }
10045 return NULL;
10046 }
10047
10048
10049 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10050 PyObject *resultobj;
10051 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10052 int arg2 ;
10053 wxString result;
10054 PyObject * obj0 = 0 ;
10055 char *kwnames[] = {
10056 (char *) "self",(char *) "n", NULL
10057 };
10058
10059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
10060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 result = ((wxRadioBox const *)arg1)->GetString(arg2);
10064
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 {
10069 #if wxUSE_UNICODE
10070 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10071 #else
10072 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10073 #endif
10074 }
10075 return resultobj;
10076 fail:
10077 return NULL;
10078 }
10079
10080
10081 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
10082 PyObject *resultobj;
10083 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10084 int arg2 ;
10085 wxString *arg3 = 0 ;
10086 bool temp3 = False ;
10087 PyObject * obj0 = 0 ;
10088 PyObject * obj2 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self",(char *) "n",(char *) "label", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
10094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10095 {
10096 arg3 = wxString_in_helper(obj2);
10097 if (arg3 == NULL) SWIG_fail;
10098 temp3 = True;
10099 }
10100 {
10101 PyThreadState* __tstate = wxPyBeginAllowThreads();
10102 (arg1)->SetString(arg2,(wxString const &)*arg3);
10103
10104 wxPyEndAllowThreads(__tstate);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 Py_INCREF(Py_None); resultobj = Py_None;
10108 {
10109 if (temp3)
10110 delete arg3;
10111 }
10112 return resultobj;
10113 fail:
10114 {
10115 if (temp3)
10116 delete arg3;
10117 }
10118 return NULL;
10119 }
10120
10121
10122 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10125 int arg2 ;
10126 bool arg3 = (bool) True ;
10127 PyObject * obj0 = 0 ;
10128 PyObject * obj2 = 0 ;
10129 char *kwnames[] = {
10130 (char *) "self",(char *) "n",(char *) "enable", NULL
10131 };
10132
10133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10135 if (obj2) {
10136 {
10137 arg3 = (bool) SPyObj_AsBool(obj2);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 }
10141 {
10142 PyThreadState* __tstate = wxPyBeginAllowThreads();
10143 (arg1)->Enable(arg2,arg3);
10144
10145 wxPyEndAllowThreads(__tstate);
10146 if (PyErr_Occurred()) SWIG_fail;
10147 }
10148 Py_INCREF(Py_None); resultobj = Py_None;
10149 return resultobj;
10150 fail:
10151 return NULL;
10152 }
10153
10154
10155 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10156 PyObject *resultobj;
10157 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10158 int arg2 ;
10159 bool arg3 = (bool) True ;
10160 PyObject * obj0 = 0 ;
10161 PyObject * obj2 = 0 ;
10162 char *kwnames[] = {
10163 (char *) "self",(char *) "n",(char *) "show", NULL
10164 };
10165
10166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
10167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10168 if (obj2) {
10169 {
10170 arg3 = (bool) SPyObj_AsBool(obj2);
10171 if (PyErr_Occurred()) SWIG_fail;
10172 }
10173 }
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 (arg1)->Show(arg2,arg3);
10177
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 Py_INCREF(Py_None); resultobj = Py_None;
10182 return resultobj;
10183 fail:
10184 return NULL;
10185 }
10186
10187
10188 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10189 PyObject *resultobj;
10190 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10191 int result;
10192 PyObject * obj0 = 0 ;
10193 char *kwnames[] = {
10194 (char *) "self", NULL
10195 };
10196
10197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
10198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10199 {
10200 PyThreadState* __tstate = wxPyBeginAllowThreads();
10201 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
10202
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 resultobj = PyInt_FromLong((long)result);
10207 return resultobj;
10208 fail:
10209 return NULL;
10210 }
10211
10212
10213 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10214 PyObject *resultobj;
10215 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10216 int result;
10217 PyObject * obj0 = 0 ;
10218 char *kwnames[] = {
10219 (char *) "self", NULL
10220 };
10221
10222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
10223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 resultobj = PyInt_FromLong((long)result);
10232 return resultobj;
10233 fail:
10234 return NULL;
10235 }
10236
10237
10238 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
10241 int arg2 ;
10242 int arg3 ;
10243 long arg4 ;
10244 int result;
10245 PyObject * obj0 = 0 ;
10246 char *kwnames[] = {
10247 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
10248 };
10249
10250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
10251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
10255
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 resultobj = PyInt_FromLong((long)result);
10260 return resultobj;
10261 fail:
10262 return NULL;
10263 }
10264
10265
10266 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
10267 PyObject *obj;
10268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10269 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
10270 Py_INCREF(obj);
10271 return Py_BuildValue((char *)"");
10272 }
10273 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10274 PyObject *resultobj;
10275 wxWindow *arg1 = (wxWindow *) 0 ;
10276 int arg2 ;
10277 wxString *arg3 = 0 ;
10278 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10279 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10280 wxSize const &arg5_defvalue = wxDefaultSize ;
10281 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10282 long arg6 = (long) 0 ;
10283 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10284 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10285 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
10286 wxString *arg8 = (wxString *) &arg8_defvalue ;
10287 wxRadioButton *result;
10288 bool temp3 = False ;
10289 wxPoint temp4 ;
10290 wxSize temp5 ;
10291 bool temp8 = False ;
10292 PyObject * obj0 = 0 ;
10293 PyObject * obj2 = 0 ;
10294 PyObject * obj3 = 0 ;
10295 PyObject * obj4 = 0 ;
10296 PyObject * obj6 = 0 ;
10297 PyObject * obj7 = 0 ;
10298 char *kwnames[] = {
10299 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10300 };
10301
10302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10304 {
10305 arg3 = wxString_in_helper(obj2);
10306 if (arg3 == NULL) SWIG_fail;
10307 temp3 = True;
10308 }
10309 if (obj3) {
10310 {
10311 arg4 = &temp4;
10312 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10313 }
10314 }
10315 if (obj4) {
10316 {
10317 arg5 = &temp5;
10318 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10319 }
10320 }
10321 if (obj6) {
10322 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10323 if (arg7 == NULL) {
10324 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10325 }
10326 }
10327 if (obj7) {
10328 {
10329 arg8 = wxString_in_helper(obj7);
10330 if (arg8 == NULL) SWIG_fail;
10331 temp8 = True;
10332 }
10333 }
10334 {
10335 PyThreadState* __tstate = wxPyBeginAllowThreads();
10336 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10337
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10342 {
10343 if (temp3)
10344 delete arg3;
10345 }
10346 {
10347 if (temp8)
10348 delete arg8;
10349 }
10350 return resultobj;
10351 fail:
10352 {
10353 if (temp3)
10354 delete arg3;
10355 }
10356 {
10357 if (temp8)
10358 delete arg8;
10359 }
10360 return NULL;
10361 }
10362
10363
10364 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10365 PyObject *resultobj;
10366 wxRadioButton *result;
10367 char *kwnames[] = {
10368 NULL
10369 };
10370
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
10372 {
10373 PyThreadState* __tstate = wxPyBeginAllowThreads();
10374 result = (wxRadioButton *)new wxRadioButton();
10375
10376 wxPyEndAllowThreads(__tstate);
10377 if (PyErr_Occurred()) SWIG_fail;
10378 }
10379 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
10380 return resultobj;
10381 fail:
10382 return NULL;
10383 }
10384
10385
10386 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10387 PyObject *resultobj;
10388 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10389 wxWindow *arg2 = (wxWindow *) 0 ;
10390 int arg3 ;
10391 wxString *arg4 = 0 ;
10392 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10393 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10394 wxSize const &arg6_defvalue = wxDefaultSize ;
10395 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10396 long arg7 = (long) 0 ;
10397 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10398 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10399 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10400 wxString *arg9 = (wxString *) &arg9_defvalue ;
10401 bool result;
10402 bool temp4 = False ;
10403 wxPoint temp5 ;
10404 wxSize temp6 ;
10405 bool temp9 = False ;
10406 PyObject * obj0 = 0 ;
10407 PyObject * obj1 = 0 ;
10408 PyObject * obj3 = 0 ;
10409 PyObject * obj4 = 0 ;
10410 PyObject * obj5 = 0 ;
10411 PyObject * obj7 = 0 ;
10412 PyObject * obj8 = 0 ;
10413 char *kwnames[] = {
10414 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10415 };
10416
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10420 {
10421 arg4 = wxString_in_helper(obj3);
10422 if (arg4 == NULL) SWIG_fail;
10423 temp4 = True;
10424 }
10425 if (obj4) {
10426 {
10427 arg5 = &temp5;
10428 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10429 }
10430 }
10431 if (obj5) {
10432 {
10433 arg6 = &temp6;
10434 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10435 }
10436 }
10437 if (obj7) {
10438 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10439 if (arg8 == NULL) {
10440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10441 }
10442 }
10443 if (obj8) {
10444 {
10445 arg9 = wxString_in_helper(obj8);
10446 if (arg9 == NULL) SWIG_fail;
10447 temp9 = True;
10448 }
10449 }
10450 {
10451 PyThreadState* __tstate = wxPyBeginAllowThreads();
10452 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10453
10454 wxPyEndAllowThreads(__tstate);
10455 if (PyErr_Occurred()) SWIG_fail;
10456 }
10457 resultobj = PyInt_FromLong((long)result);
10458 {
10459 if (temp4)
10460 delete arg4;
10461 }
10462 {
10463 if (temp9)
10464 delete arg9;
10465 }
10466 return resultobj;
10467 fail:
10468 {
10469 if (temp4)
10470 delete arg4;
10471 }
10472 {
10473 if (temp9)
10474 delete arg9;
10475 }
10476 return NULL;
10477 }
10478
10479
10480 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10481 PyObject *resultobj;
10482 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10483 bool result;
10484 PyObject * obj0 = 0 ;
10485 char *kwnames[] = {
10486 (char *) "self", NULL
10487 };
10488
10489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10491 {
10492 PyThreadState* __tstate = wxPyBeginAllowThreads();
10493 result = (bool)(arg1)->GetValue();
10494
10495 wxPyEndAllowThreads(__tstate);
10496 if (PyErr_Occurred()) SWIG_fail;
10497 }
10498 resultobj = PyInt_FromLong((long)result);
10499 return resultobj;
10500 fail:
10501 return NULL;
10502 }
10503
10504
10505 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10506 PyObject *resultobj;
10507 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10508 bool arg2 ;
10509 PyObject * obj0 = 0 ;
10510 PyObject * obj1 = 0 ;
10511 char *kwnames[] = {
10512 (char *) "self",(char *) "value", NULL
10513 };
10514
10515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10517 {
10518 arg2 = (bool) SPyObj_AsBool(obj1);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 }
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 (arg1)->SetValue(arg2);
10524
10525 wxPyEndAllowThreads(__tstate);
10526 if (PyErr_Occurred()) SWIG_fail;
10527 }
10528 Py_INCREF(Py_None); resultobj = Py_None;
10529 return resultobj;
10530 fail:
10531 return NULL;
10532 }
10533
10534
10535 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10536 PyObject *obj;
10537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10538 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10539 Py_INCREF(obj);
10540 return Py_BuildValue((char *)"");
10541 }
10542 static int _wrap_SliderNameStr_set(PyObject *_val) {
10543 PyErr_SetString(PyExc_TypeError,"Variable SliderNameStr is read-only.");
10544 return 1;
10545 }
10546
10547
10548 static PyObject *_wrap_SliderNameStr_get() {
10549 PyObject *pyobj;
10550
10551 {
10552 #if wxUSE_UNICODE
10553 pyobj = PyUnicode_FromWideChar((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10554 #else
10555 pyobj = PyString_FromStringAndSize((&wxPySliderNameStr)->c_str(), (&wxPySliderNameStr)->Len());
10556 #endif
10557 }
10558 return pyobj;
10559 }
10560
10561
10562 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxWindow *arg1 = (wxWindow *) 0 ;
10565 int arg2 ;
10566 int arg3 ;
10567 int arg4 ;
10568 int arg5 ;
10569 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10570 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10571 wxSize const &arg7_defvalue = wxDefaultSize ;
10572 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10573 long arg8 = (long) wxSL_HORIZONTAL ;
10574 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10575 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10576 wxString const &arg10_defvalue = wxPySliderNameStr ;
10577 wxString *arg10 = (wxString *) &arg10_defvalue ;
10578 wxSlider *result;
10579 wxPoint temp6 ;
10580 wxSize temp7 ;
10581 bool temp10 = False ;
10582 PyObject * obj0 = 0 ;
10583 PyObject * obj5 = 0 ;
10584 PyObject * obj6 = 0 ;
10585 PyObject * obj8 = 0 ;
10586 PyObject * obj9 = 0 ;
10587 char *kwnames[] = {
10588 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10589 };
10590
10591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10593 if (obj5) {
10594 {
10595 arg6 = &temp6;
10596 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10597 }
10598 }
10599 if (obj6) {
10600 {
10601 arg7 = &temp7;
10602 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10603 }
10604 }
10605 if (obj8) {
10606 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10607 if (arg9 == NULL) {
10608 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10609 }
10610 }
10611 if (obj9) {
10612 {
10613 arg10 = wxString_in_helper(obj9);
10614 if (arg10 == NULL) SWIG_fail;
10615 temp10 = True;
10616 }
10617 }
10618 {
10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
10620 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10621
10622 wxPyEndAllowThreads(__tstate);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10626 {
10627 if (temp10)
10628 delete arg10;
10629 }
10630 return resultobj;
10631 fail:
10632 {
10633 if (temp10)
10634 delete arg10;
10635 }
10636 return NULL;
10637 }
10638
10639
10640 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10641 PyObject *resultobj;
10642 wxSlider *result;
10643 char *kwnames[] = {
10644 NULL
10645 };
10646
10647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 result = (wxSlider *)new wxSlider();
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10656 return resultobj;
10657 fail:
10658 return NULL;
10659 }
10660
10661
10662 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxSlider *arg1 = (wxSlider *) 0 ;
10665 wxWindow *arg2 = (wxWindow *) 0 ;
10666 int arg3 ;
10667 int arg4 ;
10668 int arg5 ;
10669 int arg6 ;
10670 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10671 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10672 wxSize const &arg8_defvalue = wxDefaultSize ;
10673 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10674 long arg9 = (long) wxSL_HORIZONTAL ;
10675 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10676 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10677 wxString const &arg11_defvalue = wxPySliderNameStr ;
10678 wxString *arg11 = (wxString *) &arg11_defvalue ;
10679 bool result;
10680 wxPoint temp7 ;
10681 wxSize temp8 ;
10682 bool temp11 = False ;
10683 PyObject * obj0 = 0 ;
10684 PyObject * obj1 = 0 ;
10685 PyObject * obj6 = 0 ;
10686 PyObject * obj7 = 0 ;
10687 PyObject * obj9 = 0 ;
10688 PyObject * obj10 = 0 ;
10689 char *kwnames[] = {
10690 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10691 };
10692
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10695 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10696 if (obj6) {
10697 {
10698 arg7 = &temp7;
10699 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10700 }
10701 }
10702 if (obj7) {
10703 {
10704 arg8 = &temp8;
10705 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10706 }
10707 }
10708 if (obj9) {
10709 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10710 if (arg10 == NULL) {
10711 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10712 }
10713 }
10714 if (obj10) {
10715 {
10716 arg11 = wxString_in_helper(obj10);
10717 if (arg11 == NULL) SWIG_fail;
10718 temp11 = True;
10719 }
10720 }
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10724
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 resultobj = PyInt_FromLong((long)result);
10729 {
10730 if (temp11)
10731 delete arg11;
10732 }
10733 return resultobj;
10734 fail:
10735 {
10736 if (temp11)
10737 delete arg11;
10738 }
10739 return NULL;
10740 }
10741
10742
10743 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10744 PyObject *resultobj;
10745 wxSlider *arg1 = (wxSlider *) 0 ;
10746 int result;
10747 PyObject * obj0 = 0 ;
10748 char *kwnames[] = {
10749 (char *) "self", NULL
10750 };
10751
10752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 result = (int)((wxSlider const *)arg1)->GetValue();
10757
10758 wxPyEndAllowThreads(__tstate);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 }
10761 resultobj = PyInt_FromLong((long)result);
10762 return resultobj;
10763 fail:
10764 return NULL;
10765 }
10766
10767
10768 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10769 PyObject *resultobj;
10770 wxSlider *arg1 = (wxSlider *) 0 ;
10771 int arg2 ;
10772 PyObject * obj0 = 0 ;
10773 char *kwnames[] = {
10774 (char *) "self",(char *) "value", NULL
10775 };
10776
10777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10779 {
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 (arg1)->SetValue(arg2);
10782
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 }
10786 Py_INCREF(Py_None); resultobj = Py_None;
10787 return resultobj;
10788 fail:
10789 return NULL;
10790 }
10791
10792
10793 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10794 PyObject *resultobj;
10795 wxSlider *arg1 = (wxSlider *) 0 ;
10796 int arg2 ;
10797 int arg3 ;
10798 PyObject * obj0 = 0 ;
10799 char *kwnames[] = {
10800 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10801 };
10802
10803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10805 {
10806 PyThreadState* __tstate = wxPyBeginAllowThreads();
10807 (arg1)->SetRange(arg2,arg3);
10808
10809 wxPyEndAllowThreads(__tstate);
10810 if (PyErr_Occurred()) SWIG_fail;
10811 }
10812 Py_INCREF(Py_None); resultobj = Py_None;
10813 return resultobj;
10814 fail:
10815 return NULL;
10816 }
10817
10818
10819 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10820 PyObject *resultobj;
10821 wxSlider *arg1 = (wxSlider *) 0 ;
10822 int result;
10823 PyObject * obj0 = 0 ;
10824 char *kwnames[] = {
10825 (char *) "self", NULL
10826 };
10827
10828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10830 {
10831 PyThreadState* __tstate = wxPyBeginAllowThreads();
10832 result = (int)((wxSlider const *)arg1)->GetMin();
10833
10834 wxPyEndAllowThreads(__tstate);
10835 if (PyErr_Occurred()) SWIG_fail;
10836 }
10837 resultobj = PyInt_FromLong((long)result);
10838 return resultobj;
10839 fail:
10840 return NULL;
10841 }
10842
10843
10844 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10845 PyObject *resultobj;
10846 wxSlider *arg1 = (wxSlider *) 0 ;
10847 int result;
10848 PyObject * obj0 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "self", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10855 {
10856 PyThreadState* __tstate = wxPyBeginAllowThreads();
10857 result = (int)((wxSlider const *)arg1)->GetMax();
10858
10859 wxPyEndAllowThreads(__tstate);
10860 if (PyErr_Occurred()) SWIG_fail;
10861 }
10862 resultobj = PyInt_FromLong((long)result);
10863 return resultobj;
10864 fail:
10865 return NULL;
10866 }
10867
10868
10869 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10870 PyObject *resultobj;
10871 wxSlider *arg1 = (wxSlider *) 0 ;
10872 int arg2 ;
10873 PyObject * obj0 = 0 ;
10874 char *kwnames[] = {
10875 (char *) "self",(char *) "minValue", NULL
10876 };
10877
10878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10880 {
10881 PyThreadState* __tstate = wxPyBeginAllowThreads();
10882 (arg1)->SetMin(arg2);
10883
10884 wxPyEndAllowThreads(__tstate);
10885 if (PyErr_Occurred()) SWIG_fail;
10886 }
10887 Py_INCREF(Py_None); resultobj = Py_None;
10888 return resultobj;
10889 fail:
10890 return NULL;
10891 }
10892
10893
10894 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10895 PyObject *resultobj;
10896 wxSlider *arg1 = (wxSlider *) 0 ;
10897 int arg2 ;
10898 PyObject * obj0 = 0 ;
10899 char *kwnames[] = {
10900 (char *) "self",(char *) "maxValue", NULL
10901 };
10902
10903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10905 {
10906 PyThreadState* __tstate = wxPyBeginAllowThreads();
10907 (arg1)->SetMax(arg2);
10908
10909 wxPyEndAllowThreads(__tstate);
10910 if (PyErr_Occurred()) SWIG_fail;
10911 }
10912 Py_INCREF(Py_None); resultobj = Py_None;
10913 return resultobj;
10914 fail:
10915 return NULL;
10916 }
10917
10918
10919 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10920 PyObject *resultobj;
10921 wxSlider *arg1 = (wxSlider *) 0 ;
10922 int arg2 ;
10923 PyObject * obj0 = 0 ;
10924 char *kwnames[] = {
10925 (char *) "self",(char *) "lineSize", NULL
10926 };
10927
10928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10930 {
10931 PyThreadState* __tstate = wxPyBeginAllowThreads();
10932 (arg1)->SetLineSize(arg2);
10933
10934 wxPyEndAllowThreads(__tstate);
10935 if (PyErr_Occurred()) SWIG_fail;
10936 }
10937 Py_INCREF(Py_None); resultobj = Py_None;
10938 return resultobj;
10939 fail:
10940 return NULL;
10941 }
10942
10943
10944 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10945 PyObject *resultobj;
10946 wxSlider *arg1 = (wxSlider *) 0 ;
10947 int arg2 ;
10948 PyObject * obj0 = 0 ;
10949 char *kwnames[] = {
10950 (char *) "self",(char *) "pageSize", NULL
10951 };
10952
10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10955 {
10956 PyThreadState* __tstate = wxPyBeginAllowThreads();
10957 (arg1)->SetPageSize(arg2);
10958
10959 wxPyEndAllowThreads(__tstate);
10960 if (PyErr_Occurred()) SWIG_fail;
10961 }
10962 Py_INCREF(Py_None); resultobj = Py_None;
10963 return resultobj;
10964 fail:
10965 return NULL;
10966 }
10967
10968
10969 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10970 PyObject *resultobj;
10971 wxSlider *arg1 = (wxSlider *) 0 ;
10972 int result;
10973 PyObject * obj0 = 0 ;
10974 char *kwnames[] = {
10975 (char *) "self", NULL
10976 };
10977
10978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10980 {
10981 PyThreadState* __tstate = wxPyBeginAllowThreads();
10982 result = (int)((wxSlider const *)arg1)->GetLineSize();
10983
10984 wxPyEndAllowThreads(__tstate);
10985 if (PyErr_Occurred()) SWIG_fail;
10986 }
10987 resultobj = PyInt_FromLong((long)result);
10988 return resultobj;
10989 fail:
10990 return NULL;
10991 }
10992
10993
10994 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj;
10996 wxSlider *arg1 = (wxSlider *) 0 ;
10997 int result;
10998 PyObject * obj0 = 0 ;
10999 char *kwnames[] = {
11000 (char *) "self", NULL
11001 };
11002
11003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
11004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11005 {
11006 PyThreadState* __tstate = wxPyBeginAllowThreads();
11007 result = (int)((wxSlider const *)arg1)->GetPageSize();
11008
11009 wxPyEndAllowThreads(__tstate);
11010 if (PyErr_Occurred()) SWIG_fail;
11011 }
11012 resultobj = PyInt_FromLong((long)result);
11013 return resultobj;
11014 fail:
11015 return NULL;
11016 }
11017
11018
11019 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11020 PyObject *resultobj;
11021 wxSlider *arg1 = (wxSlider *) 0 ;
11022 int arg2 ;
11023 PyObject * obj0 = 0 ;
11024 char *kwnames[] = {
11025 (char *) "self",(char *) "lenPixels", NULL
11026 };
11027
11028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
11029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11030 {
11031 PyThreadState* __tstate = wxPyBeginAllowThreads();
11032 (arg1)->SetThumbLength(arg2);
11033
11034 wxPyEndAllowThreads(__tstate);
11035 if (PyErr_Occurred()) SWIG_fail;
11036 }
11037 Py_INCREF(Py_None); resultobj = Py_None;
11038 return resultobj;
11039 fail:
11040 return NULL;
11041 }
11042
11043
11044 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
11045 PyObject *resultobj;
11046 wxSlider *arg1 = (wxSlider *) 0 ;
11047 int result;
11048 PyObject * obj0 = 0 ;
11049 char *kwnames[] = {
11050 (char *) "self", NULL
11051 };
11052
11053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
11054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11055 {
11056 PyThreadState* __tstate = wxPyBeginAllowThreads();
11057 result = (int)((wxSlider const *)arg1)->GetThumbLength();
11058
11059 wxPyEndAllowThreads(__tstate);
11060 if (PyErr_Occurred()) SWIG_fail;
11061 }
11062 resultobj = PyInt_FromLong((long)result);
11063 return resultobj;
11064 fail:
11065 return NULL;
11066 }
11067
11068
11069 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11070 PyObject *resultobj;
11071 wxSlider *arg1 = (wxSlider *) 0 ;
11072 int arg2 ;
11073 int arg3 ;
11074 PyObject * obj0 = 0 ;
11075 char *kwnames[] = {
11076 (char *) "self",(char *) "n",(char *) "pos", NULL
11077 };
11078
11079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
11080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11081 {
11082 PyThreadState* __tstate = wxPyBeginAllowThreads();
11083 (arg1)->SetTickFreq(arg2,arg3);
11084
11085 wxPyEndAllowThreads(__tstate);
11086 if (PyErr_Occurred()) SWIG_fail;
11087 }
11088 Py_INCREF(Py_None); resultobj = Py_None;
11089 return resultobj;
11090 fail:
11091 return NULL;
11092 }
11093
11094
11095 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
11096 PyObject *resultobj;
11097 wxSlider *arg1 = (wxSlider *) 0 ;
11098 int result;
11099 PyObject * obj0 = 0 ;
11100 char *kwnames[] = {
11101 (char *) "self", NULL
11102 };
11103
11104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
11105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11106 {
11107 PyThreadState* __tstate = wxPyBeginAllowThreads();
11108 result = (int)((wxSlider const *)arg1)->GetTickFreq();
11109
11110 wxPyEndAllowThreads(__tstate);
11111 if (PyErr_Occurred()) SWIG_fail;
11112 }
11113 resultobj = PyInt_FromLong((long)result);
11114 return resultobj;
11115 fail:
11116 return NULL;
11117 }
11118
11119
11120 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
11121 PyObject *resultobj;
11122 wxSlider *arg1 = (wxSlider *) 0 ;
11123 PyObject * obj0 = 0 ;
11124 char *kwnames[] = {
11125 (char *) "self", NULL
11126 };
11127
11128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
11129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11130 {
11131 PyThreadState* __tstate = wxPyBeginAllowThreads();
11132 (arg1)->ClearTicks();
11133
11134 wxPyEndAllowThreads(__tstate);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 }
11137 Py_INCREF(Py_None); resultobj = Py_None;
11138 return resultobj;
11139 fail:
11140 return NULL;
11141 }
11142
11143
11144 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
11145 PyObject *resultobj;
11146 wxSlider *arg1 = (wxSlider *) 0 ;
11147 int arg2 ;
11148 PyObject * obj0 = 0 ;
11149 char *kwnames[] = {
11150 (char *) "self",(char *) "tickPos", NULL
11151 };
11152
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
11154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11155 {
11156 PyThreadState* __tstate = wxPyBeginAllowThreads();
11157 (arg1)->SetTick(arg2);
11158
11159 wxPyEndAllowThreads(__tstate);
11160 if (PyErr_Occurred()) SWIG_fail;
11161 }
11162 Py_INCREF(Py_None); resultobj = Py_None;
11163 return resultobj;
11164 fail:
11165 return NULL;
11166 }
11167
11168
11169 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
11170 PyObject *resultobj;
11171 wxSlider *arg1 = (wxSlider *) 0 ;
11172 PyObject * obj0 = 0 ;
11173 char *kwnames[] = {
11174 (char *) "self", NULL
11175 };
11176
11177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
11178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11179 {
11180 PyThreadState* __tstate = wxPyBeginAllowThreads();
11181 (arg1)->ClearSel();
11182
11183 wxPyEndAllowThreads(__tstate);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 Py_INCREF(Py_None); resultobj = Py_None;
11187 return resultobj;
11188 fail:
11189 return NULL;
11190 }
11191
11192
11193 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
11194 PyObject *resultobj;
11195 wxSlider *arg1 = (wxSlider *) 0 ;
11196 int result;
11197 PyObject * obj0 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "self", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 result = (int)((wxSlider const *)arg1)->GetSelEnd();
11207
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 resultobj = PyInt_FromLong((long)result);
11212 return resultobj;
11213 fail:
11214 return NULL;
11215 }
11216
11217
11218 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
11219 PyObject *resultobj;
11220 wxSlider *arg1 = (wxSlider *) 0 ;
11221 int result;
11222 PyObject * obj0 = 0 ;
11223 char *kwnames[] = {
11224 (char *) "self", NULL
11225 };
11226
11227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
11228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11229 {
11230 PyThreadState* __tstate = wxPyBeginAllowThreads();
11231 result = (int)((wxSlider const *)arg1)->GetSelStart();
11232
11233 wxPyEndAllowThreads(__tstate);
11234 if (PyErr_Occurred()) SWIG_fail;
11235 }
11236 resultobj = PyInt_FromLong((long)result);
11237 return resultobj;
11238 fail:
11239 return NULL;
11240 }
11241
11242
11243 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11244 PyObject *resultobj;
11245 wxSlider *arg1 = (wxSlider *) 0 ;
11246 int arg2 ;
11247 int arg3 ;
11248 PyObject * obj0 = 0 ;
11249 char *kwnames[] = {
11250 (char *) "self",(char *) "min",(char *) "max", NULL
11251 };
11252
11253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
11254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11255 {
11256 PyThreadState* __tstate = wxPyBeginAllowThreads();
11257 (arg1)->SetSelection(arg2,arg3);
11258
11259 wxPyEndAllowThreads(__tstate);
11260 if (PyErr_Occurred()) SWIG_fail;
11261 }
11262 Py_INCREF(Py_None); resultobj = Py_None;
11263 return resultobj;
11264 fail:
11265 return NULL;
11266 }
11267
11268
11269 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
11270 PyObject *obj;
11271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11272 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
11273 Py_INCREF(obj);
11274 return Py_BuildValue((char *)"");
11275 }
11276 static int _wrap_ToggleButtonNameStr_set(PyObject *_val) {
11277 PyErr_SetString(PyExc_TypeError,"Variable ToggleButtonNameStr is read-only.");
11278 return 1;
11279 }
11280
11281
11282 static PyObject *_wrap_ToggleButtonNameStr_get() {
11283 PyObject *pyobj;
11284
11285 {
11286 #if wxUSE_UNICODE
11287 pyobj = PyUnicode_FromWideChar((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11288 #else
11289 pyobj = PyString_FromStringAndSize((&wxPyToggleButtonNameStr)->c_str(), (&wxPyToggleButtonNameStr)->Len());
11290 #endif
11291 }
11292 return pyobj;
11293 }
11294
11295
11296 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11297 PyObject *resultobj;
11298 wxWindow *arg1 = (wxWindow *) 0 ;
11299 int arg2 ;
11300 wxString *arg3 = 0 ;
11301 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11302 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11303 wxSize const &arg5_defvalue = wxDefaultSize ;
11304 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11305 long arg6 = (long) 0 ;
11306 wxValidator const &arg7_defvalue = wxDefaultValidator ;
11307 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
11308 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
11309 wxString *arg8 = (wxString *) &arg8_defvalue ;
11310 wxToggleButton *result;
11311 bool temp3 = False ;
11312 wxPoint temp4 ;
11313 wxSize temp5 ;
11314 bool temp8 = False ;
11315 PyObject * obj0 = 0 ;
11316 PyObject * obj2 = 0 ;
11317 PyObject * obj3 = 0 ;
11318 PyObject * obj4 = 0 ;
11319 PyObject * obj6 = 0 ;
11320 PyObject * obj7 = 0 ;
11321 char *kwnames[] = {
11322 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11323 };
11324
11325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
11326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11327 {
11328 arg3 = wxString_in_helper(obj2);
11329 if (arg3 == NULL) SWIG_fail;
11330 temp3 = True;
11331 }
11332 if (obj3) {
11333 {
11334 arg4 = &temp4;
11335 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11336 }
11337 }
11338 if (obj4) {
11339 {
11340 arg5 = &temp5;
11341 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11342 }
11343 }
11344 if (obj6) {
11345 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11346 if (arg7 == NULL) {
11347 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11348 }
11349 }
11350 if (obj7) {
11351 {
11352 arg8 = wxString_in_helper(obj7);
11353 if (arg8 == NULL) SWIG_fail;
11354 temp8 = True;
11355 }
11356 }
11357 {
11358 PyThreadState* __tstate = wxPyBeginAllowThreads();
11359 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
11360
11361 wxPyEndAllowThreads(__tstate);
11362 if (PyErr_Occurred()) SWIG_fail;
11363 }
11364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11365 {
11366 if (temp3)
11367 delete arg3;
11368 }
11369 {
11370 if (temp8)
11371 delete arg8;
11372 }
11373 return resultobj;
11374 fail:
11375 {
11376 if (temp3)
11377 delete arg3;
11378 }
11379 {
11380 if (temp8)
11381 delete arg8;
11382 }
11383 return NULL;
11384 }
11385
11386
11387 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
11388 PyObject *resultobj;
11389 wxToggleButton *result;
11390 char *kwnames[] = {
11391 NULL
11392 };
11393
11394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
11395 {
11396 PyThreadState* __tstate = wxPyBeginAllowThreads();
11397 result = (wxToggleButton *)new wxToggleButton();
11398
11399 wxPyEndAllowThreads(__tstate);
11400 if (PyErr_Occurred()) SWIG_fail;
11401 }
11402 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
11403 return resultobj;
11404 fail:
11405 return NULL;
11406 }
11407
11408
11409 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11410 PyObject *obj;
11411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11412 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11413 Py_INCREF(obj);
11414 return Py_BuildValue((char *)"");
11415 }
11416 static int _wrap_NOTEBOOK_NAME_set(PyObject *_val) {
11417 PyErr_SetString(PyExc_TypeError,"Variable NOTEBOOK_NAME is read-only.");
11418 return 1;
11419 }
11420
11421
11422 static PyObject *_wrap_NOTEBOOK_NAME_get() {
11423 PyObject *pyobj;
11424
11425 {
11426 #if wxUSE_UNICODE
11427 pyobj = PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11428 #else
11429 pyobj = PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME)->c_str(), (&wxPyNOTEBOOK_NAME)->Len());
11430 #endif
11431 }
11432 return pyobj;
11433 }
11434
11435
11436 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj;
11438 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11439 size_t result;
11440 PyObject * obj0 = 0 ;
11441 char *kwnames[] = {
11442 (char *) "self", NULL
11443 };
11444
11445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11447 {
11448 PyThreadState* __tstate = wxPyBeginAllowThreads();
11449 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11450
11451 wxPyEndAllowThreads(__tstate);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 }
11454 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
11455 return resultobj;
11456 fail:
11457 return NULL;
11458 }
11459
11460
11461 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11462 PyObject *resultobj;
11463 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11464 size_t arg2 ;
11465 wxWindow *result;
11466 PyObject * obj0 = 0 ;
11467 PyObject * obj1 = 0 ;
11468 char *kwnames[] = {
11469 (char *) "self",(char *) "n", NULL
11470 };
11471
11472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11474 {
11475 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 {
11479 PyThreadState* __tstate = wxPyBeginAllowThreads();
11480 result = (wxWindow *)(arg1)->GetPage(arg2);
11481
11482 wxPyEndAllowThreads(__tstate);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 }
11485 {
11486 resultobj = wxPyMake_wxObject(result);
11487 }
11488 return resultobj;
11489 fail:
11490 return NULL;
11491 }
11492
11493
11494 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11495 PyObject *resultobj;
11496 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11497 int result;
11498 PyObject * obj0 = 0 ;
11499 char *kwnames[] = {
11500 (char *) "self", NULL
11501 };
11502
11503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11505 {
11506 PyThreadState* __tstate = wxPyBeginAllowThreads();
11507 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11508
11509 wxPyEndAllowThreads(__tstate);
11510 if (PyErr_Occurred()) SWIG_fail;
11511 }
11512 resultobj = PyInt_FromLong((long)result);
11513 return resultobj;
11514 fail:
11515 return NULL;
11516 }
11517
11518
11519 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11520 PyObject *resultobj;
11521 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11522 size_t arg2 ;
11523 wxString *arg3 = 0 ;
11524 bool result;
11525 bool temp3 = False ;
11526 PyObject * obj0 = 0 ;
11527 PyObject * obj1 = 0 ;
11528 PyObject * obj2 = 0 ;
11529 char *kwnames[] = {
11530 (char *) "self",(char *) "n",(char *) "strText", NULL
11531 };
11532
11533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11535 {
11536 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 {
11540 arg3 = wxString_in_helper(obj2);
11541 if (arg3 == NULL) SWIG_fail;
11542 temp3 = True;
11543 }
11544 {
11545 PyThreadState* __tstate = wxPyBeginAllowThreads();
11546 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11547
11548 wxPyEndAllowThreads(__tstate);
11549 if (PyErr_Occurred()) SWIG_fail;
11550 }
11551 resultobj = PyInt_FromLong((long)result);
11552 {
11553 if (temp3)
11554 delete arg3;
11555 }
11556 return resultobj;
11557 fail:
11558 {
11559 if (temp3)
11560 delete arg3;
11561 }
11562 return NULL;
11563 }
11564
11565
11566 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11567 PyObject *resultobj;
11568 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11569 size_t arg2 ;
11570 wxString result;
11571 PyObject * obj0 = 0 ;
11572 PyObject * obj1 = 0 ;
11573 char *kwnames[] = {
11574 (char *) "self",(char *) "n", NULL
11575 };
11576
11577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11579 {
11580 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11581 if (PyErr_Occurred()) SWIG_fail;
11582 }
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11586
11587 wxPyEndAllowThreads(__tstate);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 {
11591 #if wxUSE_UNICODE
11592 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11593 #else
11594 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11595 #endif
11596 }
11597 return resultobj;
11598 fail:
11599 return NULL;
11600 }
11601
11602
11603 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11604 PyObject *resultobj;
11605 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11606 wxImageList *arg2 = (wxImageList *) 0 ;
11607 PyObject * obj0 = 0 ;
11608 PyObject * obj1 = 0 ;
11609 char *kwnames[] = {
11610 (char *) "self",(char *) "imageList", NULL
11611 };
11612
11613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11616 {
11617 PyThreadState* __tstate = wxPyBeginAllowThreads();
11618 (arg1)->SetImageList(arg2);
11619
11620 wxPyEndAllowThreads(__tstate);
11621 if (PyErr_Occurred()) SWIG_fail;
11622 }
11623 Py_INCREF(Py_None); resultobj = Py_None;
11624 return resultobj;
11625 fail:
11626 return NULL;
11627 }
11628
11629
11630 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11631 PyObject *resultobj;
11632 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11633 wxImageList *arg2 = (wxImageList *) 0 ;
11634 PyObject * obj0 = 0 ;
11635 PyObject * obj1 = 0 ;
11636 char *kwnames[] = {
11637 (char *) "self",(char *) "imageList", NULL
11638 };
11639
11640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11643 {
11644 PyThreadState* __tstate = wxPyBeginAllowThreads();
11645 (arg1)->AssignImageList(arg2);
11646
11647 wxPyEndAllowThreads(__tstate);
11648 if (PyErr_Occurred()) SWIG_fail;
11649 }
11650 Py_INCREF(Py_None); resultobj = Py_None;
11651 return resultobj;
11652 fail:
11653 return NULL;
11654 }
11655
11656
11657 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11658 PyObject *resultobj;
11659 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11660 wxImageList *result;
11661 PyObject * obj0 = 0 ;
11662 char *kwnames[] = {
11663 (char *) "self", NULL
11664 };
11665
11666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11668 {
11669 PyThreadState* __tstate = wxPyBeginAllowThreads();
11670 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11671
11672 wxPyEndAllowThreads(__tstate);
11673 if (PyErr_Occurred()) SWIG_fail;
11674 }
11675 {
11676 resultobj = wxPyMake_wxObject(result);
11677 }
11678 return resultobj;
11679 fail:
11680 return NULL;
11681 }
11682
11683
11684 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11685 PyObject *resultobj;
11686 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11687 size_t arg2 ;
11688 int result;
11689 PyObject * obj0 = 0 ;
11690 PyObject * obj1 = 0 ;
11691 char *kwnames[] = {
11692 (char *) "self",(char *) "n", NULL
11693 };
11694
11695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11697 {
11698 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11704
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 resultobj = PyInt_FromLong((long)result);
11709 return resultobj;
11710 fail:
11711 return NULL;
11712 }
11713
11714
11715 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11716 PyObject *resultobj;
11717 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11718 size_t arg2 ;
11719 int arg3 ;
11720 bool result;
11721 PyObject * obj0 = 0 ;
11722 PyObject * obj1 = 0 ;
11723 char *kwnames[] = {
11724 (char *) "self",(char *) "n",(char *) "imageId", NULL
11725 };
11726
11727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11729 {
11730 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11731 if (PyErr_Occurred()) SWIG_fail;
11732 }
11733 {
11734 PyThreadState* __tstate = wxPyBeginAllowThreads();
11735 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11736
11737 wxPyEndAllowThreads(__tstate);
11738 if (PyErr_Occurred()) SWIG_fail;
11739 }
11740 resultobj = PyInt_FromLong((long)result);
11741 return resultobj;
11742 fail:
11743 return NULL;
11744 }
11745
11746
11747 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj;
11749 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11750 wxSize *arg2 = 0 ;
11751 wxSize temp2 ;
11752 PyObject * obj0 = 0 ;
11753 PyObject * obj1 = 0 ;
11754 char *kwnames[] = {
11755 (char *) "self",(char *) "size", NULL
11756 };
11757
11758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11760 {
11761 arg2 = &temp2;
11762 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11763 }
11764 {
11765 PyThreadState* __tstate = wxPyBeginAllowThreads();
11766 (arg1)->SetPageSize((wxSize const &)*arg2);
11767
11768 wxPyEndAllowThreads(__tstate);
11769 if (PyErr_Occurred()) SWIG_fail;
11770 }
11771 Py_INCREF(Py_None); resultobj = Py_None;
11772 return resultobj;
11773 fail:
11774 return NULL;
11775 }
11776
11777
11778 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11779 PyObject *resultobj;
11780 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11781 wxSize *arg2 = 0 ;
11782 wxSize result;
11783 wxSize temp2 ;
11784 PyObject * obj0 = 0 ;
11785 PyObject * obj1 = 0 ;
11786 char *kwnames[] = {
11787 (char *) "self",(char *) "sizePage", NULL
11788 };
11789
11790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11792 {
11793 arg2 = &temp2;
11794 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11795 }
11796 {
11797 PyThreadState* __tstate = wxPyBeginAllowThreads();
11798 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11799
11800 wxPyEndAllowThreads(__tstate);
11801 if (PyErr_Occurred()) SWIG_fail;
11802 }
11803 {
11804 wxSize * resultptr;
11805 resultptr = new wxSize((wxSize &) result);
11806 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11807 }
11808 return resultobj;
11809 fail:
11810 return NULL;
11811 }
11812
11813
11814 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11815 PyObject *resultobj;
11816 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11817 size_t arg2 ;
11818 bool result;
11819 PyObject * obj0 = 0 ;
11820 PyObject * obj1 = 0 ;
11821 char *kwnames[] = {
11822 (char *) "self",(char *) "n", NULL
11823 };
11824
11825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11827 {
11828 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11829 if (PyErr_Occurred()) SWIG_fail;
11830 }
11831 {
11832 PyThreadState* __tstate = wxPyBeginAllowThreads();
11833 result = (bool)(arg1)->DeletePage(arg2);
11834
11835 wxPyEndAllowThreads(__tstate);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 }
11838 resultobj = PyInt_FromLong((long)result);
11839 return resultobj;
11840 fail:
11841 return NULL;
11842 }
11843
11844
11845 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11846 PyObject *resultobj;
11847 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11848 size_t arg2 ;
11849 bool result;
11850 PyObject * obj0 = 0 ;
11851 PyObject * obj1 = 0 ;
11852 char *kwnames[] = {
11853 (char *) "self",(char *) "n", NULL
11854 };
11855
11856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11858 {
11859 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11860 if (PyErr_Occurred()) SWIG_fail;
11861 }
11862 {
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (bool)(arg1)->RemovePage(arg2);
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 resultobj = PyInt_FromLong((long)result);
11870 return resultobj;
11871 fail:
11872 return NULL;
11873 }
11874
11875
11876 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11877 PyObject *resultobj;
11878 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11879 bool result;
11880 PyObject * obj0 = 0 ;
11881 char *kwnames[] = {
11882 (char *) "self", NULL
11883 };
11884
11885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11887 {
11888 PyThreadState* __tstate = wxPyBeginAllowThreads();
11889 result = (bool)(arg1)->DeleteAllPages();
11890
11891 wxPyEndAllowThreads(__tstate);
11892 if (PyErr_Occurred()) SWIG_fail;
11893 }
11894 resultobj = PyInt_FromLong((long)result);
11895 return resultobj;
11896 fail:
11897 return NULL;
11898 }
11899
11900
11901 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11902 PyObject *resultobj;
11903 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11904 wxWindow *arg2 = (wxWindow *) 0 ;
11905 wxString *arg3 = 0 ;
11906 bool arg4 = (bool) False ;
11907 int arg5 = (int) -1 ;
11908 bool result;
11909 bool temp3 = False ;
11910 PyObject * obj0 = 0 ;
11911 PyObject * obj1 = 0 ;
11912 PyObject * obj2 = 0 ;
11913 PyObject * obj3 = 0 ;
11914 char *kwnames[] = {
11915 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11916 };
11917
11918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11921 {
11922 arg3 = wxString_in_helper(obj2);
11923 if (arg3 == NULL) SWIG_fail;
11924 temp3 = True;
11925 }
11926 if (obj3) {
11927 {
11928 arg4 = (bool) SPyObj_AsBool(obj3);
11929 if (PyErr_Occurred()) SWIG_fail;
11930 }
11931 }
11932 {
11933 PyThreadState* __tstate = wxPyBeginAllowThreads();
11934 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11935
11936 wxPyEndAllowThreads(__tstate);
11937 if (PyErr_Occurred()) SWIG_fail;
11938 }
11939 resultobj = PyInt_FromLong((long)result);
11940 {
11941 if (temp3)
11942 delete arg3;
11943 }
11944 return resultobj;
11945 fail:
11946 {
11947 if (temp3)
11948 delete arg3;
11949 }
11950 return NULL;
11951 }
11952
11953
11954 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11955 PyObject *resultobj;
11956 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11957 size_t arg2 ;
11958 wxWindow *arg3 = (wxWindow *) 0 ;
11959 wxString *arg4 = 0 ;
11960 bool arg5 = (bool) False ;
11961 int arg6 = (int) -1 ;
11962 bool result;
11963 bool temp4 = False ;
11964 PyObject * obj0 = 0 ;
11965 PyObject * obj1 = 0 ;
11966 PyObject * obj2 = 0 ;
11967 PyObject * obj3 = 0 ;
11968 PyObject * obj4 = 0 ;
11969 char *kwnames[] = {
11970 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11971 };
11972
11973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11975 {
11976 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
11977 if (PyErr_Occurred()) SWIG_fail;
11978 }
11979 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11980 {
11981 arg4 = wxString_in_helper(obj3);
11982 if (arg4 == NULL) SWIG_fail;
11983 temp4 = True;
11984 }
11985 if (obj4) {
11986 {
11987 arg5 = (bool) SPyObj_AsBool(obj4);
11988 if (PyErr_Occurred()) SWIG_fail;
11989 }
11990 }
11991 {
11992 PyThreadState* __tstate = wxPyBeginAllowThreads();
11993 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11994
11995 wxPyEndAllowThreads(__tstate);
11996 if (PyErr_Occurred()) SWIG_fail;
11997 }
11998 resultobj = PyInt_FromLong((long)result);
11999 {
12000 if (temp4)
12001 delete arg4;
12002 }
12003 return resultobj;
12004 fail:
12005 {
12006 if (temp4)
12007 delete arg4;
12008 }
12009 return NULL;
12010 }
12011
12012
12013 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12014 PyObject *resultobj;
12015 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12016 size_t arg2 ;
12017 int result;
12018 PyObject * obj0 = 0 ;
12019 PyObject * obj1 = 0 ;
12020 char *kwnames[] = {
12021 (char *) "self",(char *) "n", NULL
12022 };
12023
12024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12026 {
12027 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
12030 {
12031 PyThreadState* __tstate = wxPyBeginAllowThreads();
12032 result = (int)(arg1)->SetSelection(arg2);
12033
12034 wxPyEndAllowThreads(__tstate);
12035 if (PyErr_Occurred()) SWIG_fail;
12036 }
12037 resultobj = PyInt_FromLong((long)result);
12038 return resultobj;
12039 fail:
12040 return NULL;
12041 }
12042
12043
12044 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12045 PyObject *resultobj;
12046 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12047 bool arg2 = (bool) True ;
12048 PyObject * obj0 = 0 ;
12049 PyObject * obj1 = 0 ;
12050 char *kwnames[] = {
12051 (char *) "self",(char *) "forward", NULL
12052 };
12053
12054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
12055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12056 if (obj1) {
12057 {
12058 arg2 = (bool) SPyObj_AsBool(obj1);
12059 if (PyErr_Occurred()) SWIG_fail;
12060 }
12061 }
12062 {
12063 PyThreadState* __tstate = wxPyBeginAllowThreads();
12064 (arg1)->AdvanceSelection(arg2);
12065
12066 wxPyEndAllowThreads(__tstate);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 }
12069 Py_INCREF(Py_None); resultobj = Py_None;
12070 return resultobj;
12071 fail:
12072 return NULL;
12073 }
12074
12075
12076 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
12077 PyObject *obj;
12078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12079 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
12080 Py_INCREF(obj);
12081 return Py_BuildValue((char *)"");
12082 }
12083 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj;
12085 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12086 int arg2 = (int) 0 ;
12087 int arg3 = (int) -1 ;
12088 int arg4 = (int) -1 ;
12089 wxBookCtrlEvent *result;
12090 char *kwnames[] = {
12091 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12092 };
12093
12094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12095 {
12096 PyThreadState* __tstate = wxPyBeginAllowThreads();
12097 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
12102 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
12103 return resultobj;
12104 fail:
12105 return NULL;
12106 }
12107
12108
12109 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12110 PyObject *resultobj;
12111 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12112 int result;
12113 PyObject * obj0 = 0 ;
12114 char *kwnames[] = {
12115 (char *) "self", NULL
12116 };
12117
12118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
12119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
12123
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 }
12127 resultobj = PyInt_FromLong((long)result);
12128 return resultobj;
12129 fail:
12130 return NULL;
12131 }
12132
12133
12134 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12135 PyObject *resultobj;
12136 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12137 int arg2 ;
12138 PyObject * obj0 = 0 ;
12139 char *kwnames[] = {
12140 (char *) "self",(char *) "nSel", NULL
12141 };
12142
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
12144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12145 {
12146 PyThreadState* __tstate = wxPyBeginAllowThreads();
12147 (arg1)->SetSelection(arg2);
12148
12149 wxPyEndAllowThreads(__tstate);
12150 if (PyErr_Occurred()) SWIG_fail;
12151 }
12152 Py_INCREF(Py_None); resultobj = Py_None;
12153 return resultobj;
12154 fail:
12155 return NULL;
12156 }
12157
12158
12159 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12160 PyObject *resultobj;
12161 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12162 int result;
12163 PyObject * obj0 = 0 ;
12164 char *kwnames[] = {
12165 (char *) "self", NULL
12166 };
12167
12168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
12169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12170 {
12171 PyThreadState* __tstate = wxPyBeginAllowThreads();
12172 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
12173
12174 wxPyEndAllowThreads(__tstate);
12175 if (PyErr_Occurred()) SWIG_fail;
12176 }
12177 resultobj = PyInt_FromLong((long)result);
12178 return resultobj;
12179 fail:
12180 return NULL;
12181 }
12182
12183
12184 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12185 PyObject *resultobj;
12186 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
12187 int arg2 ;
12188 PyObject * obj0 = 0 ;
12189 char *kwnames[] = {
12190 (char *) "self",(char *) "nOldSel", NULL
12191 };
12192
12193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
12194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12195 {
12196 PyThreadState* __tstate = wxPyBeginAllowThreads();
12197 (arg1)->SetOldSelection(arg2);
12198
12199 wxPyEndAllowThreads(__tstate);
12200 if (PyErr_Occurred()) SWIG_fail;
12201 }
12202 Py_INCREF(Py_None); resultobj = Py_None;
12203 return resultobj;
12204 fail:
12205 return NULL;
12206 }
12207
12208
12209 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
12210 PyObject *obj;
12211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12212 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
12213 Py_INCREF(obj);
12214 return Py_BuildValue((char *)"");
12215 }
12216 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12217 PyObject *resultobj;
12218 wxWindow *arg1 = (wxWindow *) 0 ;
12219 int arg2 ;
12220 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12221 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12222 wxSize const &arg4_defvalue = wxDefaultSize ;
12223 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12224 long arg5 = (long) 0 ;
12225 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
12226 wxString *arg6 = (wxString *) &arg6_defvalue ;
12227 wxNotebook *result;
12228 wxPoint temp3 ;
12229 wxSize temp4 ;
12230 bool temp6 = False ;
12231 PyObject * obj0 = 0 ;
12232 PyObject * obj2 = 0 ;
12233 PyObject * obj3 = 0 ;
12234 PyObject * obj5 = 0 ;
12235 char *kwnames[] = {
12236 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12237 };
12238
12239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12241 if (obj2) {
12242 {
12243 arg3 = &temp3;
12244 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12245 }
12246 }
12247 if (obj3) {
12248 {
12249 arg4 = &temp4;
12250 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12251 }
12252 }
12253 if (obj5) {
12254 {
12255 arg6 = wxString_in_helper(obj5);
12256 if (arg6 == NULL) SWIG_fail;
12257 temp6 = True;
12258 }
12259 }
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12263
12264 wxPyEndAllowThreads(__tstate);
12265 if (PyErr_Occurred()) SWIG_fail;
12266 }
12267 {
12268 resultobj = wxPyMake_wxObject(result);
12269 }
12270 {
12271 if (temp6)
12272 delete arg6;
12273 }
12274 return resultobj;
12275 fail:
12276 {
12277 if (temp6)
12278 delete arg6;
12279 }
12280 return NULL;
12281 }
12282
12283
12284 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12285 PyObject *resultobj;
12286 wxNotebook *result;
12287 char *kwnames[] = {
12288 NULL
12289 };
12290
12291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
12292 {
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 result = (wxNotebook *)new wxNotebook();
12295
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
12299 {
12300 resultobj = wxPyMake_wxObject(result);
12301 }
12302 return resultobj;
12303 fail:
12304 return NULL;
12305 }
12306
12307
12308 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12309 PyObject *resultobj;
12310 wxNotebook *arg1 = (wxNotebook *) 0 ;
12311 wxWindow *arg2 = (wxWindow *) 0 ;
12312 int arg3 ;
12313 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12314 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12315 wxSize const &arg5_defvalue = wxDefaultSize ;
12316 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12317 long arg6 = (long) 0 ;
12318 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12319 wxString *arg7 = (wxString *) &arg7_defvalue ;
12320 bool result;
12321 wxPoint temp4 ;
12322 wxSize temp5 ;
12323 bool temp7 = False ;
12324 PyObject * obj0 = 0 ;
12325 PyObject * obj1 = 0 ;
12326 PyObject * obj3 = 0 ;
12327 PyObject * obj4 = 0 ;
12328 PyObject * obj6 = 0 ;
12329 char *kwnames[] = {
12330 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12331 };
12332
12333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12336 if (obj3) {
12337 {
12338 arg4 = &temp4;
12339 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12340 }
12341 }
12342 if (obj4) {
12343 {
12344 arg5 = &temp5;
12345 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12346 }
12347 }
12348 if (obj6) {
12349 {
12350 arg7 = wxString_in_helper(obj6);
12351 if (arg7 == NULL) SWIG_fail;
12352 temp7 = True;
12353 }
12354 }
12355 {
12356 PyThreadState* __tstate = wxPyBeginAllowThreads();
12357 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12358
12359 wxPyEndAllowThreads(__tstate);
12360 if (PyErr_Occurred()) SWIG_fail;
12361 }
12362 resultobj = PyInt_FromLong((long)result);
12363 {
12364 if (temp7)
12365 delete arg7;
12366 }
12367 return resultobj;
12368 fail:
12369 {
12370 if (temp7)
12371 delete arg7;
12372 }
12373 return NULL;
12374 }
12375
12376
12377 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12378 PyObject *resultobj;
12379 wxNotebook *arg1 = (wxNotebook *) 0 ;
12380 int result;
12381 PyObject * obj0 = 0 ;
12382 char *kwnames[] = {
12383 (char *) "self", NULL
12384 };
12385
12386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12388 {
12389 PyThreadState* __tstate = wxPyBeginAllowThreads();
12390 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12391
12392 wxPyEndAllowThreads(__tstate);
12393 if (PyErr_Occurred()) SWIG_fail;
12394 }
12395 resultobj = PyInt_FromLong((long)result);
12396 return resultobj;
12397 fail:
12398 return NULL;
12399 }
12400
12401
12402 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12403 PyObject *resultobj;
12404 wxNotebook *arg1 = (wxNotebook *) 0 ;
12405 wxSize *arg2 = 0 ;
12406 wxSize temp2 ;
12407 PyObject * obj0 = 0 ;
12408 PyObject * obj1 = 0 ;
12409 char *kwnames[] = {
12410 (char *) "self",(char *) "padding", NULL
12411 };
12412
12413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12415 {
12416 arg2 = &temp2;
12417 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12418 }
12419 {
12420 PyThreadState* __tstate = wxPyBeginAllowThreads();
12421 (arg1)->SetPadding((wxSize const &)*arg2);
12422
12423 wxPyEndAllowThreads(__tstate);
12424 if (PyErr_Occurred()) SWIG_fail;
12425 }
12426 Py_INCREF(Py_None); resultobj = Py_None;
12427 return resultobj;
12428 fail:
12429 return NULL;
12430 }
12431
12432
12433 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12434 PyObject *resultobj;
12435 wxNotebook *arg1 = (wxNotebook *) 0 ;
12436 wxSize *arg2 = 0 ;
12437 wxSize temp2 ;
12438 PyObject * obj0 = 0 ;
12439 PyObject * obj1 = 0 ;
12440 char *kwnames[] = {
12441 (char *) "self",(char *) "sz", NULL
12442 };
12443
12444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12446 {
12447 arg2 = &temp2;
12448 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12449 }
12450 {
12451 PyThreadState* __tstate = wxPyBeginAllowThreads();
12452 (arg1)->SetTabSize((wxSize const &)*arg2);
12453
12454 wxPyEndAllowThreads(__tstate);
12455 if (PyErr_Occurred()) SWIG_fail;
12456 }
12457 Py_INCREF(Py_None); resultobj = Py_None;
12458 return resultobj;
12459 fail:
12460 return NULL;
12461 }
12462
12463
12464 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12465 PyObject *resultobj;
12466 wxNotebook *arg1 = (wxNotebook *) 0 ;
12467 wxPoint *arg2 = 0 ;
12468 long *arg3 = (long *) 0 ;
12469 int result;
12470 wxPoint temp2 ;
12471 long temp3 ;
12472 PyObject * obj0 = 0 ;
12473 PyObject * obj1 = 0 ;
12474 char *kwnames[] = {
12475 (char *) "self",(char *) "pt", NULL
12476 };
12477
12478 arg3 = &temp3;
12479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12481 {
12482 arg2 = &temp2;
12483 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12484 }
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 resultobj = PyInt_FromLong((long)result);
12493 {
12494 PyObject *o = PyInt_FromLong((long) (*arg3));
12495 resultobj = t_output_helper(resultobj,o);
12496 }
12497 return resultobj;
12498 fail:
12499 return NULL;
12500 }
12501
12502
12503 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12504 PyObject *resultobj;
12505 wxNotebook *arg1 = (wxNotebook *) 0 ;
12506 wxSize *arg2 = 0 ;
12507 wxSize result;
12508 wxSize temp2 ;
12509 PyObject * obj0 = 0 ;
12510 PyObject * obj1 = 0 ;
12511 char *kwnames[] = {
12512 (char *) "self",(char *) "sizePage", NULL
12513 };
12514
12515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12517 {
12518 arg2 = &temp2;
12519 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12520 }
12521 {
12522 PyThreadState* __tstate = wxPyBeginAllowThreads();
12523 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12524
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 {
12529 wxSize * resultptr;
12530 resultptr = new wxSize((wxSize &) result);
12531 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12532 }
12533 return resultobj;
12534 fail:
12535 return NULL;
12536 }
12537
12538
12539 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12540 PyObject *obj;
12541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12542 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12543 Py_INCREF(obj);
12544 return Py_BuildValue((char *)"");
12545 }
12546 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12547 PyObject *resultobj;
12548 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12549 int arg2 = (int) 0 ;
12550 int arg3 = (int) -1 ;
12551 int arg4 = (int) -1 ;
12552 wxNotebookEvent *result;
12553 char *kwnames[] = {
12554 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12555 };
12556
12557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12561
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
12565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12566 return resultobj;
12567 fail:
12568 return NULL;
12569 }
12570
12571
12572 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12573 PyObject *obj;
12574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12575 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12576 Py_INCREF(obj);
12577 return Py_BuildValue((char *)"");
12578 }
12579 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12580 PyObject *resultobj;
12581 wxWindow *arg1 = (wxWindow *) 0 ;
12582 int arg2 ;
12583 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12584 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12585 wxSize const &arg4_defvalue = wxDefaultSize ;
12586 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12587 long arg5 = (long) 0 ;
12588 wxString const &arg6_defvalue = wxPyEmptyString ;
12589 wxString *arg6 = (wxString *) &arg6_defvalue ;
12590 wxListbook *result;
12591 wxPoint temp3 ;
12592 wxSize temp4 ;
12593 bool temp6 = False ;
12594 PyObject * obj0 = 0 ;
12595 PyObject * obj2 = 0 ;
12596 PyObject * obj3 = 0 ;
12597 PyObject * obj5 = 0 ;
12598 char *kwnames[] = {
12599 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12600 };
12601
12602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12604 if (obj2) {
12605 {
12606 arg3 = &temp3;
12607 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12608 }
12609 }
12610 if (obj3) {
12611 {
12612 arg4 = &temp4;
12613 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12614 }
12615 }
12616 if (obj5) {
12617 {
12618 arg6 = wxString_in_helper(obj5);
12619 if (arg6 == NULL) SWIG_fail;
12620 temp6 = True;
12621 }
12622 }
12623 {
12624 PyThreadState* __tstate = wxPyBeginAllowThreads();
12625 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12626
12627 wxPyEndAllowThreads(__tstate);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
12630 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12631 {
12632 if (temp6)
12633 delete arg6;
12634 }
12635 return resultobj;
12636 fail:
12637 {
12638 if (temp6)
12639 delete arg6;
12640 }
12641 return NULL;
12642 }
12643
12644
12645 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12646 PyObject *resultobj;
12647 wxListbook *result;
12648 char *kwnames[] = {
12649 NULL
12650 };
12651
12652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12653 {
12654 PyThreadState* __tstate = wxPyBeginAllowThreads();
12655 result = (wxListbook *)new wxListbook();
12656
12657 wxPyEndAllowThreads(__tstate);
12658 if (PyErr_Occurred()) SWIG_fail;
12659 }
12660 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12661 return resultobj;
12662 fail:
12663 return NULL;
12664 }
12665
12666
12667 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12668 PyObject *resultobj;
12669 wxListbook *arg1 = (wxListbook *) 0 ;
12670 wxWindow *arg2 = (wxWindow *) 0 ;
12671 int arg3 ;
12672 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12673 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12674 wxSize const &arg5_defvalue = wxDefaultSize ;
12675 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12676 long arg6 = (long) 0 ;
12677 wxString const &arg7_defvalue = wxPyEmptyString ;
12678 wxString *arg7 = (wxString *) &arg7_defvalue ;
12679 bool result;
12680 wxPoint temp4 ;
12681 wxSize temp5 ;
12682 bool temp7 = False ;
12683 PyObject * obj0 = 0 ;
12684 PyObject * obj1 = 0 ;
12685 PyObject * obj3 = 0 ;
12686 PyObject * obj4 = 0 ;
12687 PyObject * obj6 = 0 ;
12688 char *kwnames[] = {
12689 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12690 };
12691
12692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12695 if (obj3) {
12696 {
12697 arg4 = &temp4;
12698 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12699 }
12700 }
12701 if (obj4) {
12702 {
12703 arg5 = &temp5;
12704 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12705 }
12706 }
12707 if (obj6) {
12708 {
12709 arg7 = wxString_in_helper(obj6);
12710 if (arg7 == NULL) SWIG_fail;
12711 temp7 = True;
12712 }
12713 }
12714 {
12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
12716 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12717
12718 wxPyEndAllowThreads(__tstate);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
12721 resultobj = PyInt_FromLong((long)result);
12722 {
12723 if (temp7)
12724 delete arg7;
12725 }
12726 return resultobj;
12727 fail:
12728 {
12729 if (temp7)
12730 delete arg7;
12731 }
12732 return NULL;
12733 }
12734
12735
12736 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12737 PyObject *resultobj;
12738 wxListbook *arg1 = (wxListbook *) 0 ;
12739 bool result;
12740 PyObject * obj0 = 0 ;
12741 char *kwnames[] = {
12742 (char *) "self", NULL
12743 };
12744
12745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12747 {
12748 PyThreadState* __tstate = wxPyBeginAllowThreads();
12749 result = (bool)((wxListbook const *)arg1)->IsVertical();
12750
12751 wxPyEndAllowThreads(__tstate);
12752 if (PyErr_Occurred()) SWIG_fail;
12753 }
12754 resultobj = PyInt_FromLong((long)result);
12755 return resultobj;
12756 fail:
12757 return NULL;
12758 }
12759
12760
12761 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12762 PyObject *obj;
12763 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12764 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12765 Py_INCREF(obj);
12766 return Py_BuildValue((char *)"");
12767 }
12768 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj;
12770 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12771 int arg2 = (int) 0 ;
12772 int arg3 = (int) -1 ;
12773 int arg4 = (int) -1 ;
12774 wxListbookEvent *result;
12775 char *kwnames[] = {
12776 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12777 };
12778
12779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12780 {
12781 PyThreadState* __tstate = wxPyBeginAllowThreads();
12782 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12783
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12788 return resultobj;
12789 fail:
12790 return NULL;
12791 }
12792
12793
12794 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12795 PyObject *obj;
12796 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12797 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12798 Py_INCREF(obj);
12799 return Py_BuildValue((char *)"");
12800 }
12801 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj;
12803 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12804 wxBookCtrlSizer *result;
12805 PyObject * obj0 = 0 ;
12806 char *kwnames[] = {
12807 (char *) "nb", NULL
12808 };
12809
12810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12820 return resultobj;
12821 fail:
12822 return NULL;
12823 }
12824
12825
12826 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12827 PyObject *resultobj;
12828 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12829 PyObject * obj0 = 0 ;
12830 char *kwnames[] = {
12831 (char *) "self", NULL
12832 };
12833
12834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12836 {
12837 PyThreadState* __tstate = wxPyBeginAllowThreads();
12838 (arg1)->RecalcSizes();
12839
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
12843 Py_INCREF(Py_None); resultobj = Py_None;
12844 return resultobj;
12845 fail:
12846 return NULL;
12847 }
12848
12849
12850 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12851 PyObject *resultobj;
12852 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12853 wxSize result;
12854 PyObject * obj0 = 0 ;
12855 char *kwnames[] = {
12856 (char *) "self", NULL
12857 };
12858
12859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12861 {
12862 PyThreadState* __tstate = wxPyBeginAllowThreads();
12863 result = (arg1)->CalcMin();
12864
12865 wxPyEndAllowThreads(__tstate);
12866 if (PyErr_Occurred()) SWIG_fail;
12867 }
12868 {
12869 wxSize * resultptr;
12870 resultptr = new wxSize((wxSize &) result);
12871 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12872 }
12873 return resultobj;
12874 fail:
12875 return NULL;
12876 }
12877
12878
12879 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12880 PyObject *resultobj;
12881 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12882 wxBookCtrl *result;
12883 PyObject * obj0 = 0 ;
12884 char *kwnames[] = {
12885 (char *) "self", NULL
12886 };
12887
12888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12890 {
12891 PyThreadState* __tstate = wxPyBeginAllowThreads();
12892 result = (wxBookCtrl *)(arg1)->GetControl();
12893
12894 wxPyEndAllowThreads(__tstate);
12895 if (PyErr_Occurred()) SWIG_fail;
12896 }
12897 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12898 return resultobj;
12899 fail:
12900 return NULL;
12901 }
12902
12903
12904 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12905 PyObject *obj;
12906 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12907 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12908 Py_INCREF(obj);
12909 return Py_BuildValue((char *)"");
12910 }
12911 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12912 PyObject *resultobj;
12913 wxNotebook *arg1 = (wxNotebook *) 0 ;
12914 wxNotebookSizer *result;
12915 PyObject * obj0 = 0 ;
12916 char *kwnames[] = {
12917 (char *) "nb", NULL
12918 };
12919
12920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12922 {
12923 PyThreadState* __tstate = wxPyBeginAllowThreads();
12924 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12925
12926 wxPyEndAllowThreads(__tstate);
12927 if (PyErr_Occurred()) SWIG_fail;
12928 }
12929 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12930 return resultobj;
12931 fail:
12932 return NULL;
12933 }
12934
12935
12936 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12937 PyObject *resultobj;
12938 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12939 PyObject * obj0 = 0 ;
12940 char *kwnames[] = {
12941 (char *) "self", NULL
12942 };
12943
12944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12946 {
12947 PyThreadState* __tstate = wxPyBeginAllowThreads();
12948 (arg1)->RecalcSizes();
12949
12950 wxPyEndAllowThreads(__tstate);
12951 if (PyErr_Occurred()) SWIG_fail;
12952 }
12953 Py_INCREF(Py_None); resultobj = Py_None;
12954 return resultobj;
12955 fail:
12956 return NULL;
12957 }
12958
12959
12960 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12961 PyObject *resultobj;
12962 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12963 wxSize result;
12964 PyObject * obj0 = 0 ;
12965 char *kwnames[] = {
12966 (char *) "self", NULL
12967 };
12968
12969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12971 {
12972 PyThreadState* __tstate = wxPyBeginAllowThreads();
12973 result = (arg1)->CalcMin();
12974
12975 wxPyEndAllowThreads(__tstate);
12976 if (PyErr_Occurred()) SWIG_fail;
12977 }
12978 {
12979 wxSize * resultptr;
12980 resultptr = new wxSize((wxSize &) result);
12981 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12982 }
12983 return resultobj;
12984 fail:
12985 return NULL;
12986 }
12987
12988
12989 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12990 PyObject *resultobj;
12991 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12992 wxNotebook *result;
12993 PyObject * obj0 = 0 ;
12994 char *kwnames[] = {
12995 (char *) "self", NULL
12996 };
12997
12998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13000 {
13001 PyThreadState* __tstate = wxPyBeginAllowThreads();
13002 result = (wxNotebook *)(arg1)->GetNotebook();
13003
13004 wxPyEndAllowThreads(__tstate);
13005 if (PyErr_Occurred()) SWIG_fail;
13006 }
13007 {
13008 resultobj = wxPyMake_wxObject(result);
13009 }
13010 return resultobj;
13011 fail:
13012 return NULL;
13013 }
13014
13015
13016 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
13017 PyObject *obj;
13018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13019 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
13020 Py_INCREF(obj);
13021 return Py_BuildValue((char *)"");
13022 }
13023 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
13024 PyObject *resultobj;
13025 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13026 int result;
13027 PyObject * obj0 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
13033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13034 {
13035 PyThreadState* __tstate = wxPyBeginAllowThreads();
13036 result = (int)(arg1)->GetId();
13037
13038 wxPyEndAllowThreads(__tstate);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
13041 resultobj = PyInt_FromLong((long)result);
13042 return resultobj;
13043 fail:
13044 return NULL;
13045 }
13046
13047
13048 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj;
13050 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13051 wxControl *result;
13052 PyObject * obj0 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
13058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 result = (wxControl *)(arg1)->GetControl();
13062
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 {
13067 resultobj = wxPyMake_wxObject(result);
13068 }
13069 return resultobj;
13070 fail:
13071 return NULL;
13072 }
13073
13074
13075 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13076 PyObject *resultobj;
13077 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13078 wxToolBarBase *result;
13079 PyObject * obj0 = 0 ;
13080 char *kwnames[] = {
13081 (char *) "self", NULL
13082 };
13083
13084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
13085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13086 {
13087 PyThreadState* __tstate = wxPyBeginAllowThreads();
13088 result = (wxToolBarBase *)(arg1)->GetToolBar();
13089
13090 wxPyEndAllowThreads(__tstate);
13091 if (PyErr_Occurred()) SWIG_fail;
13092 }
13093 {
13094 resultobj = wxPyMake_wxObject(result);
13095 }
13096 return resultobj;
13097 fail:
13098 return NULL;
13099 }
13100
13101
13102 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13103 PyObject *resultobj;
13104 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13105 int result;
13106 PyObject * obj0 = 0 ;
13107 char *kwnames[] = {
13108 (char *) "self", NULL
13109 };
13110
13111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
13112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13113 {
13114 PyThreadState* __tstate = wxPyBeginAllowThreads();
13115 result = (int)(arg1)->IsButton();
13116
13117 wxPyEndAllowThreads(__tstate);
13118 if (PyErr_Occurred()) SWIG_fail;
13119 }
13120 resultobj = PyInt_FromLong((long)result);
13121 return resultobj;
13122 fail:
13123 return NULL;
13124 }
13125
13126
13127 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13128 PyObject *resultobj;
13129 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13130 int result;
13131 PyObject * obj0 = 0 ;
13132 char *kwnames[] = {
13133 (char *) "self", NULL
13134 };
13135
13136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
13137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13138 {
13139 PyThreadState* __tstate = wxPyBeginAllowThreads();
13140 result = (int)(arg1)->IsControl();
13141
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
13145 resultobj = PyInt_FromLong((long)result);
13146 return resultobj;
13147 fail:
13148 return NULL;
13149 }
13150
13151
13152 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13153 PyObject *resultobj;
13154 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13155 int result;
13156 PyObject * obj0 = 0 ;
13157 char *kwnames[] = {
13158 (char *) "self", NULL
13159 };
13160
13161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
13162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 result = (int)(arg1)->IsSeparator();
13166
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
13170 resultobj = PyInt_FromLong((long)result);
13171 return resultobj;
13172 fail:
13173 return NULL;
13174 }
13175
13176
13177 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
13178 PyObject *resultobj;
13179 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13180 int result;
13181 PyObject * obj0 = 0 ;
13182 char *kwnames[] = {
13183 (char *) "self", NULL
13184 };
13185
13186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
13187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 result = (int)(arg1)->GetStyle();
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
13195 resultobj = PyInt_FromLong((long)result);
13196 return resultobj;
13197 fail:
13198 return NULL;
13199 }
13200
13201
13202 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj;
13204 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13205 int result;
13206 PyObject * obj0 = 0 ;
13207 char *kwnames[] = {
13208 (char *) "self", NULL
13209 };
13210
13211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
13212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 result = (int)(arg1)->GetKind();
13216
13217 wxPyEndAllowThreads(__tstate);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
13220 resultobj = PyInt_FromLong((long)result);
13221 return resultobj;
13222 fail:
13223 return NULL;
13224 }
13225
13226
13227 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13228 PyObject *resultobj;
13229 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13230 bool result;
13231 PyObject * obj0 = 0 ;
13232 char *kwnames[] = {
13233 (char *) "self", NULL
13234 };
13235
13236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
13237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13238 {
13239 PyThreadState* __tstate = wxPyBeginAllowThreads();
13240 result = (bool)(arg1)->IsEnabled();
13241
13242 wxPyEndAllowThreads(__tstate);
13243 if (PyErr_Occurred()) SWIG_fail;
13244 }
13245 resultobj = PyInt_FromLong((long)result);
13246 return resultobj;
13247 fail:
13248 return NULL;
13249 }
13250
13251
13252 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13253 PyObject *resultobj;
13254 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13255 bool result;
13256 PyObject * obj0 = 0 ;
13257 char *kwnames[] = {
13258 (char *) "self", NULL
13259 };
13260
13261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13263 {
13264 PyThreadState* __tstate = wxPyBeginAllowThreads();
13265 result = (bool)(arg1)->IsToggled();
13266
13267 wxPyEndAllowThreads(__tstate);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
13270 resultobj = PyInt_FromLong((long)result);
13271 return resultobj;
13272 fail:
13273 return NULL;
13274 }
13275
13276
13277 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13278 PyObject *resultobj;
13279 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13280 bool result;
13281 PyObject * obj0 = 0 ;
13282 char *kwnames[] = {
13283 (char *) "self", NULL
13284 };
13285
13286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 result = (bool)(arg1)->CanBeToggled();
13291
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
13295 resultobj = PyInt_FromLong((long)result);
13296 return resultobj;
13297 fail:
13298 return NULL;
13299 }
13300
13301
13302 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj;
13304 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13305 wxBitmap *result;
13306 PyObject * obj0 = 0 ;
13307 char *kwnames[] = {
13308 (char *) "self", NULL
13309 };
13310
13311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13313 {
13314 PyThreadState* __tstate = wxPyBeginAllowThreads();
13315 {
13316 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13317 result = (wxBitmap *) &_result_ref;
13318 }
13319
13320 wxPyEndAllowThreads(__tstate);
13321 if (PyErr_Occurred()) SWIG_fail;
13322 }
13323 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13324 return resultobj;
13325 fail:
13326 return NULL;
13327 }
13328
13329
13330 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj;
13332 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13333 wxBitmap *result;
13334 PyObject * obj0 = 0 ;
13335 char *kwnames[] = {
13336 (char *) "self", NULL
13337 };
13338
13339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13341 {
13342 PyThreadState* __tstate = wxPyBeginAllowThreads();
13343 {
13344 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13345 result = (wxBitmap *) &_result_ref;
13346 }
13347
13348 wxPyEndAllowThreads(__tstate);
13349 if (PyErr_Occurred()) SWIG_fail;
13350 }
13351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13352 return resultobj;
13353 fail:
13354 return NULL;
13355 }
13356
13357
13358 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13359 PyObject *resultobj;
13360 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13361 wxBitmap result;
13362 PyObject * obj0 = 0 ;
13363 char *kwnames[] = {
13364 (char *) "self", NULL
13365 };
13366
13367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13369 {
13370 PyThreadState* __tstate = wxPyBeginAllowThreads();
13371 result = (arg1)->GetBitmap();
13372
13373 wxPyEndAllowThreads(__tstate);
13374 if (PyErr_Occurred()) SWIG_fail;
13375 }
13376 {
13377 wxBitmap * resultptr;
13378 resultptr = new wxBitmap((wxBitmap &) result);
13379 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13380 }
13381 return resultobj;
13382 fail:
13383 return NULL;
13384 }
13385
13386
13387 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13388 PyObject *resultobj;
13389 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13390 wxString result;
13391 PyObject * obj0 = 0 ;
13392 char *kwnames[] = {
13393 (char *) "self", NULL
13394 };
13395
13396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 result = (arg1)->GetLabel();
13401
13402 wxPyEndAllowThreads(__tstate);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 }
13405 {
13406 #if wxUSE_UNICODE
13407 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13408 #else
13409 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13410 #endif
13411 }
13412 return resultobj;
13413 fail:
13414 return NULL;
13415 }
13416
13417
13418 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13421 wxString result;
13422 PyObject * obj0 = 0 ;
13423 char *kwnames[] = {
13424 (char *) "self", NULL
13425 };
13426
13427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 result = (arg1)->GetShortHelp();
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
13436 {
13437 #if wxUSE_UNICODE
13438 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13439 #else
13440 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13441 #endif
13442 }
13443 return resultobj;
13444 fail:
13445 return NULL;
13446 }
13447
13448
13449 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13450 PyObject *resultobj;
13451 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13452 wxString result;
13453 PyObject * obj0 = 0 ;
13454 char *kwnames[] = {
13455 (char *) "self", NULL
13456 };
13457
13458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 result = (arg1)->GetLongHelp();
13463
13464 wxPyEndAllowThreads(__tstate);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 }
13467 {
13468 #if wxUSE_UNICODE
13469 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13470 #else
13471 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13472 #endif
13473 }
13474 return resultobj;
13475 fail:
13476 return NULL;
13477 }
13478
13479
13480 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13481 PyObject *resultobj;
13482 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13483 bool arg2 ;
13484 bool result;
13485 PyObject * obj0 = 0 ;
13486 PyObject * obj1 = 0 ;
13487 char *kwnames[] = {
13488 (char *) "self",(char *) "enable", NULL
13489 };
13490
13491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13493 {
13494 arg2 = (bool) SPyObj_AsBool(obj1);
13495 if (PyErr_Occurred()) SWIG_fail;
13496 }
13497 {
13498 PyThreadState* __tstate = wxPyBeginAllowThreads();
13499 result = (bool)(arg1)->Enable(arg2);
13500
13501 wxPyEndAllowThreads(__tstate);
13502 if (PyErr_Occurred()) SWIG_fail;
13503 }
13504 resultobj = PyInt_FromLong((long)result);
13505 return resultobj;
13506 fail:
13507 return NULL;
13508 }
13509
13510
13511 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13512 PyObject *resultobj;
13513 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13514 PyObject * obj0 = 0 ;
13515 char *kwnames[] = {
13516 (char *) "self", NULL
13517 };
13518
13519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 (arg1)->Toggle();
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
13528 Py_INCREF(Py_None); resultobj = Py_None;
13529 return resultobj;
13530 fail:
13531 return NULL;
13532 }
13533
13534
13535 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13536 PyObject *resultobj;
13537 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13538 bool arg2 ;
13539 bool result;
13540 PyObject * obj0 = 0 ;
13541 PyObject * obj1 = 0 ;
13542 char *kwnames[] = {
13543 (char *) "self",(char *) "toggle", NULL
13544 };
13545
13546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13548 {
13549 arg2 = (bool) SPyObj_AsBool(obj1);
13550 if (PyErr_Occurred()) SWIG_fail;
13551 }
13552 {
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 result = (bool)(arg1)->SetToggle(arg2);
13555
13556 wxPyEndAllowThreads(__tstate);
13557 if (PyErr_Occurred()) SWIG_fail;
13558 }
13559 resultobj = PyInt_FromLong((long)result);
13560 return resultobj;
13561 fail:
13562 return NULL;
13563 }
13564
13565
13566 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13567 PyObject *resultobj;
13568 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13569 wxString *arg2 = 0 ;
13570 bool result;
13571 bool temp2 = False ;
13572 PyObject * obj0 = 0 ;
13573 PyObject * obj1 = 0 ;
13574 char *kwnames[] = {
13575 (char *) "self",(char *) "help", NULL
13576 };
13577
13578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13580 {
13581 arg2 = wxString_in_helper(obj1);
13582 if (arg2 == NULL) SWIG_fail;
13583 temp2 = True;
13584 }
13585 {
13586 PyThreadState* __tstate = wxPyBeginAllowThreads();
13587 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13588
13589 wxPyEndAllowThreads(__tstate);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 }
13592 resultobj = PyInt_FromLong((long)result);
13593 {
13594 if (temp2)
13595 delete arg2;
13596 }
13597 return resultobj;
13598 fail:
13599 {
13600 if (temp2)
13601 delete arg2;
13602 }
13603 return NULL;
13604 }
13605
13606
13607 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13608 PyObject *resultobj;
13609 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13610 wxString *arg2 = 0 ;
13611 bool result;
13612 bool temp2 = False ;
13613 PyObject * obj0 = 0 ;
13614 PyObject * obj1 = 0 ;
13615 char *kwnames[] = {
13616 (char *) "self",(char *) "help", NULL
13617 };
13618
13619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13621 {
13622 arg2 = wxString_in_helper(obj1);
13623 if (arg2 == NULL) SWIG_fail;
13624 temp2 = True;
13625 }
13626 {
13627 PyThreadState* __tstate = wxPyBeginAllowThreads();
13628 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13629
13630 wxPyEndAllowThreads(__tstate);
13631 if (PyErr_Occurred()) SWIG_fail;
13632 }
13633 resultobj = PyInt_FromLong((long)result);
13634 {
13635 if (temp2)
13636 delete arg2;
13637 }
13638 return resultobj;
13639 fail:
13640 {
13641 if (temp2)
13642 delete arg2;
13643 }
13644 return NULL;
13645 }
13646
13647
13648 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13649 PyObject *resultobj;
13650 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13651 wxBitmap *arg2 = 0 ;
13652 PyObject * obj0 = 0 ;
13653 PyObject * obj1 = 0 ;
13654 char *kwnames[] = {
13655 (char *) "self",(char *) "bmp", NULL
13656 };
13657
13658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13660 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13661 if (arg2 == NULL) {
13662 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13663 }
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13667
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 Py_INCREF(Py_None); resultobj = Py_None;
13672 return resultobj;
13673 fail:
13674 return NULL;
13675 }
13676
13677
13678 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj;
13680 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13681 wxBitmap *arg2 = 0 ;
13682 PyObject * obj0 = 0 ;
13683 PyObject * obj1 = 0 ;
13684 char *kwnames[] = {
13685 (char *) "self",(char *) "bmp", NULL
13686 };
13687
13688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13691 if (arg2 == NULL) {
13692 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13693 }
13694 {
13695 PyThreadState* __tstate = wxPyBeginAllowThreads();
13696 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13697
13698 wxPyEndAllowThreads(__tstate);
13699 if (PyErr_Occurred()) SWIG_fail;
13700 }
13701 Py_INCREF(Py_None); resultobj = Py_None;
13702 return resultobj;
13703 fail:
13704 return NULL;
13705 }
13706
13707
13708 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13709 PyObject *resultobj;
13710 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13711 wxString *arg2 = 0 ;
13712 bool temp2 = False ;
13713 PyObject * obj0 = 0 ;
13714 PyObject * obj1 = 0 ;
13715 char *kwnames[] = {
13716 (char *) "self",(char *) "label", NULL
13717 };
13718
13719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13721 {
13722 arg2 = wxString_in_helper(obj1);
13723 if (arg2 == NULL) SWIG_fail;
13724 temp2 = True;
13725 }
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 (arg1)->SetLabel((wxString const &)*arg2);
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 Py_INCREF(Py_None); resultobj = Py_None;
13734 {
13735 if (temp2)
13736 delete arg2;
13737 }
13738 return resultobj;
13739 fail:
13740 {
13741 if (temp2)
13742 delete arg2;
13743 }
13744 return NULL;
13745 }
13746
13747
13748 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj;
13750 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13751 PyObject * obj0 = 0 ;
13752 char *kwnames[] = {
13753 (char *) "self", NULL
13754 };
13755
13756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13758 {
13759 PyThreadState* __tstate = wxPyBeginAllowThreads();
13760 (arg1)->Detach();
13761
13762 wxPyEndAllowThreads(__tstate);
13763 if (PyErr_Occurred()) SWIG_fail;
13764 }
13765 Py_INCREF(Py_None); resultobj = Py_None;
13766 return resultobj;
13767 fail:
13768 return NULL;
13769 }
13770
13771
13772 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13773 PyObject *resultobj;
13774 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13775 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13776 PyObject * obj0 = 0 ;
13777 PyObject * obj1 = 0 ;
13778 char *kwnames[] = {
13779 (char *) "self",(char *) "tbar", NULL
13780 };
13781
13782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13785 {
13786 PyThreadState* __tstate = wxPyBeginAllowThreads();
13787 (arg1)->Attach(arg2);
13788
13789 wxPyEndAllowThreads(__tstate);
13790 if (PyErr_Occurred()) SWIG_fail;
13791 }
13792 Py_INCREF(Py_None); resultobj = Py_None;
13793 return resultobj;
13794 fail:
13795 return NULL;
13796 }
13797
13798
13799 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13800 PyObject *resultobj;
13801 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13802 PyObject *result;
13803 PyObject * obj0 = 0 ;
13804 char *kwnames[] = {
13805 (char *) "self", NULL
13806 };
13807
13808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13810 {
13811 PyThreadState* __tstate = wxPyBeginAllowThreads();
13812 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13813
13814 wxPyEndAllowThreads(__tstate);
13815 if (PyErr_Occurred()) SWIG_fail;
13816 }
13817 resultobj = result;
13818 return resultobj;
13819 fail:
13820 return NULL;
13821 }
13822
13823
13824 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13825 PyObject *resultobj;
13826 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13827 PyObject *arg2 = (PyObject *) 0 ;
13828 PyObject * obj0 = 0 ;
13829 PyObject * obj1 = 0 ;
13830 char *kwnames[] = {
13831 (char *) "self",(char *) "clientData", NULL
13832 };
13833
13834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13836 arg2 = obj1;
13837 {
13838 PyThreadState* __tstate = wxPyBeginAllowThreads();
13839 wxToolBarToolBase_SetClientData(arg1,arg2);
13840
13841 wxPyEndAllowThreads(__tstate);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 }
13844 Py_INCREF(Py_None); resultobj = Py_None;
13845 return resultobj;
13846 fail:
13847 return NULL;
13848 }
13849
13850
13851 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13852 PyObject *obj;
13853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13854 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13855 Py_INCREF(obj);
13856 return Py_BuildValue((char *)"");
13857 }
13858 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13859 PyObject *resultobj;
13860 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13861 int arg2 ;
13862 wxString *arg3 = 0 ;
13863 wxBitmap *arg4 = 0 ;
13864 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13865 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13866 int arg6 = (int) wxITEM_NORMAL ;
13867 wxString const &arg7_defvalue = wxPyEmptyString ;
13868 wxString *arg7 = (wxString *) &arg7_defvalue ;
13869 wxString const &arg8_defvalue = wxPyEmptyString ;
13870 wxString *arg8 = (wxString *) &arg8_defvalue ;
13871 PyObject *arg9 = (PyObject *) NULL ;
13872 wxToolBarToolBase *result;
13873 bool temp3 = False ;
13874 bool temp7 = False ;
13875 bool temp8 = False ;
13876 PyObject * obj0 = 0 ;
13877 PyObject * obj2 = 0 ;
13878 PyObject * obj3 = 0 ;
13879 PyObject * obj4 = 0 ;
13880 PyObject * obj6 = 0 ;
13881 PyObject * obj7 = 0 ;
13882 PyObject * obj8 = 0 ;
13883 char *kwnames[] = {
13884 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13885 };
13886
13887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13889 {
13890 arg3 = wxString_in_helper(obj2);
13891 if (arg3 == NULL) SWIG_fail;
13892 temp3 = True;
13893 }
13894 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13895 if (arg4 == NULL) {
13896 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13897 }
13898 if (obj4) {
13899 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13900 if (arg5 == NULL) {
13901 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13902 }
13903 }
13904 if (obj6) {
13905 {
13906 arg7 = wxString_in_helper(obj6);
13907 if (arg7 == NULL) SWIG_fail;
13908 temp7 = True;
13909 }
13910 }
13911 if (obj7) {
13912 {
13913 arg8 = wxString_in_helper(obj7);
13914 if (arg8 == NULL) SWIG_fail;
13915 temp8 = True;
13916 }
13917 }
13918 if (obj8) {
13919 arg9 = obj8;
13920 }
13921 {
13922 PyThreadState* __tstate = wxPyBeginAllowThreads();
13923 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13924
13925 wxPyEndAllowThreads(__tstate);
13926 if (PyErr_Occurred()) SWIG_fail;
13927 }
13928 {
13929 resultobj = wxPyMake_wxObject(result);
13930 }
13931 {
13932 if (temp3)
13933 delete arg3;
13934 }
13935 {
13936 if (temp7)
13937 delete arg7;
13938 }
13939 {
13940 if (temp8)
13941 delete arg8;
13942 }
13943 return resultobj;
13944 fail:
13945 {
13946 if (temp3)
13947 delete arg3;
13948 }
13949 {
13950 if (temp7)
13951 delete arg7;
13952 }
13953 {
13954 if (temp8)
13955 delete arg8;
13956 }
13957 return NULL;
13958 }
13959
13960
13961 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13962 PyObject *resultobj;
13963 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13964 size_t arg2 ;
13965 int arg3 ;
13966 wxString *arg4 = 0 ;
13967 wxBitmap *arg5 = 0 ;
13968 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13969 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13970 int arg7 = (int) wxITEM_NORMAL ;
13971 wxString const &arg8_defvalue = wxPyEmptyString ;
13972 wxString *arg8 = (wxString *) &arg8_defvalue ;
13973 wxString const &arg9_defvalue = wxPyEmptyString ;
13974 wxString *arg9 = (wxString *) &arg9_defvalue ;
13975 PyObject *arg10 = (PyObject *) NULL ;
13976 wxToolBarToolBase *result;
13977 bool temp4 = False ;
13978 bool temp8 = False ;
13979 bool temp9 = False ;
13980 PyObject * obj0 = 0 ;
13981 PyObject * obj1 = 0 ;
13982 PyObject * obj3 = 0 ;
13983 PyObject * obj4 = 0 ;
13984 PyObject * obj5 = 0 ;
13985 PyObject * obj7 = 0 ;
13986 PyObject * obj8 = 0 ;
13987 PyObject * obj9 = 0 ;
13988 char *kwnames[] = {
13989 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13990 };
13991
13992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13994 {
13995 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 }
13998 {
13999 arg4 = wxString_in_helper(obj3);
14000 if (arg4 == NULL) SWIG_fail;
14001 temp4 = True;
14002 }
14003 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14004 if (arg5 == NULL) {
14005 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14006 }
14007 if (obj5) {
14008 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14009 if (arg6 == NULL) {
14010 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14011 }
14012 }
14013 if (obj7) {
14014 {
14015 arg8 = wxString_in_helper(obj7);
14016 if (arg8 == NULL) SWIG_fail;
14017 temp8 = True;
14018 }
14019 }
14020 if (obj8) {
14021 {
14022 arg9 = wxString_in_helper(obj8);
14023 if (arg9 == NULL) SWIG_fail;
14024 temp9 = True;
14025 }
14026 }
14027 if (obj9) {
14028 arg10 = obj9;
14029 }
14030 {
14031 PyThreadState* __tstate = wxPyBeginAllowThreads();
14032 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);
14033
14034 wxPyEndAllowThreads(__tstate);
14035 if (PyErr_Occurred()) SWIG_fail;
14036 }
14037 {
14038 resultobj = wxPyMake_wxObject(result);
14039 }
14040 {
14041 if (temp4)
14042 delete arg4;
14043 }
14044 {
14045 if (temp8)
14046 delete arg8;
14047 }
14048 {
14049 if (temp9)
14050 delete arg9;
14051 }
14052 return resultobj;
14053 fail:
14054 {
14055 if (temp4)
14056 delete arg4;
14057 }
14058 {
14059 if (temp8)
14060 delete arg8;
14061 }
14062 {
14063 if (temp9)
14064 delete arg9;
14065 }
14066 return NULL;
14067 }
14068
14069
14070 static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14071 PyObject *resultobj;
14072 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14073 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
14074 wxToolBarToolBase *result;
14075 PyObject * obj0 = 0 ;
14076 PyObject * obj1 = 0 ;
14077 char *kwnames[] = {
14078 (char *) "self",(char *) "tool", NULL
14079 };
14080
14081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
14082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14084 {
14085 PyThreadState* __tstate = wxPyBeginAllowThreads();
14086 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
14087
14088 wxPyEndAllowThreads(__tstate);
14089 if (PyErr_Occurred()) SWIG_fail;
14090 }
14091 {
14092 resultobj = wxPyMake_wxObject(result);
14093 }
14094 return resultobj;
14095 fail:
14096 return NULL;
14097 }
14098
14099
14100 static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
14101 PyObject *resultobj;
14102 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14103 size_t arg2 ;
14104 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
14105 wxToolBarToolBase *result;
14106 PyObject * obj0 = 0 ;
14107 PyObject * obj1 = 0 ;
14108 PyObject * obj2 = 0 ;
14109 char *kwnames[] = {
14110 (char *) "self",(char *) "pos",(char *) "tool", NULL
14111 };
14112
14113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
14114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14115 {
14116 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14117 if (PyErr_Occurred()) SWIG_fail;
14118 }
14119 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14120 {
14121 PyThreadState* __tstate = wxPyBeginAllowThreads();
14122 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
14123
14124 wxPyEndAllowThreads(__tstate);
14125 if (PyErr_Occurred()) SWIG_fail;
14126 }
14127 {
14128 resultobj = wxPyMake_wxObject(result);
14129 }
14130 return resultobj;
14131 fail:
14132 return NULL;
14133 }
14134
14135
14136 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14137 PyObject *resultobj;
14138 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14139 wxControl *arg2 = (wxControl *) 0 ;
14140 wxToolBarToolBase *result;
14141 PyObject * obj0 = 0 ;
14142 PyObject * obj1 = 0 ;
14143 char *kwnames[] = {
14144 (char *) "self",(char *) "control", NULL
14145 };
14146
14147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
14148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14150 {
14151 PyThreadState* __tstate = wxPyBeginAllowThreads();
14152 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
14153
14154 wxPyEndAllowThreads(__tstate);
14155 if (PyErr_Occurred()) SWIG_fail;
14156 }
14157 {
14158 resultobj = wxPyMake_wxObject(result);
14159 }
14160 return resultobj;
14161 fail:
14162 return NULL;
14163 }
14164
14165
14166 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14167 PyObject *resultobj;
14168 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14169 size_t arg2 ;
14170 wxControl *arg3 = (wxControl *) 0 ;
14171 wxToolBarToolBase *result;
14172 PyObject * obj0 = 0 ;
14173 PyObject * obj1 = 0 ;
14174 PyObject * obj2 = 0 ;
14175 char *kwnames[] = {
14176 (char *) "self",(char *) "pos",(char *) "control", NULL
14177 };
14178
14179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
14180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14181 {
14182 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14183 if (PyErr_Occurred()) SWIG_fail;
14184 }
14185 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 {
14194 resultobj = wxPyMake_wxObject(result);
14195 }
14196 return resultobj;
14197 fail:
14198 return NULL;
14199 }
14200
14201
14202 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
14203 PyObject *resultobj;
14204 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14205 int arg2 ;
14206 wxControl *result;
14207 PyObject * obj0 = 0 ;
14208 char *kwnames[] = {
14209 (char *) "self",(char *) "id", NULL
14210 };
14211
14212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
14213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 result = (wxControl *)(arg1)->FindControl(arg2);
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 {
14222 resultobj = wxPyMake_wxObject(result);
14223 }
14224 return resultobj;
14225 fail:
14226 return NULL;
14227 }
14228
14229
14230 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14231 PyObject *resultobj;
14232 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14233 wxToolBarToolBase *result;
14234 PyObject * obj0 = 0 ;
14235 char *kwnames[] = {
14236 (char *) "self", NULL
14237 };
14238
14239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
14240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14241 {
14242 PyThreadState* __tstate = wxPyBeginAllowThreads();
14243 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
14244
14245 wxPyEndAllowThreads(__tstate);
14246 if (PyErr_Occurred()) SWIG_fail;
14247 }
14248 {
14249 resultobj = wxPyMake_wxObject(result);
14250 }
14251 return resultobj;
14252 fail:
14253 return NULL;
14254 }
14255
14256
14257 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
14258 PyObject *resultobj;
14259 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14260 size_t arg2 ;
14261 wxToolBarToolBase *result;
14262 PyObject * obj0 = 0 ;
14263 PyObject * obj1 = 0 ;
14264 char *kwnames[] = {
14265 (char *) "self",(char *) "pos", NULL
14266 };
14267
14268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
14269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14270 {
14271 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14272 if (PyErr_Occurred()) SWIG_fail;
14273 }
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
14277
14278 wxPyEndAllowThreads(__tstate);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 }
14281 {
14282 resultobj = wxPyMake_wxObject(result);
14283 }
14284 return resultobj;
14285 fail:
14286 return NULL;
14287 }
14288
14289
14290 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14291 PyObject *resultobj;
14292 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14293 int arg2 ;
14294 wxToolBarToolBase *result;
14295 PyObject * obj0 = 0 ;
14296 char *kwnames[] = {
14297 (char *) "self",(char *) "id", NULL
14298 };
14299
14300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
14301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14302 {
14303 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
14305
14306 wxPyEndAllowThreads(__tstate);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 }
14309 {
14310 resultobj = wxPyMake_wxObject(result);
14311 }
14312 return resultobj;
14313 fail:
14314 return NULL;
14315 }
14316
14317
14318 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14319 PyObject *resultobj;
14320 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14321 size_t arg2 ;
14322 bool result;
14323 PyObject * obj0 = 0 ;
14324 PyObject * obj1 = 0 ;
14325 char *kwnames[] = {
14326 (char *) "self",(char *) "pos", NULL
14327 };
14328
14329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
14330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14331 {
14332 arg2 = (size_t) SPyObj_AsUnsignedLong(obj1);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
14335 {
14336 PyThreadState* __tstate = wxPyBeginAllowThreads();
14337 result = (bool)(arg1)->DeleteToolByPos(arg2);
14338
14339 wxPyEndAllowThreads(__tstate);
14340 if (PyErr_Occurred()) SWIG_fail;
14341 }
14342 resultobj = PyInt_FromLong((long)result);
14343 return resultobj;
14344 fail:
14345 return NULL;
14346 }
14347
14348
14349 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14350 PyObject *resultobj;
14351 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14352 int arg2 ;
14353 bool result;
14354 PyObject * obj0 = 0 ;
14355 char *kwnames[] = {
14356 (char *) "self",(char *) "id", NULL
14357 };
14358
14359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14361 {
14362 PyThreadState* __tstate = wxPyBeginAllowThreads();
14363 result = (bool)(arg1)->DeleteTool(arg2);
14364
14365 wxPyEndAllowThreads(__tstate);
14366 if (PyErr_Occurred()) SWIG_fail;
14367 }
14368 resultobj = PyInt_FromLong((long)result);
14369 return resultobj;
14370 fail:
14371 return NULL;
14372 }
14373
14374
14375 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14376 PyObject *resultobj;
14377 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14378 PyObject * obj0 = 0 ;
14379 char *kwnames[] = {
14380 (char *) "self", NULL
14381 };
14382
14383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14385 {
14386 PyThreadState* __tstate = wxPyBeginAllowThreads();
14387 (arg1)->ClearTools();
14388
14389 wxPyEndAllowThreads(__tstate);
14390 if (PyErr_Occurred()) SWIG_fail;
14391 }
14392 Py_INCREF(Py_None); resultobj = Py_None;
14393 return resultobj;
14394 fail:
14395 return NULL;
14396 }
14397
14398
14399 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14400 PyObject *resultobj;
14401 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14402 bool result;
14403 PyObject * obj0 = 0 ;
14404 char *kwnames[] = {
14405 (char *) "self", NULL
14406 };
14407
14408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14410 {
14411 PyThreadState* __tstate = wxPyBeginAllowThreads();
14412 result = (bool)(arg1)->Realize();
14413
14414 wxPyEndAllowThreads(__tstate);
14415 if (PyErr_Occurred()) SWIG_fail;
14416 }
14417 resultobj = PyInt_FromLong((long)result);
14418 return resultobj;
14419 fail:
14420 return NULL;
14421 }
14422
14423
14424 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14425 PyObject *resultobj;
14426 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14427 int arg2 ;
14428 bool arg3 ;
14429 PyObject * obj0 = 0 ;
14430 PyObject * obj2 = 0 ;
14431 char *kwnames[] = {
14432 (char *) "self",(char *) "id",(char *) "enable", NULL
14433 };
14434
14435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14437 {
14438 arg3 = (bool) SPyObj_AsBool(obj2);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 {
14442 PyThreadState* __tstate = wxPyBeginAllowThreads();
14443 (arg1)->EnableTool(arg2,arg3);
14444
14445 wxPyEndAllowThreads(__tstate);
14446 if (PyErr_Occurred()) SWIG_fail;
14447 }
14448 Py_INCREF(Py_None); resultobj = Py_None;
14449 return resultobj;
14450 fail:
14451 return NULL;
14452 }
14453
14454
14455 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14456 PyObject *resultobj;
14457 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14458 int arg2 ;
14459 bool arg3 ;
14460 PyObject * obj0 = 0 ;
14461 PyObject * obj2 = 0 ;
14462 char *kwnames[] = {
14463 (char *) "self",(char *) "id",(char *) "toggle", NULL
14464 };
14465
14466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14468 {
14469 arg3 = (bool) SPyObj_AsBool(obj2);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 {
14473 PyThreadState* __tstate = wxPyBeginAllowThreads();
14474 (arg1)->ToggleTool(arg2,arg3);
14475
14476 wxPyEndAllowThreads(__tstate);
14477 if (PyErr_Occurred()) SWIG_fail;
14478 }
14479 Py_INCREF(Py_None); resultobj = Py_None;
14480 return resultobj;
14481 fail:
14482 return NULL;
14483 }
14484
14485
14486 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14487 PyObject *resultobj;
14488 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14489 int arg2 ;
14490 bool arg3 ;
14491 PyObject * obj0 = 0 ;
14492 PyObject * obj2 = 0 ;
14493 char *kwnames[] = {
14494 (char *) "self",(char *) "id",(char *) "toggle", NULL
14495 };
14496
14497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14499 {
14500 arg3 = (bool) SPyObj_AsBool(obj2);
14501 if (PyErr_Occurred()) SWIG_fail;
14502 }
14503 {
14504 PyThreadState* __tstate = wxPyBeginAllowThreads();
14505 (arg1)->SetToggle(arg2,arg3);
14506
14507 wxPyEndAllowThreads(__tstate);
14508 if (PyErr_Occurred()) SWIG_fail;
14509 }
14510 Py_INCREF(Py_None); resultobj = Py_None;
14511 return resultobj;
14512 fail:
14513 return NULL;
14514 }
14515
14516
14517 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14518 PyObject *resultobj;
14519 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14520 int arg2 ;
14521 PyObject *result;
14522 PyObject * obj0 = 0 ;
14523 char *kwnames[] = {
14524 (char *) "self",(char *) "id", NULL
14525 };
14526
14527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14529 {
14530 PyThreadState* __tstate = wxPyBeginAllowThreads();
14531 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14532
14533 wxPyEndAllowThreads(__tstate);
14534 if (PyErr_Occurred()) SWIG_fail;
14535 }
14536 resultobj = result;
14537 return resultobj;
14538 fail:
14539 return NULL;
14540 }
14541
14542
14543 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14544 PyObject *resultobj;
14545 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14546 int arg2 ;
14547 PyObject *arg3 = (PyObject *) 0 ;
14548 PyObject * obj0 = 0 ;
14549 PyObject * obj2 = 0 ;
14550 char *kwnames[] = {
14551 (char *) "self",(char *) "id",(char *) "clientData", NULL
14552 };
14553
14554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14556 arg3 = obj2;
14557 {
14558 PyThreadState* __tstate = wxPyBeginAllowThreads();
14559 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14560
14561 wxPyEndAllowThreads(__tstate);
14562 if (PyErr_Occurred()) SWIG_fail;
14563 }
14564 Py_INCREF(Py_None); resultobj = Py_None;
14565 return resultobj;
14566 fail:
14567 return NULL;
14568 }
14569
14570
14571 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14572 PyObject *resultobj;
14573 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14574 int arg2 ;
14575 int result;
14576 PyObject * obj0 = 0 ;
14577 char *kwnames[] = {
14578 (char *) "self",(char *) "id", NULL
14579 };
14580
14581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14583 {
14584 PyThreadState* __tstate = wxPyBeginAllowThreads();
14585 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14586
14587 wxPyEndAllowThreads(__tstate);
14588 if (PyErr_Occurred()) SWIG_fail;
14589 }
14590 resultobj = PyInt_FromLong((long)result);
14591 return resultobj;
14592 fail:
14593 return NULL;
14594 }
14595
14596
14597 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14598 PyObject *resultobj;
14599 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14600 int arg2 ;
14601 bool result;
14602 PyObject * obj0 = 0 ;
14603 char *kwnames[] = {
14604 (char *) "self",(char *) "id", NULL
14605 };
14606
14607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14609 {
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 result = (bool)(arg1)->GetToolState(arg2);
14612
14613 wxPyEndAllowThreads(__tstate);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 resultobj = PyInt_FromLong((long)result);
14617 return resultobj;
14618 fail:
14619 return NULL;
14620 }
14621
14622
14623 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14624 PyObject *resultobj;
14625 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14626 int arg2 ;
14627 bool result;
14628 PyObject * obj0 = 0 ;
14629 char *kwnames[] = {
14630 (char *) "self",(char *) "id", NULL
14631 };
14632
14633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14635 {
14636 PyThreadState* __tstate = wxPyBeginAllowThreads();
14637 result = (bool)(arg1)->GetToolEnabled(arg2);
14638
14639 wxPyEndAllowThreads(__tstate);
14640 if (PyErr_Occurred()) SWIG_fail;
14641 }
14642 resultobj = PyInt_FromLong((long)result);
14643 return resultobj;
14644 fail:
14645 return NULL;
14646 }
14647
14648
14649 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14650 PyObject *resultobj;
14651 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14652 int arg2 ;
14653 wxString *arg3 = 0 ;
14654 bool temp3 = False ;
14655 PyObject * obj0 = 0 ;
14656 PyObject * obj2 = 0 ;
14657 char *kwnames[] = {
14658 (char *) "self",(char *) "id",(char *) "helpString", NULL
14659 };
14660
14661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14663 {
14664 arg3 = wxString_in_helper(obj2);
14665 if (arg3 == NULL) SWIG_fail;
14666 temp3 = True;
14667 }
14668 {
14669 PyThreadState* __tstate = wxPyBeginAllowThreads();
14670 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14671
14672 wxPyEndAllowThreads(__tstate);
14673 if (PyErr_Occurred()) SWIG_fail;
14674 }
14675 Py_INCREF(Py_None); resultobj = Py_None;
14676 {
14677 if (temp3)
14678 delete arg3;
14679 }
14680 return resultobj;
14681 fail:
14682 {
14683 if (temp3)
14684 delete arg3;
14685 }
14686 return NULL;
14687 }
14688
14689
14690 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14691 PyObject *resultobj;
14692 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14693 int arg2 ;
14694 wxString result;
14695 PyObject * obj0 = 0 ;
14696 char *kwnames[] = {
14697 (char *) "self",(char *) "id", NULL
14698 };
14699
14700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 result = (arg1)->GetToolShortHelp(arg2);
14705
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 {
14710 #if wxUSE_UNICODE
14711 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14712 #else
14713 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14714 #endif
14715 }
14716 return resultobj;
14717 fail:
14718 return NULL;
14719 }
14720
14721
14722 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14723 PyObject *resultobj;
14724 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14725 int arg2 ;
14726 wxString *arg3 = 0 ;
14727 bool temp3 = False ;
14728 PyObject * obj0 = 0 ;
14729 PyObject * obj2 = 0 ;
14730 char *kwnames[] = {
14731 (char *) "self",(char *) "id",(char *) "helpString", NULL
14732 };
14733
14734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14736 {
14737 arg3 = wxString_in_helper(obj2);
14738 if (arg3 == NULL) SWIG_fail;
14739 temp3 = True;
14740 }
14741 {
14742 PyThreadState* __tstate = wxPyBeginAllowThreads();
14743 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14744
14745 wxPyEndAllowThreads(__tstate);
14746 if (PyErr_Occurred()) SWIG_fail;
14747 }
14748 Py_INCREF(Py_None); resultobj = Py_None;
14749 {
14750 if (temp3)
14751 delete arg3;
14752 }
14753 return resultobj;
14754 fail:
14755 {
14756 if (temp3)
14757 delete arg3;
14758 }
14759 return NULL;
14760 }
14761
14762
14763 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14764 PyObject *resultobj;
14765 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14766 int arg2 ;
14767 wxString result;
14768 PyObject * obj0 = 0 ;
14769 char *kwnames[] = {
14770 (char *) "self",(char *) "id", NULL
14771 };
14772
14773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14775 {
14776 PyThreadState* __tstate = wxPyBeginAllowThreads();
14777 result = (arg1)->GetToolLongHelp(arg2);
14778
14779 wxPyEndAllowThreads(__tstate);
14780 if (PyErr_Occurred()) SWIG_fail;
14781 }
14782 {
14783 #if wxUSE_UNICODE
14784 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14785 #else
14786 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14787 #endif
14788 }
14789 return resultobj;
14790 fail:
14791 return NULL;
14792 }
14793
14794
14795 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14796 PyObject *resultobj;
14797 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14798 int arg2 ;
14799 int arg3 ;
14800 PyObject * obj0 = 0 ;
14801 char *kwnames[] = {
14802 (char *) "self",(char *) "x",(char *) "y", NULL
14803 };
14804
14805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14807 {
14808 PyThreadState* __tstate = wxPyBeginAllowThreads();
14809 (arg1)->SetMargins(arg2,arg3);
14810
14811 wxPyEndAllowThreads(__tstate);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 }
14814 Py_INCREF(Py_None); resultobj = Py_None;
14815 return resultobj;
14816 fail:
14817 return NULL;
14818 }
14819
14820
14821 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14822 PyObject *resultobj;
14823 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14824 wxSize *arg2 = 0 ;
14825 wxSize temp2 ;
14826 PyObject * obj0 = 0 ;
14827 PyObject * obj1 = 0 ;
14828 char *kwnames[] = {
14829 (char *) "self",(char *) "size", NULL
14830 };
14831
14832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14834 {
14835 arg2 = &temp2;
14836 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14837 }
14838 {
14839 PyThreadState* __tstate = wxPyBeginAllowThreads();
14840 (arg1)->SetMargins((wxSize const &)*arg2);
14841
14842 wxPyEndAllowThreads(__tstate);
14843 if (PyErr_Occurred()) SWIG_fail;
14844 }
14845 Py_INCREF(Py_None); resultobj = Py_None;
14846 return resultobj;
14847 fail:
14848 return NULL;
14849 }
14850
14851
14852 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14853 PyObject *resultobj;
14854 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14855 int arg2 ;
14856 PyObject * obj0 = 0 ;
14857 char *kwnames[] = {
14858 (char *) "self",(char *) "packing", NULL
14859 };
14860
14861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14863 {
14864 PyThreadState* __tstate = wxPyBeginAllowThreads();
14865 (arg1)->SetToolPacking(arg2);
14866
14867 wxPyEndAllowThreads(__tstate);
14868 if (PyErr_Occurred()) SWIG_fail;
14869 }
14870 Py_INCREF(Py_None); resultobj = Py_None;
14871 return resultobj;
14872 fail:
14873 return NULL;
14874 }
14875
14876
14877 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14878 PyObject *resultobj;
14879 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14880 int arg2 ;
14881 PyObject * obj0 = 0 ;
14882 char *kwnames[] = {
14883 (char *) "self",(char *) "separation", NULL
14884 };
14885
14886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14888 {
14889 PyThreadState* __tstate = wxPyBeginAllowThreads();
14890 (arg1)->SetToolSeparation(arg2);
14891
14892 wxPyEndAllowThreads(__tstate);
14893 if (PyErr_Occurred()) SWIG_fail;
14894 }
14895 Py_INCREF(Py_None); resultobj = Py_None;
14896 return resultobj;
14897 fail:
14898 return NULL;
14899 }
14900
14901
14902 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14903 PyObject *resultobj;
14904 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14905 wxSize result;
14906 PyObject * obj0 = 0 ;
14907 char *kwnames[] = {
14908 (char *) "self", NULL
14909 };
14910
14911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14913 {
14914 PyThreadState* __tstate = wxPyBeginAllowThreads();
14915 result = (arg1)->GetToolMargins();
14916
14917 wxPyEndAllowThreads(__tstate);
14918 if (PyErr_Occurred()) SWIG_fail;
14919 }
14920 {
14921 wxSize * resultptr;
14922 resultptr = new wxSize((wxSize &) result);
14923 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14924 }
14925 return resultobj;
14926 fail:
14927 return NULL;
14928 }
14929
14930
14931 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14932 PyObject *resultobj;
14933 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14934 wxSize result;
14935 PyObject * obj0 = 0 ;
14936 char *kwnames[] = {
14937 (char *) "self", NULL
14938 };
14939
14940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14942 {
14943 PyThreadState* __tstate = wxPyBeginAllowThreads();
14944 result = (arg1)->GetMargins();
14945
14946 wxPyEndAllowThreads(__tstate);
14947 if (PyErr_Occurred()) SWIG_fail;
14948 }
14949 {
14950 wxSize * resultptr;
14951 resultptr = new wxSize((wxSize &) result);
14952 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14953 }
14954 return resultobj;
14955 fail:
14956 return NULL;
14957 }
14958
14959
14960 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj;
14962 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14963 int result;
14964 PyObject * obj0 = 0 ;
14965 char *kwnames[] = {
14966 (char *) "self", NULL
14967 };
14968
14969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14971 {
14972 PyThreadState* __tstate = wxPyBeginAllowThreads();
14973 result = (int)(arg1)->GetToolPacking();
14974
14975 wxPyEndAllowThreads(__tstate);
14976 if (PyErr_Occurred()) SWIG_fail;
14977 }
14978 resultobj = PyInt_FromLong((long)result);
14979 return resultobj;
14980 fail:
14981 return NULL;
14982 }
14983
14984
14985 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14986 PyObject *resultobj;
14987 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14988 int result;
14989 PyObject * obj0 = 0 ;
14990 char *kwnames[] = {
14991 (char *) "self", NULL
14992 };
14993
14994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14996 {
14997 PyThreadState* __tstate = wxPyBeginAllowThreads();
14998 result = (int)(arg1)->GetToolSeparation();
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
15003 resultobj = PyInt_FromLong((long)result);
15004 return resultobj;
15005 fail:
15006 return NULL;
15007 }
15008
15009
15010 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15011 PyObject *resultobj;
15012 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15013 int arg2 ;
15014 PyObject * obj0 = 0 ;
15015 char *kwnames[] = {
15016 (char *) "self",(char *) "nRows", NULL
15017 };
15018
15019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
15020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15021 {
15022 PyThreadState* __tstate = wxPyBeginAllowThreads();
15023 (arg1)->SetRows(arg2);
15024
15025 wxPyEndAllowThreads(__tstate);
15026 if (PyErr_Occurred()) SWIG_fail;
15027 }
15028 Py_INCREF(Py_None); resultobj = Py_None;
15029 return resultobj;
15030 fail:
15031 return NULL;
15032 }
15033
15034
15035 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15036 PyObject *resultobj;
15037 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15038 int arg2 ;
15039 int arg3 ;
15040 PyObject * obj0 = 0 ;
15041 char *kwnames[] = {
15042 (char *) "self",(char *) "rows",(char *) "cols", NULL
15043 };
15044
15045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
15046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15047 {
15048 PyThreadState* __tstate = wxPyBeginAllowThreads();
15049 (arg1)->SetMaxRowsCols(arg2,arg3);
15050
15051 wxPyEndAllowThreads(__tstate);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 }
15054 Py_INCREF(Py_None); resultobj = Py_None;
15055 return resultobj;
15056 fail:
15057 return NULL;
15058 }
15059
15060
15061 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
15062 PyObject *resultobj;
15063 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15064 int result;
15065 PyObject * obj0 = 0 ;
15066 char *kwnames[] = {
15067 (char *) "self", NULL
15068 };
15069
15070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
15071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 result = (int)(arg1)->GetMaxRows();
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 resultobj = PyInt_FromLong((long)result);
15080 return resultobj;
15081 fail:
15082 return NULL;
15083 }
15084
15085
15086 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
15087 PyObject *resultobj;
15088 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15089 int result;
15090 PyObject * obj0 = 0 ;
15091 char *kwnames[] = {
15092 (char *) "self", NULL
15093 };
15094
15095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
15096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15097 {
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 result = (int)(arg1)->GetMaxCols();
15100
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 resultobj = PyInt_FromLong((long)result);
15105 return resultobj;
15106 fail:
15107 return NULL;
15108 }
15109
15110
15111 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15112 PyObject *resultobj;
15113 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15114 wxSize *arg2 = 0 ;
15115 wxSize temp2 ;
15116 PyObject * obj0 = 0 ;
15117 PyObject * obj1 = 0 ;
15118 char *kwnames[] = {
15119 (char *) "self",(char *) "size", NULL
15120 };
15121
15122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
15123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15124 {
15125 arg2 = &temp2;
15126 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15127 }
15128 {
15129 PyThreadState* __tstate = wxPyBeginAllowThreads();
15130 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
15131
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 Py_INCREF(Py_None); resultobj = Py_None;
15136 return resultobj;
15137 fail:
15138 return NULL;
15139 }
15140
15141
15142 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj;
15144 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15145 wxSize result;
15146 PyObject * obj0 = 0 ;
15147 char *kwnames[] = {
15148 (char *) "self", NULL
15149 };
15150
15151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
15152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15153 {
15154 PyThreadState* __tstate = wxPyBeginAllowThreads();
15155 result = (arg1)->GetToolBitmapSize();
15156
15157 wxPyEndAllowThreads(__tstate);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15160 {
15161 wxSize * resultptr;
15162 resultptr = new wxSize((wxSize &) result);
15163 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15164 }
15165 return resultobj;
15166 fail:
15167 return NULL;
15168 }
15169
15170
15171 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj;
15173 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15174 wxSize result;
15175 PyObject * obj0 = 0 ;
15176 char *kwnames[] = {
15177 (char *) "self", NULL
15178 };
15179
15180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
15181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15182 {
15183 PyThreadState* __tstate = wxPyBeginAllowThreads();
15184 result = (arg1)->GetToolSize();
15185
15186 wxPyEndAllowThreads(__tstate);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 {
15190 wxSize * resultptr;
15191 resultptr = new wxSize((wxSize &) result);
15192 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15193 }
15194 return resultobj;
15195 fail:
15196 return NULL;
15197 }
15198
15199
15200 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15201 PyObject *resultobj;
15202 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15203 int arg2 ;
15204 int arg3 ;
15205 wxToolBarToolBase *result;
15206 PyObject * obj0 = 0 ;
15207 char *kwnames[] = {
15208 (char *) "self",(char *) "x",(char *) "y", NULL
15209 };
15210
15211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15213 {
15214 PyThreadState* __tstate = wxPyBeginAllowThreads();
15215 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15216
15217 wxPyEndAllowThreads(__tstate);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15220 {
15221 resultobj = wxPyMake_wxObject(result);
15222 }
15223 return resultobj;
15224 fail:
15225 return NULL;
15226 }
15227
15228
15229 static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
15230 PyObject *resultobj;
15231 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15232 int arg2 ;
15233 wxToolBarToolBase *result;
15234 PyObject * obj0 = 0 ;
15235 char *kwnames[] = {
15236 (char *) "self",(char *) "toolid", NULL
15237 };
15238
15239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
15240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15241 {
15242 PyThreadState* __tstate = wxPyBeginAllowThreads();
15243 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
15244
15245 wxPyEndAllowThreads(__tstate);
15246 if (PyErr_Occurred()) SWIG_fail;
15247 }
15248 {
15249 resultobj = wxPyMake_wxObject(result);
15250 }
15251 return resultobj;
15252 fail:
15253 return NULL;
15254 }
15255
15256
15257 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
15258 PyObject *resultobj;
15259 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
15260 bool result;
15261 PyObject * obj0 = 0 ;
15262 char *kwnames[] = {
15263 (char *) "self", NULL
15264 };
15265
15266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
15267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 result = (bool)(arg1)->IsVertical();
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 resultobj = PyInt_FromLong((long)result);
15276 return resultobj;
15277 fail:
15278 return NULL;
15279 }
15280
15281
15282 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
15283 PyObject *obj;
15284 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15285 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
15286 Py_INCREF(obj);
15287 return Py_BuildValue((char *)"");
15288 }
15289 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15290 PyObject *resultobj;
15291 wxWindow *arg1 = (wxWindow *) 0 ;
15292 int arg2 ;
15293 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15294 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15295 wxSize const &arg4_defvalue = wxDefaultSize ;
15296 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15297 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15298 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
15299 wxString *arg6 = (wxString *) &arg6_defvalue ;
15300 wxToolBar *result;
15301 wxPoint temp3 ;
15302 wxSize temp4 ;
15303 bool temp6 = False ;
15304 PyObject * obj0 = 0 ;
15305 PyObject * obj2 = 0 ;
15306 PyObject * obj3 = 0 ;
15307 PyObject * obj5 = 0 ;
15308 char *kwnames[] = {
15309 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15310 };
15311
15312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
15313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15314 if (obj2) {
15315 {
15316 arg3 = &temp3;
15317 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15318 }
15319 }
15320 if (obj3) {
15321 {
15322 arg4 = &temp4;
15323 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15324 }
15325 }
15326 if (obj5) {
15327 {
15328 arg6 = wxString_in_helper(obj5);
15329 if (arg6 == NULL) SWIG_fail;
15330 temp6 = True;
15331 }
15332 }
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
15335 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15336
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
15340 {
15341 resultobj = wxPyMake_wxObject(result);
15342 }
15343 {
15344 if (temp6)
15345 delete arg6;
15346 }
15347 return resultobj;
15348 fail:
15349 {
15350 if (temp6)
15351 delete arg6;
15352 }
15353 return NULL;
15354 }
15355
15356
15357 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
15358 PyObject *resultobj;
15359 wxToolBar *result;
15360 char *kwnames[] = {
15361 NULL
15362 };
15363
15364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
15365 {
15366 PyThreadState* __tstate = wxPyBeginAllowThreads();
15367 result = (wxToolBar *)new wxToolBar();
15368
15369 wxPyEndAllowThreads(__tstate);
15370 if (PyErr_Occurred()) SWIG_fail;
15371 }
15372 {
15373 resultobj = wxPyMake_wxObject(result);
15374 }
15375 return resultobj;
15376 fail:
15377 return NULL;
15378 }
15379
15380
15381 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15382 PyObject *resultobj;
15383 wxToolBar *arg1 = (wxToolBar *) 0 ;
15384 wxWindow *arg2 = (wxWindow *) 0 ;
15385 int arg3 ;
15386 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15387 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15388 wxSize const &arg5_defvalue = wxDefaultSize ;
15389 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15390 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15391 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15392 wxString *arg7 = (wxString *) &arg7_defvalue ;
15393 bool result;
15394 wxPoint temp4 ;
15395 wxSize temp5 ;
15396 bool temp7 = False ;
15397 PyObject * obj0 = 0 ;
15398 PyObject * obj1 = 0 ;
15399 PyObject * obj3 = 0 ;
15400 PyObject * obj4 = 0 ;
15401 PyObject * obj6 = 0 ;
15402 char *kwnames[] = {
15403 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15404 };
15405
15406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15409 if (obj3) {
15410 {
15411 arg4 = &temp4;
15412 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15413 }
15414 }
15415 if (obj4) {
15416 {
15417 arg5 = &temp5;
15418 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15419 }
15420 }
15421 if (obj6) {
15422 {
15423 arg7 = wxString_in_helper(obj6);
15424 if (arg7 == NULL) SWIG_fail;
15425 temp7 = True;
15426 }
15427 }
15428 {
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15431
15432 wxPyEndAllowThreads(__tstate);
15433 if (PyErr_Occurred()) SWIG_fail;
15434 }
15435 resultobj = PyInt_FromLong((long)result);
15436 {
15437 if (temp7)
15438 delete arg7;
15439 }
15440 return resultobj;
15441 fail:
15442 {
15443 if (temp7)
15444 delete arg7;
15445 }
15446 return NULL;
15447 }
15448
15449
15450 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15451 PyObject *resultobj;
15452 wxToolBar *arg1 = (wxToolBar *) 0 ;
15453 int arg2 ;
15454 int arg3 ;
15455 wxToolBarToolBase *result;
15456 PyObject * obj0 = 0 ;
15457 char *kwnames[] = {
15458 (char *) "self",(char *) "x",(char *) "y", NULL
15459 };
15460
15461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15463 {
15464 PyThreadState* __tstate = wxPyBeginAllowThreads();
15465 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15466
15467 wxPyEndAllowThreads(__tstate);
15468 if (PyErr_Occurred()) SWIG_fail;
15469 }
15470 {
15471 resultobj = wxPyMake_wxObject(result);
15472 }
15473 return resultobj;
15474 fail:
15475 return NULL;
15476 }
15477
15478
15479 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15480 PyObject *obj;
15481 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15482 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15483 Py_INCREF(obj);
15484 return Py_BuildValue((char *)"");
15485 }
15486 static int _wrap_ListCtrlNameStr_set(PyObject *_val) {
15487 PyErr_SetString(PyExc_TypeError,"Variable ListCtrlNameStr is read-only.");
15488 return 1;
15489 }
15490
15491
15492 static PyObject *_wrap_ListCtrlNameStr_get() {
15493 PyObject *pyobj;
15494
15495 {
15496 #if wxUSE_UNICODE
15497 pyobj = PyUnicode_FromWideChar((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15498 #else
15499 pyobj = PyString_FromStringAndSize((&wxPyListCtrlNameStr)->c_str(), (&wxPyListCtrlNameStr)->Len());
15500 #endif
15501 }
15502 return pyobj;
15503 }
15504
15505
15506 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15507 PyObject *resultobj;
15508 wxColour const &arg1_defvalue = wxNullColour ;
15509 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15510 wxColour const &arg2_defvalue = wxNullColour ;
15511 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15512 wxFont const &arg3_defvalue = wxNullFont ;
15513 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15514 wxListItemAttr *result;
15515 wxColour temp1 ;
15516 wxColour temp2 ;
15517 PyObject * obj0 = 0 ;
15518 PyObject * obj1 = 0 ;
15519 PyObject * obj2 = 0 ;
15520 char *kwnames[] = {
15521 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15522 };
15523
15524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15525 if (obj0) {
15526 {
15527 arg1 = &temp1;
15528 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15529 }
15530 }
15531 if (obj1) {
15532 {
15533 arg2 = &temp2;
15534 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15535 }
15536 }
15537 if (obj2) {
15538 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15539 if (arg3 == NULL) {
15540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15541 }
15542 }
15543 {
15544 PyThreadState* __tstate = wxPyBeginAllowThreads();
15545 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15546
15547 wxPyEndAllowThreads(__tstate);
15548 if (PyErr_Occurred()) SWIG_fail;
15549 }
15550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15551 return resultobj;
15552 fail:
15553 return NULL;
15554 }
15555
15556
15557 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15558 PyObject *resultobj;
15559 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15560 wxColour *arg2 = 0 ;
15561 wxColour temp2 ;
15562 PyObject * obj0 = 0 ;
15563 PyObject * obj1 = 0 ;
15564 char *kwnames[] = {
15565 (char *) "self",(char *) "colText", NULL
15566 };
15567
15568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15570 {
15571 arg2 = &temp2;
15572 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15573 }
15574 {
15575 PyThreadState* __tstate = wxPyBeginAllowThreads();
15576 (arg1)->SetTextColour((wxColour const &)*arg2);
15577
15578 wxPyEndAllowThreads(__tstate);
15579 if (PyErr_Occurred()) SWIG_fail;
15580 }
15581 Py_INCREF(Py_None); resultobj = Py_None;
15582 return resultobj;
15583 fail:
15584 return NULL;
15585 }
15586
15587
15588 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15589 PyObject *resultobj;
15590 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15591 wxColour *arg2 = 0 ;
15592 wxColour temp2 ;
15593 PyObject * obj0 = 0 ;
15594 PyObject * obj1 = 0 ;
15595 char *kwnames[] = {
15596 (char *) "self",(char *) "colBack", NULL
15597 };
15598
15599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15601 {
15602 arg2 = &temp2;
15603 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15604 }
15605 {
15606 PyThreadState* __tstate = wxPyBeginAllowThreads();
15607 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15608
15609 wxPyEndAllowThreads(__tstate);
15610 if (PyErr_Occurred()) SWIG_fail;
15611 }
15612 Py_INCREF(Py_None); resultobj = Py_None;
15613 return resultobj;
15614 fail:
15615 return NULL;
15616 }
15617
15618
15619 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15620 PyObject *resultobj;
15621 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15622 wxFont *arg2 = 0 ;
15623 PyObject * obj0 = 0 ;
15624 PyObject * obj1 = 0 ;
15625 char *kwnames[] = {
15626 (char *) "self",(char *) "font", NULL
15627 };
15628
15629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15632 if (arg2 == NULL) {
15633 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15634 }
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
15637 (arg1)->SetFont((wxFont const &)*arg2);
15638
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
15642 Py_INCREF(Py_None); resultobj = Py_None;
15643 return resultobj;
15644 fail:
15645 return NULL;
15646 }
15647
15648
15649 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15650 PyObject *resultobj;
15651 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15652 bool result;
15653 PyObject * obj0 = 0 ;
15654 char *kwnames[] = {
15655 (char *) "self", NULL
15656 };
15657
15658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15660 {
15661 PyThreadState* __tstate = wxPyBeginAllowThreads();
15662 result = (bool)(arg1)->HasTextColour();
15663
15664 wxPyEndAllowThreads(__tstate);
15665 if (PyErr_Occurred()) SWIG_fail;
15666 }
15667 resultobj = PyInt_FromLong((long)result);
15668 return resultobj;
15669 fail:
15670 return NULL;
15671 }
15672
15673
15674 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15675 PyObject *resultobj;
15676 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15677 bool result;
15678 PyObject * obj0 = 0 ;
15679 char *kwnames[] = {
15680 (char *) "self", NULL
15681 };
15682
15683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15685 {
15686 PyThreadState* __tstate = wxPyBeginAllowThreads();
15687 result = (bool)(arg1)->HasBackgroundColour();
15688
15689 wxPyEndAllowThreads(__tstate);
15690 if (PyErr_Occurred()) SWIG_fail;
15691 }
15692 resultobj = PyInt_FromLong((long)result);
15693 return resultobj;
15694 fail:
15695 return NULL;
15696 }
15697
15698
15699 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj;
15701 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15702 bool result;
15703 PyObject * obj0 = 0 ;
15704 char *kwnames[] = {
15705 (char *) "self", NULL
15706 };
15707
15708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15710 {
15711 PyThreadState* __tstate = wxPyBeginAllowThreads();
15712 result = (bool)(arg1)->HasFont();
15713
15714 wxPyEndAllowThreads(__tstate);
15715 if (PyErr_Occurred()) SWIG_fail;
15716 }
15717 resultobj = PyInt_FromLong((long)result);
15718 return resultobj;
15719 fail:
15720 return NULL;
15721 }
15722
15723
15724 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15725 PyObject *resultobj;
15726 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15727 wxColour result;
15728 PyObject * obj0 = 0 ;
15729 char *kwnames[] = {
15730 (char *) "self", NULL
15731 };
15732
15733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15735 {
15736 PyThreadState* __tstate = wxPyBeginAllowThreads();
15737 result = (arg1)->GetTextColour();
15738
15739 wxPyEndAllowThreads(__tstate);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 {
15743 wxColour * resultptr;
15744 resultptr = new wxColour((wxColour &) result);
15745 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15746 }
15747 return resultobj;
15748 fail:
15749 return NULL;
15750 }
15751
15752
15753 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15754 PyObject *resultobj;
15755 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15756 wxColour result;
15757 PyObject * obj0 = 0 ;
15758 char *kwnames[] = {
15759 (char *) "self", NULL
15760 };
15761
15762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15764 {
15765 PyThreadState* __tstate = wxPyBeginAllowThreads();
15766 result = (arg1)->GetBackgroundColour();
15767
15768 wxPyEndAllowThreads(__tstate);
15769 if (PyErr_Occurred()) SWIG_fail;
15770 }
15771 {
15772 wxColour * resultptr;
15773 resultptr = new wxColour((wxColour &) result);
15774 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15775 }
15776 return resultobj;
15777 fail:
15778 return NULL;
15779 }
15780
15781
15782 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15783 PyObject *resultobj;
15784 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15785 wxFont result;
15786 PyObject * obj0 = 0 ;
15787 char *kwnames[] = {
15788 (char *) "self", NULL
15789 };
15790
15791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15793 {
15794 PyThreadState* __tstate = wxPyBeginAllowThreads();
15795 result = (arg1)->GetFont();
15796
15797 wxPyEndAllowThreads(__tstate);
15798 if (PyErr_Occurred()) SWIG_fail;
15799 }
15800 {
15801 wxFont * resultptr;
15802 resultptr = new wxFont((wxFont &) result);
15803 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15804 }
15805 return resultobj;
15806 fail:
15807 return NULL;
15808 }
15809
15810
15811 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15812 PyObject *resultobj;
15813 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15814 PyObject * obj0 = 0 ;
15815 char *kwnames[] = {
15816 (char *) "self", NULL
15817 };
15818
15819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15821 {
15822 PyThreadState* __tstate = wxPyBeginAllowThreads();
15823 wxListItemAttr_Destroy(arg1);
15824
15825 wxPyEndAllowThreads(__tstate);
15826 if (PyErr_Occurred()) SWIG_fail;
15827 }
15828 Py_INCREF(Py_None); resultobj = Py_None;
15829 return resultobj;
15830 fail:
15831 return NULL;
15832 }
15833
15834
15835 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15836 PyObject *obj;
15837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15838 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15839 Py_INCREF(obj);
15840 return Py_BuildValue((char *)"");
15841 }
15842 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15843 PyObject *resultobj;
15844 wxListItem *result;
15845 char *kwnames[] = {
15846 NULL
15847 };
15848
15849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15850 {
15851 PyThreadState* __tstate = wxPyBeginAllowThreads();
15852 result = (wxListItem *)new wxListItem();
15853
15854 wxPyEndAllowThreads(__tstate);
15855 if (PyErr_Occurred()) SWIG_fail;
15856 }
15857 {
15858 resultobj = wxPyMake_wxObject(result);
15859 }
15860 return resultobj;
15861 fail:
15862 return NULL;
15863 }
15864
15865
15866 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15867 PyObject *resultobj;
15868 wxListItem *arg1 = (wxListItem *) 0 ;
15869 PyObject * obj0 = 0 ;
15870 char *kwnames[] = {
15871 (char *) "self", NULL
15872 };
15873
15874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15876 {
15877 PyThreadState* __tstate = wxPyBeginAllowThreads();
15878 delete arg1;
15879
15880 wxPyEndAllowThreads(__tstate);
15881 if (PyErr_Occurred()) SWIG_fail;
15882 }
15883 Py_INCREF(Py_None); resultobj = Py_None;
15884 return resultobj;
15885 fail:
15886 return NULL;
15887 }
15888
15889
15890 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15891 PyObject *resultobj;
15892 wxListItem *arg1 = (wxListItem *) 0 ;
15893 PyObject * obj0 = 0 ;
15894 char *kwnames[] = {
15895 (char *) "self", NULL
15896 };
15897
15898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15900 {
15901 PyThreadState* __tstate = wxPyBeginAllowThreads();
15902 (arg1)->Clear();
15903
15904 wxPyEndAllowThreads(__tstate);
15905 if (PyErr_Occurred()) SWIG_fail;
15906 }
15907 Py_INCREF(Py_None); resultobj = Py_None;
15908 return resultobj;
15909 fail:
15910 return NULL;
15911 }
15912
15913
15914 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15915 PyObject *resultobj;
15916 wxListItem *arg1 = (wxListItem *) 0 ;
15917 PyObject * obj0 = 0 ;
15918 char *kwnames[] = {
15919 (char *) "self", NULL
15920 };
15921
15922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15924 {
15925 PyThreadState* __tstate = wxPyBeginAllowThreads();
15926 (arg1)->ClearAttributes();
15927
15928 wxPyEndAllowThreads(__tstate);
15929 if (PyErr_Occurred()) SWIG_fail;
15930 }
15931 Py_INCREF(Py_None); resultobj = Py_None;
15932 return resultobj;
15933 fail:
15934 return NULL;
15935 }
15936
15937
15938 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxListItem *arg1 = (wxListItem *) 0 ;
15941 long arg2 ;
15942 PyObject * obj0 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self",(char *) "mask", NULL
15945 };
15946
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15949 {
15950 PyThreadState* __tstate = wxPyBeginAllowThreads();
15951 (arg1)->SetMask(arg2);
15952
15953 wxPyEndAllowThreads(__tstate);
15954 if (PyErr_Occurred()) SWIG_fail;
15955 }
15956 Py_INCREF(Py_None); resultobj = Py_None;
15957 return resultobj;
15958 fail:
15959 return NULL;
15960 }
15961
15962
15963 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15964 PyObject *resultobj;
15965 wxListItem *arg1 = (wxListItem *) 0 ;
15966 long arg2 ;
15967 PyObject * obj0 = 0 ;
15968 char *kwnames[] = {
15969 (char *) "self",(char *) "id", NULL
15970 };
15971
15972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15974 {
15975 PyThreadState* __tstate = wxPyBeginAllowThreads();
15976 (arg1)->SetId(arg2);
15977
15978 wxPyEndAllowThreads(__tstate);
15979 if (PyErr_Occurred()) SWIG_fail;
15980 }
15981 Py_INCREF(Py_None); resultobj = Py_None;
15982 return resultobj;
15983 fail:
15984 return NULL;
15985 }
15986
15987
15988 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15989 PyObject *resultobj;
15990 wxListItem *arg1 = (wxListItem *) 0 ;
15991 int arg2 ;
15992 PyObject * obj0 = 0 ;
15993 char *kwnames[] = {
15994 (char *) "self",(char *) "col", NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 (arg1)->SetColumn(arg2);
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 Py_INCREF(Py_None); resultobj = Py_None;
16007 return resultobj;
16008 fail:
16009 return NULL;
16010 }
16011
16012
16013 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16014 PyObject *resultobj;
16015 wxListItem *arg1 = (wxListItem *) 0 ;
16016 long arg2 ;
16017 PyObject * obj0 = 0 ;
16018 char *kwnames[] = {
16019 (char *) "self",(char *) "state", NULL
16020 };
16021
16022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
16023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 (arg1)->SetState(arg2);
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 Py_INCREF(Py_None); resultobj = Py_None;
16032 return resultobj;
16033 fail:
16034 return NULL;
16035 }
16036
16037
16038 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16039 PyObject *resultobj;
16040 wxListItem *arg1 = (wxListItem *) 0 ;
16041 long arg2 ;
16042 PyObject * obj0 = 0 ;
16043 char *kwnames[] = {
16044 (char *) "self",(char *) "stateMask", NULL
16045 };
16046
16047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
16048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16049 {
16050 PyThreadState* __tstate = wxPyBeginAllowThreads();
16051 (arg1)->SetStateMask(arg2);
16052
16053 wxPyEndAllowThreads(__tstate);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 }
16056 Py_INCREF(Py_None); resultobj = Py_None;
16057 return resultobj;
16058 fail:
16059 return NULL;
16060 }
16061
16062
16063 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16064 PyObject *resultobj;
16065 wxListItem *arg1 = (wxListItem *) 0 ;
16066 wxString *arg2 = 0 ;
16067 bool temp2 = False ;
16068 PyObject * obj0 = 0 ;
16069 PyObject * obj1 = 0 ;
16070 char *kwnames[] = {
16071 (char *) "self",(char *) "text", NULL
16072 };
16073
16074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
16075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16076 {
16077 arg2 = wxString_in_helper(obj1);
16078 if (arg2 == NULL) SWIG_fail;
16079 temp2 = True;
16080 }
16081 {
16082 PyThreadState* __tstate = wxPyBeginAllowThreads();
16083 (arg1)->SetText((wxString const &)*arg2);
16084
16085 wxPyEndAllowThreads(__tstate);
16086 if (PyErr_Occurred()) SWIG_fail;
16087 }
16088 Py_INCREF(Py_None); resultobj = Py_None;
16089 {
16090 if (temp2)
16091 delete arg2;
16092 }
16093 return resultobj;
16094 fail:
16095 {
16096 if (temp2)
16097 delete arg2;
16098 }
16099 return NULL;
16100 }
16101
16102
16103 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16104 PyObject *resultobj;
16105 wxListItem *arg1 = (wxListItem *) 0 ;
16106 int arg2 ;
16107 PyObject * obj0 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self",(char *) "image", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
16113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16114 {
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
16116 (arg1)->SetImage(arg2);
16117
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 Py_INCREF(Py_None); resultobj = Py_None;
16122 return resultobj;
16123 fail:
16124 return NULL;
16125 }
16126
16127
16128 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16129 PyObject *resultobj;
16130 wxListItem *arg1 = (wxListItem *) 0 ;
16131 long arg2 ;
16132 PyObject * obj0 = 0 ;
16133 char *kwnames[] = {
16134 (char *) "self",(char *) "data", NULL
16135 };
16136
16137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
16138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16139 {
16140 PyThreadState* __tstate = wxPyBeginAllowThreads();
16141 (arg1)->SetData(arg2);
16142
16143 wxPyEndAllowThreads(__tstate);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 Py_INCREF(Py_None); resultobj = Py_None;
16147 return resultobj;
16148 fail:
16149 return NULL;
16150 }
16151
16152
16153 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16154 PyObject *resultobj;
16155 wxListItem *arg1 = (wxListItem *) 0 ;
16156 int arg2 ;
16157 PyObject * obj0 = 0 ;
16158 char *kwnames[] = {
16159 (char *) "self",(char *) "width", NULL
16160 };
16161
16162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
16163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16164 {
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 (arg1)->SetWidth(arg2);
16167
16168 wxPyEndAllowThreads(__tstate);
16169 if (PyErr_Occurred()) SWIG_fail;
16170 }
16171 Py_INCREF(Py_None); resultobj = Py_None;
16172 return resultobj;
16173 fail:
16174 return NULL;
16175 }
16176
16177
16178 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16179 PyObject *resultobj;
16180 wxListItem *arg1 = (wxListItem *) 0 ;
16181 int arg2 ;
16182 PyObject * obj0 = 0 ;
16183 char *kwnames[] = {
16184 (char *) "self",(char *) "align", NULL
16185 };
16186
16187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
16188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16189 {
16190 PyThreadState* __tstate = wxPyBeginAllowThreads();
16191 (arg1)->SetAlign((wxListColumnFormat )arg2);
16192
16193 wxPyEndAllowThreads(__tstate);
16194 if (PyErr_Occurred()) SWIG_fail;
16195 }
16196 Py_INCREF(Py_None); resultobj = Py_None;
16197 return resultobj;
16198 fail:
16199 return NULL;
16200 }
16201
16202
16203 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16204 PyObject *resultobj;
16205 wxListItem *arg1 = (wxListItem *) 0 ;
16206 wxColour *arg2 = 0 ;
16207 wxColour temp2 ;
16208 PyObject * obj0 = 0 ;
16209 PyObject * obj1 = 0 ;
16210 char *kwnames[] = {
16211 (char *) "self",(char *) "colText", NULL
16212 };
16213
16214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
16215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16216 {
16217 arg2 = &temp2;
16218 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16219 }
16220 {
16221 PyThreadState* __tstate = wxPyBeginAllowThreads();
16222 (arg1)->SetTextColour((wxColour const &)*arg2);
16223
16224 wxPyEndAllowThreads(__tstate);
16225 if (PyErr_Occurred()) SWIG_fail;
16226 }
16227 Py_INCREF(Py_None); resultobj = Py_None;
16228 return resultobj;
16229 fail:
16230 return NULL;
16231 }
16232
16233
16234 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16235 PyObject *resultobj;
16236 wxListItem *arg1 = (wxListItem *) 0 ;
16237 wxColour *arg2 = 0 ;
16238 wxColour temp2 ;
16239 PyObject * obj0 = 0 ;
16240 PyObject * obj1 = 0 ;
16241 char *kwnames[] = {
16242 (char *) "self",(char *) "colBack", NULL
16243 };
16244
16245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
16246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16247 {
16248 arg2 = &temp2;
16249 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
16250 }
16251 {
16252 PyThreadState* __tstate = wxPyBeginAllowThreads();
16253 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
16254
16255 wxPyEndAllowThreads(__tstate);
16256 if (PyErr_Occurred()) SWIG_fail;
16257 }
16258 Py_INCREF(Py_None); resultobj = Py_None;
16259 return resultobj;
16260 fail:
16261 return NULL;
16262 }
16263
16264
16265 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16266 PyObject *resultobj;
16267 wxListItem *arg1 = (wxListItem *) 0 ;
16268 wxFont *arg2 = 0 ;
16269 PyObject * obj0 = 0 ;
16270 PyObject * obj1 = 0 ;
16271 char *kwnames[] = {
16272 (char *) "self",(char *) "font", NULL
16273 };
16274
16275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
16276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16278 if (arg2 == NULL) {
16279 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16280 }
16281 {
16282 PyThreadState* __tstate = wxPyBeginAllowThreads();
16283 (arg1)->SetFont((wxFont const &)*arg2);
16284
16285 wxPyEndAllowThreads(__tstate);
16286 if (PyErr_Occurred()) SWIG_fail;
16287 }
16288 Py_INCREF(Py_None); resultobj = Py_None;
16289 return resultobj;
16290 fail:
16291 return NULL;
16292 }
16293
16294
16295 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16296 PyObject *resultobj;
16297 wxListItem *arg1 = (wxListItem *) 0 ;
16298 long result;
16299 PyObject * obj0 = 0 ;
16300 char *kwnames[] = {
16301 (char *) "self", NULL
16302 };
16303
16304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
16305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16306 {
16307 PyThreadState* __tstate = wxPyBeginAllowThreads();
16308 result = (long)(arg1)->GetMask();
16309
16310 wxPyEndAllowThreads(__tstate);
16311 if (PyErr_Occurred()) SWIG_fail;
16312 }
16313 resultobj = PyInt_FromLong((long)result);
16314 return resultobj;
16315 fail:
16316 return NULL;
16317 }
16318
16319
16320 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
16321 PyObject *resultobj;
16322 wxListItem *arg1 = (wxListItem *) 0 ;
16323 long result;
16324 PyObject * obj0 = 0 ;
16325 char *kwnames[] = {
16326 (char *) "self", NULL
16327 };
16328
16329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
16330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16331 {
16332 PyThreadState* __tstate = wxPyBeginAllowThreads();
16333 result = (long)(arg1)->GetId();
16334
16335 wxPyEndAllowThreads(__tstate);
16336 if (PyErr_Occurred()) SWIG_fail;
16337 }
16338 resultobj = PyInt_FromLong((long)result);
16339 return resultobj;
16340 fail:
16341 return NULL;
16342 }
16343
16344
16345 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16346 PyObject *resultobj;
16347 wxListItem *arg1 = (wxListItem *) 0 ;
16348 int result;
16349 PyObject * obj0 = 0 ;
16350 char *kwnames[] = {
16351 (char *) "self", NULL
16352 };
16353
16354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
16355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16356 {
16357 PyThreadState* __tstate = wxPyBeginAllowThreads();
16358 result = (int)(arg1)->GetColumn();
16359
16360 wxPyEndAllowThreads(__tstate);
16361 if (PyErr_Occurred()) SWIG_fail;
16362 }
16363 resultobj = PyInt_FromLong((long)result);
16364 return resultobj;
16365 fail:
16366 return NULL;
16367 }
16368
16369
16370 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
16371 PyObject *resultobj;
16372 wxListItem *arg1 = (wxListItem *) 0 ;
16373 long result;
16374 PyObject * obj0 = 0 ;
16375 char *kwnames[] = {
16376 (char *) "self", NULL
16377 };
16378
16379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
16380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16381 {
16382 PyThreadState* __tstate = wxPyBeginAllowThreads();
16383 result = (long)(arg1)->GetState();
16384
16385 wxPyEndAllowThreads(__tstate);
16386 if (PyErr_Occurred()) SWIG_fail;
16387 }
16388 resultobj = PyInt_FromLong((long)result);
16389 return resultobj;
16390 fail:
16391 return NULL;
16392 }
16393
16394
16395 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16396 PyObject *resultobj;
16397 wxListItem *arg1 = (wxListItem *) 0 ;
16398 wxString *result;
16399 PyObject * obj0 = 0 ;
16400 char *kwnames[] = {
16401 (char *) "self", NULL
16402 };
16403
16404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16406 {
16407 PyThreadState* __tstate = wxPyBeginAllowThreads();
16408 {
16409 wxString const &_result_ref = (arg1)->GetText();
16410 result = (wxString *) &_result_ref;
16411 }
16412
16413 wxPyEndAllowThreads(__tstate);
16414 if (PyErr_Occurred()) SWIG_fail;
16415 }
16416 {
16417 #if wxUSE_UNICODE
16418 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16419 #else
16420 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16421 #endif
16422 }
16423 return resultobj;
16424 fail:
16425 return NULL;
16426 }
16427
16428
16429 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16430 PyObject *resultobj;
16431 wxListItem *arg1 = (wxListItem *) 0 ;
16432 int result;
16433 PyObject * obj0 = 0 ;
16434 char *kwnames[] = {
16435 (char *) "self", NULL
16436 };
16437
16438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16440 {
16441 PyThreadState* __tstate = wxPyBeginAllowThreads();
16442 result = (int)(arg1)->GetImage();
16443
16444 wxPyEndAllowThreads(__tstate);
16445 if (PyErr_Occurred()) SWIG_fail;
16446 }
16447 resultobj = PyInt_FromLong((long)result);
16448 return resultobj;
16449 fail:
16450 return NULL;
16451 }
16452
16453
16454 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16455 PyObject *resultobj;
16456 wxListItem *arg1 = (wxListItem *) 0 ;
16457 long result;
16458 PyObject * obj0 = 0 ;
16459 char *kwnames[] = {
16460 (char *) "self", NULL
16461 };
16462
16463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16465 {
16466 PyThreadState* __tstate = wxPyBeginAllowThreads();
16467 result = (long)(arg1)->GetData();
16468
16469 wxPyEndAllowThreads(__tstate);
16470 if (PyErr_Occurred()) SWIG_fail;
16471 }
16472 resultobj = PyInt_FromLong((long)result);
16473 return resultobj;
16474 fail:
16475 return NULL;
16476 }
16477
16478
16479 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16480 PyObject *resultobj;
16481 wxListItem *arg1 = (wxListItem *) 0 ;
16482 int result;
16483 PyObject * obj0 = 0 ;
16484 char *kwnames[] = {
16485 (char *) "self", NULL
16486 };
16487
16488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16490 {
16491 PyThreadState* __tstate = wxPyBeginAllowThreads();
16492 result = (int)(arg1)->GetWidth();
16493
16494 wxPyEndAllowThreads(__tstate);
16495 if (PyErr_Occurred()) SWIG_fail;
16496 }
16497 resultobj = PyInt_FromLong((long)result);
16498 return resultobj;
16499 fail:
16500 return NULL;
16501 }
16502
16503
16504 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16505 PyObject *resultobj;
16506 wxListItem *arg1 = (wxListItem *) 0 ;
16507 int result;
16508 PyObject * obj0 = 0 ;
16509 char *kwnames[] = {
16510 (char *) "self", NULL
16511 };
16512
16513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 result = (int)(arg1)->GetAlign();
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 resultobj = PyInt_FromLong((long)result);
16523 return resultobj;
16524 fail:
16525 return NULL;
16526 }
16527
16528
16529 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxListItem *arg1 = (wxListItem *) 0 ;
16532 wxListItemAttr *result;
16533 PyObject * obj0 = 0 ;
16534 char *kwnames[] = {
16535 (char *) "self", NULL
16536 };
16537
16538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16540 {
16541 PyThreadState* __tstate = wxPyBeginAllowThreads();
16542 result = (wxListItemAttr *)(arg1)->GetAttributes();
16543
16544 wxPyEndAllowThreads(__tstate);
16545 if (PyErr_Occurred()) SWIG_fail;
16546 }
16547 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16548 return resultobj;
16549 fail:
16550 return NULL;
16551 }
16552
16553
16554 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16555 PyObject *resultobj;
16556 wxListItem *arg1 = (wxListItem *) 0 ;
16557 bool result;
16558 PyObject * obj0 = 0 ;
16559 char *kwnames[] = {
16560 (char *) "self", NULL
16561 };
16562
16563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16565 {
16566 PyThreadState* __tstate = wxPyBeginAllowThreads();
16567 result = (bool)(arg1)->HasAttributes();
16568
16569 wxPyEndAllowThreads(__tstate);
16570 if (PyErr_Occurred()) SWIG_fail;
16571 }
16572 resultobj = PyInt_FromLong((long)result);
16573 return resultobj;
16574 fail:
16575 return NULL;
16576 }
16577
16578
16579 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16580 PyObject *resultobj;
16581 wxListItem *arg1 = (wxListItem *) 0 ;
16582 wxColour result;
16583 PyObject * obj0 = 0 ;
16584 char *kwnames[] = {
16585 (char *) "self", NULL
16586 };
16587
16588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16590 {
16591 PyThreadState* __tstate = wxPyBeginAllowThreads();
16592 result = ((wxListItem const *)arg1)->GetTextColour();
16593
16594 wxPyEndAllowThreads(__tstate);
16595 if (PyErr_Occurred()) SWIG_fail;
16596 }
16597 {
16598 wxColour * resultptr;
16599 resultptr = new wxColour((wxColour &) result);
16600 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16601 }
16602 return resultobj;
16603 fail:
16604 return NULL;
16605 }
16606
16607
16608 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16609 PyObject *resultobj;
16610 wxListItem *arg1 = (wxListItem *) 0 ;
16611 wxColour result;
16612 PyObject * obj0 = 0 ;
16613 char *kwnames[] = {
16614 (char *) "self", NULL
16615 };
16616
16617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16619 {
16620 PyThreadState* __tstate = wxPyBeginAllowThreads();
16621 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16622
16623 wxPyEndAllowThreads(__tstate);
16624 if (PyErr_Occurred()) SWIG_fail;
16625 }
16626 {
16627 wxColour * resultptr;
16628 resultptr = new wxColour((wxColour &) result);
16629 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16630 }
16631 return resultobj;
16632 fail:
16633 return NULL;
16634 }
16635
16636
16637 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj;
16639 wxListItem *arg1 = (wxListItem *) 0 ;
16640 wxFont result;
16641 PyObject * obj0 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "self", NULL
16644 };
16645
16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16648 {
16649 PyThreadState* __tstate = wxPyBeginAllowThreads();
16650 result = ((wxListItem const *)arg1)->GetFont();
16651
16652 wxPyEndAllowThreads(__tstate);
16653 if (PyErr_Occurred()) SWIG_fail;
16654 }
16655 {
16656 wxFont * resultptr;
16657 resultptr = new wxFont((wxFont &) result);
16658 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16659 }
16660 return resultobj;
16661 fail:
16662 return NULL;
16663 }
16664
16665
16666 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16667 PyObject *resultobj;
16668 wxListItem *arg1 = (wxListItem *) 0 ;
16669 long arg2 ;
16670 PyObject * obj0 = 0 ;
16671 char *kwnames[] = {
16672 (char *) "self",(char *) "m_mask", NULL
16673 };
16674
16675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16677 if (arg1) (arg1)->m_mask = arg2;
16678
16679 Py_INCREF(Py_None); resultobj = Py_None;
16680 return resultobj;
16681 fail:
16682 return NULL;
16683 }
16684
16685
16686 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16687 PyObject *resultobj;
16688 wxListItem *arg1 = (wxListItem *) 0 ;
16689 long result;
16690 PyObject * obj0 = 0 ;
16691 char *kwnames[] = {
16692 (char *) "self", NULL
16693 };
16694
16695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16697 result = (long) ((arg1)->m_mask);
16698
16699 resultobj = PyInt_FromLong((long)result);
16700 return resultobj;
16701 fail:
16702 return NULL;
16703 }
16704
16705
16706 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 wxListItem *arg1 = (wxListItem *) 0 ;
16709 long arg2 ;
16710 PyObject * obj0 = 0 ;
16711 char *kwnames[] = {
16712 (char *) "self",(char *) "m_itemId", NULL
16713 };
16714
16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16717 if (arg1) (arg1)->m_itemId = arg2;
16718
16719 Py_INCREF(Py_None); resultobj = Py_None;
16720 return resultobj;
16721 fail:
16722 return NULL;
16723 }
16724
16725
16726 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16727 PyObject *resultobj;
16728 wxListItem *arg1 = (wxListItem *) 0 ;
16729 long result;
16730 PyObject * obj0 = 0 ;
16731 char *kwnames[] = {
16732 (char *) "self", NULL
16733 };
16734
16735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16737 result = (long) ((arg1)->m_itemId);
16738
16739 resultobj = PyInt_FromLong((long)result);
16740 return resultobj;
16741 fail:
16742 return NULL;
16743 }
16744
16745
16746 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16747 PyObject *resultobj;
16748 wxListItem *arg1 = (wxListItem *) 0 ;
16749 int arg2 ;
16750 PyObject * obj0 = 0 ;
16751 char *kwnames[] = {
16752 (char *) "self",(char *) "m_col", NULL
16753 };
16754
16755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16757 if (arg1) (arg1)->m_col = arg2;
16758
16759 Py_INCREF(Py_None); resultobj = Py_None;
16760 return resultobj;
16761 fail:
16762 return NULL;
16763 }
16764
16765
16766 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16767 PyObject *resultobj;
16768 wxListItem *arg1 = (wxListItem *) 0 ;
16769 int result;
16770 PyObject * obj0 = 0 ;
16771 char *kwnames[] = {
16772 (char *) "self", NULL
16773 };
16774
16775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16777 result = (int) ((arg1)->m_col);
16778
16779 resultobj = PyInt_FromLong((long)result);
16780 return resultobj;
16781 fail:
16782 return NULL;
16783 }
16784
16785
16786 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16787 PyObject *resultobj;
16788 wxListItem *arg1 = (wxListItem *) 0 ;
16789 long arg2 ;
16790 PyObject * obj0 = 0 ;
16791 char *kwnames[] = {
16792 (char *) "self",(char *) "m_state", NULL
16793 };
16794
16795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16797 if (arg1) (arg1)->m_state = arg2;
16798
16799 Py_INCREF(Py_None); resultobj = Py_None;
16800 return resultobj;
16801 fail:
16802 return NULL;
16803 }
16804
16805
16806 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxListItem *arg1 = (wxListItem *) 0 ;
16809 long result;
16810 PyObject * obj0 = 0 ;
16811 char *kwnames[] = {
16812 (char *) "self", NULL
16813 };
16814
16815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16817 result = (long) ((arg1)->m_state);
16818
16819 resultobj = PyInt_FromLong((long)result);
16820 return resultobj;
16821 fail:
16822 return NULL;
16823 }
16824
16825
16826 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16827 PyObject *resultobj;
16828 wxListItem *arg1 = (wxListItem *) 0 ;
16829 long arg2 ;
16830 PyObject * obj0 = 0 ;
16831 char *kwnames[] = {
16832 (char *) "self",(char *) "m_stateMask", NULL
16833 };
16834
16835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16837 if (arg1) (arg1)->m_stateMask = arg2;
16838
16839 Py_INCREF(Py_None); resultobj = Py_None;
16840 return resultobj;
16841 fail:
16842 return NULL;
16843 }
16844
16845
16846 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj;
16848 wxListItem *arg1 = (wxListItem *) 0 ;
16849 long result;
16850 PyObject * obj0 = 0 ;
16851 char *kwnames[] = {
16852 (char *) "self", NULL
16853 };
16854
16855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16857 result = (long) ((arg1)->m_stateMask);
16858
16859 resultobj = PyInt_FromLong((long)result);
16860 return resultobj;
16861 fail:
16862 return NULL;
16863 }
16864
16865
16866 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16867 PyObject *resultobj;
16868 wxListItem *arg1 = (wxListItem *) 0 ;
16869 wxString *arg2 = (wxString *) 0 ;
16870 bool temp2 = False ;
16871 PyObject * obj0 = 0 ;
16872 PyObject * obj1 = 0 ;
16873 char *kwnames[] = {
16874 (char *) "self",(char *) "m_text", NULL
16875 };
16876
16877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16879 {
16880 arg2 = wxString_in_helper(obj1);
16881 if (arg2 == NULL) SWIG_fail;
16882 temp2 = True;
16883 }
16884 if (arg1) (arg1)->m_text = *arg2;
16885
16886 Py_INCREF(Py_None); resultobj = Py_None;
16887 {
16888 if (temp2)
16889 delete arg2;
16890 }
16891 return resultobj;
16892 fail:
16893 {
16894 if (temp2)
16895 delete arg2;
16896 }
16897 return NULL;
16898 }
16899
16900
16901 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16902 PyObject *resultobj;
16903 wxListItem *arg1 = (wxListItem *) 0 ;
16904 wxString *result;
16905 PyObject * obj0 = 0 ;
16906 char *kwnames[] = {
16907 (char *) "self", NULL
16908 };
16909
16910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16912 result = (wxString *)& ((arg1)->m_text);
16913
16914 {
16915 #if wxUSE_UNICODE
16916 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16917 #else
16918 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16919 #endif
16920 }
16921 return resultobj;
16922 fail:
16923 return NULL;
16924 }
16925
16926
16927 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16928 PyObject *resultobj;
16929 wxListItem *arg1 = (wxListItem *) 0 ;
16930 int arg2 ;
16931 PyObject * obj0 = 0 ;
16932 char *kwnames[] = {
16933 (char *) "self",(char *) "m_image", NULL
16934 };
16935
16936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16938 if (arg1) (arg1)->m_image = arg2;
16939
16940 Py_INCREF(Py_None); resultobj = Py_None;
16941 return resultobj;
16942 fail:
16943 return NULL;
16944 }
16945
16946
16947 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16948 PyObject *resultobj;
16949 wxListItem *arg1 = (wxListItem *) 0 ;
16950 int result;
16951 PyObject * obj0 = 0 ;
16952 char *kwnames[] = {
16953 (char *) "self", NULL
16954 };
16955
16956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16958 result = (int) ((arg1)->m_image);
16959
16960 resultobj = PyInt_FromLong((long)result);
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxListItem *arg1 = (wxListItem *) 0 ;
16970 long arg2 ;
16971 PyObject * obj0 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self",(char *) "m_data", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16978 if (arg1) (arg1)->m_data = arg2;
16979
16980 Py_INCREF(Py_None); resultobj = Py_None;
16981 return resultobj;
16982 fail:
16983 return NULL;
16984 }
16985
16986
16987 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16988 PyObject *resultobj;
16989 wxListItem *arg1 = (wxListItem *) 0 ;
16990 long result;
16991 PyObject * obj0 = 0 ;
16992 char *kwnames[] = {
16993 (char *) "self", NULL
16994 };
16995
16996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16998 result = (long) ((arg1)->m_data);
16999
17000 resultobj = PyInt_FromLong((long)result);
17001 return resultobj;
17002 fail:
17003 return NULL;
17004 }
17005
17006
17007 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17008 PyObject *resultobj;
17009 wxListItem *arg1 = (wxListItem *) 0 ;
17010 int arg2 ;
17011 PyObject * obj0 = 0 ;
17012 char *kwnames[] = {
17013 (char *) "self",(char *) "m_format", NULL
17014 };
17015
17016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
17017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17018 if (arg1) (arg1)->m_format = arg2;
17019
17020 Py_INCREF(Py_None); resultobj = Py_None;
17021 return resultobj;
17022 fail:
17023 return NULL;
17024 }
17025
17026
17027 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17028 PyObject *resultobj;
17029 wxListItem *arg1 = (wxListItem *) 0 ;
17030 int result;
17031 PyObject * obj0 = 0 ;
17032 char *kwnames[] = {
17033 (char *) "self", NULL
17034 };
17035
17036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
17037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17038 result = (int) ((arg1)->m_format);
17039
17040 resultobj = PyInt_FromLong((long)result);
17041 return resultobj;
17042 fail:
17043 return NULL;
17044 }
17045
17046
17047 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj;
17049 wxListItem *arg1 = (wxListItem *) 0 ;
17050 int arg2 ;
17051 PyObject * obj0 = 0 ;
17052 char *kwnames[] = {
17053 (char *) "self",(char *) "m_width", NULL
17054 };
17055
17056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
17057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17058 if (arg1) (arg1)->m_width = arg2;
17059
17060 Py_INCREF(Py_None); resultobj = Py_None;
17061 return resultobj;
17062 fail:
17063 return NULL;
17064 }
17065
17066
17067 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj;
17069 wxListItem *arg1 = (wxListItem *) 0 ;
17070 int result;
17071 PyObject * obj0 = 0 ;
17072 char *kwnames[] = {
17073 (char *) "self", NULL
17074 };
17075
17076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
17077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17078 result = (int) ((arg1)->m_width);
17079
17080 resultobj = PyInt_FromLong((long)result);
17081 return resultobj;
17082 fail:
17083 return NULL;
17084 }
17085
17086
17087 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
17088 PyObject *obj;
17089 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17090 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
17091 Py_INCREF(obj);
17092 return Py_BuildValue((char *)"");
17093 }
17094 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17095 PyObject *resultobj;
17096 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17097 int arg2 = (int) 0 ;
17098 wxListEvent *result;
17099 char *kwnames[] = {
17100 (char *) "commandType",(char *) "id", NULL
17101 };
17102
17103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
17104 {
17105 PyThreadState* __tstate = wxPyBeginAllowThreads();
17106 result = (wxListEvent *)new wxListEvent(arg1,arg2);
17107
17108 wxPyEndAllowThreads(__tstate);
17109 if (PyErr_Occurred()) SWIG_fail;
17110 }
17111 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
17112 return resultobj;
17113 fail:
17114 return NULL;
17115 }
17116
17117
17118 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17119 PyObject *resultobj;
17120 wxListEvent *arg1 = (wxListEvent *) 0 ;
17121 int arg2 ;
17122 PyObject * obj0 = 0 ;
17123 char *kwnames[] = {
17124 (char *) "self",(char *) "m_code", NULL
17125 };
17126
17127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
17128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17129 if (arg1) (arg1)->m_code = arg2;
17130
17131 Py_INCREF(Py_None); resultobj = Py_None;
17132 return resultobj;
17133 fail:
17134 return NULL;
17135 }
17136
17137
17138 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17139 PyObject *resultobj;
17140 wxListEvent *arg1 = (wxListEvent *) 0 ;
17141 int result;
17142 PyObject * obj0 = 0 ;
17143 char *kwnames[] = {
17144 (char *) "self", NULL
17145 };
17146
17147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
17148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17149 result = (int) ((arg1)->m_code);
17150
17151 resultobj = PyInt_FromLong((long)result);
17152 return resultobj;
17153 fail:
17154 return NULL;
17155 }
17156
17157
17158 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17159 PyObject *resultobj;
17160 wxListEvent *arg1 = (wxListEvent *) 0 ;
17161 long arg2 ;
17162 PyObject * obj0 = 0 ;
17163 char *kwnames[] = {
17164 (char *) "self",(char *) "m_oldItemIndex", NULL
17165 };
17166
17167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17169 if (arg1) (arg1)->m_oldItemIndex = arg2;
17170
17171 Py_INCREF(Py_None); resultobj = Py_None;
17172 return resultobj;
17173 fail:
17174 return NULL;
17175 }
17176
17177
17178 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17179 PyObject *resultobj;
17180 wxListEvent *arg1 = (wxListEvent *) 0 ;
17181 long result;
17182 PyObject * obj0 = 0 ;
17183 char *kwnames[] = {
17184 (char *) "self", NULL
17185 };
17186
17187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
17188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17189 result = (long) ((arg1)->m_oldItemIndex);
17190
17191 resultobj = PyInt_FromLong((long)result);
17192 return resultobj;
17193 fail:
17194 return NULL;
17195 }
17196
17197
17198 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17199 PyObject *resultobj;
17200 wxListEvent *arg1 = (wxListEvent *) 0 ;
17201 long arg2 ;
17202 PyObject * obj0 = 0 ;
17203 char *kwnames[] = {
17204 (char *) "self",(char *) "m_itemIndex", NULL
17205 };
17206
17207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
17208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17209 if (arg1) (arg1)->m_itemIndex = arg2;
17210
17211 Py_INCREF(Py_None); resultobj = Py_None;
17212 return resultobj;
17213 fail:
17214 return NULL;
17215 }
17216
17217
17218 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17219 PyObject *resultobj;
17220 wxListEvent *arg1 = (wxListEvent *) 0 ;
17221 long result;
17222 PyObject * obj0 = 0 ;
17223 char *kwnames[] = {
17224 (char *) "self", NULL
17225 };
17226
17227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
17228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17229 result = (long) ((arg1)->m_itemIndex);
17230
17231 resultobj = PyInt_FromLong((long)result);
17232 return resultobj;
17233 fail:
17234 return NULL;
17235 }
17236
17237
17238 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17239 PyObject *resultobj;
17240 wxListEvent *arg1 = (wxListEvent *) 0 ;
17241 int arg2 ;
17242 PyObject * obj0 = 0 ;
17243 char *kwnames[] = {
17244 (char *) "self",(char *) "m_col", NULL
17245 };
17246
17247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
17248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17249 if (arg1) (arg1)->m_col = arg2;
17250
17251 Py_INCREF(Py_None); resultobj = Py_None;
17252 return resultobj;
17253 fail:
17254 return NULL;
17255 }
17256
17257
17258 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17259 PyObject *resultobj;
17260 wxListEvent *arg1 = (wxListEvent *) 0 ;
17261 int result;
17262 PyObject * obj0 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
17268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17269 result = (int) ((arg1)->m_col);
17270
17271 resultobj = PyInt_FromLong((long)result);
17272 return resultobj;
17273 fail:
17274 return NULL;
17275 }
17276
17277
17278 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
17279 PyObject *resultobj;
17280 wxListEvent *arg1 = (wxListEvent *) 0 ;
17281 wxPoint *arg2 = (wxPoint *) 0 ;
17282 PyObject * obj0 = 0 ;
17283 PyObject * obj1 = 0 ;
17284 char *kwnames[] = {
17285 (char *) "self",(char *) "m_pointDrag", NULL
17286 };
17287
17288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
17289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17290 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17291 if (arg1) (arg1)->m_pointDrag = *arg2;
17292
17293 Py_INCREF(Py_None); resultobj = Py_None;
17294 return resultobj;
17295 fail:
17296 return NULL;
17297 }
17298
17299
17300 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17301 PyObject *resultobj;
17302 wxListEvent *arg1 = (wxListEvent *) 0 ;
17303 wxPoint *result;
17304 PyObject * obj0 = 0 ;
17305 char *kwnames[] = {
17306 (char *) "self", NULL
17307 };
17308
17309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
17310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17311 result = (wxPoint *)& ((arg1)->m_pointDrag);
17312
17313 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
17314 return resultobj;
17315 fail:
17316 return NULL;
17317 }
17318
17319
17320 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
17321 PyObject *resultobj;
17322 wxListEvent *arg1 = (wxListEvent *) 0 ;
17323 wxListItem *result;
17324 PyObject * obj0 = 0 ;
17325 char *kwnames[] = {
17326 (char *) "self", NULL
17327 };
17328
17329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
17330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17331 result = (wxListItem *)& ((arg1)->m_item);
17332
17333 {
17334 resultobj = wxPyMake_wxObject(result);
17335 }
17336 return resultobj;
17337 fail:
17338 return NULL;
17339 }
17340
17341
17342 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
17343 PyObject *resultobj;
17344 wxListEvent *arg1 = (wxListEvent *) 0 ;
17345 int result;
17346 PyObject * obj0 = 0 ;
17347 char *kwnames[] = {
17348 (char *) "self", NULL
17349 };
17350
17351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
17352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
17355 result = (int)(arg1)->GetKeyCode();
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 resultobj = PyInt_FromLong((long)result);
17361 return resultobj;
17362 fail:
17363 return NULL;
17364 }
17365
17366
17367 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
17368 PyObject *resultobj;
17369 wxListEvent *arg1 = (wxListEvent *) 0 ;
17370 long result;
17371 PyObject * obj0 = 0 ;
17372 char *kwnames[] = {
17373 (char *) "self", NULL
17374 };
17375
17376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
17377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17378 {
17379 PyThreadState* __tstate = wxPyBeginAllowThreads();
17380 result = (long)(arg1)->GetIndex();
17381
17382 wxPyEndAllowThreads(__tstate);
17383 if (PyErr_Occurred()) SWIG_fail;
17384 }
17385 resultobj = PyInt_FromLong((long)result);
17386 return resultobj;
17387 fail:
17388 return NULL;
17389 }
17390
17391
17392 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17393 PyObject *resultobj;
17394 wxListEvent *arg1 = (wxListEvent *) 0 ;
17395 int result;
17396 PyObject * obj0 = 0 ;
17397 char *kwnames[] = {
17398 (char *) "self", NULL
17399 };
17400
17401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17403 {
17404 PyThreadState* __tstate = wxPyBeginAllowThreads();
17405 result = (int)(arg1)->GetColumn();
17406
17407 wxPyEndAllowThreads(__tstate);
17408 if (PyErr_Occurred()) SWIG_fail;
17409 }
17410 resultobj = PyInt_FromLong((long)result);
17411 return resultobj;
17412 fail:
17413 return NULL;
17414 }
17415
17416
17417 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17418 PyObject *resultobj;
17419 wxListEvent *arg1 = (wxListEvent *) 0 ;
17420 wxPoint result;
17421 PyObject * obj0 = 0 ;
17422 char *kwnames[] = {
17423 (char *) "self", NULL
17424 };
17425
17426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 result = (arg1)->GetPoint();
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 {
17436 wxPoint * resultptr;
17437 resultptr = new wxPoint((wxPoint &) result);
17438 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17439 }
17440 return resultobj;
17441 fail:
17442 return NULL;
17443 }
17444
17445
17446 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxListEvent *arg1 = (wxListEvent *) 0 ;
17449 wxString *result;
17450 PyObject * obj0 = 0 ;
17451 char *kwnames[] = {
17452 (char *) "self", NULL
17453 };
17454
17455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17457 {
17458 PyThreadState* __tstate = wxPyBeginAllowThreads();
17459 {
17460 wxString const &_result_ref = (arg1)->GetLabel();
17461 result = (wxString *) &_result_ref;
17462 }
17463
17464 wxPyEndAllowThreads(__tstate);
17465 if (PyErr_Occurred()) SWIG_fail;
17466 }
17467 {
17468 #if wxUSE_UNICODE
17469 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17470 #else
17471 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17472 #endif
17473 }
17474 return resultobj;
17475 fail:
17476 return NULL;
17477 }
17478
17479
17480 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17481 PyObject *resultobj;
17482 wxListEvent *arg1 = (wxListEvent *) 0 ;
17483 wxString *result;
17484 PyObject * obj0 = 0 ;
17485 char *kwnames[] = {
17486 (char *) "self", NULL
17487 };
17488
17489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17491 {
17492 PyThreadState* __tstate = wxPyBeginAllowThreads();
17493 {
17494 wxString const &_result_ref = (arg1)->GetText();
17495 result = (wxString *) &_result_ref;
17496 }
17497
17498 wxPyEndAllowThreads(__tstate);
17499 if (PyErr_Occurred()) SWIG_fail;
17500 }
17501 {
17502 #if wxUSE_UNICODE
17503 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17504 #else
17505 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17506 #endif
17507 }
17508 return resultobj;
17509 fail:
17510 return NULL;
17511 }
17512
17513
17514 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxListEvent *arg1 = (wxListEvent *) 0 ;
17517 int result;
17518 PyObject * obj0 = 0 ;
17519 char *kwnames[] = {
17520 (char *) "self", NULL
17521 };
17522
17523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17525 {
17526 PyThreadState* __tstate = wxPyBeginAllowThreads();
17527 result = (int)(arg1)->GetImage();
17528
17529 wxPyEndAllowThreads(__tstate);
17530 if (PyErr_Occurred()) SWIG_fail;
17531 }
17532 resultobj = PyInt_FromLong((long)result);
17533 return resultobj;
17534 fail:
17535 return NULL;
17536 }
17537
17538
17539 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17540 PyObject *resultobj;
17541 wxListEvent *arg1 = (wxListEvent *) 0 ;
17542 long result;
17543 PyObject * obj0 = 0 ;
17544 char *kwnames[] = {
17545 (char *) "self", NULL
17546 };
17547
17548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17550 {
17551 PyThreadState* __tstate = wxPyBeginAllowThreads();
17552 result = (long)(arg1)->GetData();
17553
17554 wxPyEndAllowThreads(__tstate);
17555 if (PyErr_Occurred()) SWIG_fail;
17556 }
17557 resultobj = PyInt_FromLong((long)result);
17558 return resultobj;
17559 fail:
17560 return NULL;
17561 }
17562
17563
17564 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17565 PyObject *resultobj;
17566 wxListEvent *arg1 = (wxListEvent *) 0 ;
17567 long result;
17568 PyObject * obj0 = 0 ;
17569 char *kwnames[] = {
17570 (char *) "self", NULL
17571 };
17572
17573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17575 {
17576 PyThreadState* __tstate = wxPyBeginAllowThreads();
17577 result = (long)(arg1)->GetMask();
17578
17579 wxPyEndAllowThreads(__tstate);
17580 if (PyErr_Occurred()) SWIG_fail;
17581 }
17582 resultobj = PyInt_FromLong((long)result);
17583 return resultobj;
17584 fail:
17585 return NULL;
17586 }
17587
17588
17589 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17590 PyObject *resultobj;
17591 wxListEvent *arg1 = (wxListEvent *) 0 ;
17592 wxListItem *result;
17593 PyObject * obj0 = 0 ;
17594 char *kwnames[] = {
17595 (char *) "self", NULL
17596 };
17597
17598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17600 {
17601 PyThreadState* __tstate = wxPyBeginAllowThreads();
17602 {
17603 wxListItem const &_result_ref = (arg1)->GetItem();
17604 result = (wxListItem *) &_result_ref;
17605 }
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17611 return resultobj;
17612 fail:
17613 return NULL;
17614 }
17615
17616
17617 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17618 PyObject *resultobj;
17619 wxListEvent *arg1 = (wxListEvent *) 0 ;
17620 long result;
17621 PyObject * obj0 = 0 ;
17622 char *kwnames[] = {
17623 (char *) "self", NULL
17624 };
17625
17626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17628 {
17629 PyThreadState* __tstate = wxPyBeginAllowThreads();
17630 result = (long)(arg1)->GetCacheFrom();
17631
17632 wxPyEndAllowThreads(__tstate);
17633 if (PyErr_Occurred()) SWIG_fail;
17634 }
17635 resultobj = PyInt_FromLong((long)result);
17636 return resultobj;
17637 fail:
17638 return NULL;
17639 }
17640
17641
17642 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17643 PyObject *resultobj;
17644 wxListEvent *arg1 = (wxListEvent *) 0 ;
17645 long result;
17646 PyObject * obj0 = 0 ;
17647 char *kwnames[] = {
17648 (char *) "self", NULL
17649 };
17650
17651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17653 {
17654 PyThreadState* __tstate = wxPyBeginAllowThreads();
17655 result = (long)(arg1)->GetCacheTo();
17656
17657 wxPyEndAllowThreads(__tstate);
17658 if (PyErr_Occurred()) SWIG_fail;
17659 }
17660 resultobj = PyInt_FromLong((long)result);
17661 return resultobj;
17662 fail:
17663 return NULL;
17664 }
17665
17666
17667 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17668 PyObject *resultobj;
17669 wxListEvent *arg1 = (wxListEvent *) 0 ;
17670 bool result;
17671 PyObject * obj0 = 0 ;
17672 char *kwnames[] = {
17673 (char *) "self", NULL
17674 };
17675
17676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17678 {
17679 PyThreadState* __tstate = wxPyBeginAllowThreads();
17680 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17681
17682 wxPyEndAllowThreads(__tstate);
17683 if (PyErr_Occurred()) SWIG_fail;
17684 }
17685 resultobj = PyInt_FromLong((long)result);
17686 return resultobj;
17687 fail:
17688 return NULL;
17689 }
17690
17691
17692 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17693 PyObject *resultobj;
17694 wxListEvent *arg1 = (wxListEvent *) 0 ;
17695 bool arg2 ;
17696 PyObject * obj0 = 0 ;
17697 PyObject * obj1 = 0 ;
17698 char *kwnames[] = {
17699 (char *) "self",(char *) "editCancelled", NULL
17700 };
17701
17702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17704 {
17705 arg2 = (bool) SPyObj_AsBool(obj1);
17706 if (PyErr_Occurred()) SWIG_fail;
17707 }
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 (arg1)->SetEditCanceled(arg2);
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 Py_INCREF(Py_None); resultobj = Py_None;
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17723 PyObject *obj;
17724 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17725 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17726 Py_INCREF(obj);
17727 return Py_BuildValue((char *)"");
17728 }
17729 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17730 PyObject *resultobj;
17731 wxWindow *arg1 = (wxWindow *) 0 ;
17732 int arg2 = (int) -1 ;
17733 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17734 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17735 wxSize const &arg4_defvalue = wxDefaultSize ;
17736 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17737 long arg5 = (long) wxLC_ICON ;
17738 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17739 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17740 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17741 wxString *arg7 = (wxString *) &arg7_defvalue ;
17742 wxPyListCtrl *result;
17743 wxPoint temp3 ;
17744 wxSize temp4 ;
17745 bool temp7 = False ;
17746 PyObject * obj0 = 0 ;
17747 PyObject * obj2 = 0 ;
17748 PyObject * obj3 = 0 ;
17749 PyObject * obj5 = 0 ;
17750 PyObject * obj6 = 0 ;
17751 char *kwnames[] = {
17752 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17753 };
17754
17755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17757 if (obj2) {
17758 {
17759 arg3 = &temp3;
17760 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17761 }
17762 }
17763 if (obj3) {
17764 {
17765 arg4 = &temp4;
17766 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17767 }
17768 }
17769 if (obj5) {
17770 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17771 if (arg6 == NULL) {
17772 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17773 }
17774 }
17775 if (obj6) {
17776 {
17777 arg7 = wxString_in_helper(obj6);
17778 if (arg7 == NULL) SWIG_fail;
17779 temp7 = True;
17780 }
17781 }
17782 {
17783 PyThreadState* __tstate = wxPyBeginAllowThreads();
17784 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17785
17786 wxPyEndAllowThreads(__tstate);
17787 if (PyErr_Occurred()) SWIG_fail;
17788 }
17789 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17790 {
17791 if (temp7)
17792 delete arg7;
17793 }
17794 return resultobj;
17795 fail:
17796 {
17797 if (temp7)
17798 delete arg7;
17799 }
17800 return NULL;
17801 }
17802
17803
17804 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17805 PyObject *resultobj;
17806 wxPyListCtrl *result;
17807 char *kwnames[] = {
17808 NULL
17809 };
17810
17811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17812 {
17813 PyThreadState* __tstate = wxPyBeginAllowThreads();
17814 result = (wxPyListCtrl *)new wxPyListCtrl();
17815
17816 wxPyEndAllowThreads(__tstate);
17817 if (PyErr_Occurred()) SWIG_fail;
17818 }
17819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17820 return resultobj;
17821 fail:
17822 return NULL;
17823 }
17824
17825
17826 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17827 PyObject *resultobj;
17828 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17829 wxWindow *arg2 = (wxWindow *) 0 ;
17830 int arg3 = (int) -1 ;
17831 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17832 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17833 wxSize const &arg5_defvalue = wxDefaultSize ;
17834 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17835 long arg6 = (long) wxLC_ICON ;
17836 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17837 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17838 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17839 wxString *arg8 = (wxString *) &arg8_defvalue ;
17840 bool result;
17841 wxPoint temp4 ;
17842 wxSize temp5 ;
17843 bool temp8 = False ;
17844 PyObject * obj0 = 0 ;
17845 PyObject * obj1 = 0 ;
17846 PyObject * obj3 = 0 ;
17847 PyObject * obj4 = 0 ;
17848 PyObject * obj6 = 0 ;
17849 PyObject * obj7 = 0 ;
17850 char *kwnames[] = {
17851 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17852 };
17853
17854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17857 if (obj3) {
17858 {
17859 arg4 = &temp4;
17860 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17861 }
17862 }
17863 if (obj4) {
17864 {
17865 arg5 = &temp5;
17866 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17867 }
17868 }
17869 if (obj6) {
17870 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17871 if (arg7 == NULL) {
17872 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17873 }
17874 }
17875 if (obj7) {
17876 {
17877 arg8 = wxString_in_helper(obj7);
17878 if (arg8 == NULL) SWIG_fail;
17879 temp8 = True;
17880 }
17881 }
17882 {
17883 PyThreadState* __tstate = wxPyBeginAllowThreads();
17884 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17885
17886 wxPyEndAllowThreads(__tstate);
17887 if (PyErr_Occurred()) SWIG_fail;
17888 }
17889 resultobj = PyInt_FromLong((long)result);
17890 {
17891 if (temp8)
17892 delete arg8;
17893 }
17894 return resultobj;
17895 fail:
17896 {
17897 if (temp8)
17898 delete arg8;
17899 }
17900 return NULL;
17901 }
17902
17903
17904 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17905 PyObject *resultobj;
17906 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17907 PyObject *arg2 = (PyObject *) 0 ;
17908 PyObject *arg3 = (PyObject *) 0 ;
17909 PyObject * obj0 = 0 ;
17910 PyObject * obj1 = 0 ;
17911 PyObject * obj2 = 0 ;
17912 char *kwnames[] = {
17913 (char *) "self",(char *) "self",(char *) "_class", NULL
17914 };
17915
17916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17918 arg2 = obj1;
17919 arg3 = obj2;
17920 {
17921 PyThreadState* __tstate = wxPyBeginAllowThreads();
17922 (arg1)->_setCallbackInfo(arg2,arg3);
17923
17924 wxPyEndAllowThreads(__tstate);
17925 if (PyErr_Occurred()) SWIG_fail;
17926 }
17927 Py_INCREF(Py_None); resultobj = Py_None;
17928 return resultobj;
17929 fail:
17930 return NULL;
17931 }
17932
17933
17934 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17935 PyObject *resultobj;
17936 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17937 wxColour *arg2 = 0 ;
17938 bool result;
17939 wxColour temp2 ;
17940 PyObject * obj0 = 0 ;
17941 PyObject * obj1 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "self",(char *) "col", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17948 {
17949 arg2 = &temp2;
17950 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17951 }
17952 {
17953 PyThreadState* __tstate = wxPyBeginAllowThreads();
17954 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17955
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 resultobj = PyInt_FromLong((long)result);
17960 return resultobj;
17961 fail:
17962 return NULL;
17963 }
17964
17965
17966 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17967 PyObject *resultobj;
17968 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17969 wxColour *arg2 = 0 ;
17970 bool result;
17971 wxColour temp2 ;
17972 PyObject * obj0 = 0 ;
17973 PyObject * obj1 = 0 ;
17974 char *kwnames[] = {
17975 (char *) "self",(char *) "col", NULL
17976 };
17977
17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17980 {
17981 arg2 = &temp2;
17982 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17983 }
17984 {
17985 PyThreadState* __tstate = wxPyBeginAllowThreads();
17986 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17987
17988 wxPyEndAllowThreads(__tstate);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 }
17991 resultobj = PyInt_FromLong((long)result);
17992 return resultobj;
17993 fail:
17994 return NULL;
17995 }
17996
17997
17998 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17999 PyObject *resultobj;
18000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18001 int arg2 ;
18002 wxListItem *result;
18003 PyObject * obj0 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "self",(char *) "col", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
18017 {
18018 resultobj = wxPyMake_wxObject(result);
18019 }
18020 return resultobj;
18021 fail:
18022 return NULL;
18023 }
18024
18025
18026 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18027 PyObject *resultobj;
18028 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18029 int arg2 ;
18030 wxListItem *arg3 = 0 ;
18031 bool result;
18032 PyObject * obj0 = 0 ;
18033 PyObject * obj2 = 0 ;
18034 char *kwnames[] = {
18035 (char *) "self",(char *) "col",(char *) "item", NULL
18036 };
18037
18038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
18039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18040 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18041 if (arg3 == NULL) {
18042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18043 }
18044 {
18045 PyThreadState* __tstate = wxPyBeginAllowThreads();
18046 result = (bool)(arg1)->SetColumn(arg2,*arg3);
18047
18048 wxPyEndAllowThreads(__tstate);
18049 if (PyErr_Occurred()) SWIG_fail;
18050 }
18051 resultobj = PyInt_FromLong((long)result);
18052 return resultobj;
18053 fail:
18054 return NULL;
18055 }
18056
18057
18058 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18059 PyObject *resultobj;
18060 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18061 int arg2 ;
18062 int result;
18063 PyObject * obj0 = 0 ;
18064 char *kwnames[] = {
18065 (char *) "self",(char *) "col", NULL
18066 };
18067
18068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
18069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18070 {
18071 PyThreadState* __tstate = wxPyBeginAllowThreads();
18072 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
18073
18074 wxPyEndAllowThreads(__tstate);
18075 if (PyErr_Occurred()) SWIG_fail;
18076 }
18077 resultobj = PyInt_FromLong((long)result);
18078 return resultobj;
18079 fail:
18080 return NULL;
18081 }
18082
18083
18084 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
18085 PyObject *resultobj;
18086 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18087 int arg2 ;
18088 int arg3 ;
18089 bool result;
18090 PyObject * obj0 = 0 ;
18091 char *kwnames[] = {
18092 (char *) "self",(char *) "col",(char *) "width", NULL
18093 };
18094
18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
18096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18097 {
18098 PyThreadState* __tstate = wxPyBeginAllowThreads();
18099 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
18100
18101 wxPyEndAllowThreads(__tstate);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 }
18104 resultobj = PyInt_FromLong((long)result);
18105 return resultobj;
18106 fail:
18107 return NULL;
18108 }
18109
18110
18111 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18112 PyObject *resultobj;
18113 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18114 int result;
18115 PyObject * obj0 = 0 ;
18116 char *kwnames[] = {
18117 (char *) "self", NULL
18118 };
18119
18120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
18121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
18125
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 resultobj = PyInt_FromLong((long)result);
18130 return resultobj;
18131 fail:
18132 return NULL;
18133 }
18134
18135
18136 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18137 PyObject *resultobj;
18138 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18139 wxRect result;
18140 PyObject * obj0 = 0 ;
18141 char *kwnames[] = {
18142 (char *) "self", NULL
18143 };
18144
18145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
18146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18147 {
18148 PyThreadState* __tstate = wxPyBeginAllowThreads();
18149 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
18150
18151 wxPyEndAllowThreads(__tstate);
18152 if (PyErr_Occurred()) SWIG_fail;
18153 }
18154 {
18155 wxRect * resultptr;
18156 resultptr = new wxRect((wxRect &) result);
18157 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18158 }
18159 return resultobj;
18160 fail:
18161 return NULL;
18162 }
18163
18164
18165 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18166 PyObject *resultobj;
18167 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18168 long arg2 ;
18169 int arg3 = (int) 0 ;
18170 wxListItem *result;
18171 PyObject * obj0 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self",(char *) "itemId",(char *) "col", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18178 {
18179 PyThreadState* __tstate = wxPyBeginAllowThreads();
18180 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
18181
18182 wxPyEndAllowThreads(__tstate);
18183 if (PyErr_Occurred()) SWIG_fail;
18184 }
18185 {
18186 resultobj = wxPyMake_wxObject(result);
18187 }
18188 return resultobj;
18189 fail:
18190 return NULL;
18191 }
18192
18193
18194 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18195 PyObject *resultobj;
18196 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18197 wxListItem *arg2 = 0 ;
18198 bool result;
18199 PyObject * obj0 = 0 ;
18200 PyObject * obj1 = 0 ;
18201 char *kwnames[] = {
18202 (char *) "self",(char *) "info", NULL
18203 };
18204
18205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
18206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18207 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18208 if (arg2 == NULL) {
18209 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18210 }
18211 {
18212 PyThreadState* __tstate = wxPyBeginAllowThreads();
18213 result = (bool)(arg1)->SetItem(*arg2);
18214
18215 wxPyEndAllowThreads(__tstate);
18216 if (PyErr_Occurred()) SWIG_fail;
18217 }
18218 resultobj = PyInt_FromLong((long)result);
18219 return resultobj;
18220 fail:
18221 return NULL;
18222 }
18223
18224
18225 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18226 PyObject *resultobj;
18227 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18228 long arg2 ;
18229 int arg3 ;
18230 wxString *arg4 = 0 ;
18231 int arg5 = (int) -1 ;
18232 long result;
18233 bool temp4 = False ;
18234 PyObject * obj0 = 0 ;
18235 PyObject * obj3 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
18241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18242 {
18243 arg4 = wxString_in_helper(obj3);
18244 if (arg4 == NULL) SWIG_fail;
18245 temp4 = True;
18246 }
18247 {
18248 PyThreadState* __tstate = wxPyBeginAllowThreads();
18249 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
18250
18251 wxPyEndAllowThreads(__tstate);
18252 if (PyErr_Occurred()) SWIG_fail;
18253 }
18254 resultobj = PyInt_FromLong((long)result);
18255 {
18256 if (temp4)
18257 delete arg4;
18258 }
18259 return resultobj;
18260 fail:
18261 {
18262 if (temp4)
18263 delete arg4;
18264 }
18265 return NULL;
18266 }
18267
18268
18269 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18270 PyObject *resultobj;
18271 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18272 long arg2 ;
18273 long arg3 ;
18274 int result;
18275 PyObject * obj0 = 0 ;
18276 char *kwnames[] = {
18277 (char *) "self",(char *) "item",(char *) "stateMask", NULL
18278 };
18279
18280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
18281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18282 {
18283 PyThreadState* __tstate = wxPyBeginAllowThreads();
18284 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
18285
18286 wxPyEndAllowThreads(__tstate);
18287 if (PyErr_Occurred()) SWIG_fail;
18288 }
18289 resultobj = PyInt_FromLong((long)result);
18290 return resultobj;
18291 fail:
18292 return NULL;
18293 }
18294
18295
18296 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
18297 PyObject *resultobj;
18298 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18299 long arg2 ;
18300 long arg3 ;
18301 long arg4 ;
18302 bool result;
18303 PyObject * obj0 = 0 ;
18304 char *kwnames[] = {
18305 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
18306 };
18307
18308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 resultobj = PyInt_FromLong((long)result);
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18327 long arg2 ;
18328 int arg3 ;
18329 int arg4 ;
18330 bool result;
18331 PyObject * obj0 = 0 ;
18332 char *kwnames[] = {
18333 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
18334 };
18335
18336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18338 {
18339 PyThreadState* __tstate = wxPyBeginAllowThreads();
18340 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
18341
18342 wxPyEndAllowThreads(__tstate);
18343 if (PyErr_Occurred()) SWIG_fail;
18344 }
18345 resultobj = PyInt_FromLong((long)result);
18346 return resultobj;
18347 fail:
18348 return NULL;
18349 }
18350
18351
18352 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18353 PyObject *resultobj;
18354 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18355 long arg2 ;
18356 wxString result;
18357 PyObject * obj0 = 0 ;
18358 char *kwnames[] = {
18359 (char *) "self",(char *) "item", NULL
18360 };
18361
18362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
18363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
18367
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 {
18372 #if wxUSE_UNICODE
18373 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18374 #else
18375 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18376 #endif
18377 }
18378 return resultobj;
18379 fail:
18380 return NULL;
18381 }
18382
18383
18384 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18385 PyObject *resultobj;
18386 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18387 long arg2 ;
18388 wxString *arg3 = 0 ;
18389 bool temp3 = False ;
18390 PyObject * obj0 = 0 ;
18391 PyObject * obj2 = 0 ;
18392 char *kwnames[] = {
18393 (char *) "self",(char *) "item",(char *) "str", NULL
18394 };
18395
18396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18398 {
18399 arg3 = wxString_in_helper(obj2);
18400 if (arg3 == NULL) SWIG_fail;
18401 temp3 = True;
18402 }
18403 {
18404 PyThreadState* __tstate = wxPyBeginAllowThreads();
18405 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18406
18407 wxPyEndAllowThreads(__tstate);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 }
18410 Py_INCREF(Py_None); resultobj = Py_None;
18411 {
18412 if (temp3)
18413 delete arg3;
18414 }
18415 return resultobj;
18416 fail:
18417 {
18418 if (temp3)
18419 delete arg3;
18420 }
18421 return NULL;
18422 }
18423
18424
18425 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18426 PyObject *resultobj;
18427 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18428 long arg2 ;
18429 long result;
18430 PyObject * obj0 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self",(char *) "item", NULL
18433 };
18434
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18437 {
18438 PyThreadState* __tstate = wxPyBeginAllowThreads();
18439 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18440
18441 wxPyEndAllowThreads(__tstate);
18442 if (PyErr_Occurred()) SWIG_fail;
18443 }
18444 resultobj = PyInt_FromLong((long)result);
18445 return resultobj;
18446 fail:
18447 return NULL;
18448 }
18449
18450
18451 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18452 PyObject *resultobj;
18453 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18454 long arg2 ;
18455 long arg3 ;
18456 bool result;
18457 PyObject * obj0 = 0 ;
18458 char *kwnames[] = {
18459 (char *) "self",(char *) "item",(char *) "data", NULL
18460 };
18461
18462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18464 {
18465 PyThreadState* __tstate = wxPyBeginAllowThreads();
18466 result = (bool)(arg1)->SetItemData(arg2,arg3);
18467
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 resultobj = PyInt_FromLong((long)result);
18472 return resultobj;
18473 fail:
18474 return NULL;
18475 }
18476
18477
18478 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18479 PyObject *resultobj;
18480 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18481 long arg2 ;
18482 wxPoint result;
18483 PyObject * obj0 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self",(char *) "item", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 {
18498 wxPoint * resultptr;
18499 resultptr = new wxPoint((wxPoint &) result);
18500 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18501 }
18502 return resultobj;
18503 fail:
18504 return NULL;
18505 }
18506
18507
18508 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18509 PyObject *resultobj;
18510 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18511 long arg2 ;
18512 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18513 wxRect result;
18514 PyObject * obj0 = 0 ;
18515 char *kwnames[] = {
18516 (char *) "self",(char *) "item",(char *) "code", NULL
18517 };
18518
18519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18521 {
18522 PyThreadState* __tstate = wxPyBeginAllowThreads();
18523 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18524
18525 wxPyEndAllowThreads(__tstate);
18526 if (PyErr_Occurred()) SWIG_fail;
18527 }
18528 {
18529 wxRect * resultptr;
18530 resultptr = new wxRect((wxRect &) result);
18531 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18532 }
18533 return resultobj;
18534 fail:
18535 return NULL;
18536 }
18537
18538
18539 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18540 PyObject *resultobj;
18541 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18542 long arg2 ;
18543 wxPoint *arg3 = 0 ;
18544 bool result;
18545 wxPoint temp3 ;
18546 PyObject * obj0 = 0 ;
18547 PyObject * obj2 = 0 ;
18548 char *kwnames[] = {
18549 (char *) "self",(char *) "item",(char *) "pos", NULL
18550 };
18551
18552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18554 {
18555 arg3 = &temp3;
18556 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18557 }
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
18565 resultobj = PyInt_FromLong((long)result);
18566 return resultobj;
18567 fail:
18568 return NULL;
18569 }
18570
18571
18572 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18573 PyObject *resultobj;
18574 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18575 int result;
18576 PyObject * obj0 = 0 ;
18577 char *kwnames[] = {
18578 (char *) "self", NULL
18579 };
18580
18581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18583 {
18584 PyThreadState* __tstate = wxPyBeginAllowThreads();
18585 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18586
18587 wxPyEndAllowThreads(__tstate);
18588 if (PyErr_Occurred()) SWIG_fail;
18589 }
18590 resultobj = PyInt_FromLong((long)result);
18591 return resultobj;
18592 fail:
18593 return NULL;
18594 }
18595
18596
18597 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18598 PyObject *resultobj;
18599 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18600 int result;
18601 PyObject * obj0 = 0 ;
18602 char *kwnames[] = {
18603 (char *) "self", NULL
18604 };
18605
18606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18608 {
18609 PyThreadState* __tstate = wxPyBeginAllowThreads();
18610 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18611
18612 wxPyEndAllowThreads(__tstate);
18613 if (PyErr_Occurred()) SWIG_fail;
18614 }
18615 resultobj = PyInt_FromLong((long)result);
18616 return resultobj;
18617 fail:
18618 return NULL;
18619 }
18620
18621
18622 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18623 PyObject *resultobj;
18624 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18625 wxSize result;
18626 PyObject * obj0 = 0 ;
18627 char *kwnames[] = {
18628 (char *) "self", NULL
18629 };
18630
18631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18633 {
18634 PyThreadState* __tstate = wxPyBeginAllowThreads();
18635 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18636
18637 wxPyEndAllowThreads(__tstate);
18638 if (PyErr_Occurred()) SWIG_fail;
18639 }
18640 {
18641 wxSize * resultptr;
18642 resultptr = new wxSize((wxSize &) result);
18643 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18644 }
18645 return resultobj;
18646 fail:
18647 return NULL;
18648 }
18649
18650
18651 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18652 PyObject *resultobj;
18653 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18654 int arg2 ;
18655 bool arg3 = (bool) False ;
18656 PyObject * obj0 = 0 ;
18657 PyObject * obj2 = 0 ;
18658 char *kwnames[] = {
18659 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18660 };
18661
18662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18664 if (obj2) {
18665 {
18666 arg3 = (bool) SPyObj_AsBool(obj2);
18667 if (PyErr_Occurred()) SWIG_fail;
18668 }
18669 }
18670 {
18671 PyThreadState* __tstate = wxPyBeginAllowThreads();
18672 (arg1)->SetItemSpacing(arg2,arg3);
18673
18674 wxPyEndAllowThreads(__tstate);
18675 if (PyErr_Occurred()) SWIG_fail;
18676 }
18677 Py_INCREF(Py_None); resultobj = Py_None;
18678 return resultobj;
18679 fail:
18680 return NULL;
18681 }
18682
18683
18684 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18685 PyObject *resultobj;
18686 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18687 int result;
18688 PyObject * obj0 = 0 ;
18689 char *kwnames[] = {
18690 (char *) "self", NULL
18691 };
18692
18693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18695 {
18696 PyThreadState* __tstate = wxPyBeginAllowThreads();
18697 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18698
18699 wxPyEndAllowThreads(__tstate);
18700 if (PyErr_Occurred()) SWIG_fail;
18701 }
18702 resultobj = PyInt_FromLong((long)result);
18703 return resultobj;
18704 fail:
18705 return NULL;
18706 }
18707
18708
18709 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18710 PyObject *resultobj;
18711 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18712 wxColour result;
18713 PyObject * obj0 = 0 ;
18714 char *kwnames[] = {
18715 (char *) "self", NULL
18716 };
18717
18718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18720 {
18721 PyThreadState* __tstate = wxPyBeginAllowThreads();
18722 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18723
18724 wxPyEndAllowThreads(__tstate);
18725 if (PyErr_Occurred()) SWIG_fail;
18726 }
18727 {
18728 wxColour * resultptr;
18729 resultptr = new wxColour((wxColour &) result);
18730 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18731 }
18732 return resultobj;
18733 fail:
18734 return NULL;
18735 }
18736
18737
18738 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18739 PyObject *resultobj;
18740 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18741 wxColour *arg2 = 0 ;
18742 wxColour temp2 ;
18743 PyObject * obj0 = 0 ;
18744 PyObject * obj1 = 0 ;
18745 char *kwnames[] = {
18746 (char *) "self",(char *) "col", NULL
18747 };
18748
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18751 {
18752 arg2 = &temp2;
18753 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18754 }
18755 {
18756 PyThreadState* __tstate = wxPyBeginAllowThreads();
18757 (arg1)->SetTextColour((wxColour const &)*arg2);
18758
18759 wxPyEndAllowThreads(__tstate);
18760 if (PyErr_Occurred()) SWIG_fail;
18761 }
18762 Py_INCREF(Py_None); resultobj = Py_None;
18763 return resultobj;
18764 fail:
18765 return NULL;
18766 }
18767
18768
18769 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18770 PyObject *resultobj;
18771 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18772 long result;
18773 PyObject * obj0 = 0 ;
18774 char *kwnames[] = {
18775 (char *) "self", NULL
18776 };
18777
18778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18780 {
18781 PyThreadState* __tstate = wxPyBeginAllowThreads();
18782 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18783
18784 wxPyEndAllowThreads(__tstate);
18785 if (PyErr_Occurred()) SWIG_fail;
18786 }
18787 resultobj = PyInt_FromLong((long)result);
18788 return resultobj;
18789 fail:
18790 return NULL;
18791 }
18792
18793
18794 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18795 PyObject *resultobj;
18796 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18797 long arg2 ;
18798 bool arg3 = (bool) True ;
18799 PyObject * obj0 = 0 ;
18800 PyObject * obj2 = 0 ;
18801 char *kwnames[] = {
18802 (char *) "self",(char *) "style",(char *) "add", NULL
18803 };
18804
18805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18807 if (obj2) {
18808 {
18809 arg3 = (bool) SPyObj_AsBool(obj2);
18810 if (PyErr_Occurred()) SWIG_fail;
18811 }
18812 }
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 (arg1)->SetSingleStyle(arg2,arg3);
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 Py_INCREF(Py_None); resultobj = Py_None;
18821 return resultobj;
18822 fail:
18823 return NULL;
18824 }
18825
18826
18827 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18828 PyObject *resultobj;
18829 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18830 long arg2 ;
18831 PyObject * obj0 = 0 ;
18832 char *kwnames[] = {
18833 (char *) "self",(char *) "style", NULL
18834 };
18835
18836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18838 {
18839 PyThreadState* __tstate = wxPyBeginAllowThreads();
18840 (arg1)->SetWindowStyleFlag(arg2);
18841
18842 wxPyEndAllowThreads(__tstate);
18843 if (PyErr_Occurred()) SWIG_fail;
18844 }
18845 Py_INCREF(Py_None); resultobj = Py_None;
18846 return resultobj;
18847 fail:
18848 return NULL;
18849 }
18850
18851
18852 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18853 PyObject *resultobj;
18854 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18855 long arg2 ;
18856 int arg3 = (int) wxLIST_NEXT_ALL ;
18857 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18858 long result;
18859 PyObject * obj0 = 0 ;
18860 char *kwnames[] = {
18861 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18862 };
18863
18864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18866 {
18867 PyThreadState* __tstate = wxPyBeginAllowThreads();
18868 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18869
18870 wxPyEndAllowThreads(__tstate);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 resultobj = PyInt_FromLong((long)result);
18874 return resultobj;
18875 fail:
18876 return NULL;
18877 }
18878
18879
18880 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18881 PyObject *resultobj;
18882 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18883 int arg2 ;
18884 wxImageList *result;
18885 PyObject * obj0 = 0 ;
18886 char *kwnames[] = {
18887 (char *) "self",(char *) "which", NULL
18888 };
18889
18890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18892 {
18893 PyThreadState* __tstate = wxPyBeginAllowThreads();
18894 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18895
18896 wxPyEndAllowThreads(__tstate);
18897 if (PyErr_Occurred()) SWIG_fail;
18898 }
18899 {
18900 resultobj = wxPyMake_wxObject(result);
18901 }
18902 return resultobj;
18903 fail:
18904 return NULL;
18905 }
18906
18907
18908 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18909 PyObject *resultobj;
18910 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18911 wxImageList *arg2 = (wxImageList *) 0 ;
18912 int arg3 ;
18913 PyObject * obj0 = 0 ;
18914 PyObject * obj1 = 0 ;
18915 char *kwnames[] = {
18916 (char *) "self",(char *) "imageList",(char *) "which", NULL
18917 };
18918
18919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18921 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18922 {
18923 PyThreadState* __tstate = wxPyBeginAllowThreads();
18924 (arg1)->SetImageList(arg2,arg3);
18925
18926 wxPyEndAllowThreads(__tstate);
18927 if (PyErr_Occurred()) SWIG_fail;
18928 }
18929 Py_INCREF(Py_None); resultobj = Py_None;
18930 return resultobj;
18931 fail:
18932 return NULL;
18933 }
18934
18935
18936 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18937 PyObject *resultobj;
18938 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18939 wxImageList *arg2 = (wxImageList *) 0 ;
18940 int arg3 ;
18941 PyObject * obj0 = 0 ;
18942 PyObject * obj1 = 0 ;
18943 char *kwnames[] = {
18944 (char *) "self",(char *) "imageList",(char *) "which", NULL
18945 };
18946
18947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18949 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18950 {
18951 PyThreadState* __tstate = wxPyBeginAllowThreads();
18952 (arg1)->AssignImageList(arg2,arg3);
18953
18954 wxPyEndAllowThreads(__tstate);
18955 if (PyErr_Occurred()) SWIG_fail;
18956 }
18957 Py_INCREF(Py_None); resultobj = Py_None;
18958 return resultobj;
18959 fail:
18960 return NULL;
18961 }
18962
18963
18964 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18965 PyObject *resultobj;
18966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18967 bool result;
18968 PyObject * obj0 = 0 ;
18969 char *kwnames[] = {
18970 (char *) "self", NULL
18971 };
18972
18973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18975 {
18976 PyThreadState* __tstate = wxPyBeginAllowThreads();
18977 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18978
18979 wxPyEndAllowThreads(__tstate);
18980 if (PyErr_Occurred()) SWIG_fail;
18981 }
18982 resultobj = PyInt_FromLong((long)result);
18983 return resultobj;
18984 fail:
18985 return NULL;
18986 }
18987
18988
18989 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18990 PyObject *resultobj;
18991 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18992 long arg2 ;
18993 PyObject * obj0 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self",(char *) "item", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19000 {
19001 PyThreadState* __tstate = wxPyBeginAllowThreads();
19002 (arg1)->RefreshItem(arg2);
19003
19004 wxPyEndAllowThreads(__tstate);
19005 if (PyErr_Occurred()) SWIG_fail;
19006 }
19007 Py_INCREF(Py_None); resultobj = Py_None;
19008 return resultobj;
19009 fail:
19010 return NULL;
19011 }
19012
19013
19014 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19015 PyObject *resultobj;
19016 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19017 long arg2 ;
19018 long arg3 ;
19019 PyObject * obj0 = 0 ;
19020 char *kwnames[] = {
19021 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
19022 };
19023
19024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
19025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19026 {
19027 PyThreadState* __tstate = wxPyBeginAllowThreads();
19028 (arg1)->RefreshItems(arg2,arg3);
19029
19030 wxPyEndAllowThreads(__tstate);
19031 if (PyErr_Occurred()) SWIG_fail;
19032 }
19033 Py_INCREF(Py_None); resultobj = Py_None;
19034 return resultobj;
19035 fail:
19036 return NULL;
19037 }
19038
19039
19040 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
19041 PyObject *resultobj;
19042 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19043 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
19044 bool result;
19045 PyObject * obj0 = 0 ;
19046 char *kwnames[] = {
19047 (char *) "self",(char *) "flag", NULL
19048 };
19049
19050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
19051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 result = (bool)(arg1)->Arrange(arg2);
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 resultobj = PyInt_FromLong((long)result);
19060 return resultobj;
19061 fail:
19062 return NULL;
19063 }
19064
19065
19066 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19067 PyObject *resultobj;
19068 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19069 long arg2 ;
19070 bool result;
19071 PyObject * obj0 = 0 ;
19072 char *kwnames[] = {
19073 (char *) "self",(char *) "item", NULL
19074 };
19075
19076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
19077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19078 {
19079 PyThreadState* __tstate = wxPyBeginAllowThreads();
19080 result = (bool)(arg1)->DeleteItem(arg2);
19081
19082 wxPyEndAllowThreads(__tstate);
19083 if (PyErr_Occurred()) SWIG_fail;
19084 }
19085 resultobj = PyInt_FromLong((long)result);
19086 return resultobj;
19087 fail:
19088 return NULL;
19089 }
19090
19091
19092 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19093 PyObject *resultobj;
19094 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19095 bool result;
19096 PyObject * obj0 = 0 ;
19097 char *kwnames[] = {
19098 (char *) "self", NULL
19099 };
19100
19101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
19102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19103 {
19104 PyThreadState* __tstate = wxPyBeginAllowThreads();
19105 result = (bool)(arg1)->DeleteAllItems();
19106
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 resultobj = PyInt_FromLong((long)result);
19111 return resultobj;
19112 fail:
19113 return NULL;
19114 }
19115
19116
19117 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19118 PyObject *resultobj;
19119 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19120 int arg2 ;
19121 bool result;
19122 PyObject * obj0 = 0 ;
19123 char *kwnames[] = {
19124 (char *) "self",(char *) "col", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
19128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19129 {
19130 PyThreadState* __tstate = wxPyBeginAllowThreads();
19131 result = (bool)(arg1)->DeleteColumn(arg2);
19132
19133 wxPyEndAllowThreads(__tstate);
19134 if (PyErr_Occurred()) SWIG_fail;
19135 }
19136 resultobj = PyInt_FromLong((long)result);
19137 return resultobj;
19138 fail:
19139 return NULL;
19140 }
19141
19142
19143 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
19144 PyObject *resultobj;
19145 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19146 bool result;
19147 PyObject * obj0 = 0 ;
19148 char *kwnames[] = {
19149 (char *) "self", NULL
19150 };
19151
19152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
19153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19154 {
19155 PyThreadState* __tstate = wxPyBeginAllowThreads();
19156 result = (bool)(arg1)->DeleteAllColumns();
19157
19158 wxPyEndAllowThreads(__tstate);
19159 if (PyErr_Occurred()) SWIG_fail;
19160 }
19161 resultobj = PyInt_FromLong((long)result);
19162 return resultobj;
19163 fail:
19164 return NULL;
19165 }
19166
19167
19168 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
19169 PyObject *resultobj;
19170 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19171 PyObject * obj0 = 0 ;
19172 char *kwnames[] = {
19173 (char *) "self", NULL
19174 };
19175
19176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
19177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19178 {
19179 PyThreadState* __tstate = wxPyBeginAllowThreads();
19180 (arg1)->ClearAll();
19181
19182 wxPyEndAllowThreads(__tstate);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
19185 Py_INCREF(Py_None); resultobj = Py_None;
19186 return resultobj;
19187 fail:
19188 return NULL;
19189 }
19190
19191
19192 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
19193 PyObject *resultobj;
19194 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19195 long arg2 ;
19196 PyObject * obj0 = 0 ;
19197 char *kwnames[] = {
19198 (char *) "self",(char *) "item", NULL
19199 };
19200
19201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
19202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19203 {
19204 PyThreadState* __tstate = wxPyBeginAllowThreads();
19205 (arg1)->EditLabel(arg2);
19206
19207 wxPyEndAllowThreads(__tstate);
19208 if (PyErr_Occurred()) SWIG_fail;
19209 }
19210 Py_INCREF(Py_None); resultobj = Py_None;
19211 return resultobj;
19212 fail:
19213 return NULL;
19214 }
19215
19216
19217 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
19218 PyObject *resultobj;
19219 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19220 long arg2 ;
19221 bool result;
19222 PyObject * obj0 = 0 ;
19223 char *kwnames[] = {
19224 (char *) "self",(char *) "item", NULL
19225 };
19226
19227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
19228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19229 {
19230 PyThreadState* __tstate = wxPyBeginAllowThreads();
19231 result = (bool)(arg1)->EnsureVisible(arg2);
19232
19233 wxPyEndAllowThreads(__tstate);
19234 if (PyErr_Occurred()) SWIG_fail;
19235 }
19236 resultobj = PyInt_FromLong((long)result);
19237 return resultobj;
19238 fail:
19239 return NULL;
19240 }
19241
19242
19243 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19244 PyObject *resultobj;
19245 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19246 long arg2 ;
19247 wxString *arg3 = 0 ;
19248 bool arg4 = (bool) False ;
19249 long result;
19250 bool temp3 = False ;
19251 PyObject * obj0 = 0 ;
19252 PyObject * obj2 = 0 ;
19253 PyObject * obj3 = 0 ;
19254 char *kwnames[] = {
19255 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
19256 };
19257
19258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
19259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19260 {
19261 arg3 = wxString_in_helper(obj2);
19262 if (arg3 == NULL) SWIG_fail;
19263 temp3 = True;
19264 }
19265 if (obj3) {
19266 {
19267 arg4 = (bool) SPyObj_AsBool(obj3);
19268 if (PyErr_Occurred()) SWIG_fail;
19269 }
19270 }
19271 {
19272 PyThreadState* __tstate = wxPyBeginAllowThreads();
19273 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
19274
19275 wxPyEndAllowThreads(__tstate);
19276 if (PyErr_Occurred()) SWIG_fail;
19277 }
19278 resultobj = PyInt_FromLong((long)result);
19279 {
19280 if (temp3)
19281 delete arg3;
19282 }
19283 return resultobj;
19284 fail:
19285 {
19286 if (temp3)
19287 delete arg3;
19288 }
19289 return NULL;
19290 }
19291
19292
19293 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19294 PyObject *resultobj;
19295 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19296 long arg2 ;
19297 long arg3 ;
19298 long result;
19299 PyObject * obj0 = 0 ;
19300 char *kwnames[] = {
19301 (char *) "self",(char *) "start",(char *) "data", NULL
19302 };
19303
19304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
19305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19306 {
19307 PyThreadState* __tstate = wxPyBeginAllowThreads();
19308 result = (long)(arg1)->FindItem(arg2,arg3);
19309
19310 wxPyEndAllowThreads(__tstate);
19311 if (PyErr_Occurred()) SWIG_fail;
19312 }
19313 resultobj = PyInt_FromLong((long)result);
19314 return resultobj;
19315 fail:
19316 return NULL;
19317 }
19318
19319
19320 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
19321 PyObject *resultobj;
19322 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19323 long arg2 ;
19324 wxPoint *arg3 = 0 ;
19325 int arg4 ;
19326 long result;
19327 wxPoint temp3 ;
19328 PyObject * obj0 = 0 ;
19329 PyObject * obj2 = 0 ;
19330 char *kwnames[] = {
19331 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
19332 };
19333
19334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19336 {
19337 arg3 = &temp3;
19338 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19339 }
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
19343
19344 wxPyEndAllowThreads(__tstate);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 resultobj = PyInt_FromLong((long)result);
19348 return resultobj;
19349 fail:
19350 return NULL;
19351 }
19352
19353
19354 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
19355 PyObject *resultobj;
19356 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19357 wxPoint *arg2 = 0 ;
19358 int *arg3 = 0 ;
19359 long result;
19360 wxPoint temp2 ;
19361 int temp3 ;
19362 PyObject * obj0 = 0 ;
19363 PyObject * obj1 = 0 ;
19364 char *kwnames[] = {
19365 (char *) "self",(char *) "point", NULL
19366 };
19367
19368 arg3 = &temp3;
19369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
19370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19371 {
19372 arg2 = &temp2;
19373 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19374 }
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 resultobj = PyInt_FromLong((long)result);
19383 {
19384 PyObject *o = PyInt_FromLong((long) (*arg3));
19385 resultobj = t_output_helper(resultobj,o);
19386 }
19387 return resultobj;
19388 fail:
19389 return NULL;
19390 }
19391
19392
19393 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19394 PyObject *resultobj;
19395 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19396 wxListItem *arg2 = 0 ;
19397 long result;
19398 PyObject * obj0 = 0 ;
19399 PyObject * obj1 = 0 ;
19400 char *kwnames[] = {
19401 (char *) "self",(char *) "info", NULL
19402 };
19403
19404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19407 if (arg2 == NULL) {
19408 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19409 }
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 result = (long)(arg1)->InsertItem(*arg2);
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 resultobj = PyInt_FromLong((long)result);
19418 return resultobj;
19419 fail:
19420 return NULL;
19421 }
19422
19423
19424 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19425 PyObject *resultobj;
19426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19427 long arg2 ;
19428 wxString *arg3 = 0 ;
19429 long result;
19430 bool temp3 = False ;
19431 PyObject * obj0 = 0 ;
19432 PyObject * obj2 = 0 ;
19433 char *kwnames[] = {
19434 (char *) "self",(char *) "index",(char *) "label", NULL
19435 };
19436
19437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19439 {
19440 arg3 = wxString_in_helper(obj2);
19441 if (arg3 == NULL) SWIG_fail;
19442 temp3 = True;
19443 }
19444 {
19445 PyThreadState* __tstate = wxPyBeginAllowThreads();
19446 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19447
19448 wxPyEndAllowThreads(__tstate);
19449 if (PyErr_Occurred()) SWIG_fail;
19450 }
19451 resultobj = PyInt_FromLong((long)result);
19452 {
19453 if (temp3)
19454 delete arg3;
19455 }
19456 return resultobj;
19457 fail:
19458 {
19459 if (temp3)
19460 delete arg3;
19461 }
19462 return NULL;
19463 }
19464
19465
19466 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19467 PyObject *resultobj;
19468 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19469 long arg2 ;
19470 int arg3 ;
19471 long result;
19472 PyObject * obj0 = 0 ;
19473 char *kwnames[] = {
19474 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19475 };
19476
19477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19479 {
19480 PyThreadState* __tstate = wxPyBeginAllowThreads();
19481 result = (long)(arg1)->InsertItem(arg2,arg3);
19482
19483 wxPyEndAllowThreads(__tstate);
19484 if (PyErr_Occurred()) SWIG_fail;
19485 }
19486 resultobj = PyInt_FromLong((long)result);
19487 return resultobj;
19488 fail:
19489 return NULL;
19490 }
19491
19492
19493 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19494 PyObject *resultobj;
19495 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19496 long arg2 ;
19497 wxString *arg3 = 0 ;
19498 int arg4 ;
19499 long result;
19500 bool temp3 = False ;
19501 PyObject * obj0 = 0 ;
19502 PyObject * obj2 = 0 ;
19503 char *kwnames[] = {
19504 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19505 };
19506
19507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19509 {
19510 arg3 = wxString_in_helper(obj2);
19511 if (arg3 == NULL) SWIG_fail;
19512 temp3 = True;
19513 }
19514 {
19515 PyThreadState* __tstate = wxPyBeginAllowThreads();
19516 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19517
19518 wxPyEndAllowThreads(__tstate);
19519 if (PyErr_Occurred()) SWIG_fail;
19520 }
19521 resultobj = PyInt_FromLong((long)result);
19522 {
19523 if (temp3)
19524 delete arg3;
19525 }
19526 return resultobj;
19527 fail:
19528 {
19529 if (temp3)
19530 delete arg3;
19531 }
19532 return NULL;
19533 }
19534
19535
19536 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19537 PyObject *resultobj;
19538 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19539 long arg2 ;
19540 wxListItem *arg3 = 0 ;
19541 long result;
19542 PyObject * obj0 = 0 ;
19543 PyObject * obj2 = 0 ;
19544 char *kwnames[] = {
19545 (char *) "self",(char *) "col",(char *) "info", NULL
19546 };
19547
19548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19550 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19551 if (arg3 == NULL) {
19552 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19553 }
19554 {
19555 PyThreadState* __tstate = wxPyBeginAllowThreads();
19556 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19557
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 resultobj = PyInt_FromLong((long)result);
19562 return resultobj;
19563 fail:
19564 return NULL;
19565 }
19566
19567
19568 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19569 PyObject *resultobj;
19570 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19571 long arg2 ;
19572 wxString *arg3 = 0 ;
19573 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19574 int arg5 = (int) -1 ;
19575 long result;
19576 bool temp3 = False ;
19577 PyObject * obj0 = 0 ;
19578 PyObject * obj2 = 0 ;
19579 char *kwnames[] = {
19580 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19581 };
19582
19583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19585 {
19586 arg3 = wxString_in_helper(obj2);
19587 if (arg3 == NULL) SWIG_fail;
19588 temp3 = True;
19589 }
19590 {
19591 PyThreadState* __tstate = wxPyBeginAllowThreads();
19592 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19593
19594 wxPyEndAllowThreads(__tstate);
19595 if (PyErr_Occurred()) SWIG_fail;
19596 }
19597 resultobj = PyInt_FromLong((long)result);
19598 {
19599 if (temp3)
19600 delete arg3;
19601 }
19602 return resultobj;
19603 fail:
19604 {
19605 if (temp3)
19606 delete arg3;
19607 }
19608 return NULL;
19609 }
19610
19611
19612 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj;
19614 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19615 long arg2 ;
19616 PyObject * obj0 = 0 ;
19617 char *kwnames[] = {
19618 (char *) "self",(char *) "count", NULL
19619 };
19620
19621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 (arg1)->SetItemCount(arg2);
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 Py_INCREF(Py_None); resultobj = Py_None;
19631 return resultobj;
19632 fail:
19633 return NULL;
19634 }
19635
19636
19637 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19638 PyObject *resultobj;
19639 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19640 int arg2 ;
19641 int arg3 ;
19642 bool result;
19643 PyObject * obj0 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self",(char *) "dx",(char *) "dy", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 result = (bool)(arg1)->ScrollList(arg2,arg3);
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 resultobj = PyInt_FromLong((long)result);
19658 return resultobj;
19659 fail:
19660 return NULL;
19661 }
19662
19663
19664 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj;
19666 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19667 long arg2 ;
19668 wxColour *arg3 = 0 ;
19669 wxColour temp3 ;
19670 PyObject * obj0 = 0 ;
19671 PyObject * obj2 = 0 ;
19672 char *kwnames[] = {
19673 (char *) "self",(char *) "item",(char *) "col", NULL
19674 };
19675
19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19678 {
19679 arg3 = &temp3;
19680 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19681 }
19682 {
19683 PyThreadState* __tstate = wxPyBeginAllowThreads();
19684 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19685
19686 wxPyEndAllowThreads(__tstate);
19687 if (PyErr_Occurred()) SWIG_fail;
19688 }
19689 Py_INCREF(Py_None); resultobj = Py_None;
19690 return resultobj;
19691 fail:
19692 return NULL;
19693 }
19694
19695
19696 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19697 PyObject *resultobj;
19698 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19699 long arg2 ;
19700 wxColour result;
19701 PyObject * obj0 = 0 ;
19702 char *kwnames[] = {
19703 (char *) "self",(char *) "item", NULL
19704 };
19705
19706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19708 {
19709 PyThreadState* __tstate = wxPyBeginAllowThreads();
19710 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19711
19712 wxPyEndAllowThreads(__tstate);
19713 if (PyErr_Occurred()) SWIG_fail;
19714 }
19715 {
19716 wxColour * resultptr;
19717 resultptr = new wxColour((wxColour &) result);
19718 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19719 }
19720 return resultobj;
19721 fail:
19722 return NULL;
19723 }
19724
19725
19726 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj;
19728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19729 long arg2 ;
19730 wxColour *arg3 = 0 ;
19731 wxColour temp3 ;
19732 PyObject * obj0 = 0 ;
19733 PyObject * obj2 = 0 ;
19734 char *kwnames[] = {
19735 (char *) "self",(char *) "item",(char *) "col", NULL
19736 };
19737
19738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19740 {
19741 arg3 = &temp3;
19742 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19743 }
19744 {
19745 PyThreadState* __tstate = wxPyBeginAllowThreads();
19746 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19747
19748 wxPyEndAllowThreads(__tstate);
19749 if (PyErr_Occurred()) SWIG_fail;
19750 }
19751 Py_INCREF(Py_None); resultobj = Py_None;
19752 return resultobj;
19753 fail:
19754 return NULL;
19755 }
19756
19757
19758 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19759 PyObject *resultobj;
19760 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19761 long arg2 ;
19762 wxColour result;
19763 PyObject * obj0 = 0 ;
19764 char *kwnames[] = {
19765 (char *) "self",(char *) "item", NULL
19766 };
19767
19768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19770 {
19771 PyThreadState* __tstate = wxPyBeginAllowThreads();
19772 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19773
19774 wxPyEndAllowThreads(__tstate);
19775 if (PyErr_Occurred()) SWIG_fail;
19776 }
19777 {
19778 wxColour * resultptr;
19779 resultptr = new wxColour((wxColour &) result);
19780 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19781 }
19782 return resultobj;
19783 fail:
19784 return NULL;
19785 }
19786
19787
19788 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj;
19790 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19791 PyObject *arg2 = (PyObject *) 0 ;
19792 bool result;
19793 PyObject * obj0 = 0 ;
19794 PyObject * obj1 = 0 ;
19795 char *kwnames[] = {
19796 (char *) "self",(char *) "func", NULL
19797 };
19798
19799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19801 arg2 = obj1;
19802 {
19803 PyThreadState* __tstate = wxPyBeginAllowThreads();
19804 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19805
19806 wxPyEndAllowThreads(__tstate);
19807 if (PyErr_Occurred()) SWIG_fail;
19808 }
19809 resultobj = PyInt_FromLong((long)result);
19810 return resultobj;
19811 fail:
19812 return NULL;
19813 }
19814
19815
19816 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19817 PyObject *resultobj;
19818 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19819 wxWindow *result;
19820 PyObject * obj0 = 0 ;
19821 char *kwnames[] = {
19822 (char *) "self", NULL
19823 };
19824
19825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19827 {
19828 PyThreadState* __tstate = wxPyBeginAllowThreads();
19829 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19830
19831 wxPyEndAllowThreads(__tstate);
19832 if (PyErr_Occurred()) SWIG_fail;
19833 }
19834 {
19835 resultobj = wxPyMake_wxObject(result);
19836 }
19837 return resultobj;
19838 fail:
19839 return NULL;
19840 }
19841
19842
19843 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19844 PyObject *obj;
19845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19846 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19847 Py_INCREF(obj);
19848 return Py_BuildValue((char *)"");
19849 }
19850 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19851 PyObject *resultobj;
19852 wxWindow *arg1 = (wxWindow *) 0 ;
19853 int arg2 = (int) -1 ;
19854 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19855 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19856 wxSize const &arg4_defvalue = wxDefaultSize ;
19857 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19858 long arg5 = (long) wxLC_REPORT ;
19859 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19860 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19861 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19862 wxString *arg7 = (wxString *) &arg7_defvalue ;
19863 wxListView *result;
19864 wxPoint temp3 ;
19865 wxSize temp4 ;
19866 bool temp7 = False ;
19867 PyObject * obj0 = 0 ;
19868 PyObject * obj2 = 0 ;
19869 PyObject * obj3 = 0 ;
19870 PyObject * obj5 = 0 ;
19871 PyObject * obj6 = 0 ;
19872 char *kwnames[] = {
19873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19874 };
19875
19876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19878 if (obj2) {
19879 {
19880 arg3 = &temp3;
19881 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19882 }
19883 }
19884 if (obj3) {
19885 {
19886 arg4 = &temp4;
19887 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19888 }
19889 }
19890 if (obj5) {
19891 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19892 if (arg6 == NULL) {
19893 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19894 }
19895 }
19896 if (obj6) {
19897 {
19898 arg7 = wxString_in_helper(obj6);
19899 if (arg7 == NULL) SWIG_fail;
19900 temp7 = True;
19901 }
19902 }
19903 {
19904 PyThreadState* __tstate = wxPyBeginAllowThreads();
19905 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19906
19907 wxPyEndAllowThreads(__tstate);
19908 if (PyErr_Occurred()) SWIG_fail;
19909 }
19910 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19911 {
19912 if (temp7)
19913 delete arg7;
19914 }
19915 return resultobj;
19916 fail:
19917 {
19918 if (temp7)
19919 delete arg7;
19920 }
19921 return NULL;
19922 }
19923
19924
19925 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 wxListView *result;
19928 char *kwnames[] = {
19929 NULL
19930 };
19931
19932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19933 {
19934 PyThreadState* __tstate = wxPyBeginAllowThreads();
19935 result = (wxListView *)new wxListView();
19936
19937 wxPyEndAllowThreads(__tstate);
19938 if (PyErr_Occurred()) SWIG_fail;
19939 }
19940 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19941 return resultobj;
19942 fail:
19943 return NULL;
19944 }
19945
19946
19947 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19948 PyObject *resultobj;
19949 wxListView *arg1 = (wxListView *) 0 ;
19950 wxWindow *arg2 = (wxWindow *) 0 ;
19951 int arg3 = (int) -1 ;
19952 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19953 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19954 wxSize const &arg5_defvalue = wxDefaultSize ;
19955 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19956 long arg6 = (long) wxLC_REPORT ;
19957 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19958 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19959 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19960 wxString *arg8 = (wxString *) &arg8_defvalue ;
19961 bool result;
19962 wxPoint temp4 ;
19963 wxSize temp5 ;
19964 bool temp8 = False ;
19965 PyObject * obj0 = 0 ;
19966 PyObject * obj1 = 0 ;
19967 PyObject * obj3 = 0 ;
19968 PyObject * obj4 = 0 ;
19969 PyObject * obj6 = 0 ;
19970 PyObject * obj7 = 0 ;
19971 char *kwnames[] = {
19972 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19973 };
19974
19975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19978 if (obj3) {
19979 {
19980 arg4 = &temp4;
19981 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19982 }
19983 }
19984 if (obj4) {
19985 {
19986 arg5 = &temp5;
19987 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19988 }
19989 }
19990 if (obj6) {
19991 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19992 if (arg7 == NULL) {
19993 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19994 }
19995 }
19996 if (obj7) {
19997 {
19998 arg8 = wxString_in_helper(obj7);
19999 if (arg8 == NULL) SWIG_fail;
20000 temp8 = True;
20001 }
20002 }
20003 {
20004 PyThreadState* __tstate = wxPyBeginAllowThreads();
20005 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20006
20007 wxPyEndAllowThreads(__tstate);
20008 if (PyErr_Occurred()) SWIG_fail;
20009 }
20010 resultobj = PyInt_FromLong((long)result);
20011 {
20012 if (temp8)
20013 delete arg8;
20014 }
20015 return resultobj;
20016 fail:
20017 {
20018 if (temp8)
20019 delete arg8;
20020 }
20021 return NULL;
20022 }
20023
20024
20025 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
20026 PyObject *resultobj;
20027 wxListView *arg1 = (wxListView *) 0 ;
20028 long arg2 ;
20029 bool arg3 = (bool) True ;
20030 PyObject * obj0 = 0 ;
20031 PyObject * obj2 = 0 ;
20032 char *kwnames[] = {
20033 (char *) "self",(char *) "n",(char *) "on", NULL
20034 };
20035
20036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
20037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20038 if (obj2) {
20039 {
20040 arg3 = (bool) SPyObj_AsBool(obj2);
20041 if (PyErr_Occurred()) SWIG_fail;
20042 }
20043 }
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 (arg1)->Select(arg2,arg3);
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 Py_INCREF(Py_None); resultobj = Py_None;
20052 return resultobj;
20053 fail:
20054 return NULL;
20055 }
20056
20057
20058 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj;
20060 wxListView *arg1 = (wxListView *) 0 ;
20061 long arg2 ;
20062 PyObject * obj0 = 0 ;
20063 char *kwnames[] = {
20064 (char *) "self",(char *) "index", NULL
20065 };
20066
20067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
20068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20069 {
20070 PyThreadState* __tstate = wxPyBeginAllowThreads();
20071 (arg1)->Focus(arg2);
20072
20073 wxPyEndAllowThreads(__tstate);
20074 if (PyErr_Occurred()) SWIG_fail;
20075 }
20076 Py_INCREF(Py_None); resultobj = Py_None;
20077 return resultobj;
20078 fail:
20079 return NULL;
20080 }
20081
20082
20083 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20084 PyObject *resultobj;
20085 wxListView *arg1 = (wxListView *) 0 ;
20086 long result;
20087 PyObject * obj0 = 0 ;
20088 char *kwnames[] = {
20089 (char *) "self", NULL
20090 };
20091
20092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
20093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 result = (long)((wxListView const *)arg1)->GetFocusedItem();
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 resultobj = PyInt_FromLong((long)result);
20102 return resultobj;
20103 fail:
20104 return NULL;
20105 }
20106
20107
20108 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj;
20110 wxListView *arg1 = (wxListView *) 0 ;
20111 long arg2 ;
20112 long result;
20113 PyObject * obj0 = 0 ;
20114 char *kwnames[] = {
20115 (char *) "self",(char *) "item", NULL
20116 };
20117
20118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
20119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20120 {
20121 PyThreadState* __tstate = wxPyBeginAllowThreads();
20122 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
20123
20124 wxPyEndAllowThreads(__tstate);
20125 if (PyErr_Occurred()) SWIG_fail;
20126 }
20127 resultobj = PyInt_FromLong((long)result);
20128 return resultobj;
20129 fail:
20130 return NULL;
20131 }
20132
20133
20134 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20135 PyObject *resultobj;
20136 wxListView *arg1 = (wxListView *) 0 ;
20137 long result;
20138 PyObject * obj0 = 0 ;
20139 char *kwnames[] = {
20140 (char *) "self", NULL
20141 };
20142
20143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
20144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20145 {
20146 PyThreadState* __tstate = wxPyBeginAllowThreads();
20147 result = (long)((wxListView const *)arg1)->GetFirstSelected();
20148
20149 wxPyEndAllowThreads(__tstate);
20150 if (PyErr_Occurred()) SWIG_fail;
20151 }
20152 resultobj = PyInt_FromLong((long)result);
20153 return resultobj;
20154 fail:
20155 return NULL;
20156 }
20157
20158
20159 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
20160 PyObject *resultobj;
20161 wxListView *arg1 = (wxListView *) 0 ;
20162 long arg2 ;
20163 bool result;
20164 PyObject * obj0 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self",(char *) "index", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
20170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
20173 result = (bool)(arg1)->IsSelected(arg2);
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 resultobj = PyInt_FromLong((long)result);
20179 return resultobj;
20180 fail:
20181 return NULL;
20182 }
20183
20184
20185 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20186 PyObject *resultobj;
20187 wxListView *arg1 = (wxListView *) 0 ;
20188 int arg2 ;
20189 int arg3 ;
20190 PyObject * obj0 = 0 ;
20191 char *kwnames[] = {
20192 (char *) "self",(char *) "col",(char *) "image", NULL
20193 };
20194
20195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
20196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20197 {
20198 PyThreadState* __tstate = wxPyBeginAllowThreads();
20199 (arg1)->SetColumnImage(arg2,arg3);
20200
20201 wxPyEndAllowThreads(__tstate);
20202 if (PyErr_Occurred()) SWIG_fail;
20203 }
20204 Py_INCREF(Py_None); resultobj = Py_None;
20205 return resultobj;
20206 fail:
20207 return NULL;
20208 }
20209
20210
20211 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20212 PyObject *resultobj;
20213 wxListView *arg1 = (wxListView *) 0 ;
20214 int arg2 ;
20215 PyObject * obj0 = 0 ;
20216 char *kwnames[] = {
20217 (char *) "self",(char *) "col", NULL
20218 };
20219
20220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
20221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20222 {
20223 PyThreadState* __tstate = wxPyBeginAllowThreads();
20224 (arg1)->ClearColumnImage(arg2);
20225
20226 wxPyEndAllowThreads(__tstate);
20227 if (PyErr_Occurred()) SWIG_fail;
20228 }
20229 Py_INCREF(Py_None); resultobj = Py_None;
20230 return resultobj;
20231 fail:
20232 return NULL;
20233 }
20234
20235
20236 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
20237 PyObject *obj;
20238 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20239 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
20240 Py_INCREF(obj);
20241 return Py_BuildValue((char *)"");
20242 }
20243 static int _wrap_TreeCtrlNameStr_set(PyObject *_val) {
20244 PyErr_SetString(PyExc_TypeError,"Variable TreeCtrlNameStr is read-only.");
20245 return 1;
20246 }
20247
20248
20249 static PyObject *_wrap_TreeCtrlNameStr_get() {
20250 PyObject *pyobj;
20251
20252 {
20253 #if wxUSE_UNICODE
20254 pyobj = PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20255 #else
20256 pyobj = PyString_FromStringAndSize((&wxPyTreeCtrlNameStr)->c_str(), (&wxPyTreeCtrlNameStr)->Len());
20257 #endif
20258 }
20259 return pyobj;
20260 }
20261
20262
20263 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20264 PyObject *resultobj;
20265 wxTreeItemId *result;
20266 char *kwnames[] = {
20267 NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
20271 {
20272 PyThreadState* __tstate = wxPyBeginAllowThreads();
20273 result = (wxTreeItemId *)new wxTreeItemId();
20274
20275 wxPyEndAllowThreads(__tstate);
20276 if (PyErr_Occurred()) SWIG_fail;
20277 }
20278 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
20279 return resultobj;
20280 fail:
20281 return NULL;
20282 }
20283
20284
20285 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20286 PyObject *resultobj;
20287 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20288 PyObject * obj0 = 0 ;
20289 char *kwnames[] = {
20290 (char *) "self", NULL
20291 };
20292
20293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
20294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20295 {
20296 PyThreadState* __tstate = wxPyBeginAllowThreads();
20297 delete arg1;
20298
20299 wxPyEndAllowThreads(__tstate);
20300 if (PyErr_Occurred()) SWIG_fail;
20301 }
20302 Py_INCREF(Py_None); resultobj = Py_None;
20303 return resultobj;
20304 fail:
20305 return NULL;
20306 }
20307
20308
20309 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20310 PyObject *resultobj;
20311 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20312 bool result;
20313 PyObject * obj0 = 0 ;
20314 char *kwnames[] = {
20315 (char *) "self", NULL
20316 };
20317
20318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
20319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
20323
20324 wxPyEndAllowThreads(__tstate);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 resultobj = PyInt_FromLong((long)result);
20328 return resultobj;
20329 fail:
20330 return NULL;
20331 }
20332
20333
20334 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
20335 PyObject *resultobj;
20336 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20337 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20338 bool result;
20339 PyObject * obj0 = 0 ;
20340 PyObject * obj1 = 0 ;
20341 char *kwnames[] = {
20342 (char *) "self",(char *) "other", NULL
20343 };
20344
20345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
20346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20348 {
20349 PyThreadState* __tstate = wxPyBeginAllowThreads();
20350 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
20351
20352 wxPyEndAllowThreads(__tstate);
20353 if (PyErr_Occurred()) SWIG_fail;
20354 }
20355 resultobj = PyInt_FromLong((long)result);
20356 return resultobj;
20357 fail:
20358 return NULL;
20359 }
20360
20361
20362 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
20363 PyObject *resultobj;
20364 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20365 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
20366 bool result;
20367 PyObject * obj0 = 0 ;
20368 PyObject * obj1 = 0 ;
20369 char *kwnames[] = {
20370 (char *) "self",(char *) "other", NULL
20371 };
20372
20373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
20374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20375 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
20379
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
20383 resultobj = PyInt_FromLong((long)result);
20384 return resultobj;
20385 fail:
20386 return NULL;
20387 }
20388
20389
20390 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
20391 PyObject *resultobj;
20392 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20393 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
20394 PyObject * obj0 = 0 ;
20395 PyObject * obj1 = 0 ;
20396 char *kwnames[] = {
20397 (char *) "self",(char *) "m_pItem", NULL
20398 };
20399
20400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
20401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20403 if (arg1) (arg1)->m_pItem = arg2;
20404
20405 Py_INCREF(Py_None); resultobj = Py_None;
20406 return resultobj;
20407 fail:
20408 return NULL;
20409 }
20410
20411
20412 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20413 PyObject *resultobj;
20414 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20415 wxTreeItemIdValue result;
20416 PyObject * obj0 = 0 ;
20417 char *kwnames[] = {
20418 (char *) "self", NULL
20419 };
20420
20421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20423 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
20424
20425 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
20426 return resultobj;
20427 fail:
20428 return NULL;
20429 }
20430
20431
20432 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20433 PyObject *obj;
20434 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20435 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20436 Py_INCREF(obj);
20437 return Py_BuildValue((char *)"");
20438 }
20439 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20440 PyObject *resultobj;
20441 PyObject *arg1 = (PyObject *) NULL ;
20442 wxPyTreeItemData *result;
20443 PyObject * obj0 = 0 ;
20444 char *kwnames[] = {
20445 (char *) "obj", NULL
20446 };
20447
20448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20449 if (obj0) {
20450 arg1 = obj0;
20451 }
20452 {
20453 PyThreadState* __tstate = wxPyBeginAllowThreads();
20454 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20455
20456 wxPyEndAllowThreads(__tstate);
20457 if (PyErr_Occurred()) SWIG_fail;
20458 }
20459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20460 return resultobj;
20461 fail:
20462 return NULL;
20463 }
20464
20465
20466 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20467 PyObject *resultobj;
20468 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20469 PyObject *result;
20470 PyObject * obj0 = 0 ;
20471 char *kwnames[] = {
20472 (char *) "self", NULL
20473 };
20474
20475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20477 {
20478 PyThreadState* __tstate = wxPyBeginAllowThreads();
20479 result = (PyObject *)(arg1)->GetData();
20480
20481 wxPyEndAllowThreads(__tstate);
20482 if (PyErr_Occurred()) SWIG_fail;
20483 }
20484 resultobj = result;
20485 return resultobj;
20486 fail:
20487 return NULL;
20488 }
20489
20490
20491 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20492 PyObject *resultobj;
20493 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20494 PyObject *arg2 = (PyObject *) 0 ;
20495 PyObject * obj0 = 0 ;
20496 PyObject * obj1 = 0 ;
20497 char *kwnames[] = {
20498 (char *) "self",(char *) "obj", NULL
20499 };
20500
20501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20503 arg2 = obj1;
20504 {
20505 PyThreadState* __tstate = wxPyBeginAllowThreads();
20506 (arg1)->SetData(arg2);
20507
20508 wxPyEndAllowThreads(__tstate);
20509 if (PyErr_Occurred()) SWIG_fail;
20510 }
20511 Py_INCREF(Py_None); resultobj = Py_None;
20512 return resultobj;
20513 fail:
20514 return NULL;
20515 }
20516
20517
20518 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20519 PyObject *resultobj;
20520 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20521 wxTreeItemId *result;
20522 PyObject * obj0 = 0 ;
20523 char *kwnames[] = {
20524 (char *) "self", NULL
20525 };
20526
20527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20529 {
20530 PyThreadState* __tstate = wxPyBeginAllowThreads();
20531 {
20532 wxTreeItemId const &_result_ref = (arg1)->GetId();
20533 result = (wxTreeItemId *) &_result_ref;
20534 }
20535
20536 wxPyEndAllowThreads(__tstate);
20537 if (PyErr_Occurred()) SWIG_fail;
20538 }
20539 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20540 return resultobj;
20541 fail:
20542 return NULL;
20543 }
20544
20545
20546 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20547 PyObject *resultobj;
20548 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20549 wxTreeItemId *arg2 = 0 ;
20550 PyObject * obj0 = 0 ;
20551 PyObject * obj1 = 0 ;
20552 char *kwnames[] = {
20553 (char *) "self",(char *) "id", NULL
20554 };
20555
20556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20559 if (arg2 == NULL) {
20560 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20561 }
20562 {
20563 PyThreadState* __tstate = wxPyBeginAllowThreads();
20564 (arg1)->SetId((wxTreeItemId const &)*arg2);
20565
20566 wxPyEndAllowThreads(__tstate);
20567 if (PyErr_Occurred()) SWIG_fail;
20568 }
20569 Py_INCREF(Py_None); resultobj = Py_None;
20570 return resultobj;
20571 fail:
20572 return NULL;
20573 }
20574
20575
20576 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20577 PyObject *resultobj;
20578 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20579 PyObject * obj0 = 0 ;
20580 char *kwnames[] = {
20581 (char *) "self", NULL
20582 };
20583
20584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20586 {
20587 PyThreadState* __tstate = wxPyBeginAllowThreads();
20588 wxPyTreeItemData_Destroy(arg1);
20589
20590 wxPyEndAllowThreads(__tstate);
20591 if (PyErr_Occurred()) SWIG_fail;
20592 }
20593 Py_INCREF(Py_None); resultobj = Py_None;
20594 return resultobj;
20595 fail:
20596 return NULL;
20597 }
20598
20599
20600 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20601 PyObject *obj;
20602 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20603 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20604 Py_INCREF(obj);
20605 return Py_BuildValue((char *)"");
20606 }
20607 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20608 PyObject *resultobj;
20609 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20610 int arg2 = (int) 0 ;
20611 wxTreeEvent *result;
20612 char *kwnames[] = {
20613 (char *) "commandType",(char *) "id", NULL
20614 };
20615
20616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20620
20621 wxPyEndAllowThreads(__tstate);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 }
20624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20625 return resultobj;
20626 fail:
20627 return NULL;
20628 }
20629
20630
20631 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20632 PyObject *resultobj;
20633 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20634 wxTreeItemId result;
20635 PyObject * obj0 = 0 ;
20636 char *kwnames[] = {
20637 (char *) "self", NULL
20638 };
20639
20640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20642 {
20643 PyThreadState* __tstate = wxPyBeginAllowThreads();
20644 result = ((wxTreeEvent const *)arg1)->GetItem();
20645
20646 wxPyEndAllowThreads(__tstate);
20647 if (PyErr_Occurred()) SWIG_fail;
20648 }
20649 {
20650 wxTreeItemId * resultptr;
20651 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20652 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20653 }
20654 return resultobj;
20655 fail:
20656 return NULL;
20657 }
20658
20659
20660 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20661 PyObject *resultobj;
20662 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20663 wxTreeItemId *arg2 = 0 ;
20664 PyObject * obj0 = 0 ;
20665 PyObject * obj1 = 0 ;
20666 char *kwnames[] = {
20667 (char *) "self",(char *) "item", NULL
20668 };
20669
20670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20673 if (arg2 == NULL) {
20674 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20675 }
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 Py_INCREF(Py_None); resultobj = Py_None;
20684 return resultobj;
20685 fail:
20686 return NULL;
20687 }
20688
20689
20690 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20691 PyObject *resultobj;
20692 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20693 wxTreeItemId result;
20694 PyObject * obj0 = 0 ;
20695 char *kwnames[] = {
20696 (char *) "self", NULL
20697 };
20698
20699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20701 {
20702 PyThreadState* __tstate = wxPyBeginAllowThreads();
20703 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20704
20705 wxPyEndAllowThreads(__tstate);
20706 if (PyErr_Occurred()) SWIG_fail;
20707 }
20708 {
20709 wxTreeItemId * resultptr;
20710 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20711 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20712 }
20713 return resultobj;
20714 fail:
20715 return NULL;
20716 }
20717
20718
20719 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20720 PyObject *resultobj;
20721 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20722 wxTreeItemId *arg2 = 0 ;
20723 PyObject * obj0 = 0 ;
20724 PyObject * obj1 = 0 ;
20725 char *kwnames[] = {
20726 (char *) "self",(char *) "item", NULL
20727 };
20728
20729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20732 if (arg2 == NULL) {
20733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20734 }
20735 {
20736 PyThreadState* __tstate = wxPyBeginAllowThreads();
20737 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20738
20739 wxPyEndAllowThreads(__tstate);
20740 if (PyErr_Occurred()) SWIG_fail;
20741 }
20742 Py_INCREF(Py_None); resultobj = Py_None;
20743 return resultobj;
20744 fail:
20745 return NULL;
20746 }
20747
20748
20749 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20750 PyObject *resultobj;
20751 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20752 wxPoint result;
20753 PyObject * obj0 = 0 ;
20754 char *kwnames[] = {
20755 (char *) "self", NULL
20756 };
20757
20758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
20762 result = ((wxTreeEvent const *)arg1)->GetPoint();
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
20767 {
20768 wxPoint * resultptr;
20769 resultptr = new wxPoint((wxPoint &) result);
20770 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20771 }
20772 return resultobj;
20773 fail:
20774 return NULL;
20775 }
20776
20777
20778 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20779 PyObject *resultobj;
20780 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20781 wxPoint *arg2 = 0 ;
20782 wxPoint temp2 ;
20783 PyObject * obj0 = 0 ;
20784 PyObject * obj1 = 0 ;
20785 char *kwnames[] = {
20786 (char *) "self",(char *) "pt", NULL
20787 };
20788
20789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20791 {
20792 arg2 = &temp2;
20793 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20794 }
20795 {
20796 PyThreadState* __tstate = wxPyBeginAllowThreads();
20797 (arg1)->SetPoint((wxPoint const &)*arg2);
20798
20799 wxPyEndAllowThreads(__tstate);
20800 if (PyErr_Occurred()) SWIG_fail;
20801 }
20802 Py_INCREF(Py_None); resultobj = Py_None;
20803 return resultobj;
20804 fail:
20805 return NULL;
20806 }
20807
20808
20809 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20810 PyObject *resultobj;
20811 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20812 wxKeyEvent *result;
20813 PyObject * obj0 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20820 {
20821 PyThreadState* __tstate = wxPyBeginAllowThreads();
20822 {
20823 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20824 result = (wxKeyEvent *) &_result_ref;
20825 }
20826
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20831 return resultobj;
20832 fail:
20833 return NULL;
20834 }
20835
20836
20837 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20838 PyObject *resultobj;
20839 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20840 int result;
20841 PyObject * obj0 = 0 ;
20842 char *kwnames[] = {
20843 (char *) "self", NULL
20844 };
20845
20846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20848 {
20849 PyThreadState* __tstate = wxPyBeginAllowThreads();
20850 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20851
20852 wxPyEndAllowThreads(__tstate);
20853 if (PyErr_Occurred()) SWIG_fail;
20854 }
20855 resultobj = PyInt_FromLong((long)result);
20856 return resultobj;
20857 fail:
20858 return NULL;
20859 }
20860
20861
20862 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20863 PyObject *resultobj;
20864 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20865 wxKeyEvent *arg2 = 0 ;
20866 PyObject * obj0 = 0 ;
20867 PyObject * obj1 = 0 ;
20868 char *kwnames[] = {
20869 (char *) "self",(char *) "evt", NULL
20870 };
20871
20872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20874 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20875 if (arg2 == NULL) {
20876 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20877 }
20878 {
20879 PyThreadState* __tstate = wxPyBeginAllowThreads();
20880 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20881
20882 wxPyEndAllowThreads(__tstate);
20883 if (PyErr_Occurred()) SWIG_fail;
20884 }
20885 Py_INCREF(Py_None); resultobj = Py_None;
20886 return resultobj;
20887 fail:
20888 return NULL;
20889 }
20890
20891
20892 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20893 PyObject *resultobj;
20894 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20895 wxString *result;
20896 PyObject * obj0 = 0 ;
20897 char *kwnames[] = {
20898 (char *) "self", NULL
20899 };
20900
20901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 {
20906 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20907 result = (wxString *) &_result_ref;
20908 }
20909
20910 wxPyEndAllowThreads(__tstate);
20911 if (PyErr_Occurred()) SWIG_fail;
20912 }
20913 {
20914 #if wxUSE_UNICODE
20915 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20916 #else
20917 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20918 #endif
20919 }
20920 return resultobj;
20921 fail:
20922 return NULL;
20923 }
20924
20925
20926 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20927 PyObject *resultobj;
20928 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20929 wxString *arg2 = 0 ;
20930 bool temp2 = False ;
20931 PyObject * obj0 = 0 ;
20932 PyObject * obj1 = 0 ;
20933 char *kwnames[] = {
20934 (char *) "self",(char *) "label", NULL
20935 };
20936
20937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20939 {
20940 arg2 = wxString_in_helper(obj1);
20941 if (arg2 == NULL) SWIG_fail;
20942 temp2 = True;
20943 }
20944 {
20945 PyThreadState* __tstate = wxPyBeginAllowThreads();
20946 (arg1)->SetLabel((wxString const &)*arg2);
20947
20948 wxPyEndAllowThreads(__tstate);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 }
20951 Py_INCREF(Py_None); resultobj = Py_None;
20952 {
20953 if (temp2)
20954 delete arg2;
20955 }
20956 return resultobj;
20957 fail:
20958 {
20959 if (temp2)
20960 delete arg2;
20961 }
20962 return NULL;
20963 }
20964
20965
20966 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20967 PyObject *resultobj;
20968 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20969 bool result;
20970 PyObject * obj0 = 0 ;
20971 char *kwnames[] = {
20972 (char *) "self", NULL
20973 };
20974
20975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20977 {
20978 PyThreadState* __tstate = wxPyBeginAllowThreads();
20979 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20980
20981 wxPyEndAllowThreads(__tstate);
20982 if (PyErr_Occurred()) SWIG_fail;
20983 }
20984 resultobj = PyInt_FromLong((long)result);
20985 return resultobj;
20986 fail:
20987 return NULL;
20988 }
20989
20990
20991 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20992 PyObject *resultobj;
20993 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20994 bool arg2 ;
20995 PyObject * obj0 = 0 ;
20996 PyObject * obj1 = 0 ;
20997 char *kwnames[] = {
20998 (char *) "self",(char *) "editCancelled", NULL
20999 };
21000
21001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
21002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21003 {
21004 arg2 = (bool) SPyObj_AsBool(obj1);
21005 if (PyErr_Occurred()) SWIG_fail;
21006 }
21007 {
21008 PyThreadState* __tstate = wxPyBeginAllowThreads();
21009 (arg1)->SetEditCanceled(arg2);
21010
21011 wxPyEndAllowThreads(__tstate);
21012 if (PyErr_Occurred()) SWIG_fail;
21013 }
21014 Py_INCREF(Py_None); resultobj = Py_None;
21015 return resultobj;
21016 fail:
21017 return NULL;
21018 }
21019
21020
21021 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
21022 PyObject *resultobj;
21023 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
21024 wxString *arg2 = 0 ;
21025 bool temp2 = False ;
21026 PyObject * obj0 = 0 ;
21027 PyObject * obj1 = 0 ;
21028 char *kwnames[] = {
21029 (char *) "self",(char *) "toolTip", NULL
21030 };
21031
21032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
21033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21034 {
21035 arg2 = wxString_in_helper(obj1);
21036 if (arg2 == NULL) SWIG_fail;
21037 temp2 = True;
21038 }
21039 {
21040 PyThreadState* __tstate = wxPyBeginAllowThreads();
21041 (arg1)->SetToolTip((wxString const &)*arg2);
21042
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 Py_INCREF(Py_None); resultobj = Py_None;
21047 {
21048 if (temp2)
21049 delete arg2;
21050 }
21051 return resultobj;
21052 fail:
21053 {
21054 if (temp2)
21055 delete arg2;
21056 }
21057 return NULL;
21058 }
21059
21060
21061 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
21062 PyObject *obj;
21063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21064 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
21065 Py_INCREF(obj);
21066 return Py_BuildValue((char *)"");
21067 }
21068 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21069 PyObject *resultobj;
21070 wxWindow *arg1 = (wxWindow *) 0 ;
21071 int arg2 = (int) -1 ;
21072 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21073 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21074 wxSize const &arg4_defvalue = wxDefaultSize ;
21075 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21076 long arg5 = (long) wxTR_DEFAULT_STYLE ;
21077 wxValidator const &arg6_defvalue = wxDefaultValidator ;
21078 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
21079 wxString const &arg7_defvalue = wxPyTreeCtrlNameStr ;
21080 wxString *arg7 = (wxString *) &arg7_defvalue ;
21081 wxPyTreeCtrl *result;
21082 wxPoint temp3 ;
21083 wxSize temp4 ;
21084 bool temp7 = False ;
21085 PyObject * obj0 = 0 ;
21086 PyObject * obj2 = 0 ;
21087 PyObject * obj3 = 0 ;
21088 PyObject * obj5 = 0 ;
21089 PyObject * obj6 = 0 ;
21090 char *kwnames[] = {
21091 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21092 };
21093
21094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
21095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21096 if (obj2) {
21097 {
21098 arg3 = &temp3;
21099 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21100 }
21101 }
21102 if (obj3) {
21103 {
21104 arg4 = &temp4;
21105 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21106 }
21107 }
21108 if (obj5) {
21109 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21110 if (arg6 == NULL) {
21111 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21112 }
21113 }
21114 if (obj6) {
21115 {
21116 arg7 = wxString_in_helper(obj6);
21117 if (arg7 == NULL) SWIG_fail;
21118 temp7 = True;
21119 }
21120 }
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
21124
21125 wxPyEndAllowThreads(__tstate);
21126 if (PyErr_Occurred()) SWIG_fail;
21127 }
21128 {
21129 resultobj = wxPyMake_wxObject(result);
21130 }
21131 {
21132 if (temp7)
21133 delete arg7;
21134 }
21135 return resultobj;
21136 fail:
21137 {
21138 if (temp7)
21139 delete arg7;
21140 }
21141 return NULL;
21142 }
21143
21144
21145 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
21146 PyObject *resultobj;
21147 wxPyTreeCtrl *result;
21148 char *kwnames[] = {
21149 NULL
21150 };
21151
21152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
21153 {
21154 PyThreadState* __tstate = wxPyBeginAllowThreads();
21155 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
21156
21157 wxPyEndAllowThreads(__tstate);
21158 if (PyErr_Occurred()) SWIG_fail;
21159 }
21160 {
21161 resultobj = wxPyMake_wxObject(result);
21162 }
21163 return resultobj;
21164 fail:
21165 return NULL;
21166 }
21167
21168
21169 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21170 PyObject *resultobj;
21171 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21172 wxWindow *arg2 = (wxWindow *) 0 ;
21173 int arg3 = (int) -1 ;
21174 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21175 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21176 wxSize const &arg5_defvalue = wxDefaultSize ;
21177 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21178 long arg6 = (long) wxTR_DEFAULT_STYLE ;
21179 wxValidator const &arg7_defvalue = wxDefaultValidator ;
21180 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
21181 wxString const &arg8_defvalue = wxPyTreeCtrlNameStr ;
21182 wxString *arg8 = (wxString *) &arg8_defvalue ;
21183 bool result;
21184 wxPoint temp4 ;
21185 wxSize temp5 ;
21186 bool temp8 = False ;
21187 PyObject * obj0 = 0 ;
21188 PyObject * obj1 = 0 ;
21189 PyObject * obj3 = 0 ;
21190 PyObject * obj4 = 0 ;
21191 PyObject * obj6 = 0 ;
21192 PyObject * obj7 = 0 ;
21193 char *kwnames[] = {
21194 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21195 };
21196
21197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
21198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21199 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21200 if (obj3) {
21201 {
21202 arg4 = &temp4;
21203 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21204 }
21205 }
21206 if (obj4) {
21207 {
21208 arg5 = &temp5;
21209 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21210 }
21211 }
21212 if (obj6) {
21213 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21214 if (arg7 == NULL) {
21215 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21216 }
21217 }
21218 if (obj7) {
21219 {
21220 arg8 = wxString_in_helper(obj7);
21221 if (arg8 == NULL) SWIG_fail;
21222 temp8 = True;
21223 }
21224 }
21225 {
21226 PyThreadState* __tstate = wxPyBeginAllowThreads();
21227 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
21228
21229 wxPyEndAllowThreads(__tstate);
21230 if (PyErr_Occurred()) SWIG_fail;
21231 }
21232 resultobj = PyInt_FromLong((long)result);
21233 {
21234 if (temp8)
21235 delete arg8;
21236 }
21237 return resultobj;
21238 fail:
21239 {
21240 if (temp8)
21241 delete arg8;
21242 }
21243 return NULL;
21244 }
21245
21246
21247 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21248 PyObject *resultobj;
21249 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21250 PyObject *arg2 = (PyObject *) 0 ;
21251 PyObject *arg3 = (PyObject *) 0 ;
21252 PyObject * obj0 = 0 ;
21253 PyObject * obj1 = 0 ;
21254 PyObject * obj2 = 0 ;
21255 char *kwnames[] = {
21256 (char *) "self",(char *) "self",(char *) "_class", NULL
21257 };
21258
21259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21261 arg2 = obj1;
21262 arg3 = obj2;
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 (arg1)->_setCallbackInfo(arg2,arg3);
21266
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
21270 Py_INCREF(Py_None); resultobj = Py_None;
21271 return resultobj;
21272 fail:
21273 return NULL;
21274 }
21275
21276
21277 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21278 PyObject *resultobj;
21279 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21280 size_t result;
21281 PyObject * obj0 = 0 ;
21282 char *kwnames[] = {
21283 (char *) "self", NULL
21284 };
21285
21286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
21287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21296 return resultobj;
21297 fail:
21298 return NULL;
21299 }
21300
21301
21302 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21303 PyObject *resultobj;
21304 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21305 unsigned int result;
21306 PyObject * obj0 = 0 ;
21307 char *kwnames[] = {
21308 (char *) "self", NULL
21309 };
21310
21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
21312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21313 {
21314 PyThreadState* __tstate = wxPyBeginAllowThreads();
21315 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
21316
21317 wxPyEndAllowThreads(__tstate);
21318 if (PyErr_Occurred()) SWIG_fail;
21319 }
21320 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21321 return resultobj;
21322 fail:
21323 return NULL;
21324 }
21325
21326
21327 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
21328 PyObject *resultobj;
21329 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21330 unsigned int arg2 ;
21331 PyObject * obj0 = 0 ;
21332 PyObject * obj1 = 0 ;
21333 char *kwnames[] = {
21334 (char *) "self",(char *) "indent", NULL
21335 };
21336
21337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
21338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21339 {
21340 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
21341 if (PyErr_Occurred()) SWIG_fail;
21342 }
21343 {
21344 PyThreadState* __tstate = wxPyBeginAllowThreads();
21345 (arg1)->SetIndent(arg2);
21346
21347 wxPyEndAllowThreads(__tstate);
21348 if (PyErr_Occurred()) SWIG_fail;
21349 }
21350 Py_INCREF(Py_None); resultobj = Py_None;
21351 return resultobj;
21352 fail:
21353 return NULL;
21354 }
21355
21356
21357 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21358 PyObject *resultobj;
21359 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21360 unsigned int result;
21361 PyObject * obj0 = 0 ;
21362 char *kwnames[] = {
21363 (char *) "self", NULL
21364 };
21365
21366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
21367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21368 {
21369 PyThreadState* __tstate = wxPyBeginAllowThreads();
21370 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
21371
21372 wxPyEndAllowThreads(__tstate);
21373 if (PyErr_Occurred()) SWIG_fail;
21374 }
21375 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
21376 return resultobj;
21377 fail:
21378 return NULL;
21379 }
21380
21381
21382 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
21383 PyObject *resultobj;
21384 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21385 unsigned int arg2 ;
21386 PyObject * obj0 = 0 ;
21387 PyObject * obj1 = 0 ;
21388 char *kwnames[] = {
21389 (char *) "self",(char *) "spacing", NULL
21390 };
21391
21392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
21393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21394 {
21395 arg2 = (unsigned int) SPyObj_AsUnsignedInt(obj1);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
21398 {
21399 PyThreadState* __tstate = wxPyBeginAllowThreads();
21400 (arg1)->SetSpacing(arg2);
21401
21402 wxPyEndAllowThreads(__tstate);
21403 if (PyErr_Occurred()) SWIG_fail;
21404 }
21405 Py_INCREF(Py_None); resultobj = Py_None;
21406 return resultobj;
21407 fail:
21408 return NULL;
21409 }
21410
21411
21412 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21413 PyObject *resultobj;
21414 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21415 wxImageList *result;
21416 PyObject * obj0 = 0 ;
21417 char *kwnames[] = {
21418 (char *) "self", NULL
21419 };
21420
21421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21423 {
21424 PyThreadState* __tstate = wxPyBeginAllowThreads();
21425 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21426
21427 wxPyEndAllowThreads(__tstate);
21428 if (PyErr_Occurred()) SWIG_fail;
21429 }
21430 {
21431 resultobj = wxPyMake_wxObject(result);
21432 }
21433 return resultobj;
21434 fail:
21435 return NULL;
21436 }
21437
21438
21439 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21440 PyObject *resultobj;
21441 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21442 wxImageList *result;
21443 PyObject * obj0 = 0 ;
21444 char *kwnames[] = {
21445 (char *) "self", NULL
21446 };
21447
21448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21450 {
21451 PyThreadState* __tstate = wxPyBeginAllowThreads();
21452 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21453
21454 wxPyEndAllowThreads(__tstate);
21455 if (PyErr_Occurred()) SWIG_fail;
21456 }
21457 {
21458 resultobj = wxPyMake_wxObject(result);
21459 }
21460 return resultobj;
21461 fail:
21462 return NULL;
21463 }
21464
21465
21466 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21467 PyObject *resultobj;
21468 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21469 wxImageList *arg2 = (wxImageList *) 0 ;
21470 PyObject * obj0 = 0 ;
21471 PyObject * obj1 = 0 ;
21472 char *kwnames[] = {
21473 (char *) "self",(char *) "imageList", NULL
21474 };
21475
21476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21478 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21479 {
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 (arg1)->SetImageList(arg2);
21482
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
21486 Py_INCREF(Py_None); resultobj = Py_None;
21487 return resultobj;
21488 fail:
21489 return NULL;
21490 }
21491
21492
21493 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21494 PyObject *resultobj;
21495 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21496 wxImageList *arg2 = (wxImageList *) 0 ;
21497 PyObject * obj0 = 0 ;
21498 PyObject * obj1 = 0 ;
21499 char *kwnames[] = {
21500 (char *) "self",(char *) "imageList", NULL
21501 };
21502
21503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21506 {
21507 PyThreadState* __tstate = wxPyBeginAllowThreads();
21508 (arg1)->SetStateImageList(arg2);
21509
21510 wxPyEndAllowThreads(__tstate);
21511 if (PyErr_Occurred()) SWIG_fail;
21512 }
21513 Py_INCREF(Py_None); resultobj = Py_None;
21514 return resultobj;
21515 fail:
21516 return NULL;
21517 }
21518
21519
21520 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21521 PyObject *resultobj;
21522 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21523 wxImageList *arg2 = (wxImageList *) 0 ;
21524 PyObject * obj0 = 0 ;
21525 PyObject * obj1 = 0 ;
21526 char *kwnames[] = {
21527 (char *) "self",(char *) "imageList", NULL
21528 };
21529
21530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21533 {
21534 PyThreadState* __tstate = wxPyBeginAllowThreads();
21535 (arg1)->AssignImageList(arg2);
21536
21537 wxPyEndAllowThreads(__tstate);
21538 if (PyErr_Occurred()) SWIG_fail;
21539 }
21540 Py_INCREF(Py_None); resultobj = Py_None;
21541 return resultobj;
21542 fail:
21543 return NULL;
21544 }
21545
21546
21547 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21548 PyObject *resultobj;
21549 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21550 wxImageList *arg2 = (wxImageList *) 0 ;
21551 PyObject * obj0 = 0 ;
21552 PyObject * obj1 = 0 ;
21553 char *kwnames[] = {
21554 (char *) "self",(char *) "imageList", NULL
21555 };
21556
21557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21559 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21560 {
21561 PyThreadState* __tstate = wxPyBeginAllowThreads();
21562 (arg1)->AssignStateImageList(arg2);
21563
21564 wxPyEndAllowThreads(__tstate);
21565 if (PyErr_Occurred()) SWIG_fail;
21566 }
21567 Py_INCREF(Py_None); resultobj = Py_None;
21568 return resultobj;
21569 fail:
21570 return NULL;
21571 }
21572
21573
21574 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21575 PyObject *resultobj;
21576 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21577 wxTreeItemId *arg2 = 0 ;
21578 wxString result;
21579 PyObject * obj0 = 0 ;
21580 PyObject * obj1 = 0 ;
21581 char *kwnames[] = {
21582 (char *) "self",(char *) "item", NULL
21583 };
21584
21585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21588 if (arg2 == NULL) {
21589 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21590 }
21591 {
21592 PyThreadState* __tstate = wxPyBeginAllowThreads();
21593 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21594
21595 wxPyEndAllowThreads(__tstate);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 }
21598 {
21599 #if wxUSE_UNICODE
21600 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21601 #else
21602 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21603 #endif
21604 }
21605 return resultobj;
21606 fail:
21607 return NULL;
21608 }
21609
21610
21611 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21612 PyObject *resultobj;
21613 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21614 wxTreeItemId *arg2 = 0 ;
21615 int arg3 = (int) wxTreeItemIcon_Normal ;
21616 int result;
21617 PyObject * obj0 = 0 ;
21618 PyObject * obj1 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "self",(char *) "item",(char *) "which", NULL
21621 };
21622
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21626 if (arg2 == NULL) {
21627 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21628 }
21629 {
21630 PyThreadState* __tstate = wxPyBeginAllowThreads();
21631 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21632
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 resultobj = PyInt_FromLong((long)result);
21637 return resultobj;
21638 fail:
21639 return NULL;
21640 }
21641
21642
21643 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21644 PyObject *resultobj;
21645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21646 wxTreeItemId *arg2 = 0 ;
21647 wxPyTreeItemData *result;
21648 PyObject * obj0 = 0 ;
21649 PyObject * obj1 = 0 ;
21650 char *kwnames[] = {
21651 (char *) "self",(char *) "item", NULL
21652 };
21653
21654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21656 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21657 if (arg2 == NULL) {
21658 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21659 }
21660 {
21661 PyThreadState* __tstate = wxPyBeginAllowThreads();
21662 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21663
21664 wxPyEndAllowThreads(__tstate);
21665 if (PyErr_Occurred()) SWIG_fail;
21666 }
21667 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21668 return resultobj;
21669 fail:
21670 return NULL;
21671 }
21672
21673
21674 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21675 PyObject *resultobj;
21676 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21677 wxTreeItemId *arg2 = 0 ;
21678 PyObject *result;
21679 PyObject * obj0 = 0 ;
21680 PyObject * obj1 = 0 ;
21681 char *kwnames[] = {
21682 (char *) "self",(char *) "item", NULL
21683 };
21684
21685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21688 if (arg2 == NULL) {
21689 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21690 }
21691 {
21692 PyThreadState* __tstate = wxPyBeginAllowThreads();
21693 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21694
21695 wxPyEndAllowThreads(__tstate);
21696 if (PyErr_Occurred()) SWIG_fail;
21697 }
21698 resultobj = result;
21699 return resultobj;
21700 fail:
21701 return NULL;
21702 }
21703
21704
21705 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21706 PyObject *resultobj;
21707 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21708 wxTreeItemId *arg2 = 0 ;
21709 wxColour result;
21710 PyObject * obj0 = 0 ;
21711 PyObject * obj1 = 0 ;
21712 char *kwnames[] = {
21713 (char *) "self",(char *) "item", NULL
21714 };
21715
21716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21718 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21719 if (arg2 == NULL) {
21720 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21721 }
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
21729 {
21730 wxColour * resultptr;
21731 resultptr = new wxColour((wxColour &) result);
21732 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21733 }
21734 return resultobj;
21735 fail:
21736 return NULL;
21737 }
21738
21739
21740 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21741 PyObject *resultobj;
21742 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21743 wxTreeItemId *arg2 = 0 ;
21744 wxColour result;
21745 PyObject * obj0 = 0 ;
21746 PyObject * obj1 = 0 ;
21747 char *kwnames[] = {
21748 (char *) "self",(char *) "item", NULL
21749 };
21750
21751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21754 if (arg2 == NULL) {
21755 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21756 }
21757 {
21758 PyThreadState* __tstate = wxPyBeginAllowThreads();
21759 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21760
21761 wxPyEndAllowThreads(__tstate);
21762 if (PyErr_Occurred()) SWIG_fail;
21763 }
21764 {
21765 wxColour * resultptr;
21766 resultptr = new wxColour((wxColour &) result);
21767 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21768 }
21769 return resultobj;
21770 fail:
21771 return NULL;
21772 }
21773
21774
21775 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21776 PyObject *resultobj;
21777 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21778 wxTreeItemId *arg2 = 0 ;
21779 wxFont result;
21780 PyObject * obj0 = 0 ;
21781 PyObject * obj1 = 0 ;
21782 char *kwnames[] = {
21783 (char *) "self",(char *) "item", NULL
21784 };
21785
21786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21789 if (arg2 == NULL) {
21790 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21791 }
21792 {
21793 PyThreadState* __tstate = wxPyBeginAllowThreads();
21794 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21795
21796 wxPyEndAllowThreads(__tstate);
21797 if (PyErr_Occurred()) SWIG_fail;
21798 }
21799 {
21800 wxFont * resultptr;
21801 resultptr = new wxFont((wxFont &) result);
21802 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21803 }
21804 return resultobj;
21805 fail:
21806 return NULL;
21807 }
21808
21809
21810 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21811 PyObject *resultobj;
21812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21813 wxTreeItemId *arg2 = 0 ;
21814 wxString *arg3 = 0 ;
21815 bool temp3 = False ;
21816 PyObject * obj0 = 0 ;
21817 PyObject * obj1 = 0 ;
21818 PyObject * obj2 = 0 ;
21819 char *kwnames[] = {
21820 (char *) "self",(char *) "item",(char *) "text", NULL
21821 };
21822
21823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21825 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21826 if (arg2 == NULL) {
21827 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21828 }
21829 {
21830 arg3 = wxString_in_helper(obj2);
21831 if (arg3 == NULL) SWIG_fail;
21832 temp3 = True;
21833 }
21834 {
21835 PyThreadState* __tstate = wxPyBeginAllowThreads();
21836 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21837
21838 wxPyEndAllowThreads(__tstate);
21839 if (PyErr_Occurred()) SWIG_fail;
21840 }
21841 Py_INCREF(Py_None); resultobj = Py_None;
21842 {
21843 if (temp3)
21844 delete arg3;
21845 }
21846 return resultobj;
21847 fail:
21848 {
21849 if (temp3)
21850 delete arg3;
21851 }
21852 return NULL;
21853 }
21854
21855
21856 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21857 PyObject *resultobj;
21858 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21859 wxTreeItemId *arg2 = 0 ;
21860 int arg3 ;
21861 int arg4 = (int) wxTreeItemIcon_Normal ;
21862 PyObject * obj0 = 0 ;
21863 PyObject * obj1 = 0 ;
21864 char *kwnames[] = {
21865 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21870 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21871 if (arg2 == NULL) {
21872 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21873 }
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 Py_INCREF(Py_None); resultobj = Py_None;
21882 return resultobj;
21883 fail:
21884 return NULL;
21885 }
21886
21887
21888 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21889 PyObject *resultobj;
21890 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21891 wxTreeItemId *arg2 = 0 ;
21892 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21893 PyObject * obj0 = 0 ;
21894 PyObject * obj1 = 0 ;
21895 PyObject * obj2 = 0 ;
21896 char *kwnames[] = {
21897 (char *) "self",(char *) "item",(char *) "data", NULL
21898 };
21899
21900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21903 if (arg2 == NULL) {
21904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21905 }
21906 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21907 {
21908 PyThreadState* __tstate = wxPyBeginAllowThreads();
21909 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21910
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 Py_INCREF(Py_None); resultobj = Py_None;
21915 return resultobj;
21916 fail:
21917 return NULL;
21918 }
21919
21920
21921 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21922 PyObject *resultobj;
21923 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21924 wxTreeItemId *arg2 = 0 ;
21925 PyObject *arg3 = (PyObject *) 0 ;
21926 PyObject * obj0 = 0 ;
21927 PyObject * obj1 = 0 ;
21928 PyObject * obj2 = 0 ;
21929 char *kwnames[] = {
21930 (char *) "self",(char *) "item",(char *) "obj", NULL
21931 };
21932
21933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21935 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21936 if (arg2 == NULL) {
21937 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21938 }
21939 arg3 = obj2;
21940 {
21941 PyThreadState* __tstate = wxPyBeginAllowThreads();
21942 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21943
21944 wxPyEndAllowThreads(__tstate);
21945 if (PyErr_Occurred()) SWIG_fail;
21946 }
21947 Py_INCREF(Py_None); resultobj = Py_None;
21948 return resultobj;
21949 fail:
21950 return NULL;
21951 }
21952
21953
21954 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21955 PyObject *resultobj;
21956 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21957 wxTreeItemId *arg2 = 0 ;
21958 bool arg3 = (bool) True ;
21959 PyObject * obj0 = 0 ;
21960 PyObject * obj1 = 0 ;
21961 PyObject * obj2 = 0 ;
21962 char *kwnames[] = {
21963 (char *) "self",(char *) "item",(char *) "has", NULL
21964 };
21965
21966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21968 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21969 if (arg2 == NULL) {
21970 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21971 }
21972 if (obj2) {
21973 {
21974 arg3 = (bool) SPyObj_AsBool(obj2);
21975 if (PyErr_Occurred()) SWIG_fail;
21976 }
21977 }
21978 {
21979 PyThreadState* __tstate = wxPyBeginAllowThreads();
21980 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21981
21982 wxPyEndAllowThreads(__tstate);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 }
21985 Py_INCREF(Py_None); resultobj = Py_None;
21986 return resultobj;
21987 fail:
21988 return NULL;
21989 }
21990
21991
21992 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21993 PyObject *resultobj;
21994 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21995 wxTreeItemId *arg2 = 0 ;
21996 bool arg3 = (bool) True ;
21997 PyObject * obj0 = 0 ;
21998 PyObject * obj1 = 0 ;
21999 PyObject * obj2 = 0 ;
22000 char *kwnames[] = {
22001 (char *) "self",(char *) "item",(char *) "bold", NULL
22002 };
22003
22004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
22005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22006 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22007 if (arg2 == NULL) {
22008 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22009 }
22010 if (obj2) {
22011 {
22012 arg3 = (bool) SPyObj_AsBool(obj2);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 }
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
22023 Py_INCREF(Py_None); resultobj = Py_None;
22024 return resultobj;
22025 fail:
22026 return NULL;
22027 }
22028
22029
22030 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22031 PyObject *resultobj;
22032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22033 wxTreeItemId *arg2 = 0 ;
22034 wxColour *arg3 = 0 ;
22035 wxColour temp3 ;
22036 PyObject * obj0 = 0 ;
22037 PyObject * obj1 = 0 ;
22038 PyObject * obj2 = 0 ;
22039 char *kwnames[] = {
22040 (char *) "self",(char *) "item",(char *) "col", NULL
22041 };
22042
22043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22046 if (arg2 == NULL) {
22047 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22048 }
22049 {
22050 arg3 = &temp3;
22051 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22052 }
22053 {
22054 PyThreadState* __tstate = wxPyBeginAllowThreads();
22055 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22056
22057 wxPyEndAllowThreads(__tstate);
22058 if (PyErr_Occurred()) SWIG_fail;
22059 }
22060 Py_INCREF(Py_None); resultobj = Py_None;
22061 return resultobj;
22062 fail:
22063 return NULL;
22064 }
22065
22066
22067 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
22068 PyObject *resultobj;
22069 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22070 wxTreeItemId *arg2 = 0 ;
22071 wxColour *arg3 = 0 ;
22072 wxColour temp3 ;
22073 PyObject * obj0 = 0 ;
22074 PyObject * obj1 = 0 ;
22075 PyObject * obj2 = 0 ;
22076 char *kwnames[] = {
22077 (char *) "self",(char *) "item",(char *) "col", NULL
22078 };
22079
22080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
22081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22083 if (arg2 == NULL) {
22084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22085 }
22086 {
22087 arg3 = &temp3;
22088 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
22089 }
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
22092 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
22097 Py_INCREF(Py_None); resultobj = Py_None;
22098 return resultobj;
22099 fail:
22100 return NULL;
22101 }
22102
22103
22104 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
22105 PyObject *resultobj;
22106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22107 wxTreeItemId *arg2 = 0 ;
22108 wxFont *arg3 = 0 ;
22109 PyObject * obj0 = 0 ;
22110 PyObject * obj1 = 0 ;
22111 PyObject * obj2 = 0 ;
22112 char *kwnames[] = {
22113 (char *) "self",(char *) "item",(char *) "font", NULL
22114 };
22115
22116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
22117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22119 if (arg2 == NULL) {
22120 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22121 }
22122 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22123 if (arg3 == NULL) {
22124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22125 }
22126 {
22127 PyThreadState* __tstate = wxPyBeginAllowThreads();
22128 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
22129
22130 wxPyEndAllowThreads(__tstate);
22131 if (PyErr_Occurred()) SWIG_fail;
22132 }
22133 Py_INCREF(Py_None); resultobj = Py_None;
22134 return resultobj;
22135 fail:
22136 return NULL;
22137 }
22138
22139
22140 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22141 PyObject *resultobj;
22142 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22143 wxTreeItemId *arg2 = 0 ;
22144 bool result;
22145 PyObject * obj0 = 0 ;
22146 PyObject * obj1 = 0 ;
22147 char *kwnames[] = {
22148 (char *) "self",(char *) "item", NULL
22149 };
22150
22151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
22152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22153 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22154 if (arg2 == NULL) {
22155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22156 }
22157 {
22158 PyThreadState* __tstate = wxPyBeginAllowThreads();
22159 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
22160
22161 wxPyEndAllowThreads(__tstate);
22162 if (PyErr_Occurred()) SWIG_fail;
22163 }
22164 resultobj = PyInt_FromLong((long)result);
22165 return resultobj;
22166 fail:
22167 return NULL;
22168 }
22169
22170
22171 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22172 PyObject *resultobj;
22173 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22174 wxTreeItemId *arg2 = 0 ;
22175 bool result;
22176 PyObject * obj0 = 0 ;
22177 PyObject * obj1 = 0 ;
22178 char *kwnames[] = {
22179 (char *) "self",(char *) "item", NULL
22180 };
22181
22182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
22183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22185 if (arg2 == NULL) {
22186 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22187 }
22188 {
22189 PyThreadState* __tstate = wxPyBeginAllowThreads();
22190 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
22191
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
22195 resultobj = PyInt_FromLong((long)result);
22196 return resultobj;
22197 fail:
22198 return NULL;
22199 }
22200
22201
22202 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
22203 PyObject *resultobj;
22204 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22205 wxTreeItemId *arg2 = 0 ;
22206 bool result;
22207 PyObject * obj0 = 0 ;
22208 PyObject * obj1 = 0 ;
22209 char *kwnames[] = {
22210 (char *) "self",(char *) "item", NULL
22211 };
22212
22213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
22214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22215 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22216 if (arg2 == NULL) {
22217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22218 }
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
22222
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 resultobj = PyInt_FromLong((long)result);
22227 return resultobj;
22228 fail:
22229 return NULL;
22230 }
22231
22232
22233 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
22234 PyObject *resultobj;
22235 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22236 wxTreeItemId *arg2 = 0 ;
22237 bool result;
22238 PyObject * obj0 = 0 ;
22239 PyObject * obj1 = 0 ;
22240 char *kwnames[] = {
22241 (char *) "self",(char *) "item", NULL
22242 };
22243
22244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
22245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22247 if (arg2 == NULL) {
22248 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22249 }
22250 {
22251 PyThreadState* __tstate = wxPyBeginAllowThreads();
22252 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
22253
22254 wxPyEndAllowThreads(__tstate);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 }
22257 resultobj = PyInt_FromLong((long)result);
22258 return resultobj;
22259 fail:
22260 return NULL;
22261 }
22262
22263
22264 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
22265 PyObject *resultobj;
22266 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22267 wxTreeItemId *arg2 = 0 ;
22268 bool result;
22269 PyObject * obj0 = 0 ;
22270 PyObject * obj1 = 0 ;
22271 char *kwnames[] = {
22272 (char *) "self",(char *) "item", NULL
22273 };
22274
22275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
22276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22278 if (arg2 == NULL) {
22279 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22280 }
22281 {
22282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22283 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
22284
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 resultobj = PyInt_FromLong((long)result);
22289 return resultobj;
22290 fail:
22291 return NULL;
22292 }
22293
22294
22295 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
22296 PyObject *resultobj;
22297 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22298 wxTreeItemId *arg2 = 0 ;
22299 bool arg3 = (bool) True ;
22300 size_t result;
22301 PyObject * obj0 = 0 ;
22302 PyObject * obj1 = 0 ;
22303 PyObject * obj2 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "self",(char *) "item",(char *) "recursively", NULL
22306 };
22307
22308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
22309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22310 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22311 if (arg2 == NULL) {
22312 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22313 }
22314 if (obj2) {
22315 {
22316 arg3 = (bool) SPyObj_AsBool(obj2);
22317 if (PyErr_Occurred()) SWIG_fail;
22318 }
22319 }
22320 {
22321 PyThreadState* __tstate = wxPyBeginAllowThreads();
22322 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
22323
22324 wxPyEndAllowThreads(__tstate);
22325 if (PyErr_Occurred()) SWIG_fail;
22326 }
22327 resultobj = SPyObj_FromUnsignedLong((unsigned long)result);
22328 return resultobj;
22329 fail:
22330 return NULL;
22331 }
22332
22333
22334 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22335 PyObject *resultobj;
22336 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22337 wxTreeItemId result;
22338 PyObject * obj0 = 0 ;
22339 char *kwnames[] = {
22340 (char *) "self", NULL
22341 };
22342
22343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
22344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22345 {
22346 PyThreadState* __tstate = wxPyBeginAllowThreads();
22347 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
22348
22349 wxPyEndAllowThreads(__tstate);
22350 if (PyErr_Occurred()) SWIG_fail;
22351 }
22352 {
22353 wxTreeItemId * resultptr;
22354 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22355 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22356 }
22357 return resultobj;
22358 fail:
22359 return NULL;
22360 }
22361
22362
22363 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
22364 PyObject *resultobj;
22365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22366 wxTreeItemId result;
22367 PyObject * obj0 = 0 ;
22368 char *kwnames[] = {
22369 (char *) "self", NULL
22370 };
22371
22372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
22373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22374 {
22375 PyThreadState* __tstate = wxPyBeginAllowThreads();
22376 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
22377
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 {
22382 wxTreeItemId * resultptr;
22383 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22384 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22385 }
22386 return resultobj;
22387 fail:
22388 return NULL;
22389 }
22390
22391
22392 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22393 PyObject *resultobj;
22394 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22395 PyObject *result;
22396 PyObject * obj0 = 0 ;
22397 char *kwnames[] = {
22398 (char *) "self", NULL
22399 };
22400
22401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22403 {
22404 PyThreadState* __tstate = wxPyBeginAllowThreads();
22405 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22406
22407 wxPyEndAllowThreads(__tstate);
22408 if (PyErr_Occurred()) SWIG_fail;
22409 }
22410 resultobj = result;
22411 return resultobj;
22412 fail:
22413 return NULL;
22414 }
22415
22416
22417 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22418 PyObject *resultobj;
22419 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22420 wxTreeItemId *arg2 = 0 ;
22421 wxTreeItemId result;
22422 PyObject * obj0 = 0 ;
22423 PyObject * obj1 = 0 ;
22424 char *kwnames[] = {
22425 (char *) "self",(char *) "item", NULL
22426 };
22427
22428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22431 if (arg2 == NULL) {
22432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22433 }
22434 {
22435 PyThreadState* __tstate = wxPyBeginAllowThreads();
22436 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22437
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
22441 {
22442 wxTreeItemId * resultptr;
22443 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22444 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22445 }
22446 return resultobj;
22447 fail:
22448 return NULL;
22449 }
22450
22451
22452 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22453 PyObject *resultobj;
22454 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22455 wxTreeItemId *arg2 = 0 ;
22456 PyObject *result;
22457 PyObject * obj0 = 0 ;
22458 PyObject * obj1 = 0 ;
22459 char *kwnames[] = {
22460 (char *) "self",(char *) "item", NULL
22461 };
22462
22463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22465 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22466 if (arg2 == NULL) {
22467 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22468 }
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22472
22473 wxPyEndAllowThreads(__tstate);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 resultobj = result;
22477 return resultobj;
22478 fail:
22479 return NULL;
22480 }
22481
22482
22483 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22484 PyObject *resultobj;
22485 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22486 wxTreeItemId *arg2 = 0 ;
22487 wxTreeItemIdValue *arg3 = 0 ;
22488 PyObject *result;
22489 PyObject * obj0 = 0 ;
22490 PyObject * obj1 = 0 ;
22491 PyObject * obj2 = 0 ;
22492 char *kwnames[] = {
22493 (char *) "self",(char *) "item",(char *) "cookie", NULL
22494 };
22495
22496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22498 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22499 if (arg2 == NULL) {
22500 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22501 }
22502 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22503 if (arg3 == NULL) {
22504 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22505 }
22506 {
22507 PyThreadState* __tstate = wxPyBeginAllowThreads();
22508 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22509
22510 wxPyEndAllowThreads(__tstate);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
22513 resultobj = result;
22514 return resultobj;
22515 fail:
22516 return NULL;
22517 }
22518
22519
22520 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22521 PyObject *resultobj;
22522 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22523 wxTreeItemId *arg2 = 0 ;
22524 wxTreeItemId result;
22525 PyObject * obj0 = 0 ;
22526 PyObject * obj1 = 0 ;
22527 char *kwnames[] = {
22528 (char *) "self",(char *) "item", NULL
22529 };
22530
22531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22533 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22534 if (arg2 == NULL) {
22535 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22536 }
22537 {
22538 PyThreadState* __tstate = wxPyBeginAllowThreads();
22539 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22540
22541 wxPyEndAllowThreads(__tstate);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 }
22544 {
22545 wxTreeItemId * resultptr;
22546 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22547 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22548 }
22549 return resultobj;
22550 fail:
22551 return NULL;
22552 }
22553
22554
22555 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22556 PyObject *resultobj;
22557 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22558 wxTreeItemId *arg2 = 0 ;
22559 wxTreeItemId result;
22560 PyObject * obj0 = 0 ;
22561 PyObject * obj1 = 0 ;
22562 char *kwnames[] = {
22563 (char *) "self",(char *) "item", NULL
22564 };
22565
22566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22569 if (arg2 == NULL) {
22570 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22571 }
22572 {
22573 PyThreadState* __tstate = wxPyBeginAllowThreads();
22574 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22575
22576 wxPyEndAllowThreads(__tstate);
22577 if (PyErr_Occurred()) SWIG_fail;
22578 }
22579 {
22580 wxTreeItemId * resultptr;
22581 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22582 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22583 }
22584 return resultobj;
22585 fail:
22586 return NULL;
22587 }
22588
22589
22590 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22591 PyObject *resultobj;
22592 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22593 wxTreeItemId *arg2 = 0 ;
22594 wxTreeItemId result;
22595 PyObject * obj0 = 0 ;
22596 PyObject * obj1 = 0 ;
22597 char *kwnames[] = {
22598 (char *) "self",(char *) "item", NULL
22599 };
22600
22601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22603 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22604 if (arg2 == NULL) {
22605 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22606 }
22607 {
22608 PyThreadState* __tstate = wxPyBeginAllowThreads();
22609 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22610
22611 wxPyEndAllowThreads(__tstate);
22612 if (PyErr_Occurred()) SWIG_fail;
22613 }
22614 {
22615 wxTreeItemId * resultptr;
22616 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22617 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22618 }
22619 return resultobj;
22620 fail:
22621 return NULL;
22622 }
22623
22624
22625 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22626 PyObject *resultobj;
22627 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22628 wxTreeItemId result;
22629 PyObject * obj0 = 0 ;
22630 char *kwnames[] = {
22631 (char *) "self", NULL
22632 };
22633
22634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22636 {
22637 PyThreadState* __tstate = wxPyBeginAllowThreads();
22638 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22639
22640 wxPyEndAllowThreads(__tstate);
22641 if (PyErr_Occurred()) SWIG_fail;
22642 }
22643 {
22644 wxTreeItemId * resultptr;
22645 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22646 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22647 }
22648 return resultobj;
22649 fail:
22650 return NULL;
22651 }
22652
22653
22654 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22655 PyObject *resultobj;
22656 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22657 wxTreeItemId *arg2 = 0 ;
22658 wxTreeItemId result;
22659 PyObject * obj0 = 0 ;
22660 PyObject * obj1 = 0 ;
22661 char *kwnames[] = {
22662 (char *) "self",(char *) "item", NULL
22663 };
22664
22665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22668 if (arg2 == NULL) {
22669 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22670 }
22671 {
22672 PyThreadState* __tstate = wxPyBeginAllowThreads();
22673 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22674
22675 wxPyEndAllowThreads(__tstate);
22676 if (PyErr_Occurred()) SWIG_fail;
22677 }
22678 {
22679 wxTreeItemId * resultptr;
22680 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22681 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22682 }
22683 return resultobj;
22684 fail:
22685 return NULL;
22686 }
22687
22688
22689 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22690 PyObject *resultobj;
22691 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22692 wxTreeItemId *arg2 = 0 ;
22693 wxTreeItemId result;
22694 PyObject * obj0 = 0 ;
22695 PyObject * obj1 = 0 ;
22696 char *kwnames[] = {
22697 (char *) "self",(char *) "item", NULL
22698 };
22699
22700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22703 if (arg2 == NULL) {
22704 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22705 }
22706 {
22707 PyThreadState* __tstate = wxPyBeginAllowThreads();
22708 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22709
22710 wxPyEndAllowThreads(__tstate);
22711 if (PyErr_Occurred()) SWIG_fail;
22712 }
22713 {
22714 wxTreeItemId * resultptr;
22715 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22716 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22717 }
22718 return resultobj;
22719 fail:
22720 return NULL;
22721 }
22722
22723
22724 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22725 PyObject *resultobj;
22726 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22727 wxString *arg2 = 0 ;
22728 int arg3 = (int) -1 ;
22729 int arg4 = (int) -1 ;
22730 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22731 wxTreeItemId result;
22732 bool temp2 = False ;
22733 PyObject * obj0 = 0 ;
22734 PyObject * obj1 = 0 ;
22735 PyObject * obj4 = 0 ;
22736 char *kwnames[] = {
22737 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22738 };
22739
22740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22742 {
22743 arg2 = wxString_in_helper(obj1);
22744 if (arg2 == NULL) SWIG_fail;
22745 temp2 = True;
22746 }
22747 if (obj4) {
22748 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22749 }
22750 {
22751 PyThreadState* __tstate = wxPyBeginAllowThreads();
22752 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22753
22754 wxPyEndAllowThreads(__tstate);
22755 if (PyErr_Occurred()) SWIG_fail;
22756 }
22757 {
22758 wxTreeItemId * resultptr;
22759 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22760 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22761 }
22762 {
22763 if (temp2)
22764 delete arg2;
22765 }
22766 return resultobj;
22767 fail:
22768 {
22769 if (temp2)
22770 delete arg2;
22771 }
22772 return NULL;
22773 }
22774
22775
22776 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22777 PyObject *resultobj;
22778 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22779 wxTreeItemId *arg2 = 0 ;
22780 wxString *arg3 = 0 ;
22781 int arg4 = (int) -1 ;
22782 int arg5 = (int) -1 ;
22783 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22784 wxTreeItemId result;
22785 bool temp3 = False ;
22786 PyObject * obj0 = 0 ;
22787 PyObject * obj1 = 0 ;
22788 PyObject * obj2 = 0 ;
22789 PyObject * obj5 = 0 ;
22790 char *kwnames[] = {
22791 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22792 };
22793
22794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22797 if (arg2 == NULL) {
22798 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22799 }
22800 {
22801 arg3 = wxString_in_helper(obj2);
22802 if (arg3 == NULL) SWIG_fail;
22803 temp3 = True;
22804 }
22805 if (obj5) {
22806 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22807 }
22808 {
22809 PyThreadState* __tstate = wxPyBeginAllowThreads();
22810 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22811
22812 wxPyEndAllowThreads(__tstate);
22813 if (PyErr_Occurred()) SWIG_fail;
22814 }
22815 {
22816 wxTreeItemId * resultptr;
22817 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22818 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22819 }
22820 {
22821 if (temp3)
22822 delete arg3;
22823 }
22824 return resultobj;
22825 fail:
22826 {
22827 if (temp3)
22828 delete arg3;
22829 }
22830 return NULL;
22831 }
22832
22833
22834 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22835 PyObject *resultobj;
22836 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22837 wxTreeItemId *arg2 = 0 ;
22838 wxTreeItemId *arg3 = 0 ;
22839 wxString *arg4 = 0 ;
22840 int arg5 = (int) -1 ;
22841 int arg6 = (int) -1 ;
22842 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22843 wxTreeItemId result;
22844 bool temp4 = False ;
22845 PyObject * obj0 = 0 ;
22846 PyObject * obj1 = 0 ;
22847 PyObject * obj2 = 0 ;
22848 PyObject * obj3 = 0 ;
22849 PyObject * obj6 = 0 ;
22850 char *kwnames[] = {
22851 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22852 };
22853
22854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22857 if (arg2 == NULL) {
22858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22859 }
22860 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22861 if (arg3 == NULL) {
22862 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22863 }
22864 {
22865 arg4 = wxString_in_helper(obj3);
22866 if (arg4 == NULL) SWIG_fail;
22867 temp4 = True;
22868 }
22869 if (obj6) {
22870 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22871 }
22872 {
22873 PyThreadState* __tstate = wxPyBeginAllowThreads();
22874 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22875
22876 wxPyEndAllowThreads(__tstate);
22877 if (PyErr_Occurred()) SWIG_fail;
22878 }
22879 {
22880 wxTreeItemId * resultptr;
22881 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22882 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22883 }
22884 {
22885 if (temp4)
22886 delete arg4;
22887 }
22888 return resultobj;
22889 fail:
22890 {
22891 if (temp4)
22892 delete arg4;
22893 }
22894 return NULL;
22895 }
22896
22897
22898 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22899 PyObject *resultobj;
22900 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22901 wxTreeItemId *arg2 = 0 ;
22902 size_t arg3 ;
22903 wxString *arg4 = 0 ;
22904 int arg5 = (int) -1 ;
22905 int arg6 = (int) -1 ;
22906 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22907 wxTreeItemId result;
22908 bool temp4 = False ;
22909 PyObject * obj0 = 0 ;
22910 PyObject * obj1 = 0 ;
22911 PyObject * obj2 = 0 ;
22912 PyObject * obj3 = 0 ;
22913 PyObject * obj6 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22921 if (arg2 == NULL) {
22922 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22923 }
22924 {
22925 arg3 = (size_t) SPyObj_AsUnsignedLong(obj2);
22926 if (PyErr_Occurred()) SWIG_fail;
22927 }
22928 {
22929 arg4 = wxString_in_helper(obj3);
22930 if (arg4 == NULL) SWIG_fail;
22931 temp4 = True;
22932 }
22933 if (obj6) {
22934 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22935 }
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22939
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 {
22944 wxTreeItemId * resultptr;
22945 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22946 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22947 }
22948 {
22949 if (temp4)
22950 delete arg4;
22951 }
22952 return resultobj;
22953 fail:
22954 {
22955 if (temp4)
22956 delete arg4;
22957 }
22958 return NULL;
22959 }
22960
22961
22962 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22963 PyObject *resultobj;
22964 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22965 wxTreeItemId *arg2 = 0 ;
22966 wxString *arg3 = 0 ;
22967 int arg4 = (int) -1 ;
22968 int arg5 = (int) -1 ;
22969 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22970 wxTreeItemId result;
22971 bool temp3 = False ;
22972 PyObject * obj0 = 0 ;
22973 PyObject * obj1 = 0 ;
22974 PyObject * obj2 = 0 ;
22975 PyObject * obj5 = 0 ;
22976 char *kwnames[] = {
22977 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22978 };
22979
22980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22982 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22983 if (arg2 == NULL) {
22984 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22985 }
22986 {
22987 arg3 = wxString_in_helper(obj2);
22988 if (arg3 == NULL) SWIG_fail;
22989 temp3 = True;
22990 }
22991 if (obj5) {
22992 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22993 }
22994 {
22995 PyThreadState* __tstate = wxPyBeginAllowThreads();
22996 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22997
22998 wxPyEndAllowThreads(__tstate);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
23001 {
23002 wxTreeItemId * resultptr;
23003 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23004 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23005 }
23006 {
23007 if (temp3)
23008 delete arg3;
23009 }
23010 return resultobj;
23011 fail:
23012 {
23013 if (temp3)
23014 delete arg3;
23015 }
23016 return NULL;
23017 }
23018
23019
23020 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
23021 PyObject *resultobj;
23022 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23023 wxTreeItemId *arg2 = 0 ;
23024 PyObject * obj0 = 0 ;
23025 PyObject * obj1 = 0 ;
23026 char *kwnames[] = {
23027 (char *) "self",(char *) "item", NULL
23028 };
23029
23030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
23031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23033 if (arg2 == NULL) {
23034 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23035 }
23036 {
23037 PyThreadState* __tstate = wxPyBeginAllowThreads();
23038 (arg1)->Delete((wxTreeItemId const &)*arg2);
23039
23040 wxPyEndAllowThreads(__tstate);
23041 if (PyErr_Occurred()) SWIG_fail;
23042 }
23043 Py_INCREF(Py_None); resultobj = Py_None;
23044 return resultobj;
23045 fail:
23046 return NULL;
23047 }
23048
23049
23050 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23051 PyObject *resultobj;
23052 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23053 wxTreeItemId *arg2 = 0 ;
23054 PyObject * obj0 = 0 ;
23055 PyObject * obj1 = 0 ;
23056 char *kwnames[] = {
23057 (char *) "self",(char *) "item", NULL
23058 };
23059
23060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
23061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23063 if (arg2 == NULL) {
23064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23065 }
23066 {
23067 PyThreadState* __tstate = wxPyBeginAllowThreads();
23068 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
23069
23070 wxPyEndAllowThreads(__tstate);
23071 if (PyErr_Occurred()) SWIG_fail;
23072 }
23073 Py_INCREF(Py_None); resultobj = Py_None;
23074 return resultobj;
23075 fail:
23076 return NULL;
23077 }
23078
23079
23080 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
23081 PyObject *resultobj;
23082 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23083 PyObject * obj0 = 0 ;
23084 char *kwnames[] = {
23085 (char *) "self", NULL
23086 };
23087
23088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
23089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23090 {
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 (arg1)->DeleteAllItems();
23093
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
23097 Py_INCREF(Py_None); resultobj = Py_None;
23098 return resultobj;
23099 fail:
23100 return NULL;
23101 }
23102
23103
23104 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
23105 PyObject *resultobj;
23106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23107 wxTreeItemId *arg2 = 0 ;
23108 PyObject * obj0 = 0 ;
23109 PyObject * obj1 = 0 ;
23110 char *kwnames[] = {
23111 (char *) "self",(char *) "item", NULL
23112 };
23113
23114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
23115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23117 if (arg2 == NULL) {
23118 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23119 }
23120 {
23121 PyThreadState* __tstate = wxPyBeginAllowThreads();
23122 (arg1)->Expand((wxTreeItemId const &)*arg2);
23123
23124 wxPyEndAllowThreads(__tstate);
23125 if (PyErr_Occurred()) SWIG_fail;
23126 }
23127 Py_INCREF(Py_None); resultobj = Py_None;
23128 return resultobj;
23129 fail:
23130 return NULL;
23131 }
23132
23133
23134 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
23135 PyObject *resultobj;
23136 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23137 wxTreeItemId *arg2 = 0 ;
23138 PyObject * obj0 = 0 ;
23139 PyObject * obj1 = 0 ;
23140 char *kwnames[] = {
23141 (char *) "self",(char *) "item", NULL
23142 };
23143
23144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
23145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23146 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23147 if (arg2 == NULL) {
23148 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23149 }
23150 {
23151 PyThreadState* __tstate = wxPyBeginAllowThreads();
23152 (arg1)->Collapse((wxTreeItemId const &)*arg2);
23153
23154 wxPyEndAllowThreads(__tstate);
23155 if (PyErr_Occurred()) SWIG_fail;
23156 }
23157 Py_INCREF(Py_None); resultobj = Py_None;
23158 return resultobj;
23159 fail:
23160 return NULL;
23161 }
23162
23163
23164 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
23165 PyObject *resultobj;
23166 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23167 wxTreeItemId *arg2 = 0 ;
23168 PyObject * obj0 = 0 ;
23169 PyObject * obj1 = 0 ;
23170 char *kwnames[] = {
23171 (char *) "self",(char *) "item", NULL
23172 };
23173
23174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
23175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23177 if (arg2 == NULL) {
23178 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23179 }
23180 {
23181 PyThreadState* __tstate = wxPyBeginAllowThreads();
23182 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
23183
23184 wxPyEndAllowThreads(__tstate);
23185 if (PyErr_Occurred()) SWIG_fail;
23186 }
23187 Py_INCREF(Py_None); resultobj = Py_None;
23188 return resultobj;
23189 fail:
23190 return NULL;
23191 }
23192
23193
23194 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
23195 PyObject *resultobj;
23196 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23197 wxTreeItemId *arg2 = 0 ;
23198 PyObject * obj0 = 0 ;
23199 PyObject * obj1 = 0 ;
23200 char *kwnames[] = {
23201 (char *) "self",(char *) "item", NULL
23202 };
23203
23204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
23205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23207 if (arg2 == NULL) {
23208 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23209 }
23210 {
23211 PyThreadState* __tstate = wxPyBeginAllowThreads();
23212 (arg1)->Toggle((wxTreeItemId const &)*arg2);
23213
23214 wxPyEndAllowThreads(__tstate);
23215 if (PyErr_Occurred()) SWIG_fail;
23216 }
23217 Py_INCREF(Py_None); resultobj = Py_None;
23218 return resultobj;
23219 fail:
23220 return NULL;
23221 }
23222
23223
23224 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
23225 PyObject *resultobj;
23226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23227 PyObject * obj0 = 0 ;
23228 char *kwnames[] = {
23229 (char *) "self", NULL
23230 };
23231
23232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
23233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23234 {
23235 PyThreadState* __tstate = wxPyBeginAllowThreads();
23236 (arg1)->Unselect();
23237
23238 wxPyEndAllowThreads(__tstate);
23239 if (PyErr_Occurred()) SWIG_fail;
23240 }
23241 Py_INCREF(Py_None); resultobj = Py_None;
23242 return resultobj;
23243 fail:
23244 return NULL;
23245 }
23246
23247
23248 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
23249 PyObject *resultobj;
23250 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23251 PyObject * obj0 = 0 ;
23252 char *kwnames[] = {
23253 (char *) "self", NULL
23254 };
23255
23256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
23257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23258 {
23259 PyThreadState* __tstate = wxPyBeginAllowThreads();
23260 (arg1)->UnselectAll();
23261
23262 wxPyEndAllowThreads(__tstate);
23263 if (PyErr_Occurred()) SWIG_fail;
23264 }
23265 Py_INCREF(Py_None); resultobj = Py_None;
23266 return resultobj;
23267 fail:
23268 return NULL;
23269 }
23270
23271
23272 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23273 PyObject *resultobj;
23274 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23275 wxTreeItemId *arg2 = 0 ;
23276 PyObject * obj0 = 0 ;
23277 PyObject * obj1 = 0 ;
23278 char *kwnames[] = {
23279 (char *) "self",(char *) "item", NULL
23280 };
23281
23282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
23283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23285 if (arg2 == NULL) {
23286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23287 }
23288 {
23289 PyThreadState* __tstate = wxPyBeginAllowThreads();
23290 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
23291
23292 wxPyEndAllowThreads(__tstate);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 }
23295 Py_INCREF(Py_None); resultobj = Py_None;
23296 return resultobj;
23297 fail:
23298 return NULL;
23299 }
23300
23301
23302 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
23303 PyObject *resultobj;
23304 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23305 wxTreeItemId *arg2 = 0 ;
23306 PyObject * obj0 = 0 ;
23307 PyObject * obj1 = 0 ;
23308 char *kwnames[] = {
23309 (char *) "self",(char *) "item", NULL
23310 };
23311
23312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
23313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23315 if (arg2 == NULL) {
23316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23317 }
23318 {
23319 PyThreadState* __tstate = wxPyBeginAllowThreads();
23320 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
23321
23322 wxPyEndAllowThreads(__tstate);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 }
23325 Py_INCREF(Py_None); resultobj = Py_None;
23326 return resultobj;
23327 fail:
23328 return NULL;
23329 }
23330
23331
23332 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
23333 PyObject *resultobj;
23334 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23335 wxTreeItemId *arg2 = 0 ;
23336 PyObject * obj0 = 0 ;
23337 PyObject * obj1 = 0 ;
23338 char *kwnames[] = {
23339 (char *) "self",(char *) "item", NULL
23340 };
23341
23342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
23343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23344 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23345 if (arg2 == NULL) {
23346 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23347 }
23348 {
23349 PyThreadState* __tstate = wxPyBeginAllowThreads();
23350 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
23351
23352 wxPyEndAllowThreads(__tstate);
23353 if (PyErr_Occurred()) SWIG_fail;
23354 }
23355 Py_INCREF(Py_None); resultobj = Py_None;
23356 return resultobj;
23357 fail:
23358 return NULL;
23359 }
23360
23361
23362 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23363 PyObject *resultobj;
23364 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23365 wxTreeItemId *arg2 = 0 ;
23366 PyObject * obj0 = 0 ;
23367 PyObject * obj1 = 0 ;
23368 char *kwnames[] = {
23369 (char *) "self",(char *) "item", NULL
23370 };
23371
23372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
23373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23374 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23375 if (arg2 == NULL) {
23376 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23377 }
23378 {
23379 PyThreadState* __tstate = wxPyBeginAllowThreads();
23380 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
23381
23382 wxPyEndAllowThreads(__tstate);
23383 if (PyErr_Occurred()) SWIG_fail;
23384 }
23385 Py_INCREF(Py_None); resultobj = Py_None;
23386 return resultobj;
23387 fail:
23388 return NULL;
23389 }
23390
23391
23392 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23393 PyObject *resultobj;
23394 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23395 wxTextCtrl *result;
23396 PyObject * obj0 = 0 ;
23397 char *kwnames[] = {
23398 (char *) "self", NULL
23399 };
23400
23401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23403 {
23404 PyThreadState* __tstate = wxPyBeginAllowThreads();
23405 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23406
23407 wxPyEndAllowThreads(__tstate);
23408 if (PyErr_Occurred()) SWIG_fail;
23409 }
23410 {
23411 resultobj = wxPyMake_wxObject(result);
23412 }
23413 return resultobj;
23414 fail:
23415 return NULL;
23416 }
23417
23418
23419 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23420 PyObject *resultobj;
23421 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23422 wxTreeItemId *arg2 = 0 ;
23423 PyObject * obj0 = 0 ;
23424 PyObject * obj1 = 0 ;
23425 char *kwnames[] = {
23426 (char *) "self",(char *) "item", NULL
23427 };
23428
23429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23431 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23432 if (arg2 == NULL) {
23433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23434 }
23435 {
23436 PyThreadState* __tstate = wxPyBeginAllowThreads();
23437 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23438
23439 wxPyEndAllowThreads(__tstate);
23440 if (PyErr_Occurred()) SWIG_fail;
23441 }
23442 Py_INCREF(Py_None); resultobj = Py_None;
23443 return resultobj;
23444 fail:
23445 return NULL;
23446 }
23447
23448
23449 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23450 PyObject *resultobj;
23451 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23452 wxPoint *arg2 = 0 ;
23453 int *arg3 = 0 ;
23454 wxTreeItemId result;
23455 wxPoint temp2 ;
23456 int temp3 ;
23457 PyObject * obj0 = 0 ;
23458 PyObject * obj1 = 0 ;
23459 char *kwnames[] = {
23460 (char *) "self",(char *) "point", NULL
23461 };
23462
23463 arg3 = &temp3;
23464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23466 {
23467 arg2 = &temp2;
23468 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23469 }
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 {
23478 wxTreeItemId * resultptr;
23479 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23480 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23481 }
23482 {
23483 PyObject *o = PyInt_FromLong((long) (*arg3));
23484 resultobj = t_output_helper(resultobj,o);
23485 }
23486 return resultobj;
23487 fail:
23488 return NULL;
23489 }
23490
23491
23492 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23493 PyObject *resultobj;
23494 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23495 wxTreeItemId *arg2 = 0 ;
23496 bool arg3 = (bool) False ;
23497 PyObject *result;
23498 PyObject * obj0 = 0 ;
23499 PyObject * obj1 = 0 ;
23500 PyObject * obj2 = 0 ;
23501 char *kwnames[] = {
23502 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23503 };
23504
23505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23508 if (arg2 == NULL) {
23509 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23510 }
23511 if (obj2) {
23512 {
23513 arg3 = (bool) SPyObj_AsBool(obj2);
23514 if (PyErr_Occurred()) SWIG_fail;
23515 }
23516 }
23517 {
23518 PyThreadState* __tstate = wxPyBeginAllowThreads();
23519 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23520
23521 wxPyEndAllowThreads(__tstate);
23522 if (PyErr_Occurred()) SWIG_fail;
23523 }
23524 resultobj = result;
23525 return resultobj;
23526 fail:
23527 return NULL;
23528 }
23529
23530
23531 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23532 PyObject *obj;
23533 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23534 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23535 Py_INCREF(obj);
23536 return Py_BuildValue((char *)"");
23537 }
23538 static int _wrap_DirDialogDefaultFolderStr_set(PyObject *_val) {
23539 PyErr_SetString(PyExc_TypeError,"Variable DirDialogDefaultFolderStr is read-only.");
23540 return 1;
23541 }
23542
23543
23544 static PyObject *_wrap_DirDialogDefaultFolderStr_get() {
23545 PyObject *pyobj;
23546
23547 {
23548 #if wxUSE_UNICODE
23549 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23550 #else
23551 pyobj = PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr)->c_str(), (&wxPyDirDialogDefaultFolderStr)->Len());
23552 #endif
23553 }
23554 return pyobj;
23555 }
23556
23557
23558 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxWindow *arg1 = (wxWindow *) 0 ;
23561 int arg2 = (int) (int)-1 ;
23562 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23563 wxString *arg3 = (wxString *) &arg3_defvalue ;
23564 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23565 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23566 wxSize const &arg5_defvalue = wxDefaultSize ;
23567 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23568 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23569 wxString const &arg7_defvalue = wxPyEmptyString ;
23570 wxString *arg7 = (wxString *) &arg7_defvalue ;
23571 int arg8 = (int) 0 ;
23572 wxString const &arg9_defvalue = wxPyTreeCtrlNameStr ;
23573 wxString *arg9 = (wxString *) &arg9_defvalue ;
23574 wxGenericDirCtrl *result;
23575 bool temp3 = False ;
23576 wxPoint temp4 ;
23577 wxSize temp5 ;
23578 bool temp7 = False ;
23579 bool temp9 = False ;
23580 PyObject * obj0 = 0 ;
23581 PyObject * obj2 = 0 ;
23582 PyObject * obj3 = 0 ;
23583 PyObject * obj4 = 0 ;
23584 PyObject * obj6 = 0 ;
23585 PyObject * obj8 = 0 ;
23586 char *kwnames[] = {
23587 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23588 };
23589
23590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23592 if (obj2) {
23593 {
23594 arg3 = wxString_in_helper(obj2);
23595 if (arg3 == NULL) SWIG_fail;
23596 temp3 = True;
23597 }
23598 }
23599 if (obj3) {
23600 {
23601 arg4 = &temp4;
23602 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23603 }
23604 }
23605 if (obj4) {
23606 {
23607 arg5 = &temp5;
23608 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23609 }
23610 }
23611 if (obj6) {
23612 {
23613 arg7 = wxString_in_helper(obj6);
23614 if (arg7 == NULL) SWIG_fail;
23615 temp7 = True;
23616 }
23617 }
23618 if (obj8) {
23619 {
23620 arg9 = wxString_in_helper(obj8);
23621 if (arg9 == NULL) SWIG_fail;
23622 temp9 = True;
23623 }
23624 }
23625 {
23626 PyThreadState* __tstate = wxPyBeginAllowThreads();
23627 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23628
23629 wxPyEndAllowThreads(__tstate);
23630 if (PyErr_Occurred()) SWIG_fail;
23631 }
23632 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23633 {
23634 if (temp3)
23635 delete arg3;
23636 }
23637 {
23638 if (temp7)
23639 delete arg7;
23640 }
23641 {
23642 if (temp9)
23643 delete arg9;
23644 }
23645 return resultobj;
23646 fail:
23647 {
23648 if (temp3)
23649 delete arg3;
23650 }
23651 {
23652 if (temp7)
23653 delete arg7;
23654 }
23655 {
23656 if (temp9)
23657 delete arg9;
23658 }
23659 return NULL;
23660 }
23661
23662
23663 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23664 PyObject *resultobj;
23665 wxGenericDirCtrl *result;
23666 char *kwnames[] = {
23667 NULL
23668 };
23669
23670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23671 {
23672 PyThreadState* __tstate = wxPyBeginAllowThreads();
23673 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23674
23675 wxPyEndAllowThreads(__tstate);
23676 if (PyErr_Occurred()) SWIG_fail;
23677 }
23678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23679 return resultobj;
23680 fail:
23681 return NULL;
23682 }
23683
23684
23685 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23686 PyObject *resultobj;
23687 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23688 wxWindow *arg2 = (wxWindow *) 0 ;
23689 int arg3 = (int) (int)-1 ;
23690 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23691 wxString *arg4 = (wxString *) &arg4_defvalue ;
23692 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23693 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23694 wxSize const &arg6_defvalue = wxDefaultSize ;
23695 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23696 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23697 wxString const &arg8_defvalue = wxPyEmptyString ;
23698 wxString *arg8 = (wxString *) &arg8_defvalue ;
23699 int arg9 = (int) 0 ;
23700 wxString const &arg10_defvalue = wxPyTreeCtrlNameStr ;
23701 wxString *arg10 = (wxString *) &arg10_defvalue ;
23702 bool result;
23703 bool temp4 = False ;
23704 wxPoint temp5 ;
23705 wxSize temp6 ;
23706 bool temp8 = False ;
23707 bool temp10 = False ;
23708 PyObject * obj0 = 0 ;
23709 PyObject * obj1 = 0 ;
23710 PyObject * obj3 = 0 ;
23711 PyObject * obj4 = 0 ;
23712 PyObject * obj5 = 0 ;
23713 PyObject * obj7 = 0 ;
23714 PyObject * obj9 = 0 ;
23715 char *kwnames[] = {
23716 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23717 };
23718
23719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23722 if (obj3) {
23723 {
23724 arg4 = wxString_in_helper(obj3);
23725 if (arg4 == NULL) SWIG_fail;
23726 temp4 = True;
23727 }
23728 }
23729 if (obj4) {
23730 {
23731 arg5 = &temp5;
23732 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23733 }
23734 }
23735 if (obj5) {
23736 {
23737 arg6 = &temp6;
23738 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23739 }
23740 }
23741 if (obj7) {
23742 {
23743 arg8 = wxString_in_helper(obj7);
23744 if (arg8 == NULL) SWIG_fail;
23745 temp8 = True;
23746 }
23747 }
23748 if (obj9) {
23749 {
23750 arg10 = wxString_in_helper(obj9);
23751 if (arg10 == NULL) SWIG_fail;
23752 temp10 = True;
23753 }
23754 }
23755 {
23756 PyThreadState* __tstate = wxPyBeginAllowThreads();
23757 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23758
23759 wxPyEndAllowThreads(__tstate);
23760 if (PyErr_Occurred()) SWIG_fail;
23761 }
23762 resultobj = PyInt_FromLong((long)result);
23763 {
23764 if (temp4)
23765 delete arg4;
23766 }
23767 {
23768 if (temp8)
23769 delete arg8;
23770 }
23771 {
23772 if (temp10)
23773 delete arg10;
23774 }
23775 return resultobj;
23776 fail:
23777 {
23778 if (temp4)
23779 delete arg4;
23780 }
23781 {
23782 if (temp8)
23783 delete arg8;
23784 }
23785 {
23786 if (temp10)
23787 delete arg10;
23788 }
23789 return NULL;
23790 }
23791
23792
23793 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23794 PyObject *resultobj;
23795 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23796 wxString *arg2 = 0 ;
23797 bool result;
23798 bool temp2 = False ;
23799 PyObject * obj0 = 0 ;
23800 PyObject * obj1 = 0 ;
23801 char *kwnames[] = {
23802 (char *) "self",(char *) "path", NULL
23803 };
23804
23805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23807 {
23808 arg2 = wxString_in_helper(obj1);
23809 if (arg2 == NULL) SWIG_fail;
23810 temp2 = True;
23811 }
23812 {
23813 PyThreadState* __tstate = wxPyBeginAllowThreads();
23814 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23815
23816 wxPyEndAllowThreads(__tstate);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 }
23819 resultobj = PyInt_FromLong((long)result);
23820 {
23821 if (temp2)
23822 delete arg2;
23823 }
23824 return resultobj;
23825 fail:
23826 {
23827 if (temp2)
23828 delete arg2;
23829 }
23830 return NULL;
23831 }
23832
23833
23834 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23835 PyObject *resultobj;
23836 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23837 wxString result;
23838 PyObject * obj0 = 0 ;
23839 char *kwnames[] = {
23840 (char *) "self", NULL
23841 };
23842
23843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23845 {
23846 PyThreadState* __tstate = wxPyBeginAllowThreads();
23847 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23848
23849 wxPyEndAllowThreads(__tstate);
23850 if (PyErr_Occurred()) SWIG_fail;
23851 }
23852 {
23853 #if wxUSE_UNICODE
23854 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23855 #else
23856 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23857 #endif
23858 }
23859 return resultobj;
23860 fail:
23861 return NULL;
23862 }
23863
23864
23865 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23866 PyObject *resultobj;
23867 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23868 wxString *arg2 = 0 ;
23869 bool temp2 = False ;
23870 PyObject * obj0 = 0 ;
23871 PyObject * obj1 = 0 ;
23872 char *kwnames[] = {
23873 (char *) "self",(char *) "path", NULL
23874 };
23875
23876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23878 {
23879 arg2 = wxString_in_helper(obj1);
23880 if (arg2 == NULL) SWIG_fail;
23881 temp2 = True;
23882 }
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 (arg1)->SetDefaultPath((wxString const &)*arg2);
23886
23887 wxPyEndAllowThreads(__tstate);
23888 if (PyErr_Occurred()) SWIG_fail;
23889 }
23890 Py_INCREF(Py_None); resultobj = Py_None;
23891 {
23892 if (temp2)
23893 delete arg2;
23894 }
23895 return resultobj;
23896 fail:
23897 {
23898 if (temp2)
23899 delete arg2;
23900 }
23901 return NULL;
23902 }
23903
23904
23905 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23906 PyObject *resultobj;
23907 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23908 wxString result;
23909 PyObject * obj0 = 0 ;
23910 char *kwnames[] = {
23911 (char *) "self", NULL
23912 };
23913
23914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23916 {
23917 PyThreadState* __tstate = wxPyBeginAllowThreads();
23918 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23919
23920 wxPyEndAllowThreads(__tstate);
23921 if (PyErr_Occurred()) SWIG_fail;
23922 }
23923 {
23924 #if wxUSE_UNICODE
23925 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23926 #else
23927 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23928 #endif
23929 }
23930 return resultobj;
23931 fail:
23932 return NULL;
23933 }
23934
23935
23936 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23937 PyObject *resultobj;
23938 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23939 wxString result;
23940 PyObject * obj0 = 0 ;
23941 char *kwnames[] = {
23942 (char *) "self", NULL
23943 };
23944
23945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23947 {
23948 PyThreadState* __tstate = wxPyBeginAllowThreads();
23949 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23950
23951 wxPyEndAllowThreads(__tstate);
23952 if (PyErr_Occurred()) SWIG_fail;
23953 }
23954 {
23955 #if wxUSE_UNICODE
23956 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23957 #else
23958 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23959 #endif
23960 }
23961 return resultobj;
23962 fail:
23963 return NULL;
23964 }
23965
23966
23967 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23968 PyObject *resultobj;
23969 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23970 wxString *arg2 = 0 ;
23971 bool temp2 = False ;
23972 PyObject * obj0 = 0 ;
23973 PyObject * obj1 = 0 ;
23974 char *kwnames[] = {
23975 (char *) "self",(char *) "path", NULL
23976 };
23977
23978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23980 {
23981 arg2 = wxString_in_helper(obj1);
23982 if (arg2 == NULL) SWIG_fail;
23983 temp2 = True;
23984 }
23985 {
23986 PyThreadState* __tstate = wxPyBeginAllowThreads();
23987 (arg1)->SetPath((wxString const &)*arg2);
23988
23989 wxPyEndAllowThreads(__tstate);
23990 if (PyErr_Occurred()) SWIG_fail;
23991 }
23992 Py_INCREF(Py_None); resultobj = Py_None;
23993 {
23994 if (temp2)
23995 delete arg2;
23996 }
23997 return resultobj;
23998 fail:
23999 {
24000 if (temp2)
24001 delete arg2;
24002 }
24003 return NULL;
24004 }
24005
24006
24007 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24008 PyObject *resultobj;
24009 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24010 bool arg2 ;
24011 PyObject * obj0 = 0 ;
24012 PyObject * obj1 = 0 ;
24013 char *kwnames[] = {
24014 (char *) "self",(char *) "show", NULL
24015 };
24016
24017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
24018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24019 {
24020 arg2 = (bool) SPyObj_AsBool(obj1);
24021 if (PyErr_Occurred()) SWIG_fail;
24022 }
24023 {
24024 PyThreadState* __tstate = wxPyBeginAllowThreads();
24025 (arg1)->ShowHidden(arg2);
24026
24027 wxPyEndAllowThreads(__tstate);
24028 if (PyErr_Occurred()) SWIG_fail;
24029 }
24030 Py_INCREF(Py_None); resultobj = Py_None;
24031 return resultobj;
24032 fail:
24033 return NULL;
24034 }
24035
24036
24037 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
24038 PyObject *resultobj;
24039 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24040 bool result;
24041 PyObject * obj0 = 0 ;
24042 char *kwnames[] = {
24043 (char *) "self", NULL
24044 };
24045
24046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
24047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24048 {
24049 PyThreadState* __tstate = wxPyBeginAllowThreads();
24050 result = (bool)(arg1)->GetShowHidden();
24051
24052 wxPyEndAllowThreads(__tstate);
24053 if (PyErr_Occurred()) SWIG_fail;
24054 }
24055 resultobj = PyInt_FromLong((long)result);
24056 return resultobj;
24057 fail:
24058 return NULL;
24059 }
24060
24061
24062 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24063 PyObject *resultobj;
24064 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24065 wxString result;
24066 PyObject * obj0 = 0 ;
24067 char *kwnames[] = {
24068 (char *) "self", NULL
24069 };
24070
24071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
24072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24073 {
24074 PyThreadState* __tstate = wxPyBeginAllowThreads();
24075 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
24076
24077 wxPyEndAllowThreads(__tstate);
24078 if (PyErr_Occurred()) SWIG_fail;
24079 }
24080 {
24081 #if wxUSE_UNICODE
24082 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24083 #else
24084 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24085 #endif
24086 }
24087 return resultobj;
24088 fail:
24089 return NULL;
24090 }
24091
24092
24093 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
24094 PyObject *resultobj;
24095 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24096 wxString *arg2 = 0 ;
24097 bool temp2 = False ;
24098 PyObject * obj0 = 0 ;
24099 PyObject * obj1 = 0 ;
24100 char *kwnames[] = {
24101 (char *) "self",(char *) "filter", NULL
24102 };
24103
24104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
24105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24106 {
24107 arg2 = wxString_in_helper(obj1);
24108 if (arg2 == NULL) SWIG_fail;
24109 temp2 = True;
24110 }
24111 {
24112 PyThreadState* __tstate = wxPyBeginAllowThreads();
24113 (arg1)->SetFilter((wxString const &)*arg2);
24114
24115 wxPyEndAllowThreads(__tstate);
24116 if (PyErr_Occurred()) SWIG_fail;
24117 }
24118 Py_INCREF(Py_None); resultobj = Py_None;
24119 {
24120 if (temp2)
24121 delete arg2;
24122 }
24123 return resultobj;
24124 fail:
24125 {
24126 if (temp2)
24127 delete arg2;
24128 }
24129 return NULL;
24130 }
24131
24132
24133 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24134 PyObject *resultobj;
24135 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24136 int result;
24137 PyObject * obj0 = 0 ;
24138 char *kwnames[] = {
24139 (char *) "self", NULL
24140 };
24141
24142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
24143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24144 {
24145 PyThreadState* __tstate = wxPyBeginAllowThreads();
24146 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
24147
24148 wxPyEndAllowThreads(__tstate);
24149 if (PyErr_Occurred()) SWIG_fail;
24150 }
24151 resultobj = PyInt_FromLong((long)result);
24152 return resultobj;
24153 fail:
24154 return NULL;
24155 }
24156
24157
24158 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
24159 PyObject *resultobj;
24160 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24161 int arg2 ;
24162 PyObject * obj0 = 0 ;
24163 char *kwnames[] = {
24164 (char *) "self",(char *) "n", NULL
24165 };
24166
24167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
24168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24169 {
24170 PyThreadState* __tstate = wxPyBeginAllowThreads();
24171 (arg1)->SetFilterIndex(arg2);
24172
24173 wxPyEndAllowThreads(__tstate);
24174 if (PyErr_Occurred()) SWIG_fail;
24175 }
24176 Py_INCREF(Py_None); resultobj = Py_None;
24177 return resultobj;
24178 fail:
24179 return NULL;
24180 }
24181
24182
24183 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
24184 PyObject *resultobj;
24185 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24186 wxTreeItemId result;
24187 PyObject * obj0 = 0 ;
24188 char *kwnames[] = {
24189 (char *) "self", NULL
24190 };
24191
24192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
24193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24194 {
24195 PyThreadState* __tstate = wxPyBeginAllowThreads();
24196 result = (arg1)->GetRootId();
24197
24198 wxPyEndAllowThreads(__tstate);
24199 if (PyErr_Occurred()) SWIG_fail;
24200 }
24201 {
24202 wxTreeItemId * resultptr;
24203 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24204 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24205 }
24206 return resultobj;
24207 fail:
24208 return NULL;
24209 }
24210
24211
24212 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24213 PyObject *resultobj;
24214 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24215 wxPyTreeCtrl *result;
24216 PyObject * obj0 = 0 ;
24217 char *kwnames[] = {
24218 (char *) "self", NULL
24219 };
24220
24221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
24222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24223 {
24224 PyThreadState* __tstate = wxPyBeginAllowThreads();
24225 result = (wxPyTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
24226
24227 wxPyEndAllowThreads(__tstate);
24228 if (PyErr_Occurred()) SWIG_fail;
24229 }
24230 {
24231 resultobj = wxPyMake_wxObject(result);
24232 }
24233 return resultobj;
24234 fail:
24235 return NULL;
24236 }
24237
24238
24239 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24240 PyObject *resultobj;
24241 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24242 wxDirFilterListCtrl *result;
24243 PyObject * obj0 = 0 ;
24244 char *kwnames[] = {
24245 (char *) "self", NULL
24246 };
24247
24248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
24249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24250 {
24251 PyThreadState* __tstate = wxPyBeginAllowThreads();
24252 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
24253
24254 wxPyEndAllowThreads(__tstate);
24255 if (PyErr_Occurred()) SWIG_fail;
24256 }
24257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
24258 return resultobj;
24259 fail:
24260 return NULL;
24261 }
24262
24263
24264 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24265 PyObject *resultobj;
24266 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24267 wxTreeItemId arg2 ;
24268 wxString *arg3 = 0 ;
24269 bool *arg4 = 0 ;
24270 wxTreeItemId result;
24271 wxTreeItemId *argp2 ;
24272 bool temp3 = False ;
24273 bool temp4 ;
24274 PyObject * obj0 = 0 ;
24275 PyObject * obj1 = 0 ;
24276 PyObject * obj2 = 0 ;
24277 char *kwnames[] = {
24278 (char *) "self",(char *) "parentId",(char *) "path", NULL
24279 };
24280
24281 arg4 = &temp4;
24282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
24283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24284 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
24285 arg2 = *argp2;
24286 {
24287 arg3 = wxString_in_helper(obj2);
24288 if (arg3 == NULL) SWIG_fail;
24289 temp3 = True;
24290 }
24291 {
24292 PyThreadState* __tstate = wxPyBeginAllowThreads();
24293 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
24294
24295 wxPyEndAllowThreads(__tstate);
24296 if (PyErr_Occurred()) SWIG_fail;
24297 }
24298 {
24299 wxTreeItemId * resultptr;
24300 resultptr = new wxTreeItemId((wxTreeItemId &) result);
24301 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
24302 }
24303 {
24304 PyObject *o = PyInt_FromLong((long) (*arg4));
24305 resultobj = t_output_helper(resultobj,o);
24306 }
24307 {
24308 if (temp3)
24309 delete arg3;
24310 }
24311 return resultobj;
24312 fail:
24313 {
24314 if (temp3)
24315 delete arg3;
24316 }
24317 return NULL;
24318 }
24319
24320
24321 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
24322 PyObject *resultobj;
24323 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24324 PyObject * obj0 = 0 ;
24325 char *kwnames[] = {
24326 (char *) "self", NULL
24327 };
24328
24329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
24330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24331 {
24332 PyThreadState* __tstate = wxPyBeginAllowThreads();
24333 (arg1)->DoResize();
24334
24335 wxPyEndAllowThreads(__tstate);
24336 if (PyErr_Occurred()) SWIG_fail;
24337 }
24338 Py_INCREF(Py_None); resultobj = Py_None;
24339 return resultobj;
24340 fail:
24341 return NULL;
24342 }
24343
24344
24345 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
24346 PyObject *resultobj;
24347 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24348 PyObject * obj0 = 0 ;
24349 char *kwnames[] = {
24350 (char *) "self", NULL
24351 };
24352
24353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
24354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24355 {
24356 PyThreadState* __tstate = wxPyBeginAllowThreads();
24357 (arg1)->ReCreateTree();
24358
24359 wxPyEndAllowThreads(__tstate);
24360 if (PyErr_Occurred()) SWIG_fail;
24361 }
24362 Py_INCREF(Py_None); resultobj = Py_None;
24363 return resultobj;
24364 fail:
24365 return NULL;
24366 }
24367
24368
24369 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
24370 PyObject *obj;
24371 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24372 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24373 Py_INCREF(obj);
24374 return Py_BuildValue((char *)"");
24375 }
24376 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24377 PyObject *resultobj;
24378 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24379 int arg2 = (int) (int)-1 ;
24380 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24381 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24382 wxSize const &arg4_defvalue = wxDefaultSize ;
24383 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24384 long arg5 = (long) 0 ;
24385 wxDirFilterListCtrl *result;
24386 wxPoint temp3 ;
24387 wxSize temp4 ;
24388 PyObject * obj0 = 0 ;
24389 PyObject * obj2 = 0 ;
24390 PyObject * obj3 = 0 ;
24391 char *kwnames[] = {
24392 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24393 };
24394
24395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24397 if (obj2) {
24398 {
24399 arg3 = &temp3;
24400 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24401 }
24402 }
24403 if (obj3) {
24404 {
24405 arg4 = &temp4;
24406 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24407 }
24408 }
24409 {
24410 PyThreadState* __tstate = wxPyBeginAllowThreads();
24411 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24412
24413 wxPyEndAllowThreads(__tstate);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24417 return resultobj;
24418 fail:
24419 return NULL;
24420 }
24421
24422
24423 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24424 PyObject *resultobj;
24425 wxDirFilterListCtrl *result;
24426 char *kwnames[] = {
24427 NULL
24428 };
24429
24430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24431 {
24432 PyThreadState* __tstate = wxPyBeginAllowThreads();
24433 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24434
24435 wxPyEndAllowThreads(__tstate);
24436 if (PyErr_Occurred()) SWIG_fail;
24437 }
24438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24439 return resultobj;
24440 fail:
24441 return NULL;
24442 }
24443
24444
24445 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24446 PyObject *resultobj;
24447 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24448 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24449 int arg3 = (int) (int)-1 ;
24450 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24451 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24452 wxSize const &arg5_defvalue = wxDefaultSize ;
24453 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24454 long arg6 = (long) 0 ;
24455 bool result;
24456 wxPoint temp4 ;
24457 wxSize temp5 ;
24458 PyObject * obj0 = 0 ;
24459 PyObject * obj1 = 0 ;
24460 PyObject * obj3 = 0 ;
24461 PyObject * obj4 = 0 ;
24462 char *kwnames[] = {
24463 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24464 };
24465
24466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24468 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24469 if (obj3) {
24470 {
24471 arg4 = &temp4;
24472 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24473 }
24474 }
24475 if (obj4) {
24476 {
24477 arg5 = &temp5;
24478 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24479 }
24480 }
24481 {
24482 PyThreadState* __tstate = wxPyBeginAllowThreads();
24483 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24484
24485 wxPyEndAllowThreads(__tstate);
24486 if (PyErr_Occurred()) SWIG_fail;
24487 }
24488 resultobj = PyInt_FromLong((long)result);
24489 return resultobj;
24490 fail:
24491 return NULL;
24492 }
24493
24494
24495 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24496 PyObject *resultobj;
24497 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24498 wxString *arg2 = 0 ;
24499 int arg3 ;
24500 bool temp2 = False ;
24501 PyObject * obj0 = 0 ;
24502 PyObject * obj1 = 0 ;
24503 char *kwnames[] = {
24504 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24505 };
24506
24507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24509 {
24510 arg2 = wxString_in_helper(obj1);
24511 if (arg2 == NULL) SWIG_fail;
24512 temp2 = True;
24513 }
24514 {
24515 PyThreadState* __tstate = wxPyBeginAllowThreads();
24516 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24517
24518 wxPyEndAllowThreads(__tstate);
24519 if (PyErr_Occurred()) SWIG_fail;
24520 }
24521 Py_INCREF(Py_None); resultobj = Py_None;
24522 {
24523 if (temp2)
24524 delete arg2;
24525 }
24526 return resultobj;
24527 fail:
24528 {
24529 if (temp2)
24530 delete arg2;
24531 }
24532 return NULL;
24533 }
24534
24535
24536 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24537 PyObject *obj;
24538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24539 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24540 Py_INCREF(obj);
24541 return Py_BuildValue((char *)"");
24542 }
24543 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24544 PyObject *resultobj;
24545 wxWindow *arg1 = (wxWindow *) 0 ;
24546 int arg2 ;
24547 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24548 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24549 wxSize const &arg4_defvalue = wxDefaultSize ;
24550 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24551 long arg5 = (long) 0 ;
24552 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24553 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24554 wxString const &arg7_defvalue = wxPyControlNameStr ;
24555 wxString *arg7 = (wxString *) &arg7_defvalue ;
24556 wxPyControl *result;
24557 wxPoint temp3 ;
24558 wxSize temp4 ;
24559 bool temp7 = False ;
24560 PyObject * obj0 = 0 ;
24561 PyObject * obj2 = 0 ;
24562 PyObject * obj3 = 0 ;
24563 PyObject * obj5 = 0 ;
24564 PyObject * obj6 = 0 ;
24565 char *kwnames[] = {
24566 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24567 };
24568
24569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24571 if (obj2) {
24572 {
24573 arg3 = &temp3;
24574 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24575 }
24576 }
24577 if (obj3) {
24578 {
24579 arg4 = &temp4;
24580 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24581 }
24582 }
24583 if (obj5) {
24584 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24585 if (arg6 == NULL) {
24586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24587 }
24588 }
24589 if (obj6) {
24590 {
24591 arg7 = wxString_in_helper(obj6);
24592 if (arg7 == NULL) SWIG_fail;
24593 temp7 = True;
24594 }
24595 }
24596 {
24597 PyThreadState* __tstate = wxPyBeginAllowThreads();
24598 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24599
24600 wxPyEndAllowThreads(__tstate);
24601 if (PyErr_Occurred()) SWIG_fail;
24602 }
24603 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24604 {
24605 if (temp7)
24606 delete arg7;
24607 }
24608 return resultobj;
24609 fail:
24610 {
24611 if (temp7)
24612 delete arg7;
24613 }
24614 return NULL;
24615 }
24616
24617
24618 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24619 PyObject *resultobj;
24620 wxPyControl *arg1 = (wxPyControl *) 0 ;
24621 PyObject *arg2 = (PyObject *) 0 ;
24622 PyObject *arg3 = (PyObject *) 0 ;
24623 PyObject * obj0 = 0 ;
24624 PyObject * obj1 = 0 ;
24625 PyObject * obj2 = 0 ;
24626 char *kwnames[] = {
24627 (char *) "self",(char *) "self",(char *) "_class", NULL
24628 };
24629
24630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24632 arg2 = obj1;
24633 arg3 = obj2;
24634 {
24635 PyThreadState* __tstate = wxPyBeginAllowThreads();
24636 (arg1)->_setCallbackInfo(arg2,arg3);
24637
24638 wxPyEndAllowThreads(__tstate);
24639 if (PyErr_Occurred()) SWIG_fail;
24640 }
24641 Py_INCREF(Py_None); resultobj = Py_None;
24642 return resultobj;
24643 fail:
24644 return NULL;
24645 }
24646
24647
24648 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24649 PyObject *resultobj;
24650 wxPyControl *arg1 = (wxPyControl *) 0 ;
24651 int arg2 ;
24652 int arg3 ;
24653 int arg4 ;
24654 int arg5 ;
24655 PyObject * obj0 = 0 ;
24656 char *kwnames[] = {
24657 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24658 };
24659
24660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24662 {
24663 PyThreadState* __tstate = wxPyBeginAllowThreads();
24664 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24665
24666 wxPyEndAllowThreads(__tstate);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 Py_INCREF(Py_None); resultobj = Py_None;
24670 return resultobj;
24671 fail:
24672 return NULL;
24673 }
24674
24675
24676 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24677 PyObject *resultobj;
24678 wxPyControl *arg1 = (wxPyControl *) 0 ;
24679 int arg2 ;
24680 int arg3 ;
24681 int arg4 ;
24682 int arg5 ;
24683 int arg6 = (int) wxSIZE_AUTO ;
24684 PyObject * obj0 = 0 ;
24685 char *kwnames[] = {
24686 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24687 };
24688
24689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24691 {
24692 PyThreadState* __tstate = wxPyBeginAllowThreads();
24693 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24694
24695 wxPyEndAllowThreads(__tstate);
24696 if (PyErr_Occurred()) SWIG_fail;
24697 }
24698 Py_INCREF(Py_None); resultobj = Py_None;
24699 return resultobj;
24700 fail:
24701 return NULL;
24702 }
24703
24704
24705 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24706 PyObject *resultobj;
24707 wxPyControl *arg1 = (wxPyControl *) 0 ;
24708 int arg2 ;
24709 int arg3 ;
24710 PyObject * obj0 = 0 ;
24711 char *kwnames[] = {
24712 (char *) "self",(char *) "width",(char *) "height", NULL
24713 };
24714
24715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24717 {
24718 PyThreadState* __tstate = wxPyBeginAllowThreads();
24719 (arg1)->base_DoSetClientSize(arg2,arg3);
24720
24721 wxPyEndAllowThreads(__tstate);
24722 if (PyErr_Occurred()) SWIG_fail;
24723 }
24724 Py_INCREF(Py_None); resultobj = Py_None;
24725 return resultobj;
24726 fail:
24727 return NULL;
24728 }
24729
24730
24731 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24732 PyObject *resultobj;
24733 wxPyControl *arg1 = (wxPyControl *) 0 ;
24734 int arg2 ;
24735 int arg3 ;
24736 PyObject * obj0 = 0 ;
24737 char *kwnames[] = {
24738 (char *) "self",(char *) "x",(char *) "y", NULL
24739 };
24740
24741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24743 {
24744 PyThreadState* __tstate = wxPyBeginAllowThreads();
24745 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24746
24747 wxPyEndAllowThreads(__tstate);
24748 if (PyErr_Occurred()) SWIG_fail;
24749 }
24750 Py_INCREF(Py_None); resultobj = Py_None;
24751 return resultobj;
24752 fail:
24753 return NULL;
24754 }
24755
24756
24757 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24758 PyObject *resultobj;
24759 wxPyControl *arg1 = (wxPyControl *) 0 ;
24760 int *arg2 = (int *) 0 ;
24761 int *arg3 = (int *) 0 ;
24762 int temp2 ;
24763 int temp3 ;
24764 PyObject * obj0 = 0 ;
24765 char *kwnames[] = {
24766 (char *) "self", NULL
24767 };
24768
24769 arg2 = &temp2;
24770 arg3 = &temp3;
24771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24773 {
24774 PyThreadState* __tstate = wxPyBeginAllowThreads();
24775 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24776
24777 wxPyEndAllowThreads(__tstate);
24778 if (PyErr_Occurred()) SWIG_fail;
24779 }
24780 Py_INCREF(Py_None); resultobj = Py_None;
24781 {
24782 PyObject *o = PyInt_FromLong((long) (*arg2));
24783 resultobj = t_output_helper(resultobj,o);
24784 }
24785 {
24786 PyObject *o = PyInt_FromLong((long) (*arg3));
24787 resultobj = t_output_helper(resultobj,o);
24788 }
24789 return resultobj;
24790 fail:
24791 return NULL;
24792 }
24793
24794
24795 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24796 PyObject *resultobj;
24797 wxPyControl *arg1 = (wxPyControl *) 0 ;
24798 int *arg2 = (int *) 0 ;
24799 int *arg3 = (int *) 0 ;
24800 int temp2 ;
24801 int temp3 ;
24802 PyObject * obj0 = 0 ;
24803 char *kwnames[] = {
24804 (char *) "self", NULL
24805 };
24806
24807 arg2 = &temp2;
24808 arg3 = &temp3;
24809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24811 {
24812 PyThreadState* __tstate = wxPyBeginAllowThreads();
24813 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24814
24815 wxPyEndAllowThreads(__tstate);
24816 if (PyErr_Occurred()) SWIG_fail;
24817 }
24818 Py_INCREF(Py_None); resultobj = Py_None;
24819 {
24820 PyObject *o = PyInt_FromLong((long) (*arg2));
24821 resultobj = t_output_helper(resultobj,o);
24822 }
24823 {
24824 PyObject *o = PyInt_FromLong((long) (*arg3));
24825 resultobj = t_output_helper(resultobj,o);
24826 }
24827 return resultobj;
24828 fail:
24829 return NULL;
24830 }
24831
24832
24833 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24834 PyObject *resultobj;
24835 wxPyControl *arg1 = (wxPyControl *) 0 ;
24836 int *arg2 = (int *) 0 ;
24837 int *arg3 = (int *) 0 ;
24838 int temp2 ;
24839 int temp3 ;
24840 PyObject * obj0 = 0 ;
24841 char *kwnames[] = {
24842 (char *) "self", NULL
24843 };
24844
24845 arg2 = &temp2;
24846 arg3 = &temp3;
24847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24849 {
24850 PyThreadState* __tstate = wxPyBeginAllowThreads();
24851 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24852
24853 wxPyEndAllowThreads(__tstate);
24854 if (PyErr_Occurred()) SWIG_fail;
24855 }
24856 Py_INCREF(Py_None); resultobj = Py_None;
24857 {
24858 PyObject *o = PyInt_FromLong((long) (*arg2));
24859 resultobj = t_output_helper(resultobj,o);
24860 }
24861 {
24862 PyObject *o = PyInt_FromLong((long) (*arg3));
24863 resultobj = t_output_helper(resultobj,o);
24864 }
24865 return resultobj;
24866 fail:
24867 return NULL;
24868 }
24869
24870
24871 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24872 PyObject *resultobj;
24873 wxPyControl *arg1 = (wxPyControl *) 0 ;
24874 wxSize result;
24875 PyObject * obj0 = 0 ;
24876 char *kwnames[] = {
24877 (char *) "self", NULL
24878 };
24879
24880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24882 {
24883 PyThreadState* __tstate = wxPyBeginAllowThreads();
24884 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24885
24886 wxPyEndAllowThreads(__tstate);
24887 if (PyErr_Occurred()) SWIG_fail;
24888 }
24889 {
24890 wxSize * resultptr;
24891 resultptr = new wxSize((wxSize &) result);
24892 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24893 }
24894 return resultobj;
24895 fail:
24896 return NULL;
24897 }
24898
24899
24900 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24901 PyObject *resultobj;
24902 wxPyControl *arg1 = (wxPyControl *) 0 ;
24903 wxSize result;
24904 PyObject * obj0 = 0 ;
24905 char *kwnames[] = {
24906 (char *) "self", NULL
24907 };
24908
24909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24911 {
24912 PyThreadState* __tstate = wxPyBeginAllowThreads();
24913 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24914
24915 wxPyEndAllowThreads(__tstate);
24916 if (PyErr_Occurred()) SWIG_fail;
24917 }
24918 {
24919 wxSize * resultptr;
24920 resultptr = new wxSize((wxSize &) result);
24921 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24922 }
24923 return resultobj;
24924 fail:
24925 return NULL;
24926 }
24927
24928
24929 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24930 PyObject *resultobj;
24931 wxPyControl *arg1 = (wxPyControl *) 0 ;
24932 PyObject * obj0 = 0 ;
24933 char *kwnames[] = {
24934 (char *) "self", NULL
24935 };
24936
24937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24939 {
24940 PyThreadState* __tstate = wxPyBeginAllowThreads();
24941 (arg1)->base_InitDialog();
24942
24943 wxPyEndAllowThreads(__tstate);
24944 if (PyErr_Occurred()) SWIG_fail;
24945 }
24946 Py_INCREF(Py_None); resultobj = Py_None;
24947 return resultobj;
24948 fail:
24949 return NULL;
24950 }
24951
24952
24953 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24954 PyObject *resultobj;
24955 wxPyControl *arg1 = (wxPyControl *) 0 ;
24956 bool result;
24957 PyObject * obj0 = 0 ;
24958 char *kwnames[] = {
24959 (char *) "self", NULL
24960 };
24961
24962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24964 {
24965 PyThreadState* __tstate = wxPyBeginAllowThreads();
24966 result = (bool)(arg1)->base_TransferDataToWindow();
24967
24968 wxPyEndAllowThreads(__tstate);
24969 if (PyErr_Occurred()) SWIG_fail;
24970 }
24971 resultobj = PyInt_FromLong((long)result);
24972 return resultobj;
24973 fail:
24974 return NULL;
24975 }
24976
24977
24978 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24979 PyObject *resultobj;
24980 wxPyControl *arg1 = (wxPyControl *) 0 ;
24981 bool result;
24982 PyObject * obj0 = 0 ;
24983 char *kwnames[] = {
24984 (char *) "self", NULL
24985 };
24986
24987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24989 {
24990 PyThreadState* __tstate = wxPyBeginAllowThreads();
24991 result = (bool)(arg1)->base_TransferDataFromWindow();
24992
24993 wxPyEndAllowThreads(__tstate);
24994 if (PyErr_Occurred()) SWIG_fail;
24995 }
24996 resultobj = PyInt_FromLong((long)result);
24997 return resultobj;
24998 fail:
24999 return NULL;
25000 }
25001
25002
25003 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
25004 PyObject *resultobj;
25005 wxPyControl *arg1 = (wxPyControl *) 0 ;
25006 bool result;
25007 PyObject * obj0 = 0 ;
25008 char *kwnames[] = {
25009 (char *) "self", NULL
25010 };
25011
25012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
25013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25014 {
25015 PyThreadState* __tstate = wxPyBeginAllowThreads();
25016 result = (bool)(arg1)->base_Validate();
25017
25018 wxPyEndAllowThreads(__tstate);
25019 if (PyErr_Occurred()) SWIG_fail;
25020 }
25021 resultobj = PyInt_FromLong((long)result);
25022 return resultobj;
25023 fail:
25024 return NULL;
25025 }
25026
25027
25028 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
25029 PyObject *resultobj;
25030 wxPyControl *arg1 = (wxPyControl *) 0 ;
25031 bool result;
25032 PyObject * obj0 = 0 ;
25033 char *kwnames[] = {
25034 (char *) "self", NULL
25035 };
25036
25037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
25038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25039 {
25040 PyThreadState* __tstate = wxPyBeginAllowThreads();
25041 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
25042
25043 wxPyEndAllowThreads(__tstate);
25044 if (PyErr_Occurred()) SWIG_fail;
25045 }
25046 resultobj = PyInt_FromLong((long)result);
25047 return resultobj;
25048 fail:
25049 return NULL;
25050 }
25051
25052
25053 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
25054 PyObject *resultobj;
25055 wxPyControl *arg1 = (wxPyControl *) 0 ;
25056 bool result;
25057 PyObject * obj0 = 0 ;
25058 char *kwnames[] = {
25059 (char *) "self", NULL
25060 };
25061
25062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
25063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25064 {
25065 PyThreadState* __tstate = wxPyBeginAllowThreads();
25066 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
25067
25068 wxPyEndAllowThreads(__tstate);
25069 if (PyErr_Occurred()) SWIG_fail;
25070 }
25071 resultobj = PyInt_FromLong((long)result);
25072 return resultobj;
25073 fail:
25074 return NULL;
25075 }
25076
25077
25078 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
25079 PyObject *resultobj;
25080 wxPyControl *arg1 = (wxPyControl *) 0 ;
25081 wxSize result;
25082 PyObject * obj0 = 0 ;
25083 char *kwnames[] = {
25084 (char *) "self", NULL
25085 };
25086
25087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
25088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25089 {
25090 PyThreadState* __tstate = wxPyBeginAllowThreads();
25091 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
25092
25093 wxPyEndAllowThreads(__tstate);
25094 if (PyErr_Occurred()) SWIG_fail;
25095 }
25096 {
25097 wxSize * resultptr;
25098 resultptr = new wxSize((wxSize &) result);
25099 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
25100 }
25101 return resultobj;
25102 fail:
25103 return NULL;
25104 }
25105
25106
25107 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25108 PyObject *resultobj;
25109 wxPyControl *arg1 = (wxPyControl *) 0 ;
25110 wxWindow *arg2 = (wxWindow *) 0 ;
25111 PyObject * obj0 = 0 ;
25112 PyObject * obj1 = 0 ;
25113 char *kwnames[] = {
25114 (char *) "self",(char *) "child", NULL
25115 };
25116
25117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
25118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25120 {
25121 PyThreadState* __tstate = wxPyBeginAllowThreads();
25122 (arg1)->base_AddChild(arg2);
25123
25124 wxPyEndAllowThreads(__tstate);
25125 if (PyErr_Occurred()) SWIG_fail;
25126 }
25127 Py_INCREF(Py_None); resultobj = Py_None;
25128 return resultobj;
25129 fail:
25130 return NULL;
25131 }
25132
25133
25134 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
25135 PyObject *resultobj;
25136 wxPyControl *arg1 = (wxPyControl *) 0 ;
25137 wxWindow *arg2 = (wxWindow *) 0 ;
25138 PyObject * obj0 = 0 ;
25139 PyObject * obj1 = 0 ;
25140 char *kwnames[] = {
25141 (char *) "self",(char *) "child", NULL
25142 };
25143
25144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
25145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25146 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25147 {
25148 PyThreadState* __tstate = wxPyBeginAllowThreads();
25149 (arg1)->base_RemoveChild(arg2);
25150
25151 wxPyEndAllowThreads(__tstate);
25152 if (PyErr_Occurred()) SWIG_fail;
25153 }
25154 Py_INCREF(Py_None); resultobj = Py_None;
25155 return resultobj;
25156 fail:
25157 return NULL;
25158 }
25159
25160
25161 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
25162 PyObject *obj;
25163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25164 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
25165 Py_INCREF(obj);
25166 return Py_BuildValue((char *)"");
25167 }
25168 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
25169 PyObject *resultobj;
25170 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
25171 int arg2 = (int) 0 ;
25172 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25173 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25174 wxHelpEvent *result;
25175 wxPoint temp3 ;
25176 PyObject * obj2 = 0 ;
25177 char *kwnames[] = {
25178 (char *) "type",(char *) "winid",(char *) "pt", NULL
25179 };
25180
25181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
25182 if (obj2) {
25183 {
25184 arg3 = &temp3;
25185 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25186 }
25187 }
25188 {
25189 PyThreadState* __tstate = wxPyBeginAllowThreads();
25190 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
25191
25192 wxPyEndAllowThreads(__tstate);
25193 if (PyErr_Occurred()) SWIG_fail;
25194 }
25195 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
25196 return resultobj;
25197 fail:
25198 return NULL;
25199 }
25200
25201
25202 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25203 PyObject *resultobj;
25204 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25205 wxPoint *result;
25206 PyObject * obj0 = 0 ;
25207 char *kwnames[] = {
25208 (char *) "self", NULL
25209 };
25210
25211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
25212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25213 {
25214 PyThreadState* __tstate = wxPyBeginAllowThreads();
25215 {
25216 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
25217 result = (wxPoint *) &_result_ref;
25218 }
25219
25220 wxPyEndAllowThreads(__tstate);
25221 if (PyErr_Occurred()) SWIG_fail;
25222 }
25223 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
25224 return resultobj;
25225 fail:
25226 return NULL;
25227 }
25228
25229
25230 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
25231 PyObject *resultobj;
25232 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25233 wxPoint *arg2 = 0 ;
25234 wxPoint temp2 ;
25235 PyObject * obj0 = 0 ;
25236 PyObject * obj1 = 0 ;
25237 char *kwnames[] = {
25238 (char *) "self",(char *) "pos", NULL
25239 };
25240
25241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
25242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25243 {
25244 arg2 = &temp2;
25245 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25246 }
25247 {
25248 PyThreadState* __tstate = wxPyBeginAllowThreads();
25249 (arg1)->SetPosition((wxPoint const &)*arg2);
25250
25251 wxPyEndAllowThreads(__tstate);
25252 if (PyErr_Occurred()) SWIG_fail;
25253 }
25254 Py_INCREF(Py_None); resultobj = Py_None;
25255 return resultobj;
25256 fail:
25257 return NULL;
25258 }
25259
25260
25261 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25262 PyObject *resultobj;
25263 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25264 wxString *result;
25265 PyObject * obj0 = 0 ;
25266 char *kwnames[] = {
25267 (char *) "self", NULL
25268 };
25269
25270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
25271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25272 {
25273 PyThreadState* __tstate = wxPyBeginAllowThreads();
25274 {
25275 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
25276 result = (wxString *) &_result_ref;
25277 }
25278
25279 wxPyEndAllowThreads(__tstate);
25280 if (PyErr_Occurred()) SWIG_fail;
25281 }
25282 {
25283 #if wxUSE_UNICODE
25284 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25285 #else
25286 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25287 #endif
25288 }
25289 return resultobj;
25290 fail:
25291 return NULL;
25292 }
25293
25294
25295 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
25296 PyObject *resultobj;
25297 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25298 wxString *arg2 = 0 ;
25299 bool temp2 = False ;
25300 PyObject * obj0 = 0 ;
25301 PyObject * obj1 = 0 ;
25302 char *kwnames[] = {
25303 (char *) "self",(char *) "link", NULL
25304 };
25305
25306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
25307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25308 {
25309 arg2 = wxString_in_helper(obj1);
25310 if (arg2 == NULL) SWIG_fail;
25311 temp2 = True;
25312 }
25313 {
25314 PyThreadState* __tstate = wxPyBeginAllowThreads();
25315 (arg1)->SetLink((wxString const &)*arg2);
25316
25317 wxPyEndAllowThreads(__tstate);
25318 if (PyErr_Occurred()) SWIG_fail;
25319 }
25320 Py_INCREF(Py_None); resultobj = Py_None;
25321 {
25322 if (temp2)
25323 delete arg2;
25324 }
25325 return resultobj;
25326 fail:
25327 {
25328 if (temp2)
25329 delete arg2;
25330 }
25331 return NULL;
25332 }
25333
25334
25335 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25336 PyObject *resultobj;
25337 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25338 wxString *result;
25339 PyObject * obj0 = 0 ;
25340 char *kwnames[] = {
25341 (char *) "self", NULL
25342 };
25343
25344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
25345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25346 {
25347 PyThreadState* __tstate = wxPyBeginAllowThreads();
25348 {
25349 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
25350 result = (wxString *) &_result_ref;
25351 }
25352
25353 wxPyEndAllowThreads(__tstate);
25354 if (PyErr_Occurred()) SWIG_fail;
25355 }
25356 {
25357 #if wxUSE_UNICODE
25358 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
25359 #else
25360 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
25361 #endif
25362 }
25363 return resultobj;
25364 fail:
25365 return NULL;
25366 }
25367
25368
25369 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
25370 PyObject *resultobj;
25371 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25372 wxString *arg2 = 0 ;
25373 bool temp2 = False ;
25374 PyObject * obj0 = 0 ;
25375 PyObject * obj1 = 0 ;
25376 char *kwnames[] = {
25377 (char *) "self",(char *) "target", NULL
25378 };
25379
25380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25382 {
25383 arg2 = wxString_in_helper(obj1);
25384 if (arg2 == NULL) SWIG_fail;
25385 temp2 = True;
25386 }
25387 {
25388 PyThreadState* __tstate = wxPyBeginAllowThreads();
25389 (arg1)->SetTarget((wxString const &)*arg2);
25390
25391 wxPyEndAllowThreads(__tstate);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 }
25394 Py_INCREF(Py_None); resultobj = Py_None;
25395 {
25396 if (temp2)
25397 delete arg2;
25398 }
25399 return resultobj;
25400 fail:
25401 {
25402 if (temp2)
25403 delete arg2;
25404 }
25405 return NULL;
25406 }
25407
25408
25409 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25410 PyObject *obj;
25411 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25412 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25413 Py_INCREF(obj);
25414 return Py_BuildValue((char *)"");
25415 }
25416 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25417 PyObject *resultobj;
25418 wxWindow *arg1 = (wxWindow *) NULL ;
25419 bool arg2 = (bool) True ;
25420 wxContextHelp *result;
25421 PyObject * obj0 = 0 ;
25422 PyObject * obj1 = 0 ;
25423 char *kwnames[] = {
25424 (char *) "window",(char *) "doNow", NULL
25425 };
25426
25427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25428 if (obj0) {
25429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25430 }
25431 if (obj1) {
25432 {
25433 arg2 = (bool) SPyObj_AsBool(obj1);
25434 if (PyErr_Occurred()) SWIG_fail;
25435 }
25436 }
25437 {
25438 PyThreadState* __tstate = wxPyBeginAllowThreads();
25439 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25440
25441 wxPyEndAllowThreads(__tstate);
25442 if (PyErr_Occurred()) SWIG_fail;
25443 }
25444 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25445 return resultobj;
25446 fail:
25447 return NULL;
25448 }
25449
25450
25451 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25452 PyObject *resultobj;
25453 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25454 PyObject * obj0 = 0 ;
25455 char *kwnames[] = {
25456 (char *) "self", NULL
25457 };
25458
25459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25461 {
25462 PyThreadState* __tstate = wxPyBeginAllowThreads();
25463 delete arg1;
25464
25465 wxPyEndAllowThreads(__tstate);
25466 if (PyErr_Occurred()) SWIG_fail;
25467 }
25468 Py_INCREF(Py_None); resultobj = Py_None;
25469 return resultobj;
25470 fail:
25471 return NULL;
25472 }
25473
25474
25475 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25476 PyObject *resultobj;
25477 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25478 wxWindow *arg2 = (wxWindow *) NULL ;
25479 bool result;
25480 PyObject * obj0 = 0 ;
25481 PyObject * obj1 = 0 ;
25482 char *kwnames[] = {
25483 (char *) "self",(char *) "window", NULL
25484 };
25485
25486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25488 if (obj1) {
25489 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25490 }
25491 {
25492 PyThreadState* __tstate = wxPyBeginAllowThreads();
25493 result = (bool)(arg1)->BeginContextHelp(arg2);
25494
25495 wxPyEndAllowThreads(__tstate);
25496 if (PyErr_Occurred()) SWIG_fail;
25497 }
25498 resultobj = PyInt_FromLong((long)result);
25499 return resultobj;
25500 fail:
25501 return NULL;
25502 }
25503
25504
25505 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25506 PyObject *resultobj;
25507 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25508 bool result;
25509 PyObject * obj0 = 0 ;
25510 char *kwnames[] = {
25511 (char *) "self", NULL
25512 };
25513
25514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25516 {
25517 PyThreadState* __tstate = wxPyBeginAllowThreads();
25518 result = (bool)(arg1)->EndContextHelp();
25519
25520 wxPyEndAllowThreads(__tstate);
25521 if (PyErr_Occurred()) SWIG_fail;
25522 }
25523 resultobj = PyInt_FromLong((long)result);
25524 return resultobj;
25525 fail:
25526 return NULL;
25527 }
25528
25529
25530 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25531 PyObject *obj;
25532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25533 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25534 Py_INCREF(obj);
25535 return Py_BuildValue((char *)"");
25536 }
25537 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25538 PyObject *resultobj;
25539 wxWindow *arg1 = (wxWindow *) 0 ;
25540 int arg2 = (int) wxID_CONTEXT_HELP ;
25541 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25542 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25543 wxSize const &arg4_defvalue = wxDefaultSize ;
25544 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25545 long arg5 = (long) wxBU_AUTODRAW ;
25546 wxContextHelpButton *result;
25547 wxPoint temp3 ;
25548 wxSize temp4 ;
25549 PyObject * obj0 = 0 ;
25550 PyObject * obj2 = 0 ;
25551 PyObject * obj3 = 0 ;
25552 char *kwnames[] = {
25553 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25554 };
25555
25556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25558 if (obj2) {
25559 {
25560 arg3 = &temp3;
25561 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25562 }
25563 }
25564 if (obj3) {
25565 {
25566 arg4 = &temp4;
25567 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25568 }
25569 }
25570 {
25571 PyThreadState* __tstate = wxPyBeginAllowThreads();
25572 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25573
25574 wxPyEndAllowThreads(__tstate);
25575 if (PyErr_Occurred()) SWIG_fail;
25576 }
25577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25578 return resultobj;
25579 fail:
25580 return NULL;
25581 }
25582
25583
25584 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25585 PyObject *obj;
25586 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25587 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25588 Py_INCREF(obj);
25589 return Py_BuildValue((char *)"");
25590 }
25591 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25592 PyObject *resultobj;
25593 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25594 wxHelpProvider *result;
25595 PyObject * obj0 = 0 ;
25596 char *kwnames[] = {
25597 (char *) "helpProvider", NULL
25598 };
25599
25600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25602 {
25603 PyThreadState* __tstate = wxPyBeginAllowThreads();
25604 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25605
25606 wxPyEndAllowThreads(__tstate);
25607 if (PyErr_Occurred()) SWIG_fail;
25608 }
25609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25610 return resultobj;
25611 fail:
25612 return NULL;
25613 }
25614
25615
25616 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25617 PyObject *resultobj;
25618 wxHelpProvider *result;
25619 char *kwnames[] = {
25620 NULL
25621 };
25622
25623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25624 {
25625 PyThreadState* __tstate = wxPyBeginAllowThreads();
25626 result = (wxHelpProvider *)wxHelpProvider::Get();
25627
25628 wxPyEndAllowThreads(__tstate);
25629 if (PyErr_Occurred()) SWIG_fail;
25630 }
25631 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25632 return resultobj;
25633 fail:
25634 return NULL;
25635 }
25636
25637
25638 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25639 PyObject *resultobj;
25640 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25641 wxWindow *arg2 = (wxWindow *) 0 ;
25642 wxString result;
25643 PyObject * obj0 = 0 ;
25644 PyObject * obj1 = 0 ;
25645 char *kwnames[] = {
25646 (char *) "self",(char *) "window", NULL
25647 };
25648
25649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25652 {
25653 PyThreadState* __tstate = wxPyBeginAllowThreads();
25654 result = (arg1)->GetHelp((wxWindow const *)arg2);
25655
25656 wxPyEndAllowThreads(__tstate);
25657 if (PyErr_Occurred()) SWIG_fail;
25658 }
25659 {
25660 #if wxUSE_UNICODE
25661 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25662 #else
25663 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25664 #endif
25665 }
25666 return resultobj;
25667 fail:
25668 return NULL;
25669 }
25670
25671
25672 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25673 PyObject *resultobj;
25674 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25675 wxWindow *arg2 = (wxWindow *) 0 ;
25676 bool result;
25677 PyObject * obj0 = 0 ;
25678 PyObject * obj1 = 0 ;
25679 char *kwnames[] = {
25680 (char *) "self",(char *) "window", NULL
25681 };
25682
25683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25686 {
25687 PyThreadState* __tstate = wxPyBeginAllowThreads();
25688 result = (bool)(arg1)->ShowHelp(arg2);
25689
25690 wxPyEndAllowThreads(__tstate);
25691 if (PyErr_Occurred()) SWIG_fail;
25692 }
25693 resultobj = PyInt_FromLong((long)result);
25694 return resultobj;
25695 fail:
25696 return NULL;
25697 }
25698
25699
25700 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25701 PyObject *resultobj;
25702 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25703 wxWindow *arg2 = (wxWindow *) 0 ;
25704 wxString *arg3 = 0 ;
25705 bool temp3 = False ;
25706 PyObject * obj0 = 0 ;
25707 PyObject * obj1 = 0 ;
25708 PyObject * obj2 = 0 ;
25709 char *kwnames[] = {
25710 (char *) "self",(char *) "window",(char *) "text", NULL
25711 };
25712
25713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25715 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25716 {
25717 arg3 = wxString_in_helper(obj2);
25718 if (arg3 == NULL) SWIG_fail;
25719 temp3 = True;
25720 }
25721 {
25722 PyThreadState* __tstate = wxPyBeginAllowThreads();
25723 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25724
25725 wxPyEndAllowThreads(__tstate);
25726 if (PyErr_Occurred()) SWIG_fail;
25727 }
25728 Py_INCREF(Py_None); resultobj = Py_None;
25729 {
25730 if (temp3)
25731 delete arg3;
25732 }
25733 return resultobj;
25734 fail:
25735 {
25736 if (temp3)
25737 delete arg3;
25738 }
25739 return NULL;
25740 }
25741
25742
25743 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25744 PyObject *resultobj;
25745 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25746 int arg2 ;
25747 wxString *arg3 = 0 ;
25748 bool temp3 = False ;
25749 PyObject * obj0 = 0 ;
25750 PyObject * obj2 = 0 ;
25751 char *kwnames[] = {
25752 (char *) "self",(char *) "id",(char *) "text", NULL
25753 };
25754
25755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25757 {
25758 arg3 = wxString_in_helper(obj2);
25759 if (arg3 == NULL) SWIG_fail;
25760 temp3 = True;
25761 }
25762 {
25763 PyThreadState* __tstate = wxPyBeginAllowThreads();
25764 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25765
25766 wxPyEndAllowThreads(__tstate);
25767 if (PyErr_Occurred()) SWIG_fail;
25768 }
25769 Py_INCREF(Py_None); resultobj = Py_None;
25770 {
25771 if (temp3)
25772 delete arg3;
25773 }
25774 return resultobj;
25775 fail:
25776 {
25777 if (temp3)
25778 delete arg3;
25779 }
25780 return NULL;
25781 }
25782
25783
25784 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25785 PyObject *resultobj;
25786 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25787 PyObject * obj0 = 0 ;
25788 char *kwnames[] = {
25789 (char *) "self", NULL
25790 };
25791
25792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25794 {
25795 PyThreadState* __tstate = wxPyBeginAllowThreads();
25796 wxHelpProvider_Destroy(arg1);
25797
25798 wxPyEndAllowThreads(__tstate);
25799 if (PyErr_Occurred()) SWIG_fail;
25800 }
25801 Py_INCREF(Py_None); resultobj = Py_None;
25802 return resultobj;
25803 fail:
25804 return NULL;
25805 }
25806
25807
25808 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25809 PyObject *obj;
25810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25811 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25812 Py_INCREF(obj);
25813 return Py_BuildValue((char *)"");
25814 }
25815 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25816 PyObject *resultobj;
25817 wxSimpleHelpProvider *result;
25818 char *kwnames[] = {
25819 NULL
25820 };
25821
25822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25823 {
25824 PyThreadState* __tstate = wxPyBeginAllowThreads();
25825 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25826
25827 wxPyEndAllowThreads(__tstate);
25828 if (PyErr_Occurred()) SWIG_fail;
25829 }
25830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25831 return resultobj;
25832 fail:
25833 return NULL;
25834 }
25835
25836
25837 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25838 PyObject *obj;
25839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25840 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25841 Py_INCREF(obj);
25842 return Py_BuildValue((char *)"");
25843 }
25844 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25845 PyObject *resultobj;
25846 wxBitmap *arg1 = 0 ;
25847 wxCursor const &arg2_defvalue = wxNullCursor ;
25848 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25849 wxGenericDragImage *result;
25850 PyObject * obj0 = 0 ;
25851 PyObject * obj1 = 0 ;
25852 char *kwnames[] = {
25853 (char *) "image",(char *) "cursor", NULL
25854 };
25855
25856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25858 if (arg1 == NULL) {
25859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25860 }
25861 if (obj1) {
25862 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25863 if (arg2 == NULL) {
25864 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25865 }
25866 }
25867 {
25868 PyThreadState* __tstate = wxPyBeginAllowThreads();
25869 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25870
25871 wxPyEndAllowThreads(__tstate);
25872 if (PyErr_Occurred()) SWIG_fail;
25873 }
25874 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25875 return resultobj;
25876 fail:
25877 return NULL;
25878 }
25879
25880
25881 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25882 PyObject *resultobj;
25883 wxIcon *arg1 = 0 ;
25884 wxCursor const &arg2_defvalue = wxNullCursor ;
25885 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25886 wxGenericDragImage *result;
25887 PyObject * obj0 = 0 ;
25888 PyObject * obj1 = 0 ;
25889 char *kwnames[] = {
25890 (char *) "image",(char *) "cursor", NULL
25891 };
25892
25893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25895 if (arg1 == NULL) {
25896 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25897 }
25898 if (obj1) {
25899 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25900 if (arg2 == NULL) {
25901 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25902 }
25903 }
25904 {
25905 PyThreadState* __tstate = wxPyBeginAllowThreads();
25906 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25907
25908 wxPyEndAllowThreads(__tstate);
25909 if (PyErr_Occurred()) SWIG_fail;
25910 }
25911 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25912 return resultobj;
25913 fail:
25914 return NULL;
25915 }
25916
25917
25918 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25919 PyObject *resultobj;
25920 wxString *arg1 = 0 ;
25921 wxCursor const &arg2_defvalue = wxNullCursor ;
25922 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25923 wxGenericDragImage *result;
25924 bool temp1 = False ;
25925 PyObject * obj0 = 0 ;
25926 PyObject * obj1 = 0 ;
25927 char *kwnames[] = {
25928 (char *) "str",(char *) "cursor", NULL
25929 };
25930
25931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25932 {
25933 arg1 = wxString_in_helper(obj0);
25934 if (arg1 == NULL) SWIG_fail;
25935 temp1 = True;
25936 }
25937 if (obj1) {
25938 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25939 if (arg2 == NULL) {
25940 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25941 }
25942 }
25943 {
25944 PyThreadState* __tstate = wxPyBeginAllowThreads();
25945 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25946
25947 wxPyEndAllowThreads(__tstate);
25948 if (PyErr_Occurred()) SWIG_fail;
25949 }
25950 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25951 {
25952 if (temp1)
25953 delete arg1;
25954 }
25955 return resultobj;
25956 fail:
25957 {
25958 if (temp1)
25959 delete arg1;
25960 }
25961 return NULL;
25962 }
25963
25964
25965 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25966 PyObject *resultobj;
25967 wxPyTreeCtrl *arg1 = 0 ;
25968 wxTreeItemId *arg2 = 0 ;
25969 wxGenericDragImage *result;
25970 PyObject * obj0 = 0 ;
25971 PyObject * obj1 = 0 ;
25972 char *kwnames[] = {
25973 (char *) "treeCtrl",(char *) "id", NULL
25974 };
25975
25976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25978 if (arg1 == NULL) {
25979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25980 }
25981 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25982 if (arg2 == NULL) {
25983 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25984 }
25985 {
25986 PyThreadState* __tstate = wxPyBeginAllowThreads();
25987 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25988
25989 wxPyEndAllowThreads(__tstate);
25990 if (PyErr_Occurred()) SWIG_fail;
25991 }
25992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25993 return resultobj;
25994 fail:
25995 return NULL;
25996 }
25997
25998
25999 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
26000 PyObject *resultobj;
26001 wxPyListCtrl *arg1 = 0 ;
26002 long arg2 ;
26003 wxGenericDragImage *result;
26004 PyObject * obj0 = 0 ;
26005 char *kwnames[] = {
26006 (char *) "listCtrl",(char *) "id", NULL
26007 };
26008
26009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
26010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26011 if (arg1 == NULL) {
26012 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26013 }
26014 {
26015 PyThreadState* __tstate = wxPyBeginAllowThreads();
26016 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
26017
26018 wxPyEndAllowThreads(__tstate);
26019 if (PyErr_Occurred()) SWIG_fail;
26020 }
26021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
26022 return resultobj;
26023 fail:
26024 return NULL;
26025 }
26026
26027
26028 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26029 PyObject *resultobj;
26030 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26031 PyObject * obj0 = 0 ;
26032 char *kwnames[] = {
26033 (char *) "self", NULL
26034 };
26035
26036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
26037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26038 {
26039 PyThreadState* __tstate = wxPyBeginAllowThreads();
26040 delete arg1;
26041
26042 wxPyEndAllowThreads(__tstate);
26043 if (PyErr_Occurred()) SWIG_fail;
26044 }
26045 Py_INCREF(Py_None); resultobj = Py_None;
26046 return resultobj;
26047 fail:
26048 return NULL;
26049 }
26050
26051
26052 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
26053 PyObject *resultobj;
26054 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26055 wxBitmap *arg2 = (wxBitmap *) 0 ;
26056 PyObject * obj0 = 0 ;
26057 PyObject * obj1 = 0 ;
26058 char *kwnames[] = {
26059 (char *) "self",(char *) "bitmap", NULL
26060 };
26061
26062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
26063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26065 {
26066 PyThreadState* __tstate = wxPyBeginAllowThreads();
26067 (arg1)->SetBackingBitmap(arg2);
26068
26069 wxPyEndAllowThreads(__tstate);
26070 if (PyErr_Occurred()) SWIG_fail;
26071 }
26072 Py_INCREF(Py_None); resultobj = Py_None;
26073 return resultobj;
26074 fail:
26075 return NULL;
26076 }
26077
26078
26079 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26080 PyObject *resultobj;
26081 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26082 wxPoint *arg2 = 0 ;
26083 wxWindow *arg3 = (wxWindow *) 0 ;
26084 bool arg4 = (bool) False ;
26085 wxRect *arg5 = (wxRect *) NULL ;
26086 bool result;
26087 wxPoint temp2 ;
26088 PyObject * obj0 = 0 ;
26089 PyObject * obj1 = 0 ;
26090 PyObject * obj2 = 0 ;
26091 PyObject * obj3 = 0 ;
26092 PyObject * obj4 = 0 ;
26093 char *kwnames[] = {
26094 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
26095 };
26096
26097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26099 {
26100 arg2 = &temp2;
26101 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26102 }
26103 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26104 if (obj3) {
26105 {
26106 arg4 = (bool) SPyObj_AsBool(obj3);
26107 if (PyErr_Occurred()) SWIG_fail;
26108 }
26109 }
26110 if (obj4) {
26111 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26112 }
26113 {
26114 PyThreadState* __tstate = wxPyBeginAllowThreads();
26115 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
26116
26117 wxPyEndAllowThreads(__tstate);
26118 if (PyErr_Occurred()) SWIG_fail;
26119 }
26120 resultobj = PyInt_FromLong((long)result);
26121 return resultobj;
26122 fail:
26123 return NULL;
26124 }
26125
26126
26127 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
26128 PyObject *resultobj;
26129 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26130 wxPoint *arg2 = 0 ;
26131 wxWindow *arg3 = (wxWindow *) 0 ;
26132 wxWindow *arg4 = (wxWindow *) 0 ;
26133 bool result;
26134 wxPoint temp2 ;
26135 PyObject * obj0 = 0 ;
26136 PyObject * obj1 = 0 ;
26137 PyObject * obj2 = 0 ;
26138 PyObject * obj3 = 0 ;
26139 char *kwnames[] = {
26140 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
26141 };
26142
26143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
26144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26145 {
26146 arg2 = &temp2;
26147 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26148 }
26149 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26150 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26151 {
26152 PyThreadState* __tstate = wxPyBeginAllowThreads();
26153 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
26154
26155 wxPyEndAllowThreads(__tstate);
26156 if (PyErr_Occurred()) SWIG_fail;
26157 }
26158 resultobj = PyInt_FromLong((long)result);
26159 return resultobj;
26160 fail:
26161 return NULL;
26162 }
26163
26164
26165 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
26166 PyObject *resultobj;
26167 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26168 bool result;
26169 PyObject * obj0 = 0 ;
26170 char *kwnames[] = {
26171 (char *) "self", NULL
26172 };
26173
26174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
26175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26176 {
26177 PyThreadState* __tstate = wxPyBeginAllowThreads();
26178 result = (bool)(arg1)->EndDrag();
26179
26180 wxPyEndAllowThreads(__tstate);
26181 if (PyErr_Occurred()) SWIG_fail;
26182 }
26183 resultobj = PyInt_FromLong((long)result);
26184 return resultobj;
26185 fail:
26186 return NULL;
26187 }
26188
26189
26190 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
26191 PyObject *resultobj;
26192 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26193 wxPoint *arg2 = 0 ;
26194 bool result;
26195 wxPoint temp2 ;
26196 PyObject * obj0 = 0 ;
26197 PyObject * obj1 = 0 ;
26198 char *kwnames[] = {
26199 (char *) "self",(char *) "pt", NULL
26200 };
26201
26202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
26203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26204 {
26205 arg2 = &temp2;
26206 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26207 }
26208 {
26209 PyThreadState* __tstate = wxPyBeginAllowThreads();
26210 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
26211
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
26215 resultobj = PyInt_FromLong((long)result);
26216 return resultobj;
26217 fail:
26218 return NULL;
26219 }
26220
26221
26222 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
26223 PyObject *resultobj;
26224 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26225 bool result;
26226 PyObject * obj0 = 0 ;
26227 char *kwnames[] = {
26228 (char *) "self", NULL
26229 };
26230
26231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
26232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26233 {
26234 PyThreadState* __tstate = wxPyBeginAllowThreads();
26235 result = (bool)(arg1)->Show();
26236
26237 wxPyEndAllowThreads(__tstate);
26238 if (PyErr_Occurred()) SWIG_fail;
26239 }
26240 resultobj = PyInt_FromLong((long)result);
26241 return resultobj;
26242 fail:
26243 return NULL;
26244 }
26245
26246
26247 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
26248 PyObject *resultobj;
26249 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26250 bool result;
26251 PyObject * obj0 = 0 ;
26252 char *kwnames[] = {
26253 (char *) "self", NULL
26254 };
26255
26256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
26257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26258 {
26259 PyThreadState* __tstate = wxPyBeginAllowThreads();
26260 result = (bool)(arg1)->Hide();
26261
26262 wxPyEndAllowThreads(__tstate);
26263 if (PyErr_Occurred()) SWIG_fail;
26264 }
26265 resultobj = PyInt_FromLong((long)result);
26266 return resultobj;
26267 fail:
26268 return NULL;
26269 }
26270
26271
26272 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
26273 PyObject *resultobj;
26274 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26275 wxPoint *arg2 = 0 ;
26276 wxRect result;
26277 wxPoint temp2 ;
26278 PyObject * obj0 = 0 ;
26279 PyObject * obj1 = 0 ;
26280 char *kwnames[] = {
26281 (char *) "self",(char *) "pos", NULL
26282 };
26283
26284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
26285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26286 {
26287 arg2 = &temp2;
26288 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26289 }
26290 {
26291 PyThreadState* __tstate = wxPyBeginAllowThreads();
26292 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
26293
26294 wxPyEndAllowThreads(__tstate);
26295 if (PyErr_Occurred()) SWIG_fail;
26296 }
26297 {
26298 wxRect * resultptr;
26299 resultptr = new wxRect((wxRect &) result);
26300 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
26301 }
26302 return resultobj;
26303 fail:
26304 return NULL;
26305 }
26306
26307
26308 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26309 PyObject *resultobj;
26310 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26311 wxDC *arg2 = 0 ;
26312 wxPoint *arg3 = 0 ;
26313 bool result;
26314 wxPoint temp3 ;
26315 PyObject * obj0 = 0 ;
26316 PyObject * obj1 = 0 ;
26317 PyObject * obj2 = 0 ;
26318 char *kwnames[] = {
26319 (char *) "self",(char *) "dc",(char *) "pos", NULL
26320 };
26321
26322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
26323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26324 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26325 if (arg2 == NULL) {
26326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26327 }
26328 {
26329 arg3 = &temp3;
26330 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26331 }
26332 {
26333 PyThreadState* __tstate = wxPyBeginAllowThreads();
26334 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
26335
26336 wxPyEndAllowThreads(__tstate);
26337 if (PyErr_Occurred()) SWIG_fail;
26338 }
26339 resultobj = PyInt_FromLong((long)result);
26340 return resultobj;
26341 fail:
26342 return NULL;
26343 }
26344
26345
26346 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26347 PyObject *resultobj;
26348 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26349 wxDC *arg2 = 0 ;
26350 wxMemoryDC *arg3 = 0 ;
26351 wxRect *arg4 = 0 ;
26352 wxRect *arg5 = 0 ;
26353 bool result;
26354 wxRect temp4 ;
26355 wxRect temp5 ;
26356 PyObject * obj0 = 0 ;
26357 PyObject * obj1 = 0 ;
26358 PyObject * obj2 = 0 ;
26359 PyObject * obj3 = 0 ;
26360 PyObject * obj4 = 0 ;
26361 char *kwnames[] = {
26362 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
26363 };
26364
26365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26368 if (arg2 == NULL) {
26369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26370 }
26371 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26372 if (arg3 == NULL) {
26373 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
26374 }
26375 {
26376 arg4 = &temp4;
26377 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26378 }
26379 {
26380 arg5 = &temp5;
26381 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26382 }
26383 {
26384 PyThreadState* __tstate = wxPyBeginAllowThreads();
26385 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26386
26387 wxPyEndAllowThreads(__tstate);
26388 if (PyErr_Occurred()) SWIG_fail;
26389 }
26390 resultobj = PyInt_FromLong((long)result);
26391 return resultobj;
26392 fail:
26393 return NULL;
26394 }
26395
26396
26397 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26398 PyObject *resultobj;
26399 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26400 wxPoint *arg2 = 0 ;
26401 wxPoint *arg3 = 0 ;
26402 bool arg4 ;
26403 bool arg5 ;
26404 bool result;
26405 wxPoint temp2 ;
26406 wxPoint temp3 ;
26407 PyObject * obj0 = 0 ;
26408 PyObject * obj1 = 0 ;
26409 PyObject * obj2 = 0 ;
26410 PyObject * obj3 = 0 ;
26411 PyObject * obj4 = 0 ;
26412 char *kwnames[] = {
26413 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26414 };
26415
26416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26418 {
26419 arg2 = &temp2;
26420 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26421 }
26422 {
26423 arg3 = &temp3;
26424 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26425 }
26426 {
26427 arg4 = (bool) SPyObj_AsBool(obj3);
26428 if (PyErr_Occurred()) SWIG_fail;
26429 }
26430 {
26431 arg5 = (bool) SPyObj_AsBool(obj4);
26432 if (PyErr_Occurred()) SWIG_fail;
26433 }
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26437
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
26441 resultobj = PyInt_FromLong((long)result);
26442 return resultobj;
26443 fail:
26444 return NULL;
26445 }
26446
26447
26448 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26449 PyObject *obj;
26450 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26451 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26452 Py_INCREF(obj);
26453 return Py_BuildValue((char *)"");
26454 }
26455 static PyMethodDef SwigMethods[] = {
26456 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26462 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26477 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26488 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26497 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26515 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26528 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26532 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26538 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26542 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26549 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26568 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26576 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26577 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26605 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26658 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26663 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26674 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26686 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26697 { (char *)"new_SpinEvent", (PyCFunction) _wrap_new_SpinEvent, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"SpinEvent_GetPosition", (PyCFunction) _wrap_SpinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"SpinEvent_SetPosition", (PyCFunction) _wrap_SpinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister, METH_VARARGS },
26701 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26718 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26724 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26749 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26752 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26772 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26778 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26787 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26789 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26794 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26796 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26801 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26806 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26836 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26843 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26848 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26850 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26858 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26860 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26878 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
26879 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26880 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26881 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26882 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26883 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26884 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26885 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26886 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26887 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26888 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26889 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26890 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26891 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26892 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26893 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26894 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26895 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26896 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26897 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26898 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26899 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26900 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26901 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26902 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26903 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26904 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26905 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26906 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26907 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26908 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26909 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26910 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26911 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26912 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26913 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26914 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26915 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26916 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26917 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26918 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26919 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26920 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26921 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26922 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26923 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26924 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26925 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26926 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26927 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26928 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26929 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26930 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26931 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26932 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26933 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26934 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26935 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26936 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26937 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26938 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26939 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26940 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26941 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26942 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26943 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26944 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26945 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26946 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26947 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26948 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26949 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26950 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26951 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26952 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26953 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26954 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26955 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26956 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26957 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26958 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26959 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26960 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26961 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26962 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26963 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26964 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26965 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26966 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26967 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26968 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26969 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26970 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26971 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26972 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26973 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26974 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26975 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26976 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26977 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26978 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26979 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26980 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26981 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26982 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26983 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26984 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26985 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26986 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26987 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26988 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26989 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26990 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26991 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26992 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26993 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26994 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26995 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26996 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26997 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26998 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26999 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
27000 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
27001 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
27002 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
27003 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
27004 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
27005 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
27006 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
27007 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
27008 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
27009 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
27010 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
27011 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
27012 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
27013 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27014 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27015 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27016 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
27017 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
27018 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
27019 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
27020 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
27021 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27022 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
27023 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
27024 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
27025 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27026 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27027 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
27028 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
27029 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
27030 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27031 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27032 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
27033 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
27034 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
27035 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
27036 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
27037 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
27038 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
27039 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27040 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27041 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27042 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27043 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
27044 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
27045 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
27046 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
27047 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
27048 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
27049 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
27050 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
27051 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
27052 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
27053 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
27054 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
27055 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
27056 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
27057 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
27058 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27059 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
27060 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
27061 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
27062 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
27063 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
27064 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
27065 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
27066 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
27067 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
27068 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
27069 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
27070 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
27071 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
27072 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
27073 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
27074 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
27075 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
27076 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
27077 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
27078 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
27079 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
27080 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27081 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
27082 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
27083 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
27084 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
27085 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
27086 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
27087 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
27088 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
27089 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
27090 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27091 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27092 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27093 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
27094 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
27095 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
27096 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
27097 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
27098 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
27099 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
27100 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
27101 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
27102 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
27103 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
27104 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
27105 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
27106 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
27107 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
27108 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27109 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27110 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
27111 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
27112 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
27113 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
27114 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
27115 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27116 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
27117 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
27118 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
27119 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
27120 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
27121 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
27122 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
27123 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
27124 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
27125 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
27126 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
27127 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
27128 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
27129 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
27130 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
27131 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
27132 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
27133 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
27134 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
27135 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
27136 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
27137 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
27138 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
27139 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
27140 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
27141 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
27142 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
27143 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
27144 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
27145 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
27146 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
27147 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
27148 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
27149 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
27150 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
27151 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
27152 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
27153 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
27154 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
27155 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
27156 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
27157 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
27158 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
27159 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
27160 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
27161 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27162 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
27163 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27164 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
27165 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27166 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
27167 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
27168 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
27169 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
27170 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
27171 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
27172 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
27173 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
27174 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27175 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
27176 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
27177 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
27178 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27179 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
27180 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
27181 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
27182 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
27183 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27184 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
27185 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
27186 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
27187 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
27188 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
27189 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
27190 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
27191 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
27192 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
27193 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27194 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
27195 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
27196 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
27197 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
27198 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
27199 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
27200 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
27201 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
27202 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
27203 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
27204 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
27205 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
27206 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
27207 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
27208 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
27209 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
27210 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
27211 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
27212 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
27213 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
27214 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
27215 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
27216 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
27217 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27218 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
27219 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
27220 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
27221 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
27222 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
27223 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
27224 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
27225 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
27226 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
27227 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
27228 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
27229 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
27230 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
27231 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
27232 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
27233 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
27234 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
27235 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
27236 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
27237 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
27238 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
27239 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
27240 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
27241 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
27242 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
27243 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
27244 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
27245 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
27246 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
27247 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
27248 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
27249 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
27250 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
27251 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
27252 { NULL, NULL }
27253 };
27254
27255
27256 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
27257
27258 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
27259 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27260 }
27261 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
27262 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
27263 }
27264 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
27265 return (void *)((wxSizer *) ((wxBoxSizer *) x));
27266 }
27267 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
27268 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
27269 }
27270 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
27271 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27272 }
27273 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
27274 return (void *)((wxSizer *) ((wxGridSizer *) x));
27275 }
27276 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
27277 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
27278 }
27279 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
27280 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
27281 }
27282 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
27283 return (void *)((wxSizer *) ((wxPySizer *) x));
27284 }
27285 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
27286 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
27287 }
27288 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
27289 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
27290 }
27291 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
27292 return (void *)((wxEvent *) ((wxMenuEvent *) x));
27293 }
27294 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
27295 return (void *)((wxEvent *) ((wxCloseEvent *) x));
27296 }
27297 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
27298 return (void *)((wxEvent *) ((wxMouseEvent *) x));
27299 }
27300 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
27301 return (void *)((wxEvent *) ((wxEraseEvent *) x));
27302 }
27303 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
27304 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27305 }
27306 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
27307 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
27308 }
27309 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
27310 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
27311 }
27312 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
27313 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
27314 }
27315 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
27316 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
27317 }
27318 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
27319 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27320 }
27321 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
27322 return (void *)((wxEvent *) ((wxPyEvent *) x));
27323 }
27324 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
27325 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
27326 }
27327 static void *_p_wxListEventTo_p_wxEvent(void *x) {
27328 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27329 }
27330 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
27331 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27332 }
27333 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
27334 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27335 }
27336 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
27337 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
27338 }
27339 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
27340 return (void *)((wxEvent *) ((wxIdleEvent *) x));
27341 }
27342 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
27343 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
27344 }
27345 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
27346 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
27347 }
27348 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
27349 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
27350 }
27351 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
27352 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
27353 }
27354 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
27355 return (void *)((wxEvent *) ((wxActivateEvent *) x));
27356 }
27357 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
27358 return (void *)((wxEvent *) ((wxSizeEvent *) x));
27359 }
27360 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
27361 return (void *)((wxEvent *) ((wxMoveEvent *) x));
27362 }
27363 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
27364 return (void *)((wxEvent *) ((wxPaintEvent *) x));
27365 }
27366 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
27367 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
27368 }
27369 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
27370 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
27371 }
27372 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
27373 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27374 }
27375 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27376 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27377 }
27378 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27379 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27380 }
27381 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27382 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27383 }
27384 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27385 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27386 }
27387 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27388 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27389 }
27390 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27391 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27392 }
27393 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27394 return (void *)((wxEvent *) ((wxShowEvent *) x));
27395 }
27396 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27397 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27398 }
27399 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27400 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27401 }
27402 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27403 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27404 }
27405 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27406 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27407 }
27408 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27409 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27410 }
27411 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27412 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27413 }
27414 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
27415 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
27416 }
27417 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27418 return (void *)((wxItemContainer *) ((wxComboBox *) x));
27419 }
27420 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27421 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27422 }
27423 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27424 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27425 }
27426 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27427 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27428 }
27429 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27430 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27431 }
27432 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27433 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27434 }
27435 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27436 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27437 }
27438 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27439 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27440 }
27441 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27442 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27443 }
27444 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27445 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27446 }
27447 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27448 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27449 }
27450 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27451 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27452 }
27453 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27454 return (void *)((wxControl *) ((wxComboBox *) x));
27455 }
27456 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27457 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27458 }
27459 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27460 return (void *)((wxControl *) ((wxStaticBox *) x));
27461 }
27462 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27463 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27464 }
27465 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27466 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27467 }
27468 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27469 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27470 }
27471 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27472 return (void *)((wxControl *) ((wxScrollBar *) x));
27473 }
27474 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27475 return (void *)((wxControl *) ((wxBookCtrl *) x));
27476 }
27477 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27478 return (void *)((wxControl *) ((wxRadioButton *) x));
27479 }
27480 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27481 return (void *)((wxControl *) ((wxToggleButton *) x));
27482 }
27483 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27484 return (void *)((wxControl *) ((wxGauge *) x));
27485 }
27486 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27487 return (void *)((wxControl *) ((wxToolBarBase *) x));
27488 }
27489 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27490 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27491 }
27492 static void *_p_wxButtonTo_p_wxControl(void *x) {
27493 return (void *)((wxControl *) ((wxButton *) x));
27494 }
27495 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27496 return (void *)((wxControl *) ((wxSpinButton *) x));
27497 }
27498 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27499 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27500 }
27501 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27502 return (void *)((wxControl *) ((wxControlWithItems *) x));
27503 }
27504 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27505 return (void *)((wxControl *) ((wxRadioBox *) x));
27506 }
27507 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27508 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27509 }
27510 static void *_p_wxListbookTo_p_wxControl(void *x) {
27511 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27512 }
27513 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27514 return (void *)((wxControl *) ((wxCheckBox *) x));
27515 }
27516 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27517 return (void *)((wxControl *) ((wxTextCtrl *) x));
27518 }
27519 static void *_p_wxListViewTo_p_wxControl(void *x) {
27520 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27521 }
27522 static void *_p_wxSliderTo_p_wxControl(void *x) {
27523 return (void *)((wxControl *) ((wxSlider *) x));
27524 }
27525 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27526 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27527 }
27528 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27529 return (void *)((wxControl *) ((wxPyControl *) x));
27530 }
27531 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27532 return (void *)((wxControl *) ((wxStaticLine *) x));
27533 }
27534 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27535 return (void *)((wxControl *) ((wxStaticText *) x));
27536 }
27537 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27538 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27539 }
27540 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27541 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27542 }
27543 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27544 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27545 }
27546 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27547 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27548 }
27549 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27550 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27551 }
27552 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x) {
27553 return (void *)((wxNotifyEvent *) ((wxSpinEvent *) x));
27554 }
27555 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27556 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27557 }
27558 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27559 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27560 }
27561 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27562 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27563 }
27564 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27565 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27566 }
27567 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27568 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27569 }
27570 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27571 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27572 }
27573 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27574 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27575 }
27576 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27577 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27578 }
27579 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27580 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27581 }
27582 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27583 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27584 }
27585 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27586 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27587 }
27588 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27589 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27590 }
27591 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27592 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27593 }
27594 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27595 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27596 }
27597 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27598 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
27599 }
27600 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27601 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27602 }
27603 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27604 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27605 }
27606 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27607 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27608 }
27609 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27610 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27611 }
27612 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27613 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27614 }
27615 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27616 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27617 }
27618 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27619 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27620 }
27621 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27622 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27623 }
27624 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27625 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27626 }
27627 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27628 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27629 }
27630 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27631 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27632 }
27633 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27634 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27635 }
27636 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27637 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27638 }
27639 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27640 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27641 }
27642 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27643 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27644 }
27645 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27646 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27647 }
27648 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27649 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27650 }
27651 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27652 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27653 }
27654 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27655 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27656 }
27657 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27658 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27659 }
27660 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27661 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27662 }
27663 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27664 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27665 }
27666 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27667 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27668 }
27669 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27670 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27671 }
27672 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27673 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27674 }
27675 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27676 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27677 }
27678 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27679 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27680 }
27681 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27682 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27683 }
27684 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27685 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27686 }
27687 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27688 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27689 }
27690 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27691 return (void *)((wxButton *) ((wxBitmapButton *) x));
27692 }
27693 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27694 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27695 }
27696 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27697 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27698 }
27699 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27700 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27701 }
27702 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27703 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27704 }
27705 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27706 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27707 }
27708 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27709 return (void *)((wxObject *) ((wxSizerItem *) x));
27710 }
27711 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27712 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27713 }
27714 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27715 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27716 }
27717 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27718 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27719 }
27720 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27721 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27722 }
27723 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27724 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27725 }
27726 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27727 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27728 }
27729 static void *_p_wxSizerTo_p_wxObject(void *x) {
27730 return (void *)((wxObject *) ((wxSizer *) x));
27731 }
27732 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27733 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27734 }
27735 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27737 }
27738 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27740 }
27741 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27742 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27743 }
27744 static void *_p_wxEventTo_p_wxObject(void *x) {
27745 return (void *)((wxObject *) ((wxEvent *) x));
27746 }
27747 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27748 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27749 }
27750 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27751 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27752 }
27753 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27754 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27755 }
27756 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27758 }
27759 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27761 }
27762 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27764 }
27765 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27766 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27767 }
27768 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27769 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27770 }
27771 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27772 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27773 }
27774 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27775 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27776 }
27777 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27778 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27779 }
27780 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27781 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27782 }
27783 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27785 }
27786 static void *_p_wxControlTo_p_wxObject(void *x) {
27787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27788 }
27789 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27791 }
27792 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27794 }
27795 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27797 }
27798 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27800 }
27801 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27803 }
27804 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27805 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27806 }
27807 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27809 }
27810 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27811 return (void *)((wxObject *) ((wxFSFile *) x));
27812 }
27813 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27814 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27815 }
27816 static void *_p_wxListViewTo_p_wxObject(void *x) {
27817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27818 }
27819 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27821 }
27822 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27824 }
27825 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27826 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27827 }
27828 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27829 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27830 }
27831 static void *_p_wxListbookTo_p_wxObject(void *x) {
27832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27833 }
27834 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27835 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27836 }
27837 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27839 }
27840 static void *_p_wxSliderTo_p_wxObject(void *x) {
27841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27842 }
27843 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27844 return (void *)((wxObject *) ((wxMenuItem *) x));
27845 }
27846 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27847 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27848 }
27849 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27850 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27851 }
27852 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27853 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27854 }
27855 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27856 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27857 }
27858 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27859 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27860 }
27861 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27862 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27863 }
27864 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27865 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27866 }
27867 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27868 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27869 }
27870 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27872 }
27873 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27874 return (void *)((wxObject *) ((wxContextHelp *) x));
27875 }
27876 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27877 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27878 }
27879 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27880 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27881 }
27882 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27883 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27884 }
27885 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27886 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27887 }
27888 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27889 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27890 }
27891 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27892 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27893 }
27894 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27895 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27896 }
27897 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27898 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27899 }
27900 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27901 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27902 }
27903 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27904 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27905 }
27906 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27907 return (void *)((wxObject *) ((wxImageHandler *) x));
27908 }
27909 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27910 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27911 }
27912 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27913 return (void *)((wxObject *) ((wxEvtHandler *) x));
27914 }
27915 static void *_p_wxListEventTo_p_wxObject(void *x) {
27916 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27917 }
27918 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27920 }
27921 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27923 }
27924 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27926 }
27927 static void *_p_wxButtonTo_p_wxObject(void *x) {
27928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27929 }
27930 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27932 }
27933 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27935 }
27936 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27938 }
27939 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27940 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27941 }
27942 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27944 }
27945 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27947 }
27948 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27950 }
27951 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27952 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27953 }
27954 static void *_p_wxListItemTo_p_wxObject(void *x) {
27955 return (void *)((wxObject *) ((wxListItem *) x));
27956 }
27957 static void *_p_wxImageTo_p_wxObject(void *x) {
27958 return (void *)((wxObject *) ((wxImage *) x));
27959 }
27960 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27961 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27962 }
27963 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27964 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27965 }
27966 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
27967 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
27968 }
27969 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27970 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27971 }
27972 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27974 }
27975 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27976 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27977 }
27978 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27979 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27980 }
27981 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27982 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27983 }
27984 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27985 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27986 }
27987 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27988 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27989 }
27990 static void *_p_wxWindowTo_p_wxObject(void *x) {
27991 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27992 }
27993 static void *_p_wxMenuTo_p_wxObject(void *x) {
27994 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27995 }
27996 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27998 }
27999 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
28000 return (void *)((wxObject *) ((wxFileSystem *) x));
28001 }
28002 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
28003 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
28004 }
28005 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
28006 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
28007 }
28008 static void *_p_wxPyAppTo_p_wxObject(void *x) {
28009 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
28010 }
28011 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
28012 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
28013 }
28014 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
28015 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
28016 }
28017 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
28018 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
28019 }
28020 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
28021 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
28022 }
28023 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
28024 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
28025 }
28026 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
28027 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
28028 }
28029 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
28030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
28031 }
28032 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
28033 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
28034 }
28035 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
28036 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
28037 }
28038 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
28039 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
28040 }
28041 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
28042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
28043 }
28044 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
28045 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
28046 }
28047 static void *_p_wxToolBarTo_p_wxObject(void *x) {
28048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28049 }
28050 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
28051 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
28052 }
28053 static void *_p_wxValidatorTo_p_wxObject(void *x) {
28054 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
28055 }
28056 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
28057 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
28058 }
28059 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
28060 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
28061 }
28062 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
28063 return (void *)((wxWindow *) ((wxMenuBar *) x));
28064 }
28065 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
28066 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
28067 }
28068 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
28069 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
28070 }
28071 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
28072 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
28073 }
28074 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
28075 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
28076 }
28077 static void *_p_wxControlTo_p_wxWindow(void *x) {
28078 return (void *)((wxWindow *) ((wxControl *) x));
28079 }
28080 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
28081 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
28082 }
28083 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
28084 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
28085 }
28086 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
28087 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
28088 }
28089 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
28090 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
28091 }
28092 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
28093 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
28094 }
28095 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
28096 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
28097 }
28098 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
28099 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
28100 }
28101 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
28102 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
28103 }
28104 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
28105 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
28106 }
28107 static void *_p_wxListbookTo_p_wxWindow(void *x) {
28108 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
28109 }
28110 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
28111 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
28112 }
28113 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
28114 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
28115 }
28116 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
28117 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
28118 }
28119 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
28120 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
28121 }
28122 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
28123 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
28124 }
28125 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
28126 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
28127 }
28128 static void *_p_wxListViewTo_p_wxWindow(void *x) {
28129 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
28130 }
28131 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
28132 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
28133 }
28134 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
28135 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
28136 }
28137 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
28138 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
28139 }
28140 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
28141 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
28142 }
28143 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
28144 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
28145 }
28146 static void *_p_wxSliderTo_p_wxWindow(void *x) {
28147 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
28148 }
28149 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
28150 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
28151 }
28152 static void *_p_wxButtonTo_p_wxWindow(void *x) {
28153 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
28154 }
28155 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
28156 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
28157 }
28158 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
28159 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
28160 }
28161 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
28162 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
28163 }
28164 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
28165 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
28166 }
28167 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
28168 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
28169 }
28170 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
28171 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
28172 }
28173 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
28174 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
28175 }
28176 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
28177 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
28178 }
28179 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
28180 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
28181 }
28182 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
28183 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
28184 }
28185 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
28186 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
28187 }
28188 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
28189 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
28190 }
28191 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
28192 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
28193 }
28194 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
28195 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
28196 }
28197 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
28198 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
28199 }
28200 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
28201 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
28202 }
28203 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
28204 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
28205 }
28206 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
28207 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
28208 }
28209 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
28210 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
28211 }
28212 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
28213 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
28214 }
28215 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
28216 return (void *)((wxControlWithItems *) ((wxChoice *) x));
28217 }
28218 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
28219 return (void *)((wxControlWithItems *) ((wxListBox *) x));
28220 }
28221 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
28222 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
28223 }
28224 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
28225 return (void *)((wxValidator *) ((wxPyValidator *) x));
28226 }
28227 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
28228 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}};
28229 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}};
28230 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
28231 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
28232 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
28233 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
28234 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}};
28235 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
28236 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
28237 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
28238 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}};
28239 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
28240 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
28241 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
28242 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}};
28243 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
28244 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
28245 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
28246 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
28247 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
28248 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
28249 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
28250 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
28251 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
28252 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
28253 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
28254 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
28255 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
28256 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
28257 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
28258 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
28259 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}};
28260 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
28261 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
28262 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
28263 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
28264 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
28265 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
28266 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
28267 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
28268 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}};
28269 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
28270 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
28271 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
28272 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}};
28273 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
28274 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}};
28275 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
28276 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
28277 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
28278 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
28279 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
28280 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
28281 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
28282 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
28283 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
28284 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
28285 static swig_type_info _swigt__p_wxSpinEvent[] = {{"_p_wxSpinEvent", 0, "wxSpinEvent *", 0},{"_p_wxSpinEvent"},{0}};
28286 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
28287 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
28288 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
28289 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
28290 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
28291 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
28292 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
28293 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
28294 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
28295 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}};
28296 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
28297 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
28298 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}};
28299 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
28300 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
28301 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
28302 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
28303 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}};
28304 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
28305 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}};
28306 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
28307 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
28308 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
28309 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
28310 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
28311
28312 static swig_type_info *swig_types_initial[] = {
28313 _swigt__p_wxTextUrlEvent,
28314 _swigt__p_wxBookCtrlEvent,
28315 _swigt__p_wxSizer,
28316 _swigt__p_wxTreeItemIdValue,
28317 _swigt__wxTreeItemIdValue,
28318 _swigt__p_wxCheckBox,
28319 _swigt__p_wxPyTreeCtrl,
28320 _swigt__p_wxEvent,
28321 _swigt__p_wxGenericDirCtrl,
28322 _swigt__p_bool,
28323 _swigt__p_wxPyTreeItemData,
28324 _swigt__p_wxItemContainer,
28325 _swigt__p_wxDirFilterListCtrl,
28326 _swigt__p_wxPyListCtrl,
28327 _swigt__p_wxStaticLine,
28328 _swigt__p_wxControl,
28329 _swigt__p_wxPyControl,
28330 _swigt__p_wxGauge,
28331 _swigt__p_wxToolBarBase,
28332 _swigt__p_wxFont,
28333 _swigt__p_wxToggleButton,
28334 _swigt__p_wxRadioButton,
28335 _swigt__p_wxChoice,
28336 _swigt__p_wxMemoryDC,
28337 _swigt__p_wxListItemAttr,
28338 _swigt__p_int,
28339 _swigt__p_wxSize,
28340 _swigt__p_wxDC,
28341 _swigt__p_wxListView,
28342 _swigt__p_wxIcon,
28343 _swigt__p_wxTextCtrl,
28344 _swigt__p_wxNotebook,
28345 _swigt__p_wxNotifyEvent,
28346 _swigt__p_wxArrayString,
28347 _swigt__p_wxListbook,
28348 _swigt__p_wxStaticBitmap,
28349 _swigt__p_wxSlider,
28350 _swigt__p_wxStaticBox,
28351 _swigt__p_wxArrayInt,
28352 _swigt__p_wxContextHelp,
28353 _swigt__p_long,
28354 _swigt__p_wxEvtHandler,
28355 _swigt__p_wxListEvent,
28356 _swigt__p_wxListBox,
28357 _swigt__p_wxCheckListBox,
28358 _swigt__p_wxBookCtrl,
28359 _swigt__p_wxSpinButton,
28360 _swigt__p_wxButton,
28361 _swigt__p_wxBitmapButton,
28362 _swigt__p_wxRect,
28363 _swigt__p_wxContextHelpButton,
28364 _swigt__p_wxRadioBox,
28365 _swigt__p_wxScrollBar,
28366 _swigt__p_wxTreeItemId,
28367 _swigt__p_wxComboBox,
28368 _swigt__p_wxHelpEvent,
28369 _swigt__p_wxListItem,
28370 _swigt__p_wxNotebookSizer,
28371 _swigt__p_wxSpinEvent,
28372 _swigt__p_wxGenericDragImage,
28373 _swigt__p_wxSpinCtrl,
28374 _swigt__p_wxImageList,
28375 _swigt__p_wxHelpProvider,
28376 _swigt__p_wxTextAttr,
28377 _swigt__p_wxSimpleHelpProvider,
28378 _swigt__p_wxPoint,
28379 _swigt__p_wxListbookEvent,
28380 _swigt__p_wxNotebookEvent,
28381 _swigt__p_wxObject,
28382 _swigt__p_wxCursor,
28383 _swigt__p_wxKeyEvent,
28384 _swigt__p_wxWindow,
28385 _swigt__p_wxString,
28386 _swigt__p_wxBitmap,
28387 _swigt__p_wxTreeEvent,
28388 _swigt__p_wxMouseEvent,
28389 _swigt__p_wxCommandEvent,
28390 _swigt__p_wxStaticText,
28391 _swigt__p_wxControlWithItems,
28392 _swigt__p_wxToolBarToolBase,
28393 _swigt__p_wxColour,
28394 _swigt__p_wxToolBar,
28395 _swigt__p_wxBookCtrlSizer,
28396 _swigt__p_wxValidator,
28397 0
28398 };
28399
28400
28401 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28402
28403 static swig_const_info swig_const_table[] = {
28404 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28405 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28406 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28407 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28408 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28409 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28410 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28411 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28412 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28413 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28414 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28415 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28416 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28417 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28418 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28419 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28420 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28421 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28422 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28423 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28424 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28425 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28426 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28427 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28428 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28429 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28430 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28431 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28432 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28433 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28434 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28435 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28436 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28437 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28438 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28439 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28440 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28441 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28442 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28443 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28444 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28445 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28446 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28447 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28448 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28449 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28450 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28451 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28452 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28453 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28454 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28455 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28456 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28457 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28458 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28459 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28460 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28461 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28462 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28463 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28464 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28465 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28466 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28467 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28468 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28469 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28470 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28471 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28472 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28473 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28474 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28475 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28476 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28477 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28478 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28479 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28480 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28481 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28482 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28483 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28484 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28485 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28486 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28487 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28488 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28489 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28490 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28491 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28492 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28493 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28494 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28495 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28496 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28497 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28498 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28499 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28500 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28501 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28502 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28503 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28504 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28505 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28506 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28507 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28508 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28509 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28510 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28511 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28512 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28513 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28514 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28515 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28516 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28517 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28518 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28519 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28520 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28521 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28522 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28523 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28524 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28525 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28526 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28527 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28528 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28529 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28530 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28531 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28532 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28533 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28534 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28535 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28536 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28537 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28538 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28539 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28540 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28541 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28542 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28543 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28544 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28545 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28546 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28547 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28548 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28549 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28550 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28551 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28552 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28553 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28554 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28555 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28556 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28557 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28558 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28559 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28560 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28561 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28562 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28563 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28564 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28565 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28566 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28567 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28568 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28569 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28570 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28571 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28572 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28573 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28574 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28575 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28576 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28577 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28578 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28579 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28580 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28581 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28582 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28583 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28584 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28585 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28586 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28587 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28588 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28589 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28590 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28591 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28592 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28593 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28594 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28595 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28596 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28597 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28598 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28599 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28600 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28601 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28602 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28603 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28604 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28605 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28606 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28607 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28608 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28609 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28610 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28611 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28612 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28613 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28614 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28615 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28616 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28617 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28618 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28619 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28620 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28621 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28622 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28623 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28624 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28625 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28626 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28627 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28628 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28629 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28630 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28631 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28632 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28633 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28634 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28635 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28636 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28637 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28638 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28639 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28640 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28641 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28642 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28643 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28644 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
28645 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28646 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28647 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28648 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28649 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28650 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28651 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28652 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28653 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28654 {0}};
28655
28656 #ifdef __cplusplus
28657 }
28658 #endif
28659
28660 #ifdef __cplusplus
28661 extern "C"
28662 #endif
28663 SWIGEXPORT(void) SWIG_init(void) {
28664 static PyObject *SWIG_globals = 0;
28665 static int typeinit = 0;
28666 PyObject *m, *d;
28667 int i;
28668 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28669 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28670 d = PyModule_GetDict(m);
28671
28672 if (!typeinit) {
28673 for (i = 0; swig_types_initial[i]; i++) {
28674 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28675 }
28676 typeinit = 1;
28677 }
28678 SWIG_InstallConstants(d,swig_const_table);
28679
28680 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
28681 SWIG_addvarlink(SWIG_globals,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get, _wrap_ButtonNameStr_set);
28682 SWIG_addvarlink(SWIG_globals,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get, _wrap_CheckBoxNameStr_set);
28683 SWIG_addvarlink(SWIG_globals,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get, _wrap_ChoiceNameStr_set);
28684 SWIG_addvarlink(SWIG_globals,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get, _wrap_ComboBoxNameStr_set);
28685 SWIG_addvarlink(SWIG_globals,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get, _wrap_GaugeNameStr_set);
28686 SWIG_addvarlink(SWIG_globals,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get, _wrap_StaticBitmapNameStr_set);
28687 SWIG_addvarlink(SWIG_globals,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get, _wrap_StaticBoxNameStr_set);
28688 SWIG_addvarlink(SWIG_globals,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get, _wrap_StaticTextNameStr_set);
28689 SWIG_addvarlink(SWIG_globals,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get, _wrap_ListBoxNameStr_set);
28690 SWIG_addvarlink(SWIG_globals,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get, _wrap_TextCtrlNameStr_set);
28691 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28692 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28693 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28694 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28695 SWIG_addvarlink(SWIG_globals,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get, _wrap_ScrollBarNameStr_set);
28696 SWIG_addvarlink(SWIG_globals,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get, _wrap_SPIN_BUTTON_NAME_set);
28697 SWIG_addvarlink(SWIG_globals,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get, _wrap_SpinCtrlNameStr_set);
28698 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28699 SWIG_addvarlink(SWIG_globals,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get, _wrap_RadioBoxNameStr_set);
28700 SWIG_addvarlink(SWIG_globals,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get, _wrap_RadioButtonNameStr_set);
28701 SWIG_addvarlink(SWIG_globals,(char*)"SliderNameStr",_wrap_SliderNameStr_get, _wrap_SliderNameStr_set);
28702 SWIG_addvarlink(SWIG_globals,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get, _wrap_ToggleButtonNameStr_set);
28703 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28704 SWIG_addvarlink(SWIG_globals,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get, _wrap_NOTEBOOK_NAME_set);
28705 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28706 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28707 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28708 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28709 SWIG_addvarlink(SWIG_globals,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get, _wrap_ListCtrlNameStr_set);
28710 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28711 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28712 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28713 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28714 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28715 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28716 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28717 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28718 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28719 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28720 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28721 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28722 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28723 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28724 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28725 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28726 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28727 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28728 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28729 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28730 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28731 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28732
28733 // Map renamed classes back to their common name for OOR
28734 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28735
28736 SWIG_addvarlink(SWIG_globals,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get, _wrap_TreeCtrlNameStr_set);
28737 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28738 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28739 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28740 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28741 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28742 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28743 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28744 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28745 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28746 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28747 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28748 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28749 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28750 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28751 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28752 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28753 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28754 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28755 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28756 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
28757
28758 // Map renamed classes back to their common name for OOR
28759 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28760 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28761
28762 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get, _wrap_DirDialogDefaultFolderStr_set);
28763 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28764 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28765
28766 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28767
28768 }
28769